/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*body {*/
/*    font-family: 'Arial', sans-serif;*/
/*    line-height: 1.6;*/
/*    padding: 20px;*/
/*    background: #f5f5f5;*/
/*}*/

/*.faq-container {*/
/*    max-width: 800px;*/
/*    margin: 0 auto;*/
/*    background: white;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
/*    padding: 30px;*/
/*}*/

.faq-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.toggle-icon {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}



/* Active state */
/*.faq-item.active .faq-question {*/
/*    background: #e6f7ff;*/
/*}*/

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust based on your content */
    padding: 0 20px;
}

/* Accessibility focus styles */
.faq-question:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.faq-item.active .faq-question {
    background: #DEB53A;
    color: #fff;
}
.faq-item.active .faq-question h3 {
    color: #fff;
}
.faq-question {
    padding: 10px;
    background: #fafafa;
}
.faq-item.active .faq-answer {
    padding: 15px;
}