/* =========================================================
   RVCE — academic redesign
   Palette: navy / ink / paper / muted greys, single accent
   Type:    Source Serif (display) + Inter (text)
   ========================================================= */

:root {
  --ink:      #0F172A;
  --text:     #0F172A;
  --muted:    #475569;
  --subtle:   #64748B;
  --rule:     #E2E8F0;
  --rule-2:   #CBD5E1;
  --paper:    #F8FAFC;
  --surface:  #ffffff;
  --tint:     #EAF2F1;

  --navy:     #1F4E5F;
  --navy-2:   #16414F;
  --navy-3:   #2C6C7E;
  --sage:     #8AB9B5;
  --sage-deep:#4E938C;
  --accent:   #F59E0B;
  --accent-2: #D9860A;
  --good:     #2E8B6E;

  /* === Quota palette — single source of truth ===
     Pie-chart slices, legend dots, and percent badges all read from these.
     Change a value here and every linked element updates automatically. */
  --quota-management:     #3E8E86;
  --quota-management-rgb: 62 142 134;
  --quota-comedk:         #2C6C7E;
  --quota-comedk-rgb: 44 108 126;
  --quota-kcet:           #1F4E5F;
  --quota-kcet-rgb: 31 78 95;

  --container: 1180px;
  --gutter:    24px;
  --radius:    4px;
  --radius-lg: 8px;

  --shadow-1: 0 1px 0 rgba(17,20,24,.04);
  --shadow-2: 0 8px 24px rgba(31, 78, 95,.06);

  --serif: "Source Serif 4","Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", "SF Mono", Menlo, monospace;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,svg { display:block; max-width:100%; }
button { font: inherit; cursor:pointer; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--navy); color:#fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  width: 100%;
  box-shadow: none;
}
.navbar-content {
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0;
  position: relative;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo-img {
  width: 38px; height: 38px;
  object-fit: contain;
  transition: none;
}
.logo-img:hover { transform: none; }
.logo-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--navy);
  margin: 0;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  position: static;
  transform: none;
}
.nav-links li {
  cursor: pointer;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 28px 0;
  position: relative;
  transition: color .15s;
  white-space: nowrap;
}
.nav-links li:hover { color: var(--navy); }
.nav-links li.active { color: var(--navy); font-weight: 600; }
.nav-links li.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--navy);
  width: auto;
  border-radius: 0;
}
.nav-right {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Navbar search ---------- */
.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  width: 240px;
  transition: border-color .18s, box-shadow .18s, background-color .18s, width .25s ease;
}
.nav-search:hover {
  background: var(--surface);
  border-color: #CBD5E1;
}
.nav-search:focus-within {
  background: var(--surface);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 78, 95,.12);
  width: 280px;
}
.nav-search-icon {
  width: 16px;
  height: 16px;
  color: var(--subtle);
  flex-shrink: 0;
  transition: color .18s;
}
.nav-search:focus-within .nav-search-icon { color: var(--navy); }
.nav-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  font: 500 13.5px var(--sans);
  color: var(--ink);
  letter-spacing: .01em;
}
.nav-search input::placeholder { color: var(--subtle); font-weight: 500; }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search-clear {
  width: 22px; height: 22px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--subtle);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.nav-search-clear svg { width: 14px; height: 14px; }
.nav-search-clear:hover { background: var(--tint); color: var(--ink); }
.nav-search.has-value .nav-search-clear { display: inline-flex; }

@media (max-width: 1100px) {
  .nav-search { width: 200px; }
  .nav-search:focus-within { width: 240px; }
}
@media (max-width: 900px) {
  .nav-search { width: 180px; }
  .nav-search:focus-within { width: 200px; }
}
@media (max-width: 560px) {
  .nav-search input { display: none; }
  .nav-search { width: 38px; padding: 0; justify-content: center; }
  .nav-search:focus-within { width: 38px; }
  .nav-search-clear { display: none !important; }
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: background .15s;
}
.hamburger:hover { background: var(--tint); }
.hamburger span {
  width: 18px; height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform .25s, opacity .2s;
  transform-origin: 50%;
  border-radius: 0;
}
.hamburger.open span:first-child  { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  box-shadow: none;
}
.mobile-menu.visible { max-height: 360px; }
.mobile-links { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-links li {
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.mobile-links li:hover {
  background: var(--tint);
  border-left-color: var(--navy);
  color: var(--navy);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
}

/* ---------- Section primitives ---------- */
section { padding: 72px 0; background: var(--paper); }
section + section { border-top: 1px solid var(--rule); }

h1,h2,h3,h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font: 500 13.5px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
  transition: background .15s, color .15s, border-color .15s;
  background: transparent;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  color: #fff;
  transform: none;
  box-shadow: none;
  text-decoration: none;
}
.btn-secondary {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}
.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
  transform: none;
  text-decoration: none;
}

/* ---------- Hero (v2 — image background + finder card) ---------- */
.hero {
  position: relative;
  background: #123039;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding: 0;
  isolation: isolate;
}
.hero::before { content: none; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg,
      rgba(31, 78, 95,.92) 0%,
      rgba(31, 78, 95,.78) 35%,
      rgba(17,20,24,.55) 65%,
      rgba(0,0,0,.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  opacity: .5;
}

/* ---- Glow orbs ---- */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}
.hero-glow--1 {
  width: 460px; height: 460px;
  top: -140px; left: -160px;
  background: radial-gradient(circle, rgba(138, 185, 181,.55), transparent 65%);
  animation: heroGlowDrift 14s ease-in-out infinite alternate;
}
.hero-glow--2 {
  width: 540px; height: 540px;
  bottom: -200px; right: -180px;
  background: radial-gradient(circle, rgba(245, 158, 11,.32), transparent 65%);
  animation: heroGlowDrift2 18s ease-in-out infinite alternate;
}
@keyframes heroGlowDrift  { from { transform: translate(0,0) scale(1); }    to { transform: translate(40px,30px) scale(1.08); } }
@keyframes heroGlowDrift2 { from { transform: translate(0,0) scale(1); }    to { transform: translate(-30px,-20px) scale(1.05); } }

/* ---- Decorative SVG corner ---- */
.hero-dots {
  position: absolute;
  top: 24px; right: 28px;
  width: 130px; height: 130px;
  z-index: 2;
  pointer-events: none;
  opacity: .9;
}
.hero-corner-line {
  position: absolute;
  bottom: 100px; left: 24px;
  width: 80px; height: 80px;
  z-index: 2;
  pointer-events: none;
}

/* ---- Floating credential pills ---- */
.hero-credential {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.45), 0 2px 4px rgba(0,0,0,.1);
  pointer-events: none;
  white-space: nowrap;
}
.hero-credential .cred-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-3), #16414F);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(138, 185, 181,.4);
}
.hero-credential .cred-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-credential .cred-text strong {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.005em;
}
.hero-credential .cred-text span {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  margin-top: 2px;
}
.hero-credential--1 {
  top: 24%;
  right: 38%;
  animation: credBob1 6s ease-in-out infinite alternate;
}
.hero-credential--2 {
  bottom: 22%;
  left: 46%;
  animation: credBob2 7s ease-in-out infinite alternate;
}
.hero-credential--2 .cred-icon {
  background: linear-gradient(135deg, var(--good), #1F5F4B);
  box-shadow: 0 2px 6px rgba(46, 139, 110,.4);
}
@keyframes credBob1 { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-12px) rotate(0deg); } }
@keyframes credBob2 { from { transform: translateY(0) rotate(1.2deg); }  to { transform: translateY(-10px) rotate(-0.5deg); } }

@media (max-width: 1280px) {
  .hero-credential--1, .hero-credential--2 { display: none; }
}

.hero-content {
  display: block;
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter) 110px;
  position: relative;
  z-index: 3;
}
.hero-left {
  max-width: 640px;
  color: #fff;
}

/* ---- Cascading text entrance ---- */
.hero-badge,
.hero-subtitle,
.hero-desc,
.hero-buttons,
.hero-stats {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.2,.7,.2,1);
}
.hero-badge {
  animation-name: heroSlide;
  animation-duration: .6s;
  animation-delay: .05s;
}
.hero-subtitle[data-anim="wipe"] {
  animation-name: heroWipe;
  animation-duration: .9s;
  animation-delay: .85s;
  clip-path: inset(0 100% 0 0);
}
.hero-desc { /* base hidden state; words animate in via JS */
  opacity: 1;
}
.hero-desc[data-anim="words"] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  animation: heroWordIn .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-buttons {
  animation-name: heroSlide;
  animation-duration: .6s;
  animation-delay: 1.85s;
}
.hero-stats {
  animation-name: heroSlide;
  animation-duration: .6s;
  animation-delay: 2.05s;
}

@keyframes heroSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroWipe {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(6px); }
  to   { opacity: 1; clip-path: inset(0 0 0 0);   transform: translateY(0); }
}
@keyframes heroWordIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge,
  .hero-subtitle,
  .hero-desc,
  .hero-desc .word,
  .hero-buttons,
  .hero-stats {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
    animation: none !important;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 22px;
}
.hero-badge span {
  width: 6px; height: 6px;
  background: #F59E0B;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 158, 11,.6);
  animation: heroPulse 2s ease-out infinite;
}
@keyframes heroPulse {
  0%   { box-shadow: 0 0 0 0   rgba(245, 158, 11,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(245, 158, 11,0); }
  100% { box-shadow: 0 0 0 0   rgba(245, 158, 11,0); }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 8.5vw, 104px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .92;
  color: #fff;
  margin: 0 0 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
  display: block;
  position: relative;
  width: max-content;
  max-width: 100%;
}
.hero-title-text {
  display: inline-block;
  color: #fff;
  position: relative;
  z-index: 2;
  perspective: 800px;
}
.hero-title-text .letter {
  display: inline-block;
  color: #fff;
  opacity: 0;
  transform: translateY(.55em) rotateX(-65deg);
  transform-origin: 50% 100%;
  animation: heroLetterRise 1s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(.18s + var(--i, 0) * .11s);
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
  will-change: transform, opacity;
}
@keyframes heroLetterRise {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}
.hero-title-text::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  animation: heroTitleShimmer 5s ease-in-out 2.4s infinite;
}
@keyframes heroTitleShimmer {
  0%   { background-position: 200% 0; }
  60%  { background-position: -100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-text .letter {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
.hero-title-flourish {
  position: absolute;
  left: 4px;
  bottom: -10px;
  width: 90%;
  height: 14px;
  pointer-events: none;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: heroFlourish 1.2s .85s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes heroFlourish {
  to { stroke-dashoffset: 0; }
}
.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: #FDF0D4;
  margin: 0 0 18px;
  line-height: 1.3;
  max-width: 480px;
}
.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin: 0 0 30px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero .btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  border-color: var(--accent);
  color: #0F172A;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(245, 158, 11,.35);
  gap: 10px;
}
.hero .btn-primary svg {
  transition: transform .3s ease;
}
.hero .btn-primary:hover {
  background: #16414F;
  border-color: #16414F;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(138, 185, 181,.45);
}
.hero .btn-primary:hover svg { transform: translateX(4px); }
.hero .btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .6s ease;
}
.hero .btn-primary:hover::before { left: 100%; }
.hero .btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 540px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -.01em;
}
.hero-stat span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.hero-stat-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.18);
}

/* ---------- Finder card (right column) ---------- */
.hero-finder {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 24px 60px -12px rgba(0,0,0,.45),
    0 8px 20px -8px rgba(0,0,0,.3);
  position: relative;
  z-index: 4;
  animation: heroFinderIn .5s .1s ease-out both;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.hero-finder:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 32px 70px -10px rgba(0,0,0,.5),
    0 12px 24px -10px rgba(0,0,0,.35);
}
@keyframes heroFinderIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-finder::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #F59E0B);
  border-radius: 14px 14px 0 0;
}

.finder-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--good);
  background: #E7F4EF;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.finder-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  position: relative;
}
.finder-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--good);
  opacity: .6;
  animation: finderPulse 2s ease-out infinite;
}
@keyframes finderPulse {
  0%   { transform: scale(.8); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.finder-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -.005em;
}
.finder-sub {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.5;
}
.finder-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.finder-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.finder-field span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--subtle);
}
.finder-field select {
  appearance: none;
  -webkit-appearance: none;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%230b2545' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/></svg>") no-repeat right 14px center,
    #F8FAFC;
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  padding: 11px 36px 11px 14px;
  font: 500 14.5px var(--sans);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.finder-field select:hover { background-color: #EAF2F1; }
.finder-field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 78, 95,.12);
  background-color: #fff;
}

.finder-btn {
  margin-top: 6px;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-radius: 8px;
  height: 50px;
  font: 600 13px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 6px 16px rgba(31, 78, 95,.25);
}
.finder-btn:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(31, 78, 95,.35);
}

.finder-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}
.finder-foot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--good);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- Scroll indicator ---------- */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.hero-scroll:hover { color: #fff; text-decoration: none; }
.hero-scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -28px; left: 0;
  width: 1px; height: 14px;
  background: #fff;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(48px); opacity: 0; }
}
.hero-scroll-text {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .25em;
}

/* ---------- Marquee ticker bar ---------- */
.hero-marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  background: linear-gradient(90deg, rgba(31, 78, 95,.92), rgba(17,20,24,.88));
  border-top: 1px solid rgba(245, 158, 11,.35);
  border-bottom: 3px solid var(--accent);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero-marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: heroMarquee 38s linear infinite;
  will-change: transform;
}
.hero-marquee-track span {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}
.hero-marquee-track span:first-child,
.hero-marquee-track span:nth-child(8) { color: #F59E0B; }
@keyframes heroMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Hero responsive ---------- */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 64px var(--gutter) 80px;
    gap: 40px;
  }
  .hero-stats { max-width: 100%; }
  .hero-finder { padding: 24px; }
  .hero-title { font-size: clamp(48px, 11vw, 80px); }
  .hero-title-flourish { width: 70%; }
  .hero-scroll { display: none; }
  .hero-dots { width: 90px; height: 90px; opacity: .5; }
  .hero-corner-line { display: none; }
}
@media (max-width: 600px) {
  .hero-content { padding: 48px var(--gutter) 76px; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-stat-divider { display: none; }
  .hero-stat strong { font-size: 22px; }
  .hero-stat span { font-size: 10px; }
  .hero-buttons { flex-direction: column; gap: 10px; width: 100%; }
  .hero .btn-primary, .hero .btn-secondary { width: 100%; }
  .finder-title { font-size: 20px; }
  .hero-marquee { height: 32px; }
  .hero-marquee-track span { font-size: 10px; letter-spacing: .18em; }
  .hero-glow { filter: blur(60px); }
}

/* ---------- ADMISSION (chart + quotas) ---------- */
.admission { background: var(--paper); padding: 72px 0; }
.admission-header {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 720px;
}
.admission-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  text-transform: none;
}
.admission-header p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 12px;
  line-height: 1.6;
}

.admission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.left-chart {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-1);
  flex: 1;
}
.left-chart h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
}
.sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--subtle);
  margin-top: 8px;
  letter-spacing: .02em;
}
.chart-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 16px;
  filter: none;
}
.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--rule-2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: border-color .25s;
  box-shadow: none;
}
.center-circle.active {
  transform: translate(-50%, -50%);
  border-color: var(--navy);
  box-shadow: none;
}
.center-circle span {
  color: var(--subtle);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.center-circle strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-top: 4px;
}
.legend {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background .15s, border-color .15s;
}
.legend-item:hover, .legend-item.active {
  background: var(--tint);
  border-color: var(--rule-2);
  transform: none;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  box-shadow: none;
  transition: none;
}
.legend-item:hover .dot, .legend-item.active .dot {
  transform: none;
  box-shadow: none;
}
.hint {
  font-size: 12px;
  font-style: italic;
  color: var(--subtle);
  margin-top: 16px;
}
.right-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.quota-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  box-shadow: var(--shadow-1);
  transition: border-color .15s, transform .15s;
  cursor: pointer;
  flex: 1;
}
.quota-card:hover, .quota-card.active {
  background: var(--surface);
  border-color: var(--rule-2);
  border-left-color: var(--accent);
  transform: none;
  box-shadow: var(--shadow-2);
}
.percent-wrapper {
  /* Default values — overridden per quota below via [data-key] */
  --badge-color: var(--navy);
  --badge-rgb:   var(--quota-kcet-rgb);

  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--badge-color);
  border: 1px solid var(--badge-color);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 0 0 4px rgba(var(--badge-rgb) / .12),
    0 6px 14px -4px rgba(var(--badge-rgb) / .35);
  transition: box-shadow .2s ease, transform .2s ease, filter .2s ease;
}
.quota-card[data-key="MANAGEMENT"] .percent-wrapper {
  --badge-color: var(--quota-management);
  --badge-rgb:   var(--quota-management-rgb);
}
.quota-card[data-key="COMEDK"] .percent-wrapper {
  --badge-color: var(--quota-comedk);
  --badge-rgb:   var(--quota-comedk-rgb);
}
.quota-card[data-key="KCET"] .percent-wrapper {
  --badge-color: var(--quota-kcet);
  --badge-rgb:   var(--quota-kcet-rgb);
}
.quota-card:hover .percent-wrapper,
.quota-card.active .percent-wrapper {
  transform: scale(1.04);
  filter: brightness(1.08);
  box-shadow:
    0 0 0 6px rgba(var(--badge-rgb) / .18),
    0 10px 22px -6px rgba(var(--badge-rgb) / .5);
}
.percent {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -.01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
  transition: none;
}
.quota-card:hover .percent,
.quota-card.active .percent {
  color: #ffffff !important;
}
.quota-text h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
  transition: color .15s;
}
.quota-card:hover .quota-text h4, .quota-card.active .quota-text h4 { color: var(--ink); }
.quota-text p {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 400;
}
.quota-card:hover .quota-text p, .quota-card.active .quota-text p { color: var(--text); }

@media (max-width: 900px) {
  .admission-content { grid-template-columns: 1fr; gap: 32px; flex-direction: column; }
  .left-chart { padding: 28px; }
  .legend { flex-direction: row; gap: 8px; flex-wrap: wrap; }
  .quota-card { flex-direction: row; padding: 20px; gap: 18px; text-align: left; }
}

/* ---------- WHY CHOOSE RVCE ---------- */
.whychoose { background: var(--surface); padding: 72px 0; }
.title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 40px;
  text-transform: none;
  text-align: left;
}
.title span { color: var(--navy); }
.title.center { text-align: center; }
.title:has(+ .subtitle-box) { margin-bottom: 14px; }

.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.why-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.why-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  border-radius: 0;
  border-left: none;
  border-right: none;
  position: relative;
  transition: padding-left .2s;
}
.why-card:hover {
  padding-left: 8px;
  transform: none;
  box-shadow: none;
  border-color: var(--rule);
}
.why-number {
  width: 40px; height: 40px;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}
.why-card p {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}
.right-accent { display: none; }
.why-right { display: flex; align-self: stretch; }
.why-image {
  background-position: center 30%;
  background-size: cover;
  border-radius: var(--radius-lg);
  flex: 1;
  min-height: 320px;
  border: 1px solid var(--rule);
}

@media (max-width: 992px) {
  .why-container { grid-template-columns: 1fr; gap: 32px; }
  .why-right { height: 280px; }
}
@media (max-width: 768px) {
  .why-right { display: none; }
  .why-card p { font-size: 17px; }
  .title { margin-bottom: 32px; font-size: 28px; }
}

/* ---------- MANAGEMENT QUOTA ---------- */
.management-quota { background: var(--paper); padding: 72px 0; }
.subtitle-box {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  border-radius: 0;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 720px;
  border: none;
}
.quota-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: stretch;
}
.quota-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  flex: 1;
}
.quota-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.quota-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.info-card {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 22px 0;
  position: relative;
  transition: padding-left .2s;
}
.info-card:first-child { border-top: 1px solid var(--rule); }
.info-card:hover {
  padding-left: 8px;
  transform: none;
  box-shadow: none;
}
.icon-box {
  width: 48px; height: 48px;
  background: var(--tint);
  color: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-right: 20px;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: none;
}
.card-content { flex: 1; }
.card-content p {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.card-content h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 992px) {
  .quota-layout { grid-template-columns: 1fr; gap: 32px; flex-direction: column; }
  .quota-image { display: block; max-height: 280px; }
}
@media (max-width: 768px) {
  .card-content p { font-size: 16px; }
  .icon-box { width: 44px; height: 44px; font-size: 18px; }
}

/* ---------- ELIGIBILITY ---------- */
.eligibility { background: var(--surface); padding: 72px 0; }
.eligibility-header { text-align: center; margin-bottom: 48px; }
.eligibility-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}
.eligibility-header p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 12px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  box-shadow: var(--shadow-1);
}
.card:hover {
  transform: translateY(-2px) scale(1);
  border-color: var(--rule-2);
  box-shadow: var(--shadow-2);
}
.icon-circle {
  width: 88px; height: 88px;
  background: var(--tint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  transition: background .15s;
}
.svg-icon { width: 40px; height: 40px; }
.badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 26px; height: 26px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.card-text {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
}
.highlight { font-weight: 600; }

.card.blue   .icon-circle { background: var(--tint); }
.card.green  .icon-circle { background: var(--tint); }
.card.purple .icon-circle { background: var(--tint); }
.card.blue   .badge       { background: var(--navy); }
.card.green  .badge       { background: var(--good); }
.card.purple .badge       { background: var(--navy); }
.card.blue   .highlight   { color: var(--navy); }
.card.green  .highlight   { color: var(--good); }
.card.purple .highlight   { color: var(--navy-3); }
.card.blue:hover, .card.green:hover, .card.purple:hover { box-shadow: var(--shadow-2); }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .card { padding: 28px 20px; }
  .icon-circle { width: 72px; height: 72px; }
  .svg-icon { width: 36px; height: 36px; }
}

/* ---------- INSTITUTE / WHY US ---------- */
.institute { background: var(--paper); padding: 72px 0; }
.institute-header { text-align: center; margin-bottom: 48px; }
.institute-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}
.institute-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.institute-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 200px;
  padding: 36px 24px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  box-shadow: var(--shadow-1);
}
.institute-card:hover {
  transform: translateY(-2px);
  border-color: var(--rule-2);
  box-shadow: var(--shadow-2);
}
.institute-card .icon-box {
  width: 56px; height: 56px;
  background: var(--tint);
  color: var(--navy) !important;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-size: 22px;
  margin: 0 0 18px;
  box-shadow: none;
  transition: none;
}
.institute-card p {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  max-width: 200px;
  line-height: 1.4;
}
.institute-card.red    .icon-box,
.institute-card.blue   .icon-box,
.institute-card.purple .icon-box,
.institute-card.green  .icon-box {
  background: var(--tint);
  color: var(--navy) !important;
}
.institute-card.red:hover,
.institute-card.blue:hover,
.institute-card.purple:hover,
.institute-card.green:hover { box-shadow: var(--shadow-2); }

@media (max-width: 1000px) { .institute-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .institute-cards { grid-template-columns: 1fr; } }

/* ---------- PROCESS ---------- */
.process-section { background: var(--surface); padding: 72px 0; }
.process-layout {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 32px;
  align-items: start;
}
.timeline-card,.form-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  height: auto;
  box-shadow: var(--shadow-1);
}
.timeline { position: relative; }
.timeline-item {
  display: flex;
  align-items: center;
  margin: 24px 0;
  position: relative;
}
.timeline-item.left  { justify-content: flex-start; }
.timeline-item.right { justify-content: flex-end; }
.timeline-content {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  width: 44%;
  box-shadow: none;
}
.timeline-content h4 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--navy);
  margin: 0;
  font-weight: 600;
}
.timeline-content p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.timeline-circle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--navy);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  box-shadow: none;
}
.timeline-line {
  position: absolute;
  top: 24px; bottom: 24px;
  left: 50%;
  width: 1px;
  background: var(--rule);
  transform: translateX(-50%);
  height: auto;
  z-index: 1;
}
.form-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 22px;
  font-weight: 600;
}
.form-card form,
.consult-form,
.faq-form-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: 400 15px var(--sans);
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--subtle); }
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 78, 95,.10);
}
textarea { min-height: 120px; resize: vertical; }
.form-card button,
.consult-form button,
.faq-form-card button {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  height: 48px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: .12em;
  font: 600 13px var(--sans);
  margin-top: 4px;
  cursor: pointer;
  transition: background .15s;
  box-shadow: none;
  padding: 0 24px;
}
.form-card button:hover,
.consult-form button:hover,
.faq-form-card button:hover {
  background: var(--navy-2);
  transform: none;
  box-shadow: none;
}

@media (max-width: 992px) {
  .process-layout { grid-template-columns: 1fr; gap: 24px; }
  .timeline-line { left: 18px; }
  .timeline-circle { left: 18px; transform: translateX(-50%); }
  .timeline-item { padding-left: 48px; justify-content: flex-start !important; }
  .timeline-content { width: 100%; }
}
@media (max-width: 768px) {
  .timeline-content h4 { font-size: 16px; }
  .timeline-content p { font-size: 13px; }
}

/* ---------- FEE / BRANCHES ---------- */
.fee-section { background: var(--paper); padding: 72px 0; }
.fee-header { text-align: center; margin-bottom: 64px; }
.fee-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}
.fee-header p {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--subtle);
  margin-top: 12px;
  letter-spacing: .03em;
}
.fee-category {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
  padding-bottom: 56px;
}
.fee-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.cat-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.cat-bar {
  width: 4px; height: 28px;
  background: var(--navy) !important;
  border-radius: 2px;
  flex-shrink: 0;
}
.cat-heading h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink) !important;
  letter-spacing: -.005em;
  margin: 0;
}
.cat-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 24px;
  align-items: start;
}
.cat-left {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 96px;
}
.cat-img-box {
  background: var(--tint);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  max-height: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.cat-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.cat-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.branch-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 16px;
  flex: 1;
  height: 100%;
}
.branch-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.branch-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.bc-accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px !important;
  background: var(--navy) !important;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .25s ease;
  border-radius: 0;
}
.branch-card:hover .bc-accent-bar { transform: scaleX(1); }
.bc-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  flex: 1;
}
.bc-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--tint) !important;
  color: var(--navy) !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.bc-title-wrap { flex: 1; min-width: 0; }
.bc-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.3;
}
.bc-sub {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--subtle);
  font-weight: 500;
  letter-spacing: .02em;
}
.bc-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.4fr;
  gap: 4px;
  align-items: stretch;
  flex-shrink: 0;
}
.bc-table-row--5yr {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1.4fr;
}
.bc-col {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 8px 4px;
  transition: background .15s;
}
.bc-col span {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 4px;
}
.bc-col strong {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.bc-col.total {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  border-radius: var(--radius);
}
.bc-col.total span { color: rgba(255,255,255,.7); }
.bc-col.total strong { color: #fff; font-size: 13px; }

@media (max-width: 1280px) {
  .cat-layout { grid-template-columns: 28fr 72fr; }
  .bc-col strong { font-size: 12px; }
  .bc-col span { font-size: 8px; }
  .bc-table-row, .bc-table-row--5yr { gap: 4px; }
}
@media (max-width: 1024px) { .cat-layout { grid-template-columns: 38fr 62fr; } }
@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; align-items: start; }
  .cat-left { display: none; }
  .cat-right { height: auto; }
  .branch-grid { grid-auto-rows: auto; height: auto; grid-template-columns: 1fr 1fr !important; }
  .branch-card { height: auto; }
  .bc-top { flex: unset; }
}
@media (max-width: 560px) {
  .branch-grid { grid-template-columns: 1fr !important; }
}

/* ---------- KCET / COMEDK ---------- */
.kcet-section { background: var(--surface); padding: 72px 0; }
.kcet-section + .kcet-section { background: var(--paper); }
.kcet-section .title {
  text-align: center;
  margin-bottom: 14px;
}
.kcet-section .subtitle-box {
  margin-top: 0;
}
.kcet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.kcet-left, .kcet-right { display: flex; flex-direction: column; }
.section-heading {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.section-heading.green { color: var(--good); }
.kcet-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  margin-bottom: 0;
  position: relative;
  transition: padding-left .2s;
}
.kcet-card:hover {
  padding-left: 8px;
  transform: none;
  box-shadow: none;
  border-color: var(--rule);
}
.number {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}
.kcet-card.green .number {
  border-color: var(--good);
  color: var(--good);
  background: transparent;
  box-shadow: none;
}
.kcet-card p {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
}
.accent { display: none; }
.cta-box {
  display: block;
  background: var(--navy);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-top: 40px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
  box-shadow: none;
  border: 1px solid var(--navy);
}
.cta-box:hover { background: var(--navy-2); }

@media (max-width: 992px) {
  .kcet-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- CONSULT ---------- */
.consult-section { background: var(--surface); padding: 72px 0; }
.consult-section .title { text-align: center; }
.consult-layout {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 32px;
  align-items: stretch;
}
.consult-left.card,
.consult-form.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: left;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
}
.consult-left.card:hover,
.consult-form.card:hover {
  transform: none;
  box-shadow: var(--shadow-1);
  border-color: var(--rule);
}
.consult-left h3,
.consult-form h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 22px;
}
.consult-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.consult-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  border-radius: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  flex: none;
  cursor: default;
  transition: padding-left .2s;
}
.consult-points li:hover {
  padding-left: 8px;
  transform: none;
  box-shadow: none;
  border-color: var(--rule);
}
.consult-points li::before {
  content: "✓";
  width: 26px;
  min-width: 26px;
  height: 26px;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--good);
  color: #fff;
  border: 1px solid var(--good);
  border-radius: var(--radius);
  padding: 0 24px;
  height: 48px;
  font: 600 13px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  width: 100%;
  align-self: flex-start;
  margin-top: auto;
  text-decoration: none;
  box-shadow: none;
  transition: background .15s;
}
.whatsapp-btn:hover {
  background: #256F58;
  border-color: #256F58;
  transform: none;
  box-shadow: none;
  text-decoration: none;
}
.consult-form input,
.consult-form select {
  background: var(--surface);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  flex: none;
  min-height: auto;
  margin-bottom: 0;
  padding: 12px 14px;
  font-size: 15px;
}

@media (max-width: 992px) {
  .consult-layout { grid-template-columns: 1fr; }
  .consult-left, .consult-form { justify-content: flex-start; }
  .consult-points li { flex: unset; }
  .whatsapp-btn, .consult-form button { margin-top: 8px; }
}
@media (max-width: 768px) {
  .consult-left h3, .consult-form h3 { font-size: 20px; }
  .consult-points li { font-size: 16px; }
}

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); padding: 72px 0; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.faq-header p {
  color: var(--muted);
  font-size: 17px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
}
.faq-left { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: border-color .2s;
}
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-item.open {
  border-color: var(--rule);
  box-shadow: none;
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: color .15s;
}
.faq-q-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
}
.faq-question:hover, .faq-item.open .faq-question { background: transparent; }
.faq-question:hover .faq-q-text, .faq-item.open .faq-q-text { color: var(--navy); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--rule-2);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s, border-color .15s;
}
.faq-item.open .faq-icon {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.faq-answer {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 0 22px;
  margin-top: -6px;
  border-top: none;
  max-width: 660px;
}
.faq-right { position: sticky; top: 100px; }
.faq-form-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-1);
}
.faq-form-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 22px;
}
.faq-form-card input,
.faq-form-card select,
.faq-form-card textarea {
  background: var(--surface);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
}
.faq-form-card textarea { resize: vertical; min-height: 100px; }

@media (max-width: 992px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-right { position: static; }
}
@media (max-width: 768px) {
  .faq-section { padding: 64px 0; }
  .faq-question { padding: 18px 0; }
  .faq-q-text { font-size: 16px; }
  .faq-form-card { padding: 24px; }
  .faq-form-card h3 { font-size: 19px; }
}

/* ---------- DISCLAIMER + OFFICIAL SITES ---------- */
.disclaimer-section {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  width: 100%;
  padding: 0;
  border-top: none;
}
.disclaimer-container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 72px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.disclaimer-heading-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.disclaimer-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 600;
  color: #fff;
  text-align: left;
  letter-spacing: -.01em;
  margin: 0;
}
.disclaimer-divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  border-radius: 0;
}
.disclaimer-body {
  font-family: var(--sans);
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 760px;
  display: block;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  text-align: left;
}
.official-websites-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: none;
}
.ow-title-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.ow-globe { font-size: 18px; opacity: .8; }
.ow-title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #fff !important;
  text-align: left;
  font-weight: 600;
  margin: 0;
}
.ow-subtitle {
  font-family: var(--sans);
  font-size: 14.5px;
  text-align: left;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 720px;
}
.ow-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .ow-cards { grid-template-columns: 1fr; } }
.ow-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background .15s, border-color .15s;
}
.ow-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  transform: none;
  box-shadow: none;
}
.ow-card-logo {
  flex-shrink: 0;
  width: 56px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.comedk-text,
.comedk-text .c,
.comedk-text .omed,
.comedk-text .k,
.rvce-text,
.rvce-r,
.rvce-vce {
  color: #fff !important;
}
.kea-logo {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 56px; height: 48px;
  justify-content: center;
}
.kea-k, .kea-e, .kea-a {
  color: rgba(255,255,255,.92);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}
.kea-k { background: rgba(255,255,255,.4);  width: 14px; height: 28px; }
.kea-e { background: rgba(255,255,255,.55); width: 14px; height: 36px; }
.kea-a { background: rgba(255,255,255,.7);  width: 14px; height: 44px; }
.ow-card-info { flex: 1; min-width: 0; }
.ow-card-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  margin: 0 0 4px;
}
.ow-card-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,.65) !important;
  margin: 0 0 14px;
  line-height: 1.5;
}
.ow-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff !important;
  border-radius: var(--radius);
  padding: 8px 12px;
  font: 600 11px var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  word-break: break-all;
  transition: background .15s, border-color .15s;
}
.ow-link-btn:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.5);
  transform: none;
  text-decoration: none;
}
.ow-link-globe { font-size: 11px; }
.ow-note {
  background: rgba(255,255,255,.04);
  border-left: 2px solid var(--accent);
  border-radius: 0;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ow-note-icon {
  width: 18px; height: 18px;
  border: 1px solid rgba(255,255,255,.5);
  color: rgba(255,255,255,.85);
  border-radius: 50%;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ow-note p {
  font-family: var(--sans);
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Fixed mobile contact ---------- */
.fixed-contact-btns {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  border-top: 1px solid var(--rule);
}
.fixed-contact-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  color: #fff;
  font: 600 13px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter .15s;
}
.fixed-contact-btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
}
.fixed-contact-btn.wa   { background: var(--good); }
.fixed-contact-btn.call { background: var(--navy); }

@media (max-width: 768px) {
  .fixed-contact-btns { display: flex; }
  body { padding-bottom: 52px; }
}

/* ---------- Form success ---------- */
.success {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.success h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--good);
  margin-bottom: 8px;
  font-weight: 600;
}
.success p {
  font-family: var(--sans);
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Tighter mobile section padding ---------- */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .admission, .whychoose, .management-quota, .eligibility,
  .institute, .process-section, .fee-section, .kcet-section,
  .consult-section, .faq-section { padding: 64px 0; }
  .title { margin-bottom: 32px; font-size: 28px; }
  .fee-category { margin-bottom: 40px; padding-bottom: 40px; }
  .disclaimer-container { padding: 56px var(--gutter); }
  .official-websites-box { padding: 24px; }
  .left-chart, .form-card, .faq-form-card,
  .consult-left.card, .consult-form.card { padding: 24px; }
  .timeline-card { padding: 24px; }
}

/* ---------- Section banner images (KCET / COMEDK / Consult) ---------- */
.section-image {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 40px;
  background: var(--tint);
  box-shadow: 0 1px 0 rgba(17,20,24,.04);
  isolation: isolate;
  /* height is driven by .section-image__title — banner grows if title wraps to more lines */
}
.section-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  filter: saturate(.92) contrast(1.02);
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.section-image:hover img {
  transform: scale(1.04);
}
.section-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 78, 95,.40) 0%, rgba(31, 78, 95,.55) 60%, rgba(31, 78, 95,.70) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,.0) 30%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---- Title overlay on top of section image ----
   position: relative drives the banner's height — if the title wraps to
   more lines on phone, the image grows with it. min-height keeps a
   nice banner aspect on desktop. */
.section-image__title {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 32px 28px;
  pointer-events: none;
}
.section-image__title h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.005em;
  text-align: center;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.4);
  max-width: 920px;
  word-spacing: .02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.section-image__title h2 .letter {
  color: #ffffff;
  -webkit-text-fill-color: currentColor;
}
.section-image__title h2 .title-accent {
  background: none;
  -webkit-text-fill-color: currentColor;
}
.section-image__title h2 .title-accent .letter {
  color: #FCE3AE;
  font-style: italic;
}

/* Letter-by-letter rise animation, fires when .section-image becomes visible.
   Letters use display:inline + position:relative so the browser line-breaks
   only at whitespace (no mid-word breaks). */
.section-image__title h2 .letter {
  display: inline;
  position: relative;
  top: .55em;
  opacity: 0;
  transition:
    opacity .65s cubic-bezier(.2,.7,.2,1) calc(.04s + var(--i, 0) * .035s),
    top .65s cubic-bezier(.2,.7,.2,1) calc(.04s + var(--i, 0) * .035s);
}
.section-image.is-visible .section-image__title h2 .letter {
  opacity: 1;
  top: 0;
}

/* Soft underline that draws under the title after letters land */
.section-image__title h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, #FCE3AE 30%, var(--accent) 70%, transparent);
  transition: width 1s cubic-bezier(.2,.7,.2,1) .9s;
}
.section-image.is-visible .section-image__title h2::after {
  width: 60%;
  max-width: 280px;
}

@media (prefers-reduced-motion: reduce) {
  .section-image__title h2 .letter {
    opacity: 1 !important;
    top: 0 !important;
  }
  .section-image__title h2::after {
    width: 60% !important;
    max-width: 280px !important;
  }
}

/* ---- Mobile typography (phone-first responsive) ---- */
@media (max-width: 900px) {
  .section-image { margin-bottom: 32px; }
  .section-image__title { min-height: 200px; padding: 28px 24px; }
  .section-image__title h2 {
    font-size: clamp(20px, 4.4vw, 30px);
    line-height: 1.2;
  }
  .section-image__title h2::after { margin-top: 12px; }
}
@media (max-width: 640px) {
  .section-image { margin-bottom: 28px; border-radius: 8px; }
  .section-image__title { min-height: 180px; padding: 24px 20px; }
  .section-image__title h2 {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.25;
    letter-spacing: 0;
  }
  .section-image__title h2::after { margin-top: 10px; height: 2px; }
  .section-image__title h2 .letter { top: .35em; }
  .section-image.is-visible .section-image__title h2 .letter { top: 0; }
}
@media (max-width: 420px) {
  .section-image { margin-bottom: 24px; }
  .section-image__title { min-height: 168px; padding: 20px 16px; }
  .section-image__title h2 {
    font-size: 18px;
    line-height: 1.3;
  }
}
.section-image::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #F59E0B);
  z-index: 2;
}
.section-image--consult img   { object-position: center 30%; }
.section-image--kcet img      { object-position: center 55%; }
.section-image--comedk img    { object-position: center 40%; }
.section-image--admission img { object-position: center 50%; }
.section-image--about img     { object-position: center 50%; }

@media (max-width: 768px) {
  .section-image { height: 180px; margin-bottom: 36px; }
}
@media (max-width: 480px) {
  .section-image { height: 150px; margin-bottom: 28px; border-radius: 8px; }
}

/* ---------- Misc ---------- */
.subtitle { font-size: 18px; font-weight: 500; }

/* =========================================================
   LIGHTWEIGHT MODE
   Keep animation ONLY on the main headings:
     • Hero "RVCE" letter rise
     • Section banner title letter rise (Admission / KCET / COMEDK / Consult)
   Everything else is static so the page stays smooth on phones.
   ========================================================= */

/* Scroll-triggered reveals: show content immediately, no fade-up */
.reveal,
.reveal-words,
.reveal-words .rw-word {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  animation: none !important;
}

/* Section heading accent line — show it fully drawn, no scaleX animation */
.section-accent {
  opacity: 1 !important;
  transform: scaleX(1) !important;
  transition: none !important;
}

/* Hero entrance cascade off — all blocks visible immediately */
.hero-badge,
.hero-subtitle,
.hero-desc,
.hero-buttons,
.hero-stats,
.hero-desc .word {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  filter: none !important;
  animation: none !important;
}

/* Continuous decorative animations that chug on mobile — turn off
   (KEPT: .hero-marquee-track — the bottom credentials ticker animates) */
.hero-glow,
.hero-badge span,
.hero-scroll-line::after {
  animation: none !important;
}

/* RVCE title shimmer overlay — disable (letter rise stays) */
.hero-title-text::after { display: none !important; }

/* RVCE flourish underline — show fully drawn, no draw-in animation */
.hero-title-flourish {
  stroke-dashoffset: 0 !important;
  animation: none !important;
}

/* Section banner image hover zoom — disable to remove repaint cost */
.section-image:hover img { transform: none !important; }

/* Section banner title underline — show static */
.section-image__title h2::after {
  width: 56% !important;
  max-width: 260px !important;
  transition: none !important;
}

/* Branch card hover lift / accent bar — disable
   (kept border-color hover for subtle feedback) */
.branch-card { transition: border-color .15s !important; }
.branch-card:hover {
  transform: none !important;
  box-shadow: var(--shadow-1) !important;
}
.branch-card .bc-accent-bar { display: none !important; }

/* Card hover lifts that animate transform — keep them but with shorter
   transition so they feel snappy, not bouncy.
   ( .institute-card excluded — has its own polished enhancement below ) */
.card,
.quota-card,
.hero-finder { transition: border-color .15s, box-shadow .15s !important; }
.card:hover,
.quota-card:hover,
.quota-card.active,
.hero-finder:hover { transform: none !important; }

/* PRESERVED: hero RVCE letter rise (page-load, runs once)
   PRESERVED: section banner title letter rise (when .is-visible toggles) */

/* =========================================================
   "Why Choose RVCE Bangalore?" — interactive timeline list
   • vertical connecting line through all 5 numbered circles
   • hover: circle scales + fills navy + soft pulse glow
   • hover: card gets a faint bg + text shifts right
   • on scroll: each row fades up with stagger, re-triggers each pass
   ========================================================= */
.why-list { position: relative; }

/* Vertical timeline line behind the circles
   (positioned at x=19.5px so a 2px line passes through the
   center of each 40px circle that sits at the row's left edge) */
.why-list::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(31, 78, 95, 0)   0%,
    rgba(31, 78, 95, .22) 7%,
    rgba(31, 78, 95, .22) 93%,
    rgba(31, 78, 95, 0)   100%
  );
  border-radius: 1px;
  pointer-events: none;
  z-index: 0;
}

/* Card row — flex layout + snappy hover */
.why-list .why-card {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  transition:
    background-color .18s ease,
    padding-left .2s cubic-bezier(.4, 0, .2, 1),
    border-color .18s ease;
}
.why-list .why-card:hover {
  background-color: rgba(31, 78, 95, .045);
  padding-left: 10px;
  border-bottom-color: rgba(31, 78, 95, .22);
}

/* Numbered circle — opaque so it sits on top of the timeline line */
.why-list .why-number {
  position: relative;
  z-index: 2;
  background: var(--surface);
  transition:
    transform .2s cubic-bezier(.34, 1.4, .64, 1),
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease,
    box-shadow .2s ease;
  will-change: transform;
}
.why-list .why-card:hover .why-number {
  transform: scale(1.1);
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  /* Static glow only — no continuous keyframe loop, much lighter on the GPU */
  box-shadow:
    0 0 0 5px  rgba(31, 78, 95, .12),
    0 4px 12px -4px rgba(31, 78, 95, .45);
}

/* Text — small slide right on hover, navy color shift */
.why-list .why-card p {
  transition:
    transform .2s cubic-bezier(.4, 0, .2, 1),
    color .18s ease;
}
.why-list .why-card:hover p {
  transform: translateX(6px);
  color: var(--navy);
}

/* Sequential scroll-up reveal — kept short so all 5 land within ~0.4s.
   Uses [data-rise] attr hook so the lightweight-mode .reveal overrides
   above don't catch it. */
.why-list .why-card[data-rise] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .32s ease-out var(--rise-d, 0s),
    transform .32s ease-out var(--rise-d, 0s),
    background-color .18s ease,
    padding-left .2s ease,
    border-color .18s ease;
  will-change: transform, opacity;
}
.why-list .why-card[data-rise].is-on {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .why-list .why-card[data-rise] {
    opacity: 1 !important;
    transform: none !important;
    transition: background-color .15s ease, padding-left .15s ease;
  }
}

@media (max-width: 480px) {
  .why-list::before { left: 14px; }
  .why-list .why-card:hover { padding-left: 8px; }
  .why-list .why-card:hover p { transform: translateX(4px); }
}

/* =========================================================
   "Why Choose RVCE Bangalore?" — card-style refresh
   • Filled light cards (replaces the line-separator list)
   • Gradient number badge (navy → crimson)
   • Right-edge gradient accent stripe on each card
   • Keeps the existing hover lift + scroll-reveal animations
   ========================================================= */
/* Hide the timeline line — no longer used in the card layout */
.why-list,
.why-list::before { background: none !important; border-top: none !important; }
.why-list::before { display: none !important; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-list .why-card {
  background: rgba(31, 78, 95, .04);
  border: 1px solid rgba(31, 78, 95, .08) !important;
  border-bottom: 1px solid rgba(31, 78, 95, .08) !important;
  border-radius: 14px;
  padding: 14px 28px 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(17,20,24,.03),
    0 4px 12px -6px rgba(31, 78, 95,.06);
}
.why-list .why-card:hover {
  background: rgba(31, 78, 95, .065);
  border-color: rgba(31, 78, 95, .18) !important;
  border-bottom-color: rgba(31, 78, 95, .18) !important;
  padding-left: 26px;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(17,20,24,.04),
    0 12px 24px -10px rgba(31, 78, 95,.22);
}

/* Gradient number badge */
.why-list .why-number {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none !important;
  background: linear-gradient(135deg, var(--navy) 0%, var(--sage-deep) 100%) !important;
  color: #ffffff !important;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,.3) inset,
    0 4px 10px -3px rgba(31, 78, 95,.35);
  transition:
    transform .22s cubic-bezier(.34, 1.4, .64, 1),
    box-shadow .22s ease;
  will-change: transform;
}
.why-list .why-card:hover .why-number {
  transform: scale(1.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 6px 14px -4px rgba(138, 185, 181, .4);
}

/* Right-edge gradient accent stripe (the colored bar on the right) */
.why-list .why-card .right-accent {
  display: block !important;
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--sage-deep) 100%);
  opacity: .85;
  transition: opacity .2s ease, top .25s ease, bottom .25s ease;
}
.why-list .why-card:hover .right-accent {
  opacity: 1;
  top: 8%;
  bottom: 8%;
}

/* Text */
.why-list .why-card p {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  transition: color .18s ease, transform .22s cubic-bezier(.4,0,.2,1);
}
.why-list .why-card:hover p {
  color: var(--navy);
  transform: translateX(4px);
}

@media (max-width: 480px) {
  .why-list .why-card { padding: 14px 22px 14px 14px; gap: 14px; border-radius: 12px; }
  .why-list .why-card:hover { padding-left: 18px; }
  .why-list .why-number { width: 42px; height: 42px; border-radius: 10px; font-size: 16px; }
  .why-list .why-card p { font-size: 15px; }
}

/* =========================================================
   "Why Apply Through Us for RVCE Management Quota?"
   — polished 4-card grid (SaaS-style)
   • equal heights via grid-auto-rows
   • per-card soft accent (tinted bg + colored top hairline + icon)
   • hover: lift + colored glow shadow + icon scale
   • scroll: fast staggered fade-up via [data-rise-i] attr hook
   ========================================================= */
.institute-cards {
  grid-auto-rows: 1fr; /* equal heights, edges aligned */
}

.institute-card {
  /* per-card accent tokens — overridden by .red / .blue / .purple / .green */
  --inst-accent:     #1F4E5F;
  --inst-accent-rgb: 31 78 95;

  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg,
    #ffffff 0%,
    rgba(var(--inst-accent-rgb) / .035) 100%);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 32px 22px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  box-shadow:
    0 1px 0 rgba(17,20,24,.04),
    0 4px 14px -6px rgba(31, 78, 95,.07);
  overflow: hidden;
  cursor: default;
  transition:
    transform .28s cubic-bezier(.2,.7,.2,1),
    box-shadow .28s ease,
    border-color .2s ease,
    background .25s ease !important;
}
.institute-card.red    { --inst-accent: #8AB9B5; --inst-accent-rgb: 138 185 181; }
.institute-card.blue   { --inst-accent: #2C6C7E; --inst-accent-rgb: 44 108 126; }
.institute-card.purple { --inst-accent: #C88A2E; --inst-accent-rgb: 200 138 46; }
.institute-card.green  { --inst-accent: #2E8B6E; --inst-accent-rgb: 46 139 110; }

/* Soft colored top hairline — appears as a subtle gradient outline */
.institute-card::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--inst-accent-rgb) / .85) 50%,
    transparent);
  border-radius: 2px;
  opacity: .7;
  transition: opacity .25s ease, left .35s ease, right .35s ease;
}

.institute-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(var(--inst-accent-rgb) / .35);
  background: linear-gradient(180deg,
    #ffffff 0%,
    rgba(var(--inst-accent-rgb) / .055) 100%);
  box-shadow:
    0 1px 0 rgba(17,20,24,.04),
    0 18px 32px -12px rgba(var(--inst-accent-rgb) / .28),
    0 6px 14px -8px rgba(31, 78, 95,.10);
}
.institute-card:hover::before {
  opacity: 1;
  left: 4%; right: 4%;
}

/* Icon — colored, soft tinted background, scales on hover.
   Higher specificity (.institute-cards parent) so it wins over the
   earlier `.institute-card.red .icon-box { color: var(--navy) }` rules. */
.institute-cards .institute-card .icon-box,
.institute-cards .institute-card.red .icon-box,
.institute-cards .institute-card.blue .icon-box,
.institute-cards .institute-card.purple .icon-box,
.institute-cards .institute-card.green .icon-box {
  width: 56px; height: 56px;
  background: rgba(var(--inst-accent-rgb) / .10) !important;
  color: var(--inst-accent) !important;
  border: 1px solid rgba(var(--inst-accent-rgb) / .22);
  border-radius: 50%;
  font-size: 24px;
  margin: 0 0 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition:
    transform .28s cubic-bezier(.34,1.4,.64,1),
    background-color .2s ease,
    border-color .2s ease;
  will-change: transform;
}
.institute-cards .institute-card:hover .icon-box {
  transform: scale(1.1);
  background: rgba(var(--inst-accent-rgb) / .18) !important;
  border-color: rgba(var(--inst-accent-rgb) / .4);
}

.institute-card p {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  max-width: 200px;
  margin: 0 !important;
  transition: color .2s ease;
}
.institute-card:hover p { color: var(--inst-accent); }

/* Scroll-triggered fade-up — uses [data-rise-i] attr hook so the
   lightweight-mode .reveal overrides above don't catch it */
.institute-card[data-rise-i] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity .35s ease-out var(--rise-d, 0s),
    transform .35s ease-out var(--rise-d, 0s),
    background .25s ease,
    box-shadow .28s ease,
    border-color .2s ease !important;
  will-change: transform, opacity;
}
.institute-card[data-rise-i].is-on {
  opacity: 1;
  transform: translateY(0);
}
.institute-card[data-rise-i].is-on:hover {
  /* hover transform must win over the rise transform once visible */
  transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
  .institute-card[data-rise-i] {
    opacity: 1 !important;
    transform: none !important;
  }
  .institute-card:hover { transform: none !important; }
  .institute-card:hover .icon-box { transform: none !important; }
}

@media (max-width: 1000px) { .institute-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .institute-cards { grid-template-columns: 1fr; gap: 16px; }
  .institute-card { min-height: 180px; padding: 26px 20px; }
}

/* =========================================================
   "ABOUT RVCE" — same 4-card grid as Why Apply Through Us,
   but with gradient icon tiles (navy → crimson) holding
   white line SVG icons. Cards still inherit the polished
   hover lift, scroll reveal, and per-variant accent tokens.
   ========================================================= */
.about-rvce { background: var(--paper); }

.about-rvce .institute-card .icon-box,
.about-rvce .institute-card.red .icon-box,
.about-rvce .institute-card.blue .icon-box,
.about-rvce .institute-card.purple .icon-box,
.about-rvce .institute-card.green .icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--sage-deep) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 6px 14px -4px rgba(31, 78, 95,.4),
    0 2px 6px -1px rgba(138, 185, 181,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition:
    transform .28s cubic-bezier(.34, 1.4, .64, 1),
    box-shadow .25s ease;
}
.about-rvce .institute-card .icon-box svg {
  width: 28px;
  height: 28px;
  display: block;
  stroke: #ffffff;
}

.about-rvce .institute-card:hover .icon-box {
  transform: scale(1.1);
  box-shadow:
    0 1px 0 rgba(255,255,255,.25) inset,
    0 10px 20px -4px rgba(31, 78, 95,.5),
    0 4px 10px -1px rgba(138, 185, 181,.35);
}

/* Match the user's "light blue tone" — slightly more blue tint
   on the card bg than the warm-paper variants of Why Apply */
.about-rvce .institute-card {
  background: linear-gradient(180deg,
    #ffffff 0%,
    rgba(44, 108, 126, .055) 100%) !important;
}
.about-rvce .institute-card:hover {
  background: linear-gradient(180deg,
    #ffffff 0%,
    rgba(44, 108, 126, .075) 100%) !important;
}

/* Center label below icon, slightly more confident weight */
.about-rvce .institute-card p {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  max-width: 200px;
}

/* ---- About RVCE — description + image mosaic ---- */
.about-rvce__lede {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  margin: 14px auto 0;
  max-width: 660px;
  text-align: center;
  text-wrap: pretty;
}

.about-rvce__mosaic {
  display: grid;
  grid-template-columns: 8fr 4fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}

.about-rvce__img {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--tint);
  box-shadow:
    0 1px 0 rgba(17, 20, 24, .04),
    0 8px 24px -8px rgba(31, 78, 95, .14);
  ring: 1px solid rgba(17, 20, 24, .05);
  transition: box-shadow .25s ease, transform .25s ease;
}
.about-rvce__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.about-rvce__img:hover {
  box-shadow:
    0 1px 0 rgba(17, 20, 24, .05),
    0 16px 36px -10px rgba(31, 78, 95, .25);
}
.about-rvce__img:hover img { transform: scale(1.04); }

/* Hero image — spans both rows on the left */
.about-rvce__img--hero {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: 420px;
}
.about-rvce__img--students { grid-column: 2 / 3; grid-row: 1 / 2; min-height: 200px; }
.about-rvce__img--library  { grid-column: 2 / 3; grid-row: 2 / 3; min-height: 200px; }

/* Soft scrim + caption overlay on the hero image */
.about-rvce__img--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(31, 78, 95, .25) 75%, rgba(31, 78, 95, .55) 100%);
  pointer-events: none;
}
.about-rvce__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px 22px;
  z-index: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-rvce__caption-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #FCE3AE;
}
.about-rvce__caption-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.005em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

/* Slim accent rule under each card title to tie into the section's
   gradient ribbon (matches existing v2 accent line style) */
.about-rvce .institute-card { padding-top: 30px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-rvce__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }
  .about-rvce__img--hero {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    min-height: 280px;
    aspect-ratio: 16 / 9;
  }
  .about-rvce__img--students { grid-column: 1 / 2; grid-row: 2 / 3; min-height: 160px; }
  .about-rvce__img--library  { grid-column: 2 / 3; grid-row: 2 / 3; min-height: 160px; }
  .about-rvce__caption-title { font-size: 17px; }
}
@media (max-width: 480px) {
  .about-rvce__mosaic { gap: 10px; margin: 28px 0; }
  .about-rvce__img--hero    { min-height: 200px; aspect-ratio: 4 / 3; }
  .about-rvce__img--students,
  .about-rvce__img--library { min-height: 130px; }
  .about-rvce__caption { padding: 14px 16px; }
  .about-rvce__caption-title { font-size: 15px; }
  .about-rvce__lede { font-size: 15px; padding: 0 8px; }
}

/* =========================================================
   "Why KCET / COMEDK Quota is Important?" — two-column
   timeline lists (About + Benefits)
   • per-column vertical line through the numbered circles
   • snappy hover: circle scale + fill, text slide
   • per-card staggered scroll fade-up
   ========================================================= */
.kcet-left,
.kcet-right { position: relative; }

/* Vertical line behind the circles — navy on the left column,
   green on the right (Benefits) column */
.kcet-left::before,
.kcet-right::before {
  content: "";
  position: absolute;
  left: 13px;     /* center of 28px circle */
  top: 64px;      /* below the section heading */
  bottom: 16px;
  width: 2px;
  border-radius: 1px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(to bottom,
    rgba(31, 78, 95, 0)   0%,
    rgba(31, 78, 95, .22) 8%,
    rgba(31, 78, 95, .22) 92%,
    rgba(31, 78, 95, 0)   100%);
}
.kcet-right::before {
  background: linear-gradient(to bottom,
    rgba(46, 139, 110, 0)   0%,
    rgba(46, 139, 110, .25) 8%,
    rgba(46, 139, 110, .25) 92%,
    rgba(46, 139, 110, 0)   100%);
}

/* Card row — keep flex layout, add highlight bg + smoother transition */
.kcet-card {
  position: relative;
  z-index: 1;
  min-height: 82px;          /* equal-height rows so separators line up across both columns */
  border-radius: 6px;
  transition:
    background-color .18s ease,
    padding-left .2s cubic-bezier(.4, 0, .2, 1),
    border-color .18s ease;
}
@media (max-width: 640px) {
  .kcet-card { min-height: 72px; }
}
.kcet-card:hover {
  background-color: rgba(31, 78, 95, .04);
  padding-left: 12px;
  border-bottom-color: rgba(31, 78, 95, .22);
}
.kcet-card.green:hover {
  background-color: rgba(46, 139, 110, .045);
  border-bottom-color: rgba(46, 139, 110, .22);
}

/* Numbered circle — opaque so it sits over the timeline line */
.kcet-card .number {
  position: relative;
  z-index: 2;
  background: var(--surface);
  transition:
    transform .2s cubic-bezier(.34, 1.4, .64, 1),
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease,
    box-shadow .2s ease;
  will-change: transform;
}
.kcet-card:hover .number {
  transform: scale(1.12);
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow:
    0 0 0 4px  rgba(31, 78, 95, .12),
    0 4px 10px -3px rgba(31, 78, 95, .4);
}
.kcet-card.green:hover .number {
  background: var(--good);
  border-color: var(--good);
  box-shadow:
    0 0 0 4px  rgba(46, 139, 110, .14),
    0 4px 10px -3px rgba(46, 139, 110, .42);
}

/* Text — small slide right + accent color shift on hover */
.kcet-card p {
  transition: transform .2s cubic-bezier(.4, 0, .2, 1), color .18s ease;
}
.kcet-card:hover p {
  transform: translateX(6px);
  color: var(--navy);
}
.kcet-card.green:hover p { color: var(--good); }

/* Scroll-triggered fade-up — uses [data-rise-k] hook */
.kcet-card[data-rise-k] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .32s ease-out var(--rise-d, 0s),
    transform .32s ease-out var(--rise-d, 0s),
    background-color .18s ease,
    padding-left .2s ease,
    border-color .18s ease;
  will-change: transform, opacity;
}
.kcet-card[data-rise-k].is-on {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .kcet-card[data-rise-k] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 992px) {
  .kcet-left::before,
  .kcet-right::before { top: 56px; }
}
@media (max-width: 480px) {
  .kcet-card:hover { padding-left: 8px; }
  .kcet-card:hover p { transform: translateX(4px); }
}

/* =========================================================
   FORM-CARD HEIGHT MATCH
   Eliminate the empty white space below the right-side forms in
   the Process section and the Consult section.
   - Make both layout columns equal height
   - Make the form fill the card vertically
   - Pin the submit button to the bottom of its card
   ========================================================= */
.process-layout,
.consult-layout {
  align-items: stretch !important;
}

.form-card,
.consult-form.card {
  display: flex !important;
  flex-direction: column !important;
}
.form-card > form,
.consult-form.card > form {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}
.form-card > form > button[type="submit"],
.consult-form.card > form > button[type="submit"] {
  margin-top: auto !important;
}

/* =========================================================
   SCROLL-TRIGGERED REVEAL SYSTEM (sitewide)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s),
    transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Word-by-word variant for paragraph reveals (.lede, etc.) */
.reveal-words .rw-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(3px);
  transition:
    opacity .5s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0s) + var(--wi, 0s)),
    transform .5s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0s) + var(--wi, 0s)),
    filter .5s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0s) + var(--wi, 0s));
}
.reveal-words.is-visible .rw-word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Animated gold-crimson accent line under section headings */
.section-accent {
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #F59E0B);
  border-radius: 2px;
  margin: 16px auto 0;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition:
    transform 1s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0s) + .2s),
    opacity .5s ease var(--d, 0s);
}
.section-accent.is-visible {
  transform: scaleX(1);
  opacity: 1;
}
.section-accent--left {
  margin: 14px 0 0;
}

/* Subtle stat / number rollover */
.has-counter[data-count]::after {
  content: "";
}

/* Heading colored span gets a subtle hover sheen */
.title span,
.admission-header h2 span,
.eligibility-header h2 span,
.institute-header h2 span,
.fee-header h2 span,
.faq-header h2 span {
  background-image: linear-gradient(90deg, var(--navy) 0%, var(--navy) 55%, var(--sage-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 0% 0;
  transition: background-position .8s ease;
}
.title:hover span {
  background-position: 100% 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-words .rw-word,
  .section-accent {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* override container for ow box */
.disclaimer-container .official-websites-box { width: 100%; }

/* =====================================================================
   COLLEGE-PAGE INTEGRATION LAYER
   Bridges the rvce3 design system to the Shree Vinayak Consultancy college
   pages: consultancy nav branding, course-card footer, API-backed
   enquiry forms, premium footer and disclaimer band. New palette only.
   ===================================================================== */

/* --- Nav: consultancy wordmark + college chip --- */
.logo-text .brand-accent { color: var(--accent); }
.nav-college-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px; margin-left: 4px;
  background: var(--tint); border: 1px solid var(--rule-2);
  border-radius: 999px; font: 600 12.5px var(--sans); color: var(--navy);
}
.nav-college-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
@media (max-width: 900px) { .nav-college-chip { display: none; } }

/* --- Course-card footer (adapts rvce3 branch card to course data) --- */
.bc-course-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rule-2); }
.bc-course-tag {
  display: inline-block; font: 600 11.5px var(--mono); letter-spacing: .04em;
  color: var(--navy); background: var(--tint); border: 1px solid var(--rule-2);
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}

/* --- API-backed enquiry form (srm-enquiry.js) --- */
.phone-group { display: flex; gap: 8px; }
.phone-group .flag-select { flex: 0 0 96px; }
.phone-group input { flex: 1 1 auto; }
.form-consent {
  display: flex; gap: 8px; align-items: flex-start; cursor: pointer;
  font: 400 12.5px/1.5 var(--sans); color: var(--subtle); margin: 12px 0 0; text-align: left;
}
.form-consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy); }
.form-consent strong { color: var(--text); }

.srm-form-success { display: none; text-align: center; padding: 28px 18px; }
.srm-form-success.show { display: block; animation: fadeUp .4s ease both; }
.srm-form-success .tick {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; color: #fff;
  background: linear-gradient(135deg, var(--good), #1F5F4B);
}
.srm-form-success p { color: var(--muted); font-size: 14.5px; margin: 0; }
.srm-form-success h4 { font-family: var(--serif); color: var(--ink); margin: 0 0 6px; font-size: 19px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.form-note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--subtle); }
.form-note a { color: var(--navy); font-weight: 600; }

/* --- Placement recruiter marquee --- */
.reveal-chip {
  display: inline-block; margin: 0 6px; padding: 9px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--rule); color: var(--navy);
  font: 600 13.5px var(--sans); white-space: nowrap; box-shadow: var(--shadow-1);
}

/* --- Stat cards (Why … Stands Out) --- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 26px 20px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgba(31, 78, 95,.25); }
.stat-card .ic {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; color: var(--navy); background: var(--tint);
}
.stat-card .num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1; }
.stat-card .lbl { margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* --- Premium footer --- */
.site-footer { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: rgba(255,255,255,.82); padding: 56px 0 0; }
.site-footer .footer-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px;
}
.site-footer h4 { color: #fff; font-family: var(--serif); font-size: 16px; margin: 0 0 16px; }
.site-footer a { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); padding: 6px 0; font-size: 14px; transition: color .2s; }
.site-footer a:hover { color: var(--quota-management); }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.66); margin-top: 12px; }
.footer-wordmark { font-family: var(--serif); font-size: 22px; font-weight: 700; color: #fff; }
.footer-wordmark .brand-accent { color: var(--accent); }
.footer-bottom {
  max-width: var(--container); margin: 40px auto 0; padding: 20px var(--gutter);
  border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 820px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 480px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }

/* --- Disclaimer band --- */
.disclaimer-band { background: var(--ink); color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.7; padding: 18px 0; }
.disclaimer-band .container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.disclaimer-band strong { color: rgba(255,255,255,.85); }

/* Nav list holds real site links (Home/About/Contact) */
.nav-links li a, .mobile-links li a { color: inherit; font: inherit; text-decoration: none; display: block; }

/* Light recruiter chip marquee (placements) */
.chip-marquee {
  position: relative; overflow: hidden; padding: 6px 0; margin-top: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.chip-marquee .hero-marquee-track { animation: heroMarquee 46s linear infinite; align-items: center; }
