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

:root {
  --deep:       #09243e;
  --navy:       #111827;
  --indigo:     #1E2A5E;
  --indigo2:    #2D3F8A;
  --gold:       #C9933A;
  --gold2:      #E8B254;
  --gold-pale:  #FBF3E3;
  --crimson:    #8B1A1A;
  --teal:       #0D6E6E;
  --teal2:      #12908E;
  --emerald:    #0A4A3A;
  --white:      #FFFFFF;
  --cream:      #FAF8F3;
  --cream2:     #F2EEE4;
  --text:       #1C1917;
  --text2:      #44403C;
  --text3:      #78716C;
  --border:     #E8E3D8;
  --shadow-sm:  0 2px 12px rgba(12,15,30,.08);
  --shadow-md:  0 8px 32px rgba(12,15,30,.14);
  --shadow-lg:  0 20px 60px rgba(12,15,30,.20);
  --r:          10px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ━━━━━━━━━━━━━━━━ TOPBAR ━━━━━━━━━━━━━━━━ */
.topbar {
  background: #0d1220;
  padding: 5px 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: #ffffff;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 5px; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-right a { color: #9CA3AF; text-decoration: none; transition: color .2s; }
.topbar-right a:hover { color: var(--gold2); }
.tb-divider { color: #375138; }

/* ━━━━━━━━━━━━━━━━ HEADER ━━━━━━━━━━━━━━━━ */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 300;
  box-shadow: 0 2px 16px rgba(12,15,30,.07);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; height: 68px;
}
.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-emblem {
  width: 44px; height: 44px; position: relative;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-emblem svg { width: 44px; height: 44px; }
.logo-text-wrap { line-height: 1.1; }
.logo-name {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 19px;
  color: var(--deep); letter-spacing: .04em;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--deep) 60%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-tagline {
  font-size: 10px; font-weight: 700; color: var(--gold);
  letter-spacing: .1em; text-transform: uppercase;
  font-family: 'Noto Serif Devanagari', serif;
}

/* NAV */
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; flex-wrap: wrap; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 13px; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: #100b49;
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap; min-height: 44px;
}
.nav-link:hover { background: var(--cream); color: #8B1A1A; }
.nav-link.active { color: var(--indigo); font-weight: 600; }

/* ================================
   WEBSITE ZOOM CONTROLS
================================ */



/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer;
  margin-left: auto; padding: 8px; border-radius: 8px;
  transition: background .15s;
}
.hamburger:hover { background: var(--cream); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV DRAWER */
.mobile-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 299; overflow-y: auto;
  padding: 16px 20px 32px; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 16px; padding: 14px 16px; border-radius: 10px;
  border: 1px solid transparent; min-height: 52px;
}
.mobile-nav .nav-link:hover { border-color: var(--border); background: var(--cream); }

/* ━━━━━━━━━━━━━━━━ HERO ━━━━━━━━━━━━━━━━ */
.hero {
  position: relative; overflow: hidden; min-height: 90vh;
  display: flex; align-items: center;
  background: var(--deep);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(30,42,94,.9) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(13,110,110,.25) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(139,26,26,.15) 0%, transparent 50%),
    linear-gradient(160deg, #090C18 0%, #111827 50%, #0C1A2E 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .04;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute; right: -100px; top: -100px; z-index: 0;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,147,58,.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-deco {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  z-index: 1; opacity: .04;
  font-family: 'Cormorant Garamond', serif; font-size: 220px; font-weight: 700;
  color: #fff; line-height: 1; pointer-events: none; user-select: none;
  letter-spacing: -.02em;
}

.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 72px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; position: relative; z-index: 2; width: 100%;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,147,58,.12); border: 1px solid rgba(201,147,58,.3);
  color: var(--gold2); border-radius: 20px; padding: 6px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold2); animation: pulse 3s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }

.hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.2rem); color: #fff; line-height: 1.12;
  margin-bottom: 20px; letter-spacing: -.01em;
}
.hero h1 em { font-style: italic; color: var(--gold2); }
.hero h1 span { display: block; }

.hero-sub {
  font-size: 15px; color: #ffffff; line-height: 1.75;
  max-width: 500px; margin-bottom: 32px; font-weight: 300;
}

.hero-boards {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.board-chip {
  padding: 7px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; border: 1px solid; min-height: 34px;
  display: inline-flex; align-items: center;
}
.bc-cbse  { background: rgba(0, 0, 0, 0.5);  border-color: rgba(255, 255, 255, 0.5); color: #f4f4f4; }
.bc-icse  { background: rgba(6, 4, 68, 0.3); border-color: rgba(20,160,158,.4); color: #5EEAD4; }
.bc-ib    { background: rgba(139,26,26,.3);  border-color: rgba(200,50,50,.35); color: #FCA5A5; }
.bc-eng   { background: rgba(201,147,58,.15);border-color: rgba(201,147,58,.35);color: var(--gold2); }
.bc-comp  { background: rgba(10,74,58,.4);   border-color: rgba(16,120,90,.4); color: #6EE7B7; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  padding: 14px 28px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: var(--deep); font-weight: 800; font-size: 15px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 24px rgba(201,147,58,.4); transition: all .2s; min-height: 48px;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201,147,58,.5); }
.btn-hero-secondary {
  padding: 14px 24px; border-radius: 9px;
  background: rgba(255,255,255,.07); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  font-weight: 600; font-size: 15px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s; min-height: 48px;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }

/* HERO VISUAL */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  background: rgba(255,255,255,.05); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px;
}
.hero-card-title {
  font-family: 'Cormorant Garamond', serif  ; font-size: 20px; color: var(--gold2);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 14px 12px;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-size: 1.5rem; color: #fff; line-height: 1.2; margin-bottom: 6px;
}
.stat-num .plus { color: var(--gold2); }
.stat-label { font-size: 11px; color: #6B7280; font-weight: 500; letter-spacing: .02em; }

/* TRUST BOX */
.trust-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}
.icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: #ffbf43;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.small-text {
  margin: 0; color: #ffffff;
  font-size: clamp(16px, 2.5vw, 16px);
}
.trust-content h2 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(16px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}
.description {
  margin: 0; color: #ffffff;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.6;
}

/* ━━━━━━━━━━━━━━━━ BOARD STRIP ━━━━━━━━━━━━━━━━ */



/* ━━━━━━━━━━━━━━━━ SECTION WRAPPERS ━━━━━━━━━━━━━━━━ */
.section { max-width: 1280px; margin: 0 auto; padding: 64px 24px; }
.section-sm { max-width: 1280px; margin: 0 auto; padding: 40px 24px; }
.sec-eyebrow {
  font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #b59e28 ; margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.sec-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }
.sec-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--text); line-height: 1.2; margin-bottom: 14px;
}
.sec-title em { font-style: italic; color: var(--indigo); }
.sec-sub { font-size: 15px; color: var(--text3); line-height: 1.7; max-width: 560px; }
.sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 14px; }
.see-all {
  font-size: 13px; font-weight: 600; color: var(--indigo);
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  transition: gap .2s; white-space: nowrap;
  min-height: 44px; align-self: center;
}
.see-all:hover { gap: 9px; }

/* ━━━━━━━━━━━━━━━━ PROGRAMS GRID ━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━ FEATURES ━━━━━━━━━━━━━━━━ */
.features-bg { background: var(--white); }
.feat-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.feat-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.feat-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px; border-radius: 11px; border: 1px solid var(--border);
  transition: border-color .2s, background .2s, transform .2s;
}
.feat-item:hover { border-color: var(--indigo); background: var(--cream); transform: translateX(4px); }
.fi-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.fi-i { background: #EEF2FF; }
.fi-g { background: #ECFDF5; }
.fi-o { background: #FFF7ED; }
.fi-r { background: #FEF2F2; }
.fi-title { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 3px; }
.fi-desc { font-size: 13px; color: var(--text3); line-height: 1.5; }

.feat-right { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat-stat-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 18px; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.feat-stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-stat-card.dark {
  background: var(--deep); border-color: rgba(255,255,255,.08);
}
.feat-stat-card.dark .fsc-num { color: var(--gold2); }
.feat-stat-card.dark .fsc-label { color: #6B7280; }
.feat-stat-card.accent {
  background: linear-gradient(135deg, var(--indigo), var(--indigo2));
  border-color: transparent; grid-column: span 2;
}
.feat-stat-card.accent .fsc-num { color: var(--gold2); }
.feat-stat-card.accent .fsc-label { color: rgba(255,255,255,.6); }
.fsc-icon { font-size: 26px; margin-bottom: 10px; }
.fsc-num {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem); color: var(--indigo); line-height: 1; margin-bottom: 6px;
}
.fsc-label { font-size: 12px; color: var(--text3); font-weight: 500; }

/* ━━━━━━━━━━━━━━━━ SUBJECTS ━━━━━━━━━━━━━━━━ */
.subjects-bg { background: linear-gradient(180deg, var(--cream) 0%, var(--cream2) 100%); }
.subj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.subj-card {
  background: var(--white); border: 2px solid var(--border); border-radius: 12px;
  padding: 25px 15px; text-align: center; text-decoration: none; color: inherit;
  transition: all .22s; display: block;
}
.subj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.subj-icon {
  width: 60px; height: 50px; border-radius: 12px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.si-blue    { background: #EEF2FF; }
.si-green   { background: #ECFDF5; }
.si-amber   { background: #FFFBEB; }
.si-red     { background: #FEF2F2; }
.si-purple  { background: #F5F3FF; }
.si-teal    { background: #F0FDFA; }
.si-rose    { background: #FFF1F2; }
.si-indigo  { background: #EEF2FF; }
.subj-name { font-family: 'Cormorant Garamond', serif; font-weight: 800; font-size: 20px; color: var(--text); margin-bottom: 2px; }
.subj-count { font-size: 11.5px; color: var(--text3); }

/* ━━━━━━━━━━━━━━━━ RESOURCES ━━━━━━━━━━━━━━━━ */
.resources-bg { background: var(--white); }
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.res-card {
  background: var(--white); border: 2px solid var(--border); border-radius: 12px;
  padding: 25px 15px; text-align: center; text-decoration: none; color: inherit;
  transition: all .2s;
}
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--white); border-color: var(--gold); }
.rc-icon-wrap {
  width: 52px; height: 52px; border-radius: 13px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.rci-gold   { background: #FBF3E3; }
.rci-blue   { background: #EEF2FF; }
.rci-green  { background: #ECFDF5; }
.rci-red    { background: #FEF2F2; }  
.rci-purple { background: #F5F3FF; }
.rci-teal   { background: #F0FDFA; }
.rci-amber  { background: #FFFBEB; }
.rci-grey   { background: #F9FAFB; }
.rc-title { font-family: 'Cormorant Garamond', serif; font-weight: 800; font-size: 20px; color: var(--text); margin-bottom: 5px; }
.rc-desc { font-size: 13px; color: var(--text3); line-height: 1.5; }

/* ━━━━━━━━━━━━━━━━ CTA ━━━━━━━━━━━━━━━━ */
.cta-section { padding: 0 24px 72px; }
.cta-banner {
  max-width: 1280px; margin: 0 auto;
  background: linear-gradient(135deg, var(--indigo) 0%, #2D3F8A 50%, var(--indigo) 100%);
  border-radius: 20px; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,147,58,.15) 0%, transparent 70%);
}
.cta-banner::after {
  content: ''; position: absolute; left: -40px; bottom: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
}
.cta-text { position: relative; z-index: 1; flex: 1; min-width: 200px; }
.cta-text h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.6rem); color: #fff; margin-bottom: 10px; line-height: 1.2;
}
.cta-text h2 em { font-style: italic; color: var(--gold2); }
.cta-text p { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.7; max-width: 440px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-cta-main {
  padding: 14px 28px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--deep); font-weight: 700; font-size: 15px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(201,147,58,.4); transition: all .2s; min-height: 48px;
}
.btn-cta-main:hover { transform: translateY(-2px); }
.btn-cta-ghost {
  padding: 14px 24px; border-radius: 9px; background: rgba(255,255,255,.08);
  color: #fff; border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: 15px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s; min-height: 48px;
}
.btn-cta-ghost:hover { background: rgba(255,255,255,.14); }

/* ━━━━━━━━━━━━━━━━ FOOTER ━━━━━━━━━━━━━━━━ */
footer { background: var(--deep); color: #ffffff; }
.footer-top {
  max-width: 1400px; margin: 0 auto; padding: 40px 35px;
  display: grid; grid-template-columns: 1.5fr 1fr 0.5fr 1fr 2fr; gap: 30px;
}
.footer-brand-name {
  font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800;
  color: #fff; letter-spacing: .03em; margin-bottom: 10px;
}
.footer-brand-tag { font-size: 14px; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.footer-brand p { font-size: 15px; color: #d1d5db; line-height: 1.7; max-width: 260px; }
.footer-boards { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.fb-tag {
  font-size: 10.5px; padding: 3px 9px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1); color: #d1d5db;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px;
  color: #D1D5DB; margin-bottom: 14px; letter-spacing: .03em;
}
.footer-col a {
  display: block; font-size: 13px; color: #ffffff; text-decoration: none;
  margin-bottom: 10px; transition: color .15s; min-height: 28px;
}
.footer-col a:hover { color: var(--gold2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 24px; max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #fefeff;
}
.footer-bottom strong { color: var(--gold2); }

/* ===== Marquee strip ===== */
  .strip{
    border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);
    position: sticky;
    background:var(--paper-deep);
    overflow:hidden;padding:10px 0;
  }
  .strip .track{
    display:flex;gap:48px;white-space:nowrap;
    font-family:'Inter',monospace;font-size:0.9rem;font-weight:400;color:var(--ink-soft);
    animation:scroll 25s linear infinite;
    width:max-content;
  }
  .strip .track span{display:flex;align-items:center;gap:10px;}
  .strip .track span::before{content:"●";color:var(--saffron-deep);font-size:.5rem;}
  @keyframes scroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}
  @media (prefers-reduced-motion: reduce){.strip .track{animation:none;}}



/* ━━━━━━━━━━━━━━━━ SCROLL REVEAL ━━━━━━━━━━━━━━━━ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-l { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.reveal-l.visible { opacity: 1; transform: translateX(0); }
.reveal-r { opacity: 0; transform: translateX(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal-r.visible { opacity: 1; transform: translateX(0); }

/* ━━━━━━━━━━━━━━━━ RESPONSIVE BREAKPOINTS ━━━━━━━━━━━━━━━━ */

/* Tablet landscape: 1100px */
@media(max-width:1100px) {
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}

/* Tablet portrait: 960px */
@media(max-width:960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { display: none; }
  .feat-layout { grid-template-columns: 1fr; gap: 36px; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

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

  .header-inner { padding: 0 16px; }
  .logo-name { font-size: 15px; }
  .logo-tagline { display: none; }

  .hero { min-height: auto; }
  .hero-inner { padding: 48px 16px 52px; grid-template-columns: 1fr; }
  .hero-deco { display: none; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 14px; margin-bottom: 24px; }
  .hero-boards { gap: 6px; margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }

  .section { padding: 44px 16px; }
  .section-sm { padding: 28px 16px; }
  .sec-header { margin-bottom: 24px; }

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

  .cta-section { padding: 0 12px 48px; }
  .cta-banner { padding: 32px 22px; gap: 24px; border-radius: 14px; }
  .cta-text h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .btn-cta-main, .btn-cta-ghost { width: 100%; justify-content: center; }
  .cta-actions { width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 32px 16px; }
  .footer-bottom { padding: 16px; font-size: 12px; }

  .feat-right { grid-template-columns: 1fr 1fr; }
  .feat-stat-card.accent { grid-column: span 2; }
}

/* Small mobile: 480px */
@media(max-width:480px) {
  .hero-inner { padding: 36px 14px 44px; }
  .board-chip { font-size: 11px; padding: 6px 12px; }

  .subj-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .subj-card { padding: 16px 10px; }
  .subj-icon { width: 42px; height: 42px; font-size: 20px; }
  .subj-name { font-size: 13px; }

  .res-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .res-card { padding: 16px 12px; }
  .rc-icon-wrap { width: 44px; height: 44px; font-size: 22px; }
  .rc-title { font-size: 13px; }
  .rc-desc { font-size: 11px; }

  .feat-right { grid-template-columns: 1fr; }
  .feat-stat-card.accent { grid-column: span 1; }

  .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-num { font-size: 1.1rem; }

  .trust-box { padding: 14px 14px; gap: 12px; }
  .icon { width: 40px; height: 40px; font-size: 20px; }

  .cta-banner { padding: 24px 16px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: span 2; }
}

/* Very small: 360px */
@media(max-width:360px) {
  .logo-name { font-size: 13px; }
  .logo-emblem { width: 36px; height: 36px; }
  .logo-emblem svg { width: 36px; height: 36px; }
  .subj-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .res-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* Social links */

.social-connect{

    margin-top:40px;
    text-align:center;

}

.social-connect h3{

    margin-bottom:25px;
    font-size:1.7rem;

}

.social-links{

    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;

}

.social-links a{

    display:flex;
    align-items:center;
    gap:10px;

    text-decoration:none;

    color:#fff;

    padding:14px 22px;

    border-radius:50px;

    font-size:14px;
    font-weight:600;

    transition:.3s;

}

.social-links a i{

    font-size:22px;

}

.instagram{

    background:linear-gradient(45deg,#f58529,#feda77,#dd2a7b,#8134af,#515bd4);

}

.whatsapp{

    background:#25D366;

}

.facebook{

    background:#1877F2;

}

.youtube{

    background:#FF0000;

}

.social-links a:hover{

    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.18);

}


/* ===== Latest News & Articles ===== */

.latest-news{
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 5 cards per row */
    gap: 20px;
    margin: 30px 45px;
}

.latest-news h2{
    grid-column: 1 / -1; /* Heading spans full row */
}

.news-card{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #222;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 10px;
    transition: .3s;
    width: 100%;
    box-sizing: border-box;
}

.news-card:hover{
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

.news-card img{
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.news-card h3{
    margin: 12px 0 8px;
    font-size: 1rem;
    line-height: 1.4;
}

.news-card p{
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Whats App icon */
 .floating-whatsapp {
        position: fixed;
        right: 20px;
        bottom: 20px;
        width: 60px;
        height: 60px;

        background: #25D366;
        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        text-decoration: none;

        z-index: 999999;

        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);

        transition: transform 0.3s ease,
                    box-shadow 0.3s ease;
    }

    .floating-whatsapp:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    }

    .floating-whatsapp svg {
        display: block;
    }

    @media (max-width: 600px) {
        .floating-whatsapp {
            width: 54px;
            height: 54px;
            right: 15px;
            bottom: 15px;
        }

        .floating-whatsapp svg {
            width: 29px;
            height: 29px;
        }
    }


/* Tablet */
@media (max-width: 1200px){
    .latest-news{
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Small Tablet */
@media (max-width: 992px){
    .latest-news{
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px){
    .latest-news{
        grid-template-columns: repeat(2, 1fr);
        margin: 20px;
    }

    .news-card img{
        height: 130px;
    }
}

/* Small Mobile */
@media (max-width: 480px){
    .latest-news{
        grid-template-columns: 1fr;
    }

    .news-card img{
        height: 180px;
    }
}




/* =========================
       :root{
        --sa-primary:#173b73;
        --sa-primary-dark:#102b55;
        --sa-accent:#f5b83d;
        --sa-bg:#f4f7fb;
        --sa-card:#ffffff;
        --sa-text:#172033;
        --sa-muted:#667085;
        --sa-border:#e3e8f0;
        --sa-user:#173b73;
        --sa-bot:#f1f5fa;
        --sa-shadow:0 18px 50px rgba(16,43,85,.16);
    }

    *{box-sizing:border-box}


    /* ==============================
   HOME TUITION ADVERTISEMENT
   ============================== */


/* Homepage reveal delay utilities */
.reveal-delay-1 { transition-delay: .05s; }
.reveal-delay-2 { transition-delay: .10s; }
.reveal-delay-3 { transition-delay: .15s; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE IMAGE SAFETY
   Prevents images from overflowing or distorting layouts,
   especially on mobile screens.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* Images with HTML width/height attributes must preserve their aspect ratio. */
img[width][height] {
    height: auto;
}

/* Never allow an image to create horizontal page overflow. */
figure,
picture {
    max-width: 100%;
    box-sizing: border-box;
}

picture img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    img {
        max-width: 100%;
    }
}
