/* 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 */
}

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

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 200px;
}

.page-contact__hero-content {
    max-width: 900px;
    margin-top: 30px;
    padding: 0 20px;
}

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

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

/* General Section Styling */
.page-contact__channels-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__cta-banner {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

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

.page-contact__section-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Channels Grid */
.page-contact__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__channel-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-height: 200px;
    object-fit: cover;
}

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

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

.page-contact__email-address,
.page-contact__phone-number {
    font-size: 1.1em;
    color: #57E38D; /* Glow */
    font-weight: bold;
    margin-bottom: 20px;
}

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

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

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

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

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

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

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    background-color: #0A4B2C; /* Deep Green */
    border-bottom: 1px solid #2E7A4E;
    list-style: none;
    position: relative;
}

.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

.page-contact__faq-question:hover {
    background-color: #11A84E; /* Main Color */
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #F2FFF6;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg);
}

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

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

.page-contact__faq-link {
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: bold;
}

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

/* CTA Banner */
.page-contact__cta-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 50px;
    margin-top: 60px;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-content {
    max-width: 50%;
    text-align: left;
    padding-right: 30px;
}

.page-contact__cta-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-contact__cta-image-wrapper {
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__cta-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    min-height: 200px;
    object-fit: cover;
}

/* Buttons */
.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
}

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

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

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

.page-contact__btn-secondary:hover {
    background-color: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
}

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

    .page-contact__hero-section {
        padding: 40px 15px;
    }

    .page-contact__hero-image-wrapper {
        max-height: 300px;
    }

    .page-contact__hero-image {
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

    .page-contact__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-contact__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-contact__channels-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__cta-banner {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-contact__section-description {
        margin-bottom: 30px;
    }

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

    .page-contact__channel-card {
        padding: 20px;
    }

    .page-contact__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }

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

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

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

    .page-contact__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 10px;
    }

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

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

    .page-contact__cta-banner {
        flex-direction: column;
        padding: 40px 20px;
    }

    .page-contact__cta-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .page-contact__cta-image-wrapper {
        max-width: 100%;
    }

    .page-contact__cta-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }

    .page-contact__cta-button,
    .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;
    }

    .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;
    }

    .page-contact__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}