/* =====================================================
   NIYATI IAS — index.css
   Pixel-perfect match to reference design
   ===================================================== */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    background: #f4f4f4;
    color: #111827;
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Global Typography Overrides */
.about-title { font-size: 48px; font-weight: 800; color: #ffffff !important; margin-bottom: 20px; line-height: 1.2; }
.about-subtitle { font-size: 18px; color: rgba(255,255,255,0.8) !important; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* =====================================================
   TOPBAR
   ===================================================== */
.topbar {
    background: #07092a;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    transition: all 0.3s ease;
    overflow: hidden;
}
.header.scrolled .topbar {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-bottom-color: transparent;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left span,
.topbar-right span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.topbar-right {
    display: flex;
    gap: 24px;
}
.topbar i {
    color: #f5a623;
}
/* ── Shared container ── */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 36px;
}

@media (max-width: 900px) {
    .container {
        padding: 0 10px;
    }
    .topbar .container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .topbar {
        padding: 8px 0;
        font-size: 14px;
    }
    .topbar-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .topbar-right {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
        font-size: 14px;
    }
    .navbar {
        height: 50px;
    }
    .logo {
        margin-right: auto;
    }
    .logo-icon {
        height: auto;
    }
    .logo-img {
        height: 40px !important;
        width: auto;
        transform: scale(1.6);
        transform-origin: left center;
    }
    .logo-title {
        font-size: 14px;
    }
    .logo-subtitle {
        font-size: 9px;
    }
    .nav-actions {
        gap: 6px;
    }
    .search-btn {
        width: 32px; height: 32px;
        font-size: 13px;
    }
    .btn-login {
        display: none;
    }
}

@media (max-width: 400px) {
    .container { padding: 0 10px; }
    .topbar-right {
        font-size: 8.5px;
        gap: 4px;
    }
    .topbar-left { font-size: 9.5px; }
    .logo-icon { height: auto; }
    .logo-img { height: 30px !important; transform: scale(1.6); transform-origin: left center; }
    .logo-title { font-size: 12px; }
    .logo-subtitle { font-size: 7.5px; }
    .logo { gap: 6px; margin-right: auto; }
    .search-btn { width: 28px; height: 28px; font-size: 11px; }
    .nav-actions { gap: 4px; }
}

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #f4f4f4; /* Off-white to match logo background */
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.6); }

.navbar {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 0;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: 36px; }
.logo-icon {
    height: 60px;
    display: flex; align-items: center; justify-content: center;
}
.logo-img { 
    width: auto; height: 100%; object-fit: contain; 
}
.logo-fallback { display:flex; align-items:center; justify-content:center; }
.logo-star { font-size: 22px; color: #111827; }
.logo-title  { display: block; font-size: 17px; font-weight: 800; color: #111827; line-height: 1.15; }
.logo-subtitle { display: block; font-size: 11px; color: #f5a623; font-weight: 500; }

/* Nav links */
.nav-links {
    display: flex; align-items: center;
    gap: 0; flex: 1;
}
.nav-link {
    font-size: 13.5px; font-weight: 600;
    color: #4b5563;
    padding: 8px 14px;
    border-radius: 6px;
    display: flex; align-items: center; gap: 4px;
    transition: color .25s, background .25s;
    white-space: nowrap;
    position: relative;
    text-transform: uppercase;
}
.nav-link.active {
    color: #111827;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 50%; transform: translateX(-50%);
    width: 24px; height: 2px;
    background: #f5a623;
    border-radius: 2px;
}
.nav-link:hover { color: #111827; background: rgba(0,0,0,.05); }
.nav-link i { font-size: 10px; opacity: .7; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute;
    top: calc(100% + 10px); left: 50%;
    transform: translateX(-50%);
    background: #111535; border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; min-width: 190px;
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
    overflow: hidden; z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
    display: block; padding: 11px 18px;
    font-size: 13px; color: rgba(255,255,255,.7);
    transition: background .2s, color .2s;
}
.dropdown-item:hover { background: rgba(255,255,255,.07); color: #f5a623; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }

.search-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,.05);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: #4b5563;
    transition: background .25s, color .25s;
}
.search-btn:hover { background: rgba(0,0,0,.1); color: #111827; }

.btn-login {
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg,#f5a623,#e08500);
    color: #07092a; font-size: 13.5px; font-weight: 700;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 18px rgba(245,166,35,.35);
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(245,166,35,.5); }

.hamburger { 
    display: none; flex-direction: column; justify-content: center; align-items: center; 
    width: 32px; height: 32px; gap: 6px; padding: 0; margin-right: -6px; 
    cursor: pointer; z-index: 1001; position: relative;
}
.hamburger span { 
    display: block; width: 24px; height: 2px; background: #111827; border-radius: 2px; 
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease; 
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f4f4f4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    display: flex;
    align-items: center;
}

/* Background glow blobs */
.hero-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-20%, -50%);
    width: 750px; height: 750px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,48,180,0.35) 0%, transparent 65%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -80px;
    width: 450px; height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 36px;
    width: 100%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 420px 1fr 240px;
    gap: 16px;
    align-items: flex-start;
    min-height: calc(100vh - 70px);
    padding: 40px 0 0;
    overflow: visible;
}

/* ── LEFT COLUMN ── */
.hero-left { padding-right: 8px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 12.5px; font-weight: 500; color: #111827;
    margin-bottom: 22px;
}
.hero-badge i { color: #f5a623; font-size: 11px; }

.hero-title {
    font-size: 58px; font-weight: 900; line-height: 1.08;
    color: #111827; margin-bottom: 16px;
    letter-spacing: -1px;
}
.hero-gold { color: #f5a623; display: block; }

.hero-desc {
    font-size: 14px; color: #4b5563;
    line-height: 1.75; margin-bottom: 26px;
    text-align: justify;
}

/* 5 Feature Icons */
.hero-features {
    display: flex; gap: 0;
    margin-bottom: 28px;
    align-items: flex-start;
}
.hf-item {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: 8px; flex: 1;
    font-size: 11px; color: #4b5563;
    line-height: 1.35;
    padding: 0 4px;
}
.hf-icon {
    width: 54px; height: 54px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    flex-shrink: 0;
}
.hf-purple { background: #6b3fa0; }
.hf-orange { background: #d4660f; }
.hf-green  { background: #1a7a47; }
.hf-blue   { background: #1a5fa6; }
.hf-pink   { background: #b02060; }

/* CTA Buttons */
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-explore {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg,#f5a623,#e08500);
    color: #07092a; font-size: 14px; font-weight: 700;
    border-radius: 8px;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 20px rgba(245,166,35,.4);
}
.btn-explore:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,166,35,.55); }

.btn-brochure {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px;
    border: 1.5px solid rgba(0,0,0,.15);
    color: #111827; font-size: 14px; font-weight: 600;
    border-radius: 8px;
    background: rgba(0,0,0,.04);
    transition: background .25s, border-color .25s;
}
.btn-brochure:hover { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.3); }

/* ── CENTER COLUMN ── */
.hero-center {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    overflow: visible;
    z-index: 1;
    gap: 0;
}

/* Soft background glow blob behind image */
.hero-glow-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 580px; height: 580px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(245, 166, 35, 0.15) 0%,
        rgba(124, 58, 237, 0.10) 40%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Hero Video Wrapper — Premium Card ── */
.hero-video-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    /* Glowing gradient border */
    padding: 3px;
    background: linear-gradient(135deg,
        rgba(245,166,35,0.9) 0%,
        rgba(124,58,237,0.7) 40%,
        rgba(131,58,180,0.9) 70%,
        rgba(245,166,35,0.9) 100%);
    box-shadow:
        0 0 0 1px rgba(245,166,35,0.15),
        0 25px 70px rgba(0,0,0,0.18),
        0 0 60px rgba(245,166,35,0.08),
        0 0 100px rgba(124,58,237,0.06);
    animation: float-img 4s ease-in-out infinite;
}

/* Inner wrapper for overflow clipping */
.hero-video-inner {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #000;
}

.hero-video {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 26px 26px 0 0;
}

/* Gradient overlay at bottom of video — for Instagram card to sit on */
.hero-video-inner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(7,9,42,0.85) 0%, transparent 100%);
    pointer-events: none;
    z-index: 3;
    border-radius: 0;
}

/* Top-left decorative "LIVE" badge */
.hero-video-live-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 5px 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.hero-video-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse-red 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse-red {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    50% { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}

/* Mute/Unmute toggle button */
.hero-video-mute-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    z-index: 10;
}
.hero-video-mute-btn:hover {
    background: rgba(245,166,35,0.85);
    transform: scale(1.1);
}

@keyframes float-img {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ── Instagram Strip — inside the card at the bottom ── */
.hero-instagram-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 0 0 26px 26px;
    background: linear-gradient(100deg,
        #4f0a8a 0%,
        #833ab4 25%,
        #c13584 50%,
        #e1306c 70%,
        #fd1d1d 85%,
        #f77737 100%);
    color: #fff;
    text-decoration: none;
    transition: filter 0.25s, transform 0.25s;
    border-top: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

/* Shimmer sweep effect */
.hero-instagram-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.55s ease;
}
.hero-instagram-btn:hover::before {
    left: 160%;
}
.hero-instagram-btn:hover {
    filter: brightness(1.12);
}

.insta-icon-wrap {
    position: relative;
    z-index: 1;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 0.25s, transform 0.25s;
}
.hero-instagram-btn:hover .insta-icon-wrap {
    background: rgba(255,255,255,0.28);
    transform: rotate(-8deg) scale(1.08);
}

.insta-text-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.insta-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.2px;
}
.insta-handle {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

.insta-ext-icon {
    position: relative;
    z-index: 1;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
    transition: background 0.25s, transform 0.25s;
}
.hero-instagram-btn:hover .insta-ext-icon {
    background: rgba(255,255,255,0.28);
    transform: translate(2px, -2px);
    color: #fff;
}

/* Follower count pill inside instagram strip */
.insta-followers-pill {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 10.5px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.insta-followers-pill i { font-size: 9px; color: #fff; }

/* NCERT Book badge — right side of frame */
.hero-book-badge {
    position: absolute;
    right: -14px;
    bottom: 120px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(245,166,35,0.25);
    border-radius: 14px;
    padding: 12px 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,.18), 0 0 0 1px rgba(245,166,35,0.1);
    animation: float-badge 3.5s ease-in-out infinite 1s;
}
.book-ncert   { font-size: 9px; color: #6b7280; letter-spacing: 2px; text-transform: uppercase; }
.book-subject { font-size: 11px; font-weight: 800; color: #f5a623; line-height: 1.3; margin: 3px 0; }
.book-for     { font-size: 9px; color: #6b7280; }
@keyframes float-badge {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%       { transform: translateY(-8px) rotate(1deg); }
}


/* Watch Intro Video — bottom center-right */
.hero-watch {
    position: absolute;
    bottom: 20px;
    right: 10px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
}
.watch-play-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,.05);
    border: 1.5px solid rgba(0,0,0,.15);
    display: flex; align-items: center; justify-content: center;
    color: #111827; font-size: 13px;
    transition: background .25s;
    flex-shrink: 0;
}
.watch-play-btn:hover { background: linear-gradient(135deg,#f5a623,#e08500); color: #fff; }
.watch-label { font-size: 13px; font-weight: 600; color: #111827; }
.watch-dur   { font-size: 11px; color: #6b7280; }

/* ── RIGHT COLUMN ── */
.hero-right {
    display: flex; flex-direction: column; gap: 14px;
    position: relative;
    z-index: 10;
}

/* Card 1: Join 25,000+ */
.card-join {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 36px rgba(0,0,0,.08);
}
.cj-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg,#f5a623,#e08500);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff;
    margin-bottom: 10px;
}
.cj-icon i { font-weight: 900; font-family: "Font Awesome 6 Free"; }
.cj-label { font-size: 13px; color: #6b7280; margin-bottom: 2px; }
.cj-num   { font-size: 30px; font-weight: 900; color: #f5a623; line-height: 1; margin-bottom: 4px; }
.cj-sub   { font-size: 11.5px; color: #6b7280; line-height: 1.5; margin-bottom: 12px; }

.cj-avatars { display: flex; margin-bottom: 14px; }
.cav {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -10px;
    background-size: cover;
    background-position: center;
}
.cav:first-child { margin-left: 0; }
.cav1 { background-image: url('https://randomuser.me/api/portraits/women/44.jpg'); }
.cav2 { background-image: url('https://randomuser.me/api/portraits/men/32.jpg'); }
.cav3 { background-image: url('https://randomuser.me/api/portraits/women/68.jpg'); }
.cav4 { background-image: url('https://randomuser.me/api/portraits/men/46.jpg'); }


.cj-stars  { color: #f5a623; font-size: 12px; margin-bottom: 6px; letter-spacing: 2px; }
.cj-stars i { font-weight: 900; font-family: "Font Awesome 6 Free"; }
.cj-rating { font-size: 11px; color: #6b7280; }

/* Card 2: UPSC CSE 2025 */
.card-upsc {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 36px rgba(0,0,0,.08);
}
.cu-head {
    display: flex; gap: 12px; align-items: flex-start;
    margin-bottom: 14px;
}
.cu-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg,#7c3aed,#5b21b6);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; color: #fff; flex-shrink: 0;
}
.cu-title { font-size: 14px; font-weight: 800; color: #f5a623; margin-bottom: 3px; }
.cu-sub   { font-size: 11px; color: #6b7280; line-height: 1.4; }

.btn-enroll {
    display: block; width: 100%;
    padding: 10px;
    text-align: center;
    background: linear-gradient(135deg,#3b82f6,#1d4ed8);
    color: #fff; font-size: 13px; font-weight: 700;
    border-radius: 999px;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 16px rgba(59,130,246,.4);
}
.btn-enroll:hover { transform: scale(1.03); box-shadow: 0 6px 22px rgba(59,130,246,.55); }

/* =====================================================
   STATS STRIP
   ===================================================== */
.stats-strip {
    background: #fff;
    padding: 26px 60px;
    max-width: 1330px;
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
}

.stats-strip .container {
    max-width: 100%;
    padding: 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
}

.stat-item {
    display: flex; align-items: center; gap: 14px;
    flex: 1; min-width: 110px; justify-content: center;
}
.stat-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff;
}
.stat-item:nth-child(1)  .stat-icon { background: linear-gradient(135deg,#f5a623,#e08500); }
.stat-item:nth-child(3)  .stat-icon { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.stat-item:nth-child(5)  .stat-icon { background: linear-gradient(135deg,#f97316,#c05621); }
.stat-item:nth-child(7)  .stat-icon { background: linear-gradient(135deg,#7c3aed,#5b21b6); }
.stat-item:nth-child(9)  .stat-icon { background: linear-gradient(135deg,#10b981,#059669); }
.stat-item:nth-child(11) .stat-icon { background: linear-gradient(135deg,#f5a623,#e08500); }

.stat-number, .stat-rating { font-size: 22px; font-weight: 900; color: #07092a; line-height: 1; }
.stat-label  { font-size: 11.5px; color: #6b7280; font-weight: 500; line-height: 1.4; }
.stat-divider { width: 1px; height: 44px; background: #e5e7eb; flex-shrink: 0; }

/* =====================================================
   COURSES SECTION
   ===================================================== */
.courses-section { padding: 80px 0; background: #ffffff; }
.section-padding { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge  {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #f5a623;
    margin-bottom: 12px;
}
.section-title  { font-size: 36px; font-weight: 800; color: #111827; margin-bottom: 10px; line-height: 1.25; }
.highlight-text { color: #7c3aed; }
.section-desc   { font-size: 14px; color: #4b5563; }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

.course-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(0,0,0,.12);
    border-color: rgba(0,0,0,.14);
}

.course-card-img {
    height: 160px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
}
.course-3d-img { height: 130px; width: auto; object-fit: contain; z-index: 2; transition: transform .3s; }
.course-card:hover .course-3d-img { transform: scale(1.08); }

.foundation-bg { background: linear-gradient(135deg, #1e3a8a, #3b0764); }
.mentor-bg     { background: linear-gradient(135deg, #064e3b, #059669); }
.prelims-bg    { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.crash-bg      { background: linear-gradient(135deg, #9a3412, #f97316); }

.best-seller-tag {
    position: absolute; top: 12px; left: 12px;
    background: linear-gradient(135deg,#ff6b6b,#ee5a24);
    color: #fff; font-size: 11px; font-weight: 700;
    padding: 5px 12px; border-radius: 999px;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(238,90,36,.3);
}

.course-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.course-badge {
    display: inline-block; font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 999px; margin-bottom: 8px;
}
.foundation-badge { background: rgba(124,58,237,.1); color: #7c3aed; }
.mentor-badge     { background: rgba(16,185,129,.1);  color: #10b981; }
.prelims-badge    { background: rgba(59,130,246,.1);  color: #3b82f6; }
.crash-badge      { background: rgba(249,115,22,.1);  color: #ea580c; }
.optional-badge   { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }

/* Highlighted fee box */
.course-fee-highlight {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1.5px dashed #f59e0b;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08);
}
.course-fee-highlight-label {
    display: flex;
    flex-direction: column;
}
.course-fee-highlight-label .fee-title {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #d97706;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.course-fee-highlight-label .fee-sub {
    font-size: 11px;
    color: #78350f;
    font-weight: 500;
    line-height: 1.2;
}
.course-fee-highlight-price {
    font-size: 22px;
    font-weight: 900;
    color: #b45309;
}

.course-subtitle { font-size: 12px; font-weight: 600; color: #4b5563; margin-bottom: 12px; }
.course-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.course-features li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #374151; font-weight: 500; }
.course-features li i { color: #10b981; font-size: 13px; flex-shrink: 0; }

.course-price { margin-bottom: 16px; }
.price-new { font-size: 22px; font-weight: 900; color: #111827; margin-right: 8px; }
.price-old { font-size: 14px; font-weight: 600; color: #9ca3af; text-decoration: line-through; }

.btn-course {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 10px; border-radius: 999px;
    font-size: 13px; font-weight: 700; transition: transform .25s, box-shadow .25s;
}
.foundation-btn { background: linear-gradient(135deg,#7c3aed,#5b21b6); color: #fff; }
.mentor-btn     { background: linear-gradient(135deg,#10b981,#059669); color: #fff; }
.prelims-btn    { background: linear-gradient(135deg,#3b82f6,#1d4ed8); color: #fff; }
.crash-btn      { background: linear-gradient(135deg,#f5a623,#e08500); color: #07092a; }
.btn-course:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(0,0,0,.35); }

.view-all-wrap { text-align: center; }
.btn-view-all {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 32px; border-radius: 999px;
    border: 1.5px solid #f5a623; color: #f5a623;
    font-size: 14px; font-weight: 700;
    transition: background .25s, color .25s;
}
.btn-view-all:hover { background: linear-gradient(135deg,#f5a623,#e08500); color: #07092a; border-color: transparent; }

/* =====================================================
   TEST SERIES BANNER
   ===================================================== */
.test-series-banner {
    padding: 30px 0;
    background: transparent;
}
.test-banner-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    background: linear-gradient(90deg, #1b0c4b, #120731);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    position: relative;
}
.test-banner-left { display: flex; align-items: center; gap: 24px; }
.test-banner-mock-img { display: flex; align-items: center; justify-content: center; }
.test-laptop-img { width: 220px; height: auto; object-fit: contain; transform: scale(1.5); position: relative; z-index: 1; }
.test-banner-text { position: relative; z-index: 2; }
.test-banner-text h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -0.5px; }
.test-banner-text p  { font-size: 14px; color: #d1d5db; max-width: 320px; line-height: 1.4; }
.test-banner-features { display: flex; gap: 32px; align-items: center; border-left: 1px solid rgba(255,255,255,.1); padding-left: 32px; }
.test-feat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.test-feat i { font-size: 24px; color: #818cf8; font-weight: 900; font-family: "Font Awesome 6 Free"; }
.test-feat span { font-size: 12px; color: #e5e7eb; font-weight: 500; line-height: 1.3; max-width: 90px; }
.btn-test-series {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    background: #ffb300;
    color: #000; border-radius: 6px;
    font-size: 14px; font-weight: 700;
    transition: transform .25s, background .25s;
}
.btn-test-series:hover { transform: translateY(-2px); background: #e09e00; }

.btn-course {
    display: block; width: 100%; text-align: center; padding: 14px;
    border-radius: 12px; font-size: 14px; font-weight: 700; color: #fff;
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
}
.btn-course:hover { transform: translateY(-2px); }

.course-extra-btns {
    display: flex; gap: 8px; margin-top: auto; width: 100%; padding-top: 10px;
}
.btn-extra {
    flex: 1; padding: 10px 5px; text-align: center; border-radius: 8px; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: 0.25s; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-quick, .btn-share {
    border: 1px solid #4f46e5; color: #4f46e5; background: rgba(79, 70, 229, 0.08);
}
.btn-quick:hover, .btn-share:hover { background: #4f46e5; color: #fff; }
.btn-whatsapp {
    border: 1px solid #25D366; color: #25D366; background: rgba(37, 211, 102, 0.08);
}
.btn-whatsapp:hover { background: #25D366; color: #fff; }

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why-section { padding: 60px 0 100px; background: #f8fafc; position: relative; overflow: visible; }
.relative-container { position: relative; }
.why-left { max-width: 55%; position: relative; z-index: 2; }
.section-badge-small { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #f5a623; margin-bottom: 12px; }
.why-title { font-size: 28px; font-weight: 800; color: #111827; line-height: 1.25; margin-bottom: 24px; }
.highlight-orange { color: #f5a623; }

.why-features-row { display: flex; gap: 16px; align-items: flex-start; justify-content: flex-start; }
.why-feat-item { display: flex; flex-direction: column; align-items: center; text-align: center; width: 115px; }
.why-feat-icon {
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; margin-bottom: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.why-feat-title { font-size: 13px; font-weight: 700; color: #111827; margin-bottom: 6px; line-height: 1.2; }
.why-feat-desc  { font-size: 11px; color: #4b5563; line-height: 1.4; }

.why-right-elements { position: absolute; top: 0; right: 0; bottom: 0; left: 55%; z-index: 1; }
.why-student-img-3d {
    position: absolute; bottom: -205px; left: -180px;
    height: 480px; width: auto; object-fit: contain; z-index: 2;
    transform: translate3d(0,0,0);
    isolation: isolate;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 72%, rgba(0,0,0,0.6) 84%, transparent 100%), linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 72%, rgba(0,0,0,0.6) 84%, transparent 100%), linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-composite: intersect;
}
.testimonial-card {
    position: absolute; right: 40px; top: 10px;
    background: #ffffff; border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px; padding: 28px; width: 290px;
    box-shadow: 0 10px 40px rgba(0,0,0,.08); z-index: 3;
    overflow: hidden;
}
.testimonial-track-wrapper { width: 100%; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); width: 100%; }
.testimonial-slide { min-width: 100%; box-sizing: border-box; }
.quote-icon { font-size: 38px; color: #4f46e5; margin-bottom: 10px; }
.testimonial-text { font-size: 13px; color: #4b5563; line-height: 1.5; margin-bottom: 14px; }
.testimonial-stars { color: #f5a623; font-size: 13px; margin-bottom: 8px; }
.testimonial-author { font-size: 12px; color: #6b7280; font-weight: 600; margin-bottom: 16px; }
.testimonial-dots { display: flex; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.15); transition: all .3s; }
.dot.active { background: #4f46e5; width: 18px; border-radius: 3px; }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
    position: relative;
    z-index: 5;
    padding: 10px 0 40px 0;
    margin-top: -30px;
    background: transparent;
}
.cta-banner-inner-box {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    background: linear-gradient(135deg, #1b043a 0%, #080112 100%);
    border-radius: 20px; padding: 30px 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
}
.cta-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; background: rgba(255, 179, 0, 0.12);
    color: #ffb300; font-size: 13px; font-weight: 700;
    border-radius: 30px; margin-bottom: 20px;
    border: 1px solid rgba(255, 179, 0, 0.25);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.cta-left { max-width: 50%; position: relative; z-index: 3; }
.cta-left h2 { font-size: 38px; font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.2; letter-spacing: -0.5px; }
.cta-left p  { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 32px; line-height: 1.6; max-width: 460px; }
.cta-buttons { display: flex; gap: 16px; position: relative; z-index: 3; }
.btn-cta-enroll {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; background: linear-gradient(135deg, #ffb300, #e09e00); color: #000;
    border-radius: 8px; font-size: 15px; font-weight: 700;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 8px 24px rgba(255, 179, 0, 0.3);
}
.btn-cta-enroll:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 179, 0, 0.45); }
.btn-cta-counsellor {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border: 1px solid rgba(255,255,255,.3); color: #fff;
    border-radius: 8px; font-size: 15px; font-weight: 600; transition: background .25s;
    background: rgba(255,255,255,.05);
}
.btn-cta-counsellor:hover { background: rgba(255,255,255,.12); }

.cta-right {
    position: absolute; right: 0; top: 0; bottom: 0; width: 60%; z-index: 1;
    display: flex; align-items: center; justify-content: center;
}
.cta-pc-img {
    height: 150%;
    width: 150%;
    object-fit: contain;
    object-position: center right;
    transform: translateX(10%);
    display: block;
    /* Soft glowing radial fade on all sides! */
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 68%);
    mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 68%);
}

/* =====================================================
   TOPPERS SECTION
   ===================================================== */
.toppers-section { padding: 28px 0; background: #ffffff; border-top: 1px solid rgba(0,0,0,.05); }
.toppers-strip { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.toppers-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #4b5563; text-transform: uppercase; letter-spacing: 1px; }
.toppers-label i { color: #f5a623; font-size: 16px; }
.toppers-list { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.topper-item {
    display: flex; align-items: center; gap: 10px;
    background: #ffffff; border: 1px solid rgba(0,0,0,.08);
    border-radius: 999px; padding: 8px 16px;
    transition: border-color .25s, transform .25s;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}
.topper-item:hover { border-color: #f5a623; transform: translateY(-2px); }
.topper-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg,#7c3aed,#5b21b6);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #fff; flex-shrink: 0;
}
.topper-rank { font-size: 13px; font-weight: 800; color: #f5a623; }
.topper-exam { font-size: 10px; color: #6b7280; }
.topper-more { background: linear-gradient(135deg,#f5a623,#e08500); border-color: transparent; flex-direction: column; gap: 1px; padding: 8px 18px; align-items: center; }
.topper-more-count { font-size: 16px; font-weight: 900; color: #ffffff; }
.topper-more-label { font-size: 9px; font-weight: 700; color: #ffffff; white-space: nowrap; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: #040710; }
.footer-top { padding: 60px 0 40px; border-top: 1px solid rgba(255,255,255,.07); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    filter: invert(1) hue-rotate(180deg) brightness(1.5);
    mix-blend-mode: screen;
}
.footer-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: rgba(255,255,255,.65); transition: background .25s, color .25s;
}
.social-link:hover { background: linear-gradient(135deg,#f5a623,#e08500); color: #07092a; border-color: transparent; }
.footer-heading { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: linear-gradient(135deg,#f5a623,#e08500); border-radius: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.4); transition: color .25s, padding-left .25s; }
.footer-link i { font-size: 10px; color: #f5a623; }
.footer-link:hover { color: #f5a623; padding-left: 4px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: rgba(255,255,255,.4); line-height: 1.5; }
.footer-contact-list li i { color: #f5a623; font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom { background: #030609; border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer-bottom-content { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.footer-bottom-content p { font-size: 13px; color: rgba(255,255,255,.5); margin: 0; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-link { font-size: 12px; color: rgba(255,255,255,.35); transition: color .25s; }
.footer-bottom-link:hover { color: #f5a623; }

/* =====================================================
   ANIMATIONS / SCROLL REVEAL
   ===================================================== */
@keyframes premiumSlideLeft {
    0%   { opacity: 0; transform: translateX(-60px) scale(0.98); filter: blur(10px); }
    100% { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes premiumSlideRight {
    0%   { opacity: 0; transform: translateX(60px) scale(0.98); filter: blur(10px); }
    100% { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes premiumSlideUp {
    0%   { opacity: 0; transform: translateY(50px) scale(0.95); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Staggered Animations for Hero Content */
.hero-badge { animation: premiumSlideLeft 1s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both; }
.hero-title { animation: premiumSlideLeft 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s both; }
.hero-desc { animation: premiumSlideLeft 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s both; }
.hero-features { animation: premiumSlideLeft 1s cubic-bezier(0.25, 1, 0.5, 1) 0.4s both; }
.hero-cta { animation: premiumSlideUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both; } /* Bouncy entrance for buttons */

/* Right image */
.hero-right { animation: premiumSlideRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s both; }

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #07092a; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #f5a623; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr 1fr; }
    .hero-right { display: none; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    /* Fix base overflow */
    html, body { overflow-x: hidden; }

    /* Hero layout single column */
    .hero-section { overflow: hidden; display: block; width: 100%; }
    .hero-section::before, .hero-section::after { display: none; }
    .hero-container { padding: 0 20px !important; width: 100%; box-sizing: border-box; }
    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 20px 0 16px 0 !important;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .hero-right { display: none; }
    /* Disable slide animations — they cause left clipping on mobile */
    .hero-badge, .hero-title, .hero-desc, .hero-features, .hero-cta, .hero-center { animation: none; }

    /* Hero left text */
    .hero-left { padding: 0; width: 100%; box-sizing: border-box; overflow: hidden; }
    .hero-title {
        font-size: 38px !important;
        letter-spacing: -0.5px !important;
        word-break: break-word;
        overflow-wrap: break-word;
        width: 100%;
    }
    .hero-badge { font-size: 11.5px; padding: 6px 14px; white-space: normal; max-width: 100%; }
    .hero-desc { font-size: 13.5px; text-align: justify; word-break: break-word; overflow-wrap: break-word; }

    /* Feature icons: 3 per row on tablet */
    .hero-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
    .hf-item { padding: 0; }

    /* Video card */
    .hero-center { display: flex; width: 100%; padding: 0; }
    .hero-glow-circle { display: none; }
    .hero-video-wrapper { width: 100%; border-radius: 20px; }
    .hero-video-inner { border-radius: 18px; }
    .hero-video { height: 240px; border-radius: 18px 18px 0 0; }
    .hero-instagram-btn { padding: 13px 16px; border-radius: 0 0 18px 18px; }
    .insta-followers-pill { display: none; }
    .hero-book-badge { display: none; }

    /* Rest */
    .why-inner { grid-template-columns: 1fr; }
    .why-right-elements { display: none; }
    .cta-banner-inner { grid-template-columns: 1fr; }
    .cta-right { display: none; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 600px) {
    /* Prevent all overflow */
    html, body { overflow-x: hidden; }

    /* Hero section */
    .hero-section { padding-top: 125px; min-height: auto; padding-bottom: 24px; overflow: hidden; display: block; width: 100%; }
    .hero-section::before, .hero-section::after { display: none; }
    .hero-container { padding: 0 1px !important; width: 100%; box-sizing: border-box; }
    .hero-inner { gap: 18px; padding: 16px 0 0 0 !important; min-height: auto; width: 100%; box-sizing: border-box; }
    /* Disable slide animations on mobile */
    .hero-badge, .hero-title, .hero-desc, .hero-features, .hero-cta, .hero-center { animation: none !important; transform: none !important; }

    /* Hero text */
    .hero-left { width: 100%; padding: 0 10px !important; box-sizing: border-box; overflow: hidden; }
    .hero-title {
        font-size: 32px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.5px !important;
        word-break: break-word;
        overflow-wrap: break-word;
        width: 100%;
        margin-bottom: 12px;
    }
    .hero-badge { 
        font-size: 10px; 
        padding: 8px 12px; 
        white-space: normal; 
        line-height: 1.4; 
        margin-bottom: 16px; 
        width: 100%; 
        box-sizing: border-box;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }
    .hero-badge i { flex-shrink: 0; margin-top: 2px; }
    .hero-desc { font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; text-align: justify; word-break: break-word; overflow-wrap: break-word; }
    .hero-desc br { display: none; }

    /* Feature icons: 3 per row on one line */
    .hero-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; align-items: stretch; }
    .hf-item { flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 11.5px; padding: 12px 2px; background: rgba(0,0,0,0.03); border-radius: 10px; border: 1px solid rgba(0,0,0,0.06); }
    .hf-icon { width: 32px; height: 32px; font-size: 14px; border-radius: 8px; flex-shrink: 0; margin: 0 auto; }
    .hf-item:nth-child(n+4) { display: none; }

    /* CTA buttons */
    .hero-cta { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin: 0; width: 100%; box-sizing: border-box; padding: 0; }
    .btn-explore, .btn-brochure { 
        display: flex; 
        align-items: center; 
        padding: 14px 20px; 
        font-size: 15px; 
        font-weight: 700;
        border-radius: 12px;
        box-sizing: border-box; 
        margin: 0 10px; 
        width: calc(100% - 20px);
        text-align: left;
    }
    .btn-explore span, .btn-brochure span { flex-grow: 1; }
    .btn-explore i, .btn-brochure i { flex-shrink: 0; margin-left: 10px; }

    /* Video card */
    .hero-center { width: 100%; padding: 0; }
    .hero-glow-circle { display: none; }
    .hero-video-wrapper { border-radius: 16px; padding: 2px; }
    .hero-video-inner { border-radius: 14px; }
    .hero-video { height: 195px; border-radius: 14px 14px 0 0; object-position: center center; }
    .hero-video-live-badge { font-size: 10px; padding: 4px 9px; top: 10px; left: 10px; gap: 5px; }
    .hero-video-live-dot { width: 6px; height: 6px; }
    .hero-video-mute-btn { width: 28px; height: 28px; font-size: 11px; top: 10px; right: 10px; }

    /* Instagram strip */
    .hero-instagram-btn { padding: 11px 13px; gap: 9px; border-radius: 0 0 14px 14px; }
    .insta-icon-wrap { width: 32px; height: 32px; border-radius: 8px; font-size: 16px; }
    .insta-label { font-size: 12px; }
    .insta-handle { font-size: 10px; }
    .insta-followers-pill { display: none; }
    .insta-ext-icon { width: 24px; height: 24px; font-size: 10px; }

    .why-left { max-width: 100%; text-align: left; padding-left: 10px; padding-right: 4px; }
    .why-title { font-size: 26px !important; margin-bottom: 24px; }
    .why-features-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 6px; padding-bottom: 20px; }
    .why-feat-item { width: 100%; align-items: flex-start; text-align: left; flex-direction: column; gap: 5px; overflow: hidden; }
    .why-feat-icon { width: 32px; height: 32px; font-size: 13px; margin-bottom: 4px; flex-shrink: 0; }
    .why-feat-title { font-size: 11.5px; font-weight: 700; line-height: 1.3; margin-bottom: 2px; width: 100%; white-space: nowrap; }
    .why-feat-desc { font-size: 10.5px; line-height: 1.4; width: 100%; }
    .why-feat-title br::after { content: ' '; }
    .why-feat-desc br::after { content: ' '; }

    .section-header { text-align: left; }
    .section-title { font-size: 24px; line-height: 1.25; }
    .section-desc { font-size: 13px; }
    .cta-banner-inner-box { flex-direction: column; align-items: flex-start; padding: 20px; gap: 16px; }
    .cta-right { display: none; }
    .cta-left { max-width: 100%; }
    .cta-left h2 { font-size: 22px; margin-bottom: 10px; line-height: 1.25; }
    .cta-left p { font-size: 13px; margin-bottom: 18px; }
    .cta-badge { font-size: 11px; padding: 5px 12px; margin-bottom: 12px; }
    .cta-buttons { flex-direction: row; gap: 10px; width: 100%; }
    .btn-cta-enroll, .btn-cta-counsellor { padding: 11px 16px; font-size: 12px; border-radius: 8px; flex: 1; justify-content: center; }
    .toppers-section { padding: 20px 0; }
    .toppers-label { font-size: 12px; }
    .toppers-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
    .topper-item { border-radius: 12px; padding: 8px 12px; gap: 8px; }
    .topper-avatar { width: 28px; height: 28px; font-size: 11px; }
    .topper-rank { font-size: 12px; }
    .topper-exam { font-size: 9.5px; }
    .topper-more { grid-column: 1 / -1; justify-self: center; width: auto; }
    .courses-grid { grid-template-columns: 1fr; }
    .course-card-body { padding: 14px; }
    .course-features { margin-bottom: 12px; }
    .course-price { margin-bottom: 12px; }
    .course-subtitle { margin-bottom: 8px; }
    .btn-view-all { padding: 10px 24px; font-size: 13px; }
    .test-banner-inner { flex-direction: column; text-align: center; padding: 20px; gap: 16px; }
    .test-banner-left { flex-direction: column; text-align: center; gap: 0px; }
    .test-laptop-img { width: 160px; transform: scale(1.2); margin-top: -10px; margin-bottom: -10px; }
    .test-banner-text h3 { font-size: 17px; }
    .test-banner-text p { font-size: 12px; margin-top: -4px; }
    .test-banner-features { border-left: none; padding-left: 0; justify-content: space-between; flex-wrap: nowrap; gap: 8px; width: 100%; }
    .test-feat { width: 32%; }
    .test-feat i { font-size: 18px; }
    .test-feat span { font-size: 9.5px; line-height: 1.2; }
    .btn-test-series { width: 100%; justify-content: center; }
    .stats-strip {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .stats-grid {
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 16px;
    }
    .stat-item {
        justify-content: flex-start;
        width: calc(50% - 8px);
        gap: 8px;
    }
    .stat-icon {
        width: 34px !important; height: 34px !important;
        font-size: 14px !important;
    }
    .stat-number { font-size: 16px !important; }
    .stat-label { font-size: 9.5px !important; }
    .stat-divider { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; text-align: center; }

    .footer { overflow: hidden; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { padding: 28px 0 20px; }
    .footer-logo-img { height: 40px; }
    .footer-heading { font-size: 13px; margin-bottom: 10px; }
    .footer-link { font-size: 12px; }
    .footer-desc { font-size: 12px; }
    .footer-contact-list li { font-size: 11.5px; }
}

/* =====================================================
   INQUIRY MODAL
   ===================================================== */
.inquiry-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.inquiry-modal-overlay.active { opacity: 1; visibility: visible; }

.inquiry-modal-box {
    background: #fff; width: 90%; max-width: 420px; border-radius: 16px;
    padding: 30px; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(30px) scale(0.95); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.inquiry-modal-overlay.active .inquiry-modal-box { transform: translateY(0) scale(1); }

.close-modal {
    position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.05);
    border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 20px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #333; transition: 0.3s;
}
.close-modal:hover { background: rgba(255,0,0,0.1); color: red; }

.modal-header h3 { font-size: 22px; font-weight: 800; color: #1e1b4b; margin-bottom: 6px; }
.modal-header p { font-size: 13.5px; color: #6b7280; margin-bottom: 24px; line-height: 1.4; }

.inquiry-form .form-group { margin-bottom: 16px; }
.inquiry-form label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.inquiry-form input, .inquiry-form select {
    width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #d1d5db;
    font-size: 14px; font-family: inherit; color: #111827; background: #f9fafb;
    transition: 0.3s; box-sizing: border-box;
}
.inquiry-form input:focus, .inquiry-form select:focus { border-color: #4f46e5; outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); }
.btn-submit-inquiry {
    width: 100%; background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff; border: none; padding: 14px; border-radius: 10px; font-size: 15px;
    font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 8px; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.btn-submit-inquiry:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4); }

@media (max-width: 600px) {
    .inquiry-modal-box { padding: 24px 20px; }
    .modal-header h3 { font-size: 20px; }
}

/* =====================================================
   ABOUT US SECTION (HOME)
   ===================================================== */
.about-section {
    background-color: transparent;
    padding: 80px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-left {
    position: relative;
}
.about-img-wrap {
    position: relative;
    padding-bottom: 40px;
    padding-right: 40px;
}
.about-main-img {
    width: 100%;
    height: 380px;
    object-fit: fill;
    background: #f4f4f4; /* Light background in case of empty space */
    border-radius: 8px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-stats-box {
    position: absolute;
    bottom: -50px;
    right: -20px;
    width: 70%;
    background: #fff;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-top: 4px solid #f5a623; /* Matching the orange/gold theme of the website */
    text-align: left;
    z-index: 2;
    border-radius: 8px;
}
.about-stats-title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}
.about-stats-desc {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.6;
    text-align: justify;
}

.about-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
}
.section-badge-outline {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(245, 166, 35, 0.5);
    color: #f5a623;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    border-radius: 4px;
}
.about-right .section-title {
    text-align: left;
    font-size: 38px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 24px;
}
.about-desc {
    text-align: left;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    max-width: 95%;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-left { order: 2; }
    .about-right { order: 1; padding-left: 0; align-items: flex-start; }
    .about-img-wrap { padding-bottom: 0; padding-right: 0; }
    .about-stats-box {
        position: relative; width: 85%; margin: -20px auto 0;
        text-align: center; right: auto; bottom: auto;
        padding: 15px; border-radius: 8px;
    }
    .about-stats-title { font-size: 16px; margin-bottom: 8px; }
    .about-stats-desc { font-size: 12px; line-height: 1.4; }
    .about-right .section-title { text-align: left; font-size: 28px; }
    .about-desc { text-align: justify; max-width: 100%; }
}

@media (max-width: 600px) {
    .about-stats-box {
        display: none; /* Removed completely on small mobile screens as requested */
    }
    .about-section {
        padding: 40px 0;
    }
    .about-right .section-title { font-size: 20px; margin-bottom: 16px; }
    .about-desc { font-size: 13.5px; line-height: 1.5; }
}

/* =====================================================
   VISION, MISSION, VALUES SECTION
   ===================================================== */
.vision-mission-section {
    padding-bottom: 20px;
    background-color: transparent;
}
.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e5e7eb;
}
.vmv-box {
    position: relative;
    padding: 90px 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vmv-box:not(:last-child) {
    border-right: 1px solid #e5e7eb;
}
.light-box {
    background-color: #ffffff;
}
.dark-box {
    background: linear-gradient(135deg, #a855f7, #6d28d9);
}

.vmv-title-tag {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 700;
}
.purple-tag {
    background-color: #a855f7;
    color: #ffffff;
}
.white-tag {
    background-color: #ffffff;
    color: #a855f7;
}

.vmv-text {
    text-align: justify;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.light-box .vmv-text {
    color: #4b5563;
}
.dark-box .vmv-text {
    color: #ffffff;
}

.vmv-line {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 40px;
    height: 3px;
}
.dark-line {
    background-color: #f5a623;
}
.white-line {
    background-color: #ffffff;
}

@media (max-width: 900px) {
    .vmv-grid { grid-template-columns: 1fr; border-right: none; border-bottom: none; }
    .vmv-box { 
        border-bottom: 1px solid #e5e7eb; 
        border-right: 1px solid #e5e7eb; 
        border-left: 1px solid #e5e7eb; 
        padding: 60px 20px 30px; 
    }
    .vmv-box:not(:last-child) { border-right: 1px solid #e5e7eb; }
    .vmv-title-tag { font-size: 15px; padding: 10px 18px; }
    .vmv-text { text-align: left; font-size: 14px; margin-bottom: 15px; }
    .vmv-line { left: 20px; bottom: 20px; }
}

/* =====================================================
   FLOATING CHAT WIDGET
   ===================================================== */
.chat-widget-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; font-family: 'Inter', sans-serif; }
.chat-widget-toggle { width: 60px; height: 60px; border-radius: 50%; background: #f5a623; color: #07092a; border: none; box-shadow: 0 10px 25px rgba(245, 166, 35, 0.4); font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.chat-widget-toggle:hover { transform: scale(1.1); }
.chat-widget-container.active .chat-widget-toggle { transform: scale(0); opacity: 0; pointer-events: none; }

.chat-widget-window { position: absolute; bottom: 20px; right: 0; width: 350px; background: #fff; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); overflow: hidden; transform-origin: bottom right; transform: scale(0.5); opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; }
.chat-widget-container.active .chat-widget-window { transform: scale(1); opacity: 1; pointer-events: auto; bottom: 80px; }

.chat-widget-header { background: #07092a; color: #fff; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.chat-widget-header h4 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.chat-widget-header h4 i { color: #f5a623; }
.chat-close-btn { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.chat-close-btn:hover { opacity: 1; }

.chat-widget-body { padding: 20px; display: flex; flex-direction: column; gap: 15px; position: relative; }
.chat-welcome { background: #f3f4f6; padding: 12px 16px; border-radius: 12px 12px 12px 0; font-size: 14px; color: #374151; margin: 0 0 15px 0; align-self: flex-start; max-width: 90%; }

.chat-form-group { margin-bottom: 12px; }
.chat-form-group input, .chat-form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; transition: border-color 0.3s; background: #fafafa; font-family: inherit; }
.chat-form-group input:focus, .chat-form-group textarea:focus { outline: none; border-color: #f5a623; background: #fff; }
.chat-form-group textarea { resize: none; }

.chat-submit-btn { width: 100%; padding: 14px; background: #f5a623; color: #07092a; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; transition: background 0.3s; }
.chat-submit-btn:hover { background: #e09612; }
.chat-submit-btn.loading { opacity: 0.7; pointer-events: none; }

.chat-success-msg { background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }

@media (max-width: 480px) {
    .chat-widget-container { bottom: 15px; right: 15px; }
    .chat-widget-toggle { width: 50px; height: 50px; font-size: 22px; }
    .chat-widget-window { width: calc(100vw - 30px); }
    .chat-widget-container.active .chat-widget-window { bottom: 65px; }
    .chat-widget-header { padding: 12px 15px; }
    .chat-widget-body { padding: 15px; gap: 10px; }
    .chat-welcome { padding: 8px 12px; margin-bottom: 10px; font-size: 13px; }
    .chat-form-group { margin-bottom: 8px; }
    .chat-form-group input, .chat-form-group textarea { padding: 10px 12px; font-size: 13px; }
    .chat-submit-btn { padding: 12px; font-size: 14px; }
}
