/* style/faq.css */

.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark #0a0a0a from shared.css */
    background-color: transparent;
}

.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 60px; /* Adjusted padding to ensure content is not hidden by header */
    text-align: center;
    background: linear-gradient(135deg, #26A9E0, #007bff);
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-faq__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    box-sizing: border-box;
}

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

.page-faq__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

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

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

/* Section Titles */
.page-faq__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: #26A9E0;
    font-weight: bold;
}

.page-faq__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-faq__paragraph {
    font-size: 1em;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Introduction Section */
.page-faq__introduction-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background from shared.css */
    color: #ffffff; /* Light text for contrast */
}

.page-faq__introduction-section .page-faq__section-title {
    color: #ffffff;
}

.page-faq__introduction-section .page-faq__sub-title {
    color: #26A9E0;
}

.page-faq__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-faq__image-wrapper {
    text-align: center;
}

.page-faq__image-content {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ List Section */
.page-faq__faq-list-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background from shared.css */
    color: #ffffff; /* Light text for contrast */
}

.page-faq__faq-list-section .page-faq__section-title {
    color: #ffffff;
}

.page-faq__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for items */
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 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.15);
    transition: background-color 0.3s ease;
}

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

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

.page-faq__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    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;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

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

.page-faq__answer-content {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__answer-sub-title {
    font-size: 1.15em;
    color: #26A9E0;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* CTA Section */
.page-faq__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #0a0a0a; /* Dark background from shared.css */
    color: #ffffff;
}

.page-faq__cta-section .page-faq__section-title,
.page-faq__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq__hero-title {
        font-size: 2.8em;
    }

    .page-faq__section-title {
        font-size: 2em;
    }

    .page-faq__introduction-section .page-faq__content-grid {
        grid-template-columns: 1fr;
    }

    .page-faq__image-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 80px 0 40px;
        padding-top: var(--header-offset, 120px) !important;
    }
    
    .page-faq__hero-title {
        font-size: 2.2em;
    }

    .page-faq__hero-description {
        font-size: 1em;
    }

    .page-faq__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-faq__sub-title {
        font-size: 1.5em;
    }

    .page-faq__faq-question {
        padding: 15px 20px;
    }

    .page-faq__faq-title {
        font-size: 1.1em;
    }

    .page-faq__faq-toggle {
        font-size: 1.5em;
    }

    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 15px 20px;
    }

    .page-faq__answer-sub-title {
        font-size: 1.05em;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-faq__hero-cta-buttons,
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq__image-wrapper,
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-faq__introduction-section,
    .page-faq__faq-list-section,
    .page-faq__cta-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-title {
        font-size: 1.8em;
    }

    .page-faq__section-title {
        font-size: 1.5em;
    }

    .page-faq__sub-title {
        font-size: 1.3em;
    }

    .page-faq__faq-question {
        padding: 12px 15px;
    }

    .page-faq__faq-title {
        font-size: 1em;
    }

    .page-faq__faq-toggle {
        font-size: 1.3em;
    }

    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 12px 15px;
    }

    .page-faq__answer-sub-title {
        font-size: 1em;
    }

    .page-faq__paragraph {
        font-size: 0.95em;
    }
}