.faq-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px 20px;
    background-color: rgba(173, 191, 253, 0.685);
    border-radius: 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.faq-header h1::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    right: 20%;
    border-radius: 3px;
}

.faq-header p {
    color: #666;
    font-size: 1.1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 154, 154, 0.541);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background: rgba(109, 99, 255, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(0deg);
}

@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
}