/* ==========================================================================
   শিক্ষাবিকাশ একাডেমি — public theme
   ========================================================================== */
:root {
  --primary: #f2620e;
  --primary-dark: #d95305;
  --primary-soft: #fff0e6;
  --primary-tint: #fff7f1;
  --ink: #27272a;
  --ink-2: #3f3f46;
  --muted: #71717a;
  --muted-2: #a1a1aa;
  --bg: #faf8f5;
  --bg-2: #f5f1ec;
  --card: #ffffff;
  --border: #e9e3dc;
  --border-soft: #f1ece6;
  --green: #16a34a;
  --green-soft: #e9f9ef;
  --amber: #d97706;
  --amber-soft: #fef5e7;
  --red: #dc2626;
  --red-soft: #fef0f0;
  --blue: #2563eb;
  --purple: #7c3aed;
  --teal: #0d9488;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(24, 20, 16, .05), 0 4px 14px rgba(24, 20, 16, .04);
  --shadow: 0 2px 6px rgba(24, 20, 16, .05), 0 18px 40px rgba(24, 20, 16, .08);
  --font: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Segoe UI', sans-serif;
  --font-en: 'Inter', 'Hind Siliguri', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
button, input, select, textarea { font-size: inherit; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { flex: none; vertical-align: -0.18em; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; display: inline-block; margin: 0 7px; vertical-align: middle; }
::selection { background: var(--primary-soft); color: var(--primary-dark); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 9px; padding: 11px 20px;
  font-weight: 600; font-size: 14.5px; line-height: 1.2; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap; background: #fff; color: var(--ink);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(242, 98, 14, .22); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(242, 98, 14, .3); }
.btn-outline { border-color: var(--border); background: #fff; color: var(--ink-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-tint); }
.btn-soft { background: var(--primary-soft); color: var(--primary-dark); }
.btn-soft:hover { background: #ffe4d3; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #128a3f; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #111; }
.btn-xs { padding: 8px 14px; font-size: 13px; border-radius: 7px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.link-btn { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-weight: 600; font-size: 13.5px; }
.link-arrow:hover { gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--ink-2); cursor: pointer; transition: .18s; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-tint); }

/* -------------------------------------------------------------------- header */
.site-top { background: linear-gradient(90deg, #ef5b06, #f8791f 55%, #ef5b06); color: #fff; font-size: 12.5px; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 38px; }
.top-promo { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; letter-spacing: .1px; opacity: .98; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-links { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.top-links a { display: inline-flex; align-items: center; gap: 5px; opacity: .92; transition: opacity .15s; }
.top-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.top-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .35); }
.site-header { background: #fff; position: relative; z-index: 40; }
.header-main { display: flex; align-items: center; gap: 26px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; flex: none; box-shadow: 0 5px 14px rgba(242, 98, 14, .2); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .35px; margin-top: 2px; }
.header-search { flex: 1; max-width: 560px; display: flex; margin-left: 8px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fbfaf9; transition: border-color .18s, box-shadow .18s; }
.header-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); background: #fff; }
.header-search input { flex: 1; border: 0; background: transparent; padding: 11px 16px; outline: none; color: var(--ink); font-size: 14px; }
.header-search input::placeholder { color: var(--muted-2); }
.header-search button { border: 0; background: var(--primary); color: #fff; padding: 0 18px; cursor: pointer; display: flex; align-items: center; }
.header-search button:hover { background: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-cta { display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--border); background: #fff; transition: .18s; line-height: 1; }
.header-cta:hover { border-color: var(--primary); color: var(--primary); }
.header-cta.phone { border-color: transparent; background: var(--primary-soft); color: var(--primary-dark); }
.header-cta.phone:hover { background: #ffe4d3; }
.header-admit { margin-left: 2px; }
.mobile-toggle { display: none; }
.site-nav { border-top: 1px solid var(--border-soft); background: #fff; position: sticky; top: 0; z-index: 35; box-shadow: 0 4px 16px rgba(24, 20, 16, .03); }
.nav-inner { display: flex; align-items: center; gap: 4px; height: 47px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 7px; position: relative; transition: .16s; }
.nav-link:hover { color: var(--primary); background: var(--primary-tint); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -9px; height: 2px; background: var(--primary); border-radius: 2px; }
.nav-support { margin-left: auto; color: var(--muted); font-size: 13px; }
.mobile-nav { display: none; background: #fff; border-top: 1px solid var(--border-soft); padding: 10px 0 16px; }
.mobile-nav.open { display: block; }
.mobile-nav .nav-link { display: flex; padding: 11px 8px; }
.mobile-nav .nav-link.active::after { display: none; }

/* ---------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff8f1 0%, #fdf4ea 52%, #fbf7f2 100%); padding: 44px 0 112px; }
.hero::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 98, 14, .09), transparent 68%); top: -160px; right: 8%; }
.hero::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, .05), transparent 70%); bottom: -140px; left: -80px; }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 30px; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #ffd9bf; color: var(--primary-dark); border-radius: 100px; padding: 7px 15px; font-size: 12.5px; font-weight: 600; box-shadow: 0 4px 14px rgba(242, 98, 14, .08); }
.hero-badge .pulse { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(22, 163, 74, .12); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 74, .12); } 50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, .02); } }
.hero h1 { font-size: clamp(34px, 4.1vw, 52px); line-height: 1.22; margin: 19px 0 16px; font-weight: 700; letter-spacing: -.02em; color: #23201d; }
.hero h1 .hl { color: var(--primary); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: rgba(242, 98, 14, .14); border-radius: 4px; z-index: -1; }
.hero-sub { color: #5f5a55; font-size: 16px; max-width: 500px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: 12.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { color: var(--green); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 22px 30px rgba(120, 72, 27, .10)); }
.hero-art .float-card { position: absolute; background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 9px; padding: 10px 13px; font-size: 12px; font-weight: 600; color: var(--ink-2); animation: floaty 4s ease-in-out infinite; }
.hero-art .float-card .fc-ico { width: 31px; height: 31px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.hero-art .fc-1 { top: 12%; left: -2%; }
.hero-art .fc-2 { bottom: 15%; right: 0; animation-delay: 1.4s; }
.hero-art .fc-3 { bottom: 34%; left: 1%; animation-delay: .7s; }
.hero-art small { display: block; font-weight: 400; color: var(--muted); font-size: 10.5px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* --------------------------------------------------------------------- stats */
.stats-wrap { position: relative; z-index: 5; margin-top: -58px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.stat-block { display: flex; align-items: center; gap: 14px; padding: 22px 26px; position: relative; }
.stat-block + .stat-block::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--border-soft); }
.stat-block .st-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.stat-block:nth-child(2) .st-icon { background: #eef6ff; color: #2563eb; }
.stat-block:nth-child(3) .st-icon { background: #edfaf3; color: #16a34a; }
.stat-block:nth-child(4) .st-icon { background: #f5efff; color: #7c3aed; }
.stat-block b { display: block; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; }
.stat-block span { font-size: 12.5px; color: var(--muted); }

/* -------------------------------------------------------------------- rails */
.section { padding: 62px 0; }
.section.tight { padding: 40px 0; }
.section-head { text-align: center; margin-bottom: 34px; position: relative; }
.section-head .kicker { display: inline-block; font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-bottom: 7px; }
.section-head h2 { font-size: clamp(24px, 2.5vw, 31px); letter-spacing: -.02em; }
.section-head h2 .accent { color: var(--primary); }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.section-head::after { content: ''; display: block; width: 46px; height: 3px; border-radius: 2px; background: var(--primary); margin: 13px auto 0; }
.section-link { position: absolute; right: 0; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--primary); }
.section-head:has(.section-link)::after { display: none; }
.section-head:has(.section-link) { text-align: left; margin-bottom: 26px; }
.section-head:has(.section-link)::after { display: block; margin: 11px 0 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-warm { background: linear-gradient(180deg, #fffaf5, #fdf6ef); }

/* ------------------------------------------------------------- category pills */
.cat-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.cat-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 100px; background: #fff; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: .18s; }
.cat-pill:hover { border-color: var(--primary); color: var(--primary); }
.cat-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 5px 14px rgba(242, 98, 14, .22); }
.cat-pill .icon { opacity: .9; }

/* -------------------------------------------------------------- course cards */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f0d9c8; }
.course-cover { position: relative; display: block; color: #fff; overflow: hidden; }
.course-cover.batch { height: 118px; padding: 16px 18px; }
.course-cover.online { height: 158px; padding: 18px; }
.course-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .17), transparent 46%); }
.course-cover::before { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); right: -44px; bottom: -66px; }
.cover-badge { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(4px); color: #fff; border-radius: 6px; font-size: 10.5px; padding: 3px 8px; font-weight: 600; letter-spacing: .2px; }
.cover-icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); opacity: .42; z-index: 1; }
.cover-icon svg { width: 42px; height: 42px; stroke-width: 1.4; }
.cover-label { position: absolute; left: 18px; bottom: 14px; font-size: 12.5px; font-weight: 600; opacity: .95; display: flex; align-items: center; gap: 6px; z-index: 2; }
.cover-title { display: block; margin-top: 50px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; position: relative; z-index: 2; }
.cover-sub { display: block; font-size: 11.5px; opacity: .85; margin-top: 3px; position: relative; z-index: 2; }
.grad-blue { background: linear-gradient(135deg, #1e40af, #2563eb 55%, #3b82f6); }
.grad-cyan { background: linear-gradient(135deg, #0e7490, #0891b2 55%, #22d3ee); }
.grad-teal { background: linear-gradient(135deg, #0f766e, #0d9488 55%, #2dd4bf); }
.grad-purple { background: linear-gradient(135deg, #5b21b6, #7c3aed 55%, #a78bfa); }
.grad-amber { background: linear-gradient(135deg, #92400e, #d97706 55%, #fbbf24); }
.grad-rose { background: linear-gradient(135deg, #9f1239, #e11d48 55%, #fb7185); }
.grad-emerald { background: linear-gradient(135deg, #065f46, #059669 55%, #34d399); }
.grad-indigo { background: linear-gradient(135deg, #3730a3, #4f46e5 55%, #818cf8); }
.grad-violet { background: linear-gradient(135deg, #6d28d9, #8b5cf6 55%, #c4b5fd); }
.grad-slate { background: linear-gradient(135deg, #0f172a, #334155 55%, #64748b); }
.course-body { padding: 16px 18px 17px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 16px; font-weight: 700; }
.course-body h3 a:hover { color: var(--primary); }
.course-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.meta-list { margin: 11px 0 0; display: grid; gap: 5px; }
.meta-list li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.meta-list .icon { color: var(--muted-2); }
.course-meta-row { display: flex; gap: 14px; color: var(--muted); font-size: 12px; padding: 2px 0 12px; }
.course-meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.course-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--border); }
.price-wrap { display: flex; align-items: baseline; gap: 7px; }
.price { font-size: 17px; font-weight: 700; color: var(--primary); letter-spacing: -.02em; }
.price-wrap s { color: var(--muted-2); font-size: 11.5px; }
.course-card.online .course-actions { margin-top: 2px; border-top: 0; padding-top: 6px; }

/* --------------------------------------------------------------- top students */
.student-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.student-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow-sm); transition: .2s; }
.student-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.student-avatar { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; color: #fff; font-size: 24px; font-weight: 700; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--primary-soft), 0 6px 16px rgba(0, 0, 0, .08); }
.student-card h3 { font-size: 15px; }
.student-card .gpa { display: inline-flex; align-items: center; gap: 4px; background: var(--green-soft); color: #15803d; border-radius: 100px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; margin-top: 7px; }
.student-card p { color: var(--muted); font-size: 12px; margin-top: 8px; line-height: 1.55; }
.student-card .st-class { font-size: 11.5px; color: var(--muted-2); }

/* ------------------------------------------------------------------ features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 13px; padding: 20px; display: flex; gap: 14px; box-shadow: var(--shadow-sm); transition: .2s; }
.feature-card:hover { border-color: #f6d7c1; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary); }
.feature-card:nth-child(2) .feature-ico { background: #eef6ff; color: #2563eb; }
.feature-card:nth-child(3) .feature-ico { background: #edfaf3; color: #16a34a; }
.feature-card:nth-child(4) .feature-ico { background: #f5efff; color: #7c3aed; }
.feature-card:nth-child(5) .feature-ico { background: #fef5e7; color: #d97706; }
.feature-card:nth-child(6) .feature-ico { background: #fdf2f8; color: #db2777; }
.feature-card h3 { font-size: 15px; margin-bottom: 4px; }
.feature-card p { color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ------------------------------------------------------------------ teachers */
.teacher-rail { position: relative; }
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.teacher-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 24px 18px 18px; text-align: center; box-shadow: var(--shadow-sm); transition: .2s; }
.teacher-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.teacher-photo { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 13px; display: grid; place-items: center; color: #fff; font-size: 29px; font-weight: 700; position: relative; box-shadow: 0 8px 20px rgba(0, 0, 0, .13); }
.teacher-photo .teacher-cap { position: absolute; right: -2px; bottom: -2px; background: #fff; color: var(--primary); border-radius: 50%; padding: 4px; box-sizing: content-box; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.teacher-card h3 { font-size: 15.5px; }
.teacher-subject { color: var(--muted); font-size: 12px; margin-top: 3px; }
.teacher-meta { display: inline-flex; align-items: center; gap: 4px; color: var(--amber); font-size: 12px; margin-top: 9px; }
.teacher-meta .icon { fill: currentColor; stroke: none; }
.teacher-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--primary); }
.rail-btn { position: absolute; top: 42%; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); z-index: 3; }
.rail-btn:hover { color: var(--primary); border-color: var(--primary); }
.rail-prev { left: -18px; }
.rail-next { right: -18px; }

/* -------------------------------------------------------------- testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); position: relative; }
.testi-card .quote-mark { color: var(--primary); opacity: .18; position: absolute; top: 16px; right: 18px; }
.testi-stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: 11px; }
.testi-stars .icon { fill: currentColor; stroke: none; }
.testi-card p { color: var(--ink-2); font-size: 13.5px; line-height: 1.75; }
.testi-who { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
.testi-who b { display: block; font-size: 13px; }
.testi-who small { color: var(--muted); font-size: 11.5px; }

/* -------------------------------------------------------------------- bands */
.notice-band { background: #fff; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.notice-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.notice-list { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.notice-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); transition: background .16s; }
.notice-row:last-child { border-bottom: 0; }
.notice-row:hover { background: var(--primary-tint); }
.notice-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.notice-main { flex: 1; min-width: 0; }
.notice-main b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-main small { color: var(--muted); font-size: 11.5px; }
.notice-arrow { color: var(--muted-2); }
.cta-box { background: linear-gradient(135deg, #2b201a, #3a2a20); border-radius: 16px; padding: 30px; color: #fff; position: relative; overflow: hidden; }
.cta-box::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); right: -60px; bottom: -100px; }
.cta-box .kicker { color: #ffb88a; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; }
.cta-box h3 { font-size: 24px; margin: 9px 0 10px; line-height: 1.35; }
.cta-box p { color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.cta-box .btn { margin-top: 18px; }
.cta-box .cta-phone { display: inline-flex; align-items: center; gap: 8px; margin-left: 14px; color: #fff; font-size: 13.5px; font-weight: 600; }

/* -------------------------------------------------------------------- footer */
.site-footer { background: #262421; color: #d8d4d0; margin-top: 0; position: relative; }
.footer-strip { height: 4px; background: linear-gradient(90deg, #f2620e, #f59e0b 25%, #16a34a 50%, #0ea5e9 75%, #7c3aed); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.15fr; gap: 34px; padding: 48px 0 36px; }
.footer-brand .brand-text b { color: #fff; font-size: 18px; }
.footer-brand .brand-text small { color: #9c9792; }
.footer-about { color: #9c9792; font-size: 13px; line-height: 1.8; margin-top: 16px; max-width: 300px; }
.social-row { display: flex; gap: 8px; margin-top: 18px; }
.social-row a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); display: grid; place-items: center; color: #cfcac5; transition: .18s; }
.social-row a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .2px; }
.footer-col a { display: block; color: #a8a39e; font-size: 13px; padding: 4px 0; transition: .16s; }
.footer-col a:hover { color: #ffb88a; padding-left: 3px; }
.footer-contact p, .footer-contact a, .footer-hours { display: flex; align-items: flex-start; gap: 8px; color: #a8a39e; font-size: 12.5px; line-height: 1.6; padding: 4px 0; }
.footer-contact .icon { color: var(--primary); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0 20px; color: #8d8781; font-size: 12px; flex-wrap: wrap; }
.footer-demo .link-btn { color: #c9a68f; }
.footer-demo .link-btn:hover { color: #ffb88a; }

/* ----------------------------------------------------------------- page hero */
.page-hero { background: linear-gradient(180deg, #fff8f2, #fdf6f0); padding: 38px 0 30px; text-align: center; border-bottom: 1px solid var(--border-soft); }
.page-hero h1 { font-size: clamp(26px, 3vw, 34px); }
.page-hero p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 640px; margin-inline: auto; }
.hero-rule { display: block; width: 46px; height: 3px; border-radius: 2px; background: var(--primary); margin: 14px auto 0; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--primary); }
.crumbs .sep { color: var(--muted-2); }

/* -------------------------------------------------------------------- filters */
.filter-bar { background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.filter-bar .cat-pills { margin: 0; justify-content: flex-start; }
.filter-search { margin-left: auto; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 11px; background: #fbfaf9; min-width: 220px; }
.filter-search input { border: 0; outline: none; background: transparent; font-size: 13px; width: 100%; color: var(--ink); }
.filter-search .icon { color: var(--muted-2); }
.filter-select { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 9px 11px; font-size: 13px; color: var(--ink-2); outline: none; }

/* ------------------------------------------------------------------- courses */
.course-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.result-count { color: var(--muted); font-size: 13px; margin-bottom: 16px; }

/* ------------------------------------------------------------- course detail */
.course-hero { background: linear-gradient(135deg, #241d18, #3c2a20); color: #fff; padding: 42px 0 46px; position: relative; overflow: hidden; }
.course-hero::before { content: ''; position: absolute; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 98, 14, .22), transparent 66%); right: -120px; top: -200px; }
.course-hero-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.course-hero .crumbs { justify-content: flex-start; color: rgba(255, 255, 255, .6); }
.course-hero .crumbs a:hover { color: #ffb88a; }
.course-hero h1 { font-size: clamp(30px, 3.5vw, 42px); margin: 8px 0 10px; }
.course-hero p { color: rgba(255, 255, 255, .7); font-size: 14.5px; max-width: 620px; }
.course-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.course-tags span { font-size: 11.5px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .12); border-radius: 100px; padding: 5px 11px; }
.course-hero-meta { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.course-hero-meta div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.course-hero-meta .icon { color: #ffb88a; }
.enroll-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 22px; box-shadow: 0 24px 50px rgba(0, 0, 0, .2); }
.enroll-card .price { font-size: 30px; }
.enroll-card .old { color: var(--muted-2); font-size: 14px; text-decoration: line-through; margin-left: 6px; }
.enroll-card ul { margin: 16px 0; display: grid; gap: 8px; }
.enroll-card li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.enroll-card li .icon { color: var(--green); }
.enroll-card .seats { background: var(--amber-soft); color: #92400e; border-radius: 7px; padding: 7px 10px; font-size: 12px; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.course-detail-grid { display: grid; grid-template-columns: 1.65fr .85fr; gap: 30px; align-items: start; }
.detail-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.detail-card h2 { font-size: 20px; margin-bottom: 14px; }
.detail-card h3 { font-size: 15px; }
.detail-card p { color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.outcome-list li { display: flex; gap: 8px; font-size: 13px; color: var(--ink-2); }
.outcome-list .icon { color: var(--green); margin-top: 2px; }
.curriculum-item { border: 1px solid var(--border-soft); border-radius: 10px; margin-bottom: 9px; overflow: hidden; }
.curriculum-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fbfaf9; cursor: pointer; }
.curriculum-head b { font-size: 13.5px; flex: 1; }
.curriculum-head small { color: var(--muted); font-size: 11.5px; }
.curriculum-body { padding: 8px 14px 12px 40px; background: #fff; }
.curriculum-body li { font-size: 12.5px; color: var(--muted); padding: 5px 0; display: flex; align-items: center; gap: 8px; list-style: disc; }
.instructor-box { display: flex; gap: 14px; align-items: flex-start; }
.instructor-box .avatar { margin-top: 3px; }
.instructor-box b { font-size: 15px; }
.instructor-box small { color: var(--muted); font-size: 12px; display: block; }
.instructor-box p { font-size: 12.5px; margin-top: 7px; }
.side-facts { display: grid; gap: 10px; }
.side-fact { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding-bottom: 9px; border-bottom: 1px dashed var(--border); }
.side-fact:last-child { border-bottom: 0; padding-bottom: 0; }
.side-fact span { color: var(--muted); }
.side-fact b { font-weight: 600; text-align: right; }

/* ------------------------------------------------------------------ teachers */
.teacher-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teacher-profile { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 24px; box-shadow: var(--shadow-sm); display: flex; gap: 17px; }
.teacher-profile .teacher-photo { margin: 0; flex: none; width: 68px; height: 68px; }
.teacher-profile h3 { font-size: 16px; }
.teacher-profile .subject { color: var(--primary); font-size: 12.5px; font-weight: 600; }
.teacher-profile p { color: var(--muted); font-size: 12.5px; margin-top: 8px; line-height: 1.7; }
.teacher-profile .tm { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.teacher-profile .tm span { display: inline-flex; align-items: center; gap: 4px; }

/* -------------------------------------------------------------------- batches */
.batch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.batch-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; transition: .2s; }
.batch-card:hover { border-color: #f5d5bf; box-shadow: var(--shadow); }
.batch-date { width: 62px; flex: none; border-radius: 10px; background: var(--primary-soft); color: var(--primary-dark); text-align: center; padding: 8px 0; height: fit-content; }
.batch-date b { display: block; font-size: 23px; line-height: 1.1; }
.batch-date small { font-size: 10.5px; }
.batch-main { flex: 1; }
.batch-main h3 { font-size: 16px; }
.batch-main .course-name { color: var(--primary); font-size: 12px; font-weight: 600; margin-top: 2px; }
.batch-meta { display: grid; gap: 5px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.batch-meta span { display: flex; align-items: center; gap: 6px; }
.batch-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.seats-bar { flex: 1; max-width: 160px; }
.seats-bar small { font-size: 10.5px; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 3px; }
.bar { height: 5px; background: var(--bg-2); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--primary); border-radius: 3px; }

/* --------------------------------------------------------------------- blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: .2s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-cover { height: 150px; position: relative; display: flex; align-items: flex-end; padding: 16px; color: #fff; }
.blog-cover .bc-icon { position: absolute; right: 18px; top: 18px; opacity: .35; }
.blog-cover .badge { background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.blog-body { padding: 17px 18px; flex: 1; display: flex; flex-direction: column; }
.blog-body h3 { font-size: 15.5px; line-height: 1.5; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { color: var(--muted); font-size: 12.5px; margin-top: 7px; line-height: 1.7; }
.blog-meta { display: flex; gap: 14px; color: var(--muted-2); font-size: 11.5px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.blog-meta span { display: inline-flex; align-items: center; gap: 4px; }
.article { max-width: 780px; margin: 0 auto; }
.article h1 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.35; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; margin-top: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article-cover { height: 260px; border-radius: 16px; margin: 24px 0; position: relative; display: grid; place-items: center; color: #fff; }
.article-body p { font-size: 15px; line-height: 1.95; color: var(--ink-2); margin-bottom: 18px; }
.article-body h2 { font-size: 21px; margin: 28px 0 12px; }
.article-body ul { margin: 0 0 18px; padding-left: 4px; }
.article-body ul li { font-size: 14px; color: var(--ink-2); padding: 5px 0 5px 22px; position: relative; }
.article-body ul li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* -------------------------------------------------------------------- notices */
.notice-page-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.notice-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow-sm); display: flex; gap: 15px; transition: .18s; }
.notice-card:hover { border-color: #f4d2bb; box-shadow: var(--shadow); }
.notice-card .notice-icon { width: 44px; height: 44px; border-radius: 11px; }
.notice-card h3 { font-size: 15.5px; }
.notice-card p { color: var(--muted); font-size: 12.5px; margin-top: 5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-card .nc-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 11.5px; color: var(--muted-2); }
.pin-flag { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-size: 11px; font-weight: 600; }

/* -------------------------------------------------------------------- results */
.result-search { max-width: 620px; margin: 0 auto 28px; background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.result-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.result-top { background: linear-gradient(135deg, #241d18, #3d2b1f); color: #fff; padding: 24px 26px; display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.result-top h3 { font-size: 19px; }
.result-top small { color: rgba(255, 255, 255, .65); font-size: 12px; }
.grade-bubble { width: 78px; height: 78px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .25); display: grid; place-items: center; text-align: center; }
.grade-bubble b { font-size: 25px; line-height: 1; }
.grade-bubble small { font-size: 10px; }
.result-body { padding: 22px 26px; }
.result-student { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.result-student b { font-size: 17px; }
.result-student p { color: var(--muted); font-size: 12.5px; }
.marks-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.marks-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.marks-table td { padding: 10px; border-bottom: 1px solid var(--border-soft); }
.marks-table td:last-child, .marks-table th:last-child { text-align: right; }
.marks-table tr:last-child td { border-bottom: 0; }
.result-summary { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; background: var(--primary-tint); border-radius: 10px; padding: 12px 16px; }
.result-summary div { font-size: 12.5px; color: var(--muted); }
.result-summary b { display: block; font-size: 18px; color: var(--ink); }

/* ------------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-figure { border-radius: 18px; overflow: hidden; position: relative; background: linear-gradient(135deg, #f9e3d2, #fbd0b3); min-height: 360px; display: grid; place-items: center; }
.about-figure .af-badge { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; }
.about-figure .af-badge b { font-size: 23px; color: var(--primary); display: block; line-height: 1; }
.about-figure .af-badge small { font-size: 11px; color: var(--muted); }
.about-copy h2 { font-size: 30px; line-height: 1.35; margin-bottom: 14px; }
.about-copy p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 12px; }
.about-points { display: grid; gap: 9px; margin-top: 16px; }
.about-points li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.about-points .icon { color: var(--green); margin-top: 2px; }
.principal { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; box-shadow: var(--shadow-sm); }
.principal .p-avatar { width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, #f2620e, #f9a03f); display: grid; place-items: center; color: #fff; font-size: 38px; font-weight: 700; }
.principal blockquote { font-size: 15px; line-height: 1.8; color: var(--ink-2); font-style: italic; }
.principal b { display: block; margin-top: 8px; font-size: 13px; }
.principal small { color: var(--muted); font-size: 11.5px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.value-card .vc-ico { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.value-card h3 { font-size: 15.5px; }
.value-card p { color: var(--muted); font-size: 12.5px; margin-top: 7px; line-height: 1.7; }

/* ----------------------------------------------------------------- admission */
.admission-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 21px; margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.col-span { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field label em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 10px 12px; outline: none; color: var(--ink); font-size: 13.5px; transition: border-color .15s, box-shadow .15s; font-family: inherit; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field textarea { resize: vertical; min-height: 76px; }
.field small { font-size: 11px; color: var(--muted); }
.form-foot { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.form-note { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.info-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.info-card h3 { font-size: 15px; margin-bottom: 10px; }
.info-card ol { counter-reset: step; display: grid; gap: 12px; }
.info-card ol li { position: relative; padding-left: 34px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.info-card ol li::before { counter-increment: step; content: counter(step, decimal); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 11px; display: grid; place-items: center; }
.info-card .contact-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); padding: 5px 0; }
.info-card .contact-line .icon { color: var(--primary); }
.success-panel { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 36px; text-align: center; box-shadow: var(--shadow-sm); max-width: 620px; margin: 0 auto; }
.success-ico { width: 70px; height: 70px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.success-panel h2 { font-size: 23px; }
.success-panel p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.code-pill { display: inline-block; background: var(--primary-tint); border: 1px dashed #f5b98f; color: var(--primary-dark); border-radius: 8px; padding: 9px 18px; font-size: 16px; font-weight: 700; letter-spacing: 1px; margin-top: 16px; }
.success-panel .btn-row { justify-content: center; margin-top: 22px; }

/* ------------------------------------------------------------------- contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; padding: 17px; display: flex; gap: 13px; box-shadow: var(--shadow-sm); }
.contact-card .cc-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.contact-card b { font-size: 13.5px; }
.contact-card p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.map-box { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-soft); background: #eef3f7; height: 210px; display: grid; place-items: center; position: relative; background-image: linear-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px); background-size: 26px 26px; }
.map-pin-big { width: 52px; height: 52px; border-radius: 50% 50% 50% 0; background: var(--primary); transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 12px 24px rgba(242, 98, 14, .3); }
.map-pin-big .icon { transform: rotate(45deg); color: #fff; }

/* --------------------------------------------------------------------- help */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border-soft); border-radius: 11px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: none; border: 0; padding: 15px 18px; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; color: var(--ink); }
.faq-q .icon { color: var(--primary); transition: transform .2s; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }
.policy-body { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 32px; box-shadow: var(--shadow-sm); }
.policy-body h2 { font-size: 19px; margin: 26px 0 10px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li { color: var(--ink-2); font-size: 13.5px; line-height: 1.85; }
.policy-body ul { margin: 8px 0 16px; }
.policy-body ul li { padding-left: 18px; position: relative; }
.policy-body ul li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

/* ------------------------------------------------------------------ verify */
.verify-wrap { max-width: 620px; margin: 0 auto; }
.verify-box { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); text-align: center; }
.verify-box .verify-ico { width: 62px; height: 62px; border-radius: 50%; background: #eef6ff; color: #2563eb; display: grid; place-items: center; margin: 0 auto 14px; }
.verify-box h2 { font-size: 21px; }
.verify-box p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.verify-form { display: flex; gap: 10px; margin-top: 18px; }
.verify-form input { flex: 1; border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px; outline: none; font-size: 14px; }
.verify-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.verify-result { margin-top: 20px; text-align: left; }
.verify-success { border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 12px; padding: 20px; }
.verify-success h3 { color: #15803d; font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.verify-fail { border: 1px solid #fecaca; background: #fef2f2; border-radius: 12px; padding: 20px; color: #b91c1c; font-size: 13.5px; }
.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.verify-grid div { font-size: 12.5px; color: var(--muted); }
.verify-grid b { display: block; color: var(--ink); font-size: 13.5px; }

/* ------------------------------------------------------------------ auth dark */
.auth-dark { background: #0b1220; background-image: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, .08), transparent 45%), radial-gradient(circle at 85% 80%, rgba(34, 197, 94, .05), transparent 40%); padding: 60px 16px 70px; min-height: 760px; display: flex; align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 430px; background: #0f1b2d; border: 1px solid #1e3350; border-radius: 16px; padding: 27px 26px; color: #dbe4ee; box-shadow: 0 0 0 1px rgba(34, 197, 94, .08), 0 24px 60px rgba(0, 0, 0, .45), 0 0 40px rgba(34, 197, 94, .05); position: relative; }
.auth-card::before { content: ''; position: absolute; top: -1px; left: 16px; right: 16px; height: 3px; background: linear-gradient(90deg, transparent, #22c55e, transparent); border-radius: 4px; }
.auth-shield { width: 58px; height: 58px; border-radius: 14px; margin: 0 auto 12px; background: linear-gradient(145deg, #16a34a, #22c55e); display: grid; place-items: center; color: #fff; box-shadow: 0 0 26px rgba(34, 197, 94, .4); }
.auth-card h1 { text-align: center; color: #fff; font-size: 24px; }
.auth-secure { display: flex; align-items: center; justify-content: center; gap: 6px; color: #6ee7a0; font-size: 11.5px; margin-top: 7px; }
.auth-demo { margin-top: 18px; background: #0b1626; border: 1px solid #1b3049; border-radius: 11px; padding: 13px; }
.auth-demo > p { font-size: 11.5px; color: #8fa6c0; margin-bottom: 9px; display: flex; align-items: center; gap: 5px; }
.demo-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.demo-role { border: 1px solid transparent; border-radius: 8px; padding: 8px 10px; font-size: 12.5px; font-weight: 600; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: .18s; background: #0e7490; }
.demo-role:hover { filter: brightness(1.12); transform: translateY(-1px); }
.demo-role.admin { background: #0e7490; }
.demo-role.teacher { background: #15803d; }
.demo-role.guardian { background: #c2620a; }
.demo-role.student { background: #7c3aed; }
.demo-hint { margin-top: 9px; font-size: 10.5px; color: #7188a2; line-height: 1.8; text-align: center; }
.demo-hint b { color: #a9bfd6; font-weight: 500; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 16px; }
.auth-tab { border: 1px solid #223a57; background: #0b1626; color: #8fa6c0; border-radius: 8px; padding: 10px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.auth-tab.active { background: #0e7490; color: #fff; border-color: #0e7490; }
.auth-field { margin-bottom: 13px; }
.auth-field label { display: block; font-size: 12px; color: #a9bfd6; margin-bottom: 5px; }
.auth-field input, .auth-field select { width: 100%; background: #0a1421; border: 1px solid #223a57; border-radius: 8px; padding: 11px 12px; color: #e2e8f0; outline: none; font-size: 13.5px; }
.auth-field input:focus, .auth-field select:focus { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .12); }
.auth-btn { width: 100%; background: linear-gradient(180deg, #22c55e, #16a34a); border: 0; color: #06240f; font-weight: 700; border-radius: 8px; padding: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 14px; margin-top: 4px; }
.auth-btn:hover { filter: brightness(1.06); }
.auth-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: #7d93ab; font-size: 11px; margin-top: 12px; }
.auth-links { text-align: center; font-size: 12px; color: #8fa6c0; margin-top: 15px; display: grid; gap: 6px; }
.auth-links a { color: #6ee7a0; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }
.auth-error { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .3); color: #fca5a5; border-radius: 7px; padding: 8px 11px; font-size: 12px; margin-bottom: 12px; display: none; }
.auth-error.show { display: block; }

/* ------------------------------------------------------------ auth success */
.auth-success { text-align: center; }
.auth-success .big-ico { width: 66px; height: 66px; border-radius: 50%; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); color: #22c55e; display: grid; place-items: center; margin: 0 auto 14px; }

/* ------------------------------------------------------------- payment pages */
.pay-status { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 36px; text-align: center; box-shadow: var(--shadow-sm); }
.pay-status .ps-ico { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
.pay-status .ps-ico.ok { background: var(--green-soft); color: var(--green); }
.pay-status .ps-ico.bad { background: var(--red-soft); color: var(--red); }
.pay-status h2 { font-size: 23px; }
.pay-status p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.pay-status .pay-details { background: var(--bg); border-radius: 10px; padding: 15px 18px; margin: 18px 0; display: grid; gap: 8px; text-align: left; }
.pay-status .pay-details div { display: flex; justify-content: space-between; font-size: 13px; }
.pay-status .pay-details span { color: var(--muted); }

/* ------------------------------------------------------------------- modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(20, 16, 12, .55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100; animation: fadeIn .18s; }
.modal { background: #fff; border-radius: 14px; width: 100%; max-width: 560px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); animation: popIn .18s; }
.modal.modal-sm { max-width: 420px; }
.modal.modal-lg { max-width: 760px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.modal-head h3 { font-size: 16px; }
.modal-head .icon-btn { width: 32px; height: 32px; border: 0; background: var(--bg); }
.modal-body { padding: 20px; overflow-y: auto; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--border-soft); display: flex; justify-content: flex-end; gap: 9px; }
.confirm-text { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ------------------------------------------------------------------- badges */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 5px; background: var(--bg-2); color: var(--muted); line-height: 1.5; white-space: nowrap; }
.badge.green { background: var(--green-soft); color: #15803d; }
.badge.amber { background: var(--amber-soft); color: #b45309; }
.badge.red { background: var(--red-soft); color: #b91c1c; }
.badge.blue { background: #eef6ff; color: #1d4ed8; }
.badge.purple { background: #f5efff; color: #6d28d9; }
.badge.orange { background: var(--primary-soft); color: var(--primary-dark); }
.badge.gray { background: #f4f4f5; color: #52525b; }
.avatar { border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 700; flex: none; background: var(--primary); }

/* -------------------------------------------------------------------- toast */
#toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: #1f2937; color: #fff; border-radius: 10px; padding: 11px 18px; display: flex; align-items: center; gap: 9px; font-size: 13px; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: .25s; z-index: 200; max-width: calc(100% - 32px); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.error { background: #991b1b; }
#toast.info { background: #1e40af; }
#toast .toast-ico { display: inline-flex; }

/* ------------------------------------------------------------------- helpers */
.empty-state { text-align: center; padding: 44px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--border); border-radius: 14px; }
.empty-state .icon { color: var(--muted-2); }
.empty-state h3 { font-size: 16px; margin: 10px 0 4px; color: var(--ink); }
.empty-state p { font-size: 13px; margin-bottom: 14px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-up { animation: fadeUp .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .nav-link { padding-inline: 10px; }
  .header-main { gap: 16px; }
  .header-admit { display: none; }
  .teacher-grid { grid-template-columns: repeat(3, 1fr); }
  .teacher-grid .teacher-card:nth-child(4) { display: none; }
}
@media (max-width: 980px) {
  .site-top { display: none; }
  .header-search { max-width: none; }
  .hero { padding-top: 30px; padding-bottom: 96px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-art { order: -1; max-width: 470px; margin: 0 auto 6px; }
  .hero-art .float-card { display: none; }
  .course-grid, .course-page-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .student-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .notice-layout, .course-detail-grid, .about-grid, .admission-layout, .contact-layout { grid-template-columns: 1fr; }
  .course-hero-grid { grid-template-columns: 1fr; }
  .enroll-card { max-width: 460px; }
  .teacher-page-grid { grid-template-columns: repeat(2, 1fr); }
  .batch-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .result-search { grid-template-columns: 1fr 1fr; }
  .result-search .btn { grid-column: 1 / -1; }
  .header-cta span { display: none; }
  .header-cta { padding: 11px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 28px); }
  .site-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .header-main { padding: 12px 0; flex-wrap: wrap; }
  .brand-text b { font-size: 16.5px; }
  .brand-text small { font-size: 9.5px; }
  .header-search { order: 3; flex-basis: 100%; margin: 0; max-width: none; }
  .header-actions { gap: 6px; }
  .header-cta.phone { display: none; }
  .header-cta { border: 0; background: var(--primary-soft); color: var(--primary-dark); }
  .stats-wrap { margin-top: -52px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-block { padding: 16px; }
  .stat-block + .stat-block::before { display: none; }
  .stat-block:nth-child(3), .stat-block:nth-child(4) { border-top: 1px solid var(--border-soft); }
  .stat-block b { font-size: 20px; }
  .section { padding: 44px 0; }
  .section-head:has(.section-link) .section-link { position: static; display: inline-flex; margin-top: 8px; }
  .course-grid, .course-page-grid, .blog-grid { grid-template-columns: 1fr; }
  .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-grid .teacher-card:nth-child(4) { display: block; }
  .teacher-grid .teacher-card:nth-child(3) { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .student-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .student-card { padding: 16px 10px; }
  .student-avatar { width: 54px; height: 54px; font-size: 20px; }
  .teacher-page-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-about { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 28px 0 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .outcome-list { grid-template-columns: 1fr; }
  .result-search { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .result-top { padding: 20px; }
  .result-body { padding: 18px 20px; }
  .article-cover { height: 190px; }
  .policy-body { padding: 22px; }
  .auth-dark { padding: 32px 14px 40px; }
  .auth-card { padding: 22px 18px; }
  .verify-form { flex-direction: column; }
  .principal { grid-template-columns: 1fr; text-align: center; }
  .principal .p-avatar { margin: 0 auto; }
  .value-grid { grid-template-columns: 1fr; }
  .batch-card { flex-direction: row; }
  .course-cover.online { height: 148px; }
  .hero-art svg { max-width: 340px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 14.5px; }
  .hero-trust { gap: 10px; font-size: 11.5px; }
  .cta-box { padding: 24px; }
  .cta-box h3 { font-size: 21px; }
}
@media print {
  .site-top, .site-header, .site-footer, .app-sidebar, .app-topbar, .no-print { display: none !important; }
  .app-shell { display: block; }
  .app-main { margin: 0; }
  body { background: #fff; }
}

/* ---- MCQ categories & practice (eduversity) ---- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; gap: 6px; color: #fff; border-radius: 16px; padding: 22px; min-height: 176px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 12px 30px rgba(0,0,0,.12)); }
.cat-card::after { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); right: -50px; bottom: -70px; }
.cat-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.18); margin-bottom: 8px; }
.cat-card b { font-size: 18px; }
.cat-card small { font-size: 12.5px; opacity: .85; }
.cat-count { margin-top: auto; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.2); align-self: flex-start; padding: 4px 10px; border-radius: 999px; }
.practice-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; position: sticky; top: 8px; z-index: 5; }
.practice-bar #pr-score { font-weight: 700; color: var(--ink); }
.practice-list { display: grid; gap: 16px; }
.practice-q { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.practice-q h3 { font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
.pq-no { color: var(--primary); font-weight: 700; margin-right: 4px; }
.pq-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pq-opt { text-align: left; font: inherit; font-size: 14.5px; background: var(--primary-tint); border: 1px solid var(--border); color: var(--ink); border-radius: 10px; padding: 10px 14px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.pq-opt:hover:not(:disabled) { border-color: var(--primary); }
.pq-opt:disabled { cursor: default; }
.pq-opt.correct { background: #dcfce7; border-color: var(--green); color: #14532d; font-weight: 600; }
.pq-opt.wrong { background: #fee2e2; border-color: var(--red); color: #7f1d1d; }
.pq-explain { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--ink-2); background: var(--primary-tint); border-radius: 10px; padding: 12px 14px; }
.pq-explain[hidden] { display: none; }
.curriculum-body .btn { margin: 10px 0 4px; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } .pq-options { grid-template-columns: 1fr; } .practice-q { padding: 16px; } }
