/* =====================================================
   why.css – EduFlourish "Why Us" Page
   Depends on: style.css (global vars, base classes)
   ===================================================== */

/* ── HERO ── */
.why-hero {
    padding: 150px 0 90px;
    background: linear-gradient(135deg, var(--navy) 0%, #0e1a2f 60%, #071326 100%);
    position: relative;
    overflow: hidden;
}

.why-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -80px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(58,172,226,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.why-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 5%;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(245,197,24,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.why-hero-lead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 560px;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.why-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.why-pill {
    background: rgba(58,172,226,0.08);
    border: 1px solid rgba(58,172,226,0.22);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.32rem 0.9rem;
    border-radius: 30px;
    letter-spacing: 0.02em;
}

/* Hero stat stack */
.why-hero-stat-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 260px;
}

.why-hero-stat-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.4rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.why-stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.why-stat-num span { font-size: 1.1rem; }
.why-stat-num.blue { color: var(--blue); }
.why-stat-num.gold { color: var(--gold); }

.why-stat-label {
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* ── CAPABILITY TABLE ── */
.why-table-wrap {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2.5rem;
}

.why-table-header {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    background: rgba(58,172,226,0.08);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.8rem;
    gap: 1rem;
}

.why-table-header .why-table-col-a,
.why-table-header .why-table-col-b {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
}

.why-table-row {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 1.8rem;
    gap: 1rem;
    background: var(--navy-card);
    transition: background 0.2s;
    align-items: center;
}

.why-table-row:last-child { border-bottom: none; }
.why-table-row:hover { background: #f8f9fa; }

.why-table-col-a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.why-table-icon {
    font-size: 1rem;
    opacity: 0.8;
}

.why-table-col-b {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ── SERVICES ── */
.why-services-section {
    background: var(--navy-mid);
    padding: 90px 0;
}

.why-svc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem 2rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}

.why-svc-card:hover {
    border-color: rgba(58,172,226,0.35);
    transform: translateY(-5px);
}

.why-svc-card.featured {
    border-color: rgba(245,197,24,0.3);
    background: #16213a;
}

.why-svc-card.featured:hover {
    border-color: rgba(245,197,24,0.55);
}

.why-svc-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

.why-svc-accent.blue { background: var(--blue); }
.why-svc-accent.gold { background: var(--gold); }

.why-svc-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(58,172,226,0.06);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 0.4rem;
    position: absolute;
    top: 1.2rem; right: 1.5rem;
}

.why-svc-card.featured .why-svc-number {
    color: rgba(245,197,24,0.06);
}

.why-svc-icon {
    width: 46px; height: 46px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.why-svc-icon.blue { background: rgba(58,172,226,0.1); }
.why-svc-icon.gold { background: rgba(245,197,24,0.1); }

.why-svc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
    line-height: 1.35;
}

.why-svc-title span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    display: block;
    margin-top: 0.1rem;
}

.why-svc-lead {
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.75;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--border);
}

.why-svc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.why-svc-list li {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.6;
    padding: 0.4rem 0 0.4rem 1.4rem;
    position: relative;
    border-bottom: 1px solid rgba(58,172,226,0.06);
}

.why-svc-list li:last-child { border-bottom: none; }

.why-svc-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 0.78rem;
}

.why-svc-card.featured .why-svc-list li::before {
    color: var(--gold);
}

.why-svc-result {
    background: rgba(58,172,226,0.06);
    border-left: 3px solid var(--blue);
    border-radius: 0 4px 4px 0;
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
}

.why-svc-card.featured .why-svc-result {
    background: rgba(245,197,24,0.06);
    border-left-color: var(--gold);
}

.why-result-label {
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    display: block;
    margin-bottom: 0.25rem;
}

.why-svc-card.featured .why-result-label {
    color: var(--gold);
}

/* ── QUOTE BREAK ── */
.why-quote-section {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 90px 0;
}

.why-quote-mark {
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.25;
    line-height: 0.6;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
}

.why-quote-text {
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.why-quote-text em {
    font-style: normal;
    color: var(--gold);
}

.why-quote-attr {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .why-table-header,
    .why-table-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .why-table-col-b {
        padding-left: 1.6rem;
    }

    .why-table-header .why-table-col-b { display: none; }
}
