/* style/contact.css */

/* Root styles for .page-contact to ensure text color on dark body background */
.page-contact {
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for the first section */
    background-color: #08160F; /* Background */
    overflow: hidden;
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-contact__main-title {
    font-weight: 700;
    line-height: 1.2;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    /* Using clamp for responsive font size, but not excessively large */
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

/* General Section Styling */
.page-contact__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
}

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

/* Card Background Sections */
.page-contact__card-bg {
    background-color: #11271B; /* Card B G */
    padding: 60px 0;
}

.page-contact__light-bg {
    background-color: #08160F; /* Background (still dark, but clearer distinction) */
    padding: 60px 0;
    color: #F2FFF6; /* Ensure light text on this dark background */
}

.page-contact__dark-bg {
    background-color: #08160F; /* Background */
    padding: 60px 0;
    color: #F2FFF6; /* Ensure light text on this dark background */
}

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

.page-contact__channel-item {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__channel-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-contact__contact-info {
    font-size: 1rem;
    color: #F2FFF6; /* Text Main */
    font-weight: 500;
}

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

/* Contact Form Section */
.page-contact__contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #11271B; /* Card B G */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.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: 1rem;
    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);
}

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

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

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

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

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

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

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

.page-contact__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.1);
}

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

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

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

/* Benefits Section */
.page-contact__benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
}

.page-contact__benefit-item {
    background-color: #0A4B2C; /* Deep Green */
    border-left: 5px solid #57E38D; /* Glow */
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #F2FFF6; /* Text Main */
    line-height: 1.5;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

/* Buttons */
.page-contact__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: fit-content;
    min-width: 200px;
}

/* Responsive Images */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
    object-fit: cover;
}

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

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

    .page-contact__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-contact__main-title {
        margin-bottom: 15px;
    }

    .page-contact__hero-description {
        margin-bottom: 20px;
    }

    .page-contact__section-title {
        margin-bottom: 15px;
    }

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

    .page-contact__channels-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__benefits-section {
        padding: 40px 0;
    }

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

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

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

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

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

    .page-contact__benefit-item {
        padding: 12px 15px;
        margin-bottom: 10px;
    }

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

    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-section,
    .page-contact__channels-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__benefits-section,
    .page-contact__channels-grid,
    .page-contact__contact-form,
    .page-contact__faq-list,
    .page-contact__benefits-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile specific button adaptation */
    .page-contact__btn-primary,
    .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;
        margin-left: auto;
        margin-right: auto;
    }

    .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;
        overflow: hidden !important;
    }
    .page-contact__cta-button {
        width: 100%; /* Ensure full width on mobile */
    }
}