/* style/contact.css */

/* Base Styles for Contact Page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Body background from shared.css */
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-contact__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-contact__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
    overflow: hidden;
}

.page-contact__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

/* Contact Methods Section */
.page-contact__info-section {
    padding: 60px 0;
}

.page-contact__info-section .page-contact__section-title,
.page-contact__info-section .page-contact__section-description {
    color: #333333;
}

.page-contact__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__method-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-contact__method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-contact__method-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #e0f2f7; /* Light background for icons */
    padding: 10px;
}

.page-contact__method-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
    font-weight: bold;
}

.page-contact__method-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #555555;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.page-contact__social-links img {
    
    
    transition: transform 0.2s ease;
}

.page-contact__social-links img:hover {
    transform: scale(1.1);
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-description {
    color: #ffffff;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-contact__form-group {
    margin-bottom: 25px;
}

.page-contact__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #f0f0f0;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #bbb;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.4);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
}

.page-contact__faq-section .page-contact__section-title,
.page-contact__faq-section .page-contact__section-description {
    color: #333333;
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-contact__faq-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    color: #333333;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #eaf7fc;
    border-bottom: 1px solid #d0eaf3;
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

.page-contact__faq-question:hover {
    background-color: #d0eaf3;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

.page-contact__faq-answer p {
    margin-bottom: 15px;
}

.page-contact__faq-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact__faq-link:hover {
    color: #1a7bbd;
    text-decoration: underline;
}

/* Commitment Section */
.page-contact__commitment-section {
    padding: 60px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-contact__commitment-section .page-contact__section-title,
.page-contact__commitment-section .page-contact__section-description {
    color: #ffffff;
}

.page-contact__commitment-list {
    max-width: 900px;
    margin: 40px auto 30px auto;
    list-style: none;
    padding: 0;
}

.page-contact__commitment-list li {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    color: #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__commitment-list li::before {
    content: '✅';
    font-size: 1.2em;
    color: #4CAF50;
    flex-shrink: 0;
}

/* CTA Section */
.page-contact__cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-contact__cta-section .page-contact__section-title,
.page-contact__cta-section .page-contact__section-description {
    color: #333333;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
}

.page-contact__btn-primary:hover {
    background-color: #d16b05;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7bbd;
    border-color: #1a7bbd;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 2.5em;
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-contact__main-title {
        font-size: 2em;
    }

    .page-contact__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-contact__section-title {
        font-size: 1.8em;
    }

    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-contact__contact-methods {
        grid-template-columns: 1fr;
    }

    .page-contact__method-card {
        padding: 25px;
    }

    .page-contact__form-section,
    .page-contact__info-section,
    .page-contact__faq-section,
    .page-contact__commitment-section,
    .page-contact__cta-section {
        padding: 40px 0;
    }

    .page-contact__contact-form {
        padding: 30px;
    }

    .page-contact__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-contact__faq-answer {
        padding: 15px 20px;
    }

    .page-contact__commitment-list li {
        font-size: 1em;
        padding: 15px;
    }

    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__contact-form,
    .page-contact__faq-list,
    .page-contact__commitment-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* Ensure all content containers are constrained */
    .page-contact__hero-section .page-contact__container,
    .page-contact__info-section .page-contact__container,
    .page-contact__form-section .page-contact__container,
    .page-contact__faq-section .page-contact__container,
    .page-contact__commitment-section .page-contact__container,
    .page-contact__cta-section .page-contact__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-contact__social-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .page-contact__social-links img {
        
        
    }

    /* Specific override for small icons if they appear (though forbidden) */
    .page-contact img:not(.page-contact__method-icon):not(.page-contact__social-links img) {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}