:root {
  --bg: #0f1724;
  --bg-solid: #0f1724;
  --panel: rgba(20, 31, 49, 0.88);
  --text: #f6f3ee;
  --muted: #b5c0d0;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #f59e0b;
  --accent-deep: #dc6b2f;
  --shadow: 0 20px 48px rgba(6, 12, 24, 0.26);
  --ok-bg: rgba(125, 202, 153, 0.12);
  --ok-line: rgba(125, 202, 153, 0.34);
  --bad-bg: rgba(236, 124, 124, 0.12);
  --bad-line: rgba(236, 124, 124, 0.3);
}

body.light-mode {
  --bg: #f6f1e8;
  --bg-solid: #f6f1e8;
  --panel: rgba(255, 252, 247, 0.94);
  --text: #1f2937;
  --muted: #5f6b7b;
  --line: rgba(31, 41, 55, 0.1);
  --shadow: 0 18px 44px rgba(55, 65, 81, 0.08);
  --ok-bg: rgba(93, 176, 120, 0.14);
  --bad-bg: rgba(219, 95, 95, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.14), transparent 30%),
    radial-gradient(circle at right, rgba(59, 130, 246, 0.1), transparent 26%),
    linear-gradient(180deg, #101827 0%, #0f1724 54%, #121d2d 100%);
  transition: background 220ms ease, color 220ms ease;
}

body.light-mode {
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.08), transparent 28%),
    radial-gradient(circle at right, rgba(14, 165, 233, 0.06), transparent 24%),
    linear-gradient(180deg, #f8f4ed 0%, #f4efe7 54%, #fbf8f2 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
}

.site-header {
  padding: 20px 0 8px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 36, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-header.is-scrolled .nav-wrap {
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 22px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.theme-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.theme-toggle:hover,
.floating-contact:hover,
.btn:hover,
.content-card:hover,
.mini-card:hover,
.testimonial-card:hover,
.pricing-card:hover {
  transform: translateY(-2px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ffd166);
  color: #09111d;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.site-nav a,
.lead,
.content-card p,
.site-footer p,
.form-note,
.card-note,
.notice-strip span {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.site-nav a.is-active {
  background: rgba(245, 158, 11, 0.12);
  color: var(--text);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

body.light-mode .site-nav a:hover {
  background: rgba(19, 32, 51, 0.06);
}

.nav-highlight {
  color: #fff7ed;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.hero-section {
  padding: 34px 0 18px;
  position: relative;
  overflow: hidden;
}

.hero-grid,
.split-band,
.split-contact,
.footer-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.85fr;
  align-items: center;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-section::before {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 6%;
  background: rgba(245, 158, 11, 0.16);
  animation: floatOrb 7s ease-in-out infinite;
}

.hero-section::after {
  width: 120px;
  height: 120px;
  left: 6%;
  bottom: 8%;
  background: rgba(59, 130, 246, 0.12);
  animation: floatOrb 9s ease-in-out infinite reverse;
}

.eyebrow,
.card-kicker,
.section-heading span {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #f7b54b;
}

h1,
h2 {
  margin: 10px 0 14px;
  line-height: 1.02;
}

h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 15ch;
}

.lead {
  max-width: 60ch;
  font-size: 1.06rem;
}

.hindi-lead {
  font-size: 1rem;
}

.hero-actions,
.info-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions,
.info-strip {
  margin-top: 22px;
}

.info-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero-card,
.content-card,
.mini-card,
.testimonial-card,
.pricing-card,
.faq-item,
.timeline-card,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 24px;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.9;
}

.hero-card {
  animation: floatCard 6s ease-in-out infinite;
}

.notice-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.notice-strip > div {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.notice-strip strong {
  display: block;
  margin-bottom: 6px;
}

.offer-box {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.08);
}

.offer-box strong {
  display: block;
  margin-bottom: 6px;
}

.section {
  padding: 42px 0 24px;
}

.accent-band {
  padding-bottom: 56px;
}

.section-heading {
  margin-bottom: 20px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.split-band,
.split-contact,
.footer-grid {
  grid-template-columns: repeat(2, 1fr);
}

.footer-grid {
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff9f2;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.text-link {
  color: #f4b146;
}

.card-note {
  margin-top: 10px;
  font-size: 0.96rem;
}

.testimonial-card p {
  line-height: 1.8;
  color: var(--text);
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--muted);
}

.pricing-card {
  display: grid;
  gap: 14px;
}

.featured-plan {
  border-color: rgba(245, 158, 11, 0.34);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(20, 31, 49, 0.92));
}

.price-line {
  font-size: 2rem;
  font-weight: 700;
  color: #fef1d4;
}

.price-line small {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-points {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.icon-badge {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.24);
  margin-bottom: 14px;
  color: #f8d9a3;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item h3 {
  margin-top: 0;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 14px;
}

.verify-grid p {
  margin: 0;
}

.narrow-form {
  max-width: 560px;
  margin: 0 auto;
}

.admin-login-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.admin-intro-card,
.admin-login-card {
  min-height: 100%;
}

.admin-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-points div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.admin-points strong,
.admin-points span {
  display: block;
}

.admin-points span {
  margin-top: 5px;
  color: var(--muted);
}

.feature-card h3,
.timeline-card h3,
.cta-panel h2 {
  margin-top: 0;
}

.timeline-card {
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-step strong,
.timeline-step span {
  display: block;
}

.timeline-step span {
  color: var(--muted);
  line-height: 1.75;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-panel p {
  color: var(--muted);
  max-width: 66ch;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.enrollment-benefits {
  margin-top: 16px;
}

.status-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-form select {
  min-width: 128px;
  margin: 0;
}

.btn-inline {
  padding: 10px 14px;
  white-space: nowrap;
}

.admission-note {
  margin-top: 16px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--text);
}

td {
  color: var(--muted);
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff9f2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  z-index: 20;
  animation: bounceSoft 3.4s ease-in-out infinite;
}

body.light-mode .nav-wrap {
  background: rgba(255, 251, 245, 0.84);
}

body.light-mode .theme-toggle {
  background: rgba(19, 32, 51, 0.04);
}

body.light-mode .nav-toggle {
  background: rgba(19, 32, 51, 0.04);
}

body.light-mode .timeline-step,
body.light-mode .admin-points div,
body.light-mode .notice-strip > div {
  background: rgba(19, 32, 51, 0.03);
}

.chatbot-toggle {
  position: fixed;
  right: 18px;
  bottom: 78px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 21;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 146px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  z-index: 21;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.chatbot-panel {
  position: fixed;
  right: 18px;
  bottom: 214px;
  width: min(360px, calc(100vw - 28px));
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 21;
}

.chatbot-panel.hidden-card {
  display: none;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.chatbot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.chatbot-head p,
.chatbot-head small,
.chatbot-msg p,
.chatbot-suggestions button {
  margin: 0;
}

.chatbot-close {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
}

.chatbot-body {
  max-height: 330px;
  overflow-y: auto;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.chatbot-msg {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.6;
}

.chatbot-msg.bot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.chatbot-msg.user {
  margin-left: auto;
  background: rgba(255, 140, 66, 0.14);
  border: 1px solid rgba(255, 140, 66, 0.26);
}

.chatbot-sources ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.chatbot-sources a {
  color: #ffd6bb;
  text-decoration: underline;
}

.chatbot-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 14px 12px;
}

.chatbot-suggestions button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.chatbot-form {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chatbot-form input {
  margin: 0;
}

.chatbot-form button {
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stack-form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: rgba(184, 199, 220, 0.75);
}

.site-footer {
  padding: 18px 0 42px;
}

.prose-card p {
  line-height: 1.8;
}

.hidden-card {
  display: none;
}

.verify-result.valid {
  display: block;
  background: var(--ok-bg);
  border-color: var(--ok-line);
}

.verify-result.invalid {
  display: block;
  background: var(--bad-bg);
  border-color: var(--bad-line);
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(255, 140, 66, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 140, 66, 0.14);
  }
}

@keyframes bounceSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-band,
  .split-contact,
  .footer-grid,
  .notice-strip,
  .admin-login-layout,
  .verify-grid,
  .three-up,
  .two-up,
  .four-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: min(100% - 20px, 1180px);
  }

  .nav-wrap {
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .theme-toggle {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cta-panel,
  .status-form {
    flex-direction: column;
    align-items: stretch;
  }

  h1 {
    font-size: 2.7rem;
  }
}
