.faq {
    padding: 100px 0;
    position: relative; /* CRUCIAL */
    z-index: 10;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: right;
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    
    
}

.faq-question .chevron {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent);
}

/* Hover state */
.faq-item:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(180, 220, 2, 0.5);
}

/* Active/Open state */
.faq-item.active {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.faq-item.active .chevron {
    transform: rotate(180deg);
}

/* The Secret to Smooth Animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.answer-content {
    padding: 0 30px 30px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

@media (max-width: 767px) {
    .faq { padding: 60px 0; }
    .faq-question { padding: 20px; font-size: 1.1rem; }
    .answer-content { padding: 0 20px 20px; }
}