:root {
    --ink: #111827;
    --muted: #667085;
    --line: #e5e7eb;
    --blue: #1155cc;
    --teal: #0f9f8f;
    --lime: #c7f04b;
    --orange: #ff8a3d;
    --paper: #fbfcff;
    --dark: #07111f;
    --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(18px, 4vw, 56px);
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(18px);
}
.site-header.solid { position: sticky; background: #fff; border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; }
.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--dark);
    color: var(--lime);
    border-radius: var(--radius);
}
.nav { display: flex; align-items: center; gap: 24px; font-weight: 700; color: #1f2937; }
.nav-cta {
    padding: 11px 16px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
}
.nav-toggle { display: none; }

.hero {
    min-height: 92vh;
    display: grid;
    align-items: end;
    padding: 128px clamp(18px, 6vw, 76px) 42px;
    position: relative;
    overflow: hidden;
    background: #0a1422;
    color: #fff;
}
.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,17,31,.92) 0%, rgba(7,17,31,.75) 46%, rgba(7,17,31,.25) 100%),
        url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero-content { position: relative; max-width: 860px; }
.eyebrow {
    color: var(--teal);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
}
.hero .eyebrow { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(52px, 8vw, 112px); line-height: .9; margin-bottom: 24px; letter-spacing: 0; }
h2 { font-size: clamp(31px, 4vw, 56px); line-height: 1; letter-spacing: 0; margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.2; }
.hero p:not(.eyebrow) { max-width: 700px; font-size: clamp(18px, 2vw, 24px); color: #dbe5f5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 0;
    border-radius: var(--radius);
    font-weight: 850;
    cursor: pointer;
}
.btn.primary { background: var(--lime); color: #07111f; }
.btn.ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.trust-strip span {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius);
    background: rgba(255,255,255,.08);
}

.section { padding: 86px clamp(18px, 6vw, 76px); }
.section-heading { max-width: 720px; margin-bottom: 32px; }
.section-heading.wide { max-width: 940px; }
.intro-band { background: #fff; }
.advantage-grid, .category-grid, .course-grid, .detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.advantage-grid article,
.advantage-grid a,
.category-card,
.course-card,
.detail-grid article,
.lead-form,
.login-card,
.admin-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 18px 45px rgba(17,24,39,.06);
}
.advantage-grid a { color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.advantage-grid a:hover { transform: translateY(-4px); box-shadow: 0 22px 52px rgba(6,78,59,.12); }
.advantage-grid span { color: var(--orange); font-weight: 900; }
.category-card { min-height: 250px; display: flex; flex-direction: column; }
.category-card .icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #eaf7f4;
    color: #087b70;
    border-radius: var(--radius);
    font-weight: 900;
    margin-bottom: 18px;
}
.category-card p, .course-card p, .detail-grid p { color: var(--muted); }
.category-card a, .course-card a { margin-top: auto; color: var(--blue); font-weight: 850; }

.split-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 36px;
    background: #eef7f5;
}
.process-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}
.process-list div {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #d8ece8;
    border-radius: var(--radius);
    padding: 18px;
    font-weight: 850;
}
.process-list span { color: var(--teal); }
.courses-section { background: #f6f8fb; }
.course-card span {
    display: block;
    color: #0f766e;
    font-weight: 850;
    margin-bottom: 12px;
}
.vendor-band { background: var(--dark); color: #fff; }
.vendor-list { display: flex; flex-wrap: wrap; gap: 12px; }
.vendor-list span {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-weight: 850;
}
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .6fr);
    gap: 34px;
    align-items: start;
    background:
        linear-gradient(90deg, rgba(251,252,255,.98), rgba(251,252,255,.9)),
        url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1400&q=80") center/cover;
}
.contact-points p { margin-bottom: 10px; color: var(--muted); }
label { display: grid; gap: 8px; color: #344054; font-weight: 800; margin-bottom: 14px; }
input, select, textarea {
    width: 100%;
    border: 1px solid #cfd6df;
    border-radius: var(--radius);
    padding: 13px 14px;
    font: inherit;
    background: #fff;
}
.success { border: 1px solid #7bd9aa; background: #ecfff5; color: #087443; padding: 12px; border-radius: var(--radius); margin-bottom: 16px; }

.chat-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1001;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 18px 38px rgba(17,85,204,.35);
    cursor: pointer;
}
.chatbot {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 1000;
    width: min(420px, calc(100vw - 32px));
    height: min(480px, calc(100vh - 150px));
    display: none;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(17,24,39,.2);
}
body.chat-lock { overflow: hidden; }
.chatbot::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.chatbot.open { display: flex; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(135deg,#0f766e,#14b8a6,#f97316); color: #fff; }
.chat-head div { flex: 1; display: grid; gap: 2px; }
.chat-head small { font-weight: 700; opacity: .9; }
.chat-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.22);
    font-weight: 950;
}
.chat-head button { border: 0; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.chat-messages { flex: 1; overflow: auto; padding: 16px; display: grid; align-content: start; gap: 10px; background: #f7fafc; }
.chat-messages.lead-mode { display: none; }
.chat-messages p { margin: 0; padding: 10px 12px; border-radius: var(--radius); max-width: 88%; }
.chat-messages .bot { background: #fff; border: 1px solid var(--line); }
.chat-messages .user { margin-left: auto; background: #dbeafe; }
.quick-courses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.quick-courses button {
    border: 1px solid #99f6e4;
    background: linear-gradient(135deg,#ecfdf5,#eef2ff);
    color: #064e3b;
    border-radius: 999px;
    padding: 8px 10px;
    font-weight: 900;
    cursor: pointer;
}
.quick-courses button:nth-child(2n) { border-color: #fed7aa; color: #9a3412; background: #fff7ed; }
.quick-courses button:nth-child(3n) { border-color: #fbcfe8; color: #9d174d; background: #fdf2f8; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form.hidden { display: none; }
.chat-form button { border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; padding: 0 14px; font-weight: 800; }
.chat-form .chat-cancel { background: #fff; color: #b42318; border: 1px solid #fda29b; }
.chat-lead-toggle {
    width: fit-content;
    border: 0;
    border-radius: 8px;
    background: #10b981;
    color: #fff;
    padding: 10px 12px;
    font-weight: 900;
    cursor: pointer;
}
.chat-lead-form {
    display: none;
    flex: 1;
    overflow: auto;
    padding: 14px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}
.chat-lead-form.open { display: block; }
.chat-lead-form label {
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
}
.chat-lead-form input,
.chat-lead-form select,
.chat-lead-form textarea {
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 11px;
    background: #fff;
    font-size: 14px;
    outline: none;
}
.chat-lead-form input:focus,
.chat-lead-form select:focus,
.chat-lead-form textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,.16);
}
.chat-lead-actions {
    position: sticky;
    bottom: -14px;
    display: grid;
    grid-template-columns: 1fr 96px;
    gap: 8px;
    padding-top: 10px;
    background: #f8fafc;
}
.chat-lead-actions button {
    min-height: 42px;
    border-radius: 8px;
    border: 0;
    font-weight: 900;
    cursor: pointer;
}
.chat-lead-actions button:first-child { background: #052e1f; color: #fff; }
.chat-lead-actions button:last-child { background: #fff; color: #b42318; border: 1px solid #fda29b; }

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px clamp(18px, 6vw, 76px);
    background: #fff;
    border-top: 1px solid var(--line);
}
.footer p { margin: 0; color: var(--muted); }
.footer a { color: var(--blue); font-weight: 850; }

.detail-page { background: #f7fafc; min-height: 80vh; padding-top: 114px; }
.detail-hero {
    padding: 86px clamp(18px, 6vw, 76px) 56px;
    background: #07111f;
    color: #fff;
}
.detail-hero h1 { font-size: clamp(42px, 6vw, 82px); }
.detail-hero p { max-width: 820px; color: #d9e2f1; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.detail-meta span { padding: 10px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); }

.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #f6f8fb; }
.admin-sidebar { background: #07111f; color: #fff; padding: 24px; }
.admin-sidebar a { display: block; padding: 12px 0; color: #dce8f7; font-weight: 800; }
.admin-main { padding: 28px; overflow: auto; }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.admin-card strong { display: block; font-size: 34px; }
.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f1f5f9; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.small-btn { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 8px 10px; font-weight: 800; cursor: pointer; }
.danger { color: #b42318; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: #07111f; }
.login-card { width: min(420px, 100%); }

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 10px 12px; font-weight: 850; }
    .nav {
        position: absolute;
        top: 76px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 12px;
        max-height: calc(100vh - 130px);
        overflow: auto;
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px; }
    .advantage-grid, .category-grid, .course-grid, .detail-grid, .split-section, .contact-section, .admin-grid, .admin-shell {
        grid-template-columns: 1fr;
    }
    .admin-sidebar { position: static; }
}

@media (max-width: 560px) {
    .site-header { height: 68px; padding: 0 14px; }
    .hero { min-height: 92vh; padding: 110px 18px 28px; }
    .hero-actions .btn { width: 100%; }
    .trust-strip span { width: 100%; }
    .section { padding: 58px 18px; }
    .process-list { grid-template-columns: 1fr; }
    .footer { flex-direction: column; }
    .brand span:last-child { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Education portal refresh */
.topbar {
    position: fixed;
    z-index: 70;
    top: 0;
    left: 0;
    right: 0;
    height: 38px;
    display: flex;
    justify-content: center;
    gap: 28px;
    align-items: center;
    background: #101b4d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: transform .22s ease, opacity .22s ease;
}
.topbar a { color: #fff; }
.topbar span { display: inline-flex; align-items: center; min-height: 28px; }
.edu-header { top: 38px; z-index: 69; background: rgba(255,255,255,.96); border-bottom: 1px solid #eef0f5; }
body.topbar-hidden .topbar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
body.topbar-hidden .edu-header { top: 0; }
.edu-header.solid { top: 0; }
.logo-brand img { width: min(245px, 48vw); height: auto; display: block; }
.edu-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: calc(100vh - 38px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .75fr);
    align-items: center;
    gap: 42px;
    padding: 156px clamp(18px, 6vw, 78px) 112px;
    background: #052e1f;
}
.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.hero-bg-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(5,23,34,.9) 0%, rgba(5,46,31,.72) 48%, rgba(5,46,31,.18) 100%),
        linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.35));
}
.hero-bg-slider span {
    position: absolute;
    inset: -4%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.05) translateX(0);
    animation: hero-bg-fade 18s ease-in-out infinite;
}
.hero-bg-slider span:nth-child(2) { animation-delay: 6s; }
.hero-bg-slider span:nth-child(3) { animation-delay: 12s; }
.edu-hero-copy,
.hero-course-stack {
    position: relative;
    z-index: 1;
}
@keyframes hero-bg-fade {
    0% { opacity: 0; transform: scale(1.06) translateX(28px); }
    8% { opacity: 1; }
    33% { opacity: 1; transform: scale(1.13) translateX(-28px); }
    43% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.06) translateX(28px); }
}
.edu-hero h1 {
    font-size: clamp(44px, 6vw, 82px);
    line-height: .98;
    color: #fff;
    text-shadow: 0 10px 32px rgba(0,0,0,.28);
}
.edu-hero-copy > p:not(.eyebrow) {
    max-width: 710px;
    color: rgba(255,255,255,.9);
    font-size: 20px;
}
.edu-hero .eyebrow {
    width: fit-content;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 999px;
    background: rgba(7,17,31,.28);
    color: #facc15;
}
.btn.soft { background: #243b8f; color: #fff; }
.stat-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stat-row span {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    color: #fff;
    padding: 13px 15px;
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
    backdrop-filter: blur(12px);
}
.hero-course-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
    transform: translateY(18px);
}
.hero-course-stack article,
.hero-course-stack a {
    min-height: 185px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 8px;
    padding: 22px;
    display: grid;
    align-content: center;
    justify-items: start;
    box-shadow: 0 24px 60px rgba(30,46,90,.12);
}
.hero-course-stack a { transition: transform .2s ease, box-shadow .2s ease; }
.hero-course-stack a:nth-child(odd) { animation: hero-card-float 5.5s ease-in-out infinite; }
.hero-course-stack a:nth-child(even) { animation: hero-card-float 5.5s ease-in-out infinite 1.2s; }
.hero-course-stack a:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(6,78,59,.16); }
@keyframes hero-card-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}
.hero-course-stack img { height: 54px; max-width: 110px; object-fit: contain; margin-bottom: 18px; }
.hero-course-stack strong { font-size: 22px; color: #071133; }
.hero-course-stack span { color: #697895; font-weight: 800; }
.mode-strip {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    padding: 24px clamp(18px, 6vw, 78px);
    background: transparent;
    transform: translateY(-62px);
    margin-bottom: -62px;
}
.mode-strip div {
    min-height: 84px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    font-weight: 900;
    text-align: center;
    padding: 16px;
}
.mode-strip div:nth-child(1) { background: linear-gradient(135deg,#25b6d2,#42d694); }
.mode-strip div:nth-child(2) { background: linear-gradient(135deg,#ff5c35,#f9bb45); }
.mode-strip div:nth-child(3) { background: linear-gradient(135deg,#6968e8,#8a35a7); }
.mode-strip div:nth-child(4) { background: linear-gradient(135deg,#212b36,#667585); }
.certificate-logo-section {
    overflow: hidden;
    padding: 52px clamp(18px, 6vw, 78px);
    background: #fff;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}
.certificate-logo-title { margin-bottom: 22px; }
.certificate-logo-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.certificate-logo-marquee::before,
.certificate-logo-marquee::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: min(120px, 16vw);
    pointer-events: none;
}
.certificate-logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}
.certificate-logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #fff, rgba(255,255,255,0));
}
.certificate-logo-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: certificate-right-to-left 130s linear infinite;
}
.certificate-logo-marquee:hover .certificate-logo-track { animation-play-state: paused; }
.certificate-logo-card {
    flex: 0 0 168px;
    min-height: 148px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    text-align: center;
    background: #fff;
    border: 1px solid #d9fbe8;
    border-radius: 8px;
    padding: 16px 14px;
    box-shadow: 0 16px 34px rgba(6,78,59,.08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.certificate-logo-card:hover {
    transform: translateY(-4px);
    border-color: #86efac;
    box-shadow: 0 22px 46px rgba(6,78,59,.14);
}
.certificate-logo-mark {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef2f7;
}
.certificate-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.certificate-logo-card strong {
    max-width: 100%;
    color: #07132d;
    font-size: 16px;
    line-height: 1.15;
}
.certificate-logo-card small {
    color: #667085;
    font-weight: 800;
    line-height: 1.2;
}
@keyframes certificate-right-to-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.section-title-line {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 22px;
    margin-bottom: 30px;
}
.section-title-line h2 { margin-bottom: 8px; color: #071133; }
.section-title-line p { color: #667085; max-width: 800px; }
.view-link {
    flex: 0 0 auto;
    background: #f2f4f8;
    padding: 15px 28px;
    border-radius: 8px;
    font-weight: 900;
    color: #10236d;
}
.old-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}
.old-category {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    border-radius: 6px;
    padding: 20px 26px;
    font-size: 18px;
    box-shadow: 0 18px 38px rgba(16,35,109,.12);
}
.old-category span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.18);
    border-radius: 8px;
    font-weight: 950;
}
.old-category .cat-thumb {
    width: 56px;
    height: 56px;
    overflow: hidden;
    background: rgba(255,255,255,.22);
    flex: 0 0 auto;
}
.old-category .cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.grad-a { background: linear-gradient(135deg,#2eb4d6,#39d39a); }
.grad-b { background: linear-gradient(135deg,#f15b21,#f6b447); }
.grad-c { background: linear-gradient(135deg,#ff5f6c,#ff8352); }
.grad-d { background: linear-gradient(135deg,#31c58e,#0c9c66); }
.grad-e { background: linear-gradient(135deg,#48b542,#d2ea17); }
.grad-f { background: linear-gradient(135deg,#6654dc,#8337a7); }
.grad-g { background: linear-gradient(135deg,#34404c,#687485); }
.grad-h { background: linear-gradient(135deg,#31afe3,#1e66ce); }
.grad-i { background: linear-gradient(135deg,#e55d87,#d46751); }
.catalog-section { background: #f6f8fc; }
.mega-catalog { display: grid; gap: 22px; }
.main-family {
    border-radius: 8px;
    padding: 28px;
    color: #fff;
    box-shadow: 0 24px 54px rgba(16,35,109,.13);
}
.main-family h3 { font-size: 30px; margin-bottom: 22px; }
.main-family.cyan { background: linear-gradient(135deg,#123c8c,#12b7a6); }
.main-family.orange { background: linear-gradient(135deg,#872d10,#f49e2f); }
.main-family.rose { background: linear-gradient(135deg,#9f1d4f,#ff7559); }
.main-family.purple { background: linear-gradient(135deg,#2d247a,#8a43c3); }
.sub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}
.sub-box {
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 8px;
    padding: 14px;
    color: #0f172a;
    box-shadow: 0 18px 36px rgba(15,23,42,.12);
}
.sub-box h4 { margin: 14px 0 8px; font-size: 20px; color: #052e1f; }
.sub-box h4 a { color: inherit; }
.sub-box p { color: #475467; font-size: 14px; margin-bottom: 14px; }
.sub-image {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}
.sub-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .25s ease;
}
.sub-image:hover img { transform: scale(1.04); }
.mini-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-list a {
    background: rgba(15,118,110,.1);
    color: #064e3b;
    border: 1px solid rgba(15,118,110,.16);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 800;
}
.featured-courses { background: #fff; }
.course-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.ribbon-course {
    min-height: 280px;
    color: #fff;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.ribbon-course span { font-weight: 900; opacity: .9; }
.ribbon-course h3 { margin: 18px 0 12px; }
.ribbon-course p { color: rgba(255,255,255,.88); }
.ribbon-course a { margin-top: auto; font-weight: 950; }
.pro-course-card {
    padding: 0;
    overflow: hidden;
    background: #fff !important;
    color: #07132d;
    border: 1px solid #d9fbe8;
    box-shadow: 0 20px 48px rgba(6,78,59,.1);
}
.pro-course-card .course-image-link {
    display: block;
    height: 180px;
    margin: 0;
    overflow: hidden;
}
.pro-course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.pro-course-card:hover img { transform: scale(1.05); }
.pro-course-card div { padding: 22px; display: flex; flex: 1; flex-direction: column; }
.pro-course-card span { color: #0f766e; }
.pro-course-card h3 { color: #07132d; }
.pro-course-card p { color: #475467; }
.pro-course-card .course-explore {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    background: #ecfdf5;
    color: #064e3b;
    border-radius: 8px;
    padding: 10px 13px;
}
.difference .advantage-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.quick-services { background: #101b4d; color: #fff; }
.quick-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 12px;
}
.quick-grid a {
    min-height: 76px;
    display: grid;
    place-items: center;
    text-align: center;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    padding: 14px;
    font-weight: 900;
}
.testimonials-section {
    overflow: hidden;
    background: #fff;
}
.testimonial-marquee {
    overflow: hidden;
    width: 100%;
}
.testimonial-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: testimonials-right-to-left 34s linear infinite;
}
.testimonial-marquee:hover .testimonial-track { animation-play-state: paused; }
.testimonial-card {
    flex: 0 0 clamp(280px, 31vw, 430px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 230px;
    padding: 24px;
    background: #fff;
    border: 1px solid #d9fbe8;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(6,78,59,.08);
}
.testimonial-head {
    display: flex;
    align-items: center;
}
.testimonial-head h3 {
    margin-bottom: 6px;
    color: #052e1f;
    font-size: 21px;
}
.testimonial-head span {
    color: #475467;
    font-weight: 800;
}
.testimonial-card .stars {
    color: #f59e0b;
    letter-spacing: 0;
    font-size: 18px;
    line-height: 1;
}
.testimonial-card p {
    color: #344054;
    margin: 0;
}
@keyframes testimonials-right-to-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.edu-contact { background: #f6f8fc; }
.enquiry-card { border-top: 5px solid #243b8f; }
.edu-footer {
    background: #071133;
    color: #d9e2f7;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 30px;
    padding: 58px clamp(18px,6vw,78px);
}
.footer-logo { width: min(250px, 70vw); background: #fff; border-radius: 8px; padding: 10px; margin-bottom: 16px; }
.footer-main h3 { color: #fff; font-size: 20px; }
.footer-main a { display: block; padding: 5px 0; color: #d9e2f7; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(18px,6vw,78px);
    border-top: 1px solid rgba(255,255,255,.12);
}
.policy-page {
    min-height: 82vh;
    padding: 110px clamp(18px, 6vw, 78px);
    background: #f6f8fc;
}
.policy-card, .payment-card {
    max-width: 900px;
    background: #fff;
    border: 1px solid #e5eaf5;
    border-radius: 8px;
    padding: clamp(24px, 5vw, 54px);
    box-shadow: 0 24px 60px rgba(30,46,90,.1);
}
.policy-card h1, .payment-card h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1; }
.pay-placeholder {
    display: grid;
    gap: 8px;
    background: #eef7ff;
    border: 1px dashed #1e66ce;
    border-radius: 8px;
    padding: 22px;
    margin: 24px 0;
}

@media (max-width: 1020px) {
    .edu-hero, .contact-section, .footer-main { grid-template-columns: 1fr; }
    .sub-grid, .old-category-grid, .course-ribbon-grid, .difference .advantage-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .quick-grid, .mode-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
    .topbar { height: auto; flex-direction: column; gap: 4px; padding: 8px 12px; }
    .edu-header { top: 58px; }
    .edu-hero { grid-template-columns: 1fr; padding-top: 150px; }
    .hero-course-stack, .sub-grid, .old-category-grid, .course-ribbon-grid, .difference .advantage-grid, .quick-grid, .mode-strip { grid-template-columns: 1fr; }
    .certificate-logo-section { padding: 38px 18px; }
    .certificate-logo-card { flex-basis: 142px; min-height: 132px; padding: 14px 12px; }
    .certificate-logo-mark { width: 64px; height: 64px; }
    .section-title-line, .footer-bottom { align-items: start; flex-direction: column; }
}

/* White + green final theme */
:root {
    --green: #059669;
    --green-dark: #064e3b;
    --green-soft: #ecfdf5;
    --green-line: #bbf7d0;
    --navy: #0b1533;
}
body { background: #fff; color: #07132d; }
.green-topbar {
    background: #fff;
    color: #2b2140;
    border-bottom: 1px solid #edf0f5;
}
.green-topbar a { color: #2b2140; }
.green-topbar span:not(.top-socials)::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e92b8a;
    margin-right: 8px;
}
.green-topbar span:last-child {
    color: #064e3b;
    font-weight: 900;
}
.green-topbar span:last-child::before { background: #10b981; }
.top-socials, .footer-socials { display: inline-flex; gap: 8px; align-items: center; }
.top-socials a, .footer-socials a {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 950;
    font-size: 12px;
}
.social-icon svg { width: 14px; height: 14px; fill: currentColor; }
.footer-socials .social-icon { width: 34px; height: 34px; }
.footer-socials .social-icon svg { width: 17px; height: 17px; }
.social-icon.facebook { background: #1877f2; }
.social-icon.twitter { background: #111827; }
.social-icon.youtube { background: #ff0033; }
.social-icon.linkedin { background: #0a66c2; }
.social-icon.instagram { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.edu-header { box-shadow: 0 10px 28px rgba(15, 23, 42, .06); }
.nav a.active, .nav a:hover { color: var(--green); }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; min-height: 76px; }
.nav-dropdown > a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-top: -4px;
}
.mega-menu {
    position: fixed;
    z-index: 80;
    top: 114px;
    left: clamp(18px, 6vw, 78px);
    right: clamp(18px, 6vw, 78px);
    display: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(15,23,42,.18);
    padding: 26px;
    max-height: min(70vh, 620px);
    overflow: auto;
}
.nav-dropdown.mega-open .mega-menu { display: block; }
.mega-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
}
.mega-head strong { color: #052e1f; font-size: 20px; }
.mega-head a { color: #0f766e; font-weight: 900; }
.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.mega-grid a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    color: #123;
    font-weight: 850;
    line-height: 1.25;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.mega-grid a:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15,23,42,.08);
}
.mega-grid a:nth-child(4n+1) { border-left: 4px solid #14b8a6; }
.mega-grid a:nth-child(4n+2) { border-left: 4px solid #f97316; }
.mega-grid a:nth-child(4n+3) { border-left: 4px solid #6366f1; }
.mega-grid a:nth-child(4n+4) { border-left: 4px solid #ec4899; }
.nav-cta { background: var(--green-dark); }
.btn.primary { background: #22c55e; color: #052e1f; }
.btn.soft { background: var(--green-dark); }
.edu-hero {
    background: #052e1f;
}
.hero-course-stack article, .hero-course-stack a { border-color: var(--green-line); }
.mode-strip div:nth-child(1),
.mode-strip div:nth-child(2),
.mode-strip div:nth-child(3),
.mode-strip div:nth-child(4) { background: linear-gradient(135deg,#047857,#34d399); }
.ai-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 38px;
}
.ai-banner-grid article {
    position: relative;
    min-height: 285px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 22px 50px rgba(6,78,59,.16);
}
.ai-banner-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.ai-banner-grid article::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,78,59,.15), rgba(6,78,59,.92));
}
.ai-banner-grid div {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
    bottom: 18px;
}
.ai-banner-grid h3 { margin-bottom: 8px; }
.ai-banner-grid p { margin: 0; color: rgba(255,255,255,.88); }
.quick-services { background: linear-gradient(135deg,#052e1f,#0f766e); }
.old-category:nth-child(6n+1), .ribbon-course:nth-child(6n+1) { background: linear-gradient(135deg,#0ea5e9,#10b981); }
.old-category:nth-child(6n+2), .ribbon-course:nth-child(6n+2) { background: linear-gradient(135deg,#f97316,#facc15); }
.old-category:nth-child(6n+3), .ribbon-course:nth-child(6n+3) { background: linear-gradient(135deg,#ef4444,#fb7185); }
.old-category:nth-child(6n+4), .ribbon-course:nth-child(6n+4) { background: linear-gradient(135deg,#10b981,#047857); }
.old-category:nth-child(6n+5), .ribbon-course:nth-child(6n+5) { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.old-category:nth-child(6n+6), .ribbon-course:nth-child(6n+6) { background: linear-gradient(135deg,#334155,#0f766e); }
.main-family.cyan { background: linear-gradient(135deg,#0f766e,#0ea5e9); }
.main-family.orange { background: linear-gradient(135deg,#c2410c,#f59e0b); }
.main-family.rose { background: linear-gradient(135deg,#be123c,#fb7185); }
.main-family.purple { background: linear-gradient(135deg,#4f46e5,#9333ea); }
.catalog-section, .edu-contact, .policy-page, .detail-page { background: #f7fef9; }
.view-link { color: var(--green-dark); background: #ecfdf5; }
.quick-services { color: #fff; }
.green-footer { background: #052e1f; }
.floating-ai { background: linear-gradient(135deg,#0ea5e9,#10b981,#f97316,#ec4899); box-shadow: 0 18px 38px rgba(236,72,153,.28); }

.inner-page { padding-top: 114px; background: #fff; }
.visual-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 36px;
    align-items: center;
    padding: 72px clamp(18px, 6vw, 78px);
}
.green-visual {
    background:
        radial-gradient(circle at 12% 10%, rgba(34,197,94,.14), transparent 34%),
        linear-gradient(135deg, #ffffff, #ecfdf5);
}
.visual-hero h1, .page-title h1 {
    font-size: clamp(40px, 5.8vw, 78px);
    line-height: 1;
    color: #07132d;
}
.visual-hero p { max-width: 760px; color: #475467; font-size: 19px; }
.visual-hero img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(6,78,59,.18);
}
.page-title {
    padding: 72px clamp(18px, 6vw, 78px) 34px;
    background: linear-gradient(135deg,#fff,#ecfdf5);
}
.page-title p { max-width: 820px; color: #475467; font-size: 19px; }
.centered-title { text-align: center; }
.centered-title p { margin-left: auto; margin-right: auto; }
.section-tight { padding: 34px clamp(18px, 6vw, 78px) 86px; }
.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    padding: 72px clamp(18px, 6vw, 78px);
}
.rich-content {
    background: #fff;
    border: 1px solid #d9fbe8;
    border-radius: 8px;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 18px 45px rgba(6,78,59,.08);
}
.rich-content h2 { font-size: clamp(28px, 3vw, 42px); color: #052e1f; margin-top: 22px; }
.rich-content p { color: #344054; font-size: 17px; }
.check-list { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.check-list li {
    padding: 12px 14px 12px 44px;
    border-radius: 8px;
    background: #ecfdf5;
    position: relative;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    color: var(--green);
    font-weight: 950;
}
.side-panel {
    position: sticky;
    top: 104px;
    align-self: start;
    background: #052e1f;
    color: #fff;
    border-radius: 8px;
    padding: 22px;
}
.side-panel a {
    display: block;
    color: #fff;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    font-weight: 850;
}
.image-side img { width: 100%; border-radius: 8px; margin-bottom: 16px; }
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}
.image-card, .blog-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9fbe8;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(6,78,59,.08);
}
.image-card img, .blog-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.image-card div, .blog-card div { padding: 22px; }
.image-card h2, .blog-card h2 { font-size: 24px; color: #052e1f; }
.blog-card span { color: var(--green); font-weight: 900; }
.blog-card a { color: var(--green-dark); font-weight: 950; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
    padding: 34px clamp(18px, 6vw, 78px);
    background: #fff;
}
.stats-strip article {
    text-align: center;
    border: 1px solid #d9fbe8;
    border-radius: 8px;
    padding: 28px;
    background: #f7fef9;
}
.stats-strip strong { display: block; font-size: 38px; color: var(--green-dark); }
.stats-strip span { color: #475467; }
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}
.contact-info-grid article {
    background: #fff;
    border: 1px solid #d9fbe8;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(6,78,59,.08);
}
.contact-info-grid strong { font-size: 22px; color: #052e1f; }
.contact-map-wrap { padding: 0 clamp(18px, 6vw, 78px) 54px; }
.contact-map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(6,78,59,.12);
}
.payment-logo, .login-logo {
    width: min(260px, 70vw);
    display: block;
    margin-bottom: 24px;
}
.payment-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cancel-btn {
    background: #fff;
    color: #b42318;
    border: 1px solid #fda29b;
}
.payment-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.95)),
        url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1200&q=80") center/cover;
}
.pay-placeholder { background: #ecfdf5; border-color: #86efac; }
.compact-form {
    margin-top: 18px;
    box-shadow: none;
    border-color: #d9fbe8;
}
.category-listing { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cert-list-card .light-mini { margin: 12px 0 18px; }
.light-mini span,
.light-mini a {
    display: inline-flex;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 850;
}
.sub-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
    margin-top: 18px;
}
.sub-detail-grid section {
    border: 1px solid #d9fbe8;
    border-radius: 8px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 14px 32px rgba(6,78,59,.08);
}
.sub-detail-grid h3 { color: #052e1f; font-size: 20px; }
.sub-detail-grid h3 a { color: inherit; }
.sub-detail-grid p { color: #475467; font-size: 14px; }

@media (max-width: 1080px) {
    .ai-banner-grid, .listing-grid, .blog-grid, .stats-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .content-layout, .visual-hero { grid-template-columns: 1fr; }
    .side-panel { position: static; }
}

@media (max-width: 660px) {
    .inner-page { padding-top: 138px; }
    .ai-banner-grid, .listing-grid, .blog-grid, .stats-strip, .contact-info-grid { grid-template-columns: 1fr; }
    .visual-hero, .page-title, .content-layout { padding-left: 18px; padding-right: 18px; }
    .top-socials { display: none; }
    .mega-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding: 14px;
        margin-top: 8px;
    }
    .nav-dropdown.mega-open .mega-menu { display: block; }
    .mega-grid, .category-listing, .sub-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .topbar {
        display: none;
    }
    .edu-header,
    .site-header {
        top: 0;
        position: sticky;
        height: auto;
        min-height: 72px;
        padding: 10px 14px;
    }
    .logo-brand img { width: min(220px, 58vw); }
    .edu-hero {
        min-height: auto;
        padding: 96px 18px 92px;
    }
    .mode-strip {
        transform: translateY(-42px);
        margin-bottom: -42px;
    }
    .edu-hero h1,
    h1 {
        font-size: clamp(40px, 13vw, 64px);
        line-height: 1.02;
    }
    .section { padding: 48px 18px; }
    .old-category {
        padding: 14px;
        min-height: 74px;
    }
    .old-category strong { font-size: 15px; }
    .chatbot {
        left: 10px;
        right: 10px;
        top: 10px;
        bottom: 10px;
        width: auto;
        height: auto;
        max-height: calc(100vh - 20px);
    }
    .chat-form {
        display: grid;
        grid-template-columns: 1fr;
    }
    .chat-form button { min-height: 42px; }
}
