:root {
    --blue-900: #0c2b6b;
    --blue-800: #123a8c;
    --blue-700: #1746a8;
    --blue-600: #1d5bd6;
    --blue-500: #2b74e6;
    --cyan-400: #3fb8e8;
    --sky-300: #8fd8f2;
    --orange: #f7791f;
    --orange-dark: #e2650c;
    --ink: #0f1b33;
    --slate-600: #4b5875;
    --slate-500: #68748e;
    --slate-400: #8994ab;
    --line: #e7ecf5;
    --surface: #f6f8fc;
    --white: #ffffff;
    --green: #1c9a5b;
    --purple: #7c3aed;
    --red: #e2394b;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(15, 27, 51, .06);
    --shadow-md: 0 10px 30px rgba(15, 27, 51, .10);
    --shadow-lg: 0 24px 60px rgba(12, 43, 107, .18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f8fbff 0%, #f5f7fc 100%);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.6;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 999;
    padding: 10px 14px;
    background: var(--blue-900);
    color: var(--white);
    border-radius: 8px;
}

.skip-link:focus {
    top: 16px;
}

h1,
h2,
h3,
.brand {
    font-family: 'Poppins', sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 3px solid #ffb37a;
    outline-offset: 2px;
}

.btn-orange {
    background: linear-gradient(180deg, #ff9a44, var(--orange));
    color: #fff;
    box-shadow: 0 10px 22px rgba(247, 121, 31, .35);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(247, 121, 31, .45);
}

.btn-outline-white {
    border: 1.5px solid rgba(255, 255, 255, .65);
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-2px);
}

.btn-blue {
    background: var(--blue-600);
    color: #fff;
    box-shadow: 0 8px 18px rgba(29, 91, 214, .28);
}

.btn-blue:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
}

.btn-outline-blue {
    border: 1.5px solid var(--blue-600);
    color: var(--blue-700);
    background: #fff;
}

.btn-outline-blue:hover {
    background: var(--blue-600);
    color: #fff;
}

.btn-orange-solid {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 8px 18px rgba(247, 121, 31, .3);
}

.btn-orange-solid:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 8px 18px rgba(28, 154, 91, .28);
}

.btn-green:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.btn-purple {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 8px 18px rgba(124, 58, 237, .28);
}

.btn-purple:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.btn-red {
    background: linear-gradient(180deg, #f0495c, var(--red));
    color: #fff;
    box-shadow: 0 10px 22px rgba(226, 57, 75, .35);
}

.btn-red:hover {
    transform: translateY(-2px);
}

.btn-wide {
    width: 100%;
}

/* ---------- Navbar ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(12, 43, 107, .03);
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--surface);
    color: var(--blue-700);
    font-size: 20px;
    border: 1px solid var(--line);
    margin-left: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    color: var(--blue-800);
    flex-shrink: 0;
    letter-spacing: -.02em;
}

.brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand small {
    display: block;
    font-size: 7px;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--slate-500);
    margin-top: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    flex-wrap: nowrap;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-600);
    position: relative;
    padding: 2px 0;
    transition: color .15s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--blue-700);
}

.nav-links a.active {
    color: var(--blue-700);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2.5px;
    background: var(--blue-600);
    border-radius: 2px;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
    min-width: 170px;
    color: var(--slate-400);
    font-size: 12px;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.icon-btn {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-600);
    transition: background .15s ease;
    font-size: 12px;
}

.icon-btn:hover {
    background: #eaf0fb;
}

.dot {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    border: 2px solid #fff;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-600);
    color: #fff;
    padding: 8px 12px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 0 8px 18px rgba(29, 91, 214, .3);
    transition: background .15s ease, transform .15s ease;
}

.login-btn:hover {
    background: var(--blue-700);
    transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 6%, rgba(255, 255, 255, .08) 0 250px, transparent 251px),
        radial-gradient(circle at 52% 96%, rgba(255, 255, 255, .06) 0 190px, transparent 191px),
        radial-gradient(circle at 36% 42%, rgba(255, 255, 255, .04) 0 110px, transparent 111px),
        linear-gradient(90deg, #2257b7 0%, #2567c4 45%, #1fa8d8 100%);
    padding: 68px 0 92px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 90%, rgba(255, 255, 255, .05) 0 180px, transparent 181px),
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .04) 0 140px, transparent 141px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .03);
    top: -160px;
    right: -120px;
    filter: blur(1px);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .4px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 50px;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero h1 .accent {
    color: var(--sky-300);
}

.hero-tagline {
    font-size: 20px;
    font-weight: 600;
    margin: 14px 0 12px;
    color: #eaf4ff;
}

.hero p.desc {
    font-size: 15px;
    line-height: 1.7;
    color: #dbe9fb;
    max-width: 520px;
    margin-bottom: 26px;
}

.hero-stats {
    display: flex;
    gap: 22px 26px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.hero-stats .stat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hero-stats .stat .emoji {
    font-size: 18px;
}

.hero-stats .stat b {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.hero-stats .stat span {
    font-size: 12.5px;
    color: #c8def6;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px 34px;
    min-height: 400px;
}

.hero-img-card {
    width: min(100%, 360px);
    max-width: 360px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(12, 43, 107, .2);
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
    position: relative;
    height: 320px;
}

.hero-img-card img {
    width: 100%;
    height: 216px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.float-card {
    position: absolute;
    z-index: 3;
    background: #fff;
    color: var(--ink);
    border-radius: 15px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .18);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 5s ease-in-out infinite;
}

.float-card .fc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.float-card b {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #2357b7;
}

.float-card span {
    font-size: 12px;
    color: #777;
    font-weight: 500;
}

.fc-live {
    top: 12px;
    right: 12px;
}

.fc-live .fc-icon {
    background: #eef1f7;
    color: #2357b7;
}

.fc-assign {
    left: 12px;
    bottom: 0px;
    animation-delay: .6s;
}

.fc-assign .fc-icon {
    background: #e7f8eb;
    color: #4b9f44;
}

.mini-stats {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: calc(100% - 16px);
    max-width: 332px;
}

.mini-stat {
    flex: 1;
    min-height: 40px;
    background: #fff;
    border-radius: 9px;
    padding: 5px 4px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(12, 43, 107, .14);
    font-size: 10.5px;
    font-weight: 700;
    color: #333;
    line-height: 1.15;
}

.mini-stat .mi {
    font-size: 20.5px;
    display: block;
    margin-bottom: 2px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* ---------- Features strip ---------- */
.features {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.feature-card {
    border-radius: 14px;
    padding: 18px 16px;
    border: 1.5px solid rgb(144, 202, 249);
    transition: transform .2s ease, box-shadow .2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(12, 43, 107, .08);
}

.feature-card .f-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 12px;
    color: var(--slate-600);
    line-height: 1.45;
}

.fc-1 {
    background: #eef4ff;
}

.fc-2 {
    background: #eef9fb;
}

.fc-3 {
    background: #fff7eb;
}

.fc-4 {
    background: #edf9f0;
}

.fc-5 {
    background: #fdf2f7;
}

/* ---------- Section heading ---------- */
.section {
    padding: 68px 0;
}

.section.tight-top {
    padding-top: 18px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-700);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 8px;
}

.section-head p {
    color: var(--slate-500);
    font-size: 14px;
    max-width: 520px;
}

/* filter tabs */
.tabs {
    display: flex;
    gap: 10px;
    background: var(--surface);
    padding: 6px;
    border-radius: 12px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.link-list li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px;
}

.link-list li a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 600;
}

.link-list li a:hover {
    color: var(--blue-700);
}

.sitemap-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}

.sitemap-card h2 {
    margin-bottom: 18px;
}

.tabs button {
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-600);
    background: transparent;
    transition: all .15s ease;
}

.tabs button.active {
    background: var(--blue-600);
    color: #fff;
    box-shadow: 0 6px 14px rgba(29, 91, 214, .3);
}

.tabs button:not(.active):hover {
    color: var(--blue-700);
}

/* course cards */
.course-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.course-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(12, 43, 107, .08);
}

.course-thumb {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.course-card:hover .course-thumb img {
    transform: scale(1.04);
}

.badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .3px;
}

.badge-bestseller {
    background: #f7791f;
}

.badge-toprated {
    background: #7c3aed;
}

.badge-new {
    background: #0d9d95;
}

.badge-hot {
    background: #e2394b;
}

.badge-complete {
    background: #1c9a5b;
}

.duration-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(15, 27, 51, .72);
    color: #fff;
    padding: 4px 8px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.course-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--slate-500);
    font-weight: 600;
}

.level-pill {
    background: #eaf2ff;
    color: var(--blue-700);
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.course-title {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-sub {
    font-size: 12px;
    color: var(--slate-500);
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}

.stars {
    color: #f5a623;
}

.rating-count {
    color: var(--slate-400);
    font-weight: 500;
}

.course-instructor {
    font-size: 11px;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
    gap: 8px;
}

.price {
    font-size: 14px;
    font-weight: 800;
    color: var(--blue-800);
}

.price s {
    font-size: 12px;
    color: var(--slate-400);
    font-weight: 500;
    margin-left: 4px;
}

.enroll-btn {
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 11px;
}

.view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

/* ---------- Live classes ---------- */
.live-section {
    background: var(--surface);
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.live-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow .2s ease, transform .2s ease;
    min-height: 210px;
}

.live-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.live-card.is-live {
    border-color: #f6c3ca;
    background: #fff8f8;
}

.live-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}

.live-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.live-meta h3 {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 3px;
}

.live-meta .instr {
    font-size: 11px;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-now-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--red);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: .3px;
}

.pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 1.4s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }

    100% {
        opacity: 1;
    }
}

.live-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--slate-500);
    font-weight: 600;
}

.subject-pill {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.pill-python {
    background: #e6f7ee;
    color: #12805a;
}

.pill-react {
    background: #e6f3ff;
    color: #0f6fd6;
}

.pill-java {
    background: #fff1e0;
    color: #c3620a;
}

.pill-mern {
    background: #eaf7e0;
    color: #3f8a1c;
}

.pill-devops {
    background: #f2e9ff;
    color: #7031d6;
}

.seat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--slate-600);
}

.seat-bar {
    height: 6px;
    border-radius: 999px;
    background: var(--line);
    overflow: hidden;
}

.seat-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
}

.is-live .seat-fill {
    background: linear-gradient(90deg, #ef5164, var(--red));
}

.is-live .seat-row b {
    color: var(--red);
}

/* ---------- Resources ---------- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.res-card {
    border-radius: 16px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.res-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.res-icon {
    font-size: 24px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .65);
    display: flex;
    align-items: center;
    justify-content: center;
}

.res-card h3 {
    font-size: 16px;
    font-weight: 800;
}

.res-card p {
    font-size: 12.5px;
    color: var(--slate-600);
    line-height: 1.5;
}

.res-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 4px 0 8px;
}

.res-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    flex-shrink: 0;
}

.res-1 {
    background: #eaf2ff;
}

.res-1 .check {
    background: #1d5bd6;
}

.res-2 {
    background: #fff2e2;
}

.res-2 .check {
    background: #f7791f;
}

.res-3 {
    background: #e9f9ee;
}

.res-3 .check {
    background: #1c9a5b;
}

.res-4 {
    background: #f5ecff;
}

.res-4 .check {
    background: #7c3aed;
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 0;
    padding: 48px 0;
    background:
        radial-gradient(circle at 82% 6%, rgba(255, 255, 255, .08) 0 250px, transparent 251px),
        radial-gradient(circle at 52% 96%, rgba(255, 255, 255, .06) 0 190px, transparent 191px),
        radial-gradient(circle at 36% 42%, rgba(255, 255, 255, .04) 0 110px, transparent 111px),
        linear-gradient(90deg, #2257b7 0%, #2567c4 45%, #1fa8d8 100%);
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 90%, rgba(255, 255, 255, .05) 0 180px, transparent 181px),
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .04) 0 140px, transparent 141px);
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .03);
    top: -160px;
    right: -120px;
    filter: blur(1px);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta p {
    color: #dcecfb;
    font-size: 14px;
    max-width: 520px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.cta-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-pills span {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 220px;
}

/* ---------- Footer ---------- */
footer {
    background: #0a1a3d;
    color: #c9d5ee;
    padding: 54px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.foot-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.foot-brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 1.6px;
    color: #9fb0d6;
    font-weight: 700;
}

footer p.desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: #a9b8dc;
    margin-bottom: 20px;
    max-width: 280px;
}

.soc-row {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.soc-row a {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    transition: background .15s ease, transform .15s ease;
}

.soc-row a:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 13px;
    color: #a9b8dc;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

footer h4 {
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

footer .flinks {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

footer .flinks a {
    font-size: 14px;
    color: #b7c4e3;
    transition: color .15s ease;
}

footer .flinks a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
    color: #8fa0c9;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom .flinks {
    flex-direction: row;
    gap: 22px;
}

/* ---------- Popup ---------- */
.app-popup-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .75);
    padding: 24px;
    z-index: 9999;
    overflow-y: auto;
}

.app-popup-overlay.active {
    display: flex;
}

.app-popup {
    width: min(100%, 520px);
    background: #ffffff;
    border-radius: 26px;
    padding: 32px 28px;
    box-shadow: 0 36px 90px rgba(15, 23, 42, .18);
    position: relative;
    transform: translateY(30px) scale(.96);
    opacity: 0;
    animation: popup-in .35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes popup-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.app-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(14, 30, 56, .05);
    color: var(--ink);
    font-size: 20px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.app-popup-close:hover {
    background: rgba(14, 30, 56, .12);
    transform: scale(1.05);
}

.app-popup-content {
    display: grid;
    gap: 18px;
    text-align: center;
}

.app-popup-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2257b7 0%, #1fa8d8 100%);
    color: #fff;
    font-size: 30px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
    animation: icon-pop .75s ease-out both;
}

@keyframes icon-pop {
    0% {
        transform: scale(.7);
    }
    60% {
        transform: scale(1.12);
    }
    100% {
        transform: scale(1);
    }
}

.app-popup h2 {
    font-size: 30px;
    margin: 0;
    color: var(--ink);
}

.app-popup p {
    margin: 0 auto;
    max-width: 420px;
    color: var(--slate-600);
    line-height: 1.8;
    font-size: 15px;
}

.app-popup-qr {
    display: grid;
    gap: 14px;
    background: #f6f8fc;
    border-radius: 22px;
    padding: 20px;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.app-popup-qr img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 2px solid rgba(15, 23, 42, .08);
    display: block;
}

.app-popup-qr span {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blue-700);
}

.app-popup .btn-wide {
    width: 100%;
    max-width: none;
    margin: 0;
}

.playstore-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 18px;
    background: #111;
    color: #fff;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.playstore-badge:hover {
    background: #1c1c1c;
    transform: translateY(-1px);
}

.playstore-badge .playstore-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #34a853 0%, #4285f4 100%);
    color: #fff;
    font-size: 16px;
}

/* ---------- Blog page ---------- */
.blog-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #eef6ff 0%, #fef7ed 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 22px;
    margin-bottom: 24px;
}

.blog-highlight strong {
    display: block;
    font-size: 13px;
    color: var(--blue-700);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.blog-highlight p {
    color: var(--slate-600);
    font-size: 14px;
    max-width: 700px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.blog-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blue-700);
    letter-spacing: .8px;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
}

.blog-card p {
    font-size: 13px;
    color: var(--slate-600);
    line-height: 1.65;
}

/* ---------- Article pages ---------- */
.article-shell {
    padding-top: 24px;
}

.article-wrap {
    max-width: 980px;
}

.breadcrumb {
    margin-bottom: 18px;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-700);
    font-weight: 600;
    font-size: 14px;
}

.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.article-content {
    padding: 28px 28px 36px;
}

.article-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 10px 0 8px;
    color: var(--ink);
}

.article-meta {
    color: var(--slate-500);
    font-size: 13px;
    margin-bottom: 18px;
}

.article-content p {
    font-size: 15px;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 14px;
}

.article-content h2 {
    font-size: 20px;
    margin: 22px 0 8px;
    color: var(--ink);
}

.article-content h3 {
    font-size: 17px;
    margin: 18px 0 8px;
    color: var(--ink);
}

.article-list {
    padding-left: 20px;
    margin: 10px 0 16px;
    color: var(--slate-600);
}

.article-list li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.article-tags span {
    background: #eef4ff;
    color: var(--blue-700);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width:1100px) {
    .nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        order: 4;
        padding: 16px 0 8px;
        border-top: 1px solid var(--line);
        margin-top: 8px;
    }

    .nav-links.open a {
        width: 100%;
        padding: 8px 0;
    }

    .nav-search {
        display: none;
    }

    .nav-icons {
        margin-left: 0;
    }

    .nav-icons .icon-btn {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width:900px) {
    .hero {
        padding: 60px 0 90px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-stats {
        gap: 20px 24px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-grid {
        grid-template-columns: 1fr 1fr;
    }

    .live-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:640px) {

    .wrap,
    .nav {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav {
        align-items: center;
    }

    .nav-icons {
        gap: 8px;
        margin-left: auto;
    }

    .login-btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .hero {
        padding: 48px 0 72px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .hero p.desc {
        font-size: 15px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        justify-content: center;
    }

    .hero-img-card img {
        height: 300px;
    }

    .float-card {
        position: static;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
        animation: none;
    }

    .mini-stats {
        position: static;
        margin-top: 16px;
        flex-direction: column;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 14px 0;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tabs button {
        flex: 1 1 calc(50% - 6px);
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .course-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom .flinks {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width:420px) {
    .nav-icons {
        gap: 10px;
    }

    .icon-btn {
        width: 34px;
        height: 34px;
    }

    .login-btn {
        padding: 10px 14px;
    }

    .course-body {
        padding: 16px;
    }

    .feature-card,
    .live-card,
    .res-card {
        padding: 20px;
    }
}
/* ===================== Inner-page additions (About / Contact / Courses / Live) ===================== */

.page-banner {
    padding: 56px 0 12px;
}

.page-banner .eyebrow {
    margin-bottom: 10px;
}

.page-banner h1 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 10px;
}

.page-banner p {
    color: var(--slate-500);
    font-size: 15px;
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--slate-500);
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--blue-700);
    font-weight: 600;
}

/* about page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-grid img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-card img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
}

.team-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin-bottom: 2px;
}

.team-card span {
    font-size: 12px;
    color: var(--blue-700);
    font-weight: 600;
}

.team-card p {
    font-size: 12.5px;
    color: var(--slate-600);
    margin-top: 8px;
    line-height: 1.5;
}

/* contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: start;
}

.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    background: var(--surface);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(43, 116, 230, .15);
    background: #fff;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px;
}

.info-card .f-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: var(--surface);
    color: var(--blue-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.info-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    margin-bottom: 4px;
}

.info-card p {
    font-size: 13px;
    color: var(--slate-600);
}

.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-top: 14px;
    height: 220px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 980px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .value-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}
