/* style/contact.css */

/* --- Global Styles for .page-contact scope --- */
.page-contact {
    background-color: #08160F; /* Background color from custom palette */
    color: #F2FFF6; /* Main text color from custom palette */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Ensure body padding-top is handled by shared.css, not here */
.page-contact__section {
    padding: 60px 20px;
    box-sizing: border-box;
    width: 100%;
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
    box-sizing: border-box;
}

.page-contact__section-title {
    font-size: 2.5rem;
    color: #F2C14E; /* Gold color for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #A7D9B8; /* Secondary text color */
}

.page-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-contact ul li {
    margin-bottom: 10px;
    color: #A7D9B8;
}

/* --- Hero Section --- */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: #0A4B2C; /* Deep Green for hero background */
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit image height */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim image for text contrast */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-contact__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above image filter if any */
    color: #F2FFF6;
}

.page-contact__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    color: #F2C14E; /* Gold color for H1 */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-contact__main-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #A7D9B8;
}

/* --- CTA Button --- */
.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #F2FFF6; /* Text Main color for button */
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-contact__cta-button--small {
    padding: 10px 20px;
    font-size: 1rem;
}

.page-contact__cta-button--large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* --- Contact Channels Section --- */
.page-contact__contact-channels-section {
    background-color: #11271B; /* Card BG color */
    padding: 80px 20px;
}

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

.page-contact__channel-card {
    background-color: #0A4B2C; /* Deep Green for cards */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Push image/button to bottom */
    border: 1px solid #2E7A4E; /* Border color */
}

.page-contact__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__card-title {
    font-size: 1.6rem;
    color: #F2FFF6; /* Main text color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-description {
    font-size: 1rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 25px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-contact__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    filter: none !important;
}

.page-contact__email-link {
    color: #2AD16F; /* Button gradient start color for links */
    text-decoration: underline;
}

.page-contact__email-link:hover {
    color: #13994A; /* Button gradient end color for links */
}

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

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 8px;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Main text color */
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #A7D9B8; /* Secondary text color */
    opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #2AD16F; /* Button gradient start color */
    box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
    outline: none;
}

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

.page-contact__form-note {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: #A7D9B8;
    font-size: 0.95rem;
}

.page-contact__cta-button--form-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}


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

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

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

.page-contact__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__faq-question:hover {
    background-color: #13994A; /* Darker button gradient end color */
}

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

.page-contact__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F; /* Button gradient start color */
}

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

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

.page-contact__faq-answer ul,
.page-contact__faq-answer ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-contact__faq-answer li {
    margin-bottom: 5px;
    color: #A7D9B8;
}

.page-contact__faq-link {
    display: inline-block;
    margin-top: 10px;
    color: #2AD16F; /* Button gradient start color */
    text-decoration: underline;
    font-weight: bold;
}

.page-contact__faq-link:hover {
    color: #13994A; /* Button gradient end color */
}

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

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

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

.page-contact__commitment-heading {
    font-size: 1.4rem;
    color: #F2C14E; /* Gold color */
    margin-bottom: 15px;
    font-weight: bold;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-contact__section-title {
        font-size: 2.2rem;
    }
    .page-contact__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-contact__hero-content {
        padding: 0 15px;
    }
    .page-contact__channels-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__section {
        padding: 40px 15px;
    }
    .page-contact__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-contact__main-description {
        font-size: 1rem;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-contact__hero-section {
        padding-bottom: 40px;
    }
    .page-contact__hero-image-wrapper {
        max-height: 400px;
    }

    /* Mobile image responsiveness */
    .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__contact-form,
    .page-contact__faq-item,
    .page-contact__commitment-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__channels-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    
    .page-contact__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile button responsiveness */
    .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;
    }

    /* Ensure content area images are not too small */
    .page-contact img {
        min-width: 200px !important; /* Minimum size for content images */
        min-height: 200px !important; /* Minimum size for content images */
    }
    .page-contact__card-image {
        height: auto !important; /* Allow auto height for card images */
    }

    /* Video responsiveness (if any, though none included in HTML now) */
    .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;
    }
}

@media (max-width: 480px) {
    .page-contact__section-title {
        font-size: 1.5rem;
    }
    .page-contact__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-contact__hero-image-wrapper {
        max-height: 300px;
    }
    .page-contact__card-title {
        font-size: 1.4rem;
    }
    .page-contact__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

/* Ensure all images maintain original color, no filters */
.page-contact img {
    filter: none !important;
}

/* Specific overrides to ensure minimum size if needed */
.page-contact img:not(.page-contact__logo-small):not(.page-contact__social-icon) {
    min-width: 200px;
    min-height: 200px;
}
.page-contact__card-image {
    min-width: 200px;
    min-height: 200px;
}