/* =========================================
   FAQ SECTION - PREMIUM DARK REFINE
   Purple Background & Yellow Title Banner
   ========================================= */

/* FAQ Section Container */
.faq-section {
    background-color: var(--color-primary, #1E0B4D) !important;
    /* Force Deep Navy Purple */
    background-image: radial-gradient(circle at 100% 0%, rgba(74, 13, 115, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(253, 183, 26, 0.05) 0%, transparent 40%);
    padding: var(--space-4) 0 0 0;
    /* Tightened top space significantly */
    position: relative;
    overflow: hidden;
    margin-top: -2px;
}

/* Decorative background glow */
.faq-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 183, 26, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Yellow Banner for FAQ Header */
.faq-header-banner {
    background-color: var(--color-gold, #FDB71A) !important;
    padding: var(--space-10) var(--space-8);
    border-radius: 40px;
    text-align: center;
    margin-bottom: var(--space-12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* Subtle Premium Shine Effect */
.faq-header-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 30%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 70%,
            transparent 100%);
    transform: skewX(-25deg);
    animation: bannerShine 8s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes bannerShine {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.faq-header-banner .section-label {
    color: var(--color-primary) !important;
    opacity: 0.9;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: var(--space-2);
}

.faq-header-banner .section-title {
    color: var(--color-primary) !important;
    margin-bottom: var(--space-4);
    font-size: var(--text-4xl);
    font-weight: 800;
}

.faq-header-banner .section-description {
    color: var(--color-primary) !important;
    font-size: 1.2rem;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.faq-header-banner a {
    color: var(--color-primary) !important;
    text-decoration: underline;
    font-weight: 800;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

/* FAQ Item - High-End Dark Glassmorphism */
.faq-item {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(253, 183, 26, 0.2) !important;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--color-gold, #FDB71A) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-6);
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question-text {
    font-family: var(--font-heading, 'Hind', sans-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white, #FFFFFF) !important;
    line-height: 1.3;
}

/* Custom Gold Circle Icon */
.faq-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold, #FDB71A) 0%, #FFD700 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(253, 183, 26, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon-svg {
    width: 16px;
    height: 16px;
    stroke-width: 4px;
    color: var(--color-primary, #1E0B4D);
}

/* Active State */
.faq-question[aria-expanded="true"] {
    background-color: rgba(253, 183, 26, 0.1);
}

.faq-question[aria-expanded="true"] .faq-icon {
    background: var(--color-white) !important;
    transform: rotate(45deg);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

.faq-question[aria-expanded="true"] .faq-icon-svg {
    color: var(--color-primary) !important;
}

.faq-question[aria-expanded="true"] .faq-question-text {
    color: var(--color-gold, #FDB71A) !important;
}

/* FAQ Answer - Smooth Reveal */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-answer.active {
    max-height: 600px;
    opacity: 1;
}

.faq-answer-content {
    padding: 0 var(--space-6) var(--space-8) var(--space-6);
}

.faq-answer-content p {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-200, #E5E7EB) !important;
    margin-bottom: var(--space-4);
    /* Added spacing between paragraphs */
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
    /* Remove margin from last paragraph */
}

.faq-answer-cta {
    text-align: center;
    margin-top: var(--space-6);
    display: flex;
    justify-content: center;
}

/* FAQ CTA - Removed */
.faq-cta {
    display: none;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: var(--space-6) 0 var(--space-12) 0;
    }

    .faq-header-banner {
        border-radius: 30px;
        padding: var(--space-8) var(--space-6);
    }

    .faq-header-banner .section-title {
        font-size: var(--text-3xl);
    }

    .faq-question-text {
        font-size: 1.1rem;
    }
}

/* Fade-In Animation */
@keyframes faqItemFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    opacity: 0;
    animation: faqItemFade 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}