.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for readability on light background */
    background-color: #ffffff; /* Light background for main content area */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    background-color: #f5f5f5; /* Light grey background for hero */
    color: #333333;
}

.page-contact__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
}

.page-contact__hero-title {
    font-size: 2.8em;
    color: #26A9E0; /* Brand color for title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-contact__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%;
}

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

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

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

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

.page-contact__hero-video-wrapper {
    width: 100%;
    max-width: 1000px; /* Max width for video */
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__hero-video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-contact__video-link {
    display: block;
    width: 100%;
    height: auto;
}

/* General Section Styles */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* Channels Section */
.page-contact__channels-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-contact__channel-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
}

.page-contact__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-contact__channel-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-height: 200px; /* Limit image height */
    object-fit: contain; /* Ensure image is fully visible */
    margin-bottom: 20px;
    border-radius: 8px;
    display: block; /* Ensure no extra space below image */
}

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

.page-contact__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow and push button to bottom */
}

.page-contact__btn-text-link {
    color: #EA7C07; /* Login color for action links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: auto; /* Push link to bottom */
}

.page-contact__btn-text-link:hover {
    color: #b86200;
    text-decoration: underline;
}

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

.page-contact__social-icon-link {
    color: #26A9E0;
    font-size: 1.1em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__social-icon-link:hover {
    color: #1a8cc4;
    text-decoration: underline;
}

/* Process Section */
.page-contact__process-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand primary color background */
    color: #ffffff;
}

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

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

.page-contact__process-step {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #EA7C07; /* Login color for emphasis */
    margin-bottom: 15px;
}

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

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

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

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

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

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

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

.page-contact__faq-item summary:hover {
    background-color: #eaf7fd;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #EA7C07; /* Login color for toggle */
    margin-left: 15px;
}

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

.page-contact__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}

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

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

.page-contact__commitment-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
}

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

.page-contact__item-text {
    font-size: 1em;
    color: #555555;
}

/* Tips Section */
.page-contact__tips-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand primary color background */
    color: #ffffff;
}

.page-contact__tips-section .page-contact__section-title {
    color: #ffffff;
}

.page-contact__tips-list {
    max-width: 800px;
    margin: 40px auto;
    list-style: none;
    padding-left: 0;
}

.page-contact__tip-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #f0f0f0;
}

.page-contact__tip-item::before {
    content: "✔️";
    position: absolute;
    left: 0;
    color: #EA7C07; /* Login color for checkmark */
}

.page-contact__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-contact__cta-text {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: #ffffff;
}

/* Conclusion Section */
.page-contact__conclusion-section {
    padding: 60px 0;
    background-color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-contact__container,
    .page-contact__channels-section,
    .page-contact__process-section,
    .page-contact__faq-section,
    .page-contact__commitment-section,
    .page-contact__tips-section,
    .page-contact__conclusion-section {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

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

    /* Images responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    /* Video responsiveness */
    .page-contact video,
    .page-contact__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-contact__hero-video-wrapper,
    .page-contact__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-contact__channel-card,
    .page-contact__process-step,
    .page-contact__commitment-item {
        padding: 20px;
    }
    .page-contact__card-title,
    .page-contact__item-title {
        font-size: 1.3em;
    }
    .page-contact__card-text,
    .page-contact__item-text {
        font-size: 0.95em;
    }
    .page-contact__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95em;
    }
    .page-contact__tips-list {
        margin: 30px auto;
    }
    .page-contact__tip-item {
        font-size: 1em;
        padding-left: 25px;
    }
}

/* Color contrast enforcement */
.page-contact__dark-section {
    background: #26A9E0;
    color: #ffffff; /* Forced white text for brand color background */
}

/* Ensure general text in main content is dark on light background */
.page-contact p,
.page-contact li,
.page-contact h1,
.page-contact h2,
.page-contact h3,
.page-contact h4,
.page-contact h5,
.page-contact h6 {
    color: #333333;
}
/* Override for dark sections */
.page-contact__dark-section p,
.page-contact__dark-section li,
.page-contact__dark-section h1,
.page-contact__dark-section h2,
.page-contact__dark-section h3,
.page-contact__dark-section h4,
.page-contact__dark-section h5,
.page-contact__dark-section h6 {
    color: #ffffff;
}
.page-contact__tips-section p,
.page-contact__tips-section li,
.page-contact__tips-section h1,
.page-contact__tips-section h2,
.page-contact__tips-section h3,
.page-contact__tips-section h4,
.page-contact__tips-section h5,
.page-contact__tips-section h6 {
    color: #ffffff;
}

/* Specific overrides for color contrast */
.page-contact__hero-title { color: #26A9E0; } /* Brand color on light background */
.page-contact__card-title { color: #26A9E0; } /* Brand color on light background */
.page-contact__item-title { color: #26A9E0; } /* Brand color on light background */
.page-contact__section-title { color: #26A9E0; } /* Brand color on light background, overridden for dark sections */

/* Ensure text links and buttons have sufficient contrast */
.page-contact__btn-text-link { color: #EA7C07; } /* Login color on light background */
.page-contact__social-icon-link { color: #26A9E0; } /* Brand color on light background */
.page-contact__faq-question { color: #26A9E0; } /* Brand color on light background */
.page-contact__faq-toggle { color: #EA7C07; } /* Login color on light background */
.page-contact__step-number { color: #EA7C07; } /* Login color on dark background */
.page-contact__tip-item::before { color: #EA7C07; } /* Login color on dark background */