/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: 10px; /* Small top padding for the first section */
}

.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px; /* Padding below content */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-contact__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

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

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

.page-contact__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 500px; /* Limit width for button group */
    margin: 0 auto;
}

.page-contact__cta-buttons--bottom {
    margin-top: 40px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-link,
.page-contact__btn-submit {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

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

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    background: transparent;
    color: #2AD16F; /* A lighter shade of green from the gradient */
    border: 2px solid #2AD16F;
}

.page-contact__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
}

.page-contact__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Contact Info Section */
.page-contact__contact-info-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

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

.page-contact__info-card-icon {
    width: 100%;
    height: auto;
    max-width: 250px; /* Example size, adjust as needed */
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

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

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

.page-contact__btn-link {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    padding: 10px 20px;
    border-radius: 6px;
    margin-top: auto; /* Push to bottom */
}

.page-contact__btn-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Contact Form Section */
.page-contact__contact-form-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-contact__contact-form {
    background-color: #11271B; /* Card B G */
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px 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;
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-size: 1em;
    box-sizing: border-box;
}

.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 {
    outline: none;
    border-color: #2AD16F;
    box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

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

.page-contact__btn-submit {
    width: 100%;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-contact__btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

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

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

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

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

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

.page-contact__faq-answer {
    padding: 20px 25px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
    border-top: 1px solid #2E7A4E; /* Border */
    line-height: 1.8;
}

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

.page-contact__faq-answer .page-contact__btn-link {
    margin-right: 10px;
    margin-top: 10px;
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

/* Commitment Section */
.page-contact__commitment-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.page-contact__commitment-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-contact__section-title {
        font-size: clamp(1.6em, 4.5vw, 2.5em);
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__hero-section,
    .page-contact__contact-info-section,
    .page-contact__contact-form-section,
    .page-contact__faq-section,
    .page-contact__commitment-section {
        padding: 40px 15px;
    }

    .page-contact__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em) !important;
    }
    .page-contact__section-title {
        font-size: clamp(1.4em, 5.5vw, 2.2em) !important;
    }

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

    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__btn-link,
    .page-contact__btn-submit {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__info-cards {
        grid-template-columns: 1fr;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
    }

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

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

    /* Images responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__hero-image-wrapper,
    .page-contact__info-card,
    .page-contact__commitment-section,
    .page-contact__contact-form-section,
    .page-contact__faq-section,
    .page-contact__contact-info-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    
    /* Specific override for first section top padding if needed, but body should handle it */
    .page-contact__hero-section {
        padding-top: 10px !important; /* Small top padding */
    }
}

@media (max-width: 480px) {
    .page-contact__main-title {
        font-size: clamp(1.3em, 7vw, 2em) !important;
    }
    .page-contact__section-title {
        font-size: clamp(1.2em, 6.5vw, 1.8em) !important;
    }
    .page-contact__hero-description {
        font-size: 0.95em;
    }
    .page-contact__faq-question {
        font-size: 1em;
    }
    .page-contact__faq-answer {
        font-size: 0.95em;
    }
}