/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main from custom colors, for dark body bg */
    background-color: #08160F; /* Background from custom colors */
}

/* Container for content width limitation */
.page-contact__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Space below image */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit hero image height */
}

.page-contact__hero-content {
    position: relative; /* Ensure content is above image */
    padding: 40px 20px;
    max-width: 800px;
    margin-top: -100px; /* Overlap slightly with image for visual flow */
    background: rgba(17, 39, 27, 0.9); /* Card B G with transparency */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-contact__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-contact__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-contact__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button--small {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.page-contact__cta-button--large {
    padding: 15px 30px;
    font-size: 1.2rem;
}

/* Info Section */
.page-contact__info-section {
    padding: 60px 0;
    background-color: #08160F; /* Background from custom colors */
}

.page-contact__dark-section {
    background-color: #11271B; /* Card B G for dark sections */
    padding: 60px 0;
}

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

.page-contact__contact-card {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-contact__card-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-contact__card-email,
.page-contact__card-phone {
    font-size: 1.1rem;
    color: #57E38D; /* Glow color */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__address-text {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-top: 40px;
}

.page-contact__address-text strong {
    color: #F2FFF6; /* Text Main */
}

.page-contact__address-map {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px auto 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E;
}


/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-contact__contact-form {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    padding: 40px;
    max-width: 700px;
    margin: 40px auto 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #57E38D; /* Glow color on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__form-footer-text {
    font-size: 0.9rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-top: 30px;
}

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

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

.page-contact__faq-item {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__faq-question:hover {
    background-color: #13994A; /* Slightly lighter green on hover */
}

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

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    max-height: 0; /* For JS-controlled collapse */
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-contact__faq-item[open] .page-contact__faq-answer {
    max-height: 1000px; /* Adjust as needed for content */
    padding-top: 15px;
}

/* Social Section */
.page-contact__social-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-contact__social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link img {
    
    
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-contact__social-link:hover {
    color: #57E38D; /* Glow color on hover */
    transform: translateY(-5px);
}

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

.page-contact__social-text {
    font-size: 1rem;
}

.page-contact__social-footer-text {
    font-size: 0.9rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-top: 40px;
}


/* CTA Banner */
.page-contact__cta-banner {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background-color: #11271B; /* Card B G */
    margin-top: 40px;
}

.page-contact__cta-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
    display: block;
}

.page-contact__cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact__banner-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__banner-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-contact {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-contact__container {
        padding: 0 15px;
    }

    .page-contact__hero-section {
        padding-bottom: 30px;
        padding-top: 10px !important;
    }

    .page-contact__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
    }

    .page-contact__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-contact__hero-description {
        font-size: 1rem;
    }

    .page-contact__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .page-contact__section-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__social-section,
    .page-contact__cta-banner {
        padding: 40px 0;
    }

    .page-contact__contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    .page-contact__contact-card {
        padding: 25px;
    }

    .page-contact__card-title {
        font-size: 1.3rem;
    }

    .page-contact__card-text {
        font-size: 0.95rem;
    }

    .page-contact__address-text {
        font-size: 0.95rem;
        margin-top: 25px;
    }

    .page-contact__contact-form {
        padding: 30px 20px;
        margin-top: 25px;
    }

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

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .page-contact__faq-list {
        margin-top: 25px;
    }

    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

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

    .page-contact__faq-item[open] .page-contact__faq-answer {
        padding-top: 10px;
    }

    .page-contact__social-links {
        gap: 20px;
        margin-top: 25px;
    }

    .page-contact__social-link img {
        
        
    }

    .page-contact__social-text {
        font-size: 0.9rem;
    }

    .page-contact__social-footer-text {
        margin-top: 25px;
    }

    .page-contact__cta-banner {
        padding: 60px 0;
    }

    .page-contact__banner-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-contact__banner-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Mobile image responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-contact__hero-image,
    .page-contact__address-map,
    .page-contact__cta-banner-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Mobile button responsiveness */
    .page-contact__cta-button,
    .page-contact__cta-button--small,
    .page-contact__cta-button--large,
    .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;
    }
    
    .page-contact__social-links {
        flex-wrap: wrap !important;
        gap: 15px !important;
    }
}

/* Contrast fix if needed - for dark background, text should be light */
.page-contact__contrast-fix {
    color: #F2FFF6 !important; /* Ensure light text */
    background-color: #11271B !important; /* Card B G */
}