/* ==========================================================================
   RISE Institute – Main Stylesheet
   Palette: Navy #00204A | Blue #01326E | Gold #FFC629 | Light #F9FBFE | Heading #082D59
   ========================================================================== */
:root {
  --navy: #00204A;
  --blue: #01326E;
  --gold: #FFC629;
  --gold-dark: #E8A400;
  --gold-light: #FFE27A;
  --light: #F9FBFE;
  --white: #FFFFFF;
  --heading: #082D59;
  --text: #1d2f4f;
  --muted: #5a6b86;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(0, 32, 74, .08);
  --shadow: 0 12px 34px rgba(0, 32, 74, .14);
  --shadow-lg: 0 24px 60px rgba(0, 32, 74, .22);
  --grad-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
  --grad-navy: linear-gradient(135deg, var(--blue) 0%, var(--navy) 65%, #001634 100%);
  --font: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-hand: "Caveat", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
.text-gold { color: var(--gold) !important; }
.section { padding: 64px 0; position: relative; }

/* ---------- Loader ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy);
  display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s;
}
.page-loader img { width: 110px; background: #fff; border-radius: 18px; padding: 8px; animation: pulse 1.2s ease-in-out infinite; }
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(1.08); } }

/* ---------- Buttons ---------- */
.btn-gold, .btn-white, .btn-navy, .btn-outline-navy {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .98rem; border-radius: 999px; border: 0;
  padding: .78rem 1.6rem; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn-gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 8px 22px rgba(255, 198, 41, .38); }
.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-navy { background: var(--grad-navy); color: #fff; box-shadow: 0 8px 20px rgba(0, 32, 74, .3); }
.btn-outline-navy { background: transparent; color: var(--heading); border: 2px solid var(--heading); }
.btn-outline-navy:hover { background: var(--heading); color: #fff; }
.btn-outline-navy .bi { transition: transform .3s; }
.btn-outline-navy[aria-expanded="true"] .bi { transform: rotate(180deg); }
.btn-gold::after, .btn-white::after, .btn-navy::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-gold:hover::after, .btn-white:hover::after, .btn-navy:hover::after { left: 140%; }
.btn-gold:hover, .btn-white:hover, .btn-navy:hover { transform: translateY(-3px); color: inherit; }
.btn-gold:hover { color: var(--navy); box-shadow: 0 14px 30px rgba(255, 198, 41, .5); }
.btn-navy:hover { color: #fff; }
.btn-gold .bi-arrow-right, .btn-white .bi-arrow-right, .btn-navy .bi-arrow-right { transition: transform .35s var(--ease); }
.btn-gold:hover .bi-arrow-right, .btn-white:hover .bi-arrow-right, .btn-navy:hover .bi-arrow-right { transform: translateX(5px); }
.btn-sm-gold { padding: .48rem 1.15rem; font-size: .84rem; }
.btn-lg-gold { padding: 1rem 2.2rem; font-size: 1.25rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: .86rem; padding: 7px 0; position: relative; z-index: 1031; }
.topbar-link { color: #fff; display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; transition: color .25s; }
.topbar-link .bi { font-size: .95rem; }
.topbar-link:hover { color: var(--gold); }
.topbar-sep { opacity: .5; }
.topbar-social {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; font-size: .8rem; transition: transform .3s var(--ease), background .3s;
}
.topbar-social:hover { background: var(--gold); transform: translateY(-2px) rotate(-8deg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px); transition: box-shadow .35s, padding .35s;
  border-bottom-right-radius: 60px;
}
.site-header .navbar { padding: 10px 0; transition: padding .35s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 32, 74, .12); }
.site-header.is-scrolled .navbar { padding: 4px 0; }
.brand-logo { height: 70px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 50px; }
.main-nav .nav-link {
  color: var(--heading); font-weight: 600; font-size: .82rem; padding: .5rem .55rem !important; position: relative;
}
.main-nav .nav-link::after {
  content: ""; position: absolute; left: .55rem; right: .55rem; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--navy); }
.main-nav .dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: .7rem; vertical-align: 0; position: static; display: inline; background: none; transform: none; height: auto; margin-left: .3rem; }
.rise-dropdown { border: 0; border-top: 3px solid var(--gold); border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; animation: dropIn .3s var(--ease); }
.rise-dropdown .dropdown-item { border-radius: 8px; font-weight: 500; color: var(--heading); padding: .55rem .9rem; }
.rise-dropdown .dropdown-item:hover { background: var(--light); color: var(--navy); padding-left: 1.15rem; transition: padding .25s; }
@keyframes dropIn { from { opacity: 0; transform: translateY(8px); } }
.btn-enroll { padding: .8rem 1.7rem; font-size: 1.02rem; }

.hamburger { border: 0; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; background: var(--navy); border-radius: 10px; box-shadow: none !important; }
.hamburger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s; }
.hamburger span:nth-child(2) { width: 70%; margin-left: auto; }
.mobile-nav { background: var(--grad-navy); color: #fff; }
.mobile-nav .offcanvas-header img { background: #fff; border-radius: 10px; padding: 4px; }
.mobile-nav .offcanvas-body > a:not(.btn-gold) { display: block; color: #fff; font-weight: 600; font-size: 1.1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); transition: color .25s, padding .25s; }
.mobile-nav .offcanvas-body > a:not(.btn-gold):hover { color: var(--gold); padding-left: 8px; }
.mobile-login { color: var(--gold); font-weight: 600; font-size: .9rem; border: 1px solid rgba(255, 198, 41, .5); border-radius: 999px; padding: .4rem .9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(415px, 65vw, 755px);
  background: #000;
  overflow: hidden;
  margin-top: -40px;
  padding-top: 40px;
}

/* Full-bleed slider covers the whole banner */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }

/* Dark gradient over the full image so text is readable — removed */

/* Thin vertical gold accent bar on left */
.hero-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px; height: 100%; z-index: 2;
  pointer-events: none;
}
.hero-gold-bar {
  animation: goldBarIn 1.4s .3s var(--ease) both;
}
@keyframes goldBarIn {
  from { transform: scaleY(0); transform-origin: top; }
  to   { transform: scaleY(1); transform-origin: top; }
}

.hero-shape { display: none; } /* remove old curved SVG panel */

.gold-sweep { stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawLine 2.2s .4s var(--ease) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* hero glow removed */

.hero-content {
  position: relative; z-index: 2;
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: 130px;
}
.hero-copy { max-width: 580px; color: #fff; }
.hero-script {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; margin: 0; color: #fff;
}
.hero-script--indent { padding-left: clamp(30px, 4vw, 56px); }
.hero-title { margin: .4rem 0 .7rem; font-weight: 800; line-height: .95; letter-spacing: -.02em; }
.hero-title .line { display: block; font-size: clamp(3.4rem, 7.6vw, 6.6rem); }
.hero-title .line-sm { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-top: .1em; }
.hero-title em { font-style: italic; text-shadow: 0 6px 30px rgba(255,198,41,.35); }
.hero-tags { font-size: clamp(.95rem, 1.3vw, 1.15rem); font-weight: 600; margin-bottom: 1.6rem; }
.hero-tags span { color: rgba(255,255,255,.55); margin: 0 .35rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }

.btn-play { display: inline-flex; align-items: center; gap: .8rem; color: #fff; font-weight: 600; background: none; border: 0; padding: 0; }
.play-ring { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: 1.5rem; position: relative; transition: background .3s, color .3s; }
.play-ring::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); animation: ripple 2s ease-out infinite; }
@keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.btn-play:hover .play-ring { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.hero-dots {
  position: absolute; z-index: 3;
  bottom: 88px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: rgba(255,255,255,.5); padding: 0; transition: width .4s var(--ease), background .3s; }
.hero-dots button.is-active { width: 28px; background: var(--gold); }

.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 110px; z-index: 2; }

/* ---------- Highlights ---------- */
.highlights-wrap { position: relative; z-index: 5; margin-top: -78px; }
.highlights { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 18px 10px; }
.highlight { text-align: center; padding: 10px 12px; color: var(--heading); font-weight: 700; font-size: 1.05rem; line-height: 1.25; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.highlight + .highlight::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: linear-gradient(transparent, #cfd8e6, transparent); }
.highlight .bi { font-size: 2.1rem; color: var(--navy); margin-bottom: 6px; transition: transform .5s var(--ease), color .3s; }
.highlight:hover .bi { transform: translateY(-6px) rotateY(360deg); color: var(--gold-dark); }
.highlight strong { font-weight: 800; }

/* ---------- Section heading ---------- */
.section-head { text-align: center; margin-bottom: 26px; }
.section-title { display: flex; align-items: center; justify-content: center; gap: 18px; font-weight: 800; color: var(--heading); font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 0; letter-spacing: -.01em; }
.title-line { flex: 0 0 auto; width: clamp(40px, 10vw, 110px); height: 4px; border-radius: 4px; background: var(--grad-gold); position: relative; overflow: hidden; }
.title-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #fff, transparent); animation: shimmer 2.8s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.section-sub { color: var(--heading); font-weight: 600; margin: 4px 0 0; }

/* ---------- About Us ---------- */
.about { background: #fff; position: relative; overflow: hidden; }
.about::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,198,41,.13) 0%, transparent 70%);
  animation: floatOrb 10s ease-in-out infinite;
  pointer-events: none;
}
.about::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,50,110,.09) 0%, transparent 70%);
  animation: floatOrb 13s ease-in-out infinite reverse;
  pointer-events: none;
}

/* Circular image wrap with animated arc rings */
.about-img-wrap {
  position: relative;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img {
  position: relative; z-index: 2;
  width: 100%;
  max-height: 560px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 1 / 1;
  box-shadow: 0 20px 60px rgba(0,32,74,.22);
}

/* Animated arc rings */
.arc-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.arc-ring--1 {
  inset: 0;
  border: 3px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  animation: arcSpin1 4s linear infinite;
}
.arc-ring--2 {
  inset: -14px;
  border: 2.5px solid transparent;
  border-bottom-color: rgba(255,198,41,.55);
  border-left-color: rgba(255,198,41,.55);
  animation: arcSpin2 6s linear infinite;
}
.arc-ring--3 {
  inset: -28px;
  border: 2px solid transparent;
  border-top-color: rgba(255,198,41,.25);
  border-right-color: rgba(255,198,41,.25);
  animation: arcSpin1 10s linear infinite reverse;
}
@keyframes arcSpin1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes arcSpin2 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

.about-badge {
  position: absolute;
  bottom: 10px; left: 0px;
  z-index: 3;
  background: var(--navy); color: #fff;
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 90px;
  box-shadow: var(--shadow);
}
.about-badge i { font-size: 1.5rem; color: var(--gold); margin-bottom: 4px; }
.about-badge strong { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.about-badge span { font-size: .72rem; opacity: .8; text-align: center; margin-top: 2px; }

/* Why frame also circular */
.why-frame {
  position: relative;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-frame .frame-img {
  position: relative; z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  box-shadow: 0 20px 60px rgba(0,32,74,.22);
}
.why-frame .frame-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* old about-img-wrap rules superseded by new circular styles above */
.about-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.about-heading { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--heading); line-height: 1.25; margin-bottom: 18px; }
.about-para { color: #4a5568; font-size: .97rem; line-height: 1.75; margin-bottom: 14px; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.about-feat { display: flex; align-items: center; gap: 8px; background: var(--light); border-radius: 8px; padding: 10px 14px; font-size: .88rem; font-weight: 600; color: var(--heading); border: 1px solid #e8edf4; }
.about-feat i { font-size: 1.1rem; color: var(--navy); flex-shrink: 0; }
@media (max-width: 575px) {
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .about-badge { left: 0; bottom: -12px; }
}

/* ---------- Courses ---------- */
.courses {
  padding-top: 46px; padding-bottom: 30px;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f4f8ff 0%, #fff 40%, #fffbf0 100%);
}

/* Large decorative ring top-right */
.courses::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 40px solid rgba(255,198,41,.08);
  animation: spinRing 30s linear infinite;
  pointer-events: none;
}
@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.course-card { position: relative; display: flex; align-items: stretch; min-height: 170px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transform-style: preserve-3d; transition: box-shadow .4s var(--ease); height: 100%; }
.course-card:hover { box-shadow: var(--shadow-lg); }
.course--navy { background: var(--grad-navy); color: #fff; }
.course--gold { background: var(--grad-gold); color: var(--navy); }
.course--image { color: #fff; background: var(--navy); }
.course-media { flex: 0 0 38%; position: relative; overflow: hidden; }
.course-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.course-card:hover .course-media img { transform: scale(1.1); }
.course-media::after { content: ""; position: absolute; inset: 0; }
.course--navy .course-media::after { background: linear-gradient(90deg, transparent 55%, var(--navy)); }
.course--gold .course-media::after { background: linear-gradient(90deg, transparent 55%, var(--gold)); }
.course--image .course-media { position: absolute; inset: 0; }
.course--image .course-media::after { background: linear-gradient(90deg, rgba(0, 32, 74, .35), rgba(0, 32, 74, .92) 55%); }
.course-body { position: relative; z-index: 1; padding: 22px 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; flex: 1; transform: translateZ(30px); }
.course--image .course-body { margin-left: 38%; }
.course-body h3 { font-size: 1.32rem; font-weight: 700; margin: 0 0 4px; }
.course-body p { font-size: .96rem; margin: 0 0 14px; opacity: .92; }
.course-extra { display: none; }
.course-grid.show-all .course-extra { display: block; animation: cardIn .7s var(--ease) both; }
.course-grid.show-all .course-extra:nth-child(5) { animation-delay: .08s; }
.course-grid.show-all .course-extra:nth-child(6) { animation-delay: .16s; }
.course-grid.show-all .course-extra:nth-child(7) { animation-delay: .24s; }
.course-grid.show-all .course-extra:nth-child(8) { animation-delay: .32s; }
.course-grid.show-all .course-extra:nth-child(9) { animation-delay: .4s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }

/* ---------- Course List Cards (full grid) ---------- */
.course-list-grid { margin-top: 10px; }
.course-list-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #e4eaf3;
  border-radius: 12px;
  padding: 18px 16px;
  cursor: pointer;
  transition: box-shadow .3s ease, border-color .3s ease, transform .25s ease;
  height: 100%;
  position: relative;
}
.course-list-card:hover {
  box-shadow: 0 8px 28px rgba(0,32,74,.13);
  border-color: var(--navy);
  transform: translateY(-3px);
}
.course-list-card.clc--gold { border-color: #ffc62940; }
.course-list-card.clc--gold:hover { border-color: var(--gold); box-shadow: 0 8px 28px rgba(255,198,41,.18); }
.course-list-card.clc--blue { border-color: #01326e30; }
.course-list-card.clc--blue:hover { border-color: var(--navy); }
.clc-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid #e4eaf3; background: #f9fbfe; display: flex; align-items: center; justify-content: center; }
.clc-icon img { width: 100%; height: 100%; object-fit: cover; }
.clc-body { flex: 1; min-width: 0; }
.clc-class {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e63946;
  margin-bottom: 4px;
}
.clc--gold .clc-class { color: #d48806; }
.clc--blue .clc-class { color: var(--navy); }
.clc-title {
  font-size: .97rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  line-height: 1.35;
}
.course-list-card:hover .clc-title { color: var(--navy); }
.clc-arrow {
  font-size: 1.3rem;
  color: #c8d4e6;
  flex-shrink: 0;
  transition: color .25s, transform .25s;
}
.course-list-card:hover .clc-arrow { color: var(--navy); transform: translateX(3px); }
.clc--gold:hover .clc-arrow { color: var(--gold); }



/* ---------- Upcoming Batches ---------- */
.batches {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #00204A 0%, #01326E 50%, #00204A 100%);
}

/* Gold glow blobs */
.batches::after {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,198,41,.18) 0%, transparent 65%);
  animation: floatOrb 12s ease-in-out infinite;
  pointer-events: none;
}
/* Override text for dark bg */
.batches .section-title { color: #fff; }
.batches .section-sub { color: rgba(255,255,255,.75); }

/* Batch list box */
.batch-list { background: #fff; border-radius: 14px; box-shadow: 0 4px 24px rgba(0,32,74,.09); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.batch-list-header { background: var(--grad-gold); color: var(--navy); font-size: .82rem; font-weight: 700; letter-spacing: .1em; padding: 14px 22px; display: flex; align-items: center; gap: 8px; }
.batch-list-header i { font-size: 1rem; color: var(--navy); }
.batch-items { list-style: none; margin: 0; padding: 0; flex: 1; }
.batch-item { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid #eef2f8; transition: background .2s; }
.batch-item:last-child { border-bottom: none; }
.batch-item:hover { background: #f4f8ff; }
.batch-dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.batch-dot--gold { background: var(--gold); }
.batch-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.batch-name { font-size: .95rem; font-weight: 600; color: var(--heading); }
.batch-name strong { color: var(--navy); }
.batch-date { font-size: .78rem; color: #7a8fa6; display: flex; align-items: center; gap: 5px; }
.batch-date i { font-size: .75rem; }
.batch-enroll { flex-shrink: 0; font-size: .8rem; font-weight: 700; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 20px; padding: 5px 14px; white-space: nowrap; transition: background .2s, color .2s; display: flex; align-items: center; gap: 5px; }
.batch-enroll:hover { background: var(--navy); color: #fff; text-decoration: none; }
.batch-footer { padding: 14px 22px; background: #f9fbfe; border-top: 1px solid #eef2f8; }
.batch-browse { font-size: .85rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.batch-browse:hover { color: var(--gold); text-decoration: none; }

/* Registration card */
.reg-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 24px rgba(0,32,74,.09); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.reg-card-header { background: var(--grad-gold); color: var(--navy); font-size: .82rem; font-weight: 700; letter-spacing: .1em; padding: 14px 22px; display: flex; align-items: center; gap: 8px; }
.reg-card-header i { font-size: 1rem; color: var(--navy); }
.reg-card-body { padding: 24px 22px; display: flex; flex-direction: column; flex: 1; }
.reg-card-body p { font-size: .92rem; color: #4a5568; margin-bottom: 16px; }
.reg-benefits { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.reg-benefits li { display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 600; color: var(--heading); }
.reg-benefits li i { color: #22c55e; font-size: 1rem; }

@media (max-width: 575px) {
  .batch-enroll { display: none; }
  .batch-name { font-size: .88rem; }
}

/* ---------- Why Choose ---------- */
.why {
  padding-top: 34px; padding-bottom: 40px; overflow: hidden;
  background: linear-gradient(180deg, #f9fbfe 0%, #eef4ff 50%, #f9fbfe 100%);
  position: relative;
}

/* Rotating hexagon rings */
.why::after {
  content: "";
  position: absolute;
  bottom: -140px; left: -140px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 50px solid rgba(0,32,74,.05);
  animation: spinRing 40s linear infinite reverse;
  pointer-events: none;
}
.why-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 30%, rgba(1, 50, 110, .07), transparent 55%), radial-gradient(ellipse at 10% 80%, rgba(255, 198, 41, .08), transparent 50%); pointer-events: none; }
.why-title { color: var(--heading); font-weight: 800; font-size: clamp(1.55rem, 2.3vw, 1.95rem); margin-bottom: 14px; letter-spacing: -.01em; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--heading); font-size: 1.08rem; padding: 5px 0; }
.checklist li .bi { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-gold); color: var(--navy); display: grid; place-items: center; font-size: .9rem; font-weight: 700; -webkit-text-stroke: .5px var(--navy); }
.checklist--sm li { font-size: .98rem; }
.btn-navy { padding: .6rem 1.4rem; }

.why-frame { position: relative; aspect-ratio: 1 / .9; margin: 0 auto; max-width: 460px; }
.frame-img { position: absolute; inset: 8% 4% 4% 8%; border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%; overflow: hidden; box-shadow: var(--shadow-lg); animation: morph 12s ease-in-out infinite; }
.frame-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.why-frame:hover .frame-img img { transform: scale(1.07); }
.frame-gold { position: absolute; inset: 2% 0 0 2%; border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%; border: 10px solid transparent; border-top-color: var(--gold); border-right-color: var(--gold); animation: morph 12s ease-in-out infinite, spinSlow 18s linear infinite; }
.frame-gold--2 { inset: 0 6% 6% 0; border-width: 4px; border-color: transparent; border-bottom-color: var(--gold); border-left-color: var(--gold); opacity: .7; animation: morph 12s ease-in-out infinite reverse, spinSlow 24s linear infinite reverse; }
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.ach-sub { color: var(--heading); font-weight: 600; margin-bottom: 16px; }
.ach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ach-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); text-align: center; padding: 14px 6px; display: flex; flex-direction: column; align-items: center; border-bottom: 3px solid transparent; transition: border-color .3s, box-shadow .3s; }
.ach-card:hover { border-bottom-color: var(--gold); box-shadow: var(--shadow); }
.ach-card .bi { font-size: 1.9rem; color: var(--gold); margin-bottom: 6px; animation: bob 3s ease-in-out infinite; }
.ach-card:nth-child(2) .bi { animation-delay: .4s; }
.ach-card:nth-child(3) .bi { animation-delay: .8s; }
.ach-card:nth-child(4) .bi { animation-delay: 1.2s; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.ach-card strong { color: var(--heading); font-weight: 800; font-size: 1.12rem; line-height: 1.2; white-space: nowrap; }
.ach-card small { color: var(--heading); font-size: .72rem; font-weight: 500; }

/* ---------- Results / Toppers Marquee ---------- */
.results { position: relative; color: #fff; }
.results .wave-top, .results .wave-bottom { display: block; width: 100%; height: 50px; }
.results .wave-top { margin-bottom: -1px; }
.results .wave-bottom { margin-top: -1px; }
.results-inner { background: var(--navy); padding: 30px 0 24px; position: relative; overflow: hidden; }
.results-title { color: var(--gold); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.15rem); line-height: 1.05; margin: 0 0 4px; }
.results-sub { font-weight: 500; margin-bottom: 0; color: rgba(255,255,255,.75); }

/* Marquee wrapper */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
  /* fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track--rev {
  animation: marqueeScrollRev 35s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeScrollRev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Topper card */
.topper-card {
  flex-shrink: 0;
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255,198,41,.25);
  transition: transform .3s var(--ease), border-color .3s;
  background: rgba(255,255,255,.05);
}
.topper-card:hover { transform: translateY(-6px) scale(1.04); border-color: var(--gold); }
.topper-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.topper-card--page { width: 220px; }
.topper-card--page img { height: 160px; object-fit: contain; background: #fff; padding: 8px; }

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 30px; padding-bottom: 40px; }
.t-carousel { position: relative; padding: 0 48px; }
.t-viewport { overflow: hidden; padding: 12px 4px 22px; }
.t-track { display: flex; gap: 24px; transition: transform .7s var(--ease); }
.t-card { flex: 0 0 calc((100% - 48px) / 3); background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 18px 18px; display: flex; gap: 16px; align-items: flex-start; border-bottom: 3px solid transparent; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-bottom-color: var(--gold); }
.t-card img { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(255, 198, 41, .6); }
.t-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--heading); margin: 0; }
.t-card small { color: var(--heading); font-size: .8rem; }
.t-card p { font-size: .86rem; color: var(--text); margin: 6px 0 6px; line-height: 1.4; }
.stars { color: var(--gold); font-size: .95rem; display: flex; gap: 2px; }
.t-card.is-visible .stars .bi { animation: starPop .5s var(--ease) both; }
.t-card .stars .bi:nth-child(2) { animation-delay: .08s; } .t-card .stars .bi:nth-child(3) { animation-delay: .16s; } .t-card .stars .bi:nth-child(4) { animation-delay: .24s; } .t-card .stars .bi:nth-child(5) { animation-delay: .32s; }
@keyframes starPop { from { transform: scale(0) rotate(-90deg); } }
.t-arrow { position: absolute; top: 50%; transform: translateY(-60%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: #e6edf7; color: var(--navy); display: grid; place-items: center; font-size: 1.1rem; z-index: 2; transition: background .3s, color .3s, transform .3s; }
.t-arrow:hover { background: var(--navy); color: var(--gold); transform: translateY(-60%) scale(1.1); }
.t-prev { left: 0; } .t-next { right: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--grad-navy); color: #fff; overflow: hidden; }
.cta-stripes { position: absolute; inset: 0; background: linear-gradient(200deg, transparent 0 70%, var(--gold) 70.4% 78%, transparent 78.4% 82%, rgba(255, 198, 41, .55) 82.4% 84%, transparent 84.4%) left bottom / 34% 100% no-repeat, radial-gradient(ellipse at 10% 50%, rgba(255, 198, 41, .22), transparent 40%); }
.cta-stripes::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .08) 50%, transparent 70%); animation: sweep 6s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.cta-inner { position: relative; display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.cta-trophy { width: 150px; height: 110px; object-fit: cover; border-radius: 12px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 55%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 55%, transparent 75%); animation: trophy 3.5s ease-in-out infinite; }
@keyframes trophy { 50% { transform: translateY(-6px) rotate(-3deg); } }
.cta-copy { flex: 1; }
.cta-copy h2 { color: var(--gold); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; letter-spacing: -.01em; }
.cta-copy p { font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.3rem); margin: 0; }
.cta-script { font-family: var(--font-hand); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; transform: rotate(-6deg); margin: 0 0 0 10px; text-align: right; }
.cta-script span { display: inline-block; padding-right: 10px; position: relative; }
.cta-script span::after { content: ""; position: absolute; left: -12px; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .9); position: relative; padding-top: 44px; overflow: hidden; }
.footer-building { position: absolute; right: 0; bottom: 48px; width: 360px; opacity: .6; pointer-events: none; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%), linear-gradient(0deg, #000 70%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 35%), linear-gradient(0deg, #000 70%, transparent); mask-composite: intersect; }
.footer-logo { width: 150px; background: #fff; border-radius: 16px; padding: 8px; margin-bottom: 14px; }
.footer-tag { font-size: .9rem; max-width: 240px; opacity: .85; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 14px; position: relative; padding-bottom: 8px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); transition: width .4s var(--ease); }
.footer .col-lg-2:hover h4::after, .footer .col-lg-3:hover h4::after { width: 60px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 6px; font-size: .92rem; }
.footer ul a, .footer-bottom a { color: rgba(255, 255, 255, .88); transition: color .25s, padding .25s; }
.footer ul a:hover { color: var(--gold); padding-left: 5px; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list .bi { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.footer-social a:hover { background: var(--gold); transform: translateY(-4px) rotate(360deg); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding: 14px 0; font-size: .86rem; position: relative; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Back to top ---------- */
.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 1000; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad-gold); color: var(--navy); font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { transform: translateY(-4px); }

/* ---------- Modals ---------- */
.rise-modal .modal-content { border: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.rise-modal .modal-header { background: var(--grad-navy); color: #fff; border-bottom: 3px solid var(--gold); }
.rise-modal .modal-title { font-weight: 700; }
.rise-modal .form-label { font-weight: 600; color: var(--heading); font-size: .9rem; }
.rise-modal .form-control, .rise-modal .form-select { border-radius: 10px; padding: .65rem .9rem; border-color: #d5deea; }
.rise-modal .form-control:focus, .rise-modal .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(255, 198, 41, .25); }
.form-success { text-align: center; padding: 20px 0; }
.form-success .bi { font-size: 3.4rem; color: var(--gold-dark); display: block; animation: starPop .6s var(--ease); }
.form-success h5 { color: var(--heading); font-weight: 800; margin-top: 10px; }
.login-note { font-size: .85rem; margin: 10px 0 0; color: var(--muted); text-align: center; }
.video-poster { background-size: cover; background-position: center; display: flex !important; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 14px; }
.video-poster::before { content: ""; position: absolute; inset: 0; background: rgba(0, 32, 74, .55); }
.video-poster > * { position: relative; }
.video-poster p { font-weight: 600; margin: 0; }
.play-ring--lg { width: 76px; height: 76px; font-size: 2.2rem; }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; transition: transform .5s var(--ease); }
.gallery-grid img:hover { transform: scale(1.03); }
.results-table th { color: var(--heading); }

/* ==========================================================================
   ANIMATION UTILITIES
   ========================================================================== */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-zoom, .stagger { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: transform, opacity; }
.reveal { transform: translateY(20px); }
.reveal-up, .stagger { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-zoom { transform: scale(.85) rotate(-3deg); }
.is-in { opacity: 1; transform: none; }
.stagger.is-in { transition-delay: var(--d, 0s); }
.tilt.is-in { transition: opacity .9s var(--ease), transform .25s ease-out; }
.split-unit { display: inline-block; opacity: 0; transform: translateY(.6em) rotateX(-80deg); transform-origin: bottom; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.is-split.is-in .split-unit, .is-split.is-in-now .split-unit { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-zoom, .stagger, .split-unit { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
  .main-nav .nav-link { padding: .5rem .55rem !important; font-size: .9rem; }
  .main-nav .nav-link::after { left: .55rem; right: .55rem; }
  .ach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  :root { --header-h: 72px; }
  .site-header { border-bottom-right-radius: 0; }
  .brand-logo { height: 52px; }
  .hero { min-height: auto; }
  .hero-slider { width: 100%; }
  .hero-slider::after { display: none; }
  .hero-shape { display: none; }
  .hero-content { padding-top: 50px; padding-bottom: 150px; }
  .hero-dots { left: 50%; transform: translateX(-50%); bottom: 100px; }
  .highlights { grid-template-columns: repeat(3, 1fr); row-gap: 10px; }
  .highlight:nth-child(4)::before { display: none; }
  .why-frame { max-width: 420px; }
  .ach-grid { grid-template-columns: repeat(4, 1fr); }
  .rankers { grid-template-columns: repeat(4, 1fr); }
  .t-card { flex-basis: calc((100% - 24px) / 2); }
  .course-card { min-height: 160px; }
  .course-media { flex-basis: 30%; }
  .course--image .course-body { margin-left: 30%; }
  .cta-inner { flex-wrap: wrap; justify-content: center; text-align: center; padding-top: 26px; padding-bottom: 26px; }
  .cta-copy { flex-basis: calc(100% - 180px); text-align: left; }
  .cta-script { text-align: center; }
  .footer-building { width: 240px; }
}

@media (max-width: 767.98px) {
  .section { padding: 46px 0; }
  .topbar { font-size: .8rem; }
  .hero-actions { gap: 1rem; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlight::before { display: none; }
  .highlight:last-child { grid-column: 1 / -1; }
  .highlight { font-size: .95rem; }
  .ach-grid { grid-template-columns: repeat(2, 1fr); }
  .rankers { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .ranker:nth-child(3)::before { display: none; }
  .results-badge { gap: 0; }
  .laurel { width: 54px; }
  .t-carousel { padding: 0 34px; }
  .t-card { flex-basis: 100%; }
  .t-arrow { width: 32px; height: 32px; }
  .cta-copy { flex-basis: 100%; text-align: center; }
  .cta-script { transform: rotate(-4deg); }
  .footer-building { width: 180px; bottom: 60px; }
  .footer-bottom .container-xl { justify-content: center; text-align: center; }
}

@media (max-width: 479.98px) {
  .hero-tags { font-size: .86rem; }
  .hero-tags span { margin: 0 .2rem; }
  .section-title { font-size: 1.6rem; }
  .hero-script--indent { padding-left: 24px; }
  .course-card { min-height: 150px; }
  .course-media { flex-basis: 36%; }
  .course-body h3 { font-size: 1.15rem; }
  .section-title { gap: 10px; }
  .title-line { width: 28px; }
  .ranker-img { width: 80px; height: 80px; }
  .btn-lg-gold { padding: .85rem 1.8rem; font-size: 1.1rem; }
}

/* ============================================================
   DECORATIVE BACKGROUND ELEMENTS & ANIMATIONS
   ============================================================ */

/* -- Generic deco dots (floating blobs) -- */
.deco-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.deco-dot--1 {
  width: 180px; height: 180px;
  top: 8%; left: -60px;
  background: radial-gradient(circle, rgba(255,198,41,.22) 0%, transparent 70%);
  animation: blobFloat 9s ease-in-out infinite;
}
.deco-dot--2 {
  width: 240px; height: 240px;
  bottom: 5%; right: -80px;
  background: radial-gradient(circle, rgba(0,32,74,.1) 0%, transparent 70%);
  animation: blobFloat 12s ease-in-out infinite reverse;
}
.deco-dot--3 {
  width: 200px; height: 200px;
  bottom: 10%; left: -60px;
  background: radial-gradient(circle, rgba(0,32,74,.08) 0%, transparent 70%);
  animation: blobFloat 11s ease-in-out infinite;
}
.deco-dot--4 {
  width: 160px; height: 160px;
  top: 5%; right: -50px;
  background: radial-gradient(circle, rgba(255,198,41,.18) 0%, transparent 70%);
  animation: blobFloat 8s ease-in-out infinite reverse;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(18px, -24px) scale(1.1); }
  66%      { transform: translate(-14px, 18px) scale(.92); }
}

/* -- Deco rings (animated circles) -- */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.deco-ring--1 {
  width: 300px; height: 300px;
  top: -80px; right: 10%;
  border: 2px dashed rgba(255,198,41,.3);
  animation: slowSpin 25s linear infinite;
}
.deco-ring--2 {
  width: 180px; height: 180px;
  bottom: 20px; left: 8%;
  border: 2px dashed rgba(0,32,74,.15);
  animation: slowSpin 18s linear infinite reverse;
}
.deco-ring--3 {
  width: 350px; height: 350px;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  border: 3px solid rgba(0,32,74,.05);
  animation: slowSpin 35s linear infinite;
}
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.deco-ring--3 { transform-origin: center; left: auto; right: -100px; top: -100px; }

/* -- Batches section floating orbs -- */
.batch-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.batch-orb--1 {
  width: 350px; height: 350px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, rgba(255,198,41,.15) 0%, transparent 65%);
  animation: blobFloat 14s ease-in-out infinite;
}
.batch-orb--2 {
  width: 280px; height: 280px;
  bottom: -80px; right: -80px;
  background: radial-gradient(circle, rgba(1,80,170,.2) 0%, transparent 65%);
  animation: blobFloat 10s ease-in-out infinite reverse;
}
.batch-orb--3 {
  width: 150px; height: 150px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  animation: blobFloat 7s ease-in-out infinite;
}

/* -- Courses section: card reveal entrance -- */
.course-list-card {
  animation: cardReveal .55s var(--ease) both;
}
.course-list-grid .col-12:nth-child(1) .course-list-card { animation-delay: .05s; }
.course-list-grid .col-12:nth-child(2) .course-list-card { animation-delay: .10s; }
.course-list-grid .col-12:nth-child(3) .course-list-card { animation-delay: .15s; }
.course-list-grid .col-12:nth-child(4) .course-list-card { animation-delay: .20s; }
.course-list-grid .col-12:nth-child(5) .course-list-card { animation-delay: .25s; }
.course-list-grid .col-12:nth-child(6) .course-list-card { animation-delay: .30s; }
.course-list-grid .col-12:nth-child(7) .course-list-card { animation-delay: .35s; }
.course-list-grid .col-12:nth-child(8) .course-list-card { animation-delay: .40s; }
.course-list-grid .col-12:nth-child(9) .course-list-card { animation-delay: .45s; }
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(28px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* -- Section transitions: smooth alternating bg -- */
.about          { background: #ffffff; }
.courses        { background: linear-gradient(160deg,#f4f8ff 0%,#fff 40%,#fffbf0 100%); }
.batches        { background: linear-gradient(135deg,#00204A 0%,#01326E 50%,#00204A 100%); }
.why            { background: linear-gradient(180deg,#f9fbfe 0%,#eef4ff 50%,#f9fbfe 100%); }
.testimonials   { background: #ffffff; }
.cta            { background: var(--grad-navy); }

/* -- Batch list card hover pulse -- */
.batch-item { transition: background .2s, padding-left .2s; }
.batch-item:hover { background: rgba(255,255,255,.08); padding-left: 28px; }
.batch-item:hover .batch-dot { animation: dotPulse .6s ease-in-out; }
@keyframes dotPulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.6); }
}

/* -- Batch cards new grid design -- */
.batch-cards-grid {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 0;
}
.batch-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-bottom: 1px solid #eef2f8;
  position: relative;
  transition: background .2s;
}
.batch-card:last-child { border-bottom: none; }
.batch-card:hover { background: #f7faff; border-radius: 10px; }
.batch-card::before {
  content: "";
  flex-shrink: 0;
  width: 4px; height: 36px;
  border-radius: 4px;
  background: var(--navy);
}
.batch-card:nth-child(even)::before { background: var(--gold); }
.bc-top { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.bc-class {
  font-size: .7rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: #5a6b86;
}
.bc-tag {
  font-size: .65rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 20px; padding: 2px 9px;
}
.bc-tag--neet { background: rgba(220,38,38,.1); color: #dc2626; }
.bc-tag--jee  { background: rgba(255,198,41,.2); color: #b45309; }
.bc-name {
  font-size: .93rem; font-weight: 700; color: var(--heading);
  margin: 0; line-height: 1.25;
}
.bc-date {
  font-size: .73rem; color: #7a8fa6; margin: 4px 0 0;
  display: flex; align-items: center; gap: 4px;
}
.bc-date i { font-size: .68rem; }
.bc-info { flex: 1; min-width: 0; }
.bc-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 700; color: var(--navy);
  border: 1.5px solid #c8d4e8; border-radius: 20px;
  padding: 6px 14px; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.bc-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }
.bc-btn:hover .bi { transform: translateX(3px); }
.bc-btn .bi { transition: transform .25s; }
@media (max-width: 575px) {
  .bc-btn { display: none; }
}

/* -- About features bounce-in -- */
.about-feat {
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.about-feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,32,74,.1);
  border-color: var(--navy);
}
.about-feat:hover i { color: var(--gold-dark); }



/* -- Testimonials soft gradient -- */
.testimonials {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f4f8ff 60%, #fff 100%);
}

/* ---------- Faculty Section ---------- */
.faculty { background: linear-gradient(160deg, #f4f8ff 0%, #fff 60%); overflow: hidden; }
.faculty-marquee-wrap {
  overflow: hidden;
  margin-top: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.faculty-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.faculty-track:hover { animation-play-state: paused; }

.faculty-card {
  flex-shrink: 0;
  width: 180px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,32,74,.1);
  overflow: hidden;
  border: 2px solid #e8edf8;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  text-align: center;
}
.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,32,74,.18);
  border-color: var(--gold);
}
.faculty-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.fc-info {
  padding: 12px 10px 14px;
  background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
}
.fc-info h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 3px;
  line-height: 1.2;
}
.fc-info span {
  font-size: .74rem;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ---------- Results Hero Badge ---------- */
.results-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
  position: relative;
}
.rh-laurel {
  width: 120px;
  flex-shrink: 0;
}
.rh-laurel img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(255,198,41,.4));
}
.rh-laurel--l {
  animation: swayL 4s ease-in-out infinite;
  transform-origin: bottom right;
}
.rh-laurel--r {
  animation: swayR 4s ease-in-out infinite;
  transform-origin: bottom left;
}
.rh-leaf { animation: leafPulse 3s ease-in-out infinite; }
.rh-laurel svg ellipse:nth-child(2) { animation-delay: .1s; }
.rh-laurel svg ellipse:nth-child(3) { animation-delay: .2s; }
.rh-laurel svg ellipse:nth-child(4) { animation-delay: .3s; }
.rh-laurel svg ellipse:nth-child(5) { animation-delay: .4s; }
@keyframes leafPulse {
  0%,100% { opacity: 1; }
  50% { opacity: .5; }
}
.rh-copy {
  text-align: center;
  padding: 22px 36px;
  position: relative;
  z-index: 1;
}
/* Glowing bg circle behind text */
.rh-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,198,41,.12) 0%, transparent 70%);
  animation: floatOrb 6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.rh-star-row {
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: 4px;
  margin-bottom: 8px;
  animation: starTwinkle 2s ease-in-out infinite;
}
@keyframes starTwinkle {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.1); }
}
.rh-title {
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  margin: 0 0 6px;
  text-shadow: 0 2px 20px rgba(255,198,41,.3);
}
.rh-sub {
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: .95rem;
  margin-bottom: 16px;
}
