/* Page Banner Overlay */
.page-banner {
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.faq-section {
    padding: 60px 0; /* Reduced since breadcrumb already has padding */
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: white;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-blue);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: var(--transition);
}

.faq-question span {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    background: white;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
}

/* Active State */
.faq-item.active {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-question {
    background: var(--bg-light);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Large enough to fit content */
    padding-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question span {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
}

/* CTA Banner Styling (imported/copied for consistency) */
.cta-banner {
    background: linear-gradient(135deg, rgba(26, 59, 139, 0.95) 0%, rgba(233, 125, 46, 0.9) 100%), 
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc48?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 50px 0;
    color: white;
    text-align: center;
}

.cta-banner h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-banner p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-banner .btn {
    background: white;
    color: var(--primary-blue);
    padding: 14px 40px;
}

.cta-banner .btn:hover {
    background: var(--primary-orange);
    color: white;
}

@media (max-width: 768px) {
    .cta-banner h2 {
        font-size: 28px;
    }
    .cta-banner {
        padding: 60px 0;
    }
}
