/* style/faq.css */

/* --- Base Styles --- */
.page-faq {
    color: #ffffff; /* Dark body background #0a0a0a, so light text */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Main content background should blend with body */
}

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

.page-faq__main-title {
    font-size: 3.5em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
}

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

.page-faq__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffffff;
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
}

/* --- Hero Section --- */
.page-faq__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-faq__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(38, 169, 224, 0.7), rgba(10, 10, 10, 0.7)); /* Overlay brand color with dark background */
    z-index: 1;
}

.page-faq__hero-section .page-faq__container {
    position: relative;
    z-index: 2;
}

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

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

.page-faq__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin: 10px;
}

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

.page-faq__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Main brand color */
    border: 2px solid #26A9E0;
    margin: 10px;
}

.page-faq__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8ccb;
    border-color: #1a8ccb;
}

/* --- Content Area --- */
.page-faq__content-area {
    padding: 60px 0;
    background-color: #0a0a0a; /* Ensure content background matches body */
}

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

.page-faq__faq-category-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
    border-radius: 10px;
    margin-bottom: 20px;
    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;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly darker for question header */
    transition: background-color 0.3s ease;
}

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

.page-faq__question-text {
    flex-grow: 1;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

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

.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px 25px;
    padding-top: 0; /* Adjust padding for smooth transition */
}

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

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

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

/* --- CTA Section --- */
.page-faq__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0; /* Use brand color for CTA background */
    color: #ffffff;
}

.page-faq__cta-content {
    max-width: 900px;
}