@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ═══════════════════════════════════════════════════════
   WHY CHOOSE BFA SECTION
   Clean white, no dark theme, bulletproof against style.css
   Responsive: Mobile / Tablet / Desktop
═══════════════════════════════════════════════════════ */

/* ── Reset WP block interference ── */
.bfa-why-choose-section.wp-block-group,
.bfa-why-choose-section {
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    overflow: visible !important;
}

/* ── Outer wrapper ── */
.why-choose-section {
    background: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 80px 40px 90px !important;
    margin: 0 !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    font-family: 'Outfit', sans-serif !important;
}

/* Decorative large faint BFA text behind heading */
.why-choose-section::before {
    content: 'BFA' !important;
    position: absolute !important;
    top: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(100px, 16vw, 180px) !important;
    font-weight: 700 !important;
    color: rgba(79,95,224,0.04) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    user-select: none !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
    z-index: 0 !important;
}

/* ════════════════════════════════════════
   SECTION HEADER
════════════════════════════════════════ */
.wc-header {
    text-align: center !important;
    margin-bottom: 56px !important;
    position: relative !important;
    z-index: 1 !important;
    padding: 0 !important;
}

.wc-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #4f5fe0 !important;
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 99px !important;
    padding: 5px 16px !important;
    margin: 0 0 16px 0 !important;
}

.wc-eyebrow-dot {
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;
    border-radius: 50% !important;
    background: #4f5fe0 !important;
    flex-shrink: 0 !important;
    display: block !important;
    animation: wcDot 2s ease-in-out infinite !important;
}

@keyframes wcDot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Override shared .section-heading from subjects — scope to why-choose */
.why-choose-section .section-heading {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    background: none !important;
}

.why-choose-section .section-heading em {
    color: #f97316 !important;
    font-style: italic !important;
}

.wc-header-sub {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    color: #64748b !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    line-height: 1.65 !important;
    padding: 0 !important;
}

.wc-divider {
    width: 44px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #4f5fe0, #818cf8) !important;
    border-radius: 2px !important;
    margin: 18px auto 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* ════════════════════════════════════════
   GRID
════════════════════════════════════════ */
.why-choose-section .features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* ════════════════════════════════════════
   CARD
════════════════════════════════════════ */
.why-choose-section .feature-card {
    background: #ffffff !important;
    border: 1px solid #e8edf5 !important;
    border-radius: 18px !important;
    padding: 28px 24px !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: left !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04) !important;
    transition: transform 0.25s cubic-bezier(.22,.68,0,1.3),
                box-shadow 0.25s ease,
                border-color 0.2s !important;
    animation: wcCardIn 0.5s ease both !important;
}

.why-choose-section .feature-card:nth-child(1) { animation-delay: 0.05s !important; }
.why-choose-section .feature-card:nth-child(2) { animation-delay: 0.12s !important; }
.why-choose-section .feature-card:nth-child(3) { animation-delay: 0.19s !important; }
.why-choose-section .feature-card:nth-child(4) { animation-delay: 0.26s !important; }
.why-choose-section .feature-card:nth-child(5) { animation-delay: 0.33s !important; }
.why-choose-section .feature-card:nth-child(6) { animation-delay: 0.40s !important; }

@keyframes wcCardIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Left accent bar — slides in on hover */
.why-choose-section .feature-card::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 20% !important;
    height: 60% !important;
    width: 3px !important;
    border-radius: 0 3px 3px 0 !important;
    background: var(--wc-accent, linear-gradient(180deg, #4f5fe0, #818cf8)) !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

@media (hover: hover) {
    .why-choose-section .feature-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 14px 40px rgba(79,95,224,0.1) !important;
        border-color: var(--wc-hover-border, #c7d2fe) !important;
    }
    .why-choose-section .feature-card:hover::before {
        opacity: 1 !important;
    }
}

/* Per-card colour themes */
.why-choose-section .feature-card:nth-child(1) {
    --wc-accent: linear-gradient(180deg, #4f5fe0, #818cf8);
    --wc-hover-border: #c7d2fe;
}
.why-choose-section .feature-card:nth-child(2) {
    --wc-accent: linear-gradient(180deg, #f97316, #fb923c);
    --wc-hover-border: #fed7aa;
}
.why-choose-section .feature-card:nth-child(3) {
    --wc-accent: linear-gradient(180deg, #10b981, #34d399);
    --wc-hover-border: #a7f3d0;
}
.why-choose-section .feature-card:nth-child(4) {
    --wc-accent: linear-gradient(180deg, #0ea5e9, #38bdf8);
    --wc-hover-border: #bae6fd;
}
.why-choose-section .feature-card:nth-child(5) {
    --wc-accent: linear-gradient(180deg, #8b5cf6, #a78bfa);
    --wc-hover-border: #ddd6fe;
}
.why-choose-section .feature-card:nth-child(6) {
    --wc-accent: linear-gradient(180deg, #f43f5e, #fb7185);
    --wc-hover-border: #fecdd3;
}

/* ── Card number (faint background digit) ── */
.wc-num {
    position: absolute !important;
    top: 16px !important;
    right: 18px !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    color: rgba(0,0,0,0.045) !important;
    line-height: 1 !important;
    user-select: none !important;
    pointer-events: none !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── Icon box ── */
.why-choose-section .feature-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    font-size: 0 !important; /* hide any text/emoji fallback */
    background: #eef2ff !important;
}

.why-choose-section .feature-icon svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
}

/* Per-card icon backgrounds */
.why-choose-section .feature-card:nth-child(1) .feature-icon { background: #eef2ff !important; }
.why-choose-section .feature-card:nth-child(2) .feature-icon { background: #ffedd5 !important; }
.why-choose-section .feature-card:nth-child(3) .feature-icon { background: #d1fae5 !important; }
.why-choose-section .feature-card:nth-child(4) .feature-icon { background: #e0f2fe !important; }
.why-choose-section .feature-card:nth-child(5) .feature-icon { background: #ede9fe !important; }
.why-choose-section .feature-card:nth-child(6) .feature-icon { background: #fff1f2 !important; }

/* ── Card heading ── */
.why-choose-section .feature-card h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    letter-spacing: -0.01em !important;
    background: none !important;
    text-align: left !important;
}

/* ── Card description ── */
.why-choose-section .feature-card p {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.7 !important;
    letter-spacing: 0.01em !important;
    font-weight: 400 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    text-align: left !important;
}

/* ════════════════════════════════════════
   TABLET  640px – 1023px
════════════════════════════════════════ */
@media (max-width: 1023px) {
    .why-choose-section {
        padding: 60px 28px 72px !important;
    }
    .why-choose-section .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .wc-header {
        margin-bottom: 40px !important;
    }
}

/* ════════════════════════════════════════
   MOBILE  < 640px
════════════════════════════════════════ */
@media (max-width: 639px) {
    .why-choose-section {
        padding: 48px 16px 56px !important;
    }
    .why-choose-section .features-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .why-choose-section .section-heading {
        font-size: 1.85rem !important;
    }
    .wc-header {
        margin-bottom: 32px !important;
    }
    .why-choose-section .feature-card {
        padding: 22px 20px !important;
    }
    .wc-num {
        font-size: 34px !important;
    }
    /* Hide faint BFA text on mobile — too large */
    .why-choose-section::before {
        display: none !important;
    }
}