/* FAQ Accordion Styles */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question.active {
    background-color: #46b3e6;
    color: white;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: #46b3e6;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
    padding: 0 20px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #666;
    font-size: 1rem;
}

/* Animation for smooth expand/collapse */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer.active p {
    animation: fadeIn 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 15px;
    }
    
    .faq-icon {
        font-size: 1rem;
    }
}

/* Custom scrollbar for long answers */
.faq-answer::-webkit-scrollbar {
    width: 6px;
}

.faq-answer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.faq-answer::-webkit-scrollbar-thumb {
    background: #46b3e6;
    border-radius: 3px;
}

.faq-answer::-webkit-scrollbar-thumb:hover {
    background: #1c3e5f;
} 