/* ===== Page Hero ===== */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 58, 114, 0.95) 0%, rgba(14, 165, 233, 0.85) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    text-align: center;
    color: var(--white);
}

.page-hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb span {
    color: var(--accent-color);
}

/* ===== FAQ Categories ===== */
.faq-categories-section {
    background: var(--white);
    padding: 0;
    position: relative;
    z-index: 10;
    margin-top: -30px;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: var(--white);
    padding: 20px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: var(--radius);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.faq-category:hover {
    color: var(--primary-color);
    background: var(--light-color);
}

.faq-category.active {
    background: var(--gradient);
    color: var(--white);
}

.faq-category i {
    font-size: 1.25rem;
}

/* ===== FAQ Sections ===== */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-section-alt {
    background: var(--light-color);
}

.faq-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.faq-section-icon i {
    font-size: 2rem;
    color: var(--white);
}

.faq-section-header h2 {
    font-size: 2rem;
}

/* ===== FAQ List ===== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-section-alt .faq-item {
    background: var(--white);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    color: var(--secondary-color);
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question {
    background: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: var(--white);
}

.faq-item.active .faq-question i {
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 30px 15px;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

.faq-answer p:first-child {
    padding-top: 20px;
}

.faq-answer p:last-child {
    padding-bottom: 25px;
}

.faq-answer ul,
.faq-answer ol {
    padding: 0 30px 15px 50px;
    color: var(--text-color);
    line-height: 1.8;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: var(--dark-color);
}

.faq-answer .text-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.faq-answer .text-link:hover {
    color: var(--primary-color);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/chart-bg.jpg') center/cover;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content .highlight {
    color: var(--accent-color);
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 35px;
}

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .faq-categories-section {
        margin-top: -20px;
    }

    .faq-categories {
        flex-wrap: wrap;
        padding: 15px 20px;
        gap: 10px;
    }

    .faq-category {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .faq-category span {
        display: none;
    }

    .faq-category i {
        font-size: 1.5rem;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-section-header h2 {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p,
    .faq-answer ul,
    .faq-answer ol {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-answer ul,
    .faq-answer ol {
        padding-left: 40px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-hero-content h1 {
        font-size: 1.5rem;
    }

    .faq-categories {
        justify-content: space-around;
    }

    .faq-category {
        padding: 10px 15px;
    }

    .faq-section-icon {
        width: 60px;
        height: 60px;
    }

    .faq-section-icon i {
        font-size: 1.5rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }
}
