/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure consistency with body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header offset for fixed header */
.page-contact__hero-section {
    padding-top: var(--header-offset, 120px);
}

/* Sections */
.page-contact__section-title {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1rem;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    background-color: #000000; /* Dark background */
    padding-bottom: 60px;
}

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

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

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-contact__hero-title {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box; /* For responsive buttons */
    white-space: normal; /* For responsive buttons */
    word-wrap: break-word; /* For responsive buttons */
    text-align: center;
}

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

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

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

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

/* Channels Section */
.page-contact__channels-section {
    background-color: #ffffff; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

.page-contact__channels-section .page-contact__section-title {
    color: #000000; /* Dark title for light background */
}

.page-contact__channels-section .page-contact__section-description {
    color: #333333; /* Dark description for light background */
}

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

.page-contact__channel-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333; /* Dark text for light card background */
}

.page-contact__channel-card:hover {
    transform: translateY(-5px);
}

.page-contact__channel-icon {
    width: 200px; /* Min size 200x200 */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__channel-title {
    font-size: 1.5rem;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.page-contact__social-link {
    color: #26A9E0;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__social-link:hover {
    color: #1a7fb3;
}

.page-contact__channels-image {
    display: block;
    margin: 40px auto 0 auto;
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
}

/* Benefits Section */
.page-contact__benefits-section {
    background-color: #000000; /* Dark background */
    color: #ffffff; /* Light text */
    padding-bottom: 60px;
}

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

.page-contact__benefit-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__benefit-title {
    font-size: 1.4rem;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-contact__benefit-text {
    font-size: 1rem;
    color: #f0f0f0;
}

.page-contact__benefits-image {
    display: block;
    margin: 40px auto 0 auto;
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text */
    padding-bottom: 60px;
}

.page-contact__faq-section .page-contact__section-title {
    color: #000000; /* Dark title for light background */
}

.page-contact__faq-section .page-contact__section-description {
    color: #333333; /* Dark description for light background */
}

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

.page-contact__faq-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #eaf7fd; /* Lighter blue background for question */
    border-bottom: 1px solid #d4effa;
}

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

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

.page-contact__faq-toggle {
    font-size: 1.5rem;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an 'x' */
}

.page-contact__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.page-contact__faq-image {
    display: block;
    margin: 40px auto 0 auto;
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
}

/* Form Section */
.page-contact__form-section {
    background-color: #000000; /* Dark background */
    color: #ffffff; /* Light text */
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.page-contact__form-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.15; /* More subtle */
}

.page-contact__form-section .page-contact__container {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.page-contact__contact-form {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #f0f0f0;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444444;
    border-radius: 8px;
    background-color: #1a1a1a; /* Darker input background */
    color: #ffffff;
    font-size: 1rem;
    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: #aaaaaa;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    background-color: #0d0d0d;
    outline: none;
}

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

.page-contact__contact-form .page-contact__btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    background-color: #EA7C07; /* Login color for submit */
    border-color: #EA7C07;
}

.page-contact__contact-form .page-contact__btn-primary:hover {
    background-color: #c96806;
    border-color: #c96806;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3rem;
    }
    .page-contact__section-title {
        font-size: 2rem;
    }
    .page-contact__hero-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }
    .page-contact__hero-title {
        font-size: 2.5rem;
    }
    .page-contact__hero-description {
        font-size: 1rem;
    }
    .page-contact__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__container {
        padding: 20px 15px;
    }
    .page-contact__section-title {
        font-size: 1.8rem;
    }
    .page-contact__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

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

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

    .page-contact__channel-title,
    .page-contact__benefit-title {
        font-size: 1.3rem;
    }

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

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

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

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

    /* All containers that hold images, videos, buttons */
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-section,
    .page-contact__channels-section,
    .page-contact__benefits-section,
    .page-contact__faq-section,
    .page-contact__form-section,
    .page-contact__hero-cta-buttons,
    .page-contact__social-links,
    .page-contact__channels-grid,
    .page-contact__benefits-grid,
    .page-contact__faq-list,
    .page-contact__contact-form {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Re-apply header offset for mobile */
    }

    /* Specific video/button containers if needed, ensuring no overflow */
    .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;
    }
}

/* Dark background sections */
.page-contact__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

/* Light background sections */
.page-contact__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Ensure images do not have filters */
.page-contact img {
    filter: none !important;
}

/* Ensure content area images are not too small */
.page-contact__container img,
.page-contact__channels-grid img,
.page-contact__benefits-grid img,
.page-contact__faq-list img,
.page-contact__contact-form img {
  min-width: 200px;
  min-height: 200px;
}

.page-contact__form-bg-img {
    filter: none !important; /* Ensure background image also has no filter */
}