/* FAQ Page Styles */
.faq-content-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

/* Hero Section Centering */
.hero-section-common .hero-content {
    text-align: center;
}

.faq-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

.faq-accordion {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: #228B70;
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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


.faq-content {
    padding: 0 2rem 2rem 2rem;
    margin-top: 0.5rem;
}

.faq-content p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-content li {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.faq-content strong {
    color: #228B70;
    font-weight: 600;
}

/* Contact CTA */
.faq-contact-cta {
    margin-top: 4rem;
    text-align: center;
}

.faq-contact-cta .cta-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-contact-cta h3 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-contact-cta p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.faq-contact-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.faq-contact-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 139, 112, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-content-section {
        padding: 4rem 0;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
    }
    
    .faq-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-contact-cta .cta-content {
        padding: 2rem;
    }
    
    .faq-contact-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 0 1rem 1rem 1rem;
    }
    
    .faq-contact-cta .cta-content {
        padding: 1.5rem;
    }
}

/* Animation for smooth accordion */
.faq-answer.collapsing {
    transition: height 0.35s ease;
}

.faq-answer.collapse:not(.show) {
    display: none;
}

.faq-answer.collapse.show {
    display: block;
}

/* Ensure proper display for FAQ answers with smooth slide animations */
.faq-answer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: none;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.3s ease-in-out,
                padding 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    padding: 0;
}

.faq-answer.show {
    display: block;
}
