/* ===== FAQ HERO ===== */
.faq-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1434682881908-b43d0467b798?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 80px;
}

.faq-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.faq-hero .hero-title {
    font-size: 3.5rem;
    color: var(--text-white);
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.faq-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 40px;
}

/* ===== SEARCH BOX ===== */
.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    background: var(--text-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 10px 40px rgba(230, 30, 42, 0.4);
}

.search-box i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* ===== CATEGORIES ===== */
.faq-categories {
    padding: 80px 0;
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: var(--text-white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.category-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FAQ CONTENT ===== */
.faq-content {
    padding: 100px 0;
    background: var(--text-white);
}

.faq-section {
    max-width: 900px;
    margin: 0 auto 80px;
}

.faq-section:last-child {
    margin-bottom: 0;
}

.faq-section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

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

/* ===== FAQ ACCORDION ===== */
.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(230, 30, 42, 0.15);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.faq-question span {
    flex: 1;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

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

.faq-answer ul {
    list-style: none;
    margin: 15px 0;
    padding-left: 0;
}

.faq-answer ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.7;
}

.faq-answer ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.faq-answer strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== QUESTIONS CTA ===== */
.questions-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-grey));
    text-align: center;
    color: var(--text-white);
}

.questions-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.questions-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* ===== HIGHLIGHT EFFECT ===== */
.faq-item.highlight {
    animation: highlightPulse 1s ease;
}

@keyframes highlightPulse {
    0%, 100% {
        background: var(--bg-light);
    }
    50% {
        background: rgba(230, 30, 42, 0.1);
    }
}

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.no-results.show {
    display: block;
}

.no-results i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.no-results p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .faq-hero .hero-title {
        font-size: 2.5rem;
    }

    .faq-hero .hero-subtitle {
        font-size: 1rem;
    }

    .search-box input {
        padding: 15px 50px 15px 20px;
        font-size: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 25px 15px;
    }

    .category-card i {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .category-card h3 {
        font-size: 0.95rem;
    }

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

    .faq-question {
        padding: 20px;
        font-size: 1.05rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }

    .questions-cta h2 {
        font-size: 2rem;
    }

    .questions-cta .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }
}
