/* ============================================================
   শংকৰদেৱ শিশু নিকেতন মাণিপুৰ — Public Site CSS
   Mobile-first · Single source of truth
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #c0392b;
  --red-h:     #e74c3c;
  --gold:      #d4a017;
  --saffron:   #f39c12;
  --dark:      #1a1a2e;
  --dark2:     #16213e;
  --teal:      #0f6b6b;
  --bg:        #fffbf5;
  --border:    #e5e7eb;
  --text:      #1a1a2e;
  --muted:     #6b7280;
  --nav-h:     60px;
}

body {
  font-family: 'Inter', 'Mukta Mahee', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.pub-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  background: rgba(26,26,46,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow .3s;
}
.pub-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }

.nav-brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; flex-shrink: 0; max-width: calc(100% - 240px);
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg,#c0392b,#e74c3c);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
}
.nav-brand-text { overflow: hidden; }
.nav-as {
  font-family: 'Mukta Mahee', sans-serif;
  font-size: 0.88rem; font-weight: 800; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.nav-en {
  font-size: 0.58rem; color: rgba(255,255,255,0.38);
  text-transform: uppercase; letter-spacing: .5px; white-space: nowrap;
}

.nav-links {
  display: flex; align-items: center; gap: 0.1rem; flex-shrink: 0;
}
.nav-link {
  color: rgba(255,255,255,0.68); text-decoration: none;
  font-size: 0.82rem; font-weight: 500;
  padding: 0.38rem 0.7rem; border-radius: 7px;
  transition: background .15s, color .15s;
}
.nav-link:hover       { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link.active      { color: #fff; background: rgba(192,57,43,0.88); font-weight: 700; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg,#c0392b,#e74c3c);
  color: #fff !important; text-decoration: none;
  font-size: 0.8rem; font-weight: 700;
  padding: 0.38rem 0.85rem; border-radius: 8px;
  margin-left: 0.4rem; box-shadow: 0 2px 10px rgba(192,57,43,0.35);
  transition: all .15s;
}
.nav-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(192,57,43,0.5); }

/* Hamburger */
.nav-ham {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 8px;
  flex-direction: column; gap: 5px;
  transition: background .15s;
}
.nav-ham:hover { background: rgba(255,255,255,0.1); }
.nav-ham span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h); right: 0; bottom: 0;
  width: min(280px, 85vw);
  background: #1a1a2e;
  z-index: 499;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  padding: 1.5rem 1.25rem;
  gap: 0.25rem;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 498;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

.drawer-link {
  display: block; color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 1rem; font-weight: 600; padding: 0.85rem 1rem;
  border-radius: 10px; transition: background .15s, color .15s;
}
.drawer-link:hover  { background: rgba(255,255,255,0.08); color: #fff; }
.drawer-link.active { background: var(--red); color: #fff; }
.drawer-btn {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,#c0392b,#e74c3c);
  color: #fff; text-decoration: none; font-weight: 700;
  padding: 0.85rem 1rem; border-radius: 10px;
  margin-top: 0.5rem; font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(192,57,43,0.35);
}

.nav-spacer { height: var(--nav-h); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(5rem,12vw,8rem) 1.25rem clamp(6rem,14vw,10rem);
  background:
    linear-gradient(165deg,rgba(146,43,33,0.92) 0%,rgba(26,26,46,0.95) 55%,rgba(15,107,107,0.85) 100%),
    url('../images/hero.png') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 15%; left: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle,rgba(212,160,23,0.14) 0%,transparent 70%);
  animation: orb 8s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: clamp(50px,8vw,90px);
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
  z-index: 2;
}
@keyframes orb { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-30px) scale(1.1)} }

.hero-inner { position: relative; z-index: 3; max-width: 680px; width: 100%; animation: fadein .9s ease both; }
@keyframes fadein { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  padding: 0.36rem 1rem; border-radius: 20px;
  font-size: 0.76rem; font-weight: 600; margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 7px; height: 7px; background: #4ade80; border-radius: 50%; flex-shrink: 0;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.hero h1 {
  font-family: 'Mukta Mahee', sans-serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800; line-height: 1.2;
  text-shadow: 0 3px 24px rgba(0,0,0,0.4);
  margin-bottom: 0.5rem;
}
.hero h1 .en-sub {
  display: block; font-family: 'Inter', sans-serif;
  font-size: clamp(1rem,2.5vw,1.5rem);
  font-weight: 600; opacity: 0.82; margin-top: 0.25rem;
}
.hero h1 .loc-tag {
  display: inline-block; font-family: 'Inter', sans-serif;
  font-size: clamp(0.65rem,1.5vw,0.85rem); font-weight: 600;
  background: rgba(212,160,23,0.22); border: 1px solid rgba(212,160,23,0.38);
  color: #fde68a; padding: 0.2rem 0.75rem; border-radius: 20px;
  letter-spacing: 1px; text-transform: uppercase; margin-top: 0.5rem;
}
.hero p {
  font-size: clamp(0.88rem,2.5vw,1.05rem);
  opacity: 0.88; max-width: 500px; line-height: 1.75; margin: 1rem auto 0;
}
.hero-btns {
  display: flex; gap: 0.75rem; justify-content: center;
  flex-wrap: wrap; margin-top: 2rem; position: relative; z-index: 3;
}
.hero-btns a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.82rem 1.6rem; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.hero-btns a:hover { transform: translateY(-2px); }
.hbtn-primary {
  background: linear-gradient(135deg,#c0392b,#e74c3c);
  color: #fff !important; box-shadow: 0 6px 20px rgba(192,57,43,0.45);
}
.hbtn-primary:hover { box-shadow: 0 10px 28px rgba(192,57,43,0.55) !important; }
.hbtn-secondary {
  background: rgba(255,255,255,0.13) !important; color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.38); backdrop-filter: blur(8px);
}
.hbtn-secondary:hover { background: rgba(255,255,255,0.2) !important; }

/* ── STATS STRIP ─────────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);
  padding: 2.5rem 1.25rem; position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,#c0392b,#d4a017,#c0392b);
}
.stats-strip-grid {
  max-width: 860px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 1rem; text-align: center;
}
.ssg-item { animation: ssfade .6s ease both; opacity: 0; }
.ssg-item:nth-child(1){animation-delay:.1s}
.ssg-item:nth-child(2){animation-delay:.2s}
.ssg-item:nth-child(3){animation-delay:.3s}
.ssg-item:nth-child(4){animation-delay:.4s}
.ssg-item:nth-child(5){animation-delay:.5s}
@keyframes ssfade{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.ssg-val {
  font-size: clamp(1.3rem,3vw,1.9rem); font-weight: 900; line-height: 1;
  background: linear-gradient(135deg,#fff 40%,#fde68a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ssg-label {
  font-size: 0.65rem; color: rgba(255,255,255,0.42);
  font-weight: 700; margin-top: 6px;
  text-transform: uppercase; letter-spacing: .7px;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section { padding: clamp(3rem,6vw,5rem) 1.25rem; }
.section.alt { background: linear-gradient(135deg,#fff5f5 0%,#fffbeb 100%); }
.section-inner { max-width: 980px; margin: 0 auto; }
.section-center { text-align: center; }

.eyebrow {
  display: inline-block; background: #fef2f2; color: #c0392b;
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 0.28rem 0.85rem; border-radius: 20px;
  margin-bottom: 0.75rem; border: 1px solid rgba(192,57,43,0.15);
}
.section-title {
  font-size: clamp(1.5rem,4vw,2.3rem); font-weight: 800;
  color: var(--text); line-height: 1.25; margin-bottom: 0.5rem;
}
.section-title span { color: var(--red); }
.sep {
  width: 50px; height: 4px;
  background: linear-gradient(90deg,var(--gold),var(--saffron));
  margin: 1rem auto 1.5rem; border-radius: 2px;
}
.section-desc {
  color: var(--muted); font-size: 1rem; line-height: 1.8;
  max-width: 680px; margin: 0 auto;
}

/* ── FEATURE CARDS ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(45%,220px),1fr));
  gap: 1.1rem; margin-top: 2.5rem;
}
.fcard {
  background: #fff; border-radius: 16px; padding: 1.6rem 1.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--border);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s;
  position: relative; overflow: hidden;
}
.fcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,#c0392b,#d4a017);
  transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.fcard:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(192,57,43,0.11); }
.fcard:hover::before { transform: scaleX(1); }
.fcard-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 0.9rem;
  transition: transform .3s;
}
.fcard:hover .fcard-icon { transform: scale(1.1) rotate(-5deg); }
.fcard h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.fcard p  { font-size: 0.82rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── WHY GRID ───────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%,200px),1fr));
  gap: 1rem; margin-top: 2rem;
}
.why-item {
  background: #fff; border-radius: 14px; padding: 1.3rem 1.1rem;
  text-align: center; box-shadow: 0 3px 14px rgba(0,0,0,0.05);
  border: 1px solid rgba(212,160,23,0.18);
  transition: transform .22s, box-shadow .22s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(212,160,23,0.14); }
.why-num {
  font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: 0.4rem;
  background: linear-gradient(135deg,#c0392b,#d4a017);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.why-label { font-size: 0.8rem; font-weight: 700; color: var(--text); line-height: 1.4; }

/* ── NOTICES ─────────────────────────────────────────────────── */
.notices-grid { display: grid; gap: 0.85rem; margin-top: 2rem; }
.notice-card {
  background: #fff; border: 1px solid var(--border);
  border-left: 4px solid var(--red); border-radius: 12px;
  padding: 1rem 1.2rem; display: flex; gap: 0.9rem; align-items: flex-start;
  transition: transform .18s, box-shadow .18s;
}
.notice-card:hover { transform: translateX(3px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.notice-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px;
  background: #fef2f2; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--red);
}
.notice-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.notice-body  { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.notice-date  { font-size: 0.7rem; color: #9ca3af; margin-top: 0.3rem; }

/* ── CTA ─────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  background: linear-gradient(135deg,#c0392b 0%,#1a1a2e 60%,#0f6b6b 100%);
  padding: clamp(3rem,6vw,5rem) 1.5rem; text-align: center; color: #fff; overflow: hidden;
}
.cta-section::before,.cta-section::after {
  content: ''; position: absolute; pointer-events: none;
  background: rgba(255,255,255,0.03); transform: rotate(-15deg);
}
.cta-section::before { top:-50%;left:-20%;width:60%;height:200%; }
.cta-section::after  { bottom:-50%;right:-20%;width:50%;height:200%;background:rgba(212,160,23,0.04); }
.cta-section h2 { font-size: clamp(1.5rem,4vw,2.1rem); font-weight: 800; margin-bottom: 0.75rem; position: relative; z-index: 2; }
.cta-section p  { opacity: .8; margin-bottom: 2rem; font-size: 1rem; position: relative; z-index: 2; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--red) !important;
  padding: 0.9rem 2.25rem; border-radius: 12px; font-weight: 800;
  text-decoration: none; font-size: 0.95rem;
  box-shadow: 0 6px 28px rgba(0,0,0,0.22);
  transition: transform .2s, box-shadow .2s; position: relative; z-index: 2;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.3); }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg,rgba(146,43,33,0.92) 0%,rgba(26,26,46,0.96) 65%),
              url('../images/hero.png') center/cover no-repeat;
  color: #fff; text-align: center;
  padding: clamp(4rem,8vw,6rem) 1.5rem clamp(3.5rem,7vw,5rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: clamp(40px,6vw,60px); background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%); z-index: 2;
}
.ph-inner { position: relative; z-index: 3; max-width: 600px; margin: 0 auto; }
.ph-icon {
  width: 60px; height: 60px; border-radius: 16px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.6rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1.25rem; backdrop-filter: blur(8px);
}
.page-hero h1 { font-size: clamp(1.7rem,5vw,2.6rem); font-weight: 800; margin-bottom: 0.7rem; line-height: 1.2; }
.page-hero p  { font-size: clamp(0.88rem,2vw,1rem); opacity: .82; line-height: 1.7; margin-bottom: 1.25rem; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; opacity: .6;
}
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb span { color: #fde68a; font-weight: 600; }

/* ── PAGE BODY ───────────────────────────────────────────────── */
.page-body { max-width: 960px; margin: 0 auto; padding: clamp(2rem,5vw,3.5rem) 1.25rem clamp(3rem,6vw,5rem); }

/* ── FORMS (public) ──────────────────────────────────────────── */
.pub-card {
  background: #fff; border-radius: 18px;
  padding: clamp(1.5rem,4vw,2.5rem); box-shadow: 0 8px 36px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
}
.pub-form-group { margin-bottom: 1rem; }
.pub-form-group label {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: #374151; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 0.35rem;
}
.pub-form-group input,
.pub-form-group select {
  width: 100%; padding: 0.78rem 1rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.9rem; color: var(--text); background: #fafafa;
  transition: border-color .15s, box-shadow .15s; font-family: inherit;
}
.pub-form-group input:focus,
.pub-form-group select:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.09); background: #fff;
}
.pub-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg,var(--red),var(--red-h));
  color: #fff; border: none; border-radius: 10px;
  padding: 0.82rem 1.75rem; font-weight: 700; font-size: 0.9rem;
  cursor: pointer; transition: all .2s; font-family: inherit;
  box-shadow: 0 4px 14px rgba(192,57,43,0.3); text-decoration: none;
}
.pub-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(192,57,43,0.4); }
.pub-btn.full  { width: 100%; justify-content: center; }

/* ── RESULTS PAGE ────────────────────────────────────────────── */
.results-search { max-width: 660px; margin: 0 auto 2rem; }
.rsc-icon { font-size: 2rem; color: var(--red); display: block; margin-bottom: 0.7rem; }
.rsc-title { font-size: 1.25rem; font-weight: 800; text-align: center; margin-bottom: 0.3rem; }
.rsc-sub   { font-size: 0.85rem; color: var(--muted); text-align: center; margin-bottom: 1.75rem; }

.rf-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; align-items: end;
}
.rf-grid .full { grid-column: 1 / -1; }

.result-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 36px rgba(0,0,0,0.07); border: 1px solid var(--border); margin-top: 2rem; }
.rc-head {
  background: linear-gradient(135deg,#c0392b 0%,#1a1a2e 100%);
  padding: 1.5rem 1.75rem; color: #fff;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.rc-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900;
}
.rc-sname { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.3rem; }
.rc-smeta { display: flex; gap: 0.9rem; flex-wrap: wrap; font-size: 0.78rem; opacity: .72; }
.rc-smeta span { display: flex; align-items: center; gap: 4px; }
.rc-exam { margin-left: auto; text-align: right; }
.rc-ename { font-weight: 700; font-size: 0.9rem; }
.rc-edate { font-size: 0.78rem; opacity: .6; margin-top: 2px; }

.rc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rc-table { width: 100%; border-collapse: collapse; font-size: 0.855rem; min-width: 480px; }
.rc-table th {
  background: #f9fafb; padding: 0.8rem 1rem; text-align: center;
  font-size: 0.7rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid var(--border);
}
.rc-table th:first-child { text-align: left; }
.rc-table td { padding: 0.85rem 1rem; border-bottom: 1px solid #f3f4f6; text-align: center; }
.rc-table tbody tr:hover td { background: #fef9f9; }
.rc-table td:first-child { text-align: left; font-weight: 700; }
.rc-table .score-th { color: var(--red) !important; }
.rc-table .score-td { font-weight: 800; color: var(--red); font-size: 1rem; }
.rc-table .num-td { color: var(--muted); }
.pass-badge { display:inline-block;padding:.22rem .65rem;border-radius:20px;font-size:.73rem;font-weight:700;background:#dcfce7;color:#15803d; }
.fail-badge { display:inline-block;padding:.22rem .65rem;border-radius:20px;font-size:.73rem;font-weight:700;background:#fee2e2;color:#b91c1c; }
.rc-tfoot td { background: #f9fafb; font-weight: 800; padding: 0.9rem 1rem; }

.rc-summary {
  padding: 1.25rem 1.75rem; background: #fdfaf6; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.rcs-stats { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.rcs-item .rv { font-size: 1.35rem; font-weight: 900; color: var(--text); line-height: 1; }
.rcs-item .rl { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #9ca3af; margin-top: 2px; }
.rc-print {
  display: inline-flex; align-items: center; gap: 7px;
  background: #1a1a2e; color: #fff; padding: 0.78rem 1.4rem;
  border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 0.855rem;
  transition: all .2s; box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}
.rc-print:hover { background: var(--red); transform: translateY(-1px); }
.rc-empty { padding: 3rem; text-align: center; color: #9ca3af; }
.rc-empty i { font-size: 2.2rem; display: block; margin-bottom: 0.7rem; opacity: .28; }

/* ── ADMISSION PAGE ──────────────────────────────────────────── */
.adm-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%,210px),1fr));
  gap: 1.1rem; margin-bottom: 2.5rem;
}
.adm-step {
  background: #fff; border-radius: 14px; padding: 1.6rem 1.4rem;
  box-shadow: 0 3px 16px rgba(0,0,0,0.05); border: 1px solid var(--border);
  text-align: center; transition: transform .22s, box-shadow .22s;
}
.adm-step:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.09); }
.adm-step-num {
  font-size: 0.65rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 20px; display: inline-block; margin-bottom: 0.7rem;
}
.adm-step-icon {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 0.9rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.adm-step h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 0.4rem; }
.adm-step p  { font-size: 0.8rem; color: var(--muted); line-height: 1.6; margin: 0; }

.adm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
.adm-card  { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 22px rgba(0,0,0,0.07); border: 1px solid var(--border); }
.adm-card-hd {
  padding: 1.1rem 1.4rem; color: #fff;
  display: flex; align-items: center; gap: 0.7rem;
}
.adm-card-hd h3 { font-size: 0.95rem; font-weight: 800; margin: 0; }
.adm-list { list-style: none; padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; background: #fff; }
.adm-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.85rem; color: #374151; }
.adm-dates { list-style: none; background: #fff; }
.adm-dates li { padding: 0.8rem 1.4rem; border-bottom: 1px solid #f3f4f6; }
.adm-dates li:last-child { border-bottom: none; }
.adm-dl { font-size: 0.7rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .4px; }
.adm-dv { font-size: 0.875rem; font-weight: 700; margin-top: 2px; }

.adm-cta {
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg,#c0392b 0%,#1a1a2e 60%,#0f6b6b 100%);
}
.adm-cta-inner { padding: clamp(2rem,5vw,3rem); text-align: center; color: #fff; }
.adm-cta-inner h3 { font-size: clamp(1.2rem,3vw,1.5rem); font-weight: 800; margin-bottom: 0.5rem; }
.adm-cta-inner p  { opacity: .8; margin-bottom: 1.5rem; }
.adm-cta-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── ALERTS ──────────────────────────────────────────────────── */
.alert { padding: 0.85rem 1.1rem; border-radius: 10px; font-size: 0.86rem; font-weight: 600; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.alert-danger  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer { background: #1a1a2e; margin-top: 0; }
.footer-wave { display: block; line-height: 0; background: var(--bg); }
.footer-wave svg { width: 100%; height: 50px; display: block; }
.footer-inner { padding: 2.5rem 1.5rem 0; max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo-icon { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; background: linear-gradient(135deg,#c0392b,#e74c3c); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; }
.footer-name    { font-family: 'Mukta Mahee',sans-serif; font-size: 0.95rem; font-weight: 800; color: #fff; }
.footer-name-en { font-size: 0.68rem; color: rgba(255,255,255,0.38); margin-top: 1px; }
.footer-desc    { font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.48); margin-bottom: 1.1rem; }
.footer-badges  { display: flex; gap: 1.25rem; font-size: 0.75rem; color: rgba(255,255,255,0.38); flex-wrap: wrap; }
.footer-badges span { display: flex; align-items: center; gap: 5px; }
.footer-col-title { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.3); margin-bottom: 0.9rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links li, .footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.48); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.1rem 0; margin-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.28); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .stats-strip-grid { grid-template-columns: repeat(3,1fr); }
  .ssg-item:nth-child(4), .ssg-item:nth-child(5) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-ham   { display: flex; }

  .stats-strip-grid { grid-template-columns: repeat(2,1fr); }
  .ssg-item:nth-child(4){ display: block; }
  .ssg-item:nth-child(5){ display: none; }

  .rf-grid { grid-template-columns: 1fr; }

  .adm-cards { grid-template-columns: 1fr; }

  .rc-head { flex-direction: column; text-align: center; }
  .rc-exam { margin-left: 0; text-align: center; }
  .rc-summary { flex-direction: column; align-items: stretch; }
  .rcs-stats { justify-content: space-around; }

  .page-body { padding: 2rem 1rem 3rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  :root { --nav-h: 56px; }
  .nav-as { font-size: 0.82rem; }
  .hero { padding: 4rem 1rem 5.5rem; }
  .stats-strip { padding: 2rem 1rem; }
  .stats-strip-grid { grid-template-columns: repeat(2,1fr); gap: 1.25rem 0.75rem; }
  .ssg-item:nth-child(4), .ssg-item:nth-child(5) { display: none; }
  .section { padding: 2.5rem 1rem; }
  /* Feature cards — 2 columns, compact on small screens */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .fcard { padding: 1.25rem 1rem; }
  .fcard-icon { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 0.7rem; }
  .fcard h3 { font-size: 0.85rem; }
  .fcard p  { font-size: 0.78rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-inner { padding: 2rem 1rem 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .adm-cta-inner { padding: 1.75rem 1rem; }
}
