/* ════════════════════════════════════════════
   DESIGN TOKENS
════════════════════════════════════════════ */
:root {
  --navy: #0D1B3E;
  --navy2: #162444;
  --navy3: #07111f;
  --blue: #0194D9;
  --blue2: #017ab8;
  --blue-lt: #e8f4fd;
  --blue-bright: #7dd4f8;
  --gold: #C8961E;
  --gold2: #dba82a;
  --gold-lt: #fef9ec;
  --cream: #F8F6F1;
  --white: #ffffff;
  --text: #1a2340;
  --muted: #5a6a8a;
  --border: #e2e8f0;
  --border-soft: #eef2f7;

  /* Layered, refined shadows */
  --shadow-xs: 0 1px 2px rgba(13, 27, 62, .04);
  --shadow-sm: 0 2px 6px rgba(13, 27, 62, .06);
  --shadow:    0 6px 22px rgba(13, 27, 62, .08);
  --shadow-md: 0 10px 30px rgba(13, 27, 62, .10);
  --shadow-lg: 0 18px 48px rgba(13, 27, 62, .14);
  --shadow-glow-blue: 0 10px 28px rgba(1, 148, 217, .22);
  --shadow-glow-gold: 0 10px 28px rgba(200, 150, 30, .25);

  /* Gradients */
  --grad-navy: linear-gradient(135deg, #0D1B3E 0%, #162444 100%);
  --grad-navy-blue: linear-gradient(135deg, #0D1B3E 0%, #0194D9 100%);
  --grad-gold: linear-gradient(135deg, #C8961E 0%, #dba82a 100%);
  --grad-blue: linear-gradient(135deg, #0194D9 0%, #017ab8 100%);

  --radius:    10px;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --section-alt: #f1f5f9;
  --max-w: 1200px;
  --pad: 0 40px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --transition: all .25s var(--ease);
  --transition-fast: all .15s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

section[id],
div[id] {
  scroll-margin-top: 88px;
}

/* ─── Shared helpers ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad);
}

.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 56px 0;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.3px;
}

.section-sub {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

.sec-header {
  text-align: center;
  margin-bottom: 52px;
}

.sec-header .section-sub {
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding: 6px 16px;
  background: var(--gold-lt);
  border: 1px solid rgba(200, 150, 30, .25);
  border-radius: var(--radius-pill);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s, opacity .2s;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  position: relative;
  isolation: isolate;
}

.btn:focus-visible {
  outline: 3px solid rgba(1, 148, 217, .35);
  outline-offset: 2px;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--grad-navy);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-gold {
  background: var(--grad-gold);
  color: var(--navy);
  border-color: transparent;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 150, 30, .08);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-blue {
  background: var(--grad-blue);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

.btn-blue:active {
  transform: translateY(0);
}

/* Sizes */
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-block { width: 100%; }

/* ════════════════════════════════════════════
   TOP BAR
════════════════════════════════════════════ */
.topbar {
  background: var(--navy);
  border-bottom: 2px solid var(--blue);
  padding: 8px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.topbar-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 20px;
}

.topbar-marquee-inner {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.topbar-marquee-inner span,
.topbar-marquee-inner a {
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
  padding-right: 60px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.topbar-marquee-inner span b,
.topbar-marquee-inner a b {
  color: var(--gold2);
  font-weight: 600;
  margin-right: 4px;
}

.topbar-marquee-inner a:hover {
  color: rgba(255, 255, 255, .92);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 20px 0 16px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255, 255, 255, .12);
  min-height: 28px;
}

.topbar-right a {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
  padding: 3px 8px;
  border-radius: 4px;
  transition: color .2s;
  white-space: nowrap;
}

.topbar-right a:hover {
  color: var(--gold2);
}

.topbar-right .sep {
  color: rgba(255, 255, 255, .2);
  font-size: 11px;
}

.topbar-login {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 5px 12px !important;
  border-radius: 5px !important;
}

/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
.site-nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(13, 27, 62, .09);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 76px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 68px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo-name {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .4px;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-logo-tag {
  font-size: 9px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.nav-menu li {
  position: relative;
}

.nav-menu li>a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 7px 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: all .18s;
  white-space: nowrap;
}

.nav-menu li>a:hover,
.nav-menu li.active>a {
  color: var(--blue);
  background: var(--blue-lt);
}

.nav-arr {
  font-size: 9px;
  color: var(--muted);
  transition: transform .2s;
  margin-top: 1px;
}

.nav-menu li:hover .nav-arr {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  border-top: 3px solid var(--blue);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}

/* Invisible bridge to cover the gap between menu item and dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-menu li:hover .dropdown,
.nav-menu li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear 0s;
}

.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text);
  border-radius: 6px;
  font-weight: 400;
  transition: all .15s;
}

.dropdown a:hover {
  background: var(--blue-lt);
  color: var(--blue);
  padding-left: 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-enroll {
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: all .2s;
  white-space: nowrap;
}

.nav-enroll:hover {
  background: var(--gold2);
}

.founder-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 36px;
}

.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile Nav — hidden by default on ALL screen sizes */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 2000;
  padding: 24px 24px 40px;
  overflow-y: auto;
  flex-direction: column;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  padding: 13px 16px;
  border-radius: 8px;
  transition: background .2s;
}

.mobile-nav-links a:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--gold);
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
}

.mobile-nav-grouptoggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 13px 16px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}

.mobile-nav-grouptoggle:hover,
.mobile-nav-group.open .mobile-nav-grouptoggle {
  background: rgba(255, 255, 255, .1);
  color: var(--gold);
}

.mobile-nav-grouptoggle .mnav-arr {
  font-size: 12px;
  transition: transform .2s;
}

.mobile-nav-group.open .mobile-nav-grouptoggle .mnav-arr {
  transform: rotate(180deg);
}

.mobile-nav-sub {
  display: none;
  flex-direction: column;
  padding-left: 12px;
}

.mobile-nav-group.open .mobile-nav-sub {
  display: flex;
}

.mobile-nav-sub a {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, .7);
  padding: 11px 16px;
  border-radius: 8px;
  transition: background .2s;
}

.mobile-nav-sub a:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--gold);
}

.mobile-nav-enroll {
  margin-top: 32px;
}

/* ════════════════════════════════════════════
   TICKER
════════════════════════════════════════════ */
.ticker {
  background: linear-gradient(90deg, var(--blue) 0%, #015f99 100%);
  padding: 6px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 24px 6px 18px;
  flex-shrink: 0;
  margin-right: 16px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  white-space: nowrap;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
}

.ticker-inner {
  display: inline-flex;
  animation: ticker 35s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  font-size: 13px;
  color: rgba(255, 255, 255, .88);
  padding-right: 72px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-item::before {
  content: '●';
  color: var(--gold2);
  font-size: 6px;
}

/* ════════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--navy3);
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform .65s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.slide-tnpsc .slide-bg {
  background-image: url('assets/img/slide-tnpsc.jpg');
  background-color: var(--navy);
}

.slide-upsc .slide-bg {
  background-image: url('assets/img/slide-upsc.jpg');
  background-color: var(--navy3);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7, 17, 31, .96) 0%, rgba(7, 17, 31, .90) 42%, rgba(7, 17, 31, .50) 60%, rgba(7, 17, 31, .0) 72%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad);
  display: flex;
  align-items: center;
}

.slide-text {
  max-width: 540px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(1, 148, 217, .18);
  border: 1px solid rgba(1, 148, 217, .4);
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.slide-tag-dot {
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

.slide-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.slide-title em {
  color: var(--gold2);
  font-style: normal;
}

.slide-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .70);
  line-height: 1.75;
  margin-bottom: 28px;
}

.slide-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Both slides: split layout */
.slide-tnpsc .slide-bg {
  background-image: none;
  background-color: var(--navy);
}

.slide-upsc .slide-bg {
  background-image: none;
  background-color: var(--navy3);
}

.slide-tnpsc .slide-overlay,
.slide-upsc .slide-overlay {
  background: linear-gradient(to right, rgba(7, 17, 31, 1) 0%, rgba(7, 17, 31, .97) 40%, rgba(7, 17, 31, .55) 62%, rgba(7, 17, 31, .0) 75%);
}

.slide-tnpsc .slide-content,
.slide-upsc .slide-content {
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.slide-img-right {
  flex-shrink: 0;
  width: 48%;
  max-width: 560px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(200, 150, 30, .35);
  box-shadow: -12px 0 40px rgba(0, 0, 0, .5);
  position: relative;
}

.slide-img-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.slide-img-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7, 17, 31, .35) 0%, rgba(7, 17, 31, 0) 40%);
  z-index: 1;
  border-radius: var(--radius-lg);
}

/* slide split layout reset handled in main 768px block below */

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .2);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: all .25s;
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  border: none;
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}

.hero-dot.active {
  background: var(--gold);
  width: 10px;
}

/* ════════════════════════════════════════════
   STATS STRIP
════════════════════════════════════════════ */
.stats {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 0 40px;
}

.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ════════════════════════════════════════════
   COURSES
════════════════════════════════════════════ */
.courses {
  background: var(--white);
}

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

.course-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
}

.course-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-blue);
  transition: background .3s;
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(1, 148, 217, .25);
}

.course-card:hover::after {
  background: var(--grad-gold);
}

.cc-header {
  background: var(--grad-navy);
  padding: 28px 26px 24px;
  position: relative;
  overflow: hidden;
}

.cc-header::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,148,217,.18) 0%, transparent 70%);
  pointer-events: none;
}

.cc-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
}

.cc-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.25;
}

.cc-header p {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .4px;
}

.cc-body {
  padding: 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cc-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
}

.cc-check {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.cc-footer {
  padding: 16px 26px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cc-tag {
  background: var(--gold-lt);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}

.cc-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  transition: color .2s;
}

.cc-link:hover {
  color: var(--gold);
}

/* ════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════ */
.about {
  background: var(--section-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-box {
  width: 100%;
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 8px 40px rgba(13,27,62,.18);
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  background-image: repeating-linear-gradient(45deg, rgba(200, 150, 30, .05) 0, rgba(200, 150, 30, .05) 1px, transparent 1px, transparent 22px);
}

.about-placeholder span {
  font-size: 100px;
  font-weight: 800;
  color: rgba(200, 150, 30, .12);
  letter-spacing: -4px;
  user-select: none;
}

.about-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(200, 150, 30, .35);
}

.badge-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.badge-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 3px;
  display: block;
  white-space: nowrap;
}

.about-eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.about-title {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 18px;
  white-space: nowrap;
}

.about-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.about-sub-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.about-sub h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.check-ico {
  width: 22px;
  height: 22px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-ico svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ════════════════════════════════════════════
   ACHIEVERS
════════════════════════════════════════════ */
.achievers {
  background: var(--cream);
  padding: 80px 0 24px;
  overflow: hidden;
}

.achievers-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 40px;
}

.achievers-header .section-title {
  color: var(--navy);
}

.achievers-header .section-sub {
  color: var(--muted);
  margin: 0 auto;
}



.achievers-scroll {
  overflow: hidden;
  padding: 0 0 20px;
}

.achievers-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollToppers 30s linear infinite;
  padding: 4px 20px;
}

.achievers-track:hover {
  animation-play-state: paused;
}

@keyframes scrollToppers {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.topper-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 162px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.topper-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}

.topper-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(200, 150, 30, .3);
}

.topper-card:hover::after {
  transform: scaleX(1);
}

.t-rank {
  display: inline-block;
  background: var(--gold-lt);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: .5px;
}

.t-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  margin: 0 auto 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  flex-shrink: 0;
}

.t-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.topper-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.t-exam {
  font-size: 11px;
  color: var(--muted);
}

.achievers-footer {
  text-align: center;
  padding: 24px 36px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ════════════════════════════════════════════
   CURRENT AFFAIRS
════════════════════════════════════════════ */
.ca-section {
  background: var(--white);
  padding-bottom: 64px;
}

.titbits-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 360px 1fr;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 8px 40px rgba(13,27,62,.18);
}

.tp-left {
  padding: 44px 34px;
  border-right: 1px solid rgba(255, 255, 255, .07);
}

.tp-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.tp-label::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.tp-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}

.tp-title em {
  color: var(--gold);
  font-style: normal;
}

.tp-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-bottom: 14px;
}

.tp-tamil {
  background: rgba(255, 255, 255, .05);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.65;
  margin-bottom: 16px;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}

.tp-btn:hover {
  background: var(--gold2);
}

.tp-right {
  overflow: hidden;
  position: relative;
  max-height: 460px;
}

.tp-news-track {
  display: flex;
  flex-direction: column;
  animation: scrollNews 18s linear infinite;
}

.tp-news-track:hover {
  animation-play-state: paused;
}

@keyframes scrollNews {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.tp-news-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .2s;
  flex-shrink: 0;
}

.tp-news-item:hover {
  background: rgba(255, 255, 255, .06);
}

.tp-news-item h5 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.tp-news-item h5 a:hover {
  color: var(--gold2);
}

.tp-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-today {
  background: rgba(1, 148, 217, .25);
  color: var(--blue-bright);
}

.badge-tamil {
  background: rgba(1, 148, 217, .15);
  color: var(--blue);
}

.badge-upsc {
  background: rgba(200, 150, 30, .25);
  color: var(--gold2);
}

.tp-news-text h5 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  line-height: 1.5;
  margin-bottom: 4px;
}

.tp-cat-tag {
  font-size: 10px;
  color: rgba(255, 255, 255, .35);
  font-weight: 500;
}

.ca-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ca-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ca-card-header {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 14px 20px;
}

.ca-card-body {
  display: flex;
  flex-direction: column;
}

.dl-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .18s;
  color: var(--text);
}

.dl-row:last-child {
  border-bottom: none;
}

.dl-row:hover {
  background: var(--blue-lt);
}

.dl-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.dl-info {
  flex: 1;
}

.dl-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.dl-info span {
  font-size: 11px;
  color: var(--muted);
}

.dl-action {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dl-action.green {
  color: var(--blue);
  background: var(--blue-lt);
}

/* ════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════ */
.testimonials {
  background: var(--section-alt);
}

.tst-header {
  text-align: center;
  margin-bottom: 52px;
}

.tst-header .eyebrow {
  color: var(--gold);
  border-color: var(--gold);
}

.tst-header .section-title {
  color: var(--navy);
}

.tst-header .section-sub {
  color: var(--muted);
  margin: 0 auto;
}

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

.tst-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.tst-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
}

.tst-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  right: 22px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(200,150,30,.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.tst-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(200, 150, 30, .25);
}

.tst-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 3px;
}

.tst-quote {
  font-size: 14.5px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.85;
  flex: 1;
}

.tst-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.tst-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.tst-av img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.tst-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.tst-role {
  font-size: 12px;
  color: var(--gold2);
  margin-top: 2px;
}

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.faq-section {
  background: var(--white);
}

.faq-header {
  text-align: center;
  margin-bottom: 52px;
}

.faq-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.faq-header h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.faq-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

.faq-item:hover {
  border-color: rgba(1, 148, 217, .25);
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--blue);
  box-shadow: 0 6px 22px rgba(1, 148, 217, .14);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  line-height: 1.45;
  transition: color .2s;
}

.faq-q:hover {
  color: var(--blue);
}

.faq-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-lt);
  border: 1px solid rgba(200, 150, 30, .25);
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .3s var(--ease), background .25s, border-color .25s, color .2s;
  line-height: 1;
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-item.open .faq-ico {
  transform: rotate(45deg);
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  padding: 0 24px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* ════════════════════════════════════════════
   CTA BAND
════════════════════════════════════════════ */
.cta-band {
  background: var(--grad-navy-blue);
  border-top: 4px solid var(--gold);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-band>p {
  color: rgba(255, 255, 255, .85);
  font-size: 16px;
  margin-bottom: 36px;
  position: relative;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════ */
.contact-section {
  background: var(--white);
}

.contact-header {
  text-align: center;
  margin-bottom: 52px;
}

.contact-tag {
  display: inline-block;
  background: var(--gold-lt);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(200, 150, 30, .25);
}

.contact-header h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-header > p {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

.contact-trust {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ct-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--section-alt);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}

.ct-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--blue);
  flex-shrink: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: stretch;
}

.contact-info-card,
.contact-form {
  height: 100%;
  box-sizing: border-box;
}

/* ── Left info card ── */
.contact-info-card {
  background: linear-gradient(145deg, var(--navy) 0%, #162e5c 100%);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(1,148,217,.12);
  pointer-events: none;
}

.ci-card-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.ci-card-head h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.ci-card-head p {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

.ci-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 28px;
}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ci-icon {
  width: 40px;
  height: 40px;
  background: rgba(1,148,217,.18);
  border: 1px solid rgba(1,148,217,.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue-bright);
}

.ci-body h4 {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.ci-body p {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  line-height: 1.65;
}

.ci-body a {
  color: var(--blue-bright);
  transition: color .2s;
}

.ci-body a:hover {
  color: #fff;
}

.ci-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,150,30,.15);
  border: 1px solid rgba(200,150,30,.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--gold2);
  font-weight: 500;
}

.ci-card-footer svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold2);
  flex-shrink: 0;
}

/* ── Right form card ── */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 8px 40px rgba(13,27,62,.1);
}

.cf-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.cf-form-icon {
  width: 46px;
  height: 46px;
  background: var(--blue-lt);
  border: 1px solid rgba(1,148,217,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cf-form-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
}

.cf-form-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.cf-form-head p {
  font-size: 12.5px;
  color: var(--muted);
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.cf-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .2px;
}

.cf-group input,
.cf-group select,
.cf-group textarea {
  background: var(--section-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  width: 100%;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(1, 148, 217, .1);
}

.cf-group input::placeholder,
.cf-group textarea::placeholder {
  color: #b0bec5;
}

.cf-group select option {
  background: var(--white);
  color: var(--text);
}

.cf-group textarea {
  min-height: 88px;
  resize: vertical;
}

.cf-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: opacity .2s, transform .15s;
  letter-spacing: .2px;
}

.cf-submit svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  flex-shrink: 0;
}

.cf-submit:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.cf-submit:active {
  transform: translateY(0);
}

.cf-note {
  color: var(--muted);
  font-size: 11.5px;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
  background: var(--navy3);
  padding: 60px 40px 24px;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.9fr .9fr .9fr .9fr 1.4fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

/* Address column */
.fc-address .fa-block {
  margin-bottom: 16px;
}

.fc-address h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: .2px;
}

.fc-address .fa-block p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
}

.fa-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fa-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .68);
}

.fa-contact svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold2);
  flex-shrink: 0;
}

.fa-contact a {
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}

.fa-contact a:hover {
  color: var(--gold2);
}

.fb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.fb-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.fb-logo-circle {
  width: 42px;
  height: 42px;
  background: var(--navy2);
  border-radius: 50%;
  border: 1px solid rgba(200, 146, 26, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold2);
  flex-shrink: 0;
}

.fb-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  white-space: nowrap;
}

.fb-tag {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-top: 2px;
}

.fb-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.75;
  margin-bottom: 10px;
}

.fb-seo {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .28);
  line-height: 1.65;
  margin-bottom: 16px;
}

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .55);
  font-family: Arial, sans-serif;
  transition: all .22s;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.fc h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.fc ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fc ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
  transition: color .2s;
  line-height: 1.4;
}

.fc ul li a:hover {
  color: var(--gold2);
}

.footer-bottom p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .35);
}

.footer-bottom nav a {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .42);
  margin-left: 20px;
  transition: color .2s;
}

.footer-bottom nav a:hover {
  color: rgba(255, 255, 255, .8);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ════════════════════════════════════════════
   FLOATING ACTION BUTTONS
════════════════════════════════════════════ */
.float-stack {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s, box-shadow .25s;
  letter-spacing: .2px;
}

.float-btn svg {
  flex-shrink: 0;
}

.float-btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
}

.float-btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, .6);
}

.float-btn-enroll {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(200, 150, 30, .45);
  position: relative;
  overflow: visible;
}

.float-btn-enroll:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200, 150, 30, .55);
}

.float-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  animation: floatPulse 2.4s ease-out infinite;
}

@keyframes floatPulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .float-pulse { animation: none; }
}

/* footer-bottom colors set above in .fc block */

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

/* ── Tablet landscape ────────────────────── */
@media (max-width: 1200px) {
  .about-grid {
    gap: 48px;
  }
}

/* ── Tablet ──────────────────────────────── */
@media (max-width: 1024px) {
  .nav-menu li>a {
    padding: 6px 7px;
    font-size: 12px;
  }

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

  .about-grid {
    gap: 36px;
  }

  .titbits-panel {
    grid-template-columns: 280px 1fr;
  }

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

  .contact-grid {
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr .9fr .9fr 1.2fr;
    gap: 28px;
  }

  /* Hide the "Academy" links column (3rd .fc child) at tablet to keep footer balanced */
  .footer-grid .fc:nth-of-type(3) {
    display: none;
  }
}

/* ── Mobile ──────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --pad: 0 16px;
  }

  .section-pad     { padding: 40px 0; }
  .section-pad-sm  { padding: 28px 0; }
  .sec-header      { margin-bottom: 32px; }

  /* Topbar */
  .topbar-right { display: none; }
  .topbar { padding: 6px 0; }

  /* Nav */
  .nav-inner {
    height: 64px;
    padding: 0 16px;
  }

  .nav-logo img { height: 52px; }
  .nav-logo-name { font-size: 13px; }
  .nav-logo-tag  { font-size: 8px; }

  .nav-menu,
  .nav-actions .nav-enroll,
  .nav-actions .founder-img {
    display: none;
  }

  .hamburger { display: flex; }
  .nav-actions { gap: 8px; margin-left: auto; }

  /* Ticker */
  .ticker-badge {
    padding: 5px 16px 5px 12px;
    font-size: 9px;
  }
  .ticker-item { font-size: 12px; padding-right: 48px; }

  /* Hero */
  .hero { height: 380px; }

  .slide-tnpsc .slide-content,
  .slide-upsc  .slide-content {
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 0;
    padding: 0 20px;
  }

  .slide-img-right { display: none; }

  .slide-text { max-width: 100%; }

  .slide-title { font-size: 22px; line-height: 1.3; }
  .slide-sub   { font-size: 13px; margin-bottom: 20px; }

  .slide-btns      { gap: 10px; }
  .slide-btns .btn { font-size: 12px; padding: 10px 18px; }

  .hero-arrow { display: none; }
  .hero-dots  { bottom: 12px; }

  /* Stats */
  .stats { padding: 0; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item { padding: 18px 10px; border-right: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(2)  { border-right: none; }
  .stat-item:nth-child(3)  { border-top: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(4)  { border-top: 1px solid rgba(255,255,255,.08); border-right: none; }

  .stat-num   { font-size: 30px; }
  .stat-label { font-size: 10px; letter-spacing: 1px; }

  /* Courses */
  .courses-grid { grid-template-columns: 1fr; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-img-box { aspect-ratio: 16/10; }

  .about-badge {
    bottom: -12px;
    right: -8px;
    padding: 12px 16px;
  }

  .badge-num   { font-size: 26px; }
  .badge-label { font-size: 9px; }

  .checklist { padding: 14px 14px; }

  /* Achievers */
  .achievers { padding: 40px 0 12px; }
  .achievers-header { padding: 0 16px; margin-bottom: 32px; }
  .topper-card { width: 140px; padding: 20px 14px 16px; }
  .t-avatar { width: 58px; height: 58px; font-size: 15px; }

  /* Current Affairs */
  .titbits-panel { grid-template-columns: 1fr; }

  .tp-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 24px 20px;
  }

  .tp-right   { max-height: 260px; }
  .ca-bottom  { grid-template-columns: 1fr; }

  /* Testimonials */
  .tst-grid { grid-template-columns: 1fr; }
  .tst-card::before { font-size: 56px; }

  /* FAQ */
  .faq-list   { gap: 8px; }
  .faq-q      { padding: 16px 18px; font-size: 14px; }
  .faq-item.open .faq-a { padding: 0 18px 16px; font-size: 13.5px; }

  /* CTA */
  .cta-band { padding: 48px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Contact */
  .contact-header { margin-bottom: 36px; }

  .contact-trust { gap: 8px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-info-card { padding: 28px 22px; }

  .contact-form { padding: 24px 20px; }

  .cf-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-grid > div:first-child { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-bottom nav a:first-child { margin-left: 0; }

  /* Float buttons */
  .float-btn { padding: 11px 18px; font-size: 13px; gap: 8px; }
}

/* ── Small mobile ────────────────────────── */
@media (max-width: 480px) {
  :root { --pad: 0 14px; }

  .section-pad    { padding: 32px 0; }
  .section-pad-sm { padding: 24px 0; }
  .sec-header     { margin-bottom: 24px; }

  .about-title { white-space: normal; font-size: 18px; }

  /* Nav */
  .nav-inner    { height: 60px; }
  .nav-logo img { height: 46px; }
  .nav-logo-name { font-size: 12px; letter-spacing: 0; }

  /* Hero */
  .hero { height: 320px; }

  .slide-title { font-size: 19px; }
  .slide-sub   { font-size: 12px; display: none; }

  .slide-btns .btn { font-size: 12px; padding: 9px 16px; }

  /* Stats */
  .stat-num   { font-size: 26px; }
  .stat-label { font-size: 9px; letter-spacing: .8px; }

  /* Course cards */
  .cc-header { padding: 22px 18px 18px; }
  .cc-body   { padding: 18px; }
  .cc-footer { padding: 12px 18px 16px; }

  /* About */
  .about-badge { display: none; }

  /* Achievers */
  .topper-card { width: 130px; padding: 16px 12px; }
  .t-avatar    { width: 52px; height: 52px; }

  /* Testimonials */
  .tst-card { padding: 24px 18px 20px; }

  /* CTA */
  .cta-band { padding: 36px 14px; }

  /* Contact */
  .contact-info-card { padding: 22px 16px; }
  .contact-form { padding: 20px 16px; }
  .ct-item { font-size: 11.5px; padding: 6px 12px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid > div:first-child { grid-column: unset; }

  .site-footer { padding: 40px 16px 20px; }

  .footer-bottom { padding-top: 16px; }

  /* Float buttons */
  .float-stack  { bottom: 14px; right: 12px; gap: 8px; }
  .float-btn    { padding: 10px 14px; font-size: 12px; gap: 6px; }
  .float-btn svg { width: 15px; height: 15px; }
}

/* ════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════ */

/* ── Page Hero (banner) ── */
.page-hero {
  position: relative;
  padding: 46px 0 54px;
  background: var(--grad-navy-blue);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(1, 148, 217, .28) 0%, transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(200, 150, 30, .18) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

.page-hero-inner {
  text-align: center;
  position: relative;
}

/* Split layout — text on left, image on right (used on about-us hero) */
.page-hero-split {
  padding: 56px 0 64px;
}

.page-hero-inner-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.page-hero-text {
  flex: 1;
  min-width: 0;
  max-width: 620px;
}

.page-hero-text .page-hero-title,
.page-hero-text .page-hero-sub {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.page-hero-img {
  flex-shrink: 0;
  width: 44%;
  max-width: 460px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(200, 150, 30, .35);
  box-shadow: -12px 0 40px rgba(0, 0, 0, .35);
  position: relative;
}

.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.page-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7, 17, 31, .28) 0%, rgba(7, 17, 31, 0) 40%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .page-hero-split { padding: 38px 0 44px; }
  .page-hero-inner-split {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 24px;
  }
  .page-hero-text { max-width: none; }
  .page-hero-text .page-hero-title,
  .page-hero-text .page-hero-sub { margin-left: auto; margin-right: auto; }
  .page-hero-text .page-hero-sub { max-width: 720px; }
  .page-hero-img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 480px) {
  .page-hero-split  { padding: 26px 0 32px; }
  .page-hero-img    { max-width: 320px; aspect-ratio: 4 / 3; }
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}

.breadcrumb a {
  color: rgba(255,255,255,.78);
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--gold2);
}

.bc-sep {
  color: rgba(255,255,255,.4);
  font-size: 14px;
}

.bc-current {
  color: var(--gold2);
  font-weight: 600;
}

.eyebrow-light {
  background: rgba(200, 150, 30, .15) !important;
  border-color: rgba(200, 150, 30, .35) !important;
  color: var(--gold2) !important;
}

.page-hero-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.5px;
  color: #fff;
  margin: 6px auto 12px;
  max-width: 820px;
}

.page-hero-sub {
  font-size: clamp(13.5px, 1.4vw, 15.5px);
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Bio sections (Founder / Lingaraj) ── */
.bio-section {
  position: relative;
}

.bio-light {
  background: var(--white);
}

.bio-alt {
  background: var(--section-alt);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.bio-grid-rev {
  grid-template-columns: 1.2fr 1fr;
}

.bio-img-wrap {
  position: relative;
  isolation: isolate;
}

.bio-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: 100px; height: 100px;
  border: 3px solid var(--gold);
  border-right: 0; border-bottom: 0;
  border-top-left-radius: var(--radius-lg);
  z-index: -1;
}

.bio-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 100px; height: 100px;
  border: 3px solid var(--blue);
  border-left: 0; border-top: 0;
  border-bottom-right-radius: var(--radius-lg);
  z-index: -1;
}

.bio-img-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--grad-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.bio-img-frame-alt {
  background: var(--grad-navy-blue);
}

.bio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.bio-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  font-weight: 800;
  color: rgba(200, 150, 30, .35);
  letter-spacing: 4px;
}

.bio-img-badge {
  position: absolute;
  bottom: 24px; left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
}

.bio-img-badge-alt {
  left: auto; right: -24px;
  bottom: 24px;
}

.bio-img-badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.bio-img-badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.bgnum {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.3px;
}

.bglbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 2px;
}

.bio-text {
  display: flex;
  flex-direction: column;
}

.bio-name {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.bio-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .3px;
  margin-bottom: 18px;
}

.bio-divider {
  width: 56px;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin-bottom: 22px;
}

.bio-lead {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 16px;
}

.bio-lead strong {
  color: var(--navy);
  font-weight: 700;
}

.bio-text p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

.bio-text p strong {
  color: var(--navy);
  font-weight: 700;
}

.bio-text em {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

/* ── Inspiration quote band ── */
.quote-band {
  background: var(--navy3);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 150, 30, .12) 0%, transparent 55%);
  pointer-events: none;
}

.quote-band-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(200, 150, 30, .12);
  border: 1px solid rgba(200, 150, 30, .35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.quote-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold2);
}

.quote-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 22px;
}

.quote-text {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
  font-style: italic;
  margin-bottom: 22px;
  position: relative;
}

.quote-text-sm {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 400;
  color: rgba(255, 255, 255, .65);
  font-style: italic;
  margin-bottom: 0;
}

/* ── Vision & Mission ── */
.vm-section {
  background: var(--white);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-blue);
}

.vm-card-mission::before {
  background: var(--grad-gold);
}

.vm-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 148, 217, .08) 0%, transparent 70%);
  pointer-events: none;
}

.vm-card-mission::after {
  background: radial-gradient(circle, rgba(200, 150, 30, .1) 0%, transparent 70%);
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 148, 217, .25);
}

.vm-card-mission:hover {
  border-color: rgba(200, 150, 30, .3);
}

.vm-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-lt);
  border: 1px solid rgba(1, 148, 217, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.vm-card-mission .vm-icon {
  background: var(--gold-lt);
  border-color: rgba(200, 150, 30, .25);
}

.vm-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
}

.vm-card-mission .vm-icon svg {
  stroke: var(--gold);
}

.vm-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.vm-card-vision .vm-label {
  color: var(--blue);
}

.vm-quote {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
  font-weight: 500;
}

/* ── Core Values ── */
.values-section {
  background: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 22px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%; height: 3px;
  background: var(--grad-gold);
  border-radius: 2px;
  transition: transform .35s var(--ease);
  transform-origin: center;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 150, 30, .3);
}

.value-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.value-num {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 36px;
  font-weight: 800;
  color: rgba(200, 150, 30, .12);
  line-height: 1;
  letter-spacing: -1px;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-lt);
  border: 1px solid rgba(200, 150, 30, .25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.value-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
}

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -.2px;
}

.value-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Our Promise ── */
.promise-section {
  background: var(--white);
  padding: 64px 0 96px;
}

.promise-card {
  background: var(--grad-navy);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 27, 62, .22);
  border-top: 4px solid var(--gold);
}

.promise-card::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}

.promise-card::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  pointer-events: none;
}

.promise-heading {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  margin: 12px auto 16px;
  letter-spacing: -.3px;
  max-width: 680px;
  line-height: 1.25;
  position: relative;
}

.promise-text {
  font-size: 16px;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 30px;
  position: relative;
}

.promise-text strong {
  color: var(--gold2);
  font-weight: 700;
}

.promise-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

/* ── About page responsive ── */
@media (max-width: 1024px) {
  .bio-grid,
  .bio-grid-rev {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .bio-grid-rev .bio-img-wrap { order: -1; }

  .bio-img-frame {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 4 / 4.4;
  }

  .bio-img-badge { left: 16px; }
  .bio-img-badge-alt { right: 16px; left: auto; }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .value-card:nth-child(4),
  .value-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .page-hero { padding: 34px 0 40px; }
  .page-hero-title { font-size: 22px; }
  .page-hero-sub   { font-size: 13px; }
  .breadcrumb      { font-size: 11.5px; margin-bottom: 8px; }

  .bio-grid,
  .bio-grid-rev {
    gap: 36px;
  }

  .bio-img-frame { max-width: 340px; aspect-ratio: 4 / 4.4; }
  .bio-img-badge {
    bottom: 16px;
    left: 12px !important;
    right: auto !important;
    padding: 10px 14px;
  }
  .bio-img-badge svg { width: 22px; height: 22px; }
  .bgnum { font-size: 15px; }
  .bglbl { font-size: 9px; letter-spacing: 1px; }

  .bio-img-wrap::before,
  .bio-img-wrap::after { width: 60px; height: 60px; }

  .bio-name { font-size: 24px; }
  .bio-lead { font-size: 15px; }
  .bio-text p { font-size: 14px; }

  .quote-band { padding: 44px 0; }
  .quote-text { font-size: 17px; }
  .quote-text-sm { font-size: 13.5px; }

  .vm-grid { grid-template-columns: 1fr; gap: 20px; }
  .vm-card { padding: 32px 26px; }

  .values-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .value-card  { padding: 24px 16px 22px; }
  .value-num   { font-size: 28px; top: 10px; right: 14px; }

  .promise-section { padding: 48px 0 64px; }
  .promise-card    { padding: 40px 24px; border-radius: var(--radius-lg); }
  .promise-actions { flex-direction: column; align-items: stretch; }
  .promise-actions .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .page-hero       { padding: 26px 0 34px; }
  .page-hero-title { font-size: 19px; }

  .bio-img-frame { max-width: 100%; }
  .bio-img-wrap::before,
  .bio-img-wrap::after { display: none; }

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

/* ════════════════════════════════════════════
   GALLERY PAGE
════════════════════════════════════════════ */
.gallery-section {
  background: var(--white);
}

.gallery-masonry {
  column-count: 4;
  column-gap: 16px;
}

.g-item {
  break-inside: avoid;
  margin: 0 0 16px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--section-alt);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.g-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s var(--ease);
}

.g-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.g-item:hover img {
  transform: scale(1.04);
}

.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
  background: linear-gradient(to top, rgba(7, 17, 31, .92) 0%, rgba(7, 17, 31, .65) 60%, transparent 100%);
  opacity: 0;
  transform: translateY(20%);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}

.g-item:hover figcaption,
.g-item:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .gallery-masonry { column-count: 3; }
}

@media (max-width: 768px) {
  .gallery-masonry { column-count: 2; column-gap: 10px; }
  .g-item          { margin-bottom: 10px; }
  .g-item figcaption {
    opacity: 1;
    transform: translateY(0);
    padding: 18px 12px 10px;
    font-size: 11.5px;
  }
}

@media (max-width: 420px) {
  .gallery-masonry { column-count: 1; }
}

/* ════════════════════════════════════════════
   PRESS PAGE
════════════════════════════════════════════ */
.press-section {
  background: var(--section-alt);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex;
  flex-direction: column;
}

.p-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--section-alt);
  transition: transform .45s var(--ease);
}

.p-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 148, 217, .3);
}

.p-item:hover img {
  transform: scale(1.03);
}

.p-item figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  border-top: 1px solid var(--border-soft);
  background: var(--white);
}

.p-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  background: var(--gold-lt);
  color: var(--gold);
  border: 1px solid rgba(200, 150, 30, .25);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .5px;
}

@media (max-width: 1024px) {
  .press-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 720px) {
  .press-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-item figcaption { font-size: 11px; padding: 10px 12px; }
}

@media (max-width: 420px) {
  .press-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════
   LIGHTBOX (shared by gallery + press)
════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 17, 31, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
  padding: 40px 56px;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s var(--ease), visibility 0s linear 0s;
}

.lb-frame {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0;
}

.lb-frame img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  background: #000;
}

.lb-frame figcaption {
  margin-top: 16px;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  max-width: 720px;
  line-height: 1.6;
  padding: 0 16px;
}

.lb-counter {
  display: inline-block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1;
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s;
  z-index: 2;
}

.lb-close { top: 22px; right: 22px; }
.lb-prev  { top: 50%; left: 22px;  transform: translateY(-50%); font-size: 28px; }
.lb-next  { top: 50%; right: 22px; transform: translateY(-50%); font-size: 28px; }

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }

body.lb-locked { overflow: hidden; }

@media (max-width: 768px) {
  .lightbox { padding: 16px; }
  .lb-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 18px; }
  .lb-prev  { left: 8px; width: 38px; height: 38px; font-size: 22px; }
  .lb-next  { right: 8px; width: 38px; height: 38px; font-size: 22px; }
  .lb-frame img { max-height: calc(100vh - 110px); }
  .lb-frame figcaption { font-size: 12.5px; padding: 0 8px; }
}

/* Dropdown ".active" styling for current section */
.dropdown a.active {
  background: var(--blue-lt);
  color: var(--blue);
  font-weight: 600;
}

/* ════════════════════════════════════════════
   UPSC + UPSC SYLLABUS PAGES
════════════════════════════════════════════ */
.upsc-section { background: var(--white); }
.upsc-alt     { background: var(--section-alt); }

.upsc-hd {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 28px;
}

.upsc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--grad-navy);
  color: var(--gold2);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .5px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.upsc-hd .section-title {
  margin-bottom: 0;
  margin-top: 4px;
}

.upsc-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 16px;
  letter-spacing: -.2px;
}

.upsc-prose,
.upsc-prose-p {
  max-width: 820px;
}

.upsc-prose p,
.upsc-prose-p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}

.upsc-prose p strong,
.upsc-prose-p strong {
  color: var(--navy);
  font-weight: 700;
}

.upsc-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 12px;
}

/* Services pill row */
.upsc-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.us-pill {
  display: inline-flex;
  align-items: center;
  background: var(--gold-lt);
  color: var(--gold);
  border: 1px solid rgba(200, 150, 30, .25);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.us-more {
  background: var(--blue-lt);
  color: var(--blue);
  border-color: rgba(1, 148, 217, .25);
}

a.us-more {
  text-decoration: none;
  cursor: pointer;
  gap: 4px;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}

a.us-more:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-blue);
}

/* Checklist with green/gold ticks */
.upsc-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 8px;
  list-style: none;
  padding: 0;
  max-width: 820px;
}

.upsc-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.upsc-checklist li svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.upsc-checklist li strong { color: var(--navy); font-weight: 700; }

/* Table */
.upsc-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 8px 0;
}

.upsc-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
  min-width: 540px;
}

.upsc-table thead {
  background: var(--grad-navy);
}

.upsc-table th {
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
}

.upsc-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--text);
  vertical-align: middle;
}

.upsc-table tbody tr:nth-child(even) { background: var(--section-alt); }
.upsc-table tbody tr:hover { background: rgba(200, 150, 30, .06); }

.upsc-table-2col th,
.upsc-table-2col td { text-align: left; }
.upsc-table-2col td:last-child { font-weight: 700; color: var(--navy); }

.upsc-table em {
  font-style: italic;
  color: var(--gold);
  font-weight: 600;
}

.upsc-q { color: var(--blue); }

/* Stage cards (Three Stages) */
.stages-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 32px;
}

.stage-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.stage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-blue);
}

.stage-card.stage-2::before { background: var(--grad-gold); }
.stage-card.stage-3::before { background: linear-gradient(135deg, #C8961E 0%, #0194D9 100%); }

.stage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1, 148, 217, .3);
}

.stage-num {
  display: inline-block;
  background: var(--gold-lt);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 150, 30, .25);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.stage-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.25;
}

.stage-type {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: .4px;
  margin-bottom: 12px;
}

.stage-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.stage-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .4px;
  transition: color .2s;
}

.stage-link:hover { color: var(--gold); }

.stage-divider {
  align-self: center;
  font-size: 24px;
  color: var(--gold);
  font-weight: 800;
}

/* Interview traits */
.interview-traits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.trait {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.trait:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(1, 148, 217, .25);
}

.trait svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue);
  margin-bottom: 8px;
}

.trait span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* Marks summary (Final result section) */
.marks-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 8px;
}

.marks-card {
  background: var(--white);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  text-align: center;
  min-width: 160px;
  box-shadow: var(--shadow-sm);
}

.marks-card .marks-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
}

.marks-card .marks-lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.marks-card.marks-total {
  background: var(--grad-navy);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.marks-card.marks-total .marks-num { color: var(--gold2); }
.marks-card.marks-total .marks-lbl { color: rgba(255,255,255,.6); }

.marks-plus {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}

/* Why-Choose card */
.why-card {
  background: var(--grad-navy);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--gold);
  box-shadow: 0 24px 60px rgba(13, 27, 62, .22);
  text-align: center;
}

.why-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,30,.16) 0%, transparent 70%);
  pointer-events: none;
}

.why-card .eyebrow-light {
  margin-bottom: 14px;
}

.why-heading {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -.3px;
}

.why-lead {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 36px;
}

.why-lead strong { color: var(--gold2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
  text-align: left;
}

.why-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: background .25s, border-color .25s, transform .25s;
}

.why-item:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(200,150,30,.4);
  transform: translateY(-3px);
}

.why-ico {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: rgba(200,150,30,.18);
  border: 1px solid rgba(200,150,30,.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.why-ico svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold2);
}

.why-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
}

.why-tagline {
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  color: var(--gold2);
  margin: 0;
}

/* ════════════════════════════════════════════
   ANNOUNCEMENT MODAL (auto-opens on home page load)
════════════════════════════════════════════ */
.announce-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
  padding: 20px;
}

.announce-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s var(--ease), visibility 0s linear 0s;
}

.announce-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.announce-dialog {
  position: relative;
  width: auto;
  max-width: min(92vw, 960px);
  max-height: calc(100vh - 40px);
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transform: scale(.94) translateY(8px);
  transition: transform .35s var(--ease);
  border-top: 4px solid var(--gold);
}

.announce-modal.open .announce-dialog {
  transform: scale(1) translateY(0);
}

.announce-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(7, 17, 31, .85);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: inherit;
  transition: background .2s, transform .25s;
}

.announce-close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(90deg);
}

.announce-slider {
  position: relative;
  overflow: hidden;
}

.announce-track {
  display: flex;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.announce-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  background: var(--section-alt);
}

.announce-slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.announce-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  background: var(--grad-navy-blue);
  color: #fff;
  gap: 14px;
}

.af-badge {
  display: inline-block;
  background: rgba(200, 150, 30, .18);
  border: 1px solid rgba(200, 150, 30, .35);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.announce-fallback h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.3px;
  color: #fff;
  margin: 0;
  max-width: 480px;
}

.announce-fallback p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
  max-width: 480px;
  margin: 0;
}

.af-cta {
  display: inline-block;
  background: var(--grad-gold);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}

.announce-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .6);
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: inherit;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .25);
  transition: background .2s, color .2s, transform .15s;
  backdrop-filter: blur(6px);
}

.announce-arrow:hover {
  background: var(--gold);
  color: var(--navy);
}

.announce-prev { left: 14px; }
.announce-next { right: 14px; }

.announce-prev:hover { transform: translateY(-50%) translateX(-2px); }
.announce-next:hover { transform: translateY(-50%) translateX(2px); }

.announce-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  background: rgba(7, 17, 31, .55);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.announce-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s;
}

.announce-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

body.announce-locked { overflow: hidden; }

@media (max-width: 600px) {
  .announce-modal       { padding: 14px; }
  .announce-dialog      { width: 100%; max-width: calc(100vw - 28px); max-height: calc(100vh - 28px); }
  .announce-close       { width: 32px; height: 32px; font-size: 20px; top: 10px; right: 10px; }
  .announce-arrow       { width: 36px; height: 36px; font-size: 18px; }
  .announce-prev        { left: 8px; }
  .announce-next        { right: 8px; }
  .announce-fallback    { padding: 28px 22px; gap: 10px; }
  .announce-fallback h2 { font-size: 20px; }
  .announce-fallback p  { font-size: 13px; }
  .af-cta               { padding: 10px 20px; font-size: 12.5px; }
  .announce-slide img   { width: 100%; max-height: calc(100vh - 110px); }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track { transition: none; }
}

/* ── Titbit Detail Page (titbit-detail.html) ── */
.td-section { background: var(--white); }

.td-card {
  max-width: 820px;
  margin: 0 auto 56px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.td-card-head {
  padding: 36px 36px 24px;
  background: var(--section-alt);
  border-bottom: 1px solid var(--border-soft);
}

.td-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.td-subject {
  display: inline-block;
  background: var(--gold-lt);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 150, 30, .25);
}

.td-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.td-date svg { width: 14px; height: 14px; stroke: var(--muted); }

.td-lang {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(1, 148, 217, .2);
}

.td-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -.3px;
  margin: 0;
}

.td-body {
  padding: 28px 36px 32px;
}

.td-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}

.td-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--white) 100%);
  border: 1px solid rgba(200, 150, 30, .25);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 30px;
}

.td-callout svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.td-callout strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.td-callout p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.td-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.td-actions .btn svg { width: 16px; height: 16px; }

/* Error state */
.td-error {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--section-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
}

.td-error svg {
  width: 56px;
  height: 56px;
  stroke: var(--muted);
  margin-bottom: 16px;
  opacity: .6;
}

.td-error h2 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}

.td-error p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.td-error .td-actions { justify-content: center; }

/* Related */
.td-related {
  max-width: 820px;
  margin: 0 auto;
}

.td-related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 700px) {
  .td-card        { margin-bottom: 36px; }
  .td-card-head   { padding: 24px 22px 18px; }
  .td-body        { padding: 22px 22px 26px; }
  .td-lead        { font-size: 15px; }
  .td-callout     { padding: 14px 16px; gap: 12px; }
  .td-actions     { flex-direction: column; }
  .td-actions .btn { width: 100%; justify-content: center; }
}

/* ── Titbits archive panel (titbits.html — light theme) ── */
.titbits-page-section { background: var(--white); }

.titbits-archive-panel {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tp-archive-head {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--section-alt);
}

.tp-archive-head .tp-label {
  margin-bottom: 10px;
  color: var(--gold);
}

.tp-archive-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.tp-archive-title em {
  color: var(--gold);
  font-style: normal;
}

.tp-archive-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  max-height: 720px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  background: var(--section-alt);
}

.tp-archive-list::-webkit-scrollbar      { width: 8px; }
.tp-archive-list::-webkit-scrollbar-track{ background: transparent; }
.tp-archive-list::-webkit-scrollbar-thumb{
  background: var(--border);
  border-radius: 4px;
}

.tp-archive-list .tp-news-link,
.td-related-list .tp-news-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s, background .2s;
  flex-shrink: 0;
  text-decoration: none;
}

.tp-archive-list .tp-news-link:hover,
.td-related-list .tp-news-link:hover {
  background: var(--white);
  border-color: rgba(1, 148, 217, .3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.tp-archive-list .tp-news-link.is-hidden { display: none; }

.tp-archive-list .tp-news-link .tp-badge,
.td-related-list .tp-news-link .tp-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
  min-width: 78px;
  text-align: center;
  background: var(--blue-lt);
  color: var(--blue);
  border: 1px solid rgba(1, 148, 217, .2);
}

.tp-archive-list .tp-news-link .tp-badge.badge-tamil,
.td-related-list .tp-news-link .tp-badge.badge-tamil {
  background: var(--gold-lt);
  color: var(--gold);
  border-color: rgba(200, 150, 30, .25);
}

.tp-archive-list .tp-news-link .tp-news-text,
.td-related-list .tp-news-link .tp-news-text {
  flex: 1;
  min-width: 0;
}

.tp-archive-list .tp-news-link h5,
.td-related-list .tp-news-link h5 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 4px;
  transition: color .2s;
}

.tp-archive-list .tp-news-link:hover,
.td-related-list .tp-news-link:hover h5 {
  color: var(--blue);
}

.tp-archive-list .tp-news-link .tp-cat-tag,
.td-related-list .tp-news-link .tp-cat-tag {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .3px;
}

@media (max-width: 768px) {
  .tp-archive-head    { padding: 18px 16px 14px; }
  .tp-archive-title   { font-size: 14.5px; }
  .tp-archive-list .tp-news-link       { padding: 12px 16px; gap: 10px; }
  .tp-archive-list .tp-news-link .tp-badge { min-width: 68px; font-size: 9px; padding: 3px 7px; }
  .tp-archive-list .tp-news-link h5    { font-size: 13px; }
  .tp-archive-list .tp-news-link .tp-cat-tag { font-size: 10px; }
  .tp-archive-list    { max-height: 600px; }
}

/* ── Titbits feed (titbits.html) ── */
.titbits-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.tb-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}

.tb-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--grad-gold);
}

.tb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(200, 150, 30, .3);
}

.tb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.tb-cat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 150, 30, .25);
  background: var(--gold-lt);
  color: var(--gold);
}

.tb-cat-econ { background: rgba(1,148,217,.10); color: var(--blue); border-color: rgba(1,148,217,.25); }
.tb-cat-env  { background: rgba(34,139,87,.10); color: #228B57; border-color: rgba(34,139,87,.25); }
.tb-cat-intl { background: rgba(120,80,200,.10); color: #6650a8; border-color: rgba(120,80,200,.25); }
.tb-cat-pol  { background: rgba(200,150,30,.12); color: var(--gold); border-color: rgba(200,150,30,.25); }
.tb-cat-sci  { background: rgba(217,1,148,.10); color: #d10193; border-color: rgba(217,1,148,.25); }
.tb-cat-tn   { background: rgba(13,27,62,.08); color: var(--navy); border-color: rgba(13,27,62,.2); }

.tb-card-date {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.tb-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -.1px;
}

.tb-card p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 14px;
}

.tb-card p strong {
  color: var(--blue);
  font-weight: 700;
}

.tb-card-foot {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.tb-tag {
  display: inline-block;
  background: var(--section-alt);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .titbits-feed { grid-template-columns: 1fr; gap: 14px; }
  .tb-card      { padding: 18px 18px 14px; }
  .tb-card h3   { font-size: 14.5px; }
  .tb-card p    { font-size: 13px; }
}

/* ── Feature grid (Course pages) ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.feat-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(1, 148, 217, .25);
}

.feat-ico {
  width: 44px;
  height: 44px;
  background: var(--blue-lt);
  border: 1px solid rgba(1, 148, 217, .25);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feat-ico svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
}

.feat-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -.1px;
}

.feat-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Roadmap (Phase-wise course structure) ── */
.roadmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 12px;
  position: relative;
}

.rm-step {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.rm-step:nth-child(2) { border-top-color: #4dabf7; }
.rm-step:nth-child(3) { border-top-color: var(--gold); }
.rm-step:nth-child(4) { border-top-color: #d97706; }
.rm-step:nth-child(5) { border-top-color: var(--navy); }

.rm-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.rm-num {
  display: inline-block;
  background: var(--gold-lt);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  border: 1px solid rgba(200, 150, 30, .25);
}

.rm-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.25;
}

.rm-time {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.rm-step p:not(.rm-time) {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Batch cards ── */
.batch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
}

.batch-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex;
  flex-direction: column;
}

.batch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1, 148, 217, .3);
}

.batch-card-popular {
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(200, 150, 30, .18);
}

.batch-popular-pin {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--grad-gold);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.batch-tag {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.batch-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.batch-info {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.batch-info li {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.batch-info li strong {
  color: var(--navy);
  font-weight: 600;
  margin-right: 4px;
}

.batch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  margin-top: auto;
}

.batch-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

/* Course Programmes */
.prog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 18px;
}

.prog-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.prog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Header band */
.prog-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 32px;
  background: var(--grad-navy);
  overflow: hidden;
}

.prog-head::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -70px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(1, 148, 217, .38), transparent 70%);
  pointer-events: none;
}

.prog-no {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-gold);
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  border-radius: 15px;
  box-shadow: var(--shadow-glow-gold);
}

.prog-head-main {
  position: relative;
  flex: 1;
  min-width: 0;
}

.prog-head-main h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

.prog-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}

.prog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 13px;
}

.prog-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.prog-pill-dur {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.prog-pill-fee {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: var(--shadow-xs);
}

/* Body */
.prog-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  padding: 22px 32px 0;
}

.prog-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
  padding: 24px 32px;
}

.prog-block-wide {
  grid-column: 1 / -1;
}

.prog-block {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 17px 19px;
  transition: border-color .25s, box-shadow .25s;
}

.prog-block:hover {
  border-color: rgba(1, 148, 217, .28);
  box-shadow: var(--shadow-xs);
}

.prog-block h4 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border);
}

.prog-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.prog-ul li {
  position: relative;
  padding-left: 25px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
}

.prog-ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--blue-lt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230194D9' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.prog-p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 8px;
}

.prog-p:last-child {
  margin-bottom: 0;
}

.prog-p + .prog-ul {
  margin-bottom: 8px;
}

.prog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--grad-navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform .15s, box-shadow .25s;
  margin: 0 32px 28px;
}

.prog-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

@media (max-width: 600px) {
  .prog-head { padding: 18px 18px; gap: 14px; }
  .prog-no { width: 44px; height: 44px; font-size: 19px; border-radius: 13px; }
  .prog-head-main h3 { font-size: 17px; }
  .prog-intro { padding: 18px 18px 0; }
  .prog-body { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .prog-btn { margin: 0 18px 20px; }
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .roadmap      { grid-template-columns: repeat(2, 1fr); }
  .batch-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feat-card    { padding: 18px 16px 16px; }
  .feat-card h3 { font-size: 13.5px; }
  .feat-card p  { font-size: 12.5px; }
  .roadmap      { grid-template-columns: 1fr; gap: 12px; }
  .batch-grid   { grid-template-columns: 1fr; }
}

/* ── Syllabus page additions ── */
.syl-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 10px;
  background: var(--section-alt);
  border-radius: var(--radius-pill);
  justify-content: center;
}

.syl-tab {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  color: var(--navy);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}

.syl-tab:hover {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-xs);
}

.syl-block {
  padding-top: 24px;
  scroll-margin-top: 100px;
}

.syl-block + .syl-block {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.syl-paper {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
  transition: border-color .25s, box-shadow .25s;
}

.syl-paper:hover {
  border-color: rgba(1, 148, 217, .25);
  box-shadow: var(--shadow-sm);
}

.syl-paper > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--border);
}

.syl-paper-tag {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.syl-paper-tag-q {
  background: var(--gold-lt);
  color: var(--gold);
}

.syl-paper h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.syl-marks {
  text-align: right;
  flex-shrink: 0;
  line-height: 1.2;
}

.syl-marks strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -.5px;
  display: block;
}

.syl-marks span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.syl-marks em {
  display: block;
  font-size: 11px;
  color: var(--blue);
  font-style: normal;
  font-weight: 600;
  margin-top: 6px;
}

.syl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.syl-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.syl-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.syl-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

/* Optional subjects grid */
.optionals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.opt-col {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border-top: 3px solid var(--blue);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.opt-col:hover {
  border-top-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.opt-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}

.opt-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.opt-col li {
  font-size: 13.5px;
  color: var(--text);
  padding-left: 14px;
  position: relative;
}

.opt-col li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
  .stages-grid       { grid-template-columns: 1fr; gap: 14px; }
  .stage-divider     { display: none; }
  .interview-traits  { grid-template-columns: repeat(3, 1fr); }
  .why-grid          { grid-template-columns: 1fr 1fr; }
  .optionals-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .upsc-hd           { gap: 14px; }
  .upsc-num          { width: 44px; height: 44px; font-size: 15px; }
  .upsc-checklist li { font-size: 13.5px; padding: 10px 14px; }
  .upsc-table        { font-size: 12.5px; min-width: 440px; }
  .upsc-table th, .upsc-table td { padding: 10px 12px; }
  .interview-traits  { grid-template-columns: 1fr 1fr; }
  .marks-card        { min-width: 130px; padding: 16px 22px; }
  .marks-card .marks-num { font-size: 28px; }
  .why-card          { padding: 36px 22px; }
  .why-grid          { grid-template-columns: 1fr; gap: 14px; }
  .syl-paper > header{ flex-direction: column; align-items: flex-start; gap: 10px; }
  .syl-marks         { text-align: left; }
  .optionals-grid    { grid-template-columns: 1fr; }
  .syl-tabs          { padding: 8px; gap: 4px; }
  .syl-tab           { font-size: 12px; padding: 7px 13px; }
}

/* ════════════════════════════════════════════
   CURRENT AFFAIRS PAGE
════════════════════════════════════════════ */
.ca-section { background: var(--white); }

/* Toolbar: search + selects */
.ca-toolbar {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.ca-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 16px 4px 46px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.ca-search-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(1, 148, 217, .12);
}

.ca-search-ico {
  position: absolute;
  left: 16px;
  width: 18px; height: 18px;
  stroke: var(--muted);
}

#caSearch {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 0;
  font-size: 14.5px;
  color: var(--text);
  font-family: inherit;
}

#caSearch::placeholder { color: #98a4bd; }

.ca-search-clear {
  background: var(--section-alt);
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s, color .2s;
}

.ca-search-clear:hover { background: var(--border); color: var(--navy); }

.ca-filter-selects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ca-select {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.ca-select > span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 14px;
}

.ca-select select {
  background: var(--section-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 32px 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  font-family: inherit;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235a6a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 1 6 6 11 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color .2s, box-shadow .2s;
}

.ca-select select:focus,
.ca-select input[type="date"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1, 148, 217, .1);
}

.ca-select input[type="date"] {
  background: var(--section-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  box-sizing: border-box;
}

/* Subject chips */
.ca-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--section-alt);
  border: 1.5px solid transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}

.ca-chip:hover {
  background: var(--blue-lt);
  color: var(--blue);
  transform: translateY(-1px);
}

.ca-chip.active {
  background: var(--grad-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.ca-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  background: var(--white);
  color: var(--gold);
  border: 1px solid rgba(200, 150, 30, .25);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  border-radius: var(--radius-pill);
}

.ca-chip.active .ca-chip-count {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: transparent;
}

/* Results bar */
.ca-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--section-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.ca-result-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.ca-result-count svg { width: 16px; height: 16px; stroke: var(--blue); }
.ca-result-count strong { color: var(--navy); font-weight: 800; font-size: 14px; }

.ca-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.ca-reset:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.ca-reset svg { width: 14px; height: 14px; }

/* Cards grid */
.ca-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ca-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}

.ca-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-blue);
}

.ca-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1, 148, 217, .25);
}

.ca-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.ca-card-subject {
  display: inline-block;
  background: var(--gold-lt);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 150, 30, .25);
}

.ca-card-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.ca-card-date svg { width: 13px; height: 13px; stroke: var(--muted); }

.ca-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 14px;
  flex: 1;
  /* clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -.1px;
}

.ca-card-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.ca-tag-exam, .ca-tag-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: .3px;
}

.ca-tag-exam {
  background: rgba(1, 148, 217, .1);
  color: var(--blue);
}

.ca-tag-lang {
  background: var(--section-alt);
  color: var(--text);
}

.ca-tag-exam svg, .ca-tag-lang svg { width: 11px; height: 11px; }

.ca-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--grad-navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
  margin-top: auto;
}

.ca-card-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.ca-card-btn svg { width: 14px; height: 14px; stroke: #fff; }

/* Hidden state */
.ca-card.is-hidden,
.md-card.is-hidden { display: none; }

/* ── Monthly Digest cards ── */
.md-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.md-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}

.md-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
}

.md-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 150, 30, .3);
}

.md-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.md-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.md-title-h {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -.3px;
}

.md-meta {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.md-count-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.md-count-circle strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.md-count-circle span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-top: 4px;
}

.md-details > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-lt);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(1, 148, 217, .2);
  transition: background .2s;
}

.md-details > summary::-webkit-details-marker { display: none; }

.md-details > summary:hover {
  background: var(--gold-lt);
  color: var(--gold);
  border-color: rgba(200, 150, 30, .3);
}

.md-details > summary svg {
  width: 14px;
  height: 14px;
  transition: transform .25s var(--ease);
}

.md-details[open] > summary svg {
  transform: rotate(180deg);
}

.md-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--section-alt);
}

.md-list li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.md-list li a:hover {
  background: var(--white);
  color: var(--blue);
}

.md-date {
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  color: var(--gold);
  background: var(--gold-lt);
  border-radius: 4px;
  padding: 2px 0;
  font-variant-numeric: tabular-nums;
}

.md-title {
  flex: 1;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .md-grid { grid-template-columns: 1fr; gap: 16px; }
  .md-card { padding: 20px 18px 16px; }
  .md-count-circle { width: 60px; height: 60px; }
  .md-count-circle strong { font-size: 19px; }
  .md-title-h { font-size: 17px; }
}

/* Empty state */
.ca-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--section-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ca-empty[hidden] { display: none; }

.ca-empty svg {
  width: 36px;
  height: 36px;
  stroke: var(--muted);
  opacity: .6;
  margin-bottom: 8px;
}

.ca-empty strong {
  color: var(--navy);
  font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .ca-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .ca-toolbar    { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .ca-filter-selects  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .ca-toolbar         { gap: 12px; }
  .ca-chips           { gap: 6px; }
  .ca-chip            { font-size: 12px; padding: 7px 12px; }
  .ca-chip-count      { min-width: 20px; height: 16px; font-size: 9.5px; padding: 0 5px; }
  .ca-cards-grid      { grid-template-columns: 1fr; gap: 14px; }
  .ca-card            { padding: 16px 16px 12px; }
  .ca-card-title      { font-size: 14px; }
  .ca-results-bar     { padding: 12px 14px; }
}

/* ════════════════════════════════════════════
   ACHIEVEMENTS PAGE
════════════════════════════════════════════ */
.ach-hero-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.ahs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  min-width: 130px;
  backdrop-filter: blur(4px);
}

.ahs strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold2);
  letter-spacing: -.5px;
}

.ahs span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ahs-accent {
  background: rgba(200, 150, 30, .15);
  border-color: rgba(200, 150, 30, .4);
}

.ahs-accent strong { color: #fff; }
.ahs-accent span   { color: var(--gold2); }

@media (max-width: 600px) {
  .ach-hero-stats { gap: 8px; }
  .ahs { padding: 10px 14px; min-width: 100px; }
  .ahs strong { font-size: 18px; }
  .ahs span { font-size: 9.5px; letter-spacing: .8px; }
}

/* Category tabs — floating pill anchored above the first photo section */
.ach-tabs-section {
  position: relative;
  z-index: 5;
  padding: 0;
  margin-top: -28px;
  pointer-events: none;
}

.ach-tabs-section .container {
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.ach-tabs {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px;
  box-shadow: 0 14px 36px rgba(13, 27, 62, .14);
  max-width: 100%;
  pointer-events: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ach-tabs::-webkit-scrollbar { display: none; }

.ach-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: nowrap;
}

.ach-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  white-space: nowrap;
}

.ach-tab:hover {
  background: var(--section-alt);
  color: var(--blue);
}

.ach-tab.active {
  background: var(--grad-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.ach-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 20px;
  background: rgba(255, 255, 255, .25);
  color: inherit;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .5px;
  border-radius: var(--radius-pill);
  padding: 0 7px;
}

.ach-tab:not(.active) .ach-tab-count {
  background: var(--white);
  color: var(--gold);
  border: 1px solid rgba(200, 150, 30, .25);
}

@media (max-width: 600px) {
  .ach-tabs-section { margin-top: -22px; }
  .ach-tabs         { padding: 5px; gap: 2px; }
  .ach-tab          { font-size: 11.5px; padding: 7px 12px; gap: 5px; }
  .ach-tab-count    { min-width: 22px; height: 18px; font-size: 9.5px; }
}

@media (max-width: 380px) {
  .ach-tab       { padding: 6px 10px; font-size: 11px; gap: 4px; }
  .ach-tab-label { font-size: 10.5px; }
  .ach-tab-count { min-width: 20px; height: 16px; font-size: 9px; padding: 0 5px; }
}

/* Category section */
.ach-cat-section {
  background: var(--white);
}

.ach-cat-section:nth-of-type(even) {
  background: var(--section-alt);
}

.ach-cat-head {
  text-align: center;
  margin-bottom: 44px;
}

.ach-cat-head .section-sub strong {
  color: var(--gold);
  font-weight: 800;
}

/* Achievers grid */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.ach-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
}

.ach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 150, 30, .35);
}

.ach-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--navy3);
}

.ach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s var(--ease);
}

.ach-card:hover .ach-photo img {
  transform: scale(1.06);
}

.ach-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(7, 17, 31, .35) 100%);
  pointer-events: none;
}

.ach-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--grad-gold);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: .6px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(200, 150, 30, .35);
  z-index: 2;
}

.ach-body {
  padding: 10px 10px 12px;
  text-align: center;
  border-top: 1.5px solid var(--gold-lt);
}

.ach-body h3 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  letter-spacing: -.1px;
  line-height: 1.25;
}

.ach-body p {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .ach-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1024px) {
  .ach-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

@media (max-width: 760px) {
  .ach-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .ach-body { padding: 8px 8px 10px; }
  .ach-body h3 { font-size: 11.5px; }
  .ach-body p  { font-size: 9.5px; letter-spacing: .8px; }
  .ach-badge   { font-size: 8.5px; padding: 3px 7px; top: 6px; left: 6px; letter-spacing: .5px; }
}

@media (max-width: 480px) {
  .ach-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* Hidden state for filter */
.ach-cat-section.is-hidden { display: none; }

/* ════════════════════════════════════════════
   FAQ PAGE
════════════════════════════════════════════ */
.faq-page-section {
  background: var(--white);
}

.faq-search-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 18px 6px 50px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.faq-search-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(1, 148, 217, .12);
}

.faq-search-ico {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--muted);
}

#faqSearch {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 0;
  font-size: 14.5px;
  color: var(--text);
  font-family: inherit;
}

#faqSearch::placeholder {
  color: #98a4bd;
}

.faq-count {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: var(--gold-lt);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 150, 30, .25);
}

.faq-list-full {
  max-width: 880px;
  margin: 0 auto;
}

.faq-empty {
  max-width: 880px;
  margin: 36px auto 0;
  padding: 28px 24px;
  background: var(--section-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 600px) {
  .faq-search-wrap { padding: 4px 14px 4px 44px; }
  .faq-search-ico  { left: 14px; }
  .faq-count       { display: none; }
  #faqSearch       { font-size: 13.5px; padding: 10px 0; }
}

/* ════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════ */
.contact-quick {
  background: var(--section-alt);
  padding: 36px 0 8px;
  position: relative;
  margin-top: -1px;
}

.cq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cq-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px 18px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}

.cq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1, 148, 217, .3);
}

.cq-ico {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--blue-lt);
  border: 1px solid rgba(1, 148, 217, .2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cq-ico svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
}

.cq-ico-wa {
  background: rgba(37, 211, 102, .12);
  border-color: rgba(37, 211, 102, .35);
}

.cq-ico-wa svg {
  width: 22px;
  height: 22px;
  stroke: none;
  fill: #25D366;
}

.cq-body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.cq-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.cq-body strong {
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cq-body small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .cq-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

@media (max-width: 480px) {
  .cq-grid { grid-template-columns: 1fr; }
  .cq-card { padding: 14px 16px; }
}

/* Map section */
.map-section {
  background: var(--white);
  padding: 0 0 80px;
}

.map-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.map-pin {
  position: absolute;
  bottom: 18px;
  right: 58px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}

.map-pin:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.map-pin svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 768px) {
  .map-section { padding: 0 0 56px; }
  .map-wrap    { padding: 0 16px; }
  .map-wrap iframe { height: 320px; border-radius: var(--radius); }
  .map-pin { right: 30px; bottom: 14px; padding: 8px 13px; font-size: 12px; }
}

/* ════════════════════════════════════════════
   PRINT / ACCESSIBILITY
════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
