/* pages/faq.css */

/* ---------- Hero ---------- */
.hero--faq {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 82px);
    background: linear-gradient(135deg, #a5d6a7 60%, #81c784 30%, #4caf50 10%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero__title {
    font-size: 3rem;
    font-weight: bold;
}

.hero__subtitle {
    font-size: 1.5rem;
}

/* ---------- FAQ Section ---------- */
.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f1f8e9, #ffffff);
}

.faq__container {
    max-width: 900px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.faq__item:hover {
    transform: translateY(-5px);
}

.faq__question {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.faq__question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq__question--active::after {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq__answer p {
    padding: 1rem 0;
    line-height: 1.7;
    color: #333;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 576px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .faq__question {
        font-size: 1rem;
    }
}