:root {
  /* Chandigarh University's real brand system: deep maroon/crimson primary, near-black structural, warm gold secondary accent. */
  --ink: #241412;
  --muted: #6b5651;
  --faint: #9c8985;
  --paper: #ffffff;
  --cream: #faf4f1;
  --line: #ecdcd7;
  --gold: #7A1F2B;
  --gold-2: #9B2D3E;
  --navy: #1E1210;
  --navy-2: #120A09;
  --amity: #C99A3D;
  --amity-2: #E0B563;
  --shadow: 0 22px 70px rgba(30, 18, 16, 0.18);
  --soft-shadow: 0 12px 34px rgba(30, 18, 16, 0.1);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 6%, rgba(122, 31, 43, 0.09), transparent 34rem),
    radial-gradient(circle at 4% 38%, rgba(201, 154, 61, 0.07), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #faf4f1 52%, #ffffff 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(122, 31, 43, 0.5); outline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.015); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-xl { padding: 1.15rem 2.2rem; font-size: 1.05rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(122, 31, 43, 0.4);
}
.btn-gold:hover { box-shadow: 0 18px 38px rgba(122, 31, 43, 0.5); }
.btn-outline {
  border-color: rgba(30, 18, 16, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover { border-color: var(--amity); background: #fff; }
.btn-navy {
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(18, 10, 9, 0.32);
}

/* Topline */
.topline { background: var(--navy); color: rgba(255, 255, 255, 0.75); font-size: 0.8rem; }
.topline-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.55rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topline-inner-centered { justify-content: center; text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand-lockup { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo { height: 34px; width: auto; }
.brand-divider { width: 1px; height: 22px; background: var(--line); }
.brand-cv { font-size: 0.85rem; color: var(--muted); }
.brand-cv strong { color: var(--ink); }
.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 0.3rem;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amity);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav a:hover { color: var(--amity); }
.site-nav a.active { color: var(--navy); }
.site-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.header-advisor-btn { padding: 0.85rem 1.15rem; font-size: 0.88rem; }
@media (max-width: 860px) {
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .brand-cv { display: none; }
  .header-advisor-btn span { display: none; }
  .header-advisor-btn { padding: 0.85rem; }
  .header-advisor-btn::after { content: 'Advisor'; }
}

/* Hero */
.hero {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(135deg, var(--amity) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 10%, rgba(122, 31, 43, 0.16), transparent 42%);
  pointer-events: none;
}
.hero-watermark {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 5vw, 5rem);
  transform: translate(0, -50%);
  width: clamp(260px, 24vw, 420px);
  height: auto;
  opacity: 0.1;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-watermark { animation: watermark-drift 12s ease-in-out infinite; }
}
@keyframes watermark-drift {
  0%, 100% { transform: translate(0, -50%); }
  50% { transform: translate(-18px, -46%); }
}
.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 760px; }
@media (max-width: 900px) {
  .hero-watermark { display: none; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(18, 10, 9, 0.35);
  margin: 0 0 1.1rem;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #ffffff; }
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.24;
  margin: 0 0 1.1rem;
  font-weight: 800;
  color: #ffffff;
}
.gold-box {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
  padding: 0.05em 0.32em;
  border-radius: 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-sub { font-size: 1.08rem; color: rgba(255, 255, 255, 0.82); line-height: 1.6; max-width: 46ch; margin: 0 0 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.9rem; }

.badge {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(160deg, #ffffff, #eaf1fa);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(30, 18, 16, 0.28);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(30, 18, 16, 0.34);
}
.badge::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(122, 31, 43, 0.35) 34%, transparent 48%);
  transform: translateX(-120%);
}
@media (prefers-reduced-motion: no-preference) {
  .badge::before { animation: badge-shine 5s ease-in-out infinite; }
  .badge:nth-child(2)::before { animation-delay: 0.5s; }
  .badge:nth-child(3)::before { animation-delay: 1s; }
}
@keyframes badge-shine {
  0%, 20% { transform: translateX(-120%); }
  40%, 100% { transform: translateX(120%); }
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--gold-2), var(--gold) 75%);
  color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.badge-icon svg { width: 14px; height: 14px; }
.badge-label { white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1rem; }
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.btn-outline-light:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.16); }
.hero-trust { font-size: 0.82rem; color: rgba(255, 255, 255, 0.68); max-width: 46ch; }

/* Stat strip */
.stat-strip { background: #ffffff; border-bottom: 1px solid var(--line); padding: 1.6rem 1.5rem; box-shadow: 0 8px 24px rgba(30, 18, 16, 0.06); }
.stat-strip-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 1.2rem;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(201, 154, 61, 0.1), rgba(201, 154, 61, 0.04));
  color: var(--amity);
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-text { display: flex; flex-direction: column; gap: 0.1rem; }
.stat-value { font-family: var(--serif); font-size: 1.35rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.stat-label { font-size: 0.76rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 860px) {
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .stat:nth-child(3) { border-left: none; }
}
@media (max-width: 500px) {
  .stat-strip-inner { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); padding-top: 1rem; }
  .stat:first-child { border-top: none; padding-top: 0.4rem; }
}

/* Sections */
.section { padding: 4.5rem 1.5rem; }
.section-alt { background: var(--cream); }
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 0.7rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  margin: 0 0 0.9rem;
}
.section-lead { color: var(--muted); font-size: 1.02rem; max-width: 62ch; line-height: 1.6; margin: 0 0 2.4rem; }

/* Fit grid */
/* Why-Amity interactive tabs */
.why-tabs {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  min-height: 320px;
}
.why-tab-list {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.9rem;
  background: var(--cream);
  border-right: 1px solid var(--line);
}
.why-tab-indicator {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: calc(100% - 1.8rem);
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(18, 10, 9, 0.24);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
}
.why-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}
.why-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(201, 154, 61, 0.08);
  color: var(--amity);
  transition: background 0.3s ease, color 0.3s ease;
}
.why-tab-icon svg { width: 19px; height: 19px; }
.why-tab.active { color: #fff; }
.why-tab.active .why-tab-icon { background: rgba(255, 255, 255, 0.16); color: var(--gold-2); }
.why-tab:not(.active):hover .why-tab-icon { background: rgba(201, 154, 61, 0.14); }

.why-tab-panels { position: relative; padding: 2.4rem 2.4rem; display: flex; align-items: center; }
.why-tab-panel {
  display: none;
  animation: why-panel-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-tab-panel.active { display: block; }
.why-tab-panel h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 800; margin: 0 0 0.7rem; color: var(--navy); }
.why-tab-panel p { font-size: 0.98rem; color: var(--muted); line-height: 1.65; margin: 0; max-width: 46ch; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes why-panel-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .why-tab-indicator { transition: none; }
}

@media (max-width: 780px) {
  .why-tabs { grid-template-columns: 1fr; min-height: 0; }
  .why-tab-list {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    gap: 0.5rem;
    mask-image: linear-gradient(90deg, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  }
  .why-tab-indicator { display: none; }
  .why-tab { flex-shrink: 0; }
  .why-tab.active { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
  .why-tab span { white-space: nowrap; }
  .why-tab-panels { padding: 1.6rem; }
}

/* Global recognition */
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}
.recognition-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  box-shadow: var(--soft-shadow);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.recognition-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(30, 18, 16, 0.14); }
.recognition-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(201, 154, 61, 0.08);
  color: var(--amity);
  margin-bottom: 0.9rem;
}
.recognition-icon svg { width: 22px; height: 22px; }
.recognition-card h3 { font-size: 0.96rem; font-weight: 800; margin: 0 0 0.4rem; color: var(--navy); }
.recognition-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin: 0; }
@media (max-width: 980px) { .recognition-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .recognition-grid { grid-template-columns: 1fr; } }

/* Amity Advantage */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.advantage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  box-shadow: var(--soft-shadow);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.advantage-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(30, 18, 16, 0.14); }
.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(122, 31, 43, 0.18), rgba(122, 31, 43, 0.06));
  color: var(--gold);
  margin-bottom: 1rem;
}
.advantage-icon svg { width: 24px; height: 24px; }
.advantage-card h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 0.5rem; color: var(--navy); }
.advantage-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0; }
.advantage-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-color: transparent;
}
.advantage-card-cta h3 { color: #ffffff; }
.advantage-card-cta p { color: rgba(255, 255, 255, 0.72); margin-bottom: 1.1rem; }
@media (max-width: 980px) { .advantage-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .advantage-grid { grid-template-columns: 1fr; } }

/* Recruiter source note */
.recruiter-source { font-size: 0.76rem; color: rgba(255, 255, 255, 0.5); margin: 1.1rem 0 0; }

/* Programs */
.program-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.4rem; }
.program-col {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--soft-shadow);
  border-top: 4px solid var(--amity);
  overflow: hidden;
}
.program-col-gold { border-top-color: var(--gold); }
.program-col-title { font-size: 0.95rem; margin: 0 0 1rem; color: var(--navy-2); }
.program-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.program-list li:last-child { border-bottom: none; }
.program-name { font-weight: 700; }
.program-meta { color: var(--faint); font-size: 0.85rem; }
@media (max-width: 700px) { .program-columns { grid-template-columns: 1fr; } }

.flagship-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.flagship-card {
  background: linear-gradient(160deg, #fff, var(--cream));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  position: relative;
}
.flagship-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--amity);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.flagship-card h4 { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 0.5rem; }
.flagship-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.5; margin: 0; }
@media (max-width: 900px) { .flagship-row { grid-template-columns: 1fr; } }

/* Curriculum stepper */
.curriculum-stepper {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 640px;
  margin: 0 auto 2.4rem;
}
.curriculum-stepper-line {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  z-index: 0;
}
.curriculum-stepper-line::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--amity), var(--gold));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.curriculum-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.curriculum-step-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--line);
  color: var(--faint);
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.curriculum-step-label { font-size: 0.82rem; font-weight: 700; color: var(--muted); transition: color 0.3s ease; }
.curriculum-step.active .curriculum-step-dot {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: var(--gold);
  color: var(--navy);
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(122, 31, 43, 0.4);
}
.curriculum-step.active .curriculum-step-label { color: var(--navy); }
.curriculum-step:not(.active):hover .curriculum-step-dot { border-color: var(--amity); color: var(--amity); }

.curriculum-panels { max-width: 760px; margin: 0 auto; }
.curriculum-panel { display: none; animation: why-panel-in 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.curriculum-panel.active { display: block; }
.curriculum-subjects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--soft-shadow);
}
.curriculum-subjects li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.curriculum-subjects li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--amity), var(--gold));
}
@media (max-width: 640px) {
  .curriculum-step-label { display: none; }
  .curriculum-subjects { grid-template-columns: 1fr; padding: 1.3rem 1.4rem; }
}

.curriculum-specializations { max-width: 760px; margin: 2.2rem auto 0; text-align: center; }
.curriculum-specializations h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 800; color: var(--navy); margin: 0 0 1rem; }
.spec-pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; }
.spec-pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.spec-pill:hover {
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* Fee cards */
.fee-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}
.fee-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--amity);
  border-radius: 14px;
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: var(--soft-shadow);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fee-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(30, 18, 16, 0.14); }
.fee-card-gold { border-top-color: var(--gold); }
.fee-card-flagship {
  border-top-color: var(--gold);
  background: linear-gradient(165deg, #fff, #fff8e6);
  border: 1px solid rgba(122, 31, 43, 0.5);
  border-top: 3px solid var(--gold);
}
.fee-card-flag {
  position: absolute;
  top: -0.65rem;
  left: 1.1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.fee-card-level { font-size: 0.72rem; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.fee-card-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.fee-card-amount { font-size: 1.15rem; font-weight: 800; color: var(--amity); }
.fee-card-amount small { font-size: 0.7rem; font-weight: 600; color: var(--faint); margin-left: 0.15rem; }
.fee-card-emi {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #18964c;
}
@media (max-width: 1080px) { .fee-card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .fee-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fee-card-grid { grid-template-columns: 1fr; } }

.scholar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 1.2rem; }
.scholar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(165deg, #ffffff, #f6f4fc);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 0.9rem 1.1rem;
  text-align: center;
  box-shadow: var(--soft-shadow);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scholar-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(30, 18, 16, 0.14); }
.scholar-card-max { background: linear-gradient(165deg, #fff, #fff8e6); border-color: rgba(122, 31, 43, 0.4); }
.scholar-ring { width: 72px; height: 72px; margin-bottom: 0.6rem; transform: rotate(-90deg); }
.scholar-ring-bg { fill: none; stroke: var(--line); stroke-width: 7; }
.scholar-ring-fill {
  fill: none;
  stroke: var(--amity);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 213.6;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.scholar-card-max .scholar-ring-fill { stroke: var(--gold); }
.scholar-ring.in-view .scholar-ring-fill { stroke-dashoffset: var(--ring-offset); }
@media (prefers-reduced-motion: reduce) {
  .scholar-ring-fill { transition: none; stroke-dashoffset: var(--ring-offset); }
}
.scholar-pct { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); font-weight: 800; margin-bottom: 0.2rem; }
.scholar-label { font-size: 0.76rem; color: var(--muted); line-height: 1.4; }
.fee-footnote { font-size: 0.8rem; color: var(--faint); }
@media (max-width: 900px) { .scholar-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .scholar-grid { grid-template-columns: repeat(2, 1fr); } }
.scholar-grid-4 { max-width: 820px; }
@media (min-width: 561px) { .scholar-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Navy outcomes section */
.section-navy { background: linear-gradient(160deg, var(--navy), var(--navy-2)); }
.section-eyebrow-light { color: var(--gold-2); }
.section-title-light { color: #ffffff; }
.section-lead-light { color: rgba(255, 255, 255, 0.72); }
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: logo-marquee-scroll 28s linear infinite;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; flex-wrap: wrap; width: 100%; }
  .logo-marquee-track [aria-hidden="true"] { display: none; }
}
@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 132px;
  height: 68px;
  background: linear-gradient(160deg, #ffffff, #eaf1fa);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  padding: 0.9rem 1.2rem;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo-chip:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36);
}
.logo-chip img,
.logo-chip svg { display: block; width: auto; height: auto; max-width: 100%; max-height: 28px; }
.logo-chip-icon svg { max-height: 38px; }
.logo-chip-wordmark {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-2);
  letter-spacing: -0.01em;
}
@media (max-width: 560px) {
  .logo-chip { width: 104px; height: 56px; padding: 0.7rem 0.9rem; }
  .logo-chip img,
  .logo-chip svg { max-height: 22px; }
  .logo-chip-wordmark { font-size: 0.86rem; }
}

/* Comparison teaser */
.compare-teaser { background: var(--cream); }
.compare-inner { display: flex; justify-content: center; }
.compare-copy { max-width: 640px; text-align: center; }
.compare-copy .section-lead { margin-left: auto; margin-right: auto; }

/* FAQ */
.faq-tab-row {
  position: relative;
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.35rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 1.6rem;
  max-width: 100%;
  overflow-x: auto;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.faq-tab-indicator {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  height: calc(100% - 0.7rem);
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(18, 10, 9, 0.22);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
}
.faq-tab {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq-tab.active { color: #fff; }
@media (prefers-reduced-motion: reduce) { .faq-tab-indicator { transition: none; } }

.faq-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 760px; }
.faq-item.faq-hidden { display: none; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.3rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--amity);
  margin-left: 1rem;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin: 0.8rem 0 0; }

/* Final CTA */
.final-cta {
  background: radial-gradient(circle at 50% 0%, rgba(122, 31, 43, 0.28), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2));
  padding: 5rem 1.5rem;
  text-align: center;
}
.final-cta-inner { max-width: 640px; margin: 0 auto; }
.final-cta h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: #ffffff; margin: 0 0 0.9rem; }
.final-cta p { color: rgba(255, 255, 255, 0.75); margin: 0 0 1.8rem; line-height: 1.6; }

/* Footer */
.site-footer { background: var(--ink); padding: 2.8rem 1.5rem; }
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-cv { font-family: var(--serif); font-size: 1.15rem; color: #ffffff; font-weight: 600; }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; line-height: 1.6; max-width: 46ch; margin-top: 0.6rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }
.footer-links a:hover { color: var(--gold-2); }

/* Lead capture modal */
.btn-full { width: 100%; }

.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(18, 10, 9, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.lead-overlay.open { opacity: 1; visibility: visible; }

.lead-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: min(640px, 90vh);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem 1.8rem;
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.lead-overlay.open .lead-modal { transform: translateY(0) scale(1); opacity: 1; }

.lead-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, border-color 0.2s ease;
}
.lead-modal-close:hover { color: var(--amity); border-color: var(--amity); transform: scale(1.08) rotate(90deg); }

.lead-modal-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.lead-modal-panel h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.lead-modal-panel > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 1.4rem;
  max-width: 40ch;
}

.lead-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.lead-field label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.lead-field label span { font-weight: 500; color: var(--faint); }
.lead-field input,
.lead-field select {
  height: 46px;
  padding: 0 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}
.lead-field input::placeholder { color: var(--faint); }
.lead-field input:focus,
.lead-field select:focus {
  outline: none;
  border-color: var(--amity);
  box-shadow: 0 0 0 3px rgba(201, 154, 61, 0.14);
}

.lead-form-error {
  display: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amity);
  margin: -0.3rem 0 0.9rem;
}
.lead-form-error.visible { display: block; }

.lead-form button[type="submit"] { margin-top: 0.3rem; }
.lead-form button[type="submit"][disabled] { opacity: 0.7; pointer-events: none; }

.lead-form-fine { font-size: 0.74rem; color: var(--faint); text-align: center; margin: 0.9rem 0 0; line-height: 1.5; }

.lead-success-panel { text-align: center; padding-top: 0.8rem; }
.lead-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(24, 150, 76, 0.12);
  color: #18964c;
}
.lead-success-panel h3 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 0.6rem; }
.lead-success-panel p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin: 0 0 1.4rem; }

@media (max-width: 520px) {
  .lead-modal { padding: 1.8rem 1.4rem 1.5rem; border-radius: 20px; }
}
