/* =====================================================
   FAQ SECTION
===================================================== */

.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

/* =====================================================
   SIDEBAR
===================================================== */

.faq-sidebar {
    position: sticky;
    top: 100px;
}

.faq-nav {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--gray-200);
}

.faq-nav h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.faq-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.faq-nav a.active {
    background: var(--primary);
    color: var(--black);
}

.faq-nav a:hover {
    background: var(--gray-100);
    color: var(--black);
}

/* =====================================================
   MOBILE DROPDOWN CATEGORY
===================================================== */

.faq-mobile-select {
    display: none;
    margin-bottom: 24px;
}

.faq-mobile-select select {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    font-weight: 600;
    font-size: 15px;
    background: var(--white);
}

/* =====================================================
   FAQ ITEMS
===================================================== */

.faq-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.15);
}

.faq-question {
    width: 100%;
    padding: 24px;
    text-align: left;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--primary-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer > div {
    padding: 0 24px 24px;
    color: var(--gray-600);
    line-height: 1.8;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-sidebar {
        position: static;
    }

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .faq-section {
        padding: 60px 0;
    }

    .faq-sidebar {
        display: none;
    }

    .faq-mobile-select {
        display: block;
    }

    .faq-question {
        padding: 18px;
        font-size: 16px;
    }

    .faq-answer > div {
        padding: 0 18px 18px;
        font-size: 14px;
        line-height: 1.6;
    }

}
