.faq-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-container h2 {
    text-align: center;
    font-size: 2.9rem;
    margin-bottom: 10px;
    color: #fca644;
}

.faq-container p.subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 2 rem;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-item input {
    display: none;
}

.faq-item label {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 2rem;

}

.faq-item label:hover {
    background: #f1f5f9;
}

.faq-item .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 15px;
    font-size: 0.95rem;
    background: #fafafa;
}

.faq-item .faq-content p {
    font-size: 1.5rem;
}

.faq-item input:checked~.faq-content {
    max-height: 300px;
    padding: 15px;
}

.arrow {
    transition: transform 0.3s ease;
}

.faq-item input:checked+label .arrow {
    transform: rotate(90deg);
}

@media (max-width: 600px) {
    .faq-item label {
        font-size: 1.5rem;
    }

    .faq-container {
        margin: 20px;
        padding: 15px;
    }

    .faq-container h2 {
        font-size: 2rem;
    }

    /* .faq-item label {
        font-size: 0.95rem;
    } */
}