/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--bg-dark-1, #0d0d0d); /* Assuming shared.css defines --bg-dark-1 as a dark color */
}

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

.page-contact__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: calc(100px + var(--header-offset, 120px)); /* Fixed header spacing */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-contact__hero-content {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
}

.page-contact__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__social-btn {
    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;
    max-width: 100%; /* Ensures responsiveness */
    box-sizing: border-box; /* Ensures padding/border are included in width */
    white-space: normal; /* Allows text to wrap */
    word-wrap: break-word; /* Breaks long words */
}

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

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

.page-contact__btn-primary--large {
    padding: 18px 35px;
    font-size: 1.1em;
}

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

.page-contact__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #1a7bb0;
    border-color: #1a7bb0;
}

.page-contact__social-btn {
    background-color: #EA7C07; /* Login color for social buttons */
    color: #ffffff;
    border: 2px solid #EA7C07;
    margin: 5px;
}

.page-contact__social-btn:hover {
    background-color: #c96706;
    border-color: #c96706;
}

.page-contact__introduction-section,
.page-contact__form-section,
.page-contact__tips-section {
    background-color: #ffffff; /* Light background for these sections */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-contact__channels-section,
.page-contact__faq-section,
.page-contact__conclusion-section {
    background-color: #26A9E0; /* Brand primary color as dark background */
    color: #ffffff; /* White text for dark background */
    padding: 60px 0;
}

.page-contact__section-title {
    font-size: 2.5em;
    color: inherit; /* Inherit color from parent section */
    text-align: center;
    margin-bottom: 40px;
}

.page-contact__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-contact__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 30px;
}

.page-contact__image--center {
    margin-left: auto;
    margin-right: auto;
}

/* Channel items */
.page-contact__channel-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    color: #ffffff;
}

.page-contact__channel-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-contact__channel-description {
    margin-bottom: 15px;
}

.page-contact__email-link {
    color: #EA7C07; /* Login color for email link */
    text-decoration: underline;
}

.page-contact__email-link:hover {
    color: #c96706;
}

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

/* Contact Form */
.page-contact__contact-form {
    max-width: 700px;
    margin: 30px auto;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #ffffff;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 5px rgba(38, 169, 224, 0.5);
}

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

/* FAQ Section */
.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
    color: #ffffff;
}

.page-contact__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-contact__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 15px 20px;
}

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

/* Tips Section */
.page-contact__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-contact__tips-item {
    background-color: #f9f9f9;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-contact__tips-item-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

/* Conclusion Section */
.page-contact__conclusion-section .page-contact__text-block {
    text-align: center;
}

.page-contact__conclusion-section .page-contact__btn-primary {
    margin-top: 30px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__channel-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__hero-section {
        padding: 80px 15px;
        padding-top: calc(80px + var(--header-offset, 120px));
        min-height: 400px;
    }
    .page-contact__hero-content {
        padding: 20px;
    }
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__channel-title {
        font-size: 1.3em;
    }
    .page-contact__container {
        padding: 15px;
    }
    .page-contact__contact-form {
        padding: 20px;
    }

    /* 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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 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;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .page-contact__social-links {
        flex-direction: column; /* Stack social buttons vertically */
        align-items: center;
    }
    .page-contact__social-btn {
        width: 100%;
        margin: 5px 0;
    }
    .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;
    }

    /* Mobile video responsiveness - no videos here, but keeping the general rule */
    .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: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__hero-section {
      min-height: 300px;
      padding-top: calc(60px + var(--header-offset, 120px));
    }
    .page-contact__hero-content {
      padding: 20px;
    }
}