/* style/contact.css */

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

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__section-description,
.page-contact__paragraph {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 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-top: 10px; /* Small top padding, body handles header offset */
    min-height: 500px; /* Ensure sufficient height */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5); /* Darken image for text contrast */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
}

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

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

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box; /* Button responsive */
    white-space: normal; /* Button text wrap */
    word-wrap: break-word; /* Button text wrap */
    border: none;
}

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

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow color for secondary button text */
    border: 2px solid #57E38D; /* Glow color for secondary button border */
}

.page-contact__btn-secondary:hover {
    background-color: #57E38D; /* Glow color */
    color: #08160F; /* Background color for hover text */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

/* Intro Text Section */
.page-contact__intro-text {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    color: #A7D9B8; /* Text Secondary */
}

.page-contact__intro-text .page-contact__paragraph {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1em;
    max-width: 100%;
}
.page-contact__intro-text .page-contact__paragraph:last-child {
    margin-bottom: 0;
}


/* Contact Methods Section */
.page-contact__contact-methods {
    padding: 60px 0;
    background-color: #11271B; /* Card BG */
}

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

.page-contact__method-card {
    background-color: #08160F; /* Background color for card content */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.page-contact__method-icon {
    width: 100%; /* Ensures image takes full card width */
    max-width: 150px; /* Max width for icons */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

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

.page-contact__card-link {
    display: inline-block;
    color: #57E38D; /* Glow color */
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #57E38D; /* Glow color */
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__card-link:hover {
    color: #2AD16F; /* Button hover color */
    border-color: #2AD16F; /* Button hover color */
}

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

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    padding: 30px;
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    background-color: #0A4B2C; /* Deep Green */
    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: #57E38D; /* Glow color */
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

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

.page-contact__form-submit-btn {
    width: 100%;
    border: none;
}


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

.page-contact__faq-item {
    background-color: #08160F; /* Background */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-contact__faq-item[open] {
    background-color: #0A4B2C; /* Deep Green */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    list-style: none; /* Remove default marker */
    -webkit-tap-highlight-color: transparent; /* Prevent tap highlight on mobile */
}

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

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

.page-contact__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #57E38D; /* Glow color */
}

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

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


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

.page-contact__commitment-section .page-contact__paragraph {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1em;
    max-width: 100%;
}
.page-contact__commitment-section .page-contact__paragraph:last-of-type {
    margin-bottom: 40px;
}


/* Location Section */
.page-contact__location-section {
    padding: 60px 0;
    background-color: #11271B; /* Card BG */
}

.page-contact__map-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-contact__map-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-contact__address-block {
    background-color: #08160F; /* Background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
}

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

.page-contact__address-text {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-contact__address-note {
    font-size: 0.9em;
    color: #A7D9B8; /* Text Secondary */
    font-style: italic;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .page-contact__container {
        padding: 0 15px;
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__section-description,
    .page-contact__paragraph {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-contact__hero-section {
        min-height: 400px;
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-contact__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

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

    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__contact-methods,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__commitment-section,
    .page-contact__location-section {
        padding: 40px 0;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-contact__method-card,
    .page-contact__contact-form,
    .page-contact__address-block {
        padding: 20px;
    }

    .page-contact__method-icon {
        max-width: 120px;
        min-width: 200px !important; /* Min size for images */
        min-height: 200px !important; /* Min size for images */
    }

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

    .page-contact__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-contact__map-info {
        flex-direction: column;
        gap: 20px;
    }

    /* Mobile image and video responsive adaptation */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact video,
    .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,
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}