/* style/contact.css */
.page-contact {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
}

.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 80px 0; /* Small top padding, larger bottom for content */
    overflow: hidden;
    text-align: center;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    margin-top: -200px; /* Overlap with image for visual effect, but not covering text */
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark background for text */
    border-radius: 10px;
    color: #ffffff;
}

.page-contact__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-contact__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__btn-primary {
    display: inline-block;
    background: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-contact__btn-primary:hover {
    background-color: #d46a00;
}

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

.page-contact__section-title {
    font-size: 2.5rem;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-contact__section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__channels-section, .page-contact__social-section, .page-contact__faq-section, .page-contact__form-section, .page-contact__commitment-section {
    padding: 60px 0;
}

.page-contact__dark-section {
    background: #26A9E0;
    color: #ffffff;
}

.page-contact__dark-section .page-contact__section-title {
    color: #ffffff;
}

.page-contact__light-bg {
    background: #ffffff;
    color: #333333;
}

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

.page-contact__channel-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-contact__channel-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
}

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

.page-contact__card-text {
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact__contact-info {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.page-contact__btn-secondary {
    display: inline-block;
    background: #ffffff;
    color: #26A9E0;
    padding: 10px 20px;
    border: 2px solid #26A9E0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    margin-top: auto;
}

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

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

.page-contact__social-link {
    background: #ffffff;
    color: #26A9E0;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-contact__social-link:hover {
    background-color: #e0e0e0;
}

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

.page-contact__faq-item {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none;
    outline: none;
    transition: background-color 0.3s ease;
}

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

.page-contact__faq-item summary:hover {
    background-color: #f0f0f0;
}

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

.page-contact__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px;
    color: #26A9E0;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    content: '−';
}

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #333333;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-content {
        margin-top: -150px;
    }
}

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

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

    .page-contact__hero-image-wrapper {
        max-height: 300px;
    }

    .page-contact__hero-content {
        margin-top: -100px;
        padding: 15px;
    }

    .page-contact__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-contact__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-contact__btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-contact__section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-contact__section-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

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

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

    .page-contact__channel-icon {
        max-width: 150px;
    }

    .page-contact__card-title {
        font-size: 1.3rem;
    }

    .page-contact__btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__social-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .page-contact__social-link {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 10px 15px;
    }

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

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

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

    .page-contact__form-label,
    .page-contact__form-input,
    .page-contact__form-textarea {
        font-size: 0.95rem;
    }

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

    .page-contact__hero-image-wrapper,
    .page-contact__channel-card,
    .page-contact__social-links,
    .page-contact__faq-list,
    .page-contact__contact-form,
    .page-contact__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure the hero image does not have filter on all images */
.page-contact img:not(.page-contact__hero-image) {
    filter: none; /* Reset filter for other images */
}

/* Ensure the hero image has the specific brightness filter */
.page-contact__hero-image {
    filter: brightness(0.6);
}