.faq {
    position: relative;
    padding: 3rem;
    background-color: var(--background);
    color: var(--text-color);
    font-family: var(--font-biasa);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-title {
    width: 100%;
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.faq-content {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-family: var(--font-biasa);
    color: var(--text-color);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 0;
}

.arrow {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s ease;
    padding-left: 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px; 
    padding-top: 0.5rem;
}

@media (max-width: 767px) {
    .faq-title {
        font-size: 2rem;
    }

    .faq-content {
        padding: 0;
    }

    .faq-question {
        font-size: 1.2rem;
    }

    .faq-answer {
        padding-left: 1rem;
    }
}
