:root {
  --navy-900: #0c1f3d;
  --navy-800: #122a52;
  --navy-700: #1a3a6b;
  --navy-600: #234b87;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --accent: #fbbf24;
  --accent-hover: #f59e0b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --green: #22c55e;
  --shadow: 0 10px 25px -5px rgb(15 23 42 / 0.12);
  --shadow-lg: 0 20px 40px -10px rgb(15 23 42 / 0.18);
  --radius: 1rem;
  --radius-sm: 0.625rem;
  --radius-full: 9999px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --header-h: 4.25rem;
  --max: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon--sm { width: 1.125rem; height: 1.125rem; }
.icon--md { width: 1.5rem; height: 1.5rem; }
.icon--lg { width: 2rem; height: 2rem; }
.icon--xl { width: 2.5rem; height: 2.5rem; }
.icon--star {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
  fill: currentColor;
}

.text-accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgb(37 99 235 / 0.35);
}

.btn--primary:hover {
  background: var(--blue-400);
}

.btn--accent {
  background: var(--accent);
  color: var(--navy-900);
  box-shadow: 0 4px 14px rgb(251 191 36 / 0.4);
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.btn--outline-nav {
  background: transparent;
  border-color: var(--blue-500);
  color: var(--blue-500);
}

.btn--outline-nav:hover {
  background: rgb(37 99 235 / 0.08);
}

.btn--outline-light {
  background: transparent;
  border-color: rgb(255 255 255 / 0.65);
  color: var(--white);
}

.btn--outline-light:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgb(15 23 42 / 0.08);
  border-color: var(--gray-200);
}

.site-header.is-open {
  inset: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0.35rem;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-800);
  line-height: 1.2;
}

.brand__tag {
  font-size: 0.7rem;
  color: var(--gray-600);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav__desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--blue-500);
}

.nav__link--active {
  color: var(--blue-500);
  font-weight: 600;
}

.nav__cta-group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: 0.5rem;
}

.user-menu-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.38rem 0.75rem 0.38rem 0.42rem;
  border: 2px solid rgb(37 99 235 / 0.14);
  background: var(--white);
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.06);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.user-name {
  max-width: 10rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-trigger:hover {
  background: var(--gray-50);
  border-color: rgb(37 99 235 / 0.28);
  box-shadow: 0 10px 28px rgb(37 99 235 / 0.12);
}

.user-menu-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.18);
}

.user-avatar,
.user-avatar-fallback {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.user-avatar {
  object-fit: cover;
  border: 2px solid rgb(37 99 235 / 0.15);
}

.user-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-500);
  background: rgb(37 99 235 / 0.1);
  border: 2px solid rgb(37 99 235 / 0.18);
}

.user-menu-arrow {
  color: var(--gray-700);
  opacity: 0.9;
}

.user-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(19rem, 88vw);
  background: var(--white);
  border: 1px solid rgb(226 232 240 / 0.9);
  border-radius: 0.95rem;
  box-shadow: 0 18px 42px rgb(15 23 42 / 0.14);
  padding: 0.7rem;
  z-index: 60;
  font-family: var(--font-sans);
}

.user-menu-dropdown[aria-hidden="true"] {
  display: none;
}

.user-menu-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.user-menu-avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgb(37 99 235 / 0.13);
  flex-shrink: 0;
}

.user-menu-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--blue-500);
  background: rgb(37 99 235 / 0.1);
  border: 2px solid rgb(37 99 235 / 0.18);
}

.user-menu-info {
  min-width: 0;
}

.user-menu-username {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-email {
  margin-top: 0.05rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-divider {
  height: 1px;
  background: rgb(226 232 240 / 0.95);
  margin: 0.55rem 0;
}

.user-menu-form {
  margin: 0;
}

.user-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.35rem 0.15rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
  transition: background 0.15s, color 0.15s;
}

.user-menu-item:hover {
  background: rgb(248 250 252 / 0.9);
}

.user-menu-item--link {
  text-decoration: none;
  color: var(--gray-900);
}

.user-menu-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  flex: 0 0 auto;
  background: rgb(37 99 235 / 0.08);
  color: var(--blue-500);
}

.user-menu-item__label {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.user-menu-item__chevron {
  flex: 0 0 auto;
  color: var(--gray-500);
}

.user-menu-item--danger {
  color: #dc2626;
  font-weight: 500;
}

.user-menu-item--danger .user-menu-item__icon {
  background: rgb(239 68 68 / 0.08);
  color: #ef4444;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-800);
  cursor: pointer;
}

.nav__mobile {
  padding: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav__link--block {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

@media (min-width: 992px) {
  .nav__desktop { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgb(12 31 61 / 0.95), rgb(26 58 107 / 0.92)),
    url("https://images.unsplash.com/photo-1473341304170-971dccb5ac71?w=1920&q=80") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgb(37 99 235 / 0.25), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0.75rem 0;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: rgb(255 255 255 / 0.85);
  margin: 0 0 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 0.9);
  transition: color 0.2s ease;
}

.hero__link:hover {
  color: var(--accent);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.stat-card {
  background: rgb(255 255 255 / 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  background: rgb(255 255 255 / 0.16);
}

.stat-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-card__label {
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.8);
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgb(37 99 235 / 0.12);
  color: var(--blue-500);
}

.badge--glass {
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 0.2);
}

/* Sections */
.section {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.section--light {
  background: var(--gray-50);
}

.section-empty-state {
  margin: 0;
  padding: 1.5rem 1.25rem;
  border: 1px dashed var(--gray-200);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.7);
  color: var(--gray-600);
  text-align: center;
  font-weight: 600;
}

.info-panel .section-empty-state,
.feature-panel .section-empty-state {
  margin-top: 0.75rem;
}

.batches-panel .section-empty-state {
  padding: 2rem 1.25rem;
}

.section__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__head--left {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--navy-800);
  margin: 0;
}

.section__title--inline {
  white-space: nowrap;
}

.section__sub {
  max-width: 42rem;
  margin: 0.75rem auto 0;
  color: var(--gray-600);
}

.section__link {
  font-weight: 600;
  color: var(--blue-500);
  transition: color 0.2s ease;
}

.section__link:hover {
  color: var(--navy-700);
}

.section__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.section__divider span {
  flex: 1;
  max-width: 8rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
}

/* Exam categories */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.exam-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.exam-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-400);
}

.exam-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-sm);
  background: rgb(37 99 235 / 0.1);
  color: var(--blue-500);
}

.exam-card__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.35;
}

@media (min-width: 640px) {
  .exam-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .exam-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .exam-card__name { font-size: 0.875rem; }
}

/* Features grid */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.feature-panel--dark {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-color: transparent;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.feature-panel__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.check-list--light li {
  color: rgb(255 255 255 / 0.9);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.highlight-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: rgb(37 99 235 / 0.1);
  color: var(--blue-500);
  flex-shrink: 0;
}

.mock-preview {
  position: relative;
  height: 5rem;
  margin-top: 1rem;
}

.mock-preview__screen {
  position: absolute;
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.2);
}

.mock-preview__screen--laptop {
  width: 70%;
  height: 4rem;
  bottom: 0;
  left: 0;
}

.mock-preview__screen--phone {
  width: 2.5rem;
  height: 4.5rem;
  bottom: 0;
  right: 10%;
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* Split grid */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.split-grid > * {
  min-width: 0;
}

.split-grid__main,
.batches-panel {
  align-self: start;
}

.split-grid--reverse .split-grid__main {
  order: 1;
}

@media (min-width: 768px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
  .split-grid--reverse .batches-panel { order: 2; }
  .split-grid--reverse .split-grid__main { order: 1; }
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel__track > * {
  flex: 0 0 calc(100% - 0px);
  min-width: 0;
}

@media (min-width: 768px) {
  .carousel__track > * {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

.carousel__controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-800);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel__btn:hover:not(:disabled) {
  background: var(--gray-50);
  border-color: var(--blue-400);
}

.carousel__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Story cards */
.story-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-card__photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--accent);
}

.story-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
}

.story-card__exam {
  margin: 0.15rem 0 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.story-card__rank {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue-500);
}

/* Results section */
.section--results {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--white);
}

.section--results .section__title {
  color: var(--white);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.75rem;
  background: rgb(255 255 255 / 0.06);
  border-radius: var(--radius-sm);
}

.result-item__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
}

.result-item__label {
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.75);
  line-height: 1.3;
}

/* Courses */
.courses-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.courses-grid__item {
  min-width: 0;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}

.course-card--blue { border-top: 3px solid var(--blue-500); }
.course-card--green { border-top: 3px solid var(--green); }
.course-card--orange { border-top: 3px solid #f97316; }
.course-card--red { border-top: 3px solid #ef4444; }
.course-card--purple { border-top: 3px solid #a855f7; }

.course-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.course-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.course-card--blue .course-card__icon { background: rgb(37 99 235 / 0.12); color: var(--blue-500); }
.course-card--green .course-card__icon { background: rgb(34 197 94 / 0.12); color: var(--green); }
.course-card--orange .course-card__icon { background: rgb(249 115 22 / 0.12); color: #f97316; }
.course-card--red .course-card__icon { background: rgb(239 68 68 / 0.12); color: #ef4444; }
.course-card--purple .course-card__icon { background: rgb(168 85 247 / 0.12); color: #a855f7; }

.course-card__duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.course-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--navy-800);
  line-height: 1.35;
}

.course-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.course-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.course-card__features .icon {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.course-card__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-800);
}

.course-card__cta {
  flex-shrink: 0;
  text-decoration: none;
}

.courses-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Faculty — static 2-column grid (4 cards) */
.faculty-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 52rem;
}

@media (min-width: 640px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faculty-grid__item {
  min-width: 0;
}

.faculty-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  height: 100%;
  margin: 0;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(to bottom right, var(--gray-50), var(--white));
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faculty-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-lg);
}

.faculty-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.faculty-card__photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgb(37 99 235 / 0.15);
  flex-shrink: 0;
}

.faculty-card__aside {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding-top: 0.1rem;
}

.faculty-card__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.faculty-card__name {
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--gray-900);
}

.faculty-card__qual {
  font-size: 0.8125rem;
  color: var(--blue-500);
  margin: 0;
  line-height: 1.3;
}

.faculty-card__details {
  padding-top: 0.125rem;
  border-top: 1px solid rgb(37 99 235 / 0.12);
}

.faculty-card__exp {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.faculty-card__subject {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.4;
}

/* Batches table */
.batches-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.batches-panel__actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

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

.batches-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.batches-table th,
.batches-table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.batches-table th {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.8125rem;
}

.mode-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgb(37 99 235 / 0.1);
  color: var(--blue-500);
}

.link-accent {
  font-weight: 600;
  color: var(--blue-500);
  transition: color 0.2s ease;
}

.link-accent:hover {
  color: var(--navy-700);
}

@media (max-width: 640px) {
  .batches-table thead { display: none; }
  .batches-table tr {
    display: block;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
  }
  .batches-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: none;
    padding: 0.35rem 0;
  }
  .batches-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--gray-600);
  }
}

/* Info trio */
.info-trio {
  display: grid;
  gap: 1.5rem;
}

.info-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.info-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.info-panel__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  color: var(--navy-800);
}

.info-panel__see-all {
  flex-shrink: 0;
  color: var(--blue-500);
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
}

.info-panel__see-all:hover {
  text-decoration: underline;
}

/* Testimonials — horizontal marquee */
.section--testimonials {
  position: relative;
  overflow-x: clip;
}

.testimonials-marquee-shell {
  width: 100%;
  padding-block: 3rem;
  overflow-x: clip;
}

.testimonials-marquee {
  overflow-x: clip;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.testimonials-marquee__track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  padding-block: 1.25rem;
  animation: testimonials-marquee-ltr 90s linear infinite;
}

.testimonials-marquee:hover .testimonials-marquee__track {
  animation-play-state: paused;
}

@keyframes testimonials-marquee-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 0 0 22rem;
  width: 22rem;
  max-width: min(22rem, 90vw);
  margin: 0;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(to bottom right, var(--gray-50), var(--white));
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.testimonials-marquee__track .testimonial-card {
  transform-origin: center center;
  margin-block: 0.5rem;
}

.testimonials-marquee__track .testimonial-card:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.testimonials-marquee__track .testimonial-card:nth-child(even) {
  transform: rotate(1.5deg);
}

.testimonials-marquee__track:hover .testimonial-card:not(:hover) {
  opacity: 0.55;
}

.testimonials-marquee__track .testimonial-card:hover {
  transform: rotate(0deg) scale(1.04);
  opacity: 1;
  position: relative;
  z-index: 2;
  border-color: var(--blue-400);
  box-shadow: 0 12px 24px -4px rgb(15 23 42 / 0.14);
}

.testimonial-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.testimonial-card__photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgb(37 99 235 / 0.15);
  flex-shrink: 0;
}

.testimonial-card__aside {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding-top: 0.1rem;
}

.testimonial-card__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.testimonial-card__stars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.testimonial-card__text {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-top: 0.125rem;
  border-top: 1px solid rgb(37 99 235 / 0.12);
}

.testimonial-card__name {
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--gray-900);
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--blue-500);
  margin: 0;
  line-height: 1.3;
}

.testimonials-static {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.testimonials-view-all {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

/* Notifications & resources */
.notice-list,
.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.875rem;
}

.notice-list li {
  display: grid;
  gap: 0.25rem;
}

.notice-list time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-500);
}

.notice-list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.notice-list a:hover {
  color: var(--blue-500);
}

.resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background 0.2s ease, color 0.2s ease;
}

.resource-list a:hover {
  background: rgb(37 99 235 / 0.08);
  color: var(--blue-500);
}

@media (min-width: 992px) {
  .info-trio {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

/* FAQ */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--navy-800);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blue-500);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Visit Our Showroom */
.section-showroom {
  padding: 2.5rem 0;
  background: var(--gray-50);
  overflow: hidden;
}

@media (min-width: 768px) {
  .section-showroom {
    padding: 3rem 0;
  }
}

.showroom-narrow {
  max-width: 45rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.showroom-head {
  text-align: center;
  margin-bottom: 2rem;
}

.showroom-chips {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}

.showroom-chip {
  appearance: none;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.showroom-chip:hover {
  background: var(--gray-100);
}

.showroom-chip.is-active {
  background: rgb(37 99 235 / 0.12);
  border-color: rgb(37 99 235 / 0.28);
  color: var(--navy-700);
  box-shadow: 0 8px 18px rgb(37 99 235 / 0.08);
}

.showroom-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.18);
}

.showroom-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--navy-800);
}

.showroom-desc {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.showroom-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.showroom-map-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.showroom-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.showroom-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.showroom-address {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.45;
  flex: 1;
  min-width: 12rem;
}

.btn--showroom-dir {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.showroom-dir-icon {
  flex-shrink: 0;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.cta-banner__copy {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0;
}

.cta-banner__sub {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 0.8);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .cta-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgb(255 255 255 / 0.85);
  padding-block: 3rem 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand__blurb {
  margin: 1rem 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 0.7);
  max-width: 22rem;
}

.brand--footer .brand__name {
  color: var(--white);
}

.brand__tag--footer {
  color: rgb(255 255 255 / 0.6);
}

.social-row {
  display: flex;
  gap: 0.625rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.08);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  background: rgb(255 255 255 / 0.15);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-list a {
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 0.7);
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.875rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 0.7);
}

.footer-contact a {
  color: rgb(255 255 255 / 0.85);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.55);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.55);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-attribution {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  text-align: center;
  color: rgb(255 255 255 / 0.45);
}

.footer-attribution a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-attribution a:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgb(34 197 94 / 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgb(34 197 94 / 0.55);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal--delay { transition-delay: 120ms; }
.reveal--delay-2 { transition-delay: 240ms; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .carousel__track { transition: none; }
  .testimonials-marquee-shell {
    display: none;
  }

  .testimonials-marquee__track {
    animation: none;
  }

  .testimonials-static {
    position: static;
    width: 100%;
    max-width: var(--max);
    height: auto;
    margin-inline: auto;
    margin-top: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-inline: clamp(1rem, 4vw, 2rem);
    padding-bottom: 0.5rem;
  }

  .testimonials-static .testimonial-card {
    width: 100%;
    max-width: none;
  }

  .btn:hover, .exam-card:hover, .course-card:hover, .faculty-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .testimonials-static {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  .testimonials-static {
    grid-template-columns: repeat(3, 1fr);
  }
}
