.faq-accordion-container {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: #f9f9f9;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question[aria-expanded="true"] {
    background-color: #f0f0f0;
}

.faq-question-text {
    flex: 1;
    padding-right: 20px;
}

.faq-toggle-icon {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #666;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer.active {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 20px;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 768px) {
    .faq-accordion-container {
        margin: 20px auto;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 15px;
    }
    
    .faq-answer-content {
        padding: 15px;
        font-size: 14px;
    }
}
