/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-contact__section {
    padding: 60px 0;
}

.page-contact__section-title {
    font-size: 2.8em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.page-contact__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-contact__hero-content {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff; /* Explicit light background for content */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: -80px auto 0 auto; /* Overlap with image slightly */
    position: relative;
    z-index: 10;
}

.page-contact__main-title {
    font-size: 3em;
    color: #26A9E0; /* Brand color */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.page-contact__hero-description {
    font-size: 1.2em;
    color: #444444;
    margin-bottom: 30px;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1a8cc2;
    border-color: #1a8cc2;
}

.page-contact__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Main brand color */
    border: 2px solid #26A9E0;
}

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

/* Contact Channels Section */
.page-contact__contact-channels {
    background-color: #f9f9f9;
}

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

.page-contact__channel-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__channel-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
    display: block;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-contact__card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

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

.page-contact__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #EA7C07; /* Login color for hover */
}

/* Online Form Section */
.page-contact__online-form-section {
    background-color: #26A9E0; /* Dark background */
    color: #ffffff; /* White text */
}

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

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #EA7C07; /* Login color on focus */
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__form-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__form-submit-btn:hover {
    background-color: #c96700;
}

/* Support Process Section */
.page-contact__support-process {
    background-color: #f0f8ff; /* Light blue background */
}

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

.page-contact__process-step {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-contact__process-icon {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.page-contact__step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-contact__step-text {
    font-size: 0.95em;
    color: #666666;
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: #ffffff;
}

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

.page-contact__faq-item {
    background-color: #f0f8ff; /* Light blue background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #e6f7ff; /* Lighter blue for summary */
    transition: background-color 0.3s ease;
    list-style: none; /* Hide default marker */
}

/* Hide default details marker */
.page-contact__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-contact__faq-item summary::marker {
    display: none;
}

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

.page-contact__faq-qtext {
    flex-grow: 1;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Change + to X visually */
}

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #f0f8ff;
    border-top: 1px solid #cceeff;
}

/* Commitment Section */
.page-contact__commitment-section {
    background-color: #26A9E0; /* Brand color dark background */
    color: #ffffff;
}

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

.page-contact__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-contact__commitment-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__commitment-heading {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-contact__commitment-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* CTA Banner Section */
.page-contact__cta-banner {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

.page-contact__cta-content {
    max-width: 900px;
}

/* Light/Dark Background classes for contrast */
.page-contact__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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


/* Responsive Styles */
@media (max-width: 768px) {
    .page-contact__container {
        padding: 15px;
    }

    .page-contact__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

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

    /* HERO Section */
    .page-contact__hero-section {
        padding-top: 10px; /* Still small top padding */
        margin-bottom: 20px;
    }

    .page-contact__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__hero-content {
        padding: 30px 15px;
        margin-top: -60px; /* Adjust overlap for mobile */
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .page-contact__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em); /* Use clamp for H1 */
        margin-bottom: 15px;
    }

    .page-contact__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-contact__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"],
    .page-contact__form-submit-btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Contact Channels Section */
    .page-contact__channels-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
    }
    .page-contact__channel-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__channel-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Online Form Section */
    .page-contact__contact-form {
        padding: 20px 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Support Process Section */
    .page-contact__process-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
    }
    .page-contact__process-step {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__process-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* FAQ Section */
    .page-contact__faq-list {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Commitment Section */
    .page-contact__commitment-list {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
    }
    .page-contact__commitment-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* CTA Banner Section */
    .page-contact__cta-banner {
        padding: 40px 0;
    }
    .page-contact__cta-content {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* General image and container rules for mobile */
    .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__channels-grid,
    .page-contact__process-grid,
    .page-contact__commitment-list,
    .page-contact__contact-form,
    .page-contact__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by specific sections/cards if needed, or default container */
    }
}