/* style/contact.css */

/* --- Base Styles & Layout --- */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    padding-bottom: 60px; /* Space for footer */
}

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

.page-contact__section-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* --- Hero Section --- */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Enforce top-down layout */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background */
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-contact__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-contact__main-title {
    font-size: clamp(36px, 5vw, 56px); /* Use clamp for responsive H1 */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* --- Buttons --- */
.page-contact__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background-color: transparent;
    color: #2AD16F; /* A lighter shade of green for contrast */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #2E7A4E; /* Border color */
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.page-contact__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
}

/* --- Contact Methods Section --- */
.page-contact__methods-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-contact__method-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 350px; /* Ensure cards have similar height */
}

.page-contact__method-icon {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

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

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

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 6px;
    background-color: #0A1C13; /* Slightly darker input background */
    color: #F2FFF6; /* Text Main */
    font-size: 16px;
    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: #2AD16F; /* Glow */
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__contact-form .page-contact__btn-primary {
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- FAQ Section --- */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-contact__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-contact__faq-question {
    padding: 20px 25px;
    font-size: 18px;
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-question {
    background-color: #1E3A2A; /* Divider */
}

.page-contact__faq-question:hover {
    background-color: #1E3A2A; /* Divider */
}

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

.page-contact__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F; /* Glow */
}

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

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

.page-contact__faq-answer p:last-child {
    margin-bottom: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-contact__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-contact__hero-image-wrapper {
        margin-bottom: 25px;
    }
    .page-contact__hero-content {
        padding: 0 15px;
    }
    .page-contact__main-title {
        font-size: clamp(30px, 4.5vw, 48px);
    }
    .page-contact__hero-description {
        font-size: 18px;
    }
    .page-contact__section-title {
        font-size: clamp(26px, 3.5vw, 36px);
    }
    .page-contact__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section {
        padding: 60px 0;
    }
    .page-contact__method-card {
        padding: 25px;
        min-height: 320px;
    }
    .page-contact__method-title {
        font-size: 22px;
    }
    .page-contact__method-text {
        font-size: 15px;
    }
    .page-contact__contact-form {
        padding: 30px;
    }
    .page-contact__form-label {
        font-size: 15px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        font-size: 15px;
        padding: 10px 12px;
    }
    .page-contact__faq-question {
        font-size: 17px;
        padding: 18px 22px;
    }
    .page-contact__faq-answer {
        font-size: 15px;
        padding: 0 22px 18px;
    }
}

@media (max-width: 768px) {
    /* Global mobile container padding */
    .page-contact__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

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

    /* Sections and their internal containers */
    .page-contact__hero-section,
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__method-card,
    .page-contact__contact-form,
    .page-contact__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Remove explicit padding-left/right here to let .page-contact__container handle it */
        overflow: hidden !important;
    }

    /* Ensure sections themselves don't have extra horizontal padding */
    .page-contact__hero-section,
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Videos (if any) responsiveness */
    .page-contact video,
    .page-contact__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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;
    }
    .page-contact__video-section {
        padding-top: 10px !important;
    }
    .page-contact__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons responsiveness */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .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;
        text-align: center;
    }
    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    /* Hero Section */
    .page-contact__hero-section {
        padding: 30px 0;
        padding-top: 10px;
    }
    .page-contact__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-contact__main-title {
        font-size: clamp(28px, 8vw, 38px);
    }
    .page-contact__hero-description {
        font-size: 16px;
    }

    /* Sections */
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section {
        padding: 40px 0;
    }
    .page-contact__section-title {
        font-size: clamp(24px, 7vw, 32px);
    }
    .page-contact__section-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    /* Method Grid */
    .page-contact__method-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .page-contact__method-card {
        padding: 20px;
        min-height: auto;
    }
    .page-contact__method-title {
        font-size: 20px;
    }
    .page-contact__method-text {
        font-size: 14px;
    }

    /* Form */
    .page-contact__contact-form {
        padding: 25px;
        margin-top: 30px;
    }
    .page-contact__form-group {
        margin-bottom: 20px;
    }
    .page-contact__form-label {
        font-size: 14px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        font-size: 14px;
        padding: 10px;
    }
    .page-contact__contact-form .page-contact__btn-primary {
        margin-top: 15px;
    }

    /* FAQ */
    .page-contact__faq-list {
        margin-top: 30px;
    }
    .page-contact__faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }
    .page-contact__faq-toggle {
        font-size: 20px;
    }
    .page-contact__faq-answer {
        font-size: 14px;
        padding: 0 20px 15px;
    }
}