/* =========================================================
   SANKALPIT KHATAULI - EDUCATION PAGE
   This file styles ONLY the Education page.
   Existing header.html, footer.html and style.css are untouched.
   ========================================================= */

.education-page {
    --edu-blue: #003366;
    --edu-blue-dark: #002142;
    --edu-blue-light: #eaf3fb;
    --edu-orange: #ff9933;
    --edu-orange-light: #fff4e8;
    --edu-green: #15803d;
    --edu-green-light: #ecfdf3;
    --edu-text: #243447;
    --edu-muted: #64748b;
    --edu-bg: #f8fafc;
    --edu-white: #ffffff;
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
    color: var(--edu-text);
    background: var(--edu-bg);
    overflow: hidden;
}

.education-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* ---------- Hero ---------- */

.education-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 25%, rgba(255, 153, 51, 0.20), transparent 30%),
        radial-gradient(circle at 88% 70%, rgba(255, 255, 255, 0.10), transparent 28%),
        linear-gradient(135deg, #002142 0%, #003f75 52%, #00528f 100%);
    color: #fff;
}

.education-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to right, black, transparent 90%);
}

.education-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 72px 0;
}

.education-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 17px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.education-badge i {
    color: var(--edu-orange);
}

.education-hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1px;
}

.education-hero-title {
    max-width: 850px;
    margin: 18px auto 0;
    color: #ffb566;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.5;
    font-weight: 700;
}

.education-hero-intro {
    max-width: 760px;
    margin: 17px auto 0;
    color: rgba(255,255,255,.86);
    font-size: 16px;
    line-height: 1.9;
}

.education-hero-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.education-hero-line span {
    display: block;
    width: 62px;
    height: 1px;
    background: rgba(255,255,255,.45);
}

.education-hero-line i {
    color: var(--edu-orange);
}

/* ---------- Common Section ---------- */

.education-section {
    padding: 82px 0;
}

.education-section-heading {
    margin-bottom: 42px;
}

.education-section-heading.centered {
    text-align: center;
}

.education-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--edu-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
}

.education-section-heading h2 {
    margin: 0;
    color: var(--edu-blue);
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.35;
    font-weight: 800;
}

.education-section-heading p {
    max-width: 720px;
    margin: 14px auto 0;
    color: var(--edu-muted);
    font-size: 16px;
    line-height: 1.8;
}

.education-heading-line {
    width: 74px;
    height: 4px;
    margin-top: 15px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--edu-blue), var(--edu-orange));
}

.centered .education-heading-line {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Introduction ---------- */

.education-introduction {
    background: #fff;
}

.education-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.education-intro-card {
    position: relative;
    padding: 34px 34px 32px;
    border: 1px solid #e4eaf0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 51, 102, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.education-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 51, 102, .11);
}

.education-intro-highlight {
    border-top: 4px solid var(--edu-orange);
}

.education-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--edu-blue-light);
    color: var(--edu-blue);
    font-size: 23px;
}

.education-intro-highlight .education-icon {
    background: var(--edu-orange-light);
    color: #d97706;
}

.education-intro-card p {
    margin: 0;
    font-size: 16px;
    line-height: 2;
    color: #475569;
}

/* ---------- Goals ---------- */

.education-goals {
    background:
        linear-gradient(180deg, #f8fafc 0%, #f1f6fa 100%);
}

.education-goals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.education-goal-card {
    position: relative;
    min-height: 220px;
    padding: 28px 25px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .045);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.education-goal-card::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--edu-blue-light);
}

.education-goal-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 51, 102, .25);
    box-shadow: 0 16px 34px rgba(0, 51, 102, .10);
}

.goal-number {
    position: absolute;
    top: 17px;
    right: 20px;
    color: #cbd5e1;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}

.goal-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
    border-radius: 13px;
    background: var(--edu-blue-light);
    color: var(--edu-blue);
    font-size: 20px;
}

.education-goal-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 600;
}

/* ---------- Education for Everyone ---------- */

.education-everyone {
    background: #fff;
}

.education-everyone-box {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 55px;
    align-items: center;
    padding: 54px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 10% 20%, rgba(255,153,51,.13), transparent 30%),
        linear-gradient(135deg, #eef6fd, #fff);
    border: 1px solid #dbe8f2;
}

.everyone-visual {
    position: relative;
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.everyone-circle {
    width: 190px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 67px;
    background: linear-gradient(135deg, #003366, #0069ad);
    border: 9px solid rgba(255,255,255,.75);
    box-shadow: 0 18px 45px rgba(0,51,102,.20);
}

.everyone-small-circle {
    position: absolute;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--edu-orange);
    border: 2px solid #ffe1c0;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.circle-one { top: 17px; left: 38px; }
.circle-two { right: 25px; top: 74px; }
.circle-three { left: 30px; bottom: 26px; }

.everyone-content h2 {
    margin: 0 0 16px;
    color: var(--edu-blue);
    font-size: clamp(28px, 4vw, 39px);
    font-weight: 800;
    line-height: 1.35;
}

.everyone-content p {
    margin: 0 0 15px;
    color: #526173;
    font-size: 16px;
    line-height: 1.95;
}

.everyone-content p:last-child {
    margin-bottom: 0;
}

/* ---------- Sankalp ---------- */

.education-sankalp {
    background: #f8fafc;
}

.sankalp-lead {
    max-width: 680px;
    margin: 0 auto 30px;
    text-align: center;
    color: #526173;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 600;
}

.sankalp-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.sankalp-point {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 74px;
    padding: 15px 20px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
}

.sankalp-point span {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--edu-green-light);
    color: var(--edu-green);
}

.sankalp-point strong {
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
}

.education-impact {
    max-width: 920px;
    margin: 35px auto 0;
}

.impact-quote {
    position: relative;
    padding: 30px 35px 30px 65px;
    border-radius: 17px;
    background: linear-gradient(135deg, #fff8ef, #fff);
    border-left: 5px solid var(--edu-orange);
}

.impact-quote > i {
    position: absolute;
    left: 25px;
    top: 30px;
    color: #f6c894;
    font-size: 25px;
}

.impact-quote p {
    margin: 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.9;
    font-weight: 600;
}

/* ---------- Journey ---------- */

.education-journey {
    padding: 0 0 82px;
    background: #f8fafc;
}

.journey-card {
    padding: 48px 45px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #002142, #003f75);
    box-shadow: 0 20px 45px rgba(0, 33, 66, .16);
}

.journey-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 36px;
    text-align: center;
}

.journey-title i {
    color: var(--edu-orange);
    font-size: 25px;
}

.journey-title h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 31px);
    font-weight: 800;
}

.journey-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
}

.journey-step {
    min-width: 155px;
    text-align: center;
}

.journey-step span {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 11px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    color: var(--edu-orange);
    font-size: 12px;
    font-weight: 800;
}

.journey-step strong {
    display: block;
    color: #fff;
    font-size: 16px;
}

.journey-arrow {
    color: rgba(255,255,255,.45);
    font-size: 18px;
}

.journey-footer {
    margin: 35px 0 0;
    text-align: center;
    color: rgba(255,255,255,.78);
    font-size: 15px;
}

/* ---------- Closing ---------- */

.education-closing {
    position: relative;
    padding: 75px 0;
    text-align: center;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.closing-content {
    max-width: 700px;
    margin: 0 auto;
}

.closing-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: var(--edu-orange-light);
    color: var(--edu-orange);
    font-size: 25px;
}

.closing-content h2 {
    margin: 0;
    color: var(--edu-blue);
    font-size: 32px;
    font-weight: 800;
}

.closing-content p {
    margin: 9px 0 16px;
    color: #64748b;
    font-size: 16px;
}

.closing-leader {
    display: inline-block;
    padding: 8px 19px;
    border-radius: 999px;
    background: var(--edu-blue-light);
    color: var(--edu-blue);
    font-size: 14px;
    font-weight: 800;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .education-goals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .education-everyone-box {
        grid-template-columns: 250px 1fr;
        gap: 30px;
        padding: 38px;
    }

    .everyone-circle {
        width: 160px;
        height: 160px;
        font-size: 52px;
    }

    .journey-flow {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .education-container {
        width: min(100% - 24px, 680px);
    }

    .education-hero {
        min-height: 390px;
    }

    .education-hero-content {
        padding: 55px 0;
    }

    .education-hero-intro {
        font-size: 15px;
        line-height: 1.8;
    }

    .education-section {
        padding: 60px 0;
    }

    .education-intro-grid,
    .education-goals-grid,
    .sankalp-points {
        grid-template-columns: 1fr;
    }

    .education-intro-card {
        padding: 27px 23px;
    }

    .education-goal-card {
        min-height: auto;
    }

    .education-everyone-box {
        grid-template-columns: 1fr;
        padding: 30px 22px;
    }

    .everyone-visual {
        min-height: 235px;
    }

    .journey-card {
        padding: 35px 20px;
    }

    .journey-flow {
        flex-direction: column;
        gap: 13px;
    }

    .journey-arrow {
        transform: rotate(90deg);
    }

    .journey-step {
        min-width: 0;
    }

    .impact-quote {
        padding: 25px 22px 25px 55px;
    }

    .impact-quote > i {
        left: 19px;
        top: 25px;
    }

    .education-closing {
        padding: 60px 0;
    }
}

@media (max-width: 420px) {
    .education-hero h1 {
        font-size: 42px;
    }

    .education-hero-title {
        font-size: 19px;
    }

    .education-badge {
        font-size: 12px;
    }

    .education-section-heading h2,
    .everyone-content h2 {
        font-size: 27px;
    }

    .sankalp-point {
        align-items: flex-start;
    }

    .sankalp-point span {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .closing-content h2 {
        font-size: 28px;
    }
}
