
/* =====================================================
   FAQ SECTION - UNIFIED CARD DESIGN
   ===================================================== */
.faq-section {
    background-color: transparent; /* Inherits dark gradient from index.html */
    position: relative;
    z-index: 1;
}

.faq-card {
    background: #fff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.faq-header {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.faq-btn {
    width: 100%;
    text-align: left;
    padding: 25px 30px;
    font-weight: 700;
    color: #2d3748; /* Darker, more legible */
    text-decoration: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-btn:hover, .faq-btn:focus {
    color: var(--primary);
    background-color: rgba(21, 93, 252, 0.02);
    outline: none;
}

/* Active State Styles */
.faq-btn[aria-expanded="true"] {
    color: var(--primary);
    background: rgba(21, 93, 252, 0.04);
    border-bottom: 1px solid rgba(21, 93, 252, 0.08);
}

.faq-icon {
    font-size: 0.9rem;
    color: #a0aec0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf2f7;
    border-radius: 50%;
    margin-left: 20px;
}

.faq-btn:hover .faq-icon {
    background: rgba(21, 93, 252, 0.1);
    color: var(--primary);
}

.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(21, 93, 252, 0.3);
}

.faq-body {
    background: #fff; /* Ensures white background */
    padding: 30px;
    color: #4a5568; /* Elegant muted text */
    line-height: 1.8;
    font-size: 1rem;
    border: none;
    box-shadow: none;
    margin: 0;
    border-radius: 0;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-btn {
        padding: 20px;
        font-size: 1rem;
    }
    .faq-body {
        padding: 20px;
        font-size: 0.95rem;
    }
}
