/* style/contact.css */

/* Base Styles for page-contact */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Light body background #f8f9fa, so dark text */
    background-color: #f8f9fa; /* Inherited from body, but good to be explicit for content sections */
}

/* Color Contrast Fix for specific sections */
.page-contact__dark-bg {
    background-color: #08160F; /* Custom background color */
    color: #F2FFF6; /* Text Main for dark backgrounds */
}

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

.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #08160F; /* Ensure a background even if image fails */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 500px; /* Ensure hero image has a decent height */
    z-index: 1;
    filter: none; /* Ensure no CSS filter is applied */
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    color: #F2FFF6; /* Text Main for dark backgrounds */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
    border-radius: 8px;
    margin-top: 50px; /* Push content down slightly from top */
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 20px;
    color: #F2FFF6;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

.page-contact__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure words break */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box; /* Include padding and border in width */
    text-align: center;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

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

.page-contact__btn-secondary:hover {
    background: #11A84E;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-contact__form-section,
.page-contact__info-section,
.page-contact__faq-section,
.page-contact__cta-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-contact__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit; /* Inherit color from parent section */
}

.page-contact__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Inherit color from parent section */
}

/* Contact Form Styles */
.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #11271B; /* Card BG */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #F2FFF6; /* Text Main */
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 5px;
    background-color: #0A4B2C; /* Deep Green for input background */
    color: #F2FFF6; /* Text Main */
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #A7D9B8; /* Text Secondary */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #2AD16F;
    outline: none;
}

/* Contact Methods Styles */
.page-contact__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-contact__method-card {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #F2FFF6; /* Text Main */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-contact__method-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-contact__method-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
    flex-grow: 1;
}

.page-contact__method-detail {
    font-size: 1.1em;
    font-weight: bold;
    color: #2AD16F;
    margin-top: auto; /* Push to bottom */
}

.page-contact__method-detail a {
    color: #2AD16F;
    text-decoration: none;
}

.page-contact__method-detail a:hover {
    text-decoration: underline;
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    margin-top: auto; /* Push to bottom */
}

.page-contact__social-icon img {
    width: 200px; /* Min size for all images */
    height: 200px; /* Min size for all images */
    border-radius: 50%;
    transition: transform 0.3s ease;
    filter: none; /* Ensure no CSS filter is applied */
}

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

.page-contact__support-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 10px;
    object-fit: cover;
    max-height: 500px;
    filter: none; /* Ensure no CSS filter is applied */
}

.page-contact__additional-info {
    font-size: 1em;
    margin-top: 30px;
    color: #A7D9B8; /* Text Secondary */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__additional-info a {
    color: #2AD16F;
    text-decoration: none;
    font-weight: bold;
}

.page-contact__additional-info a:hover {
    text-decoration: underline;
}

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

.page-contact__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green for question background */
    color: #F2FFF6; /* Text Main */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

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

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

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

.page-contact__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-contact__faq-answer a {
    color: #2AD16F;
    text-decoration: none;
}

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section specific */
.page-contact__cta-content {
    background-color: #11271B; /* Card BG */
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: #F2FFF6; /* Text Main */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-content {
        padding: 30px 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8em, 4.5vw, 3em);
    }
    .page-contact__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.5em);
    }
    .page-contact__contact-form {
        padding: 30px;
    }
    .page-contact__method-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-bottom: 40px;
    }
    .page-contact__hero-content {
        margin-top: 30px;
        padding: 20px 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-contact__hero-description {
        font-size: 0.95em;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important; /* Ensure button container is full width */
        width: 100% !important; /* Ensure button container is full width */
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to container */
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    .page-contact__form-section,
    .page-contact__info-section,
.page-contact__faq-section,
    .page-contact__cta-section {
        padding: 40px 0;
    }
    .page-contact__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
    }
    .page-contact__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }
    .page-contact__contact-form {
        padding: 25px;
    }
    .page-contact__contact-methods {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }
    .page-contact__method-card {
        padding: 20px;
    }
    .page-contact__method-title {
        font-size: 1.4em;
    }
    .page-contact__social-links {
        justify-content: center;
        width: 100%;
    }
    .page-contact__social-icon img {
        max-width: 200px !important;
        width: 100% !important; /* Allow it to scale down from 200px */
        height: auto !important;
        display: block !important;
    }
    .page-contact__support-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-contact__faq-toggle {
        font-size: 1.3em;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px;
    }
    /* Ensure all images are responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__cta-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-content {
        padding: 15px 10px;
    }
    .page-contact__main-title {
        font-size: clamp(1.3em, 7vw, 2em);
    }
    .page-contact__hero-description {
        font-size: 0.85em;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
    }
    .page-contact__method-card {
        padding: 15px;
    }
}