/* ============================================================
   V&S Publishers — Design System
   Emil Kowalski principles: intentional spacing, restrained
   color, typography hierarchy, micro-interactions, borders.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --navy:        #1B2F77;
  --navy-dark:   #0E1B45;
  --navy-light:  #2A4290;
  --orange:      #F08420;
  --orange-dark: #D4700F;
  --orange-light: #FFF3E8;
  --green:       #22A84B;
  --green-dark:  #1A8A3C;

  --white:    #FFFFFF;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;

  --text:       #0F172A;
  --text-2:     #334155;
  --text-muted: #64748B;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h:   56px; /* updated dynamically by JS after nav renders */
  --max-w:   1200px;
  --pad-x:   clamp(16px, 4vw, 32px);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.05);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --t:      all 0.22s var(--ease);
  --t-slow: all 0.4s  var(--ease);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ── Utility ────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ============================================================
   TOP BAR — thin info strip above banner
   ============================================================ */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 11.5px;
  font-family: var(--font-sans);
  padding: 6px 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.top-bar-left i { color: var(--orange); font-size: 10px; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-bar-right a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  transition: color 0.2s;
}
.top-bar-right a:hover { color: var(--orange); }

/* ============================================================
   NAVIGATION — Sticky strip, sits below banner on home page
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled {
  box-shadow: 0 4px 20px rgba(10,22,60,0.18);
}

/* Brand banner — very top of page, scrolls away (home page only) */
.site-banner {
  width: 100%;
  background: none;
  line-height: 0;
}
.site-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* Light nav strip */
@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.nav {
  animation: navSlideDown 0.5s var(--ease) both;
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: #ffffff;
  border-bottom: 1px solid rgba(14,27,69,0.10);
  padding-inline: var(--pad-x);
  gap: 16px;
}
.nav-logo {
  position: absolute;
  left: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  text-decoration: none;
}
.nav-logo-badge {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav-logo-word {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy-dark);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-logo-word strong { font-weight: 700; }
@media (max-width: 640px) {
  .nav-logo-word { display: none; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  letter-spacing: 0.01em;
  position: relative;
  padding-block: 4px;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--orange); font-weight: 600; }

/* Olympiad & Distribution — stay orange */
.nav-links a.nav-highlight {
  color: var(--orange);
  font-weight: 600;
}
.nav-links a.nav-highlight:hover { color: #c2500a; }
.nav-links a.nav-highlight::after { background: var(--orange); }

/* Glass search bar — dark tint on white background */
.nav-search-wrap {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 30px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.nav-search-wrap:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,132,32,0.12);
}
.nav-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 12.5px;
  font-family: var(--font-sans);
  padding: 7px 10px 7px 16px;
  width: 190px;
  letter-spacing: 0.01em;
}
.nav-search-input::placeholder { color: var(--gray-400); }
.nav-search-btn {
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 7px 13px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}
.nav-search-btn:hover { background: var(--orange-dark); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--orange);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  transition: var(--t) !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

/* btn-nav compact for dark nav strip */
.btn-nav {
  padding: 7px 16px !important;
  font-size: 12.5px !important;
}

.nav-backdrop { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: #1e293b;
  border-radius: 2px;
  transition: var(--t);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  height: calc(100svh - var(--nav-h));
  min-height: 580px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.75s var(--ease);
  pointer-events: none;
  overflow: hidden;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Slide 1: Olympiad ──────────────────────────────────── */
.slide-olympiad {
  background: var(--navy-dark);
}
.slide-olympiad .slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.slide-tag.orange { background: var(--orange); color: var(--white); }
.slide-tag.green  { background: var(--green);  color: var(--white); }
.slide-tag.white  {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
}

.slide-h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 18px;
}
.slide-h1 .accent { color: var(--orange); }
.slide-h1 .accent-green { color: #6EE7A0; }

.slide-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  margin-bottom: 36px;
  font-family: var(--font-serif);
  font-style: italic;
}
.slide-sub.dark {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-style: normal;
}

/* Book cards grid (slide 1 right side) */
.books-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.book-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  transition: var(--t);
}
.book-chip:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}
.book-chip-icon { font-size: 26px; margin-bottom: 8px; color: rgba(255,255,255,0.75); }
.book-chip-abbr {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 2px;
}
.book-chip-name {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  line-height: 1.3;
}

/* ── Slide 2: AI in Publishing ──────────────────────────── */
.slide-ai {
  background: var(--gray-50);
}
.slide-ai .slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}
.slide-ai .slide-h1 { color: var(--navy-dark); }
.ai-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.ai-feature-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}
.ai-icon-box {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ai-icon-box.blue   { background: #EEF2FF; }
.ai-icon-box.green  { background: #F0FDF4; }
.ai-icon-box.orange { background: #FFF7ED; }
.ai-feature-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.ai-feature-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Slide 3: Our Presence ──────────────────────────────── */
.slide-presence {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.slide-presence .slide-inner {
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.slide-presence .slide-h1 { color: var(--white); }
.slide-presence .slide-sub { margin-bottom: 48px; }
.presence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}
.presence-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  color: var(--white);
  text-decoration: none;
  transition: var(--t);
  backdrop-filter: blur(8px);
}
.presence-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}
.presence-card i { font-size: 28px; }
.presence-platform { font-size: 13px; font-weight: 700; }
.presence-handle  { font-size: 11px; color: rgba(255,255,255,0.55); }

/* Slider controls */
.slider-nav {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: var(--t);
}
.slider-dot.active {
  background: var(--white);
  width: 22px;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--t);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.slider-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--t);
  border: 1.5px solid transparent;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249,115,22,0.32);
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249,115,22,0.28);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy-dark);
  border-color: var(--gray-300);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: clamp(72px, 8vw, 112px) 0;
  position: relative;
}
.section-alt {
  background:
    linear-gradient(180deg, rgba(248,250,252,0.96), rgba(241,245,249,0.9)),
    radial-gradient(circle at 12% 12%, rgba(240,132,32,0.08), transparent 34%);
}
.section-dark {
  background: var(--navy-dark);
  color: var(--white);
}
.section-navy { background: var(--orange); color: var(--white); }
.section-orange-light { background: var(--orange-light); }

.label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.label-tag.green { color: var(--green); }
.label-tag.white { color: rgba(255,255,255,0.6); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-dark);
  margin-bottom: 14px;
}
.section-title.white { color: var(--white); }

.section-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
}
.section-lead.white { color: rgba(255,255,255,0.7); }
.section-lead.wide  { max-width: 720px; }
.section-lead.center { margin-inline: auto; text-align: center; }

.section-hd { margin-bottom: clamp(40px, 5vw, 60px); }
.section-hd.center { text-align: center; }

/* Divider */
.divider {
  width: 48px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 16px;
}
.divider.center { margin-inline: auto; }
.divider.green { background: var(--green); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip { padding: 56px 0; background: var(--orange); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.stat-item {
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 6px;
}
.stat-num .plus { color: rgba(255,255,255,0.65); }
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   BRAND INTRO
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-badge {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
}
.badge-since {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.badge-year {
  font-family: var(--font-serif);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  opacity: 0.12;
  margin-bottom: -12px;
}
.badge-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-dark);
}
.promise-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
}
.promise-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.promise-dot i { font-size: 9px; color: var(--white); }

/* ============================================================
   CATEGORY CARDS (Homepage preview)
   ============================================================ */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  display: block;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,250,252,0.95));
  border: 1px solid rgba(27,47,119,0.09);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--t);
  color: inherit;
  position: relative;
  overflow: hidden;
  min-height: 230px;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: auto -20% -42% 40%;
  height: 140px;
  background: radial-gradient(circle, rgba(240,132,32,0.16), transparent 64%);
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cat-card:hover {
  border-color: rgba(240,132,32,0.34);
  box-shadow: 0 22px 48px rgba(15,23,42,0.12);
  transform: translateY(-6px);
}
.cat-card:hover::before {
  opacity: 1;
  transform: translateY(-16px);
}
.cat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.cat-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.cat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cat-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  transition: gap 0.2s var(--ease);
  position: relative;
  z-index: 1;
}
.cat-card:hover .cat-arrow { gap: 10px; }

/* ── Icon bg colours ──── */
.ic-blue   { background: #EEF2FF; }
.ic-green  { background: #F0FDF4; }
.ic-orange { background: #FFF7ED; }
.ic-cyan   { background: #F0F9FF; }
.ic-purple { background: #FAF5FF; }
.ic-rose   { background: #FFF1F2; }
.ic-amber  { background: #FFFBEB; }
.ic-teal   { background: #F0FDFA; }
.ic-indigo { background: #EEF2FF; }

.ic-blue i   { color: var(--navy); }
.ic-green i  { color: var(--green-dark); }
.ic-orange i { color: var(--orange-dark); }
.ic-cyan i   { color: #0369A1; }
.ic-purple i { color: #7C3AED; }
.ic-rose i   { color: #BE185D; }
.ic-amber i  { color: #92400E; }
.ic-teal i   { color: #0F766E; }
.ic-indigo i { color: #4338CA; }

/* Icon containers — FA sizing */
.cat-icon i, .cat-full-icon i, .value-icon i,
.perk-icon i, .award-icon i, .blog-empty-icon i {
  font-size: inherit;
}

/* ============================================================
   WHY V&S
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(27,47,119,0.09);
  border-radius: var(--radius-lg);
  transition: var(--t);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 8px 24px rgba(15,23,42,0.04);
}
.why-card:hover {
  border-color: transparent;
  box-shadow: 0 22px 48px rgba(15,23,42,0.12);
  transform: translateY(-5px);
}
.why-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 800;
  color: rgba(240,132,32,0.24);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
}
.why-content h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.why-content p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   QUOTE BAND
   ============================================================ */
.quote-band {
  background:
    linear-gradient(135deg, rgba(14,27,69,0.94), rgba(27,47,119,0.94)),
    url('../assets/images/fip-conference.webp') center/cover;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(240,132,32,0.22), transparent 42%);
  pointer-events: none;
}
.quote-band .container {
  position: relative;
  z-index: 1;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 32px);
  font-style: italic;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto 16px;
  line-height: 1.45;
}
.quote-attr {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================
   AUTHOR BANNER
   ============================================================ */
.author-band { background: var(--gray-50); padding: 80px 0; }
.author-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.author-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.author-inner p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  padding: 44px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 36px;
  margin-bottom: 36px;
  align-items: start;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 7px;
}
.footer-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer-logo-word {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.footer-logo-word strong { font-weight: 700; }
.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--t);
  text-decoration: none;
}
.social-btn:hover { transform: translateY(-3px); filter: brightness(1.15); }
.social-btn.s-instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; color: #fff; }
.social-btn.s-facebook  { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-btn.s-youtube   { background: #FF0000; border-color: #FF0000; color: #fff; }
.social-btn.s-amazon    { background: #FF9900; border-color: #FF9900; color: #fff; }
.social-btn.s-twitter   { background: #000;    border-color: #333;    color: #fff; }
.social-btn.s-linkedin  { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.social-btn.s-pinterest { background: #E60023; border-color: #E60023; color: #fff; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul li + li { margin-top: 10px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  transition: var(--t);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 3px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}
.footer-contact li i {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1B2F77 60%, #2A1A5E 100%);
  color: var(--white);
  padding: clamp(60px, 7vw, 96px) 0 clamp(52px, 6vw, 72px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 280px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(240,132,32,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--green), var(--orange));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero h1 .accent { color: var(--orange); }
.page-hero p {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  line-height: 1.7;
}
.page-hero .label-tag { color: var(--orange); }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: var(--orange); }
.page-hero-breadcrumb i { font-size: 9px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.prose {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}
.prose p + p { margin-top: 20px; }
.prose strong { color: var(--text-2); font-weight: 600; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 1.5px;
  background: var(--gray-200);
}
.tl-item {
  position: relative;
  margin-bottom: 32px;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--navy);
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--navy);
}
.tl-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.tl-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 5px;
}
.tl-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.usps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--t);
}
.usp-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.usp-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 10px;
}
.usp-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.usp-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.titles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.title-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--t);
}
.title-card:hover {
  background: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.title-card h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.title-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--t);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}
.value-card.vc-orange { border-top: 3px solid var(--orange); }
.value-card.vc-blue   { border-top: 3px solid var(--navy); }
.value-card.vc-green  { border-top: 3px solid var(--green); }
.value-card.vc-amber  { border-top: 3px solid #F59E0B; }
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-card h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.value-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

.address-card {
  background: var(--navy-dark);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.address-detail { display: flex; gap: 14px; align-items: flex-start; }
.address-detail i { font-size: 18px; color: var(--orange); margin-top: 3px; }
.address-detail h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.address-detail p {
  font-size: 15px;
  color: var(--white);
  line-height: 1.55;
}
.address-detail a { color: var(--orange); }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-empty {
  text-align: center;
  padding: 48px 0 40px;
}
.blog-empty-icon { font-size: 56px; margin-bottom: 20px; }
.blog-empty h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.blog-empty p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.blog-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.blog-topic {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  transition: var(--t);
}
.blog-topic:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.blog-topic-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.bt-blue   { background: #EEF2FF; color: var(--navy); }
.bt-orange { background: #FFF7ED; color: var(--orange-dark); }
.bt-green  { background: #F0FDF4; color: var(--green-dark); }
.blog-topic h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-topic p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   CATEGORIES PAGE
   ============================================================ */
.cats-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-full-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: var(--t);
  color: inherit;
}
.cat-full-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}
.cat-full-icon { font-size: 36px; margin-bottom: 18px; }
.cat-full-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.cat-full-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cat-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--text-2);
}

/* ============================================================
   WORK WITH US PAGE
   ============================================================ */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.perk-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--t);
}
.perk-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.perk-icon { font-size: 28px; margin-bottom: 14px; }
.perk-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.perk-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

.depts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.divisions-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.div-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--t);
}
.div-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}
.div-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.div-card-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.div-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.dept-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--t);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.dept-pill:hover {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.dept-pill i { color: var(--orange); font-size: 18px; }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--t);
}
.role-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.role-info h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 3px;
}
.role-type { font-size: 12px; color: var(--text-muted); }
.role-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-open   { background: #F0FDF4; color: var(--green-dark); }
.badge-intern { background: #EEF2FF; color: var(--navy); }

.apply-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
}
.apply-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 10px;
}
.apply-band p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ============================================================
   OLYMPIAD PAGE
   ============================================================ */
.olympiad-hero {
  background: var(--navy-dark);
  color: var(--white);
  padding: clamp(80px, 12vw, 140px) 0 clamp(64px, 10vw, 100px);
  position: relative;
  overflow: hidden;
}
.olympiad-hero::before {
  content: '2026';
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.olympiad-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.olympiad-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
}
.olympiad-hero h1 .yr { color: var(--orange); }
.olympiad-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
}
.exam-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.exam-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(8px);
  transition: var(--t);
}
.exam-chip:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}
.exam-chip-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 5px;
}
.exam-chip-val {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.exam-chip-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

.subjects-band {
  background: var(--orange);
  padding: 18px 0;
}
.subjects-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.subject-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.participate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.participate-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--t);
}
.participate-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.part-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.participate-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 5px;
}
.participate-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-grid.adv-grid-wide { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .adv-grid.adv-grid-wide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .adv-grid.adv-grid-wide { grid-template-columns: 1fr; }
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--t);
}
.adv-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.adv-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}
.adv-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.adv-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.award-card {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: var(--t);
}
.award-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.award-icon { font-size: 36px; margin-bottom: 12px; }
.award-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.award-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

.steps-list { position: relative; }
.steps-list::before {
  content: '';
  position: absolute;
  left: 27px; top: 0; bottom: 0;
  width: 1.5px;
  background: var(--gray-200);
}
.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  position: relative;
}
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--white);
}
.step-content h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.book-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--t);
}
.book-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}
.book-mock {
  width: 90px; height: 126px;
  border-radius: 5px 8px 8px 5px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 3px 3px 12px rgba(0,0,0,0.18), inset -3px 0 6px rgba(0,0,0,0.12);
  overflow: hidden;
}
.book-mock::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  background: rgba(0,0,0,0.18);
}
.book-mock .bm-abbr {
  font-size: 20px;
  font-weight: 900;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.book-mock .bm-word {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.book-mock .bm-cls {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
/* Real cover image inside book card */
.book-img-real {
  width: 130px;
  height: 182px;
  margin: 0 auto 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.25), -1px -1px 0 rgba(0,0,0,0.08);
  transition: var(--t);
}
.book-img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.book-card:hover .book-img-real {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 8px 12px 32px rgba(0,0,0,0.3);
}

.book-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 5px;
}
.book-card .book-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.book-price-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.book-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  padding: 9px 18px;
  border-radius: 30px;
  background: #FF9900;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.book-buy-btn:hover {
  background: #e68a00;
  transform: translateY(-1px);
}
.video-thumb-img { height: 400px; }

.roles-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.roles-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.role-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
  color: var(--text-2);
}
.role-row:last-child { border-bottom: none; }
.role-row i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

.partner-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
}
.partner-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}
.partner-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.collab-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.collab-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.collab-card h3 i { color: var(--orange); }
.collab-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--text-2);
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.55;
}
.collab-item:last-child { border-bottom: none; }
.collab-item i { color: var(--navy); margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.08s; }
.fade-up.delay-2 { transition-delay: 0.16s; }
.fade-up.delay-3 { transition-delay: 0.24s; }
.fade-up.delay-4 { transition-delay: 0.32s; }
.fade-up.delay-5 { transition-delay: 0.40s; }
.fade-up.delay-6 { transition-delay: 0.48s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-full-grid { grid-template-columns: repeat(2, 1fr); }
  .usps-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .titles-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .site-banner img { width: 100%; height: auto; }
  .nav-links { display: none; }
  .nav-backdrop { display: none; }
  .nav-backdrop.mobile-open {
    display: block;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(10,22,60,0.28);
    z-index: 898;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    max-height: min(calc(100svh - var(--nav-h)), 216px);
    background: #ffffff;
    padding: 6px 24px 10px;
    gap: 0;
    z-index: 899;
    border-top: 1px solid rgba(14,27,69,0.10);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 32px rgba(10,22,60,0.16);
    overflow-y: auto;
  }
  .nav-links.mobile-open a {
    font-size: 16px;
    padding-block: 14px;
    color: #1e293b;
    border-bottom: 1px solid rgba(14,27,69,0.07);
  }
  .nav-links.mobile-open li:last-child a { border-bottom: none; }
  .nav-search-wrap { display: none; }
  .nav-toggle { display: flex; }

  .slide-olympiad .slide-inner,
  .slide-ai .slide-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .books-visual { display: none; }
  .ai-cards-stack { display: none; }
  .presence-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .usps-grid { grid-template-columns: 1fr; }
  .titles-grid { grid-template-columns: 1fr; }
  .address-card { grid-template-columns: 1fr; padding: 32px; }
  .perks-grid { grid-template-columns: 1fr; }
  .depts-grid { grid-template-columns: 1fr; }
  .divisions-section-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .olympiad-hero-grid { grid-template-columns: 1fr; }
  .exam-details-grid { grid-template-columns: repeat(2, 1fr); }
  .participate-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .collab-grid { grid-template-columns: 1fr; }
  .author-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .blog-topics-grid { grid-template-columns: 1fr; }
  .apply-band { padding: 36px 24px; }
  .partner-cta { padding: 40px 24px; }
  .video-thumb-img { height: 280px; }
  .exam-details-grid { grid-template-columns: repeat(2, 1fr); }
  .director-card { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .presence-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: 1fr; }
  .cats-full-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
  .video-thumb-img { height: 200px; }
  .exam-details-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .exam-chip { padding: 14px; }
  .btn-group { justify-content: center; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   BOOK GALLERY MARQUEE
   ============================================================ */
.book-marquee {
  overflow: hidden;
  padding: 32px 0;
  background:
    linear-gradient(90deg, rgba(14,27,69,0.03), rgba(240,132,32,0.08), rgba(34,168,75,0.05)),
    var(--gray-50);
  border-top: 1px solid rgba(27,47,119,0.08);
  border-bottom: 1px solid rgba(27,47,119,0.08);
  cursor: default;
  position: relative;
}
.book-marquee::before,
.book-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(14vw, 160px);
  z-index: 2;
  pointer-events: none;
}
.book-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--gray-50), transparent);
}
.book-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--gray-50), transparent);
}
.marquee-wrapper { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: bookmarquee 60s linear infinite;
}
.book-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-book {
  width: 130px;
  height: 185px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 10px;
  background: linear-gradient(145deg, #ffffff, #eef2ff);
  border: 1px solid rgba(27,47,119,0.08);
  box-shadow: 0 10px 28px rgba(15,23,42,0.12);
  transition: var(--t);
}
.marquee-book:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-lg); }
.marquee-book img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 5px;
  filter: saturate(1.05) contrast(1.02);
}

@keyframes bookmarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HERO BOOK GRID (Slide 1 visual)
   ============================================================ */
.hero-book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-book {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: var(--t);
}
.hero-book:nth-child(odd) { margin-top: 24px; }
.hero-book:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.hero-book img { width: 100%; height: 200px; object-fit: cover; display: block; }

/* ============================================================
   OLYMPIAD BOOKS SECTION (Landing page)
   ============================================================ */
.olympiad-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.book-cover-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
  border: 1px solid rgba(27,47,119,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t);
  box-shadow: 0 14px 32px rgba(15,23,42,0.08);
}
.book-cover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(15,23,42,0.16);
  border-color: transparent;
}
.book-cover-img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center center;
  display: block;
  padding: 18px 18px 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(240,132,32,0.16), transparent 34%),
    linear-gradient(145deg, #ffffff, #eef2ff);
}
.book-cover-info {
  padding: 16px 18px 18px;
}
.book-cover-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.book-cover-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.book-cover-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: 6px 14px;
  border-radius: 20px;
  transition: var(--t);
}
.book-cover-buy:hover { background: var(--orange); color: var(--white); gap: 9px; }

/* ============================================================
   DISCOVERY / FORMATS SECTION
   ============================================================ */
.discovery-section {
  background:
    linear-gradient(135deg, rgba(14,27,69,0.97), rgba(27,47,119,0.94) 48%, rgba(15,23,42,0.98)),
    url('../assets/images/office-puja.webp') center/cover;
  color: var(--white);
  overflow: hidden;
}
.discovery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(240,132,32,0.26), transparent 34%),
    linear-gradient(90deg, rgba(14,27,69,0.18), rgba(14,27,69,0.72));
  pointer-events: none;
}
.discovery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}
.discovery-copy .section-lead { margin-bottom: 28px; }
.discovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.format-orbit {
  min-height: 440px;
  position: relative;
}
.orbit-card {
  position: absolute;
  inset: 42px 18% 30px 18%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0,0,0,0.36);
  border: 1px solid rgba(255,255,255,0.18);
  transform: rotate(-2deg);
  animation: orbitFloat 8s ease-in-out infinite;
}
.orbit-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  padding: 14px;
}
.format-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  box-shadow: 0 14px 34px rgba(0,0,0,0.2);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 700;
  animation: pillDrift 7s ease-in-out infinite;
}
.format-pill i { color: var(--orange); }
.pill-print { left: 4%; top: 12%; }
.pill-kindle { right: 7%; top: 24%; animation-delay: 0.5s; }
.pill-audio { left: 11%; bottom: 14%; animation-delay: 1s; }
.pill-school { right: 0; bottom: 24%; animation-delay: 1.5s; }

@keyframes orbitFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(1deg); }
}

@keyframes pillDrift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================================================
   ABOUT / DIRECTORS SECTION (Landing)
   ============================================================ */
.about-landing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.directors-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.director-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--t);
}
.director-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
  transform: translateX(4px);
}
.director-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.director-avatar i { color: var(--white); font-size: 20px; }
.director-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.divisions-card { align-items: flex-start; }
.divisions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.division-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy-dark);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}
.director-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 2px;
}
.director-role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.director-desc {
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */
.newsletter-strip {
  background: var(--navy-dark);
  padding: 40px 0 36px;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.newsletter-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.newsletter-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  max-width: 440px;
  width: 100%;
}
.newsletter-input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--t);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.32); }
.newsletter-input:focus { border-color: var(--orange); background: rgba(255,255,255,0.09); }
.newsletter-btn {
  padding: 13px 22px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--t);
}
.newsletter-btn:hover { background: var(--orange-dark); }

/* ============================================================
   CONTACT CARDS (Footer expanded)
   ============================================================ */
.contact-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: var(--t);
}
.contact-card-item:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); }
.contact-card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 3px;
}
.contact-card-email {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  transition: var(--t);
  display: block;
}
.contact-card-email:hover { color: var(--white); }

/* ============================================================
   CATEGORY BOOK IMAGES
   ============================================================ */
.cat-book-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
.cat-book-thumb {
  width: 72px;
  height: 98px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.18);
  transition: var(--t);
}
.cat-book-thumb:hover { transform: translateY(-5px) scale(1.06); box-shadow: 4px 8px 20px rgba(0,0,0,0.25); }
.cat-book-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.cat-book-thumb:nth-child(1) .img-reveal { transition-delay: 0s; }
.cat-book-thumb:nth-child(2) .img-reveal { transition-delay: 0.09s; }
.cat-book-thumb:nth-child(3) .img-reveal { transition-delay: 0.18s; }
.cat-book-thumb:nth-child(4) .img-reveal { transition-delay: 0.27s; }
.cat-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cat-arrow-flip { color: var(--orange); }
.cat-cta-row .cat-arrow:hover,
.cat-cta-row .cat-arrow-flip:hover { opacity: 0.75; }

/* ============================================================
   RESPONSIVE — New components
   ============================================================ */
@media (max-width: 1024px) {
  .olympiad-books-grid { grid-template-columns: repeat(2, 1fr); }
  .about-landing-grid { grid-template-columns: 1fr; gap: 40px; }
  .discovery-grid { grid-template-columns: 1fr; }
  .format-orbit { min-height: 380px; }
  .book-cover-img { height: 280px; }
}
@media (max-width: 768px) {
  .olympiad-books-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .newsletter-form { max-width: 100%; width: 100%; }
  .hero-book-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-book img { height: 140px; }
  .gallery-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .gallery-hero-mosaic {
    height: 340px;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .mosaic-item-a { grid-column: 1; grid-row: 1 / 3; }
  .mosaic-item-b { grid-column: 2; grid-row: 1; }
  .mosaic-item-c { grid-column: 2; grid-row: 2; }
  .mosaic-item-d { display: none; }
  .mosaic-item-e { display: none; }
  .mosaic-item-f { display: none; }
  .mosaic-item-g { display: none; }
  .mosaic-item-i { display: none; }
  .gallery-h1 { font-size: clamp(32px, 6vw, 48px); }
  .gallery-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-proof-strip { gap: 8px; }
  .proof-chip {
    font-size: 11px;
    padding: 7px 10px;
    color: rgba(255,255,255,0.95);
    background: rgba(10,22,40,0.42);
  }
  .gallery-hero::after { height: 42px; }
  .format-orbit { min-height: 340px; }
  .orbit-card { inset: 54px 16% 42px; }
  .format-pill { font-size: 12px; padding: 10px 12px; }
  .pill-school { right: 4%; }
}
@media (max-width: 480px) {
  .olympiad-books-grid { grid-template-columns: repeat(2, 1fr); }
  .marquee-book { width: 96px; height: 138px; padding: 7px; }
  .gallery-hero-mosaic { display: none; }
  .book-cover-img { height: 210px; padding: 12px 10px 6px; }
  .book-cover-info { padding: 13px 12px 14px; }
  .book-cover-title { font-size: 13px; }
  .book-cover-buy { width: 100%; justify-content: center; padding-inline: 10px; }
  .format-orbit { min-height: 300px; }
  .orbit-card { inset: 54px 12% 46px; }
  .format-pill { position: static; margin: 8px 6px 0 0; }
  .format-orbit {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    padding-top: 230px;
  }
  .discovery-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   GALLERY HERO
   ============================================================ */
.gallery-hero {
  background:
    linear-gradient(120deg, rgba(10,22,40,0.98) 0%, rgba(17,32,68,0.96) 42%, rgba(27,47,119,0.92) 64%, rgba(61,22,0,0.92) 100%),
    url('../assets/images/catalogue-display.webp') center/cover;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0;
  position: relative;
}
.gallery-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 64% 44%, rgba(240,132,32,0.22) 0%, transparent 48%),
    linear-gradient(90deg, rgba(10,22,40,0.35), transparent 68%);
  pointer-events: none;
}
.gallery-hero::after {
  display: none;
}
.gallery-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.gallery-h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
  margin-top: 12px;
}
.gallery-h1 span { color: var(--orange); }
.gallery-p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255,255,255,0.58);
  line-height: 1.78;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 600;
  animation: chipRise 0.7s var(--ease) both;
}
.proof-chip:nth-child(2) { animation-delay: 0.08s; }
.proof-chip:nth-child(3) { animation-delay: 0.16s; }
.proof-chip i { color: var(--orange); }
.gallery-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 36px;
}
.gs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  animation: statPop 0.8s var(--ease) both;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.gs-item:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(240,132,32,0.35);
}
.gs-item:nth-child(2) { animation-delay: 0.08s; }
.gs-item:nth-child(3) { animation-delay: 0.16s; }
.gs-item:nth-child(4) { animation-delay: 0.24s; }
.gs-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.gs-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Gallery mosaic — 9-image bento grid */
.gallery-hero-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 1.1fr 0.9fr 0.9fr 0.78fr;
  gap: 10px;
  height: clamp(580px, 74vh, 720px);
  overflow: visible;
  border-radius: var(--radius-lg);
  perspective: 1200px;
}

/* Conference — tall left, spans ALL 4 rows */
.mosaic-item-a { grid-column: 1; grid-row: 1 / 5; }
/* Award ceremony — wide top-right */
.mosaic-item-b { grid-column: 2 / 4; grid-row: 1; }
/* Row 2 right pair */
.mosaic-item-c { grid-column: 2; grid-row: 2; }
.mosaic-item-d { grid-column: 3; grid-row: 2; }
/* Row 3 — two right cells */
.mosaic-item-e { grid-column: 2; grid-row: 3; }
.mosaic-item-f { grid-column: 3; grid-row: 3; }
/* Row 4 — catalogue + book portrait cell */
.mosaic-item-g { grid-column: 2; grid-row: 4; }
.mosaic-item-i { grid-column: 3; grid-row: 4; }

.mosaic-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 24px 60px rgba(0,0,0,0.26);
  border: 1px solid rgba(255,255,255,0.16);
  isolation: isolate;
}
.mosaic-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.18), transparent 36%, rgba(10,22,40,0.28));
  opacity: 0.78;
  pointer-events: none;
}
.mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.4s;
  will-change: transform;
}
.mosaic-item-d .mosaic-img {
  object-fit: cover;
}
.mosaic-item-e .mosaic-img {
  object-fit: contain;
  background: #ffffff;
  padding: 0;
}

/* Book feature slot — full width, fully visible book */
.mosaic-book-feature {
  background: linear-gradient(135deg, #1B2F77 0%, #0E1B45 100%);
}
.mosaic-book-img {
  object-fit: contain !important;
  background: transparent !important;
  padding: 6px 8px;
}

/* Float animation on individual items */
.mosaic-item-a { animation: mosaicFloat 10s ease-in-out infinite; }
.mosaic-item-b { animation: mosaicFloat 13s ease-in-out infinite 1.5s; }
.mosaic-item-c { animation: mosaicFloat 11s ease-in-out infinite 3s; }
.mosaic-item-d { animation: mosaicFloat 12s ease-in-out infinite 0.8s; }
.mosaic-item-e { animation: mosaicFloat 14s ease-in-out infinite 2.2s; }
.mosaic-item-f { animation: mosaicFloat  9s ease-in-out infinite 4s; }
.mosaic-item-g { animation: mosaicFloat 15s ease-in-out infinite 1.1s; }
.mosaic-item-i { animation: mosaicFloat 13s ease-in-out infinite 0.5s; }
.gallery-hero-mosaic:hover .mosaic-item { animation-play-state: paused; }

/* Books shelf card — wide slot showing 4 books side by side */
.mosaic-books-shelf {
  background: linear-gradient(135deg, #fff7ed 0%, #ffe4bb 60%, #fff3e0 100%);
  overflow: hidden;
}
.mosaic-books-shelf .mosaic-caption { z-index: 3; }
.mosaic-shelf-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px 36px;
}
.mosaic-shelf-inner img {
  flex: 1;
  max-width: 22%;
  height: 100%;
  max-height: 90%;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 4px;
  box-shadow: 4px 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s var(--ease);
  display: block;
}
.mosaic-books-shelf:hover .mosaic-shelf-inner img:nth-child(1) { transform: rotate(-3deg) translateY(-6px); }
.mosaic-books-shelf:hover .mosaic-shelf-inner img:nth-child(2) { transform: rotate(-1deg) translateY(-10px); }
.mosaic-books-shelf:hover .mosaic-shelf-inner img:nth-child(3) { transform: rotate(1deg) translateY(-8px); }
.mosaic-books-shelf:hover .mosaic-shelf-inner img:nth-child(4) { transform: rotate(3deg) translateY(-5px); }

/* Brand logo card */
.mosaic-brand-card {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mosaic-brand-card::after { display: none; }
.mosaic-logo-img {
  width: 72%;
  height: auto;
  object-fit: contain !important;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.mosaic-brand-year {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.mosaic-item:hover .mosaic-img { transform: scale(1.07); filter: brightness(1.08) saturate(1.1); }

/* Gradient badge at bottom */
.mosaic-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.2) 60%, transparent 100%);
  padding: 28px 14px 12px;
  transform: translateY(calc(100% - 5px));
  transition: transform 0.35s var(--ease);
}
.mosaic-item:hover .mosaic-caption { transform: translateY(0); }
/* Always-visible label on the tall hero image */
.mosaic-item-a .mosaic-caption {
  transform: translateY(0);
  padding: 40px 16px 14px;
}
.mosaic-caption span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

@keyframes mosaicFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes chipRise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes statPop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Photo band hover overlay ── */
.photo-band { position: relative; }
.photo-band-item {
  position: relative;
  overflow: hidden;
}
.photo-band-item .photo-band-img {
  transition: filter 0.4s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  will-change: transform;
}
.photo-band-item:nth-child(4) .photo-band-img {
  object-fit: contain;
  background: #111827;
  padding: 12px;
}
.photo-band-item:hover .photo-band-img { filter: brightness(1.08) saturate(1.1); }
.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.82) 0%, rgba(10,22,40,0.1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px 18px;
  opacity: 0;
  transition: opacity 0.38s var(--ease);
}
.photo-band-item:hover .photo-band-overlay { opacity: 1; }
.photo-band-label {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: translateY(6px);
  transition: transform 0.35s var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.photo-band-label i { color: var(--orange); font-size: 11px; }
.photo-band-item:hover .photo-band-label { transform: translateY(0); }

/* ============================================================
   CONNECT WITH US — Social Media Section
   ============================================================ */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.connect-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: var(--t);
  background: var(--white);
}
.connect-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.connect-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: var(--white);
}
.ci-instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.ci-facebook  { background: #1877F2; }
.ci-youtube   { background: #FF0000; }
.ci-twitter   { background: #1DA1F2; }
.ci-linkedin  { background: #0A66C2; }
.ci-pinterest { background: #E60023; }
.connect-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 2px;
}
.connect-info span { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   DIGITAL ECOSYSTEM SECTION
   ============================================================ */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.eco-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eco-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.eco-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.eco-card h4 {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.eco-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.eco-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.eco-card:hover .eco-link { gap: 7px; }

/* ============================================================
   PARTNER PAGES (Gopu Traders / PublishingConsultant)
   ============================================================ */
.partner-hero {
  padding: clamp(64px,8vw,100px) 0 clamp(48px,6vw,72px);
  position: relative;
  overflow: hidden;
}
.partner-hero-orange {
  background: linear-gradient(125deg, var(--navy-dark) 0%, #1f1200 45%, #cc5a00 80%, var(--orange-dark) 100%);
  color: var(--white);
}
.partner-hero-navy {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1B2F77 100%);
  color: var(--white);
}
.partner-hero-orange::before,
.partner-hero-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.partner-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px,5vw,58px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
}
.partner-hero p {
  font-size: clamp(15px,1.8vw,17px);
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.partner-hero .label-tag { color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 0.14em; }
.partner-hero-orange .label-tag { color: rgba(255,255,255,0.7); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--t);
  border-left: 3px solid var(--orange);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--orange);
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card h3 i { color: var(--orange); font-size: 18px; }
.service-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,132,32,0.12);
}
.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 16px; right: -24px;
  background: var(--orange);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 32px;
  transform: rotate(45deg);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.pricing-price {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
  line-height: 1;
}
.pricing-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}
.pricing-feature i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

.consulting-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.consulting-model {
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  color: var(--white);
  transition: var(--t);
}
.consulting-model:hover { transform: translateY(-4px); }
.cm-navy   { background: var(--navy-dark); }
.cm-orange { background: var(--orange); }
.cm-green  { background: var(--green-dark); }
.consulting-model .cm-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  display: block;
}
.consulting-model h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.consulting-model p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.highlight-item {
  padding: 28px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
}
.highlight-num {
  font-family: var(--font-serif);
  font-size: clamp(32px,4vw,48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.highlight-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Marquee on all pages */
.page-marquee { margin-top: 0; }

/* ── Tilt card (JS-driven) ── */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s var(--ease);
}
.tilt-card:hover { box-shadow: var(--shadow-xl); }

/* ── Image clip-path scroll reveal ── */
@keyframes imgSlideIn {
  from { clip-path: inset(0 0 100% 0); opacity: 0; transform: scale(1.06); }
  to   { clip-path: inset(0 0 0% 0);   opacity: 1; transform: scale(1); }
}
.img-reveal {
  opacity: 0;
  transform: translateY(12px) scale(1.02);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.img-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Shine sweep on book cover hover ── */
.book-cover-card {
  position: relative;
  overflow: hidden;
}
.book-cover-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.14) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}
.book-cover-card:hover::after { transform: translateX(100%); }

/* ── Marquee book hover glow ── */
.marquee-book:hover {
  transform: translateY(-6px) scale(1.07);
  box-shadow: 0 12px 28px rgba(240,132,32,0.25);
}

/* ── Eco / connect card tilt ── */
.eco-card, .connect-card, .cat-card, .cat-full-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Animated gradient border on hover for key cards ── */
@keyframes borderPulse {
  0%   { border-color: var(--orange); }
  50%  { border-color: var(--navy); }
  100% { border-color: var(--orange); }
}
.eco-card:hover { animation: borderPulse 1.5s ease infinite; }

/* ── Page hero parallax ── */
.page-hero-bg {
  position: absolute;
  inset: 0;
  transform: translateZ(-1px) scale(1.2);
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ── Stagger reveal for grid items ── */
.stagger-children > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2)  { transition-delay: 0.12s; }
.stagger-children > *:nth-child(3)  { transition-delay: 0.19s; }
.stagger-children > *:nth-child(4)  { transition-delay: 0.26s; }
.stagger-children > *:nth-child(5)  { transition-delay: 0.33s; }
.stagger-children > *:nth-child(6)  { transition-delay: 0.40s; }
.stagger-children > *:nth-child(7)  { transition-delay: 0.47s; }
.stagger-children > *:nth-child(8)  { transition-delay: 0.54s; }

/* ── Awards/Images Photo Banner ── */
.photo-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  height: 300px;
  overflow: hidden;
}
.photo-band-item {
  height: 100%;
}

@media (max-width: 1024px) {
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .connect-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .consulting-model-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-band { grid-template-columns: repeat(2, 1fr); height: auto; }
  .photo-band-item { height: 200px; }
}
@media (max-width: 768px) {
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .connect-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .photo-band { grid-template-columns: repeat(2, 1fr); }
  .photo-band-item { height: 180px; }
}
@media (max-width: 480px) {
  .ecosystem-grid { grid-template-columns: 1fr; }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band-item { height: 200px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CATEGORY CARD — Per-category gradient backgrounds
   ============================================================ */
.cats-grid .cat-card:nth-child(1) {
  background: linear-gradient(148deg, #fff7ed 0%, #ffe8c8 65%, #fff3e0 100%);
  border-color: rgba(240,132,32,0.22);
}
.cats-grid .cat-card:nth-child(2) {
  background: linear-gradient(148deg, #faf5ff 0%, #ead5ff 65%, #f5eeff 100%);
  border-color: rgba(124,58,237,0.2);
}
.cats-grid .cat-card:nth-child(3) {
  background: linear-gradient(148deg, #f0fdf4 0%, #c6f4d6 65%, #e8fdf0 100%);
  border-color: rgba(34,168,75,0.22);
}
.cats-grid .cat-card:nth-child(4) {
  background: linear-gradient(148deg, #f0f9ff 0%, #b8e8ff 65%, #e0f5ff 100%);
  border-color: rgba(3,105,161,0.2);
}
.cats-grid .cat-card:nth-child(5) {
  background: linear-gradient(148deg, #fffbeb 0%, #fce08a 65%, #fff8d0 100%);
  border-color: rgba(146,64,14,0.2);
}
.cats-grid .cat-card:nth-child(6) {
  background: linear-gradient(148deg, #fff1f2 0%, #fecdd3 65%, #fff5f6 100%);
  border-color: rgba(190,24,93,0.2);
}

/* ============================================================
   FEATURED BESTSELLERS — Colored backdrop section
   ============================================================ */
.section-bestsellers {
  background:
    linear-gradient(180deg, rgba(255,246,235,0.9) 0%, rgba(255,252,248,0.95) 45%, rgba(248,250,252,0.9) 100%),
    radial-gradient(circle at 8% 8%, rgba(240,132,32,0.14), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(27,47,119,0.08), transparent 40%);
}

/* Per-card tinted backgrounds */
.olympiad-books-grid .book-cover-card:nth-child(1) {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 40%);
  border-color: rgba(240,132,32,0.22);
}
.olympiad-books-grid .book-cover-card:nth-child(2) {
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 40%);
  border-color: rgba(124,58,237,0.2);
}
.olympiad-books-grid .book-cover-card:nth-child(3) {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 40%);
  border-color: rgba(34,168,75,0.2);
}
.olympiad-books-grid .book-cover-card:nth-child(4) {
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 40%);
  border-color: rgba(27,47,119,0.2);
}

/* Per-card book image backdrop */
.olympiad-books-grid .book-cover-card:nth-child(1) .book-cover-img {
  background:
    radial-gradient(ellipse at 50% 115%, rgba(240,132,32,0.38) 0%, rgba(240,132,32,0.12) 42%, transparent 62%),
    linear-gradient(168deg, #fff7ed 0%, #ffe4bb 100%);
}
.olympiad-books-grid .book-cover-card:nth-child(2) .book-cover-img {
  background:
    radial-gradient(ellipse at 50% 115%, rgba(124,58,237,0.32) 0%, rgba(124,58,237,0.08) 42%, transparent 62%),
    linear-gradient(168deg, #faf5ff 0%, #e9d5ff 100%);
}
.olympiad-books-grid .book-cover-card:nth-child(3) .book-cover-img {
  background:
    radial-gradient(ellipse at 50% 115%, rgba(34,168,75,0.30) 0%, rgba(34,168,75,0.08) 42%, transparent 62%),
    linear-gradient(168deg, #f0fdf4 0%, #b8f0cd 100%);
}
.olympiad-books-grid .book-cover-card:nth-child(4) .book-cover-img {
  background:
    radial-gradient(ellipse at 50% 115%, rgba(27,47,119,0.28) 0%, rgba(27,47,119,0.07) 42%, transparent 62%),
    linear-gradient(168deg, #eef2ff 0%, #c7d2fe 100%);
}

/* Book base glow — appears as a coloured platform below each book */
.olympiad-books-grid .book-cover-card::before {
  content: '';
  position: absolute;
  left: 18%; right: 18%;
  top: 284px;
  height: 20px;
  border-radius: 50%;
  filter: blur(12px);
  z-index: 2;
  pointer-events: none;
}
.olympiad-books-grid .book-cover-card:nth-child(1)::before { background: rgba(240,132,32,0.50); }
.olympiad-books-grid .book-cover-card:nth-child(2)::before { background: rgba(124,58,237,0.42); }
.olympiad-books-grid .book-cover-card:nth-child(3)::before { background: rgba(34,168,75,0.40); }
.olympiad-books-grid .book-cover-card:nth-child(4)::before { background: rgba(27,47,119,0.38); }

@media (max-width: 1024px) {
  .olympiad-books-grid .book-cover-card::before { top: 264px; }
}
@media (max-width: 480px) {
  .olympiad-books-grid .book-cover-card::before { top: 194px; }
}

/* Bottom marquee strip — when placed above footer */
.book-marquee-bottom {
  margin-bottom: 0;
  border-top: 1px solid rgba(27,47,119,0.08);
  border-bottom: none;
}

/* ============================================================
   MOBILE OVERFLOW FIXES — must stay last in this file.
   Several components below (gallery hero, mosaic, director
   cards) have their unconditional base rules declared further
   up the file than their own mobile @media overrides, so the
   base rule was winning the cascade and the page overflowed
   horizontally on phones. Re-declaring the same overrides here
   guarantees they always win, without touching the rules above.
   ============================================================ */
@media (max-width: 768px) {
  .director-card { flex-direction: column; align-items: center; text-align: center; }
  .gallery-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .gallery-hero-mosaic {
    height: 340px;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .mosaic-item-a { grid-column: 1; grid-row: 1 / 3; }
  .mosaic-item-b { grid-column: 2; grid-row: 1; }
  .mosaic-item-c { grid-column: 2; grid-row: 2; }
  .mosaic-item-d,
  .mosaic-item-e,
  .mosaic-item-f,
  .mosaic-item-g,
  .mosaic-item-i { display: none; }
  .gallery-h1 { font-size: clamp(32px, 6vw, 48px); }
  .gallery-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-proof-strip { gap: 8px; }
  .proof-chip {
    font-size: 11px;
    padding: 7px 10px;
    color: rgba(255,255,255,0.95);
    background: rgba(10,22,40,0.42);
  }
}
@media (max-width: 480px) {
  .gallery-hero-mosaic { display: none; }
}
html { overflow-x: hidden; max-width: 100%; }
body { max-width: 100%; }

/* ============================================================
   CATALOGUE FLIPBOOK EMBED
   ============================================================ */
.catalogue-embed {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(27,47,119,0.09);
  box-shadow: 0 22px 48px rgba(15,23,42,0.12);
}
.catalogue-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--gray-100, #f1f5f9);
}
.catalogue-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.catalogue-embed-actions {
  text-align: center;
  margin-top: 28px;
}
@media (max-width: 640px) {
  .catalogue-embed-frame { aspect-ratio: 4 / 5; }
}
