:root {
  --navy-950: #071a30;
  --navy-900: #0a2540;
  --navy-800: #123a63;
  --navy-700: #1a4d82;
  --gold-500: #c9a227;
  --gold-400: #dab848;
  --gold-100: #f7ecc9;
  --maroon-700: #7a1f2b;
  --ink: #16202c;
  --slate-600: #55606b;
  --slate-400: #8a94a0;
  --cream: #faf7f0;
  --white: #ffffff;
  --success: #1f7a4d;
  --radius: 12px;
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.18);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.hindi { font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: var(--shadow-md);
}
.btn-gold:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-whatsapp:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--gold-100);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-rating { font-weight: 600; color: var(--gold-400); }
.topbar-right { display: flex; gap: 18px; }

@media (max-width: 700px) {
  .topbar .container { font-size: 11.5px; }
  .topbar-right a span.full { display: none; }
}

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: var(--navy-950);
  flex-shrink: 0;
}
.brand-text-en { font-weight: 700; font-size: 19px; letter-spacing: 0.3px; }
.brand-text-hi { font-size: 12.5px; color: var(--gold-400); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s;
  position: relative;
}
.nav-links a:hover { color: var(--gold-400); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn span.full { display: none; }
}

@media (max-width: 420px) {
  .nav { padding: 12px 0; }
  .container { padding: 0 14px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; font-size: 15px; border-radius: 8px; }
  .brand-text-en { font-size: 15px; }
  .brand-text-hi { font-size: 10.5px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 9px 12px; }
  .nav-toggle { font-size: 22px; padding: 0; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-800);
  padding: 8px 20px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
}
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(ellipse at top right, var(--navy-800) 0%, var(--navy-950) 65%);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201,162,39,0.10), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(201,162,39,0.08), transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,162,39,0.4);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  margin-bottom: 22px;
}
.rating-badge .stars { color: var(--gold-400); letter-spacing: 1px; }
.rating-badge b { color: #fff; }

.hero h1 {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}
.hero h1 .accent { color: var(--gold-400); }
.hero .hindi-line {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gold-100);
  margin-bottom: 18px;
}
.hero p.lede {
  font-size: 16.5px;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-quickfacts {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.quickfact { display: flex; align-items: center; gap: 10px; }
.quickfact .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(201,162,39,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.quickfact-label { font-size: 12.5px; color: rgba(255,255,255,0.65); }
.quickfact-value { font-size: 14.5px; font-weight: 700; color: #fff; }

/* Hero result card */
.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.hero-card-header h3 { font-size: 15px; color: var(--navy-900); }
.badge-live {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: #e5f4ec;
  padding: 4px 10px;
  border-radius: 999px;
}
.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.hero-stat {
  text-align: center;
  background: var(--cream);
  border-radius: 10px;
  padding: 14px 6px;
}
.hero-stat .num {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-900);
}
.hero-stat .num .plus { color: var(--gold-500); }
.hero-stat .lbl {
  font-size: 11px;
  color: var(--slate-600);
  margin-top: 2px;
}
.hero-card-quote {
  font-size: 13px;
  color: var(--slate-600);
  border-top: 1px dashed #e0d9c5;
  padding-top: 14px;
}

/* ---------- Section shell ---------- */
section { padding: 72px 0; }
.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-500);
  background: var(--gold-100);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.section-head p { color: var(--slate-600); font-size: 15.5px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--navy-900);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--gold-400);
}
.stat-item .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* ---------- Courses ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .courses-grid { grid-template-columns: 1fr; } }

.course-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--navy-800);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card.featured { border-top-color: var(--gold-500); }
.course-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
  margin-bottom: 18px;
}
.course-card h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 6px; }
.course-card .subtitle { font-size: 13px; color: var(--gold-500); font-weight: 600; margin-bottom: 14px; }
.course-card ul { margin-bottom: 18px; }
.course-card li {
  font-size: 14px;
  color: var(--slate-600);
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}
.course-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.course-batches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.batch-chip {
  font-size: 11.5px;
  background: var(--cream);
  border: 1px solid #e5dfcd;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--navy-800);
}

/* ---------- Results / Toppers ---------- */
.results-section {
  background: linear-gradient(180deg, var(--maroon-700) 0%, #5c1620 100%);
  color: #fff;
  position: relative;
}
.results-section .section-tag { background: rgba(255,255,255,0.15); color: var(--gold-400); }
.results-section .section-head h2 { color: #fff; }
.results-section .section-head p { color: rgba(255,255,255,0.8); }

.results-year-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
@media (max-width: 800px) { .results-year-grid { grid-template-columns: 1fr; } }

.year-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.year-card .year { font-size: 13px; color: var(--gold-400); font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.year-card .num { font-size: 36px; font-weight: 800; }
.year-card .desc { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-top: 6px; }

.toppers-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 800px) { .toppers-strip { grid-template-columns: repeat(2, 1fr); } }

.topper-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.topper-photo {
  width: 66px; height: 66px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
}
.topper-card h4 { font-size: 15px; color: var(--navy-900); margin-bottom: 2px; }
.topper-card .rank { font-size: 13px; font-weight: 700; color: var(--maroon-700); margin-bottom: 4px; }
.topper-card .exam { font-size: 12px; color: var(--slate-600); }

/* ---------- Faculty ---------- */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .faculty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .faculty-grid { grid-template-columns: 1fr; } }

.faculty-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.2s ease;
}
.faculty-card:hover { transform: translateY(-4px); }
.faculty-photo {
  height: 130px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
  font-size: 30px; font-weight: 800;
  margin-bottom: 16px;
}
.faculty-card h4 { font-size: 16px; color: var(--navy-900); }
.faculty-card .role { font-size: 12.5px; color: var(--gold-500); font-weight: 600; margin: 4px 0 8px; }
.faculty-card .qual { font-size: 12.5px; color: var(--slate-600); padding: 0 16px; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--navy-950); color: #fff; }
.testimonials-section .section-head h2 { color: #fff; }
.testimonials-section .section-head p { color: rgba(255,255,255,0.75); }
.testimonials-section .section-tag { background: rgba(255,255,255,0.12); color: var(--gold-400); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px;
}
.testimonial-stars { color: var(--gold-400); font-size: 14px; margin-bottom: 12px; }
.testimonial-card p.quote {
  font-size: 14.5px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 18px;
  min-height: 80px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.testimonial-author .name { font-size: 14px; font-weight: 600; }
.testimonial-author .meta { font-size: 12px; color: rgba(255,255,255,0.6); }

.google-cta {
  margin-top: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.google-cta .stars-big { font-size: 22px; color: var(--gold-400); }
.google-cta .rating-number { font-size: 20px; font-weight: 800; }

/* ---------- Admission / Fee ---------- */
.admission-section { background: var(--cream); }
.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .admission-grid { grid-template-columns: 1fr; } }

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}
.fee-table th, .fee-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
}
.fee-table th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
}
.fee-table td { border-bottom: 1px solid #f0ead9; color: var(--slate-600); }
.fee-table tr:last-child td { border-bottom: none; }
.fee-note {
  font-size: 13px;
  color: var(--slate-600);
  background: var(--gold-100);
  border-left: 3px solid var(--gold-500);
  padding: 12px 16px;
  border-radius: 6px;
}

.enquiry-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.enquiry-form h3 { color: var(--navy-900); font-size: 19px; margin-bottom: 6px; }
.enquiry-form .sub { font-size: 13.5px; color: var(--slate-600); margin-bottom: 20px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-row input, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2dcc9;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: var(--cream);
  transition: border-color 0.15s;
}
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: var(--gold-500);
}
.form-status { font-size: 13px; margin-top: 12px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--success); }

/* ---------- Facilities ---------- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .facilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facilities-grid { grid-template-columns: 1fr; } }

.facility-card {
  text-align: center;
  padding: 26px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.facility-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--maroon-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}
.facility-card h4 { font-size: 15px; color: var(--navy-900); margin-bottom: 6px; }
.facility-card p { font-size: 13px; color: var(--slate-600); }

/* ---------- Contact ---------- */
.contact-section { background: var(--navy-950); color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { margin-top: 24px; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-list .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(201,162,39,0.15);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list .label { font-size: 12.5px; color: rgba(255,255,255,0.6); }
.contact-list .value { font-size: 14.5px; font-weight: 600; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  padding: 28px 0;
  font-size: 13px;
  text-align: center;
}
footer .demo-note {
  margin-top: 8px;
  color: var(--gold-400);
  font-size: 12px;
}

/* ---------- Floating WhatsApp button ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  z-index: 90;
  font-size: 28px;
  color: #fff;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .float-whatsapp { animation: none; }
  html { scroll-behavior: auto; }
}
