/* =========================================================
   VIDYAKUL — HOMEPAGE STYLES
   assets/css/home.css
   ========================================================= */

:root {
    --navy: #071a3d;
    --navy-2: #0d2859;
    --blue: #1769ff;
    --blue-2: #4f8cff;
    --gold: #f5b942;
    --gold-light: #fff4d6;

    --text: #12213f;
    --muted: #667085;
    --white: #ffffff;
    --light: #f6f8fc;
    --border: #e6eaf1;

    --success: #159957;
    --danger: #ef4444;

    --radius: 18px;
    --shadow: 0 14px 40px rgba(7, 26, 61, 0.08);
    --shadow-lg: 0 24px 60px rgba(7, 26, 61, 0.14);

    --container: 1180px;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(230, 234, 241, 0.8);
}

.nav-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--navy);
}

.brand-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: white;
    background: linear-gradient(135deg, var(--blue), var(--navy));

    box-shadow: 0 8px 20px rgba(23, 105, 255, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #44516b;
    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 19px;

    border-radius: 11px;
    border: 1px solid transparent;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: var(--blue);

    box-shadow: 0 8px 20px rgba(23, 105, 255, 0.22);
}

.btn-primary:hover {
    background: #0759e9;
    box-shadow: 0 12px 26px rgba(23, 105, 255, 0.3);
}

.btn-light {
    color: var(--navy);
    background: white;
    border-color: #dfe5ef;
}

.btn-light:hover {
    border-color: #cbd4e2;
    box-shadow: 0 8px 22px rgba(7, 26, 61, 0.08);
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

.menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: white;
    color: var(--navy);

    font-size: 21px;
}

.mobile-menu {
    display: none;

    padding: 15px 0 20px;

    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;

    padding: 11px 0;

    font-size: 15px;
    font-weight: 600;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 82px 0 70px;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(23, 105, 255, 0.11),
            transparent 30%
        ),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;

    border-radius: 999px;

    background: #edf4ff;
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hero-content h1 {
    margin-top: 20px;

    max-width: 680px;

    color: var(--navy);

    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.03;
    letter-spacing: -2.8px;
    font-weight: 850;
}

.hero-content h1 span {
    color: var(--blue);
}

.hero-description {
    max-width: 620px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 30px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 25px;

    color: #5c6880;
    font-size: 13px;
    font-weight: 600;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-trust span::before {
    content: "✓";

    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #e9f8f0;
    color: var(--success);

    font-size: 11px;
    font-weight: 900;
}

/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;

    padding: 12px;

    border-radius: 30px;

    background: linear-gradient(
        145deg,
        rgba(23, 105, 255, 0.18),
        rgba(245, 185, 66, 0.15)
    );

    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;

    border-radius: 22px;
}

.hero-floating-card {
    position: absolute;

    left: -28px;
    bottom: 35px;

    min-width: 185px;

    padding: 15px 17px;

    border-radius: 15px;

    background: white;

    box-shadow: 0 18px 40px rgba(7, 26, 61, 0.17);
}

.hero-floating-card strong {
    display: block;

    color: var(--navy);

    font-size: 22px;
}

.hero-floating-card span {
    color: var(--muted);
    font-size: 12px;
}

/* =========================================================
   STATS
   ========================================================= */

.stats {
    position: relative;
    z-index: 5;

    margin-top: -25px;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    padding: 26px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: white;

    box-shadow: var(--shadow);
}

.stat {
    padding: 0 22px;

    text-align: center;

    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;

    color: var(--navy);

    font-size: 27px;
    line-height: 1.2;
}

.stat span {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 13px;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 95px 0;
}

.section-heading {
    max-width: 720px;

    margin: 0 auto 48px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading h2 {
    color: var(--navy);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.section-heading p {
    margin-top: 13px;

    color: var(--muted);

    font-size: 15px;
}

/* =========================================================
   LEARNING PATH
   ========================================================= */

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.path-card {
    position: relative;
    overflow: hidden;

    min-height: 190px;

    padding: 24px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: white;

    box-shadow: 0 7px 24px rgba(7, 26, 61, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.path-card::after {
    content: "";

    position: absolute;

    width: 110px;
    height: 110px;

    right: -40px;
    bottom: -40px;

    border-radius: 50%;

    background: rgba(23, 105, 255, 0.07);
}

.path-card:hover {
    transform: translateY(-5px);

    border-color: rgba(23, 105, 255, 0.2);

    box-shadow: var(--shadow);
}

.path-card-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 13px;

    background: #edf4ff;
    color: var(--blue);

    font-size: 20px;
    font-weight: 800;
}

.path-card h3 {
    color: var(--navy);

    font-size: 17px;
}

.path-card p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 13px;
}

/* =========================================================
   BATCH CARDS
   ========================================================= */

.batch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.batch-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: white;

    box-shadow: 0 8px 30px rgba(7, 26, 61, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.batch-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-lg);
}

.batch-image {
    position: relative;

    height: 205px;

    overflow: hidden;

    background: #dfe8f8;
}

.batch-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.batch-card:hover .batch-image img {
    transform: scale(1.05);
}

.batch-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(7, 26, 61, 0.05),
            rgba(7, 26, 61, 0.78)
        );
}

.batch-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.93);

    color: var(--navy);

    font-size: 11px;
    font-weight: 800;
}

.batch-image-title {
    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 16px;

    color: white;

    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
}

.batch-content {
    padding: 21px;
}

.batch-content h3 {
    color: var(--navy);

    font-size: 19px;
    line-height: 1.25;
}

.batch-content p {
    display: -webkit-box;
    overflow: hidden;

    margin-top: 8px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.batch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 15px;
}

.batch-tags span {
    padding: 5px 9px;

    border-radius: 7px;

    background: #f2f5fa;

    color: #536078;

    font-size: 11px;
    font-weight: 700;
}

.batch-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 20px;
    padding-top: 17px;

    border-top: 1px solid var(--border);
}

.batch-price strong {
    display: block;

    color: var(--navy);

    font-size: 21px;
}

.batch-price del {
    color: #929caf;

    font-size: 12px;
}

.batch-discount {
    display: inline-block;

    margin-left: 5px;

    color: var(--success);

    font-size: 11px;
    font-weight: 800;
}

.batch-bottom .btn {
    min-height: 40px;
    padding: 0 15px;
}

/* =========================================================
   FEATURES
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: white;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 14px;

    background: #edf4ff;
    color: var(--blue);

    font-size: 21px;
}

.feature-card h3 {
    color: var(--navy);

    font-size: 18px;
}

.feature-card p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   EXPERIENCE
   ========================================================= */

.experience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.experience-image {
    overflow: hidden;

    border-radius: 25px;

    box-shadow: var(--shadow-lg);
}

.experience-image img {
    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.experience-copy h2 {
    color: var(--navy);

    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.experience-copy > p {
    margin-top: 15px;

    color: var(--muted);

    font-size: 15px;
}

.check-list {
    display: grid;
    gap: 13px;

    margin-top: 25px;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    color: #43506a;

    font-size: 14px;
}

.check-circle {
    flex: 0 0 auto;

    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #e9f8f0;
    color: var(--success);

    font-size: 11px;
    font-weight: 900;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    position: relative;
}

.steps::before {
    content: "";

    position: absolute;

    top: 28px;
    left: 12%;
    right: 12%;

    height: 1px;

    background: #dce3ef;
}

.step {
    position: relative;
    z-index: 2;

    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    margin: 0 auto 17px;

    border: 5px solid white;
    border-radius: 50%;

    background: var(--blue);
    color: white;

    font-size: 15px;
    font-weight: 800;

    box-shadow: 0 8px 20px rgba(23, 105, 255, 0.2);
}

.step h3 {
    color: var(--navy);

    font-size: 16px;
}

.step p {
    max-width: 210px;

    margin: 7px auto 0;

    color: var(--muted);

    font-size: 12px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: white;

    box-shadow: 0 7px 25px rgba(7, 26, 61, 0.05);
}

.stars {
    color: var(--gold);

    letter-spacing: 2px;

    font-size: 14px;
}

.testimonial > p {
    margin-top: 14px;

    color: #4e5b72;

    font-size: 14px;
    line-height: 1.75;
}

.student {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 20px;
}

.student-avatar {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #edf4ff;
    color: var(--blue);

    font-size: 13px;
    font-weight: 800;
}

.student strong {
    display: block;

    color: var(--navy);

    font-size: 13px;
}

.student span {
    display: block;

    color: var(--muted);

    font-size: 11px;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
    max-width: 820px;

    margin: 0 auto;
}

.faq-item {
    overflow: hidden;

    margin-bottom: 10px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: white;
}

.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 20px;

    border: 0;

    background: transparent;

    color: var(--navy);

    text-align: left;

    font-size: 14px;
    font-weight: 750;
}

.faq-icon {
    flex: 0 0 auto;

    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #edf4ff;
    color: var(--blue);

    font-size: 17px;

    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;

    padding: 0 20px 20px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 20px 0 95px;
}

.cta-box {
    position: relative;
    overflow: hidden;

    padding: 58px;

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(79, 140, 255, 0.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            #0d2d65
        );

    color: white;
}

.cta-box::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -80px;
    bottom: -110px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.cta-box h2 {
    max-width: 670px;

    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.cta-box p {
    max-width: 600px;

    margin-top: 13px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
}

.cta-box .btn {
    margin-top: 25px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 65px 0 25px;

    background: #06142e;

    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 45px;
}

.footer-column h4 {
    margin-bottom: 15px;

    color: white;

    font-size: 13px;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.58);

    font-size: 12px;
    line-height: 1.8;
}

.footer-column a {
    display: block;

    margin-bottom: 5px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 15px;

    font-size: 19px;
    font-weight: 800;
}

.footer-brand .brand-mark {
    width: 35px;
    height: 35px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-top: 50px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.45);

    font-size: 11px;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.batch-empty {
    grid-column: 1 / -1;

    padding: 50px 20px;

    border: 1px dashed #ccd5e3;
    border-radius: 18px;

    background: #fafbfe;

    text-align: center;
}

.batch-empty h3 {
    color: var(--navy);
}

.batch-empty p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 13px;
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 18px;
    }

    .hero-grid {
        gap: 35px;
    }

    .path-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .batch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .nav-inner {
        min-height: 68px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .menu-btn {
        display: grid;
        place-items: center;
    }

    .hero {
        padding: 55px 0 55px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .hero-content h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-floating-card {
        left: 12px;
        bottom: 18px;
    }

    .stats {
        margin-top: 0;
    }

    .stats-box {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;

        padding: 20px;
    }

    .stat {
        padding: 8px;

        border-right: 0;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom: 1px solid var(--border);
        padding-bottom: 18px;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .path-grid,
    .batch-grid,
    .feature-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .experience {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .steps {
        grid-template-columns: 1fr 1fr;

        gap: 30px 15px;
    }

    .steps::before {
        display: none;
    }

    .cta {
        padding-bottom: 70px;
    }

    .cta-box {
        padding: 38px 25px;

        border-radius: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px 25px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 7px;
    }
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .brand {
        font-size: 18px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: 9px;
    }

    .stats-box {
        padding: 13px;
    }

    .stat strong {
        font-size: 22px;
    }

    .batch-image {
        height: 190px;
    }

    .batch-bottom {
        align-items: flex-end;
    }

    .batch-bottom .btn {
        padding-inline: 12px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}