:root {
  --red: #c8102e;
  --red-dark: #9b0d24;
  --blue: #1d4e89;
  --blue-dark: #14365f;
  --gold: #c9a227;
  --gold-soft: #f6e7b8;
  --ink: #17181c;
  --muted: #5c6472;
  --bg: #f6f3ee;
  --white: #ffffff;
  --line: #e7e1d6;
  --shadow: 0 18px 50px rgba(20, 54, 95, 0.12);
  --radius: 18px;
  --header-h: 78px;
  --bar-h: 72px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  padding-bottom: var(--bar-h);
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .bottom-bar {
  visibility: hidden;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
input,
select {
  font-family: inherit;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(20, 54, 95, 0.1);
  border-bottom-color: var(--line);
}

.header-inner {
  position: relative;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  height: 54px;
  width: auto;
}

.nav a,
.nav-trigger {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--blue-dark);
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.nav a:hover,
.nav a.is-active,
.nav-trigger:hover,
.nav-trigger.is-active {
  background: #eef3fa;
  color: var(--blue);
}

.nav-cta {
  margin-left: 8px;
}

.nav-item {
  position: relative;
}

/* Invisible bridge (padding-top) so cursor never leaves .nav-item on the way to the panel */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 12px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 60;
}

.nav-dropdown-panel {
  max-height: min(70vh, 420px);
  overflow: auto;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.nav-dropdown a {
  display: block;
  border-radius: 10px;
  padding: 10px 12px;
  white-space: nowrap;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  display: block;
}

.ticker {
  background: linear-gradient(90deg, #c45a12, #d97706 40%, #b45309);
  color: #fff8f0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 0;
  animation: tickerScroll 38s linear infinite;
  min-width: max-content;
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 6px 0 18px;
}

.ticker-dot {
  opacity: 0.7;
  padding: 0 4px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 42s linear infinite;
  padding: 8px 0 4px;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-card,
.marquee-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 8px 20px rgba(20, 54, 95, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.marquee-card:hover,
.marquee-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.marquee-card img,
.marquee-chip img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
}

.marquee-chip {
  flex-direction: column;
  align-items: flex-start;
  width: 180px;
  padding: 0;
  overflow: hidden;
}

.marquee-chip img {
  width: 100%;
  height: 100px;
  border-radius: 16px 16px 0 0;
}

.marquee-chip strong,
.marquee-chip span {
  padding: 0 12px;
}

.marquee-chip strong {
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.marquee-chip span {
  color: var(--muted);
  font-size: 0.82rem;
  padding-bottom: 12px;
}

.marquee-card span {
  font-weight: 700;
  color: var(--blue-dark);
}

.page-hero {
  padding: 42px 0 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(201, 162, 39, 0.2), transparent 30%),
    linear-gradient(145deg, #10284a 0%, var(--blue) 55%, #1a2f58 100%);
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 18ch;
}

.page-hero .lead {
  margin-top: 12px;
  max-width: 60ch;
  color: #e7edf6;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.detail-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.credit-tag {
  margin: 10px 0 0;
  color: #7a5d0d;
  font-weight: 700;
  font-size: 0.86rem;
}

.bullet-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.bullet-list li + li {
  margin-top: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip-row a {
  background: #eef3fa;
  color: var(--blue);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-dark);
  position: relative;
  margin: 0 auto;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.28);
  animation: ctaPulse 2.6s ease-out infinite;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
}

.btn-primary:hover::after {
  animation: shine 0.8s ease;
}

.hero .btn-primary {
  animation-delay: 0.6s;
}

.btn-blue {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(29, 78, 137, 0.25);
}

.btn-ghost {
  background: var(--white);
  color: var(--blue);
  border: 1px solid #c9d6e8;
}

.btn-wa {
  background: #128c7e;
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 162, 39, 0.28), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(200, 16, 46, 0.45), transparent 38%),
    linear-gradient(145deg, #10284a 0%, var(--blue) 48%, #1a2f58 100%);
  background-size: 120% 120%;
  animation: heroShift 12s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 420px;
  height: 420px;
  border: 28px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  animation: heroOrb 10s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 54px 0 64px;
}

.hero-slider-wrap {
  position: relative;
  padding: 42px 0 56px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.hero-scheme {
  margin: 0 0 18px;
  color: #d7e4f5;
  font-weight: 600;
  font-size: 0.98rem;
  max-width: 54ch;
}

.hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  max-width: 16ch;
}

.hero p.lead {
  margin-top: 16px;
  max-width: 58ch;
  color: #e7edf6;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.hero-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: var(--white);
  border-radius: 18px;
  padding: 12px;
}

.hero-note {
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
}

.hero-college-slider {
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: 320px;
}

.hero-slide.is-active {
  display: grid;
  animation: heroSlideIn 0.55s ease both;
}

.hero-slide-copy h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  line-height: 1.22;
  max-width: 14ch;
}

.hero-slide-copy .lead {
  margin-top: 14px;
  max-width: 46ch;
  color: #e7edf6;
  font-size: 1.02rem;
}

.hero-slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-slide-meta span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-slide-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  min-height: 280px;
  background: #0d223f;
}

.hero-slide-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 0.7s ease;
}

.hero-slide.is-active .hero-slide-media img {
  transform: scale(1);
}

.hero-slide-media .slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(transparent, rgba(8, 18, 34, 0.92));
  font-weight: 700;
  font-size: 1.05rem;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.hero-slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.hero-slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-slider-dots button.is-active {
  background: var(--gold);
  width: 22px;
  border-radius: 999px;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.3;
  color: var(--blue-dark);
  margin-top: 8px;
}

.section-head p {
  margin-top: 10px;
  color: var(--muted);
}

.page-hero {
  padding: 36px 0 8px;
}

.grid-3,
.grid-4,
.course-grid,
.college-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.course-grid {
  grid-template-columns: repeat(3, 1fr);
}

.college-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(20, 54, 95, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card.has-photo {
  padding: 0;
  overflow: hidden;
}

.card-photo {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  background: #d7e0ea;
  transform: scale(1.04);
  transition: transform 0.55s ease;
}

.college-grid .card-photo {
  height: 150px;
}

.card-body {
  padding: 16px 18px 18px;
}

.card-body .btn {
  width: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card.has-photo:hover .card-photo {
  transform: scale(1.08);
}

.reveal.is-in .card-photo {
  transform: scale(1);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef4fb;
  color: var(--blue);
  margin-bottom: 14px;
}

.icon-badge.red {
  background: #fdecef;
  color: var(--red);
}

.icon-badge.gold {
  background: var(--gold-soft);
  color: #8a6d12;
}

.card h3 {
  font-size: 1.12rem;
  color: var(--blue-dark);
}

.card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.scheme {
  background: var(--white);
}

.scheme-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  background: linear-gradient(160deg, #fff 0%, #f8f1e4 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
}

.loan-box {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  place-content: center;
  text-align: center;
}

.loan-box strong {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1;
}

.notice {
  background: #fff6ea;
  border: 1px solid #f0d7a2;
  border-radius: 22px;
  padding: 28px;
}

.notice h2 {
  color: var(--red-dark);
}

.notice ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #6a5420;
}

.stats {
  background: var(--blue-dark);
  color: var(--white);
}

.stat {
  text-align: center;
  padding: 10px;
}

.stat b {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery a,
.gallery img {
  border-radius: 16px;
}

.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cta-band {
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta-band p {
  margin: 10px 0 22px;
  opacity: 0.92;
}

.site-footer {
  background: #101826;
  color: #d5dde8;
  padding: 42px 0 110px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  margin: 6px 0;
  color: #c9d4e3;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.social-float {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 46;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-float-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(16, 24, 38, 0.18);
  transition: transform 0.2s ease;
}

.social-float-btn:hover {
  transform: translateY(-2px) scale(1.04);
}

.social-fb {
  background: #1877f2;
}

.social-ig {
  background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.college-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.college-gallery a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d7e0ea;
}

.college-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(16, 24, 38, 0.12);
  animation: slideUp 0.6s ease both;
}

.bottom-bar a,
.bottom-bar button {
  min-height: var(--bar-h);
  border: 0;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.bottom-bar .call {
  color: var(--blue);
}

.bottom-bar .wa {
  color: #0f8a4b;
}

.bottom-bar .apply {
  background: var(--red);
  color: var(--white);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 32, 0.62);
  animation: fadeIn 0.3s ease;
}

.modal-card {
  position: relative;
  width: min(100%, 560px);
  max-height: min(88vh, 760px);
  overflow: auto;
  background: var(--white);
  border-radius: 24px;
  padding: 26px 22px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  animation: scaleIn 0.35s ease;
}

.modal-card h2 {
  color: var(--blue-dark);
  font-size: 1.4rem;
  padding-right: 36px;
}

.modal-card .sub {
  color: var(--muted);
  margin: 6px 0 18px;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f1eee8;
  cursor: pointer;
  font-size: 1.3rem;
}

[hidden] {
  display: none !important;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-grid input,
.form-grid select {
  min-height: 46px;
  border: 1px solid #d8d2c6;
  border-radius: 12px;
  padding: 0 12px;
  background: #fbfaf7;
}

.form-grid input:focus,
.form-grid select:focus {
  outline: 2px solid rgba(29, 78, 137, 0.35);
  border-color: var(--blue);
}

.form-error {
  color: var(--red);
  font-size: 0.88rem;
  min-height: 1.2em;
}

.success-box {
  display: none;
  text-align: center;
  padding: 18px 8px 8px;
}

.success-box.is-visible {
  display: block;
}

.success-box h3 {
  color: #0f8a4b;
  margin-bottom: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-list a {
  color: var(--blue);
  font-weight: 700;
}

.form-frame {
  min-height: 640px;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: var(--white);
}

.naac {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: var(--gold-soft);
  color: #7a5d0d;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.muted {
  color: var(--muted);
}

/* Hidden only after JS marks the document ready — avoids FOUC faded text */
.js-ready .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(22px);
}

.js-ready .reveal.is-in {
  animation: fadeUp 0.7s ease both;
}

.js-ready .hero .reveal.is-in {
  animation: fadeUp 0.85s ease both;
}

.d1 { animation-delay: 0.06s; }
.d2 { animation-delay: 0.14s; }
.d3 { animation-delay: 0.22s; }
.d4 { animation-delay: 0.3s; }
.d5 { animation-delay: 0.38s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes shine {
  to { transform: translateX(120%); }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: none; }
}

@keyframes heroShift {
  from { background-position: 0% 40%; }
  to { background-position: 100% 60%; }
}

@keyframes heroOrb {
  from { transform: translate(0, 0) scale(1); opacity: 0.9; }
  to { transform: translate(-24px, -18px) scale(1.06); opacity: 1; }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(200, 16, 46, 0.28);
  }
  50% {
    box-shadow: 0 12px 32px rgba(200, 16, 46, 0.48), 0 0 0 8px rgba(200, 16, 46, 0.12);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .scheme-panel,
  .footer-grid,
  .contact-grid,
  .grid-3,
  .grid-4,
  .course-grid,
  .college-grid,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .scheme-panel,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(16, 24, 38, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 8px 0;
    background: transparent;
  }

  .nav-dropdown-panel {
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 4px 0 4px 12px;
    background: transparent;
  }

  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: none;
  }

  .nav-item.is-open .nav-dropdown,
  .nav-item.is-open:hover .nav-dropdown,
  .nav-item.is-open:focus-within .nav-dropdown {
    display: block;
  }

  .nav-cta {
    margin: 8px 0 0;
  }

  .hero-card img {
    height: 220px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-slide-media img {
    height: 220px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .course-grid,
  .college-grid,
  .gallery,
  .field-row {
    grid-template-columns: 1fr;
  }

  .brand img {
    height: 44px;
  }

  .hero {
    text-align: left;
  }

  .hero-grid {
    padding-top: 28px;
  }

  .section {
    padding: 52px 0;
  }

  .bottom-bar {
    font-size: 0.88rem;
  }

  .social-float {
    right: 8px;
    top: auto;
    bottom: calc(var(--bar-h) + 16px);
    transform: none;
  }

  .social-float-btn {
    width: 42px;
    height: 42px;
  }

  .college-gallery {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-ready .reveal:not(.is-in),
  .js-ready .reveal.is-in,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .card-photo,
  .reveal.is-in .card-photo,
  .card.has-photo:hover .card-photo {
    transform: none !important;
  }

  .btn-primary {
    animation: none !important;
  }

  .hero,
  .hero::before {
    animation: none !important;
    background-size: auto;
  }

  .ticker-track,
  .marquee-track {
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .ticker {
    white-space: normal;
  }

  .hero-slide.is-active {
    animation: none !important;
  }
}
