﻿:root {
    --edu-maroon: #7A1F2B;
    --edu-maroon-dark: #56151D;
    --edu-gold: #D9A441;
    --edu-gold-light: #F2D99F;
    --edu-green: #315538;
    --edu-ivory: #F8F3E7;
    --edu-white: #FFFDF9;
    --edu-text: #2C211D;
    --edu-muted: #66564E;
    --edu-border: #E4D7C0;
}


/* ================= GLOBAL ================= */

.education-page {
    margin: 0;
    padding: 0;
    background: var(--edu-ivory);
    color: var(--edu-text);
    font-family: "Mukta", Arial, sans-serif;
    line-height: 1.7;
}

    .education-page *,
    .education-page *::before,
    .education-page *::after {
        box-sizing: border-box;
    }

    .education-page h1,
    .education-page h2,
    .education-page h3,
    .education-page h4 {
        margin: 0;
        line-height: 1.25;
    }

    .education-page p {
        margin: 0;
    }

.section-space {
    padding: 90px 7%;
}

.section-title {
    max-width: 720px;
}

    .section-title > span,
    .world-heading > span,
    .government-heading > span {
        color: var(--edu-green);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 3px;
    }

    .section-title h2,
    .world-heading h2,
    .government-heading h2 {
        margin-top: 10px;
        color: var(--edu-maroon-dark);
        font-size: clamp(30px, 4vw, 48px);
    }

        .section-title h2 strong,
        .world-heading h2 strong,
        .government-heading h2 strong {
            color: var(--edu-gold);
        }

    .section-title p {
        margin-top: 18px;
        color: var(--edu-muted);
    }

.center-title {
    margin: 0 auto 50px;
    text-align: center;
}


/* ================= HERO ================= */

.education-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(217,164,65,.25), transparent 30%), radial-gradient(circle at 90% 70%, rgba(49,85,56,.28), transparent 35%), linear-gradient(135deg, var(--edu-maroon-dark), var(--edu-maroon));
}

.education-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg, rgba(255,255,255,.025) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.025) 75%);
    background-size: 60px 60px;
}

.education-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: auto;
    padding: 100px 7%;
    color: white;
}

.education-badge {
    display: inline-block;
    padding: 7px 15px;
    border: 1px solid rgba(242,217,159,.6);
    border-radius: 50px;
    color: var(--edu-gold-light);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.education-hero h1 {
    max-width: 760px;
    margin-top: 25px;
    font-family: "Yatra One", serif;
    font-size: clamp(44px, 7vw, 78px);
    font-weight: 400;
    color: white;
}

    .education-hero h1 span {
        display: block;
        color: var(--edu-gold);
    }

.education-hero-content > p {
    max-width: 650px;
    margin-top: 22px;
    color: #F2E9DA;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.edu-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: .25s ease;
}

.primary-btn {
    background: var(--edu-gold);
    color: var(--edu-maroon-dark);
}

    .primary-btn:hover {
        transform: translateY(-3px);
        background: var(--edu-gold-light);
    }

.outline-btn {
    color: white;
    border: 1px solid rgba(255,255,255,.5);
}

    .outline-btn:hover {
        background: rgba(255,255,255,.1);
    }

.hero-floating-card {
    position: absolute;
    z-index: 3;
    right: 8%;
    bottom: 55px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: rgba(255,255,255,.95);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.floating-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--edu-maroon);
    color: var(--edu-gold);
}

.hero-floating-card strong {
    display: block;
    color: var(--edu-maroon-dark);
}

.hero-floating-card small {
    color: var(--edu-muted);
}


/* ================= FEATURE CARDS ================= */

.education-feature-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.education-feature-card {
    position: relative;
    padding: 30px 25px;
    background: var(--edu-white);
    border: 1px solid var(--edu-border);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(86,21,29,.07);
    transition: .3s ease;
}

    .education-feature-card:hover {
        transform: translateY(-8px);
        border-color: var(--edu-gold);
    }

.feature-number {
    position: absolute;
    right: 18px;
    top: 15px;
    color: #E9DFCD;
    font-size: 35px;
    font-weight: 900;
}

.feature-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #F5E8C9;
    font-size: 24px;
}

.education-feature-card h3 {
    margin-top: 20px;
    color: var(--edu-maroon);
    font-size: 21px;
}

.education-feature-card p {
    margin-top: 10px;
    color: var(--edu-muted);
    font-size: 14px;
}


/* ================= ROADMAP ================= */

.roadmap-section {
    background: var(--edu-white);
}

.roadmap-wrapper {
    max-width: 1100px;
    margin: auto;
}

.education-roadmap {
    position: relative;
    margin-top: 55px;
}

    .education-roadmap::before {
        content: "";
        position: absolute;
        left: 30px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient( var(--edu-gold), var(--edu-maroon), var(--edu-green) );
    }

.roadmap-item {
    position: relative;
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 25px;
    margin-bottom: 35px;
}

.roadmap-circle {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--edu-maroon);
    border: 5px solid var(--edu-ivory);
    color: var(--edu-gold-light);
    font-weight: 900;
    box-shadow: 0 0 0 2px var(--edu-gold);
}

.roadmap-content {
    padding: 25px 28px;
    border: 1px solid var(--edu-border);
    border-radius: 12px;
    background: var(--edu-ivory);
    transition: .3s ease;
}

    .roadmap-content:hover {
        transform: translateX(6px);
        border-color: var(--edu-gold);
    }

    .roadmap-content > span {
        color: var(--edu-green);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 2px;
    }

    .roadmap-content h3 {
        margin-top: 6px;
        color: var(--edu-maroon);
    }

    .roadmap-content p {
        margin-top: 8px;
        color: var(--edu-muted);
    }


/* ================= SMART CLASS ================= */

.smart-learning {
    background: radial-gradient(circle at 10% 10%, rgba(217,164,65,.18), transparent 30%), linear-gradient(135deg, #EEE5D5, var(--edu-ivory));
}

.smart-container {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.section-label {
    color: var(--edu-green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.smart-content h2 {
    margin-top: 12px;
    color: var(--edu-maroon-dark);
    font-size: clamp(32px, 4vw, 50px);
}

    .smart-content h2 strong {
        color: var(--edu-gold);
    }

.smart-intro {
    margin-top: 20px;
    color: var(--edu-muted);
}

.smart-points {
    margin-top: 28px;
}

.smart-point {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

    .smart-point > span {
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--edu-green);
        color: white;
    }

    .smart-point h4 {
        color: var(--edu-maroon);
    }

    .smart-point p {
        margin-top: 3px;
        color: var(--edu-muted);
        font-size: 14px;
    }


/* SMART VISUAL */

.smart-visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smart-screen {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    border: 8px solid var(--edu-maroon-dark);
    border-radius: 18px;
    background: #1C2722;
    box-shadow: 0 30px 60px rgba(86,21,29,.3);
}

.screen-top {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--edu-maroon);
    color: var(--edu-gold-light);
    font-size: 10px;
    letter-spacing: 1px;
}

.screen-content {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 30px;
}

.screen-icon {
    font-size: 55px;
    color: var(--edu-gold);
}

.screen-content h3 {
    margin-top: 15px;
    color: white;
    font-size: 32px;
}

    .screen-content h3 span {
        display: block;
        color: var(--edu-gold);
    }

.screen-content p {
    margin-top: 8px;
    color: #C7D1CA;
}

.smart-orbit {
    position: absolute;
    border: 1px solid rgba(122,31,43,.25);
    border-radius: 50%;
}

.orbit-one {
    width: 380px;
    height: 380px;
}

.orbit-two {
    width: 500px;
    height: 230px;
    transform: rotate(-25deg);
}


/* ================= WORLD ================= */

.world-container {
    max-width: 1150px;
    margin: auto;
}

.world-heading {
    max-width: 780px;
}

    .world-heading p,
    .government-heading p {
        margin-top: 18px;
        color: var(--edu-muted);
    }

.world-cards {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.world-card {
    padding: 32px;
    background: var(--edu-white);
    border: 1px solid var(--edu-border);
    border-radius: 14px;
    transition: .3s ease;
}

    .world-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 20px 40px rgba(86,21,29,.1);
        border-color: var(--edu-gold);
    }

.world-card-icon {
    font-size: 35px;
}

.world-card h3 {
    margin-top: 15px;
    color: var(--edu-maroon);
}

.world-card p {
    margin-top: 8px;
    color: var(--edu-muted);
    font-size: 14px;
}


/* ================= GOVERNMENT ================= */

.government-section {
    background: var(--edu-maroon-dark);
}

.government-heading {
    max-width: 800px;
}

    .government-heading > span {
        color: var(--edu-gold-light);
    }

    .government-heading h2 {
        color: white;
    }

    .government-heading p {
        color: #E7DDD0;
    }

.government-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.government-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(242,217,159,.2);
    border-radius: 13px;
    background: rgba(255,255,255,.055);
    transition: .3s ease;
}

    .government-card:hover {
        transform: translateY(-7px);
        background: rgba(255,255,255,.09);
        border-color: var(--edu-gold);
    }

.gov-icon {
    font-size: 32px;
}

.government-card h3 {
    margin-top: 15px;
    color: var(--edu-gold-light);
}

.government-card p {
    margin-top: 10px;
    color: #DDD3C7;
    font-size: 14px;
}

.gov-line {
    display: block;
    width: 35px;
    height: 3px;
    margin-top: 20px;
    background: var(--edu-gold);
}


/* ================= BEYOND ================= */

.beyond-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.beyond-card {
    padding: 30px;
    background: var(--edu-white);
    border: 1px solid var(--edu-border);
    border-radius: 13px;
    transition: .3s ease;
}

    .beyond-card:hover {
        transform: translateY(-6px);
        border-color: var(--edu-gold);
    }

    .beyond-card > span {
        color: var(--edu-gold);
        font-weight: 900;
        font-size: 14px;
    }

    .beyond-card h3 {
        margin-top: 18px;
        color: var(--edu-maroon);
    }

    .beyond-card p {
        margin-top: 8px;
        color: var(--edu-muted);
        font-size: 14px;
    }


/* ================= CTA ================= */

.education-cta {
    padding: 100px 7%;
    background: radial-gradient(circle at 50% 0, rgba(217,164,65,.2), transparent 40%), var(--edu-maroon);
}

.cta-inner {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.cta-symbol {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid var(--edu-gold);
    border-radius: 50%;
    color: var(--edu-gold);
    font-size: 25px;
}

.cta-inner > span {
    color: var(--edu-gold-light);
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 800;
}

.cta-inner h2 {
    margin-top: 15px;
    color: white;
    font-family: "Yatra One", serif;
    font-size: clamp(35px, 5vw, 60px);
}

    .cta-inner h2 strong {
        color: var(--edu-gold);
    }

.cta-inner p {
    max-width: 650px;
    margin: 18px auto 0;
    color: #E9DFD1;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {

    .education-feature-grid,
    .government-grid,
    .beyond-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-floating-card {
        right: 5%;
    }

    .smart-container {
        grid-template-columns: 1fr;
    }

    .smart-content {
        max-width: 800px;
    }

    .world-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    .section-space {
        padding: 65px 5%;
    }

    .education-hero {
        min-height: 650px;
    }

    .education-hero-content {
        padding: 80px 5%;
    }

    .education-hero h1 {
        font-size: 46px;
    }

    .hero-floating-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -100px 5% 30px;
    }

    .education-feature-grid,
    .government-grid,
    .beyond-grid,
    .world-cards {
        grid-template-columns: 1fr;
    }

    .education-roadmap::before {
        left: 25px;
    }

    .roadmap-item {
        grid-template-columns: 52px 1fr;
        gap: 15px;
    }

    .roadmap-circle {
        width: 52px;
        height: 52px;
        font-size: 12px;
    }

    .roadmap-content {
        padding: 20px;
    }

    .smart-visual {
        min-height: 320px;
    }

    .smart-screen {
        max-width: 100%;
    }

    .orbit-one,
    .orbit-two {
        display: none;
    }
}


@media (max-width: 480px) {

    .education-hero h1 {
        font-size: 39px;
    }

    .education-hero-content > p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .edu-btn {
        text-align: center;
    }

    .hero-floating-card {
        margin-top: -70px;
    }

    .screen-content {
        min-height: 220px;
    }

        .screen-content h3 {
            font-size: 25px;
        }
}
