/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: #26A9E0; /* Primary brand color for hero background */
    color: #FFFFFF;
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2; /* Subtle background image */
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.page-contact__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
}

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

.page-contact__btn-primary {
    display: inline-block;
    background: #EA7C07; /* Login button color for CTA */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

.page-contact__btn-primary:hover {
    background-color: #d16b05;
}

/* Sections General */
.page-contact__channels-section,
.page-contact__when-to-contact,
.page-contact__process-section,
.page-contact__faq-section,
.page-contact__commitment-section {
    padding: 80px 0;
}

.page-contact__dark-section {
    background-color: #000000; /* Dark background from body */
    color: #FFFFFF;
}

.page-contact__light-bg {
    background-color: #FFFFFF;
    color: #333333; /* Dark text for light background */
}

.page-contact__light-bg .page-contact__section-title,
.page-contact__light-bg .page-contact__section-description,
.page-contact__light-bg .page-contact__channel-title,
.page-contact__light-bg .page-contact__channel-text,
.page-contact__light-bg .page-contact__reason-title,
.page-contact__light-bg .page-contact__reason-text,
.page-contact__light-bg .page-contact__step-title,
.page-contact__light-bg .page-contact__step-text,
.page-contact__light-bg .page-contact__faq-qtext,
.page-contact__light-bg .page-contact__faq-answer p {
    color: #333333;
}

.page-contact__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: inherit; /* Inherit color from parent section */
}

/* Channels Section */
.page-contact__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-contact__channel-card {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    color: #333333;
}

.page-contact__channel-icon {
    width: 100%;
    max-width: 250px; /* Adjust size for content image */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 150px;
}

.page-contact__channel-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0; /* Primary color for titles */
}

.page-contact__channel-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__btn-secondary {
    display: inline-block;
    background: #26A9E0; /* Primary brand color for secondary buttons */
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-secondary:hover {
    background-color: #1f8ac1;
}

.page-contact__social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%;
}

.page-contact__social-btn {
    flex: 1 1 auto; /* Allow buttons to grow and shrink */
    min-width: 120px;
    max-width: 150px;
    background: #555;
    color: #FFFFFF;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__social-btn:hover {
    background-color: #333;
}

/* When to Contact Section */
.page-contact__contact-reasons {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__contact-reasons li {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle white background for dark section */
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    color: #FFFFFF;
    text-align: left;
}

.page-contact__reason-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0; /* Primary color for titles */
}

.page-contact__reason-text {
    font-size: 1em;
}

/* Process Section */
.page-contact__process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-contact__step-item {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.page-contact__step-icon {
    width: 100%;
    max-width: 200px; /* Smaller images for steps */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 150px;
}

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

.page-contact__step-text {
    font-size: 1em;
}

/* FAQ Section */
.page-contact__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFFFFF;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-qtext {
    color: #FFFFFF;
}

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

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

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

.page-contact__faq-item summary::-webkit-details-marker,
.page-contact__faq-item summary::marker {
  display: none;
}

/* Commitment Section */
.page-contact__commitment-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-contact__commitment-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-contact__commitment-text {
    flex-grow: 1;
    color: #333333;
}

.page-contact__commitment-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 2.2em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__commitment-content {
        flex-direction: column;
        text-align: center;
    }
    .page-contact__commitment-image {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        min-height: 400px;
    }
    .page-contact__main-title {
        font-size: 1.8em;
    }
    .page-contact__intro-text {
        font-size: 1em;
    }
    .page-contact__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-contact__channels-section,
    .page-contact__when-to-contact,
.page-contact__process-section,
    .page-contact__faq-section,
    .page-contact__commitment-section {
        padding: 50px 0;
    }
    .page-contact__section-title {
        font-size: 1.6em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-contact__channels-grid,
    .page-contact__process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact__channel-card,
    .page-contact__step-item {
        padding: 20px;
    }
    .page-contact__channel-title,
    .page-contact__reason-title,
    .page-contact__step-title {
        font-size: 1.3em;
    }
    .page-contact__channel-text,
    .page-contact__reason-text,
    .page-contact__step-text {
        font-size: 0.95em;
    }
    .page-contact__social-links {
        flex-direction: column;
        gap: 8px;
    }
    .page-contact__social-btn {
        max-width: 100%;
        width: 100%;
    }

    .page-contact__contact-reasons li {
        padding: 20px;
    }

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

    .page-contact__commitment-image {
        max-width: 100%;
    }
    .page-contact__commitment-text p {
        font-size: 1em;
    }

    /* Mobile image, video, button responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* If video were present */
    .page-contact__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    /* If video were present */
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper,
    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-contact__cta-button,
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="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;
        text-align: center; /* Center button text on mobile */
    }
    .page-contact__social-links {
        flex-direction: column !important;
        align-items: center !important;
    }
    .page-contact__social-btn {
        width: 100% !important;
        max-width: 250px !important; /* Limit width for individual social buttons */
    }
}

/* Additional color contrast adjustments for dark background body */
.page-contact__card {
    background-color: #F8F8F8; /* Light background for card */
    color: #333333; /* Dark text for light card background */
}
.page-contact__channel-title,
.page-contact__reason-title,
.page-contact__step-title {
    color: #26A9E0; /* Brand primary color */
}
.page-contact__faq-qtext {
    color: #FFFFFF; /* White text for dark FAQ question background */
}
.page-contact__faq-answer p {
    color: #F0F0F0; /* Slightly off-white for body text in dark sections */
}
.page-contact__commitment-text {
    color: #333333; /* Dark text for light section */
}
.page-contact__commitment-text p {
    color: #333333; /* Dark text for light section */
}