.page-contact {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set for content area */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

/* Mobile specific adjustments for header offset */
@media (max-width: 768px) {
    .page-contact {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    }
}

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

.page-contact__hero-section {
    background-color: #000000; /* Fallback */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has height */
}

.page-contact__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make it a subtle background */
    z-index: 0;
}

.page-contact__hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Login button color for emphasis */
}

.page-contact__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.page-contact__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-contact__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 180px;
    text-align: center;
    font-size: 1.1em;
}

.page-contact__btn--primary {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    border: 2px solid #FCBC45;
}

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

.page-contact__btn--secondary {
    background-color: #FFFFFF; /* Register button color */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-contact__btn--secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.page-contact__btn--card {
    background-color: #FCBC45;
    color: #000000;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    margin-top: 15px;
}

.page-contact__btn--card:hover {
    background-color: #e0a53a;
}

.page-contact__btn--faq {
    background-color: #000000; /* Dark button for FAQ */
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    margin-top: 10px;
}

.page-contact__btn--faq:hover {
    background-color: #333333;
}


.page-contact__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-contact__section-text {
    font-size: 1em;
    max-width: 900px;
    margin: 20px auto 40px auto;
    color: #555555;
}

.page-contact__commitment-section,
.page-contact__methods-section,
.page-contact__faq-section,
.page-contact__partnership-section,
.page-contact__call-to-action {
    padding: 60px 0;
}

.page-contact__commitment-section {
    background-color: #f8f8f8;
}

.page-contact__methods-section {
    background-color: #FFFFFF;
}

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

.page-contact__method-card {
    background-color: #000000; /* Dark card background */
    color: #FFFFFF; /* White text for dark card */
    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;
}

.page-contact__method-icon {
    width: 200px; /* Minimum size for content images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

.page-contact__method-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FCBC45; /* Accent color for titles */
}

.page-contact__method-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-contact__email-link {
    color: #FCBC45;
    text-decoration: underline;
}

.page-contact__email-link:hover {
    color: #e0a53a;
}

.page-contact__internal-link {
    color: #FCBC45;
    text-decoration: underline;
}

.page-contact__internal-link:hover {
    color: #e0a53a;
}

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

.page-contact__social-icon {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #e0a53a;
}

.page-contact__faq-section {
    background-color: #f0f0f0;
}

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

.page-contact__faq-item {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 30px; /* Space for icon */
}

.page-contact__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-contact__faq-question--active::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg); /* No rotation needed for minus */
}

.page-contact__faq-answer {
    padding-top: 10px;
    display: none; /* Hidden by default, toggled by JS */
    font-size: 0.95em;
    color: #555555;
    line-height: 1.7;
}

.page-contact__partnership-section {
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* White text */
    text-align: center;
    padding: 80px 20px;
}

.page-contact__partnership-section .page-contact__section-title {
    color: #FFFFFF; /* White title on dark background */
}

.page-contact__partnership-section .page-contact__section-intro {
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-contact__call-to-action {
    background-color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__faq-item {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-intro {
        font-size: 1em;
    }
    .page-contact__method-grid,
    .page-contact__faq-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__hero-cta,
    .page-contact__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-contact__btn {
        width: 80%;
        max-width: 300px;
    }
    /* Ensure content images are not smaller than 200px and responsive */
    .page-contact img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum width for content images */
        min-height: 200px; /* Enforce minimum height for content images */
    }
    .page-contact__method-icon {
        width: 100%; /* Make icons fill card width on mobile */
        height: auto;
        max-width: 300px; /* Cap their max size if needed */
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 0.95em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-contact__method-card {
        padding: 20px;
    }
    .page-contact__faq-item {
        padding: 15px;
    }
}