/* =============================================================================
   NSeduZone public site - friendly, mobile-first design system (kids 7-12 & parents)
   Loaded by resources/views/frontend/layouts/app.blade.php (after Bootstrap 5).
   Prefixes:  site-*  header/footer   |  ns-*  shared components   |  home-*  homepage
              pg-*    inner-page banner |  wz-*  registration wizard & auth cards
   ============================================================================= */

/* ---------- fonts (files in /public/fonts) ----------
   English  -> Roboto (Regular; the same file gives the bold weights for headings)
   Bangla   -> SolaimanLipi (Regular + Bold)
   The font stack lists Roboto first: it has no Bangla letters, so the browser automatically uses
   SolaimanLipi for every Bangla character. That works on any page, even a mix of both languages. */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('../fonts/Roboto-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'SolaimanLipi'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('../fonts/SolaimanLipi.ttf') format('truetype'); }
@font-face { font-family: 'SolaimanLipi'; font-style: normal; font-weight: 600 900; font-display: swap;
    src: url('../fonts/SolaimanLipi_Bold_10-03-12.ttf') format('truetype'); }

:root {
    --ns-primary: #2563eb;
    --ns-primary-dark: #1d4ed8;
    --ns-primary-soft: #eaf1ff;
    --ns-orange: #f97316;
    --ns-orange-dark: #ea580c;
    --ns-green: #16a34a;
    --ns-yellow: #facc15;
    --ns-pink: #ec4899;
    --ns-purple: #8b5cf6;
    --ns-ink: #1e2532;
    --ns-muted: #5b6577;
    --ns-line: #e3e9f5;
    --ns-soft: #f4f8ff;
    --ns-radius: 20px;
    --ns-shadow: 0 10px 30px rgba(30, 60, 120, .10);
    --ns-font: 'Roboto', 'SolaimanLipi', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
input, button, select, textarea { font-family: inherit; }

body {
    font-family: var(--ns-font);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ns-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .btn, .nav-link { font-family: var(--ns-font); }
h1, h2, h3 { font-weight: 800; line-height: 1.25; }
a { color: var(--ns-primary); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--ns-primary); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .75rem 1rem; z-index: 2000; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- buttons ---------- */
.btn-ns, .btn-ns-orange, .btn-ns-outline, .btn-ns-white {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .6rem 1.6rem; border-radius: 50px; border: 2px solid transparent;
    font-weight: 800; font-size: 1.05rem; text-decoration: none; cursor: pointer;
    transition: transform .15s, box-shadow .15s, filter .15s; line-height: 1.2;
}
.btn-ns:hover, .btn-ns-orange:hover, .btn-ns-outline:hover, .btn-ns-white:hover { transform: translateY(-2px); text-decoration: none; }
.btn-ns { background: linear-gradient(135deg, var(--ns-primary), var(--ns-primary-dark)); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .28); }
.btn-ns:hover { color: #fff; filter: brightness(1.06); }
.btn-ns-orange { background: linear-gradient(135deg, var(--ns-orange), var(--ns-orange-dark)); color: #fff; box-shadow: 0 8px 20px rgba(234, 88, 12, .30); }
.btn-ns-orange:hover { color: #fff; filter: brightness(1.06); }
.btn-ns-outline { background: #fff; color: var(--ns-primary-dark); border-color: var(--ns-primary); }
.btn-ns-outline:hover { background: var(--ns-primary-soft); color: var(--ns-primary-dark); }
.btn-ns-white { background: #fff; color: var(--ns-primary-dark); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.btn-ns-white:hover { color: var(--ns-primary-dark); }
.btn-ns-lg { min-height: 58px; padding: .75rem 2.1rem; font-size: 1.2rem; }
.btn-ns-sm { min-height: 40px; padding: .35rem 1.1rem; font-size: .95rem; }

/* ---------- sections & titles ---------- */
.ns-section { padding: 4rem 0; }
.ns-section.soft { background: var(--ns-soft); }
.ns-title { text-align: center; margin-bottom: 2.5rem; }
.ns-title h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-bottom: .5rem; }
.ns-title p { color: var(--ns-muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto; }
.ns-title .squig { display: block; width: 90px; height: 8px; margin: .6rem auto 0; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--ns-orange) 0 18px, var(--ns-yellow) 18px 36px, var(--ns-green) 36px 54px, var(--ns-primary) 54px 72px, var(--ns-pink) 72px 90px); }

.ns-card { background: #fff; border: 2px solid var(--ns-line); border-radius: var(--ns-radius); padding: 1.5rem; height: 100%; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ns-card.hover:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow); border-color: #b9cdf7; }

.ns-input { height: 54px; border-radius: 14px; border: 2px solid #dfe5f1; font-size: 1.05rem; padding: 0 1rem; width: 100%; background: #fff; }
textarea.ns-input { height: auto; padding: .8rem 1rem; }
.ns-input:focus { border-color: var(--ns-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); outline: 0; }
.ns-label { display: block; font-weight: 700; margin-bottom: .4rem; }
.ns-err { color: #dc2626; font-size: .92rem; font-weight: 600; margin-top: .3rem; }

.ns-empty { text-align: center; padding: 3rem 1rem; color: var(--ns-muted); }
.ns-empty .em { font-size: 3.2rem; display: block; margin-bottom: .5rem; }

/* ---------- inner page banner ---------- */
.pg-hero { background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%); color: #fff; padding: 2.6rem 0 2.2rem; position: relative; overflow: hidden; }
.pg-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.pg-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .3rem; color: #fff; }
.pg-hero p { margin: 0; opacity: .92; font-size: 1.1rem; }
.pg-hero .breadcrumb { margin: 0 0 .6rem; padding: 0; background: none; font-size: .95rem; }
.pg-hero .breadcrumb a { color: #dbe7ff; text-decoration: none; }
.pg-hero .breadcrumb-item.active, .pg-hero .breadcrumb-item + .breadcrumb-item::before { color: #fff; }

/* ---------- top bar ---------- */
.site-top { background: #14224a; color: #dbe5ff; font-size: .92rem; }
.site-top .container { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 42px; flex-wrap: wrap; padding-top: .25rem; padding-bottom: .25rem; }
.site-top a { color: #fff; text-decoration: none; font-weight: 700; }
.site-top a:hover { color: var(--ns-yellow); }
.site-lang { display: inline-flex; background: rgba(255, 255, 255, .12); border-radius: 50px; padding: 3px; }
.site-lang a { padding: .15rem .85rem; border-radius: 50px; font-size: .88rem; color: #dbe5ff; }
.site-lang a.on { background: #fff; color: #14224a; }

/* ---------- navbar ---------- */
.site-nav { background: #fff; box-shadow: 0 2px 14px rgba(20, 34, 74, .08); padding: .4rem 0; z-index: 1030; }
.site-nav .navbar-brand img { height: 52px; width: auto; }
.site-nav .nav-link { font-weight: 700; font-size: 1.05rem; color: var(--ns-ink); padding: .55rem 1rem !important; border-radius: 50px; }
.site-nav .nav-link:hover { color: var(--ns-primary); background: var(--ns-primary-soft); }
.site-nav .nav-link.on { color: #fff; background: var(--ns-primary); }
.site-nav .dropdown-menu { border: 0; border-radius: 16px; box-shadow: var(--ns-shadow); padding: .5rem; }
.site-nav .dropdown-item { border-radius: 10px; padding: .55rem .9rem; font-weight: 600; }
.site-nav .dropdown-item:hover { background: var(--ns-primary-soft); color: var(--ns-primary-dark); }

#siteMenu .offcanvas-header { background: var(--ns-primary); color: #fff; }
#siteMenu .menu-link { display: flex; align-items: center; gap: .75rem; padding: .95rem 1.25rem; font-weight: 700; font-size: 1.1rem; color: var(--ns-ink); text-decoration: none; border-bottom: 1px solid var(--ns-line); }
#siteMenu .menu-link.sub { padding-left: 2.6rem; font-weight: 600; font-size: 1rem; background: var(--ns-soft); }
#siteMenu .menu-link.on { color: var(--ns-primary); background: var(--ns-primary-soft); }
#siteMenu .menu-link i { width: 22px; text-align: center; color: var(--ns-primary); }

/* ---------- footer ---------- */
.site-footer { background: #14224a; color: #c9d6f5; padding: 3.5rem 0 1.5rem; position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--ns-orange) 0 25%, var(--ns-yellow) 25% 50%, var(--ns-green) 50% 75%, var(--ns-primary) 75% 100%); }
.site-footer h6 { color: #fff; font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }
.site-footer a { color: #c9d6f5; text-decoration: none; }
.site-footer a:hover { color: var(--ns-yellow); }
.site-footer .links a { display: block; padding: .3rem 0; font-weight: 600; }
.site-footer .links a i { color: var(--ns-yellow); width: 16px; }
.site-footer .row-contact { display: flex; gap: .75rem; margin-bottom: .75rem; }
.site-footer .row-contact i { color: var(--ns-yellow); width: 18px; margin-top: .3rem; text-align: center; }
.site-social { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.site-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.site-social a:hover { background: var(--ns-orange); color: #fff; }
.site-copy { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .92rem; display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.site-copy a { color: #fff; font-weight: 700; }

.site-call { position: fixed; left: 14px; bottom: 14px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: var(--ns-green); color: #fff; display: none; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 8px 22px rgba(22, 163, 74, .45); text-decoration: none; }
.site-call:hover { color: #fff; }
@media (max-width: 991px) { .site-call { display: inline-flex; } }

/* ---------- homepage ---------- */
.home-hero { background: linear-gradient(160deg, #eaf1ff 0%, #fff7ed 100%); padding: 3.5rem 0 4.5rem; position: relative; overflow: hidden; }
.home-hero::before, .home-hero::after { content: ''; position: absolute; border-radius: 50%; z-index: 0; }
.home-hero::before { width: 320px; height: 320px; background: rgba(37, 99, 235, .07); left: -90px; bottom: -120px; }
.home-hero::after { width: 220px; height: 220px; background: rgba(249, 115, 22, .10); right: -50px; top: -60px; }
.home-hero .container { position: relative; z-index: 1; }
.home-hero .badge-pill { display: inline-block; background: #fff; color: var(--ns-orange-dark); font-weight: 800; padding: .35rem 1rem; border-radius: 50px; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); margin-bottom: 1rem; }
.home-hero h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); margin-bottom: 1rem; }
.home-hero h1 em { font-style: normal; color: var(--ns-primary); }
.home-hero .lead { font-size: 1.25rem; color: var(--ns-muted); max-width: 540px; }
.home-hero .cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }
.home-hero .art { position: relative; text-align: center; }
.home-hero .art img { max-height: 420px; border-radius: 28px; box-shadow: var(--ns-shadow); object-fit: cover; }
.home-hero .art .blob { width: min(380px, 80vw); aspect-ratio: 1; margin: 0 auto; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; background: linear-gradient(135deg, #bfd6ff, #ffe1c2); display: flex; align-items: center; justify-content: center; font-size: 7rem; box-shadow: var(--ns-shadow); }
.home-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.home-stats div { background: #fff; border-radius: 16px; padding: .7rem 1.2rem; box-shadow: 0 6px 18px rgba(30, 60, 120, .08); text-align: center; min-width: 110px; }
.home-stats b { display: block; font-size: 1.6rem; color: var(--ns-primary); line-height: 1.1; }
.home-stats span { font-size: .88rem; color: var(--ns-muted); font-weight: 600; }

.home-news { background: #fff8e1; border-bottom: 2px solid #ffe08a; padding: .7rem 0; }
.home-news .container { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.home-news .tag { background: var(--ns-orange); color: #fff; font-weight: 800; padding: .2rem .9rem; border-radius: 50px; white-space: nowrap; }
.home-news a { color: var(--ns-ink); font-weight: 700; text-decoration: none; }
.home-news a:hover { color: var(--ns-primary); }
.home-news .items { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }

.class-chip { display: block; text-align: center; padding: 1.4rem .75rem; border-radius: 22px; color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 1.3rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); transition: transform .15s; }
.class-chip small { display: block; font-size: .85rem; font-weight: 600; opacity: .9; }
.class-chip:hover { transform: translateY(-5px) rotate(-1deg); }
.class-chip.c0 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.class-chip.c1 { background: linear-gradient(135deg, #f97316, #ea580c); }
.class-chip.c2 { background: linear-gradient(135deg, #22c55e, #15803d); }
.class-chip.c3 { background: linear-gradient(135deg, #ec4899, #be185d); }
.class-chip.c4 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.class-chip.c5 { background: linear-gradient(135deg, #eab308, #ca8a04); }

.why-card { text-align: center; }
.why-card .ico { width: 78px; height: 78px; border-radius: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 2.1rem; margin-bottom: 1rem; color: #fff; }
.why-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.why-card p { color: var(--ns-muted); margin: 0; }

.step-card { text-align: center; position: relative; padding-top: 2.4rem; }
.step-card .num { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--ns-orange); color: #fff; font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(234, 88, 12, .35); }
.step-card .ico { font-size: 2.6rem; margin-bottom: .5rem; }
.step-card h3 { font-size: 1.25rem; }
.step-card p { color: var(--ns-muted); margin: 0; }

.quote-card .q { font-size: 1.08rem; font-style: italic; }
.quote-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.quote-card .who img, .quote-card .who .av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--ns-primary-soft); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.quote-card .who b { display: block; }
.quote-card .who small { color: var(--ns-muted); }
.quote-card .stars { color: var(--ns-yellow); letter-spacing: 2px; }

.cta-band { background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; border-radius: 28px; padding: 2.6rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.cta-band p { opacity: .92; font-size: 1.12rem; }

.notice-row { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 2px solid var(--ns-line); border-radius: 18px; background: #fff; text-decoration: none; color: var(--ns-ink); transition: border-color .15s, transform .15s; }
.notice-row:hover { border-color: #b9cdf7; transform: translateX(4px); color: var(--ns-ink); }
.notice-row .ic { width: 50px; height: 50px; border-radius: 16px; background: #fff3cd; color: #b45309; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.notice-row b { display: block; line-height: 1.35; }
.notice-row small { color: var(--ns-muted); }

/* ---------- registration wizard & auth cards (shared with student auth pages) ---------- */
.wz-wrap { background: linear-gradient(180deg, #eef5ff 0%, #fff 70%); padding: 2.25rem 0 4rem; min-height: 70vh; }
.wz-steps { display: flex; max-width: 520px; margin: 0 auto 1.75rem; padding: 0; list-style: none; }
.wz-step { flex: 1; text-align: center; position: relative; font-size: .88rem; font-weight: 700; color: #8a94a6; }
.wz-step .dot { width: 46px; height: 46px; border-radius: 50%; background: #e5e9f2; display: flex; align-items: center; justify-content: center; margin: 0 auto .35rem; font-size: 1.15rem; position: relative; z-index: 1; }
.wz-step::before { content: ''; position: absolute; top: 21px; left: -50%; width: 100%; height: 4px; background: #e5e9f2; }
.wz-step:first-child::before { display: none; }
.wz-step.done .dot { background: #22c55e; color: #fff; }
.wz-step.done::before, .wz-step.active::before { background: #22c55e; }
.wz-step.active .dot { background: #2563eb; color: #fff; box-shadow: 0 0 0 6px rgba(37, 99, 235, .15); }
.wz-step.active, .wz-step.done { color: #1e2532; }

.wz-card { background: #fff; border-radius: 22px; box-shadow: 0 12px 40px rgba(30, 60, 120, .12); padding: 2rem 1.75rem; max-width: 520px; margin: 0 auto; }
.wz-card.wide { max-width: 800px; }
.wz-card h1 { font-size: 1.55rem; font-weight: 800; margin-bottom: .3rem; color: #1e2532; }
.wz-card .sub { color: #6b7385; margin-bottom: 1.5rem; font-size: 1.02rem; }
.wz-label { display: block; font-weight: 700; margin-bottom: .4rem; color: #1e2532; font-size: 1.02rem; }
.wz-input { height: 54px; border-radius: 14px; border: 2px solid #dfe5f1; font-size: 1.08rem; padding: 0 1rem; width: 100%; background: #fff; }
.wz-input:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); outline: 0; }
.wz-input.is-invalid { border-color: #dc2626; }
.wz-hint { font-size: .9rem; color: #6b7385; margin-top: .3rem; }
.wz-err { font-size: .92rem; color: #dc2626; margin-top: .3rem; font-weight: 600; }
.wz-btn { height: 56px; width: 100%; border: 0; border-radius: 16px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; font-size: 1.15rem; font-weight: 800; box-shadow: 0 8px 20px rgba(37, 99, 235, .3); cursor: pointer; }
.wz-btn:hover { filter: brightness(1.07); }
.wz-btn:disabled { background: #b8c2d6; box-shadow: none; cursor: not-allowed; }
.wz-link-btn { background: none; border: 0; color: #2563eb; font-weight: 700; padding: 0; cursor: pointer; }
.wz-pw { position: relative; }
.wz-pw .toggle { position: absolute; right: 14px; top: 0; height: 54px; display: flex; align-items: center; color: #6b7385; cursor: pointer; font-size: 1.15rem; }

@media (max-width: 575px) {
    .ns-section { padding: 2.8rem 0; }
    .wz-card { padding: 1.5rem 1.1rem; border-radius: 18px; }
    .wz-step { font-size: .78rem; }
    .site-nav .navbar-brand img { height: 44px; }
    .home-hero { padding: 2.2rem 0 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* ---------- one-page registration / join: boxes, class pills, batch cards, payment ---------- */
.wz-box { background: #fff; border-radius: 22px; box-shadow: 0 12px 40px rgba(30, 60, 120, .10); padding: 1.6rem 1.5rem; max-width: 800px; margin: 0 auto 1.5rem; }
.wz-box > h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: .25rem; display: flex; align-items: center; gap: .6rem; }
.wz-box > h2 .n { width: 38px; height: 38px; border-radius: 50%; background: var(--ns-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.wz-box > .sub { color: #6b7385; margin-bottom: 1.2rem; }
.wz-pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; }
.wz-pill { position: relative; margin: 0; }
.wz-pill input { position: absolute; opacity: 0; pointer-events: none; }
.wz-pill span { display: block; text-align: center; padding: .8rem .4rem; border: 2px solid #dfe5f1; border-radius: 14px; font-weight: 700; font-size: 1rem; cursor: pointer; background: #fff; color: #1e2532; transition: all .15s; }
.wz-pill span:hover { border-color: #93b4f5; }
.wz-pill input:checked + span { border-color: #2563eb; background: #eaf1ff; color: #1d4ed8; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.wz-pill input:focus-visible + span { outline: 3px solid #2563eb; outline-offset: 2px; }

.wz-batches { display: grid; gap: 1rem; }
.wz-batch { position: relative; display: block; margin: 0; cursor: pointer; }
.wz-batch input { position: absolute; opacity: 0; pointer-events: none; }
.wz-batch .box { display: block; border: 2.5px solid #dfe5f1; border-radius: 18px; padding: 1.1rem 1.2rem; background: #fff; transition: all .15s; }
.wz-batch:hover .box { border-color: #93b4f5; }
.wz-batch input:checked + .box { border-color: #2563eb; background: #f3f7ff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .13); }
.wz-batch input:focus-visible + .box { outline: 3px solid #2563eb; outline-offset: 2px; }
.wz-batch .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.wz-batch .name { font-size: 1.15rem; font-weight: 800; color: #1e2532; }
.wz-batch .sess { display: inline-block; font-size: .8rem; font-weight: 700; padding: .15rem .65rem; border-radius: 50px; background: #fff3cd; color: #7a5b00; margin-top: .25rem; }
.wz-batch .price { text-align: right; }
.wz-batch .price .amt { font-size: 1.6rem; font-weight: 800; color: #16a34a; line-height: 1; display: block; }
.wz-batch .price small { display: block; color: #6b7385; font-size: .78rem; margin-top: .2rem; }
.wz-batch .slot { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; margin-top: .65rem; font-size: .95rem; }
.wz-batch .slot b { color: #1e2532; }
.wz-batch .slot .d { background: #eef3ff; color: #0a58ca; font-weight: 700; font-size: .8rem; padding: .15rem .6rem; border-radius: 50px; }
.wz-batch .tick { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: #2563eb; color: #fff; display: none; align-items: center; justify-content: center; font-size: .85rem; }
.wz-batch input:checked + .box .tick { display: flex; }

.wz-pay { border: 2.5px dashed #86a8f2; border-radius: 20px; padding: 1.3rem 1.2rem; background: #fbfdff; }
.wz-total { font-size: 2rem; font-weight: 800; color: #16a34a; margin-left: .4rem; }
.wz-sum { margin-top: .5rem; background: #f4f8ff; border-radius: 14px; padding: .6rem 1rem; max-width: 420px; }
.wz-sum div { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.wz-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.wz-method { position: relative; margin: 0; cursor: pointer; }
.wz-method input { position: absolute; opacity: 0; pointer-events: none; }
.wz-method .box { display: block; text-align: center; border: 2.5px solid #dfe5f1; border-radius: 14px; padding: .8rem 1rem; background: #fff; }
.wz-method input:checked + .box { border-color: #16a34a; background: #f0fdf4; box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.wz-method input:focus-visible + .box { outline: 3px solid #16a34a; outline-offset: 2px; }
.wz-method .m { font-weight: 800; font-size: 1.1rem; }
.wz-notice { display: flex; gap: .75rem; align-items: center; background: #fff7e0; border: 2px solid #fcd34d; color: #6b4a00; border-radius: 16px; padding: .9rem 1.1rem; margin-bottom: 1rem; font-weight: 700; font-size: 1.05rem; }
.wz-notice .ic { font-size: 1.6rem; }
.wz-copy { border: 0; background: #e5ecfb; color: #1d4ed8; font-weight: 700; font-size: .85rem; border-radius: 8px; padding: .25rem .8rem; margin-left: auto; cursor: pointer; white-space: nowrap; }
.wz-rules { max-height: 200px; overflow-y: auto; background: #f8f9ff; border: 1px solid #e3e7f5; border-radius: 12px; padding: .9rem 1.1rem; font-size: .92rem; line-height: 1.8; margin-bottom: .75rem; }
.wz-rules ol, .wz-rules ul { margin: 0; padding-left: 1.2rem; }
.wz-agree { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; margin-bottom: 1rem; }
.wz-agree input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; }

/* ---------- homepage: what we teach ---------- */
.subj-group { margin-bottom: 2rem; }
.subj-range { display: inline-block; font-size: 1.15rem; background: var(--ns-primary); color: #fff; padding: .3rem 1.2rem; border-radius: 50px; margin-bottom: 1rem; }
.subj-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.2rem; }
.subj-row { display: flex; gap: 1rem; align-items: flex-start; }
.subj-img { width: 100%; height: 170px; object-fit: contain; background: #f4f8ff; border-radius: 14px; padding: .4rem; }
@media (min-width: 576px) {
    /* picture on one side, text on the other */
    .subj-card.has-img { flex-direction: row; align-items: stretch; }
    .subj-card.has-img .subj-img { flex: 0 0 40%; width: 40%; height: auto; min-height: 200px; align-self: stretch; }
    .subj-card.has-img .subj-row { flex: 1; min-width: 0; }
}
.subj-more { margin-top: .5rem; }
.subj-more summary { cursor: pointer; font-weight: 800; color: var(--ns-primary-dark); font-size: .92rem; margin-bottom: .4rem; }
.subj-credit { margin: .8rem 0 0; font-size: .8rem; color: var(--ns-muted); }
.subj-card .ico { width: 56px; height: 56px; border-radius: 18px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.subj-card h4 { font-size: 1.15rem; font-weight: 800; margin: 0 0 .2rem; }
.subj-card p { margin: 0; color: var(--ns-muted); font-size: .98rem; }

/* ---------- batch card: clear class schedule + weekly exam ---------- */
.wz-batch .price .breakdown { font-size: .76rem; max-width: 220px; margin-left: auto; }
.wz-batch .sched { display: block; margin-top: .9rem; padding: .8rem .9rem; border-radius: 14px; background: #f1f6ff; border: 1.5px solid #dbe7ff; }
.wz-batch .sched.exam { background: #fff6ec; border-color: #ffe0bd; }
.wz-batch .sched-h { display: block; font-weight: 800; color: #1e2532; margin-bottom: .5rem; }
.wz-batch .sched-h small { display: block; font-weight: 600; color: #5b6577; font-size: .82rem; }
.wz-batch .wk { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .55rem; }
.wz-batch .wd { padding: .1rem .55rem; border-radius: 50px; font-size: .74rem; font-weight: 700; background: #e7ebf3; color: #9aa3b2; }
.wz-batch .sched .wd.on { background: #2563eb; color: #fff; box-shadow: 0 2px 6px rgba(37, 99, 235, .3); }
.wz-batch .sched.exam .wd.on { background: #f97316; box-shadow: 0 2px 6px rgba(249, 115, 22, .3); }
.wz-batch .sl { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; padding: .35rem 0; border-top: 1px dashed rgba(0, 0, 0, .1); }
.wz-batch .sl:first-of-type { border-top: 0; }
.wz-batch .sl .tm { font-weight: 800; color: #1e2532; white-space: nowrap; }
.wz-batch .sl .tm small { font-weight: 600; color: #5b6577; }
.wz-batch .sl .dy { display: inline-flex; flex-wrap: wrap; gap: .3rem; }
.wz-batch .sl .d { background: #fff; border: 1.5px solid #bcd0fb; color: #0a58ca; font-weight: 700; font-size: .85rem; padding: .08rem .65rem; border-radius: 50px; }
.wz-batch .sched.exam .sl .d { border-color: #fdc99a; color: #b45309; }
.wz-batch .sched-empty { display: block; color: #6b7385; font-size: .92rem; }

/* ---------- what we teach: glance strip, topic lists, hero subject line ---------- */
.subj-glance { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 900px; margin: 0 auto 2rem; }
.subj-glance .g { background: #fff; border: 2px solid var(--ns-line); border-radius: 18px; padding: .9rem 1.1rem; display: flex; flex-direction: column; gap: .2rem; }
.subj-glance .r { font-weight: 800; color: var(--ns-primary-dark); }
.subj-glance .s { font-size: 1.12rem; font-weight: 800; color: var(--ns-ink); }
.subj-body { min-width: 0; flex: 1; }
.subj-lbl { display: block; font-size: .8rem; font-weight: 800; color: var(--ns-muted); text-transform: uppercase; letter-spacing: .04em; margin: .2rem 0 .35rem; }
.subj-card .topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.subj-card .topics li { background: var(--ns-primary-soft); color: var(--ns-primary-dark); font-weight: 700; font-size: .88rem; padding: .15rem .7rem; border-radius: 50px; }
.hero-subjects { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin-top: 1.4rem; text-decoration: none; color: var(--ns-ink); }
.hero-subjects .lbl { font-weight: 800; color: var(--ns-muted); }
.hero-subjects b { background: #fff; border: 2px solid #cfe0ff; color: var(--ns-primary-dark); padding: .1rem .85rem; border-radius: 50px; font-size: .98rem; box-shadow: 0 3px 10px rgba(30, 60, 120, .08); }
.hero-subjects:hover b { border-color: var(--ns-primary); }
