/* ============================================================
   SAMARTHYA IAS — STYLES
   Light Theme Default · Dark Theme Toggle
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap");

/* ══ LIGHT THEME (Default) ══ */
:root {
  --bg-primary: #fffcf5;
  --bg-secondary: #f4edd9;
  --bg-card: #ffffff;
  --bg-card-alt: #fbf6ec;
  --bg-nav: rgba(255, 252, 245, 0.95);
  --bg-input: rgba(11, 26, 47, 0.04);
  --text-primary: #0b1a2f;
  --text-secondary: #2e4268;
  --text-muted: #6b7a8d;
  --text-subtle: #9aaabb;
  --border: rgba(11, 26, 47, 0.09);
  --border-accent: rgba(232, 132, 26, 0.28);
  --saffron: #e8841a;
  --saffron-light: #fef0dc;
  --gold: #c9a84c;
  --gold-light: #f0cc7a;
  --navy: #0b1a2f;
  --navy-mid: #1e3557;
  --success: #1e9a5e;
  --shadow-sm: 0 2px 8px rgba(11, 26, 47, 0.06);
  --shadow:
    0 2px 12px rgba(11, 26, 47, 0.08), 0 6px 24px rgba(11, 26, 47, 0.06);
  --shadow-lg: 0 16px 48px rgba(11, 26, 47, 0.13);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --ff-display: "Playfair Display", Georgia, serif;
  --ff-body: "DM Sans", sans-serif;
  --ff-hindi: "Noto Sans Devanagari", sans-serif;
}

/* ══ DARK THEME ══ */
[data-theme="dark"] {
  --bg-primary: #0b1a2f;
  --bg-secondary: #152540;
  --bg-card: #152540;
  --bg-card-alt: #1e3557;
  --bg-nav: rgba(11, 26, 47, 0.96);
  --bg-input: rgba(255, 255, 255, 0.05);
  --text-primary: #f8f2e6;
  --text-secondary: #c8d8ea;
  --text-muted: #8fa0b8;
  --text-subtle: #5a7090;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(232, 132, 26, 0.22);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.25), 0 6px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --saffron-light: rgba(232, 132, 26, 0.12);
}

/* ══ RESET ══ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  transition:
    background 0.35s ease,
    color 0.35s ease;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-subtle);
}
html {
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg-secondary);
}

/* Focus-visible — keyboard-only focus ring */
:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}
button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
  border-radius: 4px;
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: none; /* already handled by border-color + box-shadow */
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--saffron);
  border-radius: 3px;
}

/* ══ TOP BAR ══ */
.top-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 24px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.top-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  font-family: var(--ff-body);
}
a.top-bar-item:hover {
  color: var(--gold-light);
}
.top-bar-item svg {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

/* ══ LAYOUT ══ */
.section {
  position: relative;
  z-index: 1;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad {
  padding: 100px 0;
}

/* Alternating section backgrounds for visual rhythm */
.why-us,
.testimonials,
.contact {
  background: var(--bg-secondary);
}
.courses,
.mentors {
  background: var(--bg-primary);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 16px;
}
.section-tag::before {
  content: "";
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-display);
  line-height: 1.2;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.section-title span {
  color: var(--saffron);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}
.btn svg {
  flex-shrink: 0;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 0.92rem;
}
.btn-block {
  width: 100%;
  justify-content: center;
  display: flex;
}
.btn-primary {
  background: linear-gradient(145deg, var(--saffron), #c96e10);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 132, 26, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(145deg, #d6760f, #b06010);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 132, 26, 0.38);
}
.btn-outline {
  background: rgba(232, 132, 26, 0.08);
  color: var(--saffron);
  border: 1.5px solid var(--saffron);
}
.btn-outline:hover {
  background: var(--saffron);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 132, 26, 0.35);
}
.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  background: var(--bg-card-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-dark-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-dark-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

/* ══ THEME TOGGLE ══ */
.theme-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  cursor: pointer;
  gap: 2px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.theme-toggle:hover {
  border-color: var(--saffron);
}
.theme-toggle-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 100px;
  font-size: 0.85rem;
  transition: var(--transition);
  color: var(--text-muted);
}
.theme-toggle-opt.active {
  background: var(--saffron);
  color: #fff;
  box-shadow: 0 2px 8px rgba(232, 132, 26, 0.35);
}

/* ══ NAVBAR ══ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.navbar.scrolled {
  top: 0;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.06);
}
.nav-logo-img--wide {
  width: auto;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, var(--saffron), #c06c0a);
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  font-family: var(--ff-hindi);
  box-shadow:
    0 4px 14px rgba(232, 132, 26, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .hindi {
  font-family: var(--ff-hindi);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--saffron);
}
.nav-logo-text .english {
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links > li {
  position: relative;
}
.nav-links a {
  display: block;
  padding: 7px 13px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 7px;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-card-alt);
}
.nav-links .active > a {
  color: var(--saffron);
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}
.nav-dropdown > a {
  cursor: pointer;
}
.nav-dropdown > a::after {
  content: " ▾";
  font-size: 0.65rem;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -10px;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  z-index: 100;
}
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  border-radius: 7px;
  transition: var(--transition);
}
.dropdown-menu a:hover {
  color: var(--saffron);
  background: var(--saffron-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Nav Buttons — unified look for light & dark backgrounds ── */
.nav-btn {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.nav-btn--filled {
  background: linear-gradient(145deg, var(--saffron), #c96e10);
  color: #fff;
  border: 1.5px solid transparent;
  box-shadow: 0 2px 10px rgba(232, 132, 26, 0.25);
}
.nav-btn--filled:hover {
  background: linear-gradient(145deg, #d6760f, #b06010);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 132, 26, 0.35);
}
.nav-btn--outline {
  background: rgba(232, 132, 26, 0.08);
  color: var(--saffron);
  border: 1.5px solid var(--saffron);
}
.nav-btn--outline:hover {
  background: var(--saffron);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 132, 26, 0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  width: 23px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══ HERO ══ */
/* ── Hero — Mars Explorer inspired layout ── */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  background: var(--bg-primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 55% 60% at 85% 40%,
      rgba(232, 132, 26, 0.06) 0%,
      transparent 65%
    ),
    var(--bg-primary);
  transition: background 0.35s;
}
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(
      ellipse 60% 70% at 80% 40%,
      rgba(232, 132, 26, 0.1) 0%,
      transparent 70%
    ),
    linear-gradient(160deg, #0b1a2f 40%, #1e3557 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 24px 0;
}

/* ── Hero image block ── */
.hero-image-block {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  animation: fadeSlideUp 0.8s both;
}
.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(11, 26, 47, 0.15) 0%,
      rgba(11, 26, 47, 0.65) 100%
    ),
    linear-gradient(90deg, rgba(11, 26, 47, 0.55) 0%, transparent 60%);
}

/* ── Overlay text on image ── */
.hero-overlay-content {
  position: absolute;
  bottom: 80px;
  left: 48px;
  z-index: 3;
  animation: fadeSlideUp 0.9s 0.2s both;
}
.hero-tag-line {
  display: inline-block;
  background: rgba(232, 132, 26, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 132, 26, 0.3);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero-title .highlight {
  color: var(--saffron);
  position: relative;
}
.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), transparent);
  border-radius: 2px;
}

/* ── Floating glassmorphism stat cards — vertical strip ── */
.hero-float-strip {
  position: absolute;
  z-index: 4;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.hero-float-card:hover {
  transform: translateX(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .hero-float-card {
  background: rgba(21, 37, 64, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}
.hero-float-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(232, 132, 26, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-card-text {
  display: flex;
  flex-direction: column;
}
.hero-float-card-text strong {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-float-card-text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* ── Video Modal ── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.video-modal.active {
  opacity: 1;
  visibility: visible;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  z-index: 1;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.video-modal-close:hover {
  color: var(--saffron);
}
.video-modal-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.video-modal-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* ── Curved saffron separator ── */
.hero-curve {
  position: relative;
  z-index: 5;
  display: block;
  width: 100%;
  height: 82px;
  margin-top: -82px; /* overlap full height so curve starts from bottom corners */
  pointer-events: none;
}

/* ── Quote + CTA below image ── */
.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 24px 0 64px;
  animation: fadeSlideUp 0.9s 0.4s both;
}
.hero-quote {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 720px;
  font-style: normal;
}
.hero-quote strong {
  color: var(--text-primary);
  font-weight: 700;
}
[data-theme="dark"] .hero-quote {
  color: var(--text-muted);
}
[data-theme="dark"] .hero-quote strong {
  color: var(--gold-light);
}
.hero-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-subtle);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-shrink: 0;
  animation: fadeSlideUp 0.9s 0.5s both;
}
.hero-cta-main {
  font-size: 0.95rem;
  padding: 15px 36px;
}
.hero-cta-secondary {
  font-size: 0.92rem;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 132, 26, 0.08);
  color: var(--saffron);
  border: 1.5px solid var(--saffron);
}
.hero-cta-secondary:hover {
  background: var(--saffron);
  color: #fff;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mobile-only hero stats (hidden on desktop) ── */
.hero-mobile-stats {
  display: none;
}
.hero-mobile-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.hero-mobile-stat strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
}
.hero-mobile-stat span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 5px;
}

/* ══ TICKER ══ */
.ticker {
  background: linear-gradient(90deg, var(--saffron), #c97a12, var(--saffron));
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.ticker-inner {
  display: inline-flex;
  gap: 0;
  animation: marquee 32s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
}
.ticker-item::after {
  content: "◆";
  font-size: 0.45rem;
  opacity: 0.5;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ══ OUR STARS ══ */
.stars {
  background: var(--bg-primary);
  overflow: hidden;
}
.stars-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* Carousel */
.stars-carousel {
  position: relative;
  padding-bottom: 8px;
}
.stars-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}
.stars-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}
.stars-fade--right {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary) 0%, transparent 100%);
}
.stars-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: starsScroll 50s linear infinite;
}
.stars-track:hover {
  animation-play-state: paused;
}
@keyframes starsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Card */
.star-card {
  flex-shrink: 0;
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  border-color: var(--border-accent);
  /* box-shadow: 0 2px 12px rgba(11,26,47,0.06); */
  box-shadow: 0 4px 20px rgba(232, 132, 26, 0.1);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}
.star-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--border-accent);
}

/* Featured card (AIR 4) */
.star-card--featured {
  border-color: var(--border-accent);
  box-shadow: 0 4px 20px rgba(232, 132, 26, 0.1);
}
.star-card--featured .star-card-photo {
  background: linear-gradient(135deg, #fef0dc, #fddcab);
  background-blend-mode: multiply, normal;
}
.star-card--featured .star-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(232, 132, 26, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.star-card--featured .star-card-rank {
  font-size: 1.5rem;
}

/* Photo area */
.star-card-photo {
  position: relative;
  width: 100%;
  height: 180px;
  background: radial-gradient(
    circle at center,
    rgba(232, 132, 26, 0.08) 0%,
    var(--bg-card-alt) 70%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 0 20px 0;
}
.star-card-photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 3px solid var(--border-accent);
  box-shadow:
    0 0 0 6px rgba(232, 132, 26, 0.08),
    0 6px 20px rgba(11, 26, 47, 0.1);
  transition: all 0.35s ease;
  flex-shrink: 0;
}
.star-card:hover .star-card-photo img {
  box-shadow:
    0 0 0 6px rgba(232, 132, 26, 0.15),
    0 8px 28px rgba(232, 132, 26, 0.12);
  transform: scale(1.05);
}

/* Exam badge at bottom of photo */
.star-card-exam {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  padding: 5px 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Info area */
.star-card-info {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.star-card-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.star-card-course {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: auto;
}
.star-card-rank {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--saffron);
  margin-top: 12px;
  line-height: 1;
}

/* ══ ABOUT ══ */
.about {
  background: var(--bg-secondary);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 420px;
}
.img-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.img-item.tall {
  grid-row: span 2;
}
.img-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}
.img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-item--award {
  background: transparent;
}
.img-item--award img {
  transform: scale(1.08);
  object-position: center center;
}

/* About page — v2 image grid */
.about-img-grid-v2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 160px 140px 160px;
  gap: 10px;
}
.img-cell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}
.reveal.visible .img-cell {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal.visible .img-cell-hero {
  transition-delay: 0s;
}
.reveal.visible .img-cell-top-right {
  transition-delay: 0.12s;
}
.reveal.visible .img-cell-mid {
  transition-delay: 0.24s;
}
.reveal.visible .img-cell-bottom-left {
  transition-delay: 0.36s;
}
.reveal.visible .img-cell-bottom-right {
  transition-delay: 0.48s;
}
.img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.img-cell:hover {
  box-shadow: var(--shadow);
  z-index: 2;
}
.img-cell:hover img {
  transform: scale(1.06);
}

.img-cell-hero {
  grid-row: 1 / 3;
  grid-column: 1;
}
.img-cell-top-right {
  grid-row: 1;
  grid-column: 2;
}
.img-cell-mid {
  grid-row: 2;
  grid-column: 2;
}
.img-cell-bottom-left {
  grid-row: 3;
  grid-column: 1;
}
.img-cell-bottom-right {
  grid-row: 3;
  grid-column: 2;
}

.about-award {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-left: 3px solid var(--saffron);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.award-icon {
  width: 44px;
  height: 44px;
  background: var(--saffron-light);
  border: 1px solid rgba(232, 132, 26, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.award-text strong {
  font-size: 1rem;
  font-family: var(--ff-display);
  color: var(--text-primary);
}
.award-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.about-content {
  padding: 20px 0;
}
.about-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 32px;
}
.about-point {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.about-point:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}
.point-icon {
  width: 38px;
  height: 38px;
  background: var(--saffron-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.point-text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  font-family: var(--ff-body);
}
.point-text p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ══ STATS BANNER ══ */
.stats-banner {
  background: linear-gradient(135deg, #1a3a6d 0%, #2c5282 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-banner::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(232, 132, 26, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: rgba(13, 32, 64, 0.8);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(4px);
}
.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}
.stat-num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-num .plus {
  color: var(--saffron);
}
.stat-label {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8fa0b8;
  margin-top: 10px;
  font-weight: 500;
}

/* ══ WHY US ══ */
.why-us {
  background: var(--bg-primary);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  box-shadow: var(--shadow-sm);
}
.why-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}
.why-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.why-card:hover::after {
  opacity: 1;
}
.why-card-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--ff-display);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  user-select: none;
}
.why-icon {
  width: 56px;
  height: 56px;
  background: var(--saffron-light);
  border: 1px solid rgba(232, 132, 26, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  color: var(--saffron);
}
.why-card:hover .why-icon {
  background: var(--saffron);
  transform: scale(1.04);
  color: #fff;
}
.why-card:hover .why-icon svg {
  stroke: #fff;
}
.why-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-family: var(--ff-body);
  position: relative;
  z-index: 1;
}
.why-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ══ COURSES ══ */
.courses {
  background: var(--bg-secondary);
}
.courses-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 18px;
}
.courses-header .btn-outline {
  display: none;
}

/* ── Course Slider (homepage) ── */
.course-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.course-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 16px;
  flex: 1;
}
.course-slider::-webkit-scrollbar {
  display: none;
}
.course-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.course-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}
.course-slide:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.course-slide:hover::after {
  opacity: 1;
}
.course-slide-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--saffron);
  color: white;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  z-index: 2;
}
.course-slide-badge.popular {
  background: var(--gold);
  color: #0b1a2f;
}
.course-slide-img {
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-card-alt), var(--bg-secondary));
}
.course-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.course-slide-body {
  padding: 22px;
}
.course-slide-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--ff-body);
}
.course-slide-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-slide-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.course-slide-meta span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--saffron);
  background: rgba(232, 132, 26, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
}
.slider-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.slider-arrow:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  box-shadow: var(--shadow);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.slider-dot.active {
  background: var(--saffron);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 1024px) {
  .course-slide {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 768px) {
  .course-slide {
    flex: 0 0 calc(85%);
    min-width: 260px;
  }
  .slider-arrow {
    display: none;
  }
}

/* ── Course card (courses.html detail page, kept for backwards compat) ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.course-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.course-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.course-card:hover::after {
  opacity: 1;
}
.course-card.featured {
  grid-column: span 2;
  flex-direction: row;
}

.course-img {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-card-alt), var(--bg-secondary));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.course-card.featured .course-img {
  width: 300px;
  height: auto;
}
.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.course-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--saffron);
  color: white;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  z-index: 2;
}
.course-badge.popular {
  background: var(--gold);
  color: #0b1a2f;
}
.course-body {
  padding: 26px;
  flex: 1;
}
.course-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--ff-body);
}
.course-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.course-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 22px;
}
.course-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.course-feature::before {
  content: "✓";
  width: 17px;
  height: 17px;
  background: rgba(30, 154, 94, 0.12);
  color: #1e9a5e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  flex-shrink: 0;
}
.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.course-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.course-duration strong {
  color: var(--text-primary);
}

/* ══ MENTORS ══ */
.mentors {
  background: var(--bg-primary);
}
.mentors-intro {
  max-width: 600px;
  margin-bottom: 56px;
}
.mentors-grid {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.mentor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: visible;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  width: 340px;
}
.mentor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.mentor-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.mentor-card:hover::before {
  opacity: 1;
}
.mentor-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-card-alt), var(--bg-secondary));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
  border: 3px solid var(--border-accent);
  box-shadow: 0 4px 16px rgba(232, 132, 26, 0.15);
}
.mentor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.mentor-img-overlay {
  display: none;
}
.mentor-badge {
  position: static;
  display: inline-block;
  background: rgba(232, 132, 26, 0.1);
  color: var(--saffron);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
  margin-top: 14px;
  backdrop-filter: none;
}
.mentor-avatar-fallback {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  font-family: var(--ff-display);
  box-shadow: 0 4px 16px rgba(232, 132, 26, 0.3);
  position: relative;
  z-index: 1;
}
.mentor-body {
  padding: 10px 28px 28px;
}
.mentor-body h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: var(--ff-body);
}
.mentor-body .role {
  font-size: 0.78rem;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 10px;
}
.mentor-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.mentor-socials {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}
.mentor-social {
  width: 30px;
  height: 30px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: var(--transition);
  color: var(--text-muted);
}
.mentor-social:hover {
  background: var(--saffron-light);
  border-color: var(--border-accent);
  color: var(--saffron);
}

.delhi-mentors {
  margin-top: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.delhi-mentors h3 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.delhi-mentors h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.delhi-mentor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mentor-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.mentor-chip:hover {
  border-color: var(--border-accent);
  color: var(--saffron);
}
.mentor-chip-dot {
  width: 7px;
  height: 7px;
  background: var(--saffron);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══ TESTIMONIALS ══ */
.testimonials {
  background: var(--bg-secondary);
  overflow: hidden;
}
.testi-header {
  text-align: center;
  margin-bottom: 56px;
}
.testi-header .section-tag {
  justify-content: center;
}
.testi-header .section-desc {
  margin: 0 auto;
}
.testi-track-wrap {
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 20px;
  animation: testi-scroll 28s linear infinite;
}
.testi-track:hover {
  animation-play-state: paused;
}
@keyframes testi-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.testi-card {
  min-width: 300px;
  max-width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.testi-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow);
}
.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}
.testi-stars span {
  color: var(--gold);
  font-size: 0.88rem;
}
.testi-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  font-style: italic;
}
.testi-text::before {
  content: "\201C";
  color: var(--saffron);
  font-size: 2.2rem;
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 4px;
  font-family: var(--ff-display);
  font-weight: 700;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 11px;
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border: 2px solid var(--border-accent);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  font-family: var(--ff-display);
}
.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testi-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.testi-course {
  font-size: 0.75rem;
  color: var(--saffron);
  font-weight: 600;
}

/* ══ CTA SECTION (always dark) ══ */
.cta-section {
  background: linear-gradient(160deg, #0b1a2f 0%, #132d50 50%, #0b1a2f 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(232, 132, 26, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.cta-inner h2 span {
  color: var(--saffron);
}
.cta-inner p {
  font-size: 1.02rem;
  color: #8fa0b8;
  max-width: 480px;
  margin: 0 auto 34px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 14px 22px;
  margin-top: 36px;
  transition: var(--transition);
  color: #fff;
}
.cta-phone:hover {
  border-color: rgba(232, 132, 26, 0.4);
  background: rgba(232, 132, 26, 0.06);
}
.phone-icon {
  width: 38px;
  height: 38px;
  background: rgba(232, 132, 26, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.phone-text span {
  font-size: 0.72rem;
  color: #8fa0b8;
  display: block;
}
.phone-text strong {
  font-size: 1.05rem;
  color: #fff;
}

/* ══ CONTACT ══ */
.contact {
  background: var(--bg-primary);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), transparent);
}
.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 26px;
  font-family: var(--ff-display);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: 0.88rem;
  transition: var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--saffron);
  background: var(--saffron-light);
  box-shadow: 0 0 0 3px rgba(232, 132, 26, 0.1);
}
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  background: rgba(232, 132, 26, 0.05);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-subtle);
  opacity: 1;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7A8D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.location-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow);
}
.location-card-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.location-flag {
  width: 42px;
  height: 42px;
  background: var(--saffron-light);
  border: 1px solid rgba(232, 132, 26, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.location-card-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--ff-body);
}
.location-card-header span {
  font-size: 0.75rem;
  color: var(--saffron);
  font-weight: 600;
}
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 9px;
}
.location-detail-icon {
  color: var(--saffron);
  flex-shrink: 0;
  margin-top: 2px;
}
.hours-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.hours-row:last-child {
  border-bottom: none;
}
.hours-row strong {
  color: var(--text-primary);
}

/* ══ FOOTER ══ */
.footer {
  background: linear-gradient(180deg, #0d1f38, #0b1a2f);
  border-top: 3px solid var(--saffron);
  padding: 76px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 0.86rem;
  color: #8fa0b8;
  line-height: 1.7;
  margin: 14px 0 22px;
  max-width: 270px;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #8fa0b8;
  transition: var(--transition);
}
a.footer-contact-item:hover {
  color: var(--saffron);
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-social {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8fa0b8;
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-social:hover {
  background: rgba(232, 132, 26, 0.12);
  border-color: rgba(232, 132, 26, 0.3);
  color: var(--saffron);
}
.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 0.85rem;
  color: #8fa0b8;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--saffron);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #8fa0b8;
}
.footer-bottom a {
  color: var(--saffron);
}
.footer-legal {
  display: flex;
  gap: 18px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: #8fa0b8;
  transition: var(--transition);
}
.footer-legal a:hover {
  color: #fff;
}

/* ══ ASHOKA WATERMARK ══ */
.hero-ashoka-watermark {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 420px;
  height: 420px;
  opacity: 0.025;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='95' fill='none' stroke='%23E8841A' stroke-width='2'/%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%23E8841A' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='100' r='15' fill='none' stroke='%23E8841A' stroke-width='2'/%3E%3Cg stroke='%23E8841A' stroke-width='1.5'%3E%3Cline x1='100' y1='5' x2='100' y2='195'/%3E%3Cline x1='5' y1='100' x2='195' y2='100'/%3E%3Cline x1='26' y1='26' x2='174' y2='174'/%3E%3Cline x1='174' y1='26' x2='26' y2='174'/%3E%3Cline x1='100' y1='5' x2='100' y2='195' transform='rotate(22.5 100 100)'/%3E%3Cline x1='100' y1='5' x2='100' y2='195' transform='rotate(67.5 100 100)'/%3E%3Cline x1='100' y1='5' x2='100' y2='195' transform='rotate(112.5 100 100)'/%3E%3Cline x1='100' y1='5' x2='100' y2='195' transform='rotate(157.5 100 100)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
[data-theme="dark"] .hero-ashoka-watermark {
  opacity: 0.04;
}

/* ══ PROFESSIONAL SEPARATORS ══ */
.section-pad + .section-pad {
  border-top: 1px solid var(--border);
}
.page-hero + .section-pad {
  padding-top: 56px;
}

/* ══ REVEAL ANIMATIONS ══ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ══ MOBILE MENU ══ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-card);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 96px 32px 40px;
  transform: translateX(100%);
  transition: var(--transition);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu-links a {
  font-size: 1.15rem;
  font-family: var(--ff-body);
  font-weight: 600;
  color: var(--text-primary);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.mobile-menu-links a:hover {
  color: var(--saffron);
  padding-left: 8px;
}
.mobile-menu-cta {
  margin-top: 36px;
}

/* ══ PAGE HERO (inner pages) — see PAGE HERO VARIANTS below ══ */

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .hero-image {
    height: 420px;
  }
  .hero-float-strip {
    right: 20px;
    gap: 8px;
  }
  .hero-float-card {
    padding: 8px 12px;
  }
  .hero-float-card-text strong {
    font-size: 0.95rem;
  }
  .hero-float-card-text span {
    font-size: 0.6rem;
  }
  .hero-float-card-icon {
    width: 28px;
    height: 28px;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-grid {
    min-height: 360px;
  }
  .about-img-grid-v2 {
    grid-template-rows: 140px 120px 140px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
/* Old 768px block — consolidated into RESPONSIVE ADDITIONS below */
.theme-toggle-mobile {
  display: none;
}

/* ══════════════════════════════════════════
   SHARED COMPONENT ADDITIONS
   (Mobile overlay, close btn, mob-active,
    accordion, tabs, course detail pages,
    PYQ, brochure, legal pages, inquiry)
══════════════════════════════════════════ */

/* ── Mobile overlay ── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.mobile-menu-close:hover {
  color: var(--saffron);
  border-color: var(--border-accent);
}

.mob-active {
  color: var(--saffron) !important;
}
.active-link {
  color: var(--saffron) !important;
  font-weight: 600;
}

/* ── Btn spinner ── */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ══ ACCORDION ══ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.accordion-item:hover {
  border-color: var(--border-accent);
}
.accordion-item.open {
  border-color: var(--border-accent);
  box-shadow: var(--shadow);
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}
.accordion-header h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--ff-body);
  line-height: 1.4;
  flex: 1;
}
.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--saffron);
  flex-shrink: 0;
  transition: var(--transition);
  font-weight: 700;
}
.accordion-item.open .accordion-icon {
  background: var(--saffron);
  color: #fff;
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-item.open .accordion-body {
  max-height: 600px;
}
.accordion-content {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.25s ease 0.1s,
    transform 0.25s ease 0.1s;
}
.accordion-item.open .accordion-content {
  opacity: 1;
  transform: translateY(0);
}
.accordion-content p {
  margin-bottom: 12px;
}
.accordion-content p:last-child {
  margin-bottom: 0;
}
.accordion-content ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.accordion-content li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ══ TABS ══ */
.tab-container {
  margin-top: 40px;
}
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tab-nav::-webkit-scrollbar {
  display: none;
}
.tab-btn {
  padding: 12px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: var(--transition);
  font-family: var(--ff-body);
  border-radius: 8px 8px 0 0;
}
.tab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card-alt);
}
.tab-btn.active {
  color: var(--saffron);
  background: var(--bg-card-alt);
}
.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--saffron);
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: tabFadeIn 0.35s ease forwards;
}
@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══ CURRICULUM TABLE ══ */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.curriculum-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.curriculum-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.curriculum-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--ff-body);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.curriculum-card h4 .ch-icon {
  width: 28px;
  height: 28px;
  background: var(--saffron-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.curriculum-card ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.curriculum-card li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.curriculum-card li::before {
  content: "·";
  color: var(--saffron);
  font-size: 1.2rem;
  line-height: 1;
  margin-top: -1px;
}

/* ══ TIMELINE ══ */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--saffron);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--saffron);
}
.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--ff-body);
  margin-bottom: 6px;
}
.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.timeline-tag {
  display: inline-block;
  background: var(--saffron-light);
  color: var(--saffron);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

/* ══ INFO CARDS ══ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.info-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.info-card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--ff-body);
}
.info-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══ BREADCRUMB ══ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--saffron);
  font-weight: 600;
  transition: var(--transition);
}
.breadcrumb a:hover {
  color: var(--text-primary);
}
.breadcrumb .sep {
  opacity: 0.4;
}

/* ══ PAGE HERO VARIANTS ══ */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  padding-top: 40px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.page-hero--bg {
  min-height: 48vh;
}
.page-hero--contact {
  min-height: 34vh;
}
/* Layered gradient background */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 70% at 85% 15%,
      rgba(232, 132, 26, 0.09) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 50% at 10% 80%,
      rgba(201, 168, 76, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(232, 132, 26, 0.02) 0%,
      transparent 50%
    );
}
/* Decorative accent line at bottom */
.page-hero .page-hero-inner::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
  margin-top: 28px;
}

.page-hero .page-hero-inner {
  padding-top: 50px;
}
/* Floating decorative orb */
.page-hero-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 132, 26, 0.06) 0%,
    transparent 70%
  );
  top: -60px;
  right: -40px;
  pointer-events: none;
  z-index: 0;
  animation: hero-orb-float 8s ease-in-out infinite;
}
.page-hero-orb-secondary {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.05) 0%,
    transparent 70%
  );
  bottom: -30px;
  left: 10%;
  pointer-events: none;
  z-index: 0;
  animation: hero-orb-float 10s ease-in-out infinite reverse;
}
@keyframes hero-orb-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.06);
  }
}
/* Decorative corner accent */
.page-hero-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}
.page-hero-corner svg {
  width: 100%;
  height: 100%;
}
.page-hero-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 180px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
}
.page-hero-logo img {
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.page-title span {
  color: var(--saffron);
  position: relative;
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 580px;
  line-height: 1.7;
}
.page-hero-meta {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.page-hero-badge:hover {
  border-color: var(--saffron);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.page-hero-badge .badge-icon {
  display: flex;
  align-items: center;
  color: var(--saffron);
  flex-shrink: 0;
}
.page-hero-badge span {
  color: var(--saffron);
}
/* ── Course page hero with background image ── */
.page-hero--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero--bg::before {
  background:
    linear-gradient(
      180deg,
      rgba(11, 26, 47, 0.82) 0%,
      rgba(11, 26, 47, 0.7) 50%,
      rgba(11, 26, 47, 0.88) 100%
    ),
    radial-gradient(
      ellipse 50% 70% at 85% 15%,
      rgba(232, 132, 26, 0.12) 0%,
      transparent 70%
    ) !important;
}
.page-hero--bg .page-title {
  color: #f8f2e6;
}
.page-hero--bg .page-title span {
  color: var(--gold-light);
}
.page-hero--bg .page-subtitle {
  color: rgba(248, 242, 230, 0.75);
}
.page-hero--bg .breadcrumb {
  color: rgba(248, 242, 230, 0.55);
}
.page-hero--bg .breadcrumb a {
  color: var(--gold-light);
}
.page-hero--bg .page-hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(248, 242, 230, 0.85);
  backdrop-filter: blur(12px);
}
.page-hero--bg .page-hero-badge span {
  color: var(--gold-light);
}
.page-hero--bg .page-hero-badge .badge-icon {
  color: var(--gold-light);
}
.page-hero--bg .page-hero-inner::after {
  background: linear-gradient(90deg, var(--gold-light), var(--saffron));
}
.page-hero--bg .page-hero-orb {
  background: radial-gradient(
    circle,
    rgba(232, 132, 26, 0.1) 0%,
    transparent 70%
  );
}
.page-hero--bg .page-hero-orb-secondary {
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 70%
  );
}

/* Per-course backgrounds */
.page-hero--prelims {
  background-image: url("img/hero-prelims.jpg");
}
.page-hero--gs-csat {
  background-image: url("img/hero-gs-csat.jpg");
}
.page-hero--gpsc {
  background-image: url("img/hero-gpsc.jpg");
}
.page-hero--ba-upsc {
  background-image: url("img/hero-ba-upsc.jpg");
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 38vh;
    padding-bottom: 44px;
    padding-top: 84px;
  }
  .page-hero-orb {
    width: 160px;
    height: 160px;
  }
  .page-hero-corner {
    width: 120px;
    height: 120px;
  }
  .page-hero-logo {
    width: 120px;
  }
}

/* ══ TWO-COL LAYOUT (course pages) ══ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.sticky-sidebar {
  position: sticky;
  top: 100px;
}

/* ── Enrollment card ── */
.enroll-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.enroll-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
}
.enroll-card-body {
  padding: 28px;
}
.enroll-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--ff-display);
  margin-bottom: 4px;
}
.enroll-duration {
  font-size: 0.82rem;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 20px;
}
.enroll-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.enroll-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.enroll-feature-check {
  width: 20px;
  height: 20px;
  background: rgba(30, 154, 94, 0.12);
  color: #1e9a5e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.enroll-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
.enroll-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--bg-card-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.enroll-contact-icon {
  font-size: 1.2rem;
}
.enroll-contact p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.enroll-contact strong {
  font-size: 0.92rem;
  color: var(--text-primary);
}

/* ── Overview content ── */
.content-section {
  margin-bottom: 44px;
}
.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.content-section p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.content-section ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.content-section li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.content-section li::before {
  content: "→";
  color: var(--saffron);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Highlights strip ── */
.highlights-strip {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 44px 0;
  color: white;
}
.highlight-item {
  text-align: center;
}
.highlight-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.highlight-label {
  font-size: 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ══ TESTIMONIALS PAGE ══ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card-full {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.testi-card-full:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* ══ PYQ PAGE ══ */
.pyq-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.pyq-filter-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--ff-body);
}
.pyq-filter-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}
.pyq-filter-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}
.pyq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pyq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pyq-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.pyq-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--saffron-light);
  color: var(--saffron);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  width: fit-content;
}
.pyq-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--ff-body);
  line-height: 1.4;
}
.pyq-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.pyq-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.pyq-card-footer span {
  font-size: 0.76rem;
  color: var(--text-subtle);
}

/* ══ BROCHURE PAGE ══ */
.brochure-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.brochure-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
}
.brochure-preview-icon {
  font-size: 5rem;
  margin-bottom: 20px;
}
.brochure-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.brochure-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
  text-align: left;
}
.brochure-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-card-alt);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.brochure-feature-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.brochure-feature h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: var(--ff-body);
}
.brochure-feature p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══ LEGAL PAGES (Privacy, Terms) ══ */
.legal-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.legal-toc h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.legal-toc a {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: 7px;
  transition: var(--transition);
  margin-bottom: 2px;
}
.legal-toc a:hover {
  color: var(--saffron);
  background: var(--saffron-light);
}
[data-theme="dark"] .legal-toc a:hover {
  background: rgba(232, 132, 26, 0.08);
}
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 14px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-content li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.legal-content strong {
  color: var(--text-primary);
}
.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--saffron-light);
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

/* ══ INQUIRY PAGE ══ */
.inquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.inquiry-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.inquiry-info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: var(--ff-body);
}
.inquiry-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.inquiry-step {
  display: flex;
  gap: 14px;
}
.inquiry-step-num {
  width: 32px;
  height: 32px;
  background: var(--saffron);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.inquiry-step-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
  font-family: var(--ff-body);
}
.inquiry-step-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-label-req::after {
  content: " *";
  color: var(--saffron);
}
.form-hint {
  font-size: 0.76rem;
  color: var(--text-subtle);
  margin-top: 5px;
}
.form-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  margin: 24px 0 16px;
}

/* ══ WHY US PAGE ══ */
.why-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  gap: 24px;
}
.why-full-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.why-full-icon {
  width: 56px;
  height: 56px;
  background: var(--saffron-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.why-full-content h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--ff-body);
}
.why-full-content p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ══ FACULTY GRID & CARDS ══ */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.faculty-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.faculty-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.faculty-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.faculty-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.faculty-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--ff-body);
}
.faculty-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.expertise-tag {
  display: inline-block;
  background: var(--saffron-light);
  color: var(--saffron);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
}
.faculty-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.detail-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.detail-label {
  color: var(--text-muted);
  font-weight: 500;
}
.detail-value {
  color: var(--text-primary);
  font-weight: 600;
}

/* ══ RESPONSIVE ADDITIONS ══ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .sticky-sidebar {
    position: static;
  }
  .legal-wrap {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
  }
  .inquiry-wrap {
    grid-template-columns: 1fr;
  }
  .highlights-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stars-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }
  .stars-fade {
    width: 60px;
  }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Layout */
  .container {
    padding: 0 16px;
  }
  .section-pad {
    padding: 56px 0;
  }
  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 14px;
  }
  .section-desc {
    font-size: 0.92rem;
  }

  /* Navbar — top-bar is hidden, so navbar starts at top */
  .navbar {
    top: 0;
  }
  .nav-inner {
    height: 64px;
  }
  .nav-logo-img {
    width: 44px;
    height: 44px;
  }
  .nav-logo-img--wide {
    height: 48px;
  }
  .nav-logo-text .hindi {
    font-size: 0.8rem;
  }
  .nav-logo-text .english {
    font-size: 0.5rem;
  }
  .nav-links,
  .nav-cta .nav-btn--outline,
  .nav-cta .nav-btn--filled {
    display: none;
  }
  .mobile-menu-cta .theme-toggle {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Hero section */
  .hero {
    padding-top: 64px;
  }
  .hero-inner {
    padding: 24px 16px 0;
  }
  .hero-image-block {
    border-radius: 16px;
  }
  .hero-image {
    height: 360px;
  }
  .hero-overlay-content {
    left: 16px;
    right: 16px;
    bottom: 100px;
  }
  .hero-tag-line {
    font-size: 0.65rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.15;
  }
  .hero-title br {
    display: none;
  }
  .hero-float-strip {
    display: none;
  }
  .hero-mobile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px 0 8px;
  }
  .hero-bottom {
    padding: 16px 0 40px;
    gap: 20px;
  }
  .hero-quote {
    font-size: 0.85rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .hero-cta-main {
    font-size: 0.88rem;
    padding: 13px 28px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-cta-secondary {
    font-size: 0.85rem;
    padding: 12px 24px;
    width: 100%;
    justify-content: center;
  }

  /* Ticker */
  .ticker {
    padding: 10px 0;
  }
  .ticker-item {
    font-size: 0.75rem;
    padding: 0 20px;
  }

  /* Stars */
  .stars-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
  }
  .star-card {
    width: 180px;
  }
  .star-card-photo {
    height: 150px;
    padding: 0 0 15px 0;
  }
  .star-card-photo img {
    width: 120px;
    height: 120px;
  }
  .star-card-info {
    padding: 12px 14px 14px;
  }
  .star-card-name {
    font-size: 0.9rem;
  }
  .star-card-rank {
    font-size: 1.15rem;
    margin-top: 10px;
  }
  .star-card--featured .star-card-rank {
    font-size: 1.3rem;
  }
  .stars-track {
    gap: 16px;
  }
  .stars-fade {
    width: 40px;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-img-grid {
    gap: 8px;
    min-height: 300px;
  }
  .about-img-grid-v2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 100px 120px;
    gap: 8px;
  }
  .about-content {
    padding: 0;
  }
  .about-point {
    padding: 12px;
  }
  .point-text h4 {
    font-size: 0.88rem;
  }
  .point-text p {
    font-size: 0.8rem;
  }

  /* Why Us cards */
  .why-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .why-card {
    padding: 24px 20px;
  }
  .why-card-num {
    font-size: 3rem;
  }
  .why-full-grid {
    grid-template-columns: 1fr;
  }
  .why-full-card {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faculty-image {
    height: 240px;
  }
  .faculty-content {
    padding: 16px;
    gap: 12px;
  }
  .faculty-content h3 {
    font-size: 1.05rem;
  }
  .expertise-tag {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  /* Course slider */
  .course-slide {
    flex: 0 0 85%;
    min-width: 260px;
  }
  .slider-arrow {
    display: none;
  }
  .course-slider-wrap {
    gap: 0;
  }

  /* Course cards (courses.html) */
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .course-card.featured {
    flex-direction: column;
  }
  .course-card.featured .course-img {
    width: 100%;
    height: 160px;
  }

  /* Mentors */
  .mentors-intro {
    margin-bottom: 32px;
  }
  .mentor-card {
    width: 300px;
  }
  .mentor-img {
    width: 130px;
    height: 130px;
    margin-top: 22px;
  }
  .delhi-mentors {
    padding: 20px;
  }

  /* Stats */
  .stats-banner {
    padding: 48px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    padding: 28px 16px;
  }
  .stat-num {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.68rem;
  }

  /* CTA */
  .cta-section {
    padding: 64px 0;
  }
  .cta-inner h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }
  .cta-inner p {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-phone {
    padding: 12px 18px;
  }

  /* Contact & Forms */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-form-wrap {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  /* Inquiry */
  .inquiry-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .inquiry-info-card {
    padding: 24px;
  }

  /* Testimonials — snap-scroll on mobile */
  .testi-track-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testi-track-wrap::-webkit-scrollbar {
    display: none;
  }
  .testi-track {
    animation: none;
    gap: 16px;
    padding: 0 20px;
  }
  .testi-card {
    min-width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    scroll-snap-align: center;
    padding: 22px;
  }
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-header {
    margin-bottom: 32px;
  }

  /* PYQ */
  .pyq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Brochure */
  .brochure-hero-card {
    padding: 28px 20px;
  }
  .brochure-preview-icon {
    font-size: 3.5rem;
  }
  .brochure-features {
    grid-template-columns: 1fr;
  }

  /* Curriculum & Highlights */
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
  .highlights-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 20px;
    gap: 16px;
  }
  .highlight-num {
    font-size: 1.8rem;
  }

  /* Legal pages */
  .legal-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .legal-toc {
    position: static;
  }
  .legal-content h2 {
    font-size: 1.25rem;
    margin: 28px 0 12px;
    padding-top: 28px;
  }

  /* Info cards */
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tabs */
  .tab-btn {
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  /* Page hero */
  .page-hero {
    min-height: 32vh;
    padding-bottom: 36px;
    padding-top: 40px;
  }
  .page-hero-orb {
    width: 140px;
    height: 140px;
  }
  .page-hero-corner {
    width: 100px;
    height: 100px;
  }
  .page-hero-logo {
    width: 90px;
    top: 12px;
    right: 12px;
  }
  .page-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }
  .page-subtitle {
    font-size: 0.92rem;
    margin-top: 10px;
  }
  .page-hero-badge {
    padding: 7px 14px;
    font-size: 0.76rem;
  }

  /* Footer */
  .footer {
    padding: 48px 0 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-legal {
    justify-content: center;
  }

  /* Accordion */
  .accordion-header {
    padding: 16px 18px;
  }
  .accordion-content {
    padding: 0 18px 16px;
    padding-top: 12px;
  }

  /* Timeline */
  .timeline {
    padding-left: 24px;
  }
  .timeline-dot {
    left: -20px;
    width: 14px;
    height: 14px;
  }
  .timeline-content {
    padding: 16px;
  }

  /* Enroll card */
  .enroll-card-body {
    padding: 22px;
  }

  /* Theme toggle — keep visible on mobile */

  /* Mobile menu */
  .mobile-menu {
    padding: 80px 24px 32px;
  }
  .mobile-menu-links a {
    font-size: 1.05rem;
  }

  /* Inline-style grid overrides (need !important to beat inline styles) */
  .featured-course-header {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 20px !important;
  }
  .featured-course-header > div:first-child {
    width: 56px !important;
    height: 56px !important;
  }
  .featured-course-header > div:last-child {
    text-align: left !important;
  }
  .featured-course-features {
    grid-template-columns: 1fr !important;
  }
  .courses-page-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .about-vision-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 36px !important;
  }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .section-pad {
    padding: 44px 0;
  }
  .hero-image {
    height: 260px;
  }
  .hero-overlay-content {
    left: 12px;
    right: 12px;
    bottom: 80px;
  }
  .hero-title {
    font-size: 1.3rem;
    line-height: 1.2;
  }
  .hero-tag-line {
    font-size: 0.6rem;
    padding: 4px 10px;
  }
  .hero-bottom {
    padding: 12px 0 28px;
  }
  .hero-mobile-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 16px 0 8px;
  }
  .hero-mobile-stat strong {
    font-size: 1.4rem;
  }
  .hero-mobile-stat span {
    font-size: 0.65rem;
  }
  .hero-mobile-stat {
    padding: 12px 6px;
  }

  .about-img-grid-v2 {
    grid-template-rows: 100px 80px 100px;
  }

  .course-slide {
    flex: 0 0 92%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .stat-item {
    padding: 20px 12px;
  }
  .stat-num {
    font-size: 1.7rem;
  }

  .contact-form-wrap {
    padding: 20px 16px;
  }
  .brochure-hero-card {
    padding: 24px 16px;
  }

  .testi-track {
    padding: 0 14px;
  }
  .testi-card {
    min-width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
    padding: 20px;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .highlights-strip {
    grid-template-columns: 1fr;
  }
  .pyq-grid {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .pyq-bundle-inner {
    flex-direction: column !important;
  }
  .mentor-chip {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .page-hero {
    padding-bottom: 28px;
    padding-top: 60px;
    min-height: 28vh;
  }

  .why-card {
    padding: 20px 16px;
  }
  .why-card-num {
    font-size: 2.5rem;
    top: 12px;
    right: 14px;
  }

  .cta-section {
    padding: 48px 0;
  }

  .footer-grid {
    gap: 24px;
  }

  /* Stars */
  .star-card {
    width: 155px;
  }
  .star-card-photo {
    padding: 18px 0 12px;
  }
  .star-card-photo img {
    width: 120px;
    height: 120px;
  }
  .star-card-exam {
    font-size: 0.6rem;
    padding: 4px 6px;
  }
  .star-card-info {
    padding: 10px 12px 12px;
  }
  .star-card-name {
    font-size: 0.82rem;
  }
  .star-card-course {
    font-size: 0.65rem;
  }
  .star-card-rank {
    font-size: 1.05rem;
    margin-top: 8px;
  }
  .star-card--featured .star-card-rank {
    font-size: 1.15rem;
  }
  .stars-track {
    gap: 12px;
  }
  .stars-fade {
    width: 24px;
  }
}

/* ══ SPLASH SCREEN ══ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.splash.hide {
  opacity: 0;
  visibility: hidden;
}
.splash-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  animation: splashPulse 1.4s ease-in-out infinite;
  filter: drop-shadow(0 8px 32px rgba(232, 132, 26, 0.25));
}
.splash-ring {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: var(--saffron);
  border-right-color: var(--saffron);
  animation: splashSpin 1s linear infinite;
}
.splash-text {
  margin-top: 32px;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: splashFadeUp 0.6s ease 0.3s forwards;
}
.splash-text span {
  color: var(--saffron);
}
.splash-tagline {
  margin-top: 6px;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  animation: splashFadeUp 0.6s ease 0.5s forwards;
}

/* ─── FAB contact menu ─── */
.fab-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
}
.fab-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: -1;
}
.fab-wrap.open .fab-overlay {
  opacity: 1;
  pointer-events: auto;
}
.fab-trigger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.18),
    0 4px 20px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  position: relative;
  z-index: 2;
}
.fab-trigger:hover {
  background: #d47615;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.22),
    0 8px 28px rgba(0, 0, 0, 0.12);
}
.fab-icon--close {
  display: none;
}
.fab-wrap.open .fab-icon--default {
  display: none;
}
.fab-wrap.open .fab-icon--close {
  display: block;
}
.fab-wrap.open .fab-trigger {
  transform: rotate(90deg);
}

.fab-actions {
  position: absolute;
  bottom: 64px;
  right: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.fab-wrap.open .fab-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.fab-action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.fab-action:hover {
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.16),
    0 6px 20px rgba(0, 0, 0, 0.08);
}
.fab-action--wa {
  background: #25d366;
  color: #fff;
}
.fab-action--wa:hover {
  background: #1ebe5d;
}
.fab-action--call {
  background: #0b1a2f;
  color: #fff;
}
.fab-action--call:hover {
  background: #142d4f;
}
[data-theme="dark"] .fab-action--call {
  background: #f8f2e6;
  color: #0b1a2f;
}
[data-theme="dark"] .fab-action--call:hover {
  background: #e8dcc6;
}

/* ─── Back-to-top button ─── */
.floating-btn--top {
  position: fixed;
  right: 24px;
  bottom: 86px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: var(--saffron);
  color: #fff;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.3s ease,
    bottom 0.3s ease;
  z-index: 899;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.floating-btn--top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.floating-btn--top:hover {
  background: #d47615;
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.12);
}
/* Slide up back-to-top when FAB menu is open */
#fabWrap.open ~ .floating-btn--top,
.floating-btn--top {
  z-index: 899;
}
#fabWrap.open ~ .floating-btn--top {
  bottom: 220px;
}

@media (max-width: 768px) {
  .fab-wrap {
    bottom: 16px;
    right: 16px;
  }
  .fab-trigger {
    width: 44px;
    height: 44px;
  }
  .fab-trigger svg {
    width: 18px;
    height: 18px;
  }
  .fab-actions {
    bottom: 54px;
  }
  .fab-action {
    width: 38px;
    height: 38px;
  }
  .fab-action svg {
    width: 18px;
    height: 18px;
  }
  .floating-btn--top {
    right: 16px;
    bottom: 70px;
    width: 44px;
    height: 44px;
  }
  .floating-btn--top svg {
    width: 18px;
    height: 18px;
  }
  /* Slide up back-to-top when FAB menu is open on mobile */
  #fabWrap.open ~ .floating-btn--top {
    bottom: 160px;
  }
}

@keyframes splashPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
@keyframes splashSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes splashFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Reduced motion preference ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .page-hero-orb,
  .page-hero-orb-secondary {
    animation: none;
  }
  .floating-btn--top {
    transition: none;
  }
}

/* Books Section Styles */
.books-hero {
  background: linear-gradient(
    135deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.books-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--saffron-light) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.books-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.books-hero-content {
  position: relative;
  z-index: 1;
}

.books-section {
  background: var(--bg-primary);
  padding: 80px 0;
}

/* Books Collection Grid */
.books-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-top: 60px;
}

/* Book Card */
.book-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  position: relative;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.book-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-card-alt) 100%
  );
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.book-card:hover .book-cover img {
  transform: scale(1.05);
}

/* Book cover error state — shows fallback when image fails */
.book-cover--error {
  background: linear-gradient(
    135deg,
    var(--saffron-light) 0%,
    var(--bg-card-alt) 100%
  );
}

.book-cover--error::before {
  content: "📚";
  position: absolute;
  font-size: 48px;
  opacity: 0.6;
  z-index: 2;
}

.book-cover--error::after {
  content: attr(data-book-title);
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  z-index: 3;
  word-break: break-word;
}

/* Fallback cover design if image is missing */
.book-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--saffron-light), var(--bg-card-alt));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--ff-display);
  text-align: center;
  padding: 20px;
}

.book-cover-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.book-cover-fallback-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Book Info */
.book-info {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
  background: var(--saffron-light);
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.book-title {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.book-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

.book-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.book-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.book-meta-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.book-cta {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.book-cta .btn {
  flex: 1;
}

/* Section with tabs/filters */
.books-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--ff-body);
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--saffron);
  background: var(--saffron-light);
  color: var(--saffron);
}

/* Library Shelf Decoration */
.shelf-divider {
  text-align: center;
  margin: 80px 0 40px;
  position: relative;
}

.shelf-divider::before,
.shelf-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

.shelf-divider::before {
  left: 0;
}

.shelf-divider::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--border) 100%);
}

.shelf-label {
  display: inline-block;
  background: var(--bg-primary);
  padding: 0 24px;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .books-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
  }

  .book-card {
    box-shadow: var(--shadow-sm);
  }

  .books-section {
    padding: 60px 0;
  }

  .books-hero {
    padding: 80px 0 60px;
  }

  .book-title {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }
}

@media (max-width: 480px) {
  .books-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .book-info {
    padding: 20px 16px;
  }

  .books-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* Dark theme adjustments */
[data-theme="dark"] .book-cover-placeholder {
  background: linear-gradient(
    135deg,
    rgba(232, 132, 26, 0.15),
    var(--bg-card-alt)
  );
}

[data-theme="dark"] .shelf-divider .shelf-label {
  background: var(--bg-primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.book-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

.book-card:nth-child(1) {
  animation-delay: 0.1s;
}

.book-card:nth-child(2) {
  animation-delay: 0.2s;
}

.book-card:nth-child(3) {
  animation-delay: 0.3s;
}

.book-card:nth-child(n + 4) {
  animation-delay: 0.4s;
}

/* ══ PYQ FILTER & SEARCH SECTION ══ */
.pyq-filter-container {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.pyq-search-group {
  margin-bottom: 16px;
}

.pyq-search-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pyq-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  box-sizing: border-box;
  transition: var(--transition);
}

.pyq-search-input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 132, 26, 0.1);
}

.pyq-filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pyq-filter-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pyq-filter-buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pyq-filter-btn {
  padding: 8px 16px;
  border: 2px solid var(--border-accent);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  font-family: var(--ff-body);
}

.pyq-filter-btn:hover {
  border-color: var(--saffron);
  background: rgba(232, 132, 26, 0.1);
}

.pyq-filter-btn.active {
  background: var(--saffron);
  color: white;
  border-color: var(--saffron);
}

@media (max-width: 768px) {
  .pyq-filter-container {
    padding: 16px;
    margin: 24px 0;
  }

  .pyq-search-input {
    font-size: 16px;
  }

  .pyq-filter-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .pyq-filter-buttons-wrapper {
    gap: 6px;
  }
}
