/* FAQ SECTION */
.faq-section {
    padding: 4rem 1rem;
    background: #f5f7fa;
}

.faq-container {
    max-width: 900px;
    margin: auto;
}

/* CARD */
.faq-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* HOVER */
.faq-item:hover {
    transform: translateY(-3px);
}

/* QUESTION */
.faq-item h3 {
    font-size: 1.1rem;
    color: #1a2c5b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ADD + ICON */
.faq-item h3::after {
    content: "+";
    font-size: 1.5rem;
    color: #2a69ac;
}

/* ACTIVE STATE */
.faq-item.active h3::after {
    content: "-";
}

/* ANSWERS (hidden by default) */
.faq-item p,
.faq-item ul {
    display: none;
    margin-top: 1rem;
    color: #444;
}

/* SHOW WHEN ACTIVE */
.faq-item.active p,
.faq-item.active ul {
    display: block;
}

/* LIST */
.faq-item ul {
    padding-left: 1.2rem;
}

.faq-item ul li {
    margin-bottom: 0.4rem;
}

/* ================================
   FAQ CATEGORIES (NEW LAYER)
================================ */
.faq-category {
    margin-bottom: 2rem;
}

/* CATEGORY HEADER */
.category-title {
    background: linear-gradient(135deg, #1a2c5b, #2a69ac);
    color: #fff;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

/* CATEGORY ICON */
.category-title::after {
    content: "▾";
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* ROTATE ICON WHEN OPEN */
.faq-category.active .category-title::after {
    transform: rotate(180deg);
}

/* HIDE CONTENT INITIALLY */
.faq-category .faq-item {
    display: none;
}

/* SHOW WHEN CATEGORY IS ACTIVE */
.faq-category.active .faq-item {
    display: block;
}

/* ================================
   IMPROVED CARD LOOK (KEEP YOUR STYLE)
================================ */
.faq-item {
    margin-top: 1rem;
    border-left: 4px solid #2a69ac;
}

/* ================================
   SMOOTHER OPEN ANIMATION
================================ */
.faq-item p,
.faq-item ul {
    display: none;
}

.faq-item.active p,
.faq-item.active ul {
    display: block;
}

/* MOBILE */
@media (max-width: 600px) {
    .faq-item h3 {
        font-size: 1rem;
    }
}