:root {
  --navy: #0b2447;
  --navy-mid: #19376d;
  --navy-light: #2a4f8f;
  --sky: #0ea5e9;
  --sky-light: #38bdf8;
  --sky-pale: #e0f2fe;
  --sky-deep: #0284c7;
  --orange: #f26b21;
  --orange-light: #ff8c47;
  --orange-pale: #fff0e6;
  --cyan: #06b6d4;
  --white: #ffffff;
  --off-white: #f4f8fc;
  --text-dark: #0b2447;
  --text-mid: #475569;
  --text-light: #64748b;
  --border: #dbeafe;
  --success: #22c55e;
  --gold: #f59e0b;
  --page-bg-light: #f5f8fc;
  --surface-light: #ffffff;
  --surface-soft-light: #eef3f9;
  --surface-soft-alt-light: #f8fbff;
  --ink-strong-light: #102745;
  --ink-muted-light: #4f627a;
  --line-light: #d7e3f3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "DM Serif Display", serif;
  line-height: 1.2;
}

a {
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 22, 52, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--sky), var(--sky-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Serif Display", serif;
  font-size: 18px;
  color: white;
  font-weight: 700;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.logo-brand-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  color: white;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.logo-text span {
  color: var(--sky);
  font-weight: 500;
  font-size: 14px;
  margin-left: 2px;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-ghost-nav {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost-nav:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

.btn-sky-sm {
  background: var(--orange);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(242, 107, 33, 0.25);
}

.btn-sky-sm:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(242, 107, 33, 0.4);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.theme-toggle:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.mobile-theme-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 22, 52, 0.98);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav .container {
  padding: 12px 0 18px;
}

.mobile-nav-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-nav-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
}

.mobile-nav-actions {
  margin-top: 10px;
}

body.mobile-nav-open {
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  background: #081634;
  position: relative;
  overflow: hidden;
  padding: 68px 0 0;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(14, 165, 233, 0.32) 0%, transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(99, 102, 241, 0.28) 0%, transparent 42%),
    radial-gradient(circle at 70% 15%, rgba(242, 107, 33, 0.18) 0%, transparent 38%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.3'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--sky-light);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--sky);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(36px, 4vw, 54px);
  color: white;
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-title .accent {
  color: var(--orange);
  font-style: italic;
}

.hero-title .cyan-accent {
  color: var(--sky-light);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
}

.hero-stat .num {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  color: white;
  display: block;
  line-height: 1;
}

.hero-stat .num span {
  color: var(--orange);
}

.hero-stat .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--orange);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(242, 107, 33, 0.35);
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242, 107, 33, 0.45);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.06);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.hero-right {
  position: relative;
}

.hero-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-top-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.ai-section-sub {
  margin-bottom: 0;
}

.ai-caption {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.branch-hero-card {
  padding: 10px;
}

.branch-cover-detail {
  width: 100%;
  height: clamp(220px, 34vw, 380px);
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.w-78 {
  width: 78%;
}

.w-84 {
  width: 84%;
}

.w-71 {
  width: 71%;
}

.ai-note-box {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.ai-note-title {
  font-size: 12px;
  color: var(--sky-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.ai-note-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.ai-note-text strong {
  color: white;
}

.scholarship-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.scholarship-note.top {
  margin: 28px 0 12px;
}

.scholarship-note.bottom {
  margin: 24px 0 12px;
}

.topper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.topper-mini {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.rank-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.air {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: white;
  display: block;
}

.name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.course-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: var(--sky-light);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 6px;
  font-weight: 500;
}

.ai-indicator {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-dot {
  width: 8px;
  height: 8px;
  background: var(--sky-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.floating-tag {
  position: absolute;
  background: white;
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: float 3s ease-in-out infinite;
}

.floating-tag.top-right {
  top: -20px;
  right: -10px;
}

.floating-tag.bottom-left {
  bottom: -20px;
  left: -10px;
  animation-delay: 1.5s;
}

.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px 5%;
}

.trust-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

.trust-item .icon {
  width: 28px;
  height: 28px;
  background: rgba(242, 107, 33, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 40px 5%;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag,
.kicker {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-heading,
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 12px;
  color: var(--navy);
}

.section-heading .accent {
  color: var(--orange);
}

.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

.section-header {
  margin-bottom: 36px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-sub {
  margin: 0 auto;
}

.results-section {
  background: var(--off-white);
}

.results-filters,
.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: white;
  cursor: pointer;
  color: var(--text-mid);
  transition: all 0.2s;
  font-family: "DM Sans", sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.results-grid,
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.result-card {
  background: white;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
}

.result-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.avatar,
.profile-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.avatar {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "DM Serif Display", serif;
  font-size: 22px;
}

.profile-photo {
  object-fit: cover;
}

.student-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.rank {
  font-family: "DM Serif Display", serif;
  font-size: 26px;
  color: var(--orange);
  margin: 6px 0;
}

.rank-label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.exam-tag {
  display: inline-block;
  margin-top: 10px;
  background: var(--sky-pale);
  color: var(--sky-deep);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.branch-tag {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

.courses-grid,
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.course-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all 0.3s;
  background: white;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.course-header {
  padding: 28px 28px 20px;
}

.course-header.jee {
  background: linear-gradient(135deg, #0b2447 0%, #19376d 100%);
}

.course-header.neet {
  background: linear-gradient(135deg, #075985 0%, #0284c7 100%);
}

.course-header.foundation {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.course-header.olympiad {
  background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%);
}

.course-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.course-header h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 6px;
}

.course-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.5;
}

.course-body {
  padding: 24px 28px;
}

.course-features {
  list-style: none;
  margin-bottom: 20px;
}

.course-features li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 6px 0;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.course-features li:last-child {
  border-bottom: none;
}

.course-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
}

.course-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.course-stat {
  flex: 1;
  text-align: center;
  background: var(--off-white);
  border-radius: 10px;
  padding: 12px 8px;
}

.course-stat .val {
  font-family: "DM Serif Display", serif;
  font-size: 18px;
  color: var(--navy);
}

.course-stat .label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 2px;
}

.btn-course {
  width: 100%;
  padding: 13px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-course:hover {
  background: var(--orange);
}

.why-section,
.dark {
  background: #081634;
  position: relative;
  overflow: hidden;
}

.why-section::before,
.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(14, 165, 233, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(242, 107, 33, 0.1) 0%, transparent 45%);
  filter: blur(40px);
  pointer-events: none;
}

.why-section .section-inner,
.dark .container {
  position: relative;
  z-index: 2;
}

.why-section .section-tag {
  background: rgba(242, 107, 33, 0.15);
  color: var(--orange-light);
}

.why-section .section-heading,
.dark .section-title,
.dark .section-heading {
  color: white;
}

.why-section .section-sub,
.dark .section-sub,
.dark p,
.dark li {
  color: rgba(255, 255, 255, 0.55);
}

.why-grid,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.why-card,
.dark .card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s;
}

.why-card:hover,
.dark .card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(242, 107, 33, 0.3);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(242, 107, 33, 0.12);
  border: 1px solid rgba(242, 107, 33, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.why-card h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 8px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.65;
}

.ai-section {
  background: var(--off-white);
}

.ai-layout,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.pt-0 {
  padding-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.ai-feature-list {
  margin: 28px 0;
}

.ai-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.ai-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--orange-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ai-feature h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.ai-feature p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.ai-visual-panel {
  background: var(--navy);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ai-panel-header h4 {
  color: white;
  font-size: 16px;
}

.ai-live-tag {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.subject-bars {
  margin-bottom: 20px;
}

.subject-row {
  margin-bottom: 14px;
}

.subject-row-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.subject-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.subject-pct {
  font-size: 13px;
  color: white;
  font-weight: 600;
}

.bar-bg {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  height: 6px;
}

.bar-fill {
  height: 6px;
  border-radius: 100px;
  transition: width 1s ease;
}

.bar-fill.phys {
  background: var(--sky-light);
}

.bar-fill.chem {
  background: var(--orange);
}

.bar-fill.math {
  background: var(--sky-deep);
}

.ai-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.ai-metric {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}

.ai-metric .val {
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  color: white;
  display: block;
}

.ai-metric .lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 260px));
  gap: 24px;
  justify-content: center;
}

.faculty-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
}

.faculty-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.faculty-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Serif Display", serif;
  font-size: 52px;
  color: white;
  overflow: hidden;
}

.faculty-avatar img {
  width: 100%;
  height: auto;
  display: block;
}

.faculty-body {
  display: none;
}

.faculty-avatar.f1 {
  background: linear-gradient(135deg, #0b2447, #19376d);
}

.faculty-avatar.f2 {
  background: linear-gradient(135deg, #075985, #0284c7);
}

.faculty-avatar.f3 {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.faculty-avatar.f4 {
  background: linear-gradient(135deg, #0c4a6e, #0ea5e9);
}

.faculty-body {
  padding: 20px;
}

.faculty-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.faculty-subject {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  margin: 4px 0 8px;
}

.faculty-exp {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.faculty-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ftag {
  background: var(--off-white);
  color: var(--text-mid);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

.testi-section {
  background: var(--off-white);
}

.testi-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testi-card,
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}

.testi-card:hover,
.testimonial-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.testi-stars {
  color: var(--gold);
  margin-bottom: 14px;
  font-size: 16px;
  letter-spacing: 2px;
}

.testi-quote {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Serif Display", serif;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}

.testi-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}

.testi-role {
  font-size: 12px;
  color: var(--text-light);
}

.branches-grid,
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.branch-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
}

.branch-cover {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.branch-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.branch-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.branch-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  flex-shrink: 0;
}

.branch-name {
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}

.branch-area {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
}

.branch-info {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.6;
}

.branch-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bchip {
  background: var(--off-white);
  color: var(--text-mid);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
}

.bchip.highlight {
  background: var(--orange-pale);
  color: var(--orange);
}

#faculty .faculty-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.faculty-card-home .faculty-avatar {
  font-size: 52px;
}

.faculty-card-home .faculty-body {
  padding: 22px 20px 20px;
}

.faculty-card-home .faculty-name {
  font-size: 33px;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.faculty-card-home .faculty-subject {
  font-size: 16px;
  margin-bottom: 10px;
}

.faculty-card-home .faculty-exp {
  font-size: 14px;
  margin-bottom: 14px;
}

.faculty-card-home .ftag {
  padding: 6px 12px;
  font-size: 12px;
}

#branches .branch-grid {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.branch-card-home {
  padding: 24px;
}

.branch-card-home .branch-cover {
  display: none;
}

.branch-card-home .branch-num {
  width: 52px;
  height: 48px;
  border-radius: 14px;
  font-size: 32px;
}

.branch-card-home .branch-name {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 4px;
}

.branch-card-home .branch-area {
  font-size: 22px;
}

.branch-card-home .branch-info {
  font-size: 18px;
  line-height: 1.55;
}

.branch-card-home .bchip {
  font-size: 12px;
  padding: 6px 12px;
}

.gallery-wrap {
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: gallery-scroll 28s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-card {
  min-width: 360px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.gallery-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.gallery-cap {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.scholarship-section {
  background: #081634;
  position: relative;
  overflow: hidden;
}

.scholarship-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(14, 165, 233, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(99, 102, 241, 0.18) 0%, transparent 45%);
  filter: blur(40px);
  pointer-events: none;
}

.scholarship-section .section-inner {
  position: relative;
  z-index: 2;
}

.scholarship-section .section-heading,
.scholarship-section .section-sub {
  color: white;
}

.scholarship-section .section-sub {
  color: rgba(255, 255, 255, 0.6);
}

.scholarship-section .section-tag {
  background: rgba(242, 107, 33, 0.15);
  color: var(--orange-light);
}

.schol-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.countdown-boxes {
  display: flex;
  gap: 16px;
  margin: 28px 0;
}

.cbox {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
  min-width: 80px;
}

.cbox .num {
  font-family: "DM Serif Display", serif;
  font-size: 32px;
  color: white;
  display: block;
}

.cbox .lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.schol-slabs {
  margin-bottom: 28px;
}

.slab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.slab:last-child {
  border-bottom: none;
}

.slab-rank {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.slab-rank.gold {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.slab-rank.silver {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.slab-rank.bronze {
  background: rgba(180, 113, 53, 0.2);
  color: #b47135;
  border: 1px solid rgba(180, 113, 53, 0.3);
}

.slab-rank.merit {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.slab-info {
  flex: 1;
}

.slab-title {
  font-size: 14px;
  color: white;
  font-weight: 500;
}

.slab-range {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.slab-pct {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: var(--orange);
}

.lead-form-card,
.card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  border: 1.5px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.policy-content h2 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 12px;
}

.policy-content h4 {
  font-size: 18px;
  color: var(--navy);
  margin: 28px 0 8px;
}

.policy-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 10px;
}

.policy-content ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.policy-content li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.policy-content a {
  color: var(--orange);
  text-decoration: underline;
}

.lead-form-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}

.lead-form-card p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label,
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  color: var(--text-dark);
  transition: border-color 0.2s;
  outline: none;
  background: white;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
}

.form-row-2,
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(242, 107, 33, 0.3);
}

.btn-submit:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}

.form-privacy,
.form-result {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
}

.faq-list,
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}

.faq-question h4 {
  font-size: 16px;
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
}

.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-mid);
  flex-shrink: 0;
  transition: all 0.2s;
}

.faq-item.open .faq-toggle {
  background: var(--orange);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding-top: 12px;
}

.faq-card {
  background: white;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  padding: 20px;
  margin-bottom: 12px;
}

.faq-card button {
  margin-top: 10px;
}

footer {
  background: #051028;
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 5% 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.4), transparent);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin: 12px 0 20px;
}

.footer-brand .logo-brand-img {
  height: 52px;
}

.footer-contact {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-contact a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.float-stack,
.float-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.float-wa,
.float-call {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.float-wa {
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  font-size: 24px;
}

.float-call {
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-size: 20px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.float-wa:hover,
.float-call:hover {
  transform: scale(1.1);
}

.float-call:hover {
  background: var(--orange);
}

.float-top {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 0;
  background: #233ea9;
  color: white;
  font-size: 30px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(19, 38, 120, 0.35);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.22s ease;
}

.float-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-top:hover {
  transform: translateY(-1px);
  background: #1f3593;
}

.blog-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card,
.resource-card {
  background: white;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  padding: 22px;
  transition: all 0.2s;
}

.blog-card:hover,
.resource-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.blog-title {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.blog-excerpt {
  color: var(--text-mid);
  margin-bottom: 14px;
}

.blog-link {
  color: var(--sky-deep);
  text-decoration: none;
  font-weight: 600;
}

.page-hero {
  background: #081634;
  color: white;
  padding: 90px 0 28px;
}

.page-hero .section-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero .section-title,
.page-hero .section-sub {
  color: white;
}

.notice {
  border-left: 4px solid var(--orange);
  background: #fff7ed;
  padding: 10px 12px;
  border-radius: 8px;
  color: #7c2d12;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sky-pale);
  color: var(--sky-deep);
  font-size: 12px;
  font-weight: 700;
}

.map-frame {
  width: 100%;
  height: 260px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-16 {
  margin-top: 16px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

html:not([data-theme="dark"]) body {
  background: linear-gradient(180deg, #f8fbff 0%, var(--page-bg-light) 100%);
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) .trust-bar {
  background: var(--surface-light);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

html:not([data-theme="dark"]) .trust-item {
  color: var(--ink-muted-light);
}

html:not([data-theme="dark"]) .trust-item .icon {
  background: #fff4ec;
}

html:not([data-theme="dark"]) .trust-divider {
  background: var(--line-light);
}

html:not([data-theme="dark"]) .why-section {
  background: var(--surface-soft-alt-light);
}

html:not([data-theme="dark"]) .why-section::before {
  background:
    radial-gradient(circle at 15% 30%, rgba(14, 165, 233, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(242, 107, 33, 0.06) 0%, transparent 52%);
  filter: blur(24px);
}

html:not([data-theme="dark"]) .why-section .section-heading {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) .why-section .section-sub {
  color: var(--ink-muted-light);
}

html:not([data-theme="dark"]) .why-card {
  background: var(--surface-light);
  border: 1px solid var(--line-light);
}

html:not([data-theme="dark"]) .why-card h4 {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) .why-card p {
  color: var(--ink-muted-light);
}

html:not([data-theme="dark"]) .scholarship-section {
  background: var(--surface-soft-light);
}

html:not([data-theme="dark"]) .scholarship-section::before {
  background:
    radial-gradient(circle at 20% 40%, rgba(14, 165, 233, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(99, 102, 241, 0.07) 0%, transparent 50%);
  filter: blur(24px);
}

html:not([data-theme="dark"]) .scholarship-section .section-heading {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) .scholarship-section .section-sub {
  color: var(--ink-muted-light);
}

html:not([data-theme="dark"]) .scholarship-section .section-tag {
  background: #fff4ec;
  color: var(--orange);
}

html:not([data-theme="dark"]) .scholarship-section .cbox {
  background: var(--surface-light);
  border-color: var(--line-light);
}

html:not([data-theme="dark"]) .scholarship-section .cbox .num,
html:not([data-theme="dark"]) .scholarship-section .slab-title {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) .scholarship-section .cbox .lbl,
html:not([data-theme="dark"]) .scholarship-section .slab-range {
  color: var(--ink-muted-light);
}

html:not([data-theme="dark"]) .scholarship-section .slab {
  border-bottom-color: var(--line-light);
}

html:not([data-theme="dark"]) .page-hero {
  background: linear-gradient(180deg, #eef5fd 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--line-light);
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) .page-hero .section-title {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) .page-hero .section-sub {
  color: var(--ink-muted-light);
}

html:not([data-theme="dark"]) #courses .course-card {
  background: var(--surface-light);
  border-color: var(--line-light);
}

html:not([data-theme="dark"]) #courses .course-card:hover {
  box-shadow: 0 16px 36px rgba(16, 39, 69, 0.12);
}

html:not([data-theme="dark"]) #courses .course-header.jee {
  background: linear-gradient(135deg, #eaf3ff 0%, #dcecff 100%);
}

html:not([data-theme="dark"]) #courses .course-header.neet {
  background: linear-gradient(135deg, #e9f8ff 0%, #d7f0ff 100%);
}

html:not([data-theme="dark"]) #courses .course-header.foundation {
  background: linear-gradient(135deg, #eef2ff 0%, #dfe7ff 100%);
}

html:not([data-theme="dark"]) #courses .course-header.olympiad {
  background: linear-gradient(135deg, #ebf8ff 0%, #daf3ff 100%);
}

html:not([data-theme="dark"]) #courses .course-icon {
  background: rgba(255, 255, 255, 0.78);
  color: var(--sky-deep);
}

html:not([data-theme="dark"]) #courses .course-header h3 {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) #courses .course-header p {
  color: var(--ink-muted-light);
}

html:not([data-theme="dark"]) #courses .course-features li {
  color: var(--ink-muted-light);
  border-bottom-color: var(--line-light);
}

html:not([data-theme="dark"]) #courses .course-stat {
  background: var(--surface-soft-alt-light);
}

html:not([data-theme="dark"]) #courses .course-stat .val {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) #courses .btn-course {
  background: #0f447a;
}

html:not([data-theme="dark"]) #courses .btn-course:hover {
  background: #0b5a9b;
}

html:not([data-theme="dark"]) #ai .ai-visual-panel {
  background: var(--surface-light);
  border: 1px solid var(--line-light);
  box-shadow: 0 14px 34px rgba(16, 39, 69, 0.08);
}

html:not([data-theme="dark"]) #ai .ai-panel-header h4 {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) #ai .ai-live-tag {
  background: #eafaf0;
  color: #15803d;
}

html:not([data-theme="dark"]) #ai .ai-caption,
html:not([data-theme="dark"]) #ai .subject-name,
html:not([data-theme="dark"]) #ai .ai-note-text,
html:not([data-theme="dark"]) #ai .ai-metric .lbl {
  color: var(--ink-muted-light);
}

html:not([data-theme="dark"]) #ai .subject-pct,
html:not([data-theme="dark"]) #ai .ai-note-text strong,
html:not([data-theme="dark"]) #ai .ai-metric .val {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) #ai .bar-bg {
  background: #e2ebf7;
}

html:not([data-theme="dark"]) #ai .ai-note-box {
  background: #f3f9ff;
  border-color: #cfe3f8;
}

html:not([data-theme="dark"]) #ai .ai-note-title {
  color: #0f447a;
}

html:not([data-theme="dark"]) #ai .ai-metric {
  background: var(--surface-soft-alt-light);
  border: 1px solid var(--line-light);
}

html:not([data-theme="dark"]) #home.hero {
  background: linear-gradient(120deg, #f6fbff 0%, #edf5ff 46%, #f7f9ff 100%);
}

html:not([data-theme="dark"]) #home.hero::before {
  background:
    radial-gradient(circle at 20% 24%, rgba(14, 165, 233, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 76%, rgba(99, 102, 241, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 68% 14%, rgba(242, 107, 33, 0.09) 0%, transparent 36%);
  filter: blur(22px);
}

html:not([data-theme="dark"]) #home.hero::after {
  opacity: 0.018;
}

html:not([data-theme="dark"]) #home .hero-bg-grid {
  background-image:
    linear-gradient(rgba(16, 39, 69, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 39, 69, 0.06) 1px, transparent 1px);
}

html:not([data-theme="dark"]) #home .hero-badge {
  background: #eaf6ff;
  border-color: #cfe5fa;
  color: #0f5f94;
}

html:not([data-theme="dark"]) #home .hero-title,
html:not([data-theme="dark"]) #home .hero-stat .num {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) #home .hero-subtitle,
html:not([data-theme="dark"]) #home .hero-stat .label,
html:not([data-theme="dark"]) #home .hero-top-note,
html:not([data-theme="dark"]) #home .name,
html:not([data-theme="dark"]) #home .ai-text {
  color: var(--ink-muted-light);
}

html:not([data-theme="dark"]) #home .btn-outline {
  color: var(--ink-strong-light);
  border-color: #b8cde6;
  background: rgba(255, 255, 255, 0.75);
}

html:not([data-theme="dark"]) #home .btn-outline:hover {
  border-color: #91afd0;
  background: #ffffff;
}

html:not([data-theme="dark"]) #home .hero-visual-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: #d2e2f5;
  box-shadow: 0 18px 42px rgba(16, 39, 69, 0.12);
}

html:not([data-theme="dark"]) #home .topper-mini {
  background: #f6f9ff;
  border-color: #d8e5f5;
}

html:not([data-theme="dark"]) #home .air,
html:not([data-theme="dark"]) #home .subject-pct {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) #home .course-tag {
  background: #e6f3ff;
  color: #0a5c93;
}

html:not([data-theme="dark"]) #home .ai-indicator {
  background: #f3f9ff;
  border-color: #cfe3f8;
}

html:not([data-theme="dark"]) .topbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #d7e3f3;
}

html:not([data-theme="dark"]) .nav-links a {
  color: #415a79;
}

html:not([data-theme="dark"]) .nav-links a:hover {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) .btn-ghost-nav {
  border-color: #bed0e7;
  color: var(--ink-strong-light);
  background: rgba(255, 255, 255, 0.75);
}

html:not([data-theme="dark"]) .btn-ghost-nav:hover {
  border-color: #94b0cf;
  background: #ffffff;
}

html:not([data-theme="dark"]) .theme-toggle,
html:not([data-theme="dark"]) .nav-toggle {
  color: var(--ink-strong-light);
  border-color: #bed0e7;
  background: rgba(255, 255, 255, 0.75);
}

html:not([data-theme="dark"]) .theme-toggle:hover,
html:not([data-theme="dark"]) .nav-toggle:hover {
  border-color: #94b0cf;
  background: #ffffff;
}

html:not([data-theme="dark"]) .mobile-nav {
  border-top-color: #d7e3f3;
  background: rgba(255, 255, 255, 0.98);
}

html:not([data-theme="dark"]) .mobile-nav-list a {
  color: #415a79;
  border-color: #d7e3f3;
}

html:not([data-theme="dark"]) footer {
  background: linear-gradient(180deg, #f4f8fd 0%, #ecf3fb 100%);
  color: #526882;
}

html:not([data-theme="dark"]) footer::before {
  background: linear-gradient(90deg, transparent, rgba(15, 68, 122, 0.25), transparent);
}

html:not([data-theme="dark"]) .footer-brand p,
html:not([data-theme="dark"]) .footer-contact,
html:not([data-theme="dark"]) .footer-col a,
html:not([data-theme="dark"]) .footer-bottom {
  color: #526882;
}

html:not([data-theme="dark"]) .footer-col h4 {
  color: var(--ink-strong-light);
}

html:not([data-theme="dark"]) .footer-contact a,
html:not([data-theme="dark"]) .footer-col a:hover {
  color: #0f447a;
}

html:not([data-theme="dark"]) .social-btn {
  background: #ffffff;
  border-color: #d7e3f3;
  color: #486180;
}

html:not([data-theme="dark"]) .social-btn:hover {
  background: #e8f2ff;
  border-color: #b9d3ef;
  color: #0f447a;
}

html:not([data-theme="dark"]) .footer-bottom {
  border-top-color: #d7e3f3;
}

[data-theme="dark"] {
  --white: #0f172a;
  --off-white: #1e293b;
  --text-dark: #e2e8f0;
  --text-mid: #94a3b8;
  --text-light: #64748b;
  --border: #334155;
  --orange-pale: rgba(242, 107, 33, 0.15);
  --sky-pale: rgba(14, 165, 233, 0.15);
}

[data-theme="dark"] body {
  background: #0f172a;
  color: #e2e8f0;
}

[data-theme="dark"] .section {
  background: #0f172a;
}

[data-theme="dark"] .section-heading,
[data-theme="dark"] .section-title,
[data-theme="dark"] .blog-title,
[data-theme="dark"] .faculty-name,
[data-theme="dark"] .student-name,
[data-theme="dark"] .branch-name,
[data-theme="dark"] .testi-name,
[data-theme="dark"] .faq-question h4,
[data-theme="dark"] .lead-form-card h3,
[data-theme="dark"] label {
  color: #f1f5f9;
}

[data-theme="dark"] .section-sub,
[data-theme="dark"] .blog-excerpt,
[data-theme="dark"] .faculty-exp,
[data-theme="dark"] .branch-area,
[data-theme="dark"] .branch-info,
[data-theme="dark"] .testi-role,
[data-theme="dark"] .testi-quote,
[data-theme="dark"] .faq-answer,
[data-theme="dark"] .lead-form-card p,
[data-theme="dark"] .rank-label,
[data-theme="dark"] .form-privacy,
[data-theme="dark"] .form-result {
  color: #94a3b8;
}

[data-theme="dark"] .course-card,
[data-theme="dark"] .result-card,
[data-theme="dark"] .faculty-card,
[data-theme="dark"] .branch-card,
[data-theme="dark"] .testi-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .resource-card,
[data-theme="dark"] .faq-card,
[data-theme="dark"] .lead-form-card,
[data-theme="dark"] .card {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .testi-section {
  background: #0f172a;
}

[data-theme="dark"] .ftag,
[data-theme="dark"] .bchip,
[data-theme="dark"] .faq-toggle {
  background: #0f172a;
  color: #cbd5e1;
}

[data-theme="dark"] .bchip.highlight {
  background: rgba(242, 107, 33, 0.2);
  color: #ffb485;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: #0f172a;
  border-color: #475569;
  color: #e2e8f0;
}

[data-theme="dark"] .page-hero {
  background: #0b1a3a;
}

[data-theme="dark"] .section-tag,
[data-theme="dark"] .kicker,
[data-theme="dark"] .badge {
  background: rgba(242, 107, 33, 0.15);
  color: #ffb485;
}

@media (max-width: 980px) {
  .hero-inner,
  .ai-layout,
  .schol-layout,
  .split,
  .form-row-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav.open {
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

  .mobile-nav .mobile-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .container {
    width: 94%;
  }

  .nav-wrap {
    min-height: 62px;
    gap: 8px;
  }

  .nav-logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .logo-brand-img {
    height: 34px;
    max-width: 100%;
  }

  .mobile-theme-toggle,
  .nav-toggle {
    flex: 0 0 40px;
  }

  .section {
    padding: 28px 5%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline,
  .hero-ctas .btn-whatsapp {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .mobile-nav-list {
    grid-template-columns: 1fr;
  }

  .countdown-boxes {
    gap: 8px;
  }

  .cbox {
    min-width: 60px;
    padding: 14px 10px;
  }

  .cbox .num {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
