/* style/faq.css */

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

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

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
    background-color: #000000; /* Dark background */
    color: #ffffff;
}

.page-faq__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-faq__hero-section .page-faq__container {
    position: relative;
    z-index: 2;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

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

.page-faq__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-faq__btn-primary:hover {
    background-color: #1a7fb3;
    transform: translateY(-3px);
}

.page-faq__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-faq__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Content Area */
.page-faq__content-area {
    background-color: #000000; /* Dark background for content sections */
    color: #f0f0f0;
    padding: 60px 0;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-faq__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #cccccc;
}

/* FAQ List */
.page-faq__faq-list {
    margin-top: 30px;
}

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08); /* Even lighter dark for question */
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

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

.page-faq__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #cccccc;
}

.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 25px 25px 25px;
}

.page-faq__faq-answer p {
    margin-bottom: 15px;
    color: #cccccc;
}

.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__image {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__image--inline {
    margin-top: 15px;
    margin-bottom: 15px;
}

/* CTA Section */
.page-faq__cta-section {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 8px 25px rgba(38, 169, 224, 0.3);
}

.page-faq__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-faq__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0f7fa;
}

.page-faq__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: 3em;
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 80px 0;
        min-height: 400px;
    }
    .page-faq__hero-section .page-faq__container {
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset on mobile */
    }
    .page-faq__main-title {
        font-size: 2.5em;
    }
    .page-faq__intro-text {
        font-size: 1em;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-faq__content-area {
        padding: 40px 0;
    }
    .page-faq__section-title {
        font-size: 1.8em;
        padding-top: 20px;
    }
    .page-faq__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-faq__faq-question {
        padding: 15px 20px;
    }
    .page-faq__faq-heading {
        font-size: 1.1em;
    }
    .page-faq__faq-answer {
        padding: 0 20px;
    }
    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 10px 20px 20px 20px;
    }
    .page-faq__cta-section {
        padding: 40px 20px;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-description {
        font-size: 1em;
    }
    .page-faq__btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* Mobile image and video specific styles */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__cta-section,
    .page-faq__faq-list,
    .page-faq__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-faq__hero-section .page-faq__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-faq__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-faq__content-area .page-faq__container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 2em;
    }
    .page-faq__section-title {
        font-size: 1.5em;
    }
    .page-faq__cta-title {
        font-size: 1.6em;
    }
    .page-faq__faq-heading {
        font-size: 1em;
    }
}