/* =========================================================================
   Siddhartha Coaching Centre – public website styles
   Colours come from the logo (blue ring, saffron robe, green leaves, pink lotus)
   and can be changed in the back office (Settings → Brand).
   ========================================================================= */

:root {
  --brand: #0b5d9e;
  --accent: #f5b400;
  --brand-dark: color-mix(in srgb, var(--brand) 58%, #00131f);
  --brand-mid: color-mix(in srgb, var(--brand) 82%, #fff);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
  --accent-dark: color-mix(in srgb, var(--accent) 78%, #5a3a00);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, #fff);
  --lotus: #d9468f;
  --leaf: #1f9d55;
  --ink: #14243a;
  --muted: #53647a;
  --line: #e1e9f2;
  --bg: #ffffff;
  --tint: #f3f8fd;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(11, 45, 80, 0.07);
  --shadow: 0 10px 30px rgba(11, 45, 80, 0.1);
  --shadow-lg: 0 24px 60px rgba(11, 45, 80, 0.18);
  --font-body: 'Nunito', 'Noto Sans Telugu', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Poppins', 'Noto Sans Telugu', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1180px;
}

/* ------------------------------------------------------------- reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.fs-1 { font-size: 112.5%; }
html.fs--1 { font-size: 93.75%; }
html.fs-2 { font-size: 125%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang='te'] body { line-height: 1.8; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 0.6em; color: var(--brand-dark); letter-spacing: -0.01em; }
html[lang='te'] h1, html[lang='te'] h2, html[lang='te'] h3 { line-height: 1.45; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--accent); color: #1b1300; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 820px); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--accent); color: #1b1300; padding: 0.7rem 1.1rem; border-radius: 10px; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

/* ----------------------------------------------------------------- buttons */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.65rem 1.3rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 0.8rem 1.8rem; font-size: 1.02rem; }
.btn-sm { min-height: 38px; padding: 0.4rem 1rem; font-size: 0.86rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #1f1500; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); color: #1f1500; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-outline-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: #fff; color: var(--brand-dark); }
.btn-ghost { background: var(--brand-soft); color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-wa { background: #25d366; color: #05381a; }
.btn-wa:hover { background: #1fb957; color: #05381a; }
.text-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; text-decoration: none; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link .icon { transition: transform 0.2s; }

/* ------------------------------------------------------------------ ticker */
.ticker { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff)); color: #2a1c00; font-weight: 700; font-size: 0.92rem; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 38s linear infinite; padding: 0.45rem 0; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { padding-right: 5rem; }
.ticker a { color: inherit; text-decoration: none; }
.ticker a:hover { text-decoration: underline; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ topbar */
.topbar { background: var(--brand-dark); color: #dbe9f7; font-size: 0.86rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; padding-block: 0.2rem; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.topbar-left > * { display: inline-flex; align-items: center; gap: 0.4rem; }
.a11y { display: inline-flex; gap: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 2px; }
.a11y button { background: transparent; border: 0; color: #fff; min-width: 32px; height: 28px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 0.45rem; }
.a11y button small { font-size: 0.7em; margin-left: 1px; }
.a11y button:hover, .a11y button[aria-pressed='true'] { background: var(--accent); color: #1f1500; }
.lang-switch { display: inline-flex; background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 2px; }
.lang-switch a { padding: 0.15rem 0.8rem; border-radius: 999px; font-weight: 700; }
.lang-switch a.active { background: #fff; color: var(--brand-dark); text-decoration: none; }
.topbar-social { display: flex; gap: 0.7rem; }
.topbar-social .icon { width: 1.05rem; height: 1.05rem; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 45, 80, 0.1); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--brand-dark); min-width: 0; }
.brand-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); background: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-head); white-space: nowrap; font-size: 1.05rem; font-weight: 700; color: var(--brand-dark); }
.brand-text small { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.nav-cta { white-space: nowrap; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .more-btn { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.55rem 0.8rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; background: none; border: 0; position: relative; }
.nav-list > li > a:hover, .more-btn:hover { background: var(--brand-soft); color: var(--brand); }
.nav-list > li > a.active, .more-btn.active { color: var(--brand); }
.nav-list > li > a.active::after, .more-btn.active::after { content: ''; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 2px; height: 3px; border-radius: 3px; background: var(--accent); }
.has-more { position: relative; }
.more-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; list-style: none; margin: 0; padding: 0.5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.18s; }
.has-more.open .more-list, .has-more:focus-within .more-list { opacity: 1; visibility: visible; transform: none; }
.more-list a { display: block; padding: 0.55rem 0.8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.more-list a:hover, .more-list a.active { background: var(--brand-soft); color: var(--brand); }
.more-btn .icon { transition: transform 0.2s; }
.has-more.open .more-btn .icon { transform: rotate(180deg); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--brand-dark); align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(5, 25, 45, 0.55); z-index: 70; opacity: 0; transition: opacity 0.25s; }
.nav-open .nav-backdrop { opacity: 1; }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--brand) 60%, #6fc0ff) 0%, transparent 60%), linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(6rem, 11vw, 9rem); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(120deg, transparent 20%, #000 90%); -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 90%); }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.hero-bg .b1 { width: 420px; height: 420px; background: var(--accent); right: -120px; bottom: -80px; opacity: 0.3; animation: drift 14s ease-in-out infinite alternate; }
.hero-bg .b2 { width: 360px; height: 360px; background: var(--lotus); left: -140px; top: 10%; opacity: 0.22; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.1); } }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 0.45em; text-wrap: balance; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); padding: 0.4rem 1rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; margin-bottom: 1.2rem; backdrop-filter: blur(4px); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #5cf08e; box-shadow: 0 0 0 0 rgba(92, 240, 142, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(92, 240, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 240, 142, 0); } }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #e3f0fb; max-width: 40em; }
.hero-points { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.2rem; }
.hero-points li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; color: #fff; }
.hero-points .icon { color: #5cf08e; margin-top: 0.25em; stroke-width: 3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-call { margin: 1.4rem 0 0; color: #cfe3f6; }
.hero-call a { color: #fff; }
.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.art-logo { width: 78%; aspect-ratio: 1; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18), 0 30px 80px rgba(0, 20, 45, 0.55); animation: bob 6s ease-in-out infinite; }
.art-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.art-ring { position: absolute; inset: 2%; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, 0.4); animation: spin 40s linear infinite; }
.art-ring::before, .art-ring::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); }
.art-ring::before { top: 8%; right: 14%; }
.art-ring::after { bottom: 10%; left: 12%; background: var(--lotus); box-shadow: 0 0 20px var(--lotus); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.art-chip { position: absolute; display: inline-flex; align-items: center; gap: 0.45rem; background: #fff; color: var(--brand-dark); font-weight: 700; font-size: 0.85rem; padding: 0.5rem 0.9rem; border-radius: 999px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; white-space: nowrap; }
.art-chip span { font-size: 1.1rem; }
.art-chip.c1 { top: 6%; left: -6%; }
.art-chip.c2 { top: 22%; right: -8%; animation-delay: -1.2s; }
.art-chip.c3 { bottom: 12%; left: -10%; animation-delay: -2.4s; }
.art-chip.c4 { bottom: 2%; right: 2%; animation-delay: -3.4s; background: var(--accent); color: #1f1500; }
@keyframes float { 50% { transform: translateY(-9px); } }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 90px); fill: var(--bg); }

/* ------------------------------------------------------------------- stats */
.stats { margin-top: -4.2rem; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 1.6rem 1rem; border: 1px solid var(--line); }
.stat { text-align: center; padding: 0.4rem 0.8rem; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 700; font-size: 0.95rem; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; position: relative; }
.section-tint { background: var(--tint); }
.section-dark { background: radial-gradient(900px 400px at 10% 0%, color-mix(in srgb, var(--brand) 60%, #000) 0%, transparent 70%), var(--brand-dark); color: #dbe9f7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto clamp(1.8rem, 4vw, 3rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-head p { color: #b8d1ea; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; text-align: left; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 0.5rem !important; position: relative; padding-left: 2rem; }
.eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; width: 1.4rem; height: 3px; border-radius: 3px; background: var(--accent); }
.section-head:not(.section-head-row) .eyebrow { padding-left: 0; }
.section-head:not(.section-head-row) .eyebrow::before { display: none; }
.section-dark .eyebrow { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 0.3rem; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 0.78rem; padding: 0.2rem 0.7rem; border-radius: 999px; }
.chip-green { background: #e3f6ea; color: #15753f; }
.chip-pin { background: var(--accent-soft); color: var(--accent-dark); }
.chip-float { position: absolute; left: 0.8rem; top: 0.8rem; background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); }

/* gradient palette (categories / card placeholders) */
.g0 { --g1: #0b5d9e; --g2: #3da1e6; }
.g1 { --g1: #d9468f; --g2: #ff8fc0; }
.g2 { --g1: #1f9d55; --g2: #6fdc9b; }
.g3 { --g1: #e08a00; --g2: #ffc94d; }
.g4 { --g1: #6b46c1; --g2: #a98cf0; }
.g5 { --g1: #0e8a9a; --g2: #55d3e0; }

/* --------------------------------------------------------------- categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.cat-card { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; position: relative; overflow: hidden; }
.cat-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: linear-gradient(135deg, var(--g1), var(--g2)); opacity: 0.1; transition: transform 0.4s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--g1); }
.cat-card:hover::after { transform: scale(1.6); }
.cat-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 10px 20px color-mix(in srgb, var(--g1) 35%, transparent); margin-bottom: 0.7rem; }
.cat-card h3 { margin: 0; font-size: 1.15rem; }
.cat-card p { color: var(--muted); font-size: 0.96rem; margin: 0.2rem 0 0.8rem; flex: 1; }
.cat-more { display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 800; color: var(--g1); font-size: 0.9rem; }
.cat-card:hover .cat-more .icon { transform: translateX(4px); }
.cat-more .icon { transition: transform 0.2s; }

/* ----------------------------------------------------------------- features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.3rem; }
.feature { background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); font-size: 1.7rem; margin-bottom: 1rem; }
.feature h3 { margin-bottom: 0.4rem; }
.feature p { margin: 0; color: var(--muted); }

/* -------------------------------------------------------------------- cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; color: var(--ink); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--g1, var(--brand)), var(--g2, var(--brand-mid))); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-emoji { font-size: 3.6rem; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25)); transition: transform 0.4s; }
.card:hover .card-emoji { transform: scale(1.15) rotate(-4deg); }
.card-body { padding: 1.3rem 1.4rem 0.6rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.card-body h3 a { color: var(--brand-dark); text-decoration: none; }
.card-body h3 a:hover { color: var(--brand); }
.card-text { color: var(--muted); font-size: 0.96rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta-list { list-style: none; padding: 0; margin: 0.3rem 0 0.6rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.meta-list li { display: inline-flex; align-items: center; gap: 0.35rem; }
.meta-list .icon { color: var(--brand); width: 1em; height: 1em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.9rem 1.4rem 1.3rem; }
.fee { font-family: var(--font-head); font-weight: 700; color: var(--accent-dark); font-size: 0.95rem; }
.update-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--muted); font-weight: 700; margin-bottom: 0.7rem; }
.update-card .card-body { padding-bottom: 1.4rem; }

/* video */
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #0a1b2e; overflow: hidden; border-radius: 0; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s, opacity 0.3s; opacity: 0.92; }
.video-card:hover .video-thumb img, .video-thumb:hover img { transform: scale(1.06); opacity: 1; }
.play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.95); color: var(--brand); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform 0.2s, background 0.2s; }
.play .icon { width: 26px; height: 26px; margin-left: 3px; }
.play-lg { width: 84px; height: 84px; }
.play-lg .icon { width: 34px; height: 34px; }
.video-thumb:hover .play { transform: scale(1.12); background: var(--accent); color: #1f1500; }
.section-dark .card { border-color: rgba(255, 255, 255, 0.1); background: #0f3a63; color: #dbe9f7; }
.section-dark .card-body h3 { color: #fff; }
.section-dark .card-text { color: #b8d1ea; }
.featured-video { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; margin-bottom: 3rem; }
.featured-video .video-thumb { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.featured-copy .btn { margin-top: 0.6rem; }

/* ------------------------------------------------------------------ batches */
.batch-list { display: grid; gap: 1rem; max-width: 960px; margin-inline: auto; }
.batch-list-compact { max-width: none; margin-bottom: 2rem; }
.batch { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.3rem; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.batch:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.batch-list-compact .batch { grid-template-columns: auto 1fr auto; }
.batch-date { width: 68px; height: 68px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-mid)); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.batch-date strong { font-family: var(--font-head); font-size: 1.7rem; }
.batch-date span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.batch-info h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.batch-info p { margin: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.batch-info span { display: inline-flex; gap: 0.35rem; align-items: center; }
.status { font-size: 0.8rem; font-weight: 800; padding: 0.3rem 0.8rem; border-radius: 999px; background: #e3f6ea; color: #15753f; white-space: nowrap; }
.status-filling-fast { background: #fff0d6; color: #a85a00; }
.status-starting-soon { background: var(--brand-soft); color: var(--brand); }
.status-full { background: #fde3e3; color: #a42a2a; }

/* -------------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-grid-top { align-items: start; }
.about-visual { position: relative; display: grid; place-items: center; }
.about-emblem { width: min(100%, 400px); aspect-ratio: 1; border-radius: 50%; padding: 14px; background: conic-gradient(from 90deg, var(--accent), var(--lotus), var(--brand), var(--leaf), var(--accent)); box-shadow: var(--shadow-lg); animation: spin-slow 30s linear infinite; }
.about-emblem img { width: 100%; height: 100%; border-radius: 50%; border: 8px solid #fff; background: #fff; object-fit: cover; animation: spin-slow 30s linear infinite reverse; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.about-photo { width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.about-badge { position: absolute; right: 4%; bottom: 2%; background: var(--accent); color: #1f1500; border-radius: 20px; padding: 0.9rem 1.3rem; text-align: center; box-shadow: var(--shadow); line-height: 1.15; }
.about-badge strong { display: block; font-family: var(--font-head); font-size: 1.9rem; }
.about-badge span { font-size: 0.82rem; font-weight: 800; }
.tick-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.6rem; }
.tick-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 600; }
.tick-list .icon { flex: none; width: 1.4rem; height: 1.4rem; padding: 0.22rem; border-radius: 50%; background: #e3f6ea; color: var(--leaf); stroke-width: 3.2; margin-top: 0.15rem; }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.mv-card { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mv-icon { font-size: 2.2rem; display: block; margin-bottom: 0.6rem; }
.mv-card p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.director { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; align-items: center; background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.5rem); margin: 0; }
.director-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--accent); }
.director-ph { display: grid; place-items: center; background: var(--accent-soft); font-size: 3.4rem; }
.director blockquote { margin: 0; position: relative; }
.director blockquote p { font-size: 1.15rem; font-style: italic; margin: 0; color: var(--ink); }
.q-mark { width: 2rem; height: 2rem; color: var(--accent); margin-bottom: 0.4rem; }
.director figcaption { grid-column: 2; display: flex; flex-direction: column; font-weight: 800; color: var(--brand-dark); }
.director figcaption span { font-weight: 600; color: var(--muted); font-size: 0.92rem; }
.cta-slim { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #e3f0fb; }
.cta-slim h2 { color: #fff; }
.cta-slim .btn { margin: 0.3rem; }

/* faculty */
.faculty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.4rem; }
.faculty-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.3rem; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.faculty-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--accent); }
.faculty-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-mid)); color: #fff; font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; }
.faculty-card h3 { margin-bottom: 0.2rem; }
.faculty-role { color: var(--brand); font-weight: 700; margin-bottom: 0.3rem; }
.faculty-meta { color: var(--muted); font-size: 0.88rem; font-weight: 700; margin-bottom: 0.5rem; }
.faculty-bio { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ------------------------------------------------------------------ results */
.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.3rem; }
.result-card { position: relative; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.2rem 1.5rem; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.result-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 70px; background: linear-gradient(135deg, var(--brand), var(--brand-mid)); }
.result-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.result-photo { position: relative; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 0.8rem; display: block; border: 4px solid #fff; box-shadow: var(--shadow-sm); background: #fff; }
.result-initials { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; }
.result-badge { position: absolute; top: 0.7rem; right: 0.7rem; display: inline-flex; gap: 0.25rem; align-items: center; background: var(--accent); color: #1f1500; font-size: 0.72rem; font-weight: 800; padding: 0.15rem 0.6rem; border-radius: 999px; }
.result-badge .icon { width: 0.9em; height: 0.9em; }
.result-card h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.result-exam { margin: 0; font-weight: 800; color: var(--brand); }
.result-post, .result-rank { margin: 0.2rem 0 0; font-size: 0.88rem; color: var(--muted); }

/* ------------------------------------------------------------ testimonials */
.testimonial { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.stars { display: flex; gap: 2px; color: #d5dde8; }
.stars .on { color: var(--accent); }
.stars .icon { width: 1.1rem; height: 1.1rem; }
.testimonial blockquote { margin: 0; flex: 1; position: relative; }
.testimonial blockquote .q-mark { position: absolute; right: 0; top: -0.2rem; width: 2.2rem; height: 2.2rem; color: var(--brand-soft); }
.testimonial blockquote p { margin: 0; font-size: 1.02rem; color: var(--ink); }
.testimonial figcaption { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.testimonial figcaption > span:not(.avatar) { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 120px; }
.testimonial small { color: var(--muted); font-weight: 600; }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-text { display: grid; place-items: center; background: linear-gradient(135deg, var(--lotus), #ff8fc0); color: #fff; font-family: var(--font-head); font-weight: 700; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.carousel { position: relative; }
.carousel-track { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.2rem 1.5rem; scrollbar-width: none; scroll-behavior: smooth; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 min(100%, 400px); scroll-snap-align: start; }
.carousel-ctrl { display: flex; justify-content: center; gap: 0.8rem; margin-bottom: 1.5rem; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--brand); background: #fff; color: var(--brand); display: grid; place-items: center; transition: 0.2s; }
.round-btn:hover { background: var(--brand); color: #fff; }

/* ------------------------------------------------------------------- areas */
.section-areas { background: linear-gradient(180deg, #fff, var(--brand-soft)); }
.chip-cloud { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; max-width: 900px; }
.chip-cloud li { display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font-weight: 700; color: var(--brand-dark); box-shadow: var(--shadow-sm); transition: 0.2s; }
.chip-cloud li:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.chip-cloud .icon { color: var(--lotus); width: 1em; height: 1em; }
.chip-cloud li:hover .icon { color: var(--accent); }

/* --------------------------------------------------------------------- faq */
.faq { display: grid; gap: 0.8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--brand); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 800; font-family: var(--font-head); font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--brand-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform 0.25s; color: var(--brand); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq-a p { margin: 0; }

/* --------------------------------------------------------------------- cta */
.cta-section { background: radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%), linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #e3f0fb; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta-copy h2 { color: #fff; }
.cta-copy p { font-size: 1.12rem; }
.cta-contacts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.8rem; font-weight: 700; }
.cta-contacts li { display: flex; align-items: center; gap: 0.7rem; }
.cta-contacts .icon { width: 2.4rem; height: 2.4rem; padding: 0.6rem; background: rgba(255, 255, 255, 0.14); border-radius: 50%; color: var(--accent); }
.cta-contacts a { color: #fff; }
.cta-form, .contact-form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); }

/* ------------------------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 0.9rem; color: var(--brand-dark); }
.req { color: #d62f4a; }
input[type='text'], input[type='tel'], input[type='email'], input[type='search'], input[type='password'], input[type='number'], input[type='date'], input[type='url'], select, textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.95rem; border: 2px solid #d3deea; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
input[aria-invalid='true'], select[aria-invalid='true'] { border-color: #d62f4a; box-shadow: 0 0 0 4px rgba(214, 47, 74, 0.12); }
.form-note { display: flex; gap: 0.45rem; align-items: center; justify-content: center; color: var(--muted); font-size: 0.86rem; margin: 0.9rem 0 0; font-weight: 600; }
.form-note .icon { color: var(--leaf); }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 12px; font-weight: 700; }
.form-status.ok { background: #e3f6ea; color: #14683a; }
.form-status.err { background: #fde3e3; color: #a42a2a; }
.form-status .btn { margin-top: 0.6rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.alert { padding: 1rem 1.2rem; border-radius: 14px; font-weight: 700; margin-bottom: 1.5rem; display: flex; gap: 0.6rem; align-items: center; }
.alert-ok { background: #e3f6ea; color: #14683a; }
.alert-err { background: #fde3e3; color: #a42a2a; }

/* ----------------------------------------------------------- inner pages */
.page-hero { background: radial-gradient(700px 300px at 90% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; padding: clamp(2.2rem, 5vw, 3.8rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, 0.07); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 0.3em; text-wrap: balance; }
.page-sub { color: #d5e6f6; font-size: 1.1rem; max-width: 46em; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.88rem; margin-bottom: 1rem; color: #b8d1ea; font-weight: 700; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.8rem; }
.toolbar .filter-chips { margin: 0; }
.chip-btn { display: inline-flex; gap: 0.4rem; align-items: center; padding: 0.5rem 1.1rem; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--ink); font-weight: 800; font-size: 0.9rem; text-decoration: none; transition: 0.2s; }
.chip-btn:hover { border-color: var(--brand); color: var(--brand); }
.chip-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.search-box { position: relative; min-width: min(100%, 280px); }
.search-box .icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 2.6rem; border-radius: 999px; }
.empty, .empty-state { text-align: center; color: var(--muted); }
.empty-state { padding: 3rem 1rem; max-width: 520px; margin: 0 auto; }
.empty-state > span { display: block; font-size: 4rem; margin-bottom: 0.5rem; }
.empty-state h1, .empty-state h2 { margin-bottom: 0.4rem; }
.help-banner { margin-top: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--accent-soft), #fff); border: 1px solid color-mix(in srgb, var(--accent) 40%, #fff); border-radius: 24px; padding: 1.8rem 2rem; }
.help-banner h2 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.help-banner p { margin: 0; color: var(--muted); }
.help-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.detail-cover { width: 100%; border-radius: var(--radius); margin-bottom: 1.5rem; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.detail-side { position: sticky; top: 100px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem; box-shadow: var(--shadow); display: grid; gap: 0.8rem; }
.side-card h2 { font-size: 1.2rem; margin: 0; }
.facts { margin: 0 0 0.5rem; display: grid; gap: 0.2rem; }
.facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px dashed var(--line); }
.facts dt { display: inline-flex; gap: 0.5rem; align-items: center; color: var(--muted); font-weight: 700; }
.facts dt .icon { color: var(--brand); }
.facts dd { margin: 0; font-weight: 800; text-align: right; color: var(--brand-dark); }
.syllabus { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 0.6rem; margin: 1rem 0 2rem; }
.syllabus li { counter-increment: s; display: flex; gap: 0.9rem; align-items: center; background: var(--tint); padding: 0.8rem 1rem; border-radius: 12px; font-weight: 700; }
.syllabus li::before { content: counter(s); display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-size: 0.85rem; }
.prose { font-size: 1.06rem; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.4rem; background: var(--accent-soft); border-left: 5px solid var(--accent); border-radius: 0 12px 12px 0; font-weight: 600; }
.prose img { border-radius: 12px; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 0.5rem 0.8rem; }
.article .update-meta { margin-bottom: 1.2rem; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 800; }
.more-title { margin-top: 3rem; font-size: 1.3rem; }
.stack { display: grid; gap: 0.7rem; }
.mini-link { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: 0.2s; }
.mini-link strong { flex: 1; }
.mini-link:hover { border-color: var(--brand); transform: translateX(4px); }

.material-list { display: grid; gap: 1rem; }
.material { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.material-icon { width: 56px; height: 56px; border-radius: 16px; background: #fde7ea; color: #d62f4a; display: grid; place-items: center; }
.material-icon .icon { width: 28px; height: 28px; }
.material h3 { margin: 0 0 0.2rem; font-size: 1.08rem; }
.material p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.material-meta { margin-top: 0.5rem !important; display: flex; gap: 0.4rem; }

.gallery-grid { columns: 3 260px; column-gap: 1rem; }
.gallery-item { margin: 0 0 1rem; break-inside: avoid; position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: 0.6rem 0.9rem; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.hidden-by-filter { display: none !important; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contact-cards { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; }
.contact-cards li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
.ci { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.ci .icon { width: 24px; height: 24px; }
.ci-wa { background: #dff8e8; color: #12a14b; }
.contact-cards h3 { margin: 0 0 0.15rem; font-size: 1rem; }
.contact-cards a { font-weight: 800; }
.contact-cards p, .contact-cards address { margin: 0 0 0.4rem; color: var(--muted); font-weight: 600; }
.contact-form-card { border: 1px solid var(--line); }
.contact-form-card > p { color: var(--muted); }
.map-section { height: 420px; background: var(--tint); }
.map-section iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--brand-dark); color: #b8d1ea; position: relative; margin-top: 0; }
.footer-wave { height: 5px; background: linear-gradient(90deg, var(--brand), var(--accent), var(--lotus), var(--leaf)); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-about p { margin: 1rem 0; max-width: 28em; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #b8d1ea; }
.brand-light .brand-logo { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.footer-col h2 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; position: relative; padding-bottom: 0.6rem; }
.footer-col h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: #d5e6f6; text-decoration: none; }
.footer-col a:hover { color: var(--accent); text-decoration: underline; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact .icon { margin-top: 0.3em; color: var(--accent); }
.social-row { display: flex; gap: 0.6rem; }
.social-row a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; transition: 0.2s; }
.social-row a:hover { background: var(--accent); color: #1f1500; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; }
.footer-bottom-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0; }

/* ------------------------------------------------------- dialogs / floaters */
.dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: min(100% - 1.5rem, 600px); overflow: visible; }
.dialog::backdrop { background: rgba(5, 25, 45, 0.7); backdrop-filter: blur(4px); }
.dialog[open] { animation: pop 0.25s ease; }
.dialog[open]::backdrop { animation: fade 0.25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.97); } }
@keyframes fade { from { opacity: 0; } }
.dialog-card { position: relative; background: #fff; border-radius: 24px; padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-lg); max-height: calc(100dvh - 2rem); overflow: auto; }
.dialog-close { position: absolute; right: 0.8rem; top: 0.8rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); display: grid; place-items: center; z-index: 2; }
.dialog-close:hover { background: var(--accent); }
.dialog-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; padding-right: 2.5rem; }
.dialog-head h2 { font-size: 1.4rem; margin: 0 0 0.2rem; }
.dialog-head p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.dialog-video { width: min(100% - 1.5rem, 960px); }
.dialog-video .dialog-card { background: #000; padding: 0; border-radius: 18px; overflow: hidden; }
.dialog-video .dialog-close { background: rgba(255, 255, 255, 0.95); }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-title { color: #fff; font-weight: 700; padding: 0.9rem 1.2rem; margin: 0; background: #0a1b2e; }
.dialog-lightbox { width: min(100% - 1.5rem, 1000px); }
.dialog-lightbox .dialog-card { background: #0a1b2e; padding: 0; }
.dialog-lightbox img { display: block; max-height: 78dvh; width: 100%; object-fit: contain; background: #000; }
.floaters { position: fixed; right: 1rem; bottom: 1rem; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; }
.floater { display: inline-flex; align-items: center; gap: 0.55rem; height: 54px; min-width: 54px; justify-content: center; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 10px 28px rgba(0, 20, 45, 0.35); border: 0; transition: transform 0.2s; padding: 0 1rem; }
.floater:hover { transform: translateY(-3px) scale(1.04); color: #fff; }
.floater .icon { width: 26px; height: 26px; }
.floater-wa { background: #25d366; color: #05381a; animation: ring 3s ease-in-out infinite; }
.floater-wa:hover { color: #05381a; }
.floater-call { background: var(--brand); display: none; }
.floater-top { background: #fff; color: var(--brand); padding: 0; width: 46px; height: 46px; min-width: 0; box-shadow: var(--shadow); }
.floater-top[hidden] { display: none; }
@keyframes ring { 0%, 90%, 100% { box-shadow: 0 10px 28px rgba(0, 20, 45, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.6); } 50% { box-shadow: 0 10px 28px rgba(0, 20, 45, 0.35), 0 0 0 14px rgba(37, 211, 102, 0); } }

/* ------------------------------------------------------------ scroll reveal */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ----------------------------------------------------------- responsiveness */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-list > li > a, .more-btn { padding-inline: 0.55rem; font-size: 0.9rem; }
  .brand-text strong { font-size: 0.95rem; }
  .brand-text small { display: none; }
  .nav-cta { padding-inline: 1rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: #fff; z-index: 80; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 5rem 1.2rem 1.5rem; gap: 1.2rem; overflow-y: auto; transform: translateX(105%); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); visibility: hidden; }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle { position: fixed; right: 1.2rem; top: 1rem; z-index: 90; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-list > li > a, .more-btn { padding: 0.8rem 0.9rem; font-size: 1.05rem; width: 100%; }
  .nav-list > li > a.active::after, .more-btn.active::after { display: none; }
  .nav-list > li > a.active { background: var(--brand-soft); }
  .more-btn { display: none; }
  .more-list { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; min-width: 0; }
  .more-list a { padding: 0.8rem 0.9rem; font-size: 1.05rem; }
  .nav-cta { width: 100%; }
  .hero-grid, .about-grid, .cta-grid, .contact-grid, .featured-video { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; order: -1; }
  .art-chip.c1 { left: 0; } .art-chip.c2 { right: 0; } .art-chip.c3 { left: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .stat:nth-child(3)::before { display: none; }
  .floater-call { display: inline-flex; }
}
@media (max-width: 640px) {
  .topbar-hours, .topbar-social { display: none; }
  .topbar-in { justify-content: center; }
  .brand-text small { display: none; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-text strong { white-space: normal; font-size: 0.95rem; }
  .hero-art { max-width: 250px; margin-block: 0.5rem 1rem; }
  .art-chip { font-size: 0.72rem; padding: 0.3rem 0.6rem; }
  .art-chip.c2, .art-chip.c3 { display: none; }
  .art-chip.c1 { top: -4%; left: -12%; }
  .art-chip.c4 { bottom: -4%; right: -10%; }
  .hero-points, .form-grid { grid-template-columns: 1fr; }
  .batch { grid-template-columns: auto 1fr; }
  .batch .status, .batch .btn { grid-column: 2; justify-self: start; }
  .material { grid-template-columns: auto 1fr; }
  .material .btn { grid-column: 1 / -1; }
  .director { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .director figcaption { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .floater-wa span { display: none; }
  .floater-wa { padding: 0; width: 54px; }
  .help-banner { padding: 1.4rem; }
  .section-head-row { align-items: flex-start; }
}

/* -------------------------------------------------- accessibility variants */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
html.hc { --brand: #002a5c; --brand-dark: #000; --accent: #ffd400; --ink: #000; --muted: #1a1a1a; --line: #000; --tint: #fff; --brand-soft: #fff; }
html.hc body { background: #fff; }
html.hc a { text-decoration: underline; }
html.hc .card, html.hc .feature, html.hc .cat-card, html.hc .faculty-card, html.hc .result-card, html.hc .testimonial, html.hc .batch, html.hc .material, html.hc .contact-cards li, html.hc .faq-item, html.hc .side-card { border: 2px solid #000; box-shadow: none; }
html.hc .hero, html.hc .section-dark, html.hc .cta-section, html.hc .page-hero, html.hc .cta-slim { background: #000; }
html.hc .site-footer, html.hc .topbar { background: #000; }
html.hc .btn-primary, html.hc .btn-outline:hover { background: #000; color: #fff; }
html.hc .btn-accent { background: #ffd400; color: #000; border-color: #000; }
html.hc .chip, html.hc .status { border: 1px solid #000; }
@media print { .topbar, .ticker, .site-header, .floaters, .site-footer, .help-banner { display: none !important; } }
