/* style/contact.css */

/* Base styles for the page content wrapper */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-contact__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Darken image for text readability */
}

.page-contact__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Additional darkening for text */
    z-index: 2;
}

.page-contact__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff; /* White text on dark background */
}

.page-contact__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff; /* Ensure white text */
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly off-white for contrast */
}

.page-contact__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
}

.page-contact__section-title--white {
    color: #ffffff; /* White title for dark sections */
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333333; /* Dark text for light background */
}

.page-contact__section-description--white {
    color: #f0f0f0; /* Light text for dark background */
}

/* Light/Dark Background Classes */
.page-contact__dark-bg {
    background-color: #0d0d0d; /* Dark background similar to var(--black-color) */
    color: #ffffff; /* Light text */
    padding: 60px 0;
}

.page-contact__light-bg {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text */
    padding: 60px 0;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-contact__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand color text */
    border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Channels Section */
.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: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333; /* Dark text for light card background */
}

.page-contact__channel-icon {
    width: 100%; /* Adjust as needed, but ensure min 200px */
    height: auto;
    max-width: 250px; /* Example max-width for icons, but ensure min 200px display */
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
    object-fit: contain; /* Keep aspect ratio */
    margin-bottom: 20px;
}

.page-contact__channel-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color */
}

.page-contact__channel-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #555555;
}

.page-contact__email-link,
.page-contact__phone-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
    text-decoration: underline;
}

.page-contact__channels-footer-text {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
    color: #333333; /* Dark text for light background */
}

/* Contact Form Section */
.page-contact__form-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
}

.page-contact__form-image {
    flex: 1;
    min-width: 300px; /* Ensure image is not too small */
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    min-height: 200px; /* Enforce min height */
}

.page-contact__contact-form {
    flex: 2;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    min-width: 300px;
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff; /* White label text for dark background */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

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

.page-contact__form-submit-btn {
    width: 100%;
    margin-top: 10px;
}

.page-contact__form-info-text {
    text-align: center;
    margin-top: 30px;
    font-size: 1em;
    color: #f0f0f0;
}
.page-contact__form-info-text--white {
    color: #f0f0f0;
}


/* FAQ Section */
.page-contact__faq-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping */
    align-items: flex-start;
}

.page-contact__faq-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__faq-main-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
}

.page-contact__faq-list {
    flex: 2;
    min-width: 300px;
}

.page-contact__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333; /* Dark text for light card background */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #26A9E0; /* Brand color for question */
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: #e6e6e6;
}

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

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    content: "−"; /* Changed by JS */
}

.page-contact__faq-answer {
    padding: 15px 25px;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    font-size: 1em;
    color: #555555; /* Darker grey for answer text */
}

.page-contact__faq-answer p {
    margin: 0;
    padding: 0;
}

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

/* Why Contact Section */
.page-contact__why-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.page-contact__why-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light background for dark section */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff; /* White text for dark card background */
}

.page-contact__why-item-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for item title */
}

.page-contact__why-item-text {
    font-size: 1em;
    color: #f0f0f0; /* Slightly off-white */
}

.page-contact__why-footer-text {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
    color: #f0f0f0;
}
.page-contact__why-footer-text--white {
    color: #f0f0f0;
}

/* CTA Bottom Section */
.page-contact__cta-bottom {
    text-align: center;
    padding: 80px 0;
    background-color: #f0f0f0; /* Light background */
    color: #333333; /* Dark text */
}

.page-contact__cta-bottom-content {
    max-width: 800px;
}

.page-contact__cta-bottom-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color */
}

.page-contact__cta-bottom-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #555555;
}

.page-contact__cta-bottom-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__cta-bottom-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        height: 60vh;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-contact__hero-title {
        font-size: 2.2em;
    }

    .page-contact__hero-description {
        font-size: 1em;
    }

    .page-contact__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__container,
    .page-contact__form-wrapper,
    .page-contact__faq-grid,
    .page-contact__channels-grid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__channels-grid,
    .page-contact__form-wrapper,
    .page-contact__faq-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-contact__form-image,
    .page-contact__faq-image-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }

    .page-contact__channel-card,
    .page-contact__contact-form,
    .page-contact__faq-list,
    .page-contact__why-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-contact__section-title {
        font-size: 1.8em;
    }

    .page-contact__cta-bottom-title {
        font-size: 1.8em;
    }
    .page-contact__cta-bottom-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* Images within content sections - Mobile specific */
    .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__form-wrapper,
    .page-contact__faq-grid,
    .page-contact__channels-grid,
    .page-contact__why-list,
    .page-contact__cta-bottom-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Video responsiveness (if any, though not used in this specific page) */
    .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;
    }
}

/* Ensure all images meet minimum size requirements */
.page-contact img:not(.page-contact__hero-background) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Or contain, depending on context */
}

/* Image color filter restriction check (explicitly no filter) */
.page-contact img {
    filter: none; /* Ensure no CSS filters are applied to change color */
}