/* FAQ MODERN UI */

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.faq-header p {
    opacity: 0.7;
    font-size: 16px;
}

.faq-list {
    max-width: 800px;
    margin: auto;
}


/* CARD */

.faq-item {
    background: var(--card);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: 0.25s;
}

.faq-item:hover {
    transform: translateY(-2px);
}


/* QUESTION BUTTON */

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text);
}


/* ICON */

.faq-question .icon {
    font-size: 20px;
    color: var(--primary);
    transition: 0.3s;
}


/* ANSWER */

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 18px;
    font-size: 15px;
    opacity: 0.85;
}


/* ACTIVE STATE */

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}


/* MOBILE */

@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 28px;
    }
    .faq-question {
        font-size: 15px;
    }
}