/* ============================================
   SHRADDHA OLYMPIAD SCHOOL
   Clean flat design — no gradients, humanized
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:     #EA3137;
  --red-dk:  #C4262B;
  --green:   #27ae60;
  --yellow:  #ffc72c;
  --yellow-dk:#e6a800;
  --blue:    #2c3e8c;
  --navy:    #323232;
  --dark:    #1c1c1c;
  --text:    #333;
  --text-lt: #666;
  --border:  #ddd;
  --bg:      #ffffff;
  --white:   #fff;
  --font:    "Open Sans", "Segoe UI", Arial, sans-serif;
  --fontH:   'Baloo 2', 'Lato', "Open Sans", Arial, sans-serif;
}

html  { scroll-behavior: smooth; }
body  {
  font-family: "Open Sans", Arial, sans-serif; font-size: 14px; font-weight: 400;
  line-height: 1.65; color: #3A3A3A; background: #ffffff; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* ── Scroll reveal — content rises gently into view.
   Elements start hidden ONLY when JS is present to reveal them;
   the .js-rv flag is set by script.js, so a JS failure leaves
   everything visible instead of blanking the page. ── */
.js-rv .rv { opacity: 0; transform: translateY(22px); }
.js-rv .rv.in,
.rv.in {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
/* stagger siblings slightly so a row doesn't pop all at once */
.rv:nth-child(2) { transition-delay: 0.06s; }
.rv:nth-child(3) { transition-delay: 0.12s; }
.rv:nth-child(4) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js-rv .rv { opacity: 1; transform: none; }
}
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
img   { max-width: 100%; display: block; }
.page-container { max-width: 1200px; margin: 0 auto; padding: 0 18px; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: #2c2c2c;
  font-size: 10px; color: rgba(255,255,255,0.7);
  border-bottom: 1px solid #444;
}
.tb-container {
  max-width: 1200px; margin: 0 auto; padding: 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  height: 34px;
}
.tb-left  { display: flex; align-items: center; gap: 0; }
.tb-left a {
  color: rgba(255,255,255,0.72); height: 34px; padding: 0 9px;
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
  transition: color 0.2s;
}
.tb-left a:hover { color: var(--white); }
.tb-left span    { color: rgba(255,255,255,0.2); font-size: 10px; }
.tb-right { display: flex; align-items: center; }
.tb-store {
  display: flex; align-items: center; height: 24px; margin-right: 8px; padding: 0 10px;
  background: #d62828; color: #ffe45e; font-size: 10px; font-weight: 800;
  letter-spacing: 0.35px; text-transform: uppercase; animation: storeBlink 1.4s ease-in-out infinite;
}
@keyframes storeBlink { 0%, 100% { background: #d62828; box-shadow: 0 0 0 rgba(214,40,40,0); } 50% { background: #ef1717; box-shadow: 0 0 10px rgba(214,40,40,0.55); } }
.tb-store:hover { color: #fff4a3; }
.tb-enquiry {
  background: var(--red); color: var(--white); height: 24px; padding: 0 11px;
  display: flex; align-items: center; font-size: 10px; font-weight: 700;
  text-transform: uppercase; transition: background 0.2s;
}
.tb-enquiry:hover { background: var(--red-dk); color: var(--white); }
.tb-login {
  color: rgba(255,255,255,0.72); height: 34px; padding: 0 9px;
  display: flex; align-items: center; font-size: 10px; font-weight: 600;
  text-transform: uppercase; transition: color 0.2s; background: transparent; border: none;
}
.tb-login:hover { color: var(--white); }
.tb-login:hover { color: var(--white); }
.tb-apply {
  background: var(--red); color: var(--white);
  height: 34px; padding: 0 14px;
  display: flex; align-items: center;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
  transition: background 0.2s;
}
.tb-apply:hover { background: var(--red-dk); }
.tb-login { background: transparent; border: none; }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: none;
  position: sticky; top: 0; z-index: 900;
}
.header-container {
  max-width: 1200px; margin: 0 auto; padding: 0 18px;
  display: flex; align-items: center; height: 62px;
}

/* Brand Logo */
.brand-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: 18px; }
.brand-favicon {
  height: 52px !important;
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transition: transform 0.2s ease;
}
.brand-logo:hover .brand-favicon {
  transform: scale(1.02);
}
.brand-text strong { display: block; font-size: 18px; font-weight: 900; color: var(--red); font-family: var(--fontH); letter-spacing: 0.3px; line-height: 1.15; }
.brand-text span   { display: block; font-size: 10px; color: var(--text-lt); font-weight: 600; letter-spacing: 0.3px; }
.brand-text small  { display: block; font-size: 8px; color: #9b8173; font-weight: 700; letter-spacing: 0.25px; text-transform: uppercase; line-height: 1.2; }

/* Nav */
.main-nav { display: flex; align-items: center; justify-content: flex-end; height: 62px; flex: 1; min-width: 0; margin-left: 24px; }
.main-nav > a,
.nav-item-drop > a,
.nav-drop-toggle {
  font-size: 12.5px !important;
  font-weight: 700;
  padding: 8px 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: none;
  border: none;
  color: #3A3A3A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.main-nav > a:hover,
.nav-item-drop:hover > a,
.nav-item-drop:hover > .nav-drop-toggle,
.nav-drop-toggle[aria-expanded="true"] { color: var(--red); border-bottom-color: var(--red); }

.nav-item-drop { position: relative; height: 62px; display: flex; align-items: center; }
.nav-more { margin-left: 0; }
.nav-drop {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 99; display: none; padding: 4px 0;
}
.nav-item-drop:hover .nav-drop { display: block; }
.nav-item-drop:has(.nav-drop-toggle[aria-expanded="true"]) .nav-drop { display: block; }
.nav-drop a {
  display: block; padding: 9px 16px; font-size: 12.5px; color: var(--text);
  transition: all 0.15s;
}
.nav-drop a:hover { background: #fdf0f0; color: var(--red); padding-left: 20px; }
.nav-drop-right { left: auto; right: 0; }
.main-nav.open .nav-drop { position: static; min-width: 0; border-top: 0; border-left: 0; border-right: 0; box-shadow: none; padding: 0; }
.main-nav.open .nav-drop a { padding: 9px 12px; font-size: 13px; }

/* Hamburger */
.hamburger-btn {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px; margin-left: auto;
}
.hamburger-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ============================================
   HERO SLIDER — Yellow Tallentex style
   FLAT, no gradients, clean layout
   ============================================ */
/* Full-bleed banner: no padding, no max-width, no radius, so the artwork
   runs edge to edge with no white gap on any side. The track's ratio is
   the artwork's own (2238x600), so `cover` crops nothing. */
.hero-section { position: relative; overflow: hidden; background: #ffffff; padding: 0; }
.hero-track   {
  position: relative; width: 100%; margin: 0;
  overflow: hidden; border-radius: 0;
  aspect-ratio: 2238 / 600;
  background: #ffffff;
}
.hero-slide   { display: none; position: absolute; inset: 0; }
.hero-slide.active { display: block; animation: heroFade 0.5s ease; }
@keyframes heroFade { from { opacity: 0.35; } to { opacity: 1; } }
.hero-slide-image {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
/* A poster that is not exactly the track ratio is letterboxed on its own
   ground rather than cropped, so nothing printed on it is ever cut off. */
.hero-slide-image[data-fit="whole"] { object-fit: contain; background: #ffffff; }
@media (max-width: 900px) {
  .hero-section { padding: 0; }
  .hero-track { aspect-ratio: 2238 / 600; border-radius: 0; }
}
@media (max-width: 560px) {
  .hero-section { padding: 0; }
  .hero-track { aspect-ratio: 2238 / 600; border-radius: 0; }
}

/* Slide outer wrapper — flex row */
.slide-wrap { display: flex; align-items: stretch; min-height: 200px; }

/* ── LEFT STRIP ── */
.slide-left {
  width: 210px; flex-shrink: 0;
  background: #d6eaf8;          /* flat light blue — no gradient */
  padding: 22px 18px;
  display: flex; flex-direction: column; justify-content: center;
}
.slide-left-white { background: #fde8e8; }
.slide-left-green { background: #d5f5e3; }

.slide-badge-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ssat-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 8px;
}
.ssat-favicon      { width: 26px; height: 26px; object-fit: contain; border-radius: 4px; }
.ssat-badge-text strong { display: block; font-size: 12px; font-weight: 800; color: var(--dark); font-family: var(--fontH); line-height: 1.1; }
.ssat-badge-text small  { display: block; font-size: 8px; color: var(--text-lt); font-weight: 600; }
.ssat-badge-red   { border-color: #EA3137; background: #fff5f5; }
.ssat-badge-green { border-color: var(--green); background: #f0fff4; }

.ssat-year {
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 900; padding: 4px 8px; border-radius: 3px;
  font-family: var(--fontH); letter-spacing: 0.5px;
}
.ssat-year-red   { background: #EA3137; }
.ssat-year-green { background: var(--green); }

/* Big headline in left strip */
.slide-headline { font-family: var(--fontH); font-size: 20px; font-weight: 900; color: var(--dark); line-height: 1.25; }
.slide-headline-bold { font-size: 22px; color: var(--red); display: block; }
.slide-headline-dark { color: var(--dark); }
.slide-hl-red   { color: var(--red); }
.slide-hl-green { color: var(--green); }

/* ── MIDDLE BODY ── */
.slide-middle {
  flex: 1; background: var(--yellow);   /* flat yellow, no gradient */
  padding: 18px 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.slide-middle-red   { background: #c0392b; }
.slide-middle-green { background: #27ae60; }

.slide-class-tag {
  font-size: 11.5px; font-weight: 700; color: #333;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.slide-tag-light { color: rgba(255,255,255,0.9); }

.slide-info-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.slide-cash-block { flex: 1; min-width: 150px; }
.cash-label   { font-size: 12px; font-weight: 600; color: #333; margin-bottom: 2px; }
.cash-label-light { color: rgba(255,255,255,0.85); }
.cash-amount  { font-size: 34px; font-weight: 900; color: #1c1c1c; font-family: var(--fontH); line-height: 1; margin-bottom: 6px; }
.cash-amount-gold { color: #f5c518; }

/* Wavy underline */
.cash-underline {
  width: 100px; height: 3px; margin-bottom: 10px;
  background: repeating-linear-gradient(90deg, #e67e22 0px, #e67e22 8px, transparent 8px, transparent 12px);
  border-radius: 2px;
}

.scholarship-tag {
  display: inline-flex; flex-direction: column;
  background: rgba(0,0,0,0.07); border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px; padding: 6px 12px; gap: 1px;
}
.scholarship-tag-light { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); }
.scholarship-tag span { font-size: 11.5px; color: #333; font-weight: 600; }
.scholarship-tag-light span { color: rgba(255,255,255,0.9); }
.scholarship-tag span strong { font-size: 20px; color: #c0392b; font-family: var(--fontH); }
.scholarship-tag-light span strong { color: #f5c518; }

.slide-register-block { flex-shrink: 0; text-align: center; }

/* Register pill button */
.register-pill {
  display: inline-block;
  background: var(--white); color: #1c1c1c;
  border: 2px solid #bbb; border-radius: 24px;
  padding: 10px 22px; font-size: 13.5px; font-weight: 700;
  font-family: var(--fontH); white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.register-pill:hover { background: var(--red); color: var(--white); border-color: var(--red); transform: translateY(-2px); }
.register-pill strong { font-size: 16px; }
.register-pill-white { background: var(--white); color: var(--red); border-color: var(--white); }
.register-pill-white:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.register-pill-green { background: var(--white); color: var(--green); border-color: var(--white); }
.register-pill-green:hover { background: var(--green); color: var(--white); }
.register-note { font-size: 10px; color: #666; margin-top: 6px; }
.register-note-light { color: rgba(255,255,255,0.7); }

/* ── STUDENT COLUMN ── */
.slide-student-col {
  width: 170px; flex-shrink: 0;
  background: #ffe566;            /* flat brighter yellow */
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.slide-student-red   { background: #922b21; }
.slide-student-green { background: #1e8449; }

.student-figure-wrap {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 0;
}
.student-icon { font-size: 100px; color: rgba(0,0,0,0.1); display: block; }
.trophy-icon  { color: rgba(255,255,255,0.15); font-size: 90px; align-self: center; }
.grad-icon    { color: rgba(255,255,255,0.15); font-size: 90px; align-self: center; }

/* ── PEEK PANEL (far right) ── */
.slide-peek {
  width: 100px; flex-shrink: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 14px 8px;
}
.slide-peek-dark { background: #1a1a2e; }

.peek-inner { text-align: center; color: var(--white); }
.peek-inner strong {
  display: block; font-size: 13px; font-weight: 900; font-family: var(--fontH);
  color: var(--white); text-transform: uppercase; line-height: 1.2; margin-bottom: 8px;
}
.peek-num  { display: block; font-size: 26px; font-weight: 900; color: #f5c518; font-family: var(--fontH); line-height: 1; }
.peek-inner small { font-size: 10px; color: rgba(255,255,255,0.65); display: block; margin-top: 4px; }

/* ── Slider arrows & dots ── */
.sl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.28); border: 2px solid rgba(255,255,255,0.3);
  color: var(--white); width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 12px; z-index: 20;
  display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.sl-arrow:hover { background: var(--red); border-color: var(--red); }
.sl-prev { left: 6px; }
.sl-next { right: 6px; }
.sl-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 20; }
.sl-dot  { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.2); cursor: pointer; transition: 0.3s; }
.sl-dot.active { background: var(--dark); width: 20px; border-radius: 4px; }

/* ============================================
   COURSE CARDS
   ============================================ */
.courses-section { padding: 56px 0 64px; background: #ffffff; }
.cc-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.cc-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: var(--font);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cc-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.14); z-index: 2; }
.blue-card  { background: #EFF3FC; }
.red-card   { background: #EFF3FC; }
.green-card { background: #EFF3FC; }
.gold-card  { background: #EFF3FC; }

.cc-top { padding: 20px 18px 14px; }
.cc-label {
  display: inline-block; background: rgba(255,255,255,0.18);
  color: rgba(26, 26, 26, 0.72); font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px; margin-bottom: 10px;
}
.cc-top h3 { font-size: 16px; font-weight: 800; color: var(--dark); font-family: var(--fontH); line-height: 1.3; margin-bottom: 5px; }
.cc-top p  { font-size: 11.5px; color: var(--text-lt); font-family: var(--font); }

.cc-list { flex: 1; max-height: 0; overflow: hidden; padding: 0 18px; border-bottom: 1px solid transparent; transition: max-height 0.35s ease, padding 0.35s ease, border-color 0.35s ease; }
.cc-card.is-open .cc-list { max-height: 220px; padding: 0 18px 16px; border-bottom-color: rgba(23, 23, 23, 0.1); }
.cc-list p { font-size: 12.5px; color: rgba(25, 25, 25, 0.88); line-height: 1.55; margin-bottom: 8px; }
.cc-list p:last-of-type { margin-bottom: 0; }
.cc-spark { display: block; color: var(--red); font-size: 17px; line-height: 1; margin-top: 10px; animation: ccSpark 2.4s ease-in-out infinite; }
@keyframes ccSpark { 0%, 100% { transform: translateY(0) rotate(-8deg); opacity: 0.7; } 50% { transform: translateY(-3px) rotate(8deg); opacity: 1; } }

.cc-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; }
.cc-footer span { font-size: 11.5px; color: rgba(26, 26, 26, 0.7); font-weight: 600; }
.cc-footer a {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: rgba(26, 26, 26, 0.72); padding: 6px 14px; border-radius: 3px;
  font-size: 12.5px; font-weight: 700; transition: background 0.2s;
}
.cc-footer a:hover { background: rgba(255,255,255,0.3); }
.cc-details { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--red); color: var(--red); padding: 6px 12px; border-radius: 3px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background 0.25s, color 0.25s, transform 0.25s; }
.cc-details span { font-size: 16px; line-height: 1; transition: transform 0.25s; }
.cc-details:hover, .cc-card.is-open .cc-details { background: var(--red); color: var(--white); }
.cc-details:hover { transform: translateY(-1px); }
.cc-card.is-open .cc-details span { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .cc-card:hover .cc-list { max-height: 220px; padding: 0 18px 16px; border-bottom-color: rgba(23, 23, 23, 0.1); }
  .cc-card:hover .cc-details { background: var(--red); color: var(--white); }
  .cc-card:hover .cc-details span { transform: rotate(45deg); }
}

/* ============================================
   TOPPERS + NOTIFICATIONS
   ============================================ */
.toppers-section { padding: 64px 0; background: #ffffff; }
.ts-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr); gap: 36px; align-items: start; }

.ts-left { min-width: 0; }
.ts-proven { font-size: 10px; font-weight: 800; color: var(--red); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.ts-proven i { color: #f5c518; }
.ts-title { max-width: 520px; font-size: 32px; font-weight: 900; color: var(--dark); font-family: var(--fontH); line-height: 1.14; margin-bottom: 12px; letter-spacing: -0.4px; }
.ts-title span { color: var(--red); }
.ts-sub  { max-width: 560px; font-size: 13px; color: #716b67; line-height: 1.7; margin-bottom: 22px; }
.ts-exam { font-size: 13.5px; font-weight: 700; color: var(--red); margin-bottom: 16px; }
.ts-featured-showcase { display: grid; grid-template-columns: 112px minmax(0, 1fr) 76px; gap: 15px; align-items: center; padding: 12px; margin-bottom: 18px; background: #fff; border: 1px solid #eadfd9; border-radius: 4px; box-shadow: 0 5px 16px rgba(90,48,26,0.05); }
.ts-featured-image { position: relative; height: 112px; overflow: hidden; border-radius: 3px; background: #f2e4dc; }
.ts-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-featured-rank { position: absolute; right: 6px; bottom: 6px; padding: 3px 6px; background: var(--red); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 0.5px; }
.ts-featured-label { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.ts-featured-copy h3 { margin: 5px 0 4px; color: var(--dark); font: 800 18px/1.2 var(--fontH); }
.ts-featured-copy p { color: var(--text-lt); font-size: 11.5px; line-height: 1.5; }
.ts-featured-meta { display: flex; gap: 12px; margin-top: 8px; color: #9b8173; font-size: 10px; }
.ts-featured-meta span + span { padding-left: 12px; border-left: 1px solid #eadfd9; }
.ts-featured-side { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-left: 12px; border-left: 1px solid #eadfd9; text-align: center; }
.ts-featured-side img { width: 42px; height: 42px; object-fit: cover; border: 2px solid #f5c518; border-radius: 50%; margin-bottom: 5px; }
.ts-featured-side strong { color: var(--red); font: 800 12px/1 var(--fontH); }
.ts-featured-side small { margin-top: 4px; color: var(--text-lt); font-size: 9px; }

/* ============================================
  BLOGS & ACADEMIC UPDATES
  ============================================ */
.blogs-section { padding: 48px 0 54px; background: #ffffff; }
.blogs-section .container { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.section-title { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.badge-pill { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border: 1px solid rgba(234,49,55,0.35); border-radius: 20px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; }
.section-title h2 { color: var(--dark); font: 800 26px/1.25 var(--fontH); margin-bottom: 7px; }
.section-title p { color: var(--text-lt); font-size: 13px; line-height: 1.6; }


.ts-bar { display: flex; align-items: center; gap: 18px; background: var(--white); border: 1px solid #eadbd2; border-left: 4px solid var(--red); border-radius: 4px; padding: 14px 16px; margin-bottom: 20px; flex-wrap: wrap; box-shadow: 0 5px 16px rgba(90,48,26,0.05); }
.ts-bar-label { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 180px; font-size: 13px; font-weight: 800; color: var(--dark); }
.ts-bar-label i { color: var(--red); font-size: 18px; }
.ts-bar-label small { display: block; color: #9b8173; font-size: 9px; font-weight: 800; letter-spacing: 1px; margin-bottom: 2px; }
.ts-bar-label strong { display: block; font-family: var(--fontH); }
.ts-bar-label b { color: var(--red); }
.ts-bar-stat { display: flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid #eadbd2; }
.ts-bar-stat i { color: #c6a18d; font-size: 13px; }
.ts-bar-stat strong { display: block; font-size: 19px; font-weight: 900; color: var(--dark); font-family: var(--fontH); line-height: 1; }
.ts-bar-stat small  { display: block; font-size: 9px; color: #9b8173; text-transform: uppercase; letter-spacing: 0.8px; margin-top: 3px; }
.ts-bar-nav { display: flex; gap: 6px; margin-left: auto; }
.ts-bar-nav button { width: 30px; height: 30px; border-radius: 3px; border: 1px solid #eadbd2; background: var(--white); cursor: pointer; font-size: 11px; color: var(--text-lt); display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.ts-bar-nav button:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.ts-tabs { display: flex; border-bottom: 1px solid #e8ddd7; margin-bottom: 16px; gap: 20px; }
.ts-tab { padding: 8px 18px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; background: none; border: none; cursor: pointer; color: var(--text-lt); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: 0.2s; }
.ts-tab.active { color: var(--red); border-bottom-color: var(--red); }
.ts-panel { display: none; }
.ts-panel.active { display: block; }

.rankers-row { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.ranker-card { text-align: center; padding: 14px 8px 13px; background: var(--white); border: 1px solid #eadfd9; border-radius: 4px; border-top: 3px solid #eadfd9; transition: all 0.2s; cursor: pointer; }
.ranker-card:hover { border-top-color: var(--red); box-shadow: 0 4px 14px rgba(0,0,0,0.09); transform: translateY(-2px); }
.rc-num  { width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.rc-av   { width: 56px; height: 56px; margin: 0 auto 8px; overflow: hidden; border: 3px solid #fff; border-radius: 50%; background: #f0f0f0; box-shadow: 0 2px 8px rgba(234,49,55,0.18); }
.rc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-name { font-size: 11px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.rc-air  { font-size: 11px; font-weight: 700; color: var(--red); margin-bottom: 2px; }
.rc-tag  { font-size: 10px; color: var(--text-lt); }
.ranker-card:first-child { border-top-color: #f5c518; }
.ranker-card:first-child .rc-av { border-color: #f5c518; }

.ts-view-all { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; background: var(--red); color: var(--white); border: 1px solid var(--red); padding: 10px 16px; border-radius: 3px; font-size: 12px; font-weight: 700; transition: 0.2s; }
.ts-view-all:hover { background: var(--red); color: var(--white); }

/* Updates panel */
.ts-right { background: var(--white); border: 1px solid #eadfd9; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 20px rgba(90,48,26,0.05); }
.ts-updates-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: #ffffff; border-bottom: 1px solid #e9e9e9; }
.ts-updates-head h4 { margin-top: 4px; font-size: 15px; font-weight: 800; color: var(--dark); font-family: var(--fontH); }
.ts-live { display: flex; align-items: center; gap: 5px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.ts-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(234,49,55,0.14); animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.75); } }
.ts-updates-head a  { font-size: 12px; font-weight: 700; color: var(--red); }
.ts-updates-head a:hover { text-decoration: underline; }
.ts-updates-body { max-height: 361px; overflow: hidden; position: relative; }
.ts-updates-body::before, .ts-updates-body::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; z-index: 2; pointer-events: none; }
.ts-updates-body::before { top: 0; background: linear-gradient(180deg, #ffffff, rgba(255,255,255,0)); }
.ts-updates-body::after  { bottom: 0; background: linear-gradient(0deg, #ffffff, rgba(255,255,255,0)); }
.ts-updates-track { animation: tsAutoScroll 22s linear infinite; }
.ts-updates-body:hover .ts-updates-track,
.ts-updates-body.ts-paused .ts-updates-track { animation-play-state: paused; }
@keyframes tsAutoScroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.update-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f0f0f0; transition: background 0.15s; }
.update-item:last-child { border-bottom: none; }
.update-item:hover { background: #fdf5f5; }
.update-icon { width: 34px; height: 34px; border-radius: 6px; background: #eef2ff; color: #3f51b5; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.new-icon { background: #fff3e0; color: #e65100; }
.update-text { flex: 1; }
.update-text p { font-size: 12.5px; color: var(--text); line-height: 1.5; margin-bottom: 3px; }
.update-text span { font-size: 11px; color: var(--text-lt); }
.update-text span.new-pill { display: inline-block; background: var(--red); color: #ffffff; font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 2px; margin-left: 4px; vertical-align: middle; }
.live-pill { display: inline-block; margin-left: 4px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: 0.5px; animation: liveText 1.8s ease-in-out infinite; }
@keyframes liveText { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.update-item > a:last-child { color: var(--text-lt); font-size: 12px; margin-top: 4px; transition: color 0.2s; flex-shrink: 0; }
.update-item:hover > a:last-child { color: var(--red); }
.explore-link { font-size: 12px; color: var(--red); font-weight: 700; display: inline-block; margin-top: 4px; }

/* ============================================
   STUDENT COUNT
   ============================================ */
.count-section { background: #ffffff; padding: 64px 0; }
.count-layout { display: flex; align-items: center; gap: 48px; }
.count-main { flex: 1; padding-right: 0; border-right: none; }
.count-main h2 { font-size: 30px; font-weight: 900; color: #3A3A3A; font-family: var(--fontH); margin-bottom: 26px; letter-spacing: -0.5px; }
.count-big-row { display: flex; gap: 44px; margin-bottom: 14px; align-items: flex-start; }
.count-divider { display: none; }
.count-big { border-left: none; padding-left: 0; }
.count-big h3 { font-size: 42px; font-weight: 900; color: var(--red); font-family: var(--fontH); line-height: 1; letter-spacing: -1px; }
.count-big p  { font-size: 13.5px; color: var(--text-lt); margin-top: 8px; line-height: 1.5; }
.count-big p small { display: block; font-size: 11.5px; color: #94a3b8; margin-top: 2px; }
.count-note   { font-size: 11.5px; color: #94a3b8; margin-top: 14px; }

.count-boxes { flex: 1; display: flex; gap: 14px; padding-left: 0; }
.count-box {
  flex: 1; text-align: center; padding: 26px 14px;
  border-right: none; background: #fafafa; border-radius: 12px;
  transition: background 0.22s ease, transform 0.22s ease;
}
.count-box:hover { background: #f5f0fb; transform: translateY(-3px); }
.count-box h3 { font-size: 34px; font-weight: 900; color: var(--red); font-family: var(--fontH); line-height: 1; letter-spacing: -0.5px; }
.count-box p  { font-size: 12.5px; color: var(--text-lt); margin-top: 10px; line-height: 1.5; }
.count-layout .count-boxes { padding-left: 0; }

/* ============================================
   SHRADDHA STARS
   ============================================ */
/* Soft purple wash that fades to white at both edges, so the section reads
   tinted without cutting a hard band across the page. */
.allen-marquee-section {
  background: linear-gradient(180deg,
    #ffffff 0%,
    #F8F8F9 14%,
    #F4F4F5 50%,
    #F8F8F9 86%,
    #ffffff 100%);
  color: var(--dark); padding: 72px 0 84px; overflow: hidden; position: relative;
}
.allen-stars-wrapper { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 34px; align-items: center; width: 100%; max-width: none; margin: 0; padding: 0 0 0 max(20px, calc((100vw - 1200px) / 2)); }
.allen-stars-left h2 { font: 800 32px/1.2 var(--fontH); margin-bottom: 10px; }
.allen-stars-left p { color: #64748b; font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.btn-allen-watch { display: inline-block; background: var(--red); color: var(--white); padding: 11px 22px; border-radius: 6px; font-size: 13px; font-weight: 700; transition: background 0.25s, color 0.25s, transform 0.25s; }
.btn-allen-watch:hover { background: #C4262B; color: var(--white); transform: translateY(-2px); }
.allen-marquee-rows { display: flex; flex-direction: column; gap: 11px; min-width: 0; width: 100%; overflow: hidden; }
.allen-row-container {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.allen-row-track { display: flex; gap: 12px; width: max-content; }
.allen-row-track.dir-left { animation: scroll-ltr 32s linear infinite; }
.allen-row-track.dir-right { animation: scroll-rtl 32s linear infinite; }
.allen-row-track:hover { animation-play-state: paused; }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; gap: 12px; width: max-content; }
.marquee-track.right-to-left { animation: scroll-rtl 32s linear infinite; }
.marquee-track.left-to-right { animation: scroll-ltr 32s linear infinite; }
@keyframes scroll-ltr { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scroll-rtl { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.allen-star-photo, .star-img { width: 170px; height: 105px; border-radius: 8px; object-fit: cover; flex-shrink: 0; box-shadow: 0 4px 14px rgba(88,28,135,0.10); border: 1px solid rgba(234,49,55,0.10); }

/* ============================================
   ADMISSION FORM
   ============================================ */
.admission-section { padding: 88px 0 80px; background: #ffffff; }
.adm-layout { display: grid; grid-template-columns: 1fr 1.8fr; gap: 40px; align-items: start; }
.adm-info h2 { font-size: 22px; font-weight: 800; color: var(--red); font-family: var(--fontH); margin-bottom: 10px; }
.adm-info p  { font-size: 13.5px; color: var(--text-lt); margin-bottom: 16px; }
.adm-list li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; margin-bottom: 9px; font-weight: 600; }
.adm-list li i { color: #27ae60; }
.adm-contact-details { margin-top: 18px; }
.adm-contact-details div { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text-lt); margin-bottom: 9px; }
.adm-contact-details i { color: var(--red); margin-top: 2px; width: 13px; }
.adm-contact-details a:hover { color: var(--red); }

.adm-form { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-full   { margin-bottom: 14px; }
.form-field label { font-size: 12px; font-weight: 700; color: var(--text); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px;
  font-size: 13px; font-family: var(--font); outline: none; transition: border 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,0.07); }
.form-field textarea { resize: vertical; }
.form-submit {
  width: 100%; padding: 13px; background: #27ae60; color: var(--white);
  border: none; border-radius: 4px; font-size: 14px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); transition: background 0.2s;
}
.form-submit:hover { background: #1e8449; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #1e1e1e; color: #bbb; }
.footer-top  { padding: 44px 0 28px; border-bottom: 1px solid #333; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-favicon { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.footer-brand strong { display: block; font-size: 15px; font-weight: 900; color: var(--white); font-family: var(--fontH); }
.footer-brand small  { display: block; font-size: 9px; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-about { font-size: 12.5px; color: #999; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 32px; height: 32px; border-radius: 5px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 13px; transition: 0.2s; }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--red); display: inline-block; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: 12.5px; color: #999; transition: 0.2s; display: flex; align-items: center; gap: 5px; }
.footer-col ul li a::before { content: '›'; color: var(--red); }
.footer-col ul li a:hover { color: var(--white); padding-left: 3px; }
.footer-col p { font-size: 12.5px; color: #999; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.footer-col p i { color: var(--red); margin-top: 3px; width: 12px; flex-shrink: 0; }
.footer-col a:hover { color: #72c02c; }

.footer-bottom { background: #141414; padding: 13px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #666; }
.footer-bottom a { color: #888; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-top {
  position: fixed; bottom: 22px; right: 18px; z-index: 99;
  width: 36px; height: 36px; background: var(--red); color: var(--white);
  border: none; border-radius: 4px; cursor: pointer; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: 0.3s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--red-dk); transform: translateY(-2px); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .cc-grid { grid-template-columns: repeat(2,1fr); }
  .blogs-grid { grid-template-columns: repeat(2,1fr); }
  .rankers-row { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .tb-left { display: none; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: fixed;
    inset: 0; background: var(--white); z-index: 1000;
    padding: 70px 20px 30px; overflow-y: auto; height: 100vh;
  }
  .main-nav.open .nav-more { margin-left: 0; }
  .main-nav.open > a,
  .main-nav.open .nav-item-drop > a,
  .main-nav.open .nav-drop-toggle {
  font-size: 12.5px !important;
  font-weight: 700;
  padding: 8px 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: none;
  border: none;
  color: #3A3A3A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
  .hamburger-btn { display: flex; }
  .ts-layout { grid-template-columns: 1fr; }
  .ts-featured-showcase { grid-template-columns: 100px minmax(0, 1fr) 72px; }
  .count-layout { flex-direction: column; gap: 32px; }
  .count-main { padding-right: 0; border-right: none; border-bottom: none; padding-bottom: 0; }
  .count-layout .count-boxes { padding-left: 0; padding-top: 0; }
  .allen-stars-wrapper { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .allen-stars-left { max-width: 520px; margin: 0 auto; }
  .adm-layout { grid-template-columns: 1fr; }
  /* Hero responsive */
  .slide-left  { width: 150px; }
  .slide-student-col { width: 110px; }
  .slide-peek  { width: 80px; }
  .slide-headline { font-size: 16px; }
  .slide-headline-bold { font-size: 18px; }
  .cash-amount { font-size: 26px; }
}
@media (max-width: 620px) {
  .slide-left  { display: none; }
  .slide-peek  { display: none; }
  .slide-student-col { width: 100px; }
  .slide-middle { padding: 16px 16px; }
  .cash-amount { font-size: 22px; }
  .register-pill { font-size: 12px; padding: 8px 14px; }
  .cc-grid { grid-template-columns: 1fr; }
  .blogs-grid { grid-template-columns: 1fr; }
  .rankers-row { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .count-box h3 { font-size: 28px; }
  .toppers-section { padding: 42px 0 48px; }
  .ts-title { font-size: 27px; }
  .ts-featured-showcase { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .ts-featured-image { height: 96px; }
  .ts-featured-side { display: none; }
  .ts-bar { gap: 12px; padding: 12px; }
  .ts-bar-label { min-width: 160px; }
  .ts-bar-stat { padding-left: 12px; }
  .allen-marquee-section { padding: 48px 0 56px; }
  .allen-stars-wrapper { padding: 0 0 0 14px; }
  .allen-stars-left h2 { font-size: 27px; }
  .allen-stars-left p { font-size: 13px; }
  .allen-star-photo, .star-img { width: 145px; height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .allen-row-track, .marquee-track, .cc-spark { animation: none; }
}



/* ============================================================
   UNIVERSAL RESPONSIVE & MOBILE NAVIGATION OPTIMIZATION
   ============================================================ */

/* Base Viewport & Layout Protection */
html {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

/* Tablet & Laptop Navigation Bar Scaling (901px to 1150px) */
@media (min-width: 901px) and (max-width: 1150px) {
  .header-container { padding: 0 12px; }
  .main-nav { margin-left: 10px; gap: 0; }
  .main-nav > a,
.nav-item-drop > a,
.nav-drop-toggle {
  font-size: 12.5px !important;
  font-weight: 700;
  padding: 8px 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: none;
  border: none;
  color: #3A3A3A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
  .brand-favicon {
  height: 52px !important;
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transition: transform 0.2s ease;
}
.brand-logo:hover .brand-favicon {
  transform: scale(1.02);
}
  .tb-left a { font-size: 9px; padding: 0 5px; }
  .tb-store, .tb-enquiry, .tb-login { font-size: 9px; padding: 0 7px; }
}

/* Mobile & Tablet Drawer Navbar (<= 900px) */
@media (max-width: 900px) {
  .tb-left { display: none !important; }
  .tb-container {
    justify-content: flex-end;
    padding: 0 12px;
    height: 32px;
  }
  .tb-right {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .tb-store {
    height: 22px;
    padding: 0 8px;
    font-size: 9px;
    margin-right: 4px;
  }
  .tb-enquiry {
    height: 22px;
    padding: 0 8px;
    font-size: 9px;
  }
  .tb-login {
    height: 32px;
    padding: 0 8px;
    font-size: 9px;
  }

  .header-container {
    height: 56px;
    padding: 0 14px;
    justify-content: space-between;
  }
  .brand-logo { margin-right: 0; }
  .brand-favicon {
  height: 52px !important;
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transition: transform 0.2s ease;
}
.brand-logo:hover .brand-favicon {
  transform: scale(1.02);
}

  .hamburger-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10002;
  }
  .hamburger-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #3A3A3A;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* Full Screen Mobile Drawer */
  .main-nav {
    display: none !important;
  }

  .main-nav.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 10001;
    padding: 68px 16px 36px;
    margin: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  }

  .main-nav.open .nav-item-drop {
    width: 100%;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    position: static;
  }

  .main-nav.open .nav-drop-toggle {
  font-size: 12.5px !important;
  font-weight: 700;
  padding: 8px 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: none;
  border: none;
  color: #3A3A3A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

  .main-nav.open .nav-drop-toggle i {
    font-size: 12px;
    color: #64748b;
    transition: transform 0.25s ease, color 0.2s ease;
  }

  .main-nav.open .nav-drop-toggle[aria-expanded="true"] {
    color: #EA3137;
    background: #fff7f2;
    border-bottom-color: #ffd8bf;
  }

  .main-nav.open .nav-drop-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: #EA3137;
  }

  /* Mobile Dropdown Sub-menu */
  .main-nav.open .nav-drop {
    position: static !important;
    display: none;
    width: 100%;
    min-width: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #EA3137;
    border-radius: 8px;
    box-shadow: none;
    padding: 6px 0;
    margin: 4px 0 10px;
  }

  .main-nav.open .nav-item-drop:has(.nav-drop-toggle[aria-expanded="true"]) .nav-drop,
  .main-nav.open .nav-item-drop.open .nav-drop {
    display: block !important;
  }

  .main-nav.open .nav-drop a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-transform: none;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.15s ease;
  }

  .main-nav.open .nav-drop a:last-child {
    border-bottom: none;
  }

  .main-nav.open .nav-drop a:hover,
  .main-nav.open .nav-drop a:active {
    background: #ffffff;
    color: #EA3137;
    padding-left: 18px;
  }

  /* Mobile Direct Links */
  .main-nav.open > a {
    width: 100%;
    height: auto;
    min-height: 46px;
    padding: 13px 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #3A3A3A;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
  }

  .main-nav.open > a:hover,
  .main-nav.open > a:active {
    background: #fff7f2;
    color: #EA3137;
    padding-left: 18px;
  }
}

/* ============================================================
   RESPONSIVE SECTION & GRID FIXES ACROSS ALL DEVICES
   ============================================================ */

/* Extra Small Phones (< 400px) */
@media (max-width: 400px) {
  .brand-favicon {
  height: 52px !important;
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transition: transform 0.2s ease;
}
.brand-logo:hover .brand-favicon {
  transform: scale(1.02);
}
  .tb-container { padding: 0 8px; }
  .tb-store, .tb-enquiry, .tb-login { font-size: 8px; padding: 0 5px; }
}

/* Course Detail & Content Page Grid (TOC & Content) */
@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .toc {
    position: static !important;
    top: auto !important;
    margin-bottom: 24px !important;
    background: #f8fafc !important;
  }
  .filters-row, .sub-filters {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .filter-chip {
    min-width: 140px !important;
    flex: 1 1 calc(50% - 8px) !important;
  }
  .course-cards {
    grid-template-columns: 1fr !important;
  }
  .main-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 20px 0 36px !important;
  }
}

/* Table Responsive Handling */
.content-table-wrapper,
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}
.content-table {
  min-width: 500px;
}

/* Shraddha Stars Edge-to-Edge Container on Small Screens */
@media (max-width: 900px) {
  .allen-stars-wrapper {
    grid-template-columns: 1fr !important;
    padding: 0 16px !important;
    gap: 20px !important;
  }
  .allen-stars-left {
    text-align: center !important;
    max-width: 100% !important;
  }
}

/* WhatsApp Floating Button on Small Screens */
@media (max-width: 600px) {
  .whatsapp-float {
    width: 46px !important;
    height: 46px !important;
    font-size: 24px !important;
    bottom: 16px !important;
    right: 16px !important;
  }
  .back-top {
    bottom: 70px !important;
    right: 18px !important;
  }
}






/* ============================================================
   CMS CONTENT FEED (assets/js/feed.js)
   Cards for Life-in-Shraddha posts and Newsroom articles.
   ============================================================ */
.sf-sec { padding: 64px 0 72px; background: #ffffff; }
.sf-head { max-width: 660px; margin: 0 0 34px; }
.sf-head .sf-kick {
  display: block; font-size: 11.5px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #EA3137; margin-bottom: 12px;
}
.sf-head h2 {
  font-family: var(--fontH, 'Lato', sans-serif);
  font-size: clamp(22px, 3vw, 30px); font-weight: 900;
  color: #323232; letter-spacing: -0.5px; margin: 0 0 12px;
}
.sf-head p { font-size: 15px; line-height: 1.8; color: #4a5568; margin: 0; }

.sf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.sf-card {
  display: flex; flex-direction: column;
  background: #ffffff; border: 1px solid #e8ecf2; border-radius: 13px;
  overflow: hidden; text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.sf-card:hover {
  transform: translateY(-5px); border-color: #d9c2f0;
  box-shadow: 0 14px 34px rgba(22,35,58,0.10);
}

.sf-thumb {
  position: relative; aspect-ratio: 16 / 10;
  background: #eef1f6; overflow: hidden;
}
.sf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.sf-card:hover .sf-thumb img { transform: scale(1.06); }
.sf-thumb.sf-noimg::after {
  content: '\f03e'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #c7cfdb;
}
.sf-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(220,38,38,0.92); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; padding-left: 3px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: transform 0.24s ease;
}
.sf-card:hover .sf-play { transform: translate(-50%, -50%) scale(1.1); }

.sf-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.sf-meta {
  display: block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: #EA3137; margin-bottom: 9px;
}
.sf-body h3 {
  font-family: var(--fontH, 'Lato', sans-serif);
  font-size: 16.5px; font-weight: 900; color: #323232;
  line-height: 1.35; margin: 0 0 9px;
}
.sf-body p { font-size: 13.5px; line-height: 1.72; color: #64748b; margin: 0; }

.sf-empty { display: none; padding: 40px 20px; text-align: center; color: #8a93a5; font-size: 14.5px; }
.sf-loading { padding: 40px 20px; text-align: center; color: #a9b2c0; font-size: 14px; }
.sf-grid.sf-ready + .sf-loading, .sf-grid.sf-ready ~ .sf-loading { display: none; }

@media (max-width: 900px) { .sf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sf-grid { grid-template-columns: 1fr; } }

/* ============================================
   FOUNDER SOUND WAVE PURE ANIMATION (NO BACKGROUND)
   ============================================ */
.wave-bar {
  display: inline-block;
  width: 3.5px;
  background: #EA3137;
  border-radius: 4px;
  transition: height 0.15s ease, background 0.2s ease;
}

.sound-waves-playing .wave-bar {
  animation: soundWaveAnim 1.2s ease-in-out infinite alternate;
}
.sound-waves-playing .wave-bar:nth-child(2) { animation-delay: 0.1s; }
.sound-waves-playing .wave-bar:nth-child(3) { animation-delay: 0.25s; }
.sound-waves-playing .wave-bar:nth-child(4) { animation-delay: 0.15s; }
.sound-waves-playing .wave-bar:nth-child(5) { animation-delay: 0.35s; }
.sound-waves-playing .wave-bar:nth-child(6) { animation-delay: 0.05s; }
.sound-waves-playing .wave-bar:nth-child(7) { animation-delay: 0.3s; }
.sound-waves-playing .wave-bar:nth-child(8) { animation-delay: 0.2s; }
.sound-waves-playing .wave-bar:nth-child(9) { animation-delay: 0.4s; }
.sound-waves-playing .wave-bar:nth-child(10) { animation-delay: 0.15s; }
.sound-waves-playing .wave-bar:nth-child(11) { animation-delay: 0.35s; }
.sound-waves-playing .wave-bar:nth-child(12) { animation-delay: 0.25s; }
.sound-waves-playing .wave-bar:nth-child(13) { animation-delay: 0.1s; }
.sound-waves-playing .wave-bar:nth-child(14) { animation-delay: 0.45s; }
.sound-waves-playing .wave-bar:nth-child(15) { animation-delay: 0.3s; }
.sound-waves-playing .wave-bar:nth-child(16) { animation-delay: 0.2s; }
.sound-waves-playing .wave-bar:nth-child(17) { animation-delay: 0.05s; }

@keyframes soundWaveAnim {
  0% { height: 6px; }
  50% { height: 36px; }
  100% { height: 12px; }
}



/* ============================================================
   EXACT STANDARD CSS FOR .band BLOG SECTION & SOUND WAVES
   ============================================================ */
.blogs-section {
  padding: 64px 0 72px;
  background: #ffffff;
  width: 100%;
}
.band-header {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto 36px;
  text-align: center;
}
.band-header .badge-pill {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border: 1px solid rgba(234,49,55,0.35);
  border-radius: 20px;
  color: #EA3137;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.band-header h2 {
  font-size: 32px;
  font-weight: 900;
  color: #3A3A3A;
  font-family: var(--fontH, 'Lato', sans-serif);
  margin-bottom: 6px;
}
.band-header p {
  color: #64748b;
  font-size: 14.5px;
}

.band {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 20px;
}

@media (min-width: 480px) {
  .band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .band {
    grid-template-columns: repeat(4, 1fr);
  }
  .item-1 {
    grid-column: 1 / span 2;
  }
  .item-1 .card article h1 {
    font-size: 24px;
  }
}

.card {
  background: #ffffff;
  text-decoration: none;
  color: #444444;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  top: 0;
  transition: all 0.2s ease-in-out;
  border-radius: 6px;
  overflow: hidden;
}

.card:hover {
  top: -4px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.card .thumb {
  padding-bottom: 60%;
  background-size: cover;
  background-position: center center;
  display: block;
  width: 100%;
}

.card article {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card article h1 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #3A3A3A;
  font-weight: 700;
  line-height: 1.35;
  font-family: var(--fontH, 'Lato', sans-serif);
}

.card article p {
  flex: 1;
  line-height: 1.55;
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 16px 0;
}

.card article span {
  font-size: 11px;
  font-weight: bold;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: 10px;
}

/* Sound Wave Bars */
.sound-wave-box {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}
.wave-bar {
  display: inline-block;
  width: 3.5px;
  background: #EA3137;
  border-radius: 4px;
  height: 12px;
  transition: height 0.1s ease, background 0.2s ease;
}

.sound-waves-playing .wave-bar {
  animation: soundWaveAnim 1s ease-in-out infinite alternate;
}
.sound-waves-playing .wave-bar:nth-child(1)  { animation-delay: 0.05s; }
.sound-waves-playing .wave-bar:nth-child(2)  { animation-delay: 0.2s;  }
.sound-waves-playing .wave-bar:nth-child(3)  { animation-delay: 0.35s; }
.sound-waves-playing .wave-bar:nth-child(4)  { animation-delay: 0.15s; }
.sound-waves-playing .wave-bar:nth-child(5)  { animation-delay: 0.45s; }
.sound-waves-playing .wave-bar:nth-child(6)  { animation-delay: 0.1s;  }
.sound-waves-playing .wave-bar:nth-child(7)  { animation-delay: 0.3s;  }
.sound-waves-playing .wave-bar:nth-child(8)  { animation-delay: 0.25s; }
.sound-waves-playing .wave-bar:nth-child(9)  { animation-delay: 0.5s;  }
.sound-waves-playing .wave-bar:nth-child(10) { animation-delay: 0.15s; }
.sound-waves-playing .wave-bar:nth-child(11) { animation-delay: 0.4s;  }
.sound-waves-playing .wave-bar:nth-child(12) { animation-delay: 0.2s;  }
.sound-waves-playing .wave-bar:nth-child(13) { animation-delay: 0.35s; }
.sound-waves-playing .wave-bar:nth-child(14) { animation-delay: 0.1s;  }
.sound-waves-playing .wave-bar:nth-child(15) { animation-delay: 0.45s; }
.sound-waves-playing .wave-bar:nth-child(16) { animation-delay: 0.25s; }
.sound-waves-playing .wave-bar:nth-child(17) { animation-delay: 0.05s; }

@keyframes soundWaveAnim {
  0%   { height: 6px;  }
  50%  { height: 36px; }
  100% { height: 14px; }
}



/* Top Bar Centers Dropdown */
.tb-item-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.tb-drop-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tb-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #EA3137;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none;
  z-index: 1000;
  padding: 6px 0;
}
.tb-item-drop:hover .tb-drop-menu,
.tb-item-drop:focus-within .tb-drop-menu {
  display: block;
}
.tb-drop-menu a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 16px !important;
  color: #3A3A3A !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.tb-drop-menu a i {
  color: #EA3137;
  font-size: 11px;
  width: 14px;
}
.tb-drop-menu a:hover {
  background: #fff5eb;
  color: #EA3137 !important;
  padding-left: 20px !important;
}

/* Enhanced Touch-Friendly Hero Arrows */
.sl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.65) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 16px !important;
  z-index: 50 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
  touch-action: manipulation;
}
.sl-arrow:hover, .sl-arrow:active {
  background: #EA3137 !important;
  border-color: #EA3137 !important;
  transform: translateY(-50%) scale(1.1) !important;
}
.sl-prev { left: 14px !important; }
.sl-next { right: 14px !important; }
.sl-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 50;
}
.sl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}
.sl-dot.active {
  background: #EA3137;
  width: 26px;
  border-radius: 12px;
}



/* ============================================================
   GLOBAL TYPOGRAPHY (Open Sans 13px / 20.8px / rgb(51, 51, 51))
   Preserving all hover states, buttons, orange branding accents
   ============================================================ */
:root {
  --font: "Open Sans", Arial, sans-serif;
  --fontH: 'Baloo 2', 'Lato', "Open Sans", Arial, sans-serif;
}

body {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 20.8px !important;
  color: rgb(51, 51, 51) !important;
}

p, li, dd, dt, label, input, select, textarea, .content-area p, .content-area li, .card article p {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20.8px;
  color: rgb(51, 51, 51);
}

/* Headings font family */
h1, h2, h3, h4, h5, h6, .brand-text strong, .band-header h2, .section-title {
  font-family: var(--fontH, "Lato", "Open Sans", Arial, sans-serif);
}



/* ============================================================
   BRAND THEME: Electric Violet #EA3137 & Light/Pastel Palette
   ============================================================ */
:root {
  --red: #EA3137;
  --red-dk: #C4262B;
  --purple-main: #EA3137;
  --purple-dark: #C4262B;
  --purple-deep: #4F0082;
  --purple-pastel-bg: #F8F8F9;
  --purple-pastel-card: #F5EEFF;
  --purple-pastel-border: #F1F1F2;
  --purple-pastel-pill: #F1F1F2;
  --purple-glow: rgba(157, 0, 255, 0.25);
  
  --primary: #EA3137;
  --primary-dark: #C4262B;
  --primary-light: #F5EEFF;
  --brand-primary: #EA3137;
  --brand-primary-light: #F5EEFF;
  --color-primary: #EA3137;
  
  --font: "Open Sans", Arial, sans-serif;
  --fontH: 'Baloo 2', 'Lato', "Open Sans", Arial, sans-serif;
}

/* Navbar Font Size 15px */
.main-nav > a,
.nav-item-drop > a,
.nav-drop-toggle {
  font-size: 12.5px !important;
  font-weight: 700;
  padding: 8px 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: none;
  border: none;
  color: #3A3A3A;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.main-nav > a:hover,
.nav-item-drop:hover > a,
.nav-item-drop:hover > .nav-drop-toggle,
.main-nav > a.active,
.nav-drop-toggle.active {
  color: #EA3137 !important;
  border-bottom-color: #EA3137 !important;
}
.nav-drop {
  border-top: 3px solid #EA3137 !important;
}
.nav-drop a:hover {
  background: #F8F8F9 !important;
  color: #EA3137 !important;
}

/* Floating WhatsApp & Highlights */
.brand-text strong {
  color: #EA3137 !important;
}
.back-top:hover {
  background: #EA3137 !important;
}


/* Achievement Inner Slider in Toppers Section */
.achieve-left {
  min-width: 0;
  width: 100%;
}
.inner-slider {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1.5px solid #e2e8f0;
  background: #323232;
}
.inner-slides {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}
.inner-slide {
  min-width: 100%;
  flex: 0 0 100%;
}
.inner-slide img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
/* Plain white chevrons with no disc behind them, the way the carousel
   controls read on allen.ac.in. The shadow is what keeps them legible
   over a light slide, since there is no longer a dark background. */
.inner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.2s ease;
  z-index: 10;
}
.inner-arrow:hover {
  background: transparent;
  opacity: 1;
}
.inner-arrow.prev { left: 16px; }
.inner-arrow.next { right: 16px; }

/* Centers Modal Absolute Hidden Overlay Fix */
.center-modal-overlay {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(6px) !important;
}
.center-modal-overlay.open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ========================================================
   NAVBAR TYPOGRAPHY & SINGLE-LINE LAYOUT (Open Sans 13px)
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(50,50,50,0.06), 0 8px 24px rgba(50,50,50,0.04);
  border-bottom: none;
}
.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand-favicon {
  height: 52px !important;
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transition: transform 0.2s ease;
}
.brand-logo:hover .brand-favicon {
  transform: scale(1.02);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 64px;
  flex: 1;
  min-width: 0;
  margin-left: 12px;
  gap: 2px;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}
.main-nav > a,
.nav-item-drop > a,
.nav-drop-toggle {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 8px 10px !important;
  letter-spacing: 0.1px;
  background: none;
  border: none;
  color: #3A3A3A !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}
.main-nav > a:hover,
.nav-item-drop:hover > a,
.nav-item-drop:hover > .nav-drop-toggle,
.nav-drop-toggle[aria-expanded="true"],
.main-nav > a.active,
.nav-drop-toggle.active {
  color: #EA3137 !important;
}
.nav-item-drop {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #EA3137 !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 1000;
  display: none;
  padding: 6px 0;
  border-radius: 0 0 8px 8px;
}
.nav-item-drop:hover .nav-drop,
.nav-item-drop:focus-within .nav-drop,
.nav-item-drop:has(.nav-drop-toggle[aria-expanded="true"]) .nav-drop {
  display: block;
}
.nav-drop a {
  display: block;
  padding: 10px 16px;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none;
  transition: all 0.15s ease;
}
.nav-drop a:hover {
  background: #F8F8F9 !important;
  color: #EA3137 !important;
  padding-left: 20px;
}

/* Shepherd.js Tour Custom Styling */
.shepherd-element {
  background: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(157, 0, 255, 0.18), 0 4px 12px rgba(0,0,0,0.08) !important;
  max-width: 380px !important;
  border: 1.5px solid #E9D5FF !important;
  font-family: "Open Sans", Arial, sans-serif !important;
}
.shepherd-header {
  background: #F8F8F9 !important;
  padding: 14px 18px !important;
  border-radius: 12px 12px 0 0 !important;
  border-bottom: 1px solid #F1F1F2 !important;
}
.shepherd-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #6B21A8 !important;
  font-family: "Lato", "Open Sans", sans-serif !important;
}
.shepherd-text {
  font-size: 13px !important;
  color: #475569 !important;
  line-height: 1.5 !important;
  padding: 16px 18px !important;
}
.shepherd-footer {
  padding: 10px 18px 16px !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}
.shepherd-button {
  background: #EA3137 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  border-radius: 8px !important;
  padding: 7px 16px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}
.shepherd-button:hover {
  background: #7E00CC !important;
}
.shepherd-button-secondary {
  background: #F1F5F9 !important;
  color: #64748B !important;
}
.shepherd-button-secondary:hover {
  background: #E2E8F0 !important;
  color: #334155 !important;
}
.shepherd-cancel-icon {
  color: #94A3B8 !important;
  font-size: 18px !important;
}
.tour-trigger-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: #EA3137;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(234,49,55,0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}
.tour-trigger-btn:hover {
  background: #7E00CC;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234,49,55,0.45);
}


/* PNCF Expandable Course Card */
.cc-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}
.cc-card.expanded {
  box-shadow: 0 16px 36px rgba(0,0,0,0.14) !important;
  transform: translateY(-4px);
}
.cc-full-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  margin-top: 0;
  padding: 0 12px;
  font-size: 12.5px;
  color: #334155;
  border-top: 1px dashed rgba(0,0,0,0.1);
}
.cc-card.expanded .cc-full-details {
  max-height: 500px;
  opacity: 1;
  margin-top: 14px;
  padding: 12px 14px;
}
.cc-full-details ul {
  padding-left: 18px;
  margin: 8px 0;
}
.cc-full-details li {
  margin-bottom: 5px;
}
.cc-full-details .btn-cc-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: #EA3137;
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}
.cc-full-details .btn-cc-explore:hover {
  background: #7E00CC;
}

/* ============================================
   HUMANIZED DESIGN — micro-interactions, rhythm
   ============================================ */

/* Improved heading hierarchy */
h2 { font-weight: 800; letter-spacing: -0.01em; }
h3 { font-weight: 700; }
h4 { font-weight: 600; }

/* Paragraph spacing for readability */
p { line-height: 1.65; }

/* Button spring hover */
.btn-primary,
.btn-sos,
.btn-primary-sos,
.form-submit,
.cta-btn-primary {
  transition: background 0.18s, transform 0.14s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.18s;
}
.btn-primary:hover,
.btn-sos:hover,
.btn-primary-sos:hover,
.form-submit:hover,
.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(234,49,55,0.32);
}

/* Card hover lift */
.course-card,
.center-card,
.blog-card,
.res-metric-box {
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
}
.course-card:hover,
.center-card:hover,
.blog-card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 16px 40px rgba(0,0,0,0.11);
}

/* Section badge pill — slightly organic */
.section-badge-pill {
  letter-spacing: 0.04em;
}

/* Counter accent borders — differentiated colors */
.count-boxes .count-box:nth-child(1) { border-left: 4px solid #EA3137; }
.count-boxes .count-box:nth-child(2) { border-left: 4px solid #0ea5e9; }
.count-boxes .count-box:nth-child(3) { border-left: 4px solid #f59e0b; }

/* Input focus ring — more natural */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #EA3137 !important;
  box-shadow: 0 0 0 3px rgba(234,49,55,0.12);
  transition: border-color 0.15s, box-shadow 0.15s;
}

/* Nav link underline animation */
.main-nav > a {
  position: relative;
}
.main-nav > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: #EA3137;
  transition: width 0.22s ease, left 0.22s ease;
  border-radius: 1px;
}
.main-nav > a:hover::after,
.main-nav > a.active::after {
  width: 80%;
  left: 10%;
}

/* Facility card consistent */
.facility-card-sos {
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s;
}
.facility-card-sos:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.12);
}

/* Footer link hover */
.footer-col ul a {
  transition: color 0.15s, padding-left 0.15s;
  display: inline-block;
}
.footer-col ul a:hover {
  color: #EA3137;
  padding-left: 4px;
}

/* Testimonial card varied spacing for organic feel */
.topper-quote-box:nth-child(2) { margin-top: 12px; }
.topper-quote-box:nth-child(3) { margin-top: -8px; }


/* ============================================================
   SMOOTHNESS & MOBILE PASS
   Motion and performance only — no colour, spacing, size or
   layout value is changed here. Purely how things move.
   ============================================================ */

/* Anchor links used to land underneath the 62px sticky header;
   now smooth-scroll stops clear of it. */
html {
  scroll-padding-top: 72px;
}

/* `overflow-x:hidden` on body turns it into a scroll container on
   iOS, which fights sticky positioning and momentum. `clip` does
   the same clipping without that side effect; browsers that don't
   know it keep the `hidden` above. */
body {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;          /* iOS stops inflating text on rotate */
  -webkit-tap-highlight-color: rgba(157, 0, 255, 0.10);
}

/* Compositor-friendly transitions on the things people touch.
   Transform + opacity only — never width/height/margin. */
@media (hover: hover) and (pointer: fine) {
  a, button, .btn, [class*="card"], [class*="tile"] {
    transition: transform .28s cubic-bezier(.22,.61,.36,1),
                box-shadow .28s ease,
                background-color .2s ease,
                color .2s ease;
  }
}

/* Touch targets and scroll feel on phones. */
@media (max-width: 900px) {
  /* Horizontal card rails flick properly instead of snagging. */
  [class*="track"], [class*="slider"], [class*="carousel"] {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  [class*="track"]::-webkit-scrollbar,
  [class*="slider"]::-webkit-scrollbar { display: none; }

  /* Hover lifts are meaningless on touch and leave cards stuck in
     the hovered state after a tap. */
  [class*="card"]:hover, [class*="tile"]:hover { transform: none; }

  /* Parallax and long transitions cost the most on mobile GPUs. */
  .mo-plx { transform: none !important; }
}

/* Anything animating is promoted only while it moves; motion.js
   clears will-change once a reveal has finished. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-padding-top: 72px; }
  .mo, .mo-img, .mo-plx {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   HOMEPAGE — TALENT PROGRAMMES, QUICK-ACCESS BOXES, BATCH TABS
   Structure follows the reference layouts; the grid is written
   in plain CSS because this site carries no Bootstrap.
   ============================================================ */

/* ── Talent Recognition Programmes ───────────────────────── */
.talent-blog-section { padding: 64px 0 40px; background: #ffffff; }
.talent-blog-section .new-heading {
  text-align: center; font-family: var(--fontH, "Lato", sans-serif);
  font-size: 30px; font-weight: 900; color: #323232; margin: 0 0 34px;
}
.talent-block {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.talent-box {
  position: relative; overflow: hidden; border-radius: 16px;
  padding: 30px 210px 28px 30px; min-height: 300px;
  background: linear-gradient(135deg, #F4F4F5 0%, #FBF7FE 60%, #ffffff 100%);
  border: 1px solid #EEE3F9;
}
.tallentex .talent-box {
  background: linear-gradient(135deg, #EFF3FC 0%, #F6F9FE 60%, #ffffff 100%);
  border-color: #DEE7F6;
}
.talent-icon img { height: 54px; width: auto; margin-bottom: 14px; }
.talent-box h4 {
  font-family: var(--fontH, "Lato", sans-serif);
  font-size: 21px; font-weight: 900; color: #323232; line-height: 1.3; margin: 0 0 12px;
}
.talent-box p { font-size: 13.5px; color: #475569; margin: 0 0 9px; line-height: 1.6; }
.talent-box p span { font-weight: 800; color: #C4262B; }
.tallentex .talent-box p span { color: #2A5488; }
.talent-image {
  position: absolute; right: 10px; bottom: 0; width: 215px; pointer-events: none;
}
.talent-image img { width: 100%; height: auto; display: block; }

.new-btn-outer { margin-top: 16px; }
.new-btn {
  display: inline-block; background: #EA3137; color: #fff; text-decoration: none;
  padding: 10px 22px; border-radius: 7px; font-size: 13.5px; font-weight: 800;
}
.new-btn:hover { background: #C4262B; }
.tallentex .new-btn { background: #2A5488; }
.tallentex .new-btn:hover { background: #1740ad; }

/* ── Quick-access boxes ──────────────────────────────────── */
.app-allen-section-outer { padding: 24px 0 64px; background: #ffffff; }
.app-inner-block.col-3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.app-box2 {
  position: relative; display: flex; flex-direction: column;
  border-radius: 15px; padding: 26px 24px 24px; background: #FAFBFD;
  border: 1px solid #E6EAF0;
}
.app-box2 h2 {
  font-family: var(--fontH, "Lato", sans-serif);
  font-size: 18px; font-weight: 900; color: #323232; margin: 0 0 10px; line-height: 1.35;
}
.app-box2 p { font-size: 13px; color: #475569; line-height: 1.65; margin: 0 0 16px; }
.app-box2 .app-image {
  margin: auto 0 16px; border-radius: 10px; overflow: hidden; height: 150px;
  display: flex; align-items: center; justify-content: center;
}
/* Flat icons must sit whole inside the frame — `cover` would crop a
   symbol into an unreadable fragment. */
.app-box2 .app-image img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}
/* A real photograph fills the frame instead, biased upward so faces
   stay in shot rather than being cropped to torsos. */
.app-box2 .app-image.photo { background: #eef1f6; }
.app-box2 .app-image.photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
.app-box2 .btn-outer { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.app-box2.digital { background: #F4F4F5; border-color: #EEE3F9; }
.app-box2.agsd    { background: #EFF3FC; border-color: #DEE7F6; }
.app-box2.estore  { background: #FFF8EC; border-color: #F6E8CF; }

/* ── Batch tabs ──────────────────────────────────────────── */
.section_thir { padding: 64px 0; background: #ffffff; }
.button-toggle {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
  background: #f6f6f7; border: 1px solid #cecece; border-radius: 8px;
  padding: 8px; margin: 0 auto 6px; width: max-content; max-width: 100%;
}
.jee_tab {
  background: #fff; border: 1.5px solid #e2e8f0; color: #475569;
  padding: 9px 26px; border-radius: 30px; font: inherit; font-size: 13.5px;
  font-weight: 800; cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.jee_tab:hover { border-color: #EA3137; color: #EA3137; }
.jee_tab.active-btn { background: #EA3137; border-color: #EA3137; color: #fff; }

/* Two tracks, two cards each. Equal columns and stretched rows keep the
   pair the same height whatever the copy length, so the footers line up. */
/* Two cards across the full container: wider than the old three-up and
   noticeably taller, with stretched rows so the pair stays level. */
.batch-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px; padding-top: 38px;
  align-items: stretch;
}
.batch {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e9e9e9; border-radius: 20px;
  box-shadow: 0 1.75px 10.51px 0 rgba(104, 104, 104, .20);
  min-height: 420px; padding: 38px 38px 32px;
}
/* The student is a cut-out bleeding off the bottom-right of the card,
   with the copy given its own column so the two never collide. */
.batch_art {
  position: absolute; right: 0; bottom: 0; height: 88%; width: auto; max-width: 46%;
  object-fit: contain; object-position: bottom right;
  pointer-events: none; user-select: none;
}
.batch_head { position: relative; z-index: 1; padding: 2px 50% 0 2px; }
.batch_title {
  font-family: var(--fontH, "Lato", sans-serif);
  font-size: 28px; font-weight: 900; color: #323232; margin: 0 0 4px; line-height: 1.25;
}
.batch_txt   { font-size: 14px; font-weight: 800; color: #C4262B; margin: 0 0 10px;
               font-family: var(--fontH, "Lato", sans-serif); }
.for_class   { font-size: 14.5px; font-weight: 500; color: #5A6880; margin: 0; line-height: 1.8; }

.batch_footer { position: relative; z-index: 1; margin-top: auto; padding: 20px 50% 2px 2px; }
.batch_footer_title { margin: 0; }
.batch_footer_txt { font-size: 14px; font-weight: 800; color: #047857; margin: 0 0 3px; }
.targeting { font-size: 13.5px; color: #64748b; margin: 0 0 14px; }
.btn_explore {
  display: inline-block; box-shadow: 0 6px 16px -6px #EA3137; background: #EA3137; color: #fff; text-decoration: none;
  padding: 11px 26px; border-radius: 8px; font-size: 14px; font-weight: 700;
  font-family: var(--fontH, "Lato", sans-serif); letter-spacing: .2px;
}
.btn_explore:hover { background: #C4262B; }

/* Each track keeps its own accent on the batch label. */
.batch_found_1 .batch_txt, .batch_neet_2 .batch_txt,
.batch_neet_3 .batch_txt { color: #047857; }
.batch_found_2 .batch_txt, .batch_foundation_1 .batch_txt { color: #b45309; }

/* Elite Programs: one card across the whole row. The copy keeps a
   comfortable measure instead of stretching the full width. */
.batch-row.elite-row { grid-template-columns: 1fr; }
.batch_elite { min-height: 360px; background: linear-gradient(110deg, #fff 55%, #FFF1F1 100%); }
.batch_elite .batch_head, .batch_elite .batch_footer { padding-right: 30%; }
.batch_elite .for_class { max-width: 720px; }
.batch_elite .batch_art { max-width: 34%; }
.batch_elite .batch_txt { color: #C4262B; }
@media (max-width: 992px) {
  .batch_elite .batch_head, .batch_elite .batch_footer { padding-right: 42%; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 992px) {
  .app-inner-block.col-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .talent-block { grid-template-columns: 1fr; }
  /* The cut-out sits behind the text on a phone, so drop it and
     give the copy the full width back. */
  .talent-box { padding: 26px 24px 24px; min-height: 0; }
  .talent-image { display: none; }
  .app-inner-block.col-3,
  .jee-row, .neet-row, .foundation-row { grid-template-columns: 1fr; }
  .talent-blog-section .new-heading { font-size: 24px; }
  .jee_tab { padding: 8px 18px; font-size: 12.5px; }
  .batch-row { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .batch { min-height: 330px; padding: 26px; }
  .batch_art { height: 74%; max-width: 40%; }
  .batch_head, .batch_footer { padding-right: 42%; }
  .batch_title { font-size: 21px; }
}

/* ============================================================
   PERFORMANCE BOOSTER COURSES — card carousel
   Same purple wash as the Shraddha Stars band so the two read as
   one stretch of page. Native scroll-snap does the scrolling, as
   in the News & Media rail: no slider library, works on touch.
   ============================================================ */
.section_seven {
  padding: 64px 0 72px;
  background: #F8F2FE;                 /* very light purple, flat */
}
.section_seven h3 {
  text-align: center; font-family: var(--fontH, "Lato", sans-serif);
  font-size: 30px; font-weight: 900; color: #323232; margin: 0 0 10px;
}
.section_seven .para {
  text-align: center; font-size: 14px; color: #475569;
  max-width: 720px; margin: 0 auto 34px; line-height: 1.7;
}

.card_slider { position: relative; }
.slick-list {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain; padding: 4px 2px 10px;
  scrollbar-width: none;
}
.slick-list::-webkit-scrollbar { display: none; }

.perpo_content {
  flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start;
  background: #fff; border: 1px solid #EEE3F9; border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
/* The frame is square and the artwork is square, so a cover fit
   crops exactly nothing. */
/* facility banners are wide strips, so the frame matches them */
.perp_img { aspect-ratio: 16 / 9; background: #F1E7FB; overflow: hidden; }
.perp_img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.perp_content { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.perp_content .card_title {
  font-size: 16px; font-weight: 800; color: #323232;
  line-height: 1.45; margin: 0 0 16px; min-height: 46px;
}
.explore_now {
  margin-top: auto; align-self: flex-start; background: #EA3137; color: #fff;
  text-decoration: none; padding: 8px 18px; border-radius: 7px;
  font-size: 12.5px; font-weight: 800;
}
.explore_now:hover { background: #C4262B; }

.slick-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1px solid #E6D6F7; color: #C4262B;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(124, 0, 204, .12);
  transition: background .18s, color .18s, opacity .18s;
}
.slick-arrow:hover:not(:disabled) { background: #EA3137; color: #fff; }
.slick-arrow:disabled { opacity: .35; cursor: default; }
.slick-prev { left: -18px; }
.slick-next { right: -18px; }

@media (max-width: 1240px) {
  .slick-prev { left: 4px; }
  .slick-next { right: 4px; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .perpo_content { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 760px) {
  .section_seven { padding: 48px 0 56px; }
  .section_seven h3 { font-size: 24px; }
  .perpo_content { flex-basis: 82vw; max-width: 340px; }
  .br_remove { display: none; }
}
.counter{ font-family: var(--font-numeral); }
