/* FAQ Tailwind Enhancement Styles */

.faq-item {
    /* Ensure smooth transitions */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.faq-answer {
    /* Smooth height transitions */
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better max height for longer content */
.faq-answer.max-h-96 {
    max-height: 30rem; /* Increased from 24rem to 30rem */
}

/* Smooth color transitions for FAQ items */
.faq-item h3,
.faq-item p,
.faq-item svg {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better responsive behavior */
@media (max-width: 768px) {
    .faq-item .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .faq-item .faq-question {
        padding: 1rem;
    }
    
    .faq-answer > div {
        padding: 0 1rem 1.5rem 1rem;
    }
}

/* Improve text readability */
.faq-answer p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Arrow animation enhancement */
.faq-arrow svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom color definitions for consistency */
.bg-closed {
    background-color: #E2F3FD;
}

.bg-open {
    background-color: #374BA3;
}

/* Remove old FAQ styles completely */
.faq-section .faq-container,
.faq-section .faq-list,
.faq-section .faq-item,
.faq-section .faq-question,
.faq-section .faq-answer,
.faq-section .faq-arrow {
    all: unset;
}
