/* style/faqs.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0d0d0d;
    --bg-light: #f5f5f5;
}

.page-faqs {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--dark-bg); /* Assuming body background is dark from shared.css */
}

.page-faqs__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

.page-faqs__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-faqs__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

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

.page-faqs__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.8;
    color: var(--text-light);
}

.page-faqs__btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-dark);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-faqs__btn-primary:hover {
    background-color: #e0b800;
    transform: translateY(-3px);
}

.page-faqs__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.page-faqs__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.page-faqs__accordion-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    padding: 60px 20px;
    color: var(--text-light);
}

.page-faqs__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-faqs__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

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

.page-faqs__faq-list {
    display: grid;
    gap: 30px;
}

.page-faqs__faq-category {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faqs__category-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.page-faqs__faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #444444;
}

.page-faqs__faq-item:last-child {
    border-bottom: none;
}

.page-faqs__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.page-faqs__faq-question:hover {
    color: var(--primary-color);
}

.page-faqs__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

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

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

.page-faqs__faq-item.active .page-faqs__faq-answer {
    max-height: 1000px !important; /* Ensure enough height for content */
    padding: 15px;
}

.page-faqs__faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
}

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

.page-faqs__image--small {
    max-width: 600px;
}

.page-faqs__cta-section {
    position: relative;
    background-color: var(--secondary-color); /* Use secondary color for CTA background */
    padding: 80px 20px;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

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

.page-faqs__cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-faqs__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-faqs__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-faqs__cta-button {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faqs__hero-title {
        font-size: 3em;
    }
    .page-faqs__section-title {
        font-size: 2em;
    }
    .page-faqs__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-faqs__hero-section {
        min-height: 400px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-faqs__hero-title {
        font-size: 2.2em;
    }
    .page-faqs__hero-description {
        font-size: 1em;
    }
    .page-faqs__btn-primary,
    .page-faqs__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-faqs__accordion-section {
        padding: 40px 15px;
    }
    .page-faqs__section-title {
        font-size: 1.8em;
    }
    .page-faqs__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-faqs__faq-category {
        padding: 20px;
    }
    .page-faqs__category-title {
        font-size: 1.5em;
    }
    .page-faqs__faq-question {
        font-size: 1.1em;
    }
    .page-faqs__faq-answer {
        padding: 0 10px;
    }
    .page-faqs__faq-item.active .page-faqs__faq-answer {
        padding: 10px;
    }
    .page-faqs__cta-section {
        padding: 60px 15px;
    }
    .page-faqs__cta-title {
        font-size: 1.8em;
    }
    .page-faqs__cta-description {
        font-size: 1em;
    }

    /* --- Mobile Image/Video/Button Responsive Adaptaion (MUST BE HERE) --- */
    .page-faqs img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faqs__section,
    .page-faqs__card,
    .page-faqs__container,
    .page-faqs__hero-section,
    .page-faqs__accordion-section,
    .page-faqs__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-faqs video,
    .page-faqs__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faqs__video-section,
    .page-faqs__video-container,
    .page-faqs__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-faqs__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-faqs__cta-button,
    .page-faqs__btn-primary,
    .page-faqs__btn-secondary,
    .page-faqs a[class*="button"],
    .page-faqs 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;
        text-align: center;
    }
    .page-faqs__cta-buttons,
    .page-faqs__button-group,
    .page-faqs__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;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-faqs__hero-title {
        font-size: 1.8em;
    }
    .page-faqs__section-title {
        font-size: 1.5em;
    }
    .page-faqs__cta-title {
        font-size: 1.6em;
    }
    .page-faqs__category-title {
        font-size: 1.3em;
    }
    .page-faqs__faq-question {
        font-size: 1em;
    }
}