/* =========================================================
   Sharda University — MBA Admissions Landing Page
   style.css — Mobile-first, vanilla CSS, no frameworks
   ========================================================= */

/* -------------------- 1. Design tokens -------------------- */
:root {
  /* Color palette (extracted from design) */
  --color-primary: #0e3f83;
  --color-primary-dark: #0e3f83;
  --color-primary-light: #0e3f83;
  --color-navy: #0d1b3d;
  --color-navy-light: #142a5c;
  --color-yellow: #ffc72c;
  --color-yellow-dark: #e6a800;
  --color-gray: #f2f2f2;

  --color-text: #1a1f2c;
  --color-text-muted: #5a6478;
  --color-text-inverse: #ffffff;

  --color-bg: #ffffff;
  --color-bg-alt: #f2f2f2;
  --color-bg-alt-2: #eef2f8;
  --color-border: #e2e7f0;

  --color-success: #1b8a4c;
  --color-error: #d3273e;

  /* Typography */
  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-hero: 'Queens', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --fs-h1: clamp(2rem, 1.3rem + 3vw, 3.6rem);
  --fs-h2: clamp(1.5rem, 1.15rem + 1.5vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-body: clamp(0.95rem, 0.9rem + 0.15vw, 1.05rem);
  --fs-small: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);

  /* Spacing scale (fluid) */
  --space-2xs: clamp(0.25rem, 0.2rem + 0.2vw, 0.5rem);
  --space-xs: clamp(0.5rem, 0.4rem + 0.4vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.6vw, 1.25rem);
  --space-md: clamp(1.25rem, 1rem + 1vw, 2rem);
  --space-lg: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  --space-xl: clamp(3rem, 2.2rem + 3vw, 5.5rem);
  --space-zero: clamp(0rem, 0rem + 0vw, 3rem);

  /* Layout */
  --container-max: 1720px;
  --container-pad: clamp(1rem, 0.6rem + 1.5vw, 2rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(13, 27, 61, 0.08);
  --shadow-md: 0 10px 30px rgba(13, 27, 61, 0.12);
  --header-h: 96px;

  --transition-base: 0.25s ease;
  color-scheme: light;
}

/* -------------------- 2. Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.40;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }

img { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {font-family: var(--font-hero); margin: 0; line-height: 1.2; }
p { margin: 0; }
input, select, textarea { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 0; top: -100%;
  background: var(--color-primary-dark); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 1000; transition: top var(--transition-base);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.accent { color: var(--color-primary); }

.section-head {
  text-align: center;
  max-width: 650px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}
.section-head h2 { font-size: var(--fs-h2); font-weight: 700; }
.section-head p { margin-top: var(--space-xs); color: var(--color-text-muted); font-size: var(--fs-body); }

/* Section heading variant: small pill sitting centered on the section's top divider line.
   The section needs position: relative and a top border (see .stats-band--titled). */
.section-head--on-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  margin: 0;
  z-index: 1;
}
.section-head--on-line h2 {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.35rem);
  line-height: 1.3;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
}

body.has-modal-open {
  overflow: hidden;
}

/* -------------------- Global Exposure (single-row, max compression) -------------------- */
.exposure {
  padding-block: var(--space-md, 1.25rem);
  background: url(img/semester-exchange.avif);
}

.exposure__head {
  margin-bottom: 0.75rem;
}
.exposure__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary, #1b3a8c);
  margin-bottom: 0.2rem;
}
.exposure__head h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
  font-weight: 700;
}

.exposure__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); /* minmax(0,…) lets columns shrink instead of overflowing */
  align-items: center;
  gap: var(--space-md, 1.5rem);
}

.exposure__divider {
  width: 1px;
  align-self: stretch;
  background: var(--color-border, #e3e7ee);
}

/* Each panel = one single horizontal row: icon | label | content */
.exposure__panel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.exposure__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-soft, #eaf0fc);
  color: var(--color-primary, #1b3a8c);
}

.exposure__label {
  flex: 0 0 auto;
  white-space: nowrap;
}
.exposure__label h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-dark, #14213d);
  line-height: 1.2;
}
.exposure__label p {
  font-size: 0.85rem;
  color: var(--color-text-muted, #5b6472);
  line-height: 1.2;
}
.exposure__label p strong {
  color: var(--color-primary, #1b3a8c);
}

/* Credit logos — single row of 4 equal cells; logos scale down to fit the column */
.credit-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}
.credit-logos li { min-width: 0; display: flex; justify-content: center; }
.credit-logos img {
  height: auto;
  max-height: 64px;
  width: 100%;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.75);
  transition: filter 0.2s ease;
}
.credit-logos img:hover { filter: none; }

/* Credit panel split into two columns: Global Immersion | Semester Exchange partners */
.exposure__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: calc(var(--space-md, 1.5rem) * 2);
  /* divider line drawn exactly at the horizontal centre */
  background: linear-gradient(var(--color-border, #e3e7ee), var(--color-border, #e3e7ee)) center / 1px 100% no-repeat;
}
/* heading on the left, logo on the right, in one row */
/* each column = 2 equal sub-columns: [heading | logo], identical in both */
.exposure__col {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}
.exposure__split .exposure__head { margin-bottom: 0; min-width: 0; }
.exposure__split .credit-logos { justify-content: center; }
/* match the "Students Selected" heading */
.exposure__split .exposure__head h2 {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary-dark, #14213d);
}
.exposure__split .exposure__head h2 span { color: inherit; }
.exposure__split .credit-logos { grid-template-columns: minmax(0, 170px); }
@media (max-width: 599.98px) {
  .exposure__split {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    background: none;
  }
  .exposure__col + .exposure__col {
    border-top: 1px solid var(--color-border, #e3e7ee);
    padding-top: 0.9rem;
  }
}

/* Student chips — avatar + name inline, single compact row */
.student-chips {
  display: flex;
  flex-wrap: wrap; /* chips drop to a new line instead of being cut off */
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.student-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem 0.25rem 0.25rem;
  border-radius: 999px;
  background: var(--color-surface-alt, #f7f9fc);
  white-space: nowrap;
}
.student-chip img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.student-chip span {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary-dark, #14213d);
  line-height: 1.15;
}
.student-chip small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--color-text-muted, #5b6472);
}

/* -------------------- Responsive -------------------- */
/* Desktop: the panel is too narrow for label + 3 chips in one row,
   so put the chips under the label, in a single row, with smaller avatars */
@media (min-width: 992px) {
  .exposure__panel { flex-wrap: wrap; }
  .student-chips { flex-wrap: nowrap; }
  .student-chip img { width: 44px; height: 44px; }
}
/* narrow laptops: tighter chips so all three still fit the panel */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .student-chips { gap: 0.4rem; }
  .student-chip { gap: 0.3rem; padding-right: 0.45rem; }
  .student-chip img { width: 34px; height: 34px; }
  .student-chip span { font-size: 0.72rem; }
}

@media (max-width: 991.98px) {
  .exposure__grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .exposure__divider {
    width: 100%;
    height: 1px;
  }
  .exposure__panel {
    flex-wrap: wrap;
  }
}

@media (max-width: 599.98px) {
  .exposure__label {
    white-space: normal;
  }
  .credit-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* -------------------- 2. application form -------------------- */

.leadx-card {
  max-width: 1100px;
  margin-inline: auto;
}

.leadx-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));   /* fixed column count, not auto-fit */
  grid-auto-flow: row dense;                            /* backfill any gap instead of leaving it blank */
  gap: var(--space-sm, 1.25rem) var(--space-sm, 1.5rem);
  align-items: last baseline;
}
.leadx-fields input, .leadx-fields button {
  border-radius: 10px;
}
.leadx-row {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md, 1.25rem);
  align-items: start;
}

.leadx-field label {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.leadx-phone {
  display: flex;
  align-items: inherit;
  border: 1.5px solid var(--color-border, #dfe3ea);
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
}
.leadx-phone-code {
  flex-shrink: 0;
  padding: 0 0.75rem;
  background: var(--color-bg-alt, #f5f6f8);
  display: flex;
  align-items: center;
}
.leadx-phone input {
  border: none;
  border-radius: 0;
  min-height: auto;
}

.leadx-heading,
[data-leadx-status],
[data-leadx-field="iagree"],
.leadx-button,
.leadx-link {
  grid-column: 1 / -1;
}
.leadx-link {text-align: left;}
.leadx-button {
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background: var(--color-primary, #0e3f83);
  color: #fff;
  font-weight: 700;
  border: none;
  width: fit-content;
}

.leadx-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-family: var(--font-hero)
}

@media (max-width: 991.98px) {
  .leadx-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .leadx-fields { grid-template-columns: 1fr; }
  .leadx-row { grid-column: 1 / -1; grid-template-columns: 1fr; }
}
/* -------------------- 2. Floating WhatsApp / Call buttons -------------------- */
.fab-stack {
  position: fixed;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;              /* override the previous bottom positioning */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 900;
}

.fab-call,
.fab-whatsapp {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fab-call:hover,
.fab-whatsapp:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.fab-call { background: var(--color-primary, #1b63c4); }
.fab-whatsapp { background: #25d366; }

/* -------------------- 3. Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-body);
  border: 2px solid transparent;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.btn--primary {
  background: var(--color-primary-light);
  color: #fff;
}
.btn--primary:hover, .btn--primary:focus-visible { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn--block { width: 100%; }

/* -------------------- 4. Header -------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.topapply {text-align: center;}
/* Hide the header phone number on mobile (Apply Now button stays) */
@media (max-width: 767.98px) {
  .topapply > a[href^="tel:"] { display: none; }
}
.topbar {
  background: var(--color-yellow);
  color: var(--color-navy);
  font-size: .9rem;
  border-radius: var(--radius-md);
  margin-top: var(--space-xs);
}
.topbar__inner {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  padding-block: 0.4rem;
  margin-bottom: var(--space-md);
}
.topbar__phone { display: inline-flex; align-items: center; gap: 0.4rem; color: #cbd6ee; }
.topbar__phone:hover { color: var(--color-yellow); }
.icon { flex-shrink: 0; }
.navbar__inner {
  font-size: var(--fs-small);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 1rem;
  min-height: 75px;
  background: var(--color-primary-dark);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xs);
  gap: var(--space-md);
  color: #fff;
}

.navbar__phone {
  display: none; /* shown from tablet width up, alongside the horizontal nav */
  align-items: center;
  gap: 0.5rem;
  margin-left: var(--space-md);
  padding: .7rem 2.5rem;
  border-radius: 999px;
  background: var(--color-yellow)!important;
  color: var(--color-navy)!important;
  font-weight: 700;
  font-size: 1.2rem;
  white-space: nowrap;
  transition: background var(--transition-base);
}
.navbar__phone:hover, .navbar__phone:focus-visible { background: var(--color-primary-dark); color: #fff; }

.navbar__nav-phone-item { display: none; } /* shown only inside the mobile off-canvas menu, below 768px */
.navbar__nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition-base);
}
.navbar__nav-phone:hover, .navbar__nav-phone:focus-visible { background: var(--color-primary-dark); color: #fff; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent; border: none;
}

.accreditation-bar { position: relative; padding: 0.6rem 0; margin-top: var(--space-md) }

.accreditation-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md, 1.5rem);
  width: 100%;
  padding: 0.7rem 2rem;
  border-radius: 999px;
  background: var(--color-bg);
  box-shadow: 0 10px 30px rgba(10,30,60,0.25);
}

.accreditation-bar__label {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.accreditation-bar__logos {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--space-md, 1.5rem);
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
.accreditation-bar__logos::-webkit-scrollbar { display: none; }

.accreditation-bar__logos li {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.accreditation-bar__logos img {
  width: auto;
  height: 36px;           /* consistent visual height regardless of each logo's own px-width attribute */
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* -------------------- Overview -------------------- */
.programme-overview {
  padding-block: var(--space-xl, 4rem);
  background: #fff;
}

.programme-overview__content h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #14213d;
  margin-bottom: var(--space-md, 1.25rem);
}
.programme-overview__content h2 .accent { color: var(--color-primary, #1b3a8c); }

.programme-overview__intro {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-md, 2rem);
}
/* -------------------- 6. Subnav -------------------- */

:root { --subnav-h: 56px; }

.page-subnav {
  position: relative;            /* normal, in-flow position by default */
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border, #e2e7f0);
  padding-block:var(--space-xs);
}
.page-subnav__list {
  justify-content: center;   /* centers the menu items instead of left-aligning */
}
.page-subnav.is-pinned {
  position: fixed;               /* only becomes fixed once JS adds this class */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-subnav-spacer {
  display: none;
  height: var(--subnav-h);        /* reserves the space the nav leaves behind once it goes fixed */
}
.page-subnav-spacer.is-active { display: block; }

.page-subnav__inner { overflow-x: auto; scrollbar-width: none; }
.page-subnav__inner::-webkit-scrollbar { display: none; }

.page-subnav__list {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-lg, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0.9rem 0;
}

.page-subnav__list a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text, #1a1a1a);
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.page-subnav__list a:hover,
.page-subnav__list a:focus-visible { color: var(--color-primary, #1b63c4); }
.page-subnav__list a.is-active {
  color: var(--color-primary, #1b63c4);
  border-bottom-color: var(--color-primary, #1b63c4);
}

section[id] {
  scroll-margin-top: calc(var(--header-h, 96px) + var(--subnav-h) + 16px); padding-block: var(--space-md);
}

/* -------------------- 5. Hero -------------------- */
.hero {
  position: relative;
  background-color: #fdfdfd;
  /* subtle dotted texture, no image file needed */
  background-image: radial-gradient(rgba(207, 207, 207, 0.4) 2px, transparent 1px);
  background-size: 18px 18px;
  overflow: visible; /* was hidden: it clipped the form's Specialization dropdown */
  z-index: 2;        /* an open dropdown draws over the next section */
}
/* header sits inside the hero, so no top padding above it (beats section[id] and the >=991px padding-block) */
#hero { padding-top: 0; }

.hero__doodle {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 1680px;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
}

.hero__doodle.animate path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation:
    doodle-draw 3s ease-out forwards,
    doodle-pulse 6s ease-in-out 3s infinite;
}

@keyframes doodle-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes doodle-pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__doodle.animate path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  /*gap: var(--space-lg, 2rem);*/
  align-items: end;
}

.hero__grid ul.ranked {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  margin-bottom: var(--space-md, 1.5rem);
}

.hero__grid li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 700;
}

.hero__grid .ranked li::before {
  content: '';
  position: absolute; left: 0; top: 0.5em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-text);
  background: var(--color-text-muted);
}

/*.hero__content {font-size: 1.4rem}*/

.hero__eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: var(--space-sm, 0.75rem);
  line-height: 1.2;
}
.hero__eyebrow span { font-weight: 400; text-transform: none; }

.hero__title {
  font-size: clamp(2.5rem, 1.25rem + 3vw, 5.5rem);
  font-weight: 400;
  line-height: .9;
  margin-bottom: var(--space-sm, 0.75rem);
}
.hero__title span { color: var(--color-primary); }

.hero__subtitle {
  font-size: 1.4rem;
  opacity: 0.9;
  margin-bottom: var(--space-md, 1.5rem);
}

.hero__image {
  display: flex;
  align-items: flex-end;   /* pins the image to the bottom of its column */
  justify-content: center;
  height: 100%;
}

.hero__image img {
  display: block;
  width: 100%;
  /*max-width: 420px;*/
  height: auto;
}
/* phones: no hero photo, so the form comes up sooner */
@media (max-width: 767.98px) { .hero__image { display: none; } }


/* Lead form */
.reg-box {background: #0d1b3d;}
.lead-form {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 6;
}
/* phones: gap between the hero text and the form */
@media (max-width: 767.98px) { .lead-form { margin-top: var(--space-md); } }
.lead-form__deadline {
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}
.lead-form__deadline strong { color: var(--color-red); }

.field { margin-bottom: var(--space-xs); position: relative; }
.field input, .field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.field input:focus, .field select:focus { border-color: var(--color-primary); background: #fff; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%235a6478' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem; }

.field--row { display: flex; gap: var(--space-xs); }
.field__half { flex: 1; }

.field--phone { display: flex; align-items: center; }
.field--phone .field__prefix {
  position: absolute; left: 0.9rem; top: 0.78rem; color: var(--color-text-muted); font-weight: 600; pointer-events: none;
}
.field--phone input { padding-left: 3.4rem; }

.field__error {
  display: block;
  color: var(--color-error);
  font-size: var(--fs-small);
  margin-top: 0.25rem;
  line-height: 1.3;
  min-height: 1.3em;
}

.field--consent {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
.field--consent input { margin-top: 0.2rem; flex-shrink: 0; width: 16px; height: 16px; }
.field--consent .field__error { flex-basis: 100%; margin-left: calc(16px + 0.5rem); }

.lead-form__login { text-align: center; margin-top: var(--space-sm); font-size: var(--fs-small); }
.lead-form__login a { color: var(--color-primary); font-weight: 600; }
.lead-form__status { text-align: center; margin-top: var(--space-xs); font-size: var(--fs-small); font-weight: 600; min-height: 1.2em; }
.lead-form__status.is-success { color: var(--color-success); }
.lead-form__status.is-error { color: var(--color-error); }

/* -------------------- 6. Stats -------------------- */
.stats__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}
.stats__title span { color: var(--color-primary); }


/* -------------------- 7. Carousel (shared component) -------------------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.recruiter-card {
  display: flex;
  flex-direction: column; /* two logos stacked = two-row carousel */
  justify-content: flex-start;
  gap: var(--space-md);
}
.recruiter-card img {margin:auto}
.carousel__track {
  position: relative; /* makes this the offsetParent for its items, so JS
                          can read each item's exact pixel offset for the
                          slide transform instead of an approximate % */
  display: flex;
  gap: var(--space-md);
  transition: transform 0.45s ease;
  will-change: transform;
}
.carousel__track > li { flex: 0 0 100%; }

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  box-shadow: var(--shadow-md);
  transition: background var(--transition-base), color var(--transition-base);
}
.carousel__arrow--prev { left: -6px; }
.carousel__arrow--next { right: -6px; }
.carousel__arrow:hover { background: var(--color-primary); color: #fff; }
.carousel__arrow[hidden] { display: none; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
}
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-border);
  border: none; padding: 0;
}
.carousel__dots button.is-active { background: var(--color-primary); width: 22px; border-radius: 4px; }

/* -------------------- 8. stats-band -------------------- */
.stats-band {
  padding-block: var(--space-lg, 3rem);
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
  border-top:1px solid #d9d9d9;
}
/* Heading pill sits on the top border: margin keeps it clear of the
   recruiters carousel above, padding leaves room below it */
.stats-band--titled {
  position: relative;
  margin-top: calc(var(--space-lg, 3rem) + 1rem);
  padding-top: calc(var(--space-lg, 3rem) + 2rem);
}

.stats-band__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.stats-band__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-band__heading {
  width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.4rem;
}

.stats-band__item--logo .stats-band__logo {
  width: 150px;
}

.stats-band__desc {
  font-size: 0.88rem;
  color: var(--color-text, #374151);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 991.98px) {
  .stats-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl, 2.25rem) var(--space-lg, 1.75rem); }
}
@media (max-width: 599.98px) {
  .stats-band__list { grid-template-columns: 1fr; gap: var(--space-lg, 1.75rem); }
  .stats-band__heading { width: 130px; }
}

/* -------------------- 8. Placements -------------------- */
.placements {padding-block: var(--space-lg, 4rem); padding-bottom: var(--space-xs, 2.5rem);}
.placement-grid { padding-block: var(--space-xl, 4rem); background: #fff; padding-top: var(--space-zero); }

.placement-grid__head {
  text-align: center;
  margin-bottom: var(--space-xl, 2.75rem);
}
.placement-grid__kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary, #1b3a8c);
  margin-bottom: 0.5rem;
}
.placement-grid__head h2 {
  font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.3rem);
  font-weight: 700;
  color: var(--color-primary-dark, #14213d);
  margin: 0;
}
.placement-grid__head h2 .accent { color: var(--color-primary, #1b3a8c); }

/* Single-row carousel: arrows either side, cards scroll horizontally */
.placement-grid__carousel {
  --pg-gap: var(--space-lg, 1.75rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.placement-grid__list {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: var(--pg-gap);
  list-style: none;
  margin: 0;
  /* top room for the overlapping photo, bottom/side room for the card shadow */
  padding: 3.75rem 0.75rem 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.75rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.placement-grid__list::-webkit-scrollbar { display: none; }
.placement-grid__list > .placement-grid__card {
  flex: 0 0 calc((100% - 3 * var(--pg-gap)) / 4);
  scroll-snap-align: start;
}

.placement-grid__nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-border, #e3e7ee);
  background: #fff;
  color: var(--color-primary-dark, #14213d);
  box-shadow: 0 4px 12px rgba(20, 33, 61, 0.1);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.placement-grid__nav:hover { background: var(--color-primary, #1b3a8c); color: #fff; }
.placement-grid__nav:disabled { opacity: 0.35; cursor: default; }
.placement-grid__nav:disabled:hover { background: #fff; color: var(--color-primary-dark, #14213d); }

.placement-grid__card {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg, 18px);
  padding: 4.5rem 1.25rem 1.5rem;
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.placement-grid__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(20, 33, 61, 0.15);
}

.placement-grid__photo {
  position: absolute;
  top: -58px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 6px #fff, 0 10px 22px rgba(20, 33, 61, 0.2);
}

.placement-grid__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.placement-grid__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary-dark, #14213d);
  margin: 0 0 0.35rem;
}
.placement-grid__course {
  font-size: 0.85rem;
  color: var(--color-primary, #1b3a8c);
  opacity: 0.8;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}
.placement-grid__package {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary, #1b3a8c);
  margin: 0 0 1.1rem;
}
.placement-grid__logo {
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .placement-grid__list > .placement-grid__card { flex-basis: calc((100% - var(--pg-gap)) / 2); }
}
@media (max-width: 599.98px) {
  .placement-grid__carousel { gap: 0.4rem; }
  .placement-grid__nav { width: 36px; height: 36px; }
  .placement-grid__list > .placement-grid__card { flex-basis: 100%; }
  .placement-grid__card { padding: 4rem 1rem 1.25rem; }
  .placement-grid__photo { width: 96px; height: 96px; top: -50px; }
}

@media (prefers-reduced-motion: reduce) {
  .placement-grid__card { transition: none; }
}

/* -------------------- 9. Specializations New -------------------- */
.spec-grid {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-xl, 4rem)!important;
  background: linear-gradient(180deg, #f3f7fd 0%, #ffffff 65%);
}

.spec-grid__dots {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 110px;
  height: 90px;
  background-image: radial-gradient(var(--color-border, #c9d4e8) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.55;
  pointer-events: none;
}

.spec-grid__wave {
  position: absolute;
  width: 420px;
  height: 320px;
  color: #e4ecfb;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.spec-grid__wave--top { top: -140px; right: -120px; }
.spec-grid__wave--bottom { bottom: -160px; left: -140px; color: #eef3fc; }

.spec-grid > .container { position: relative; z-index: 1; }

.spec-grid__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-md, 2.75rem);
}

.spec-grid__rule {
  display: block;
  width: 64px;
  height: 4px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary, #1b3a8c), var(--color-primary-light, #4f7cf0));
}

.spec-grid__head h2 {
  font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.3rem);
  font-weight: 700;
  margin: 0 0 0.6rem;
}
.spec-grid__head h2 span { color: var(--color-primary, #1b3a8c); }

.spec-grid__head p {
  color: var(--color-text-muted, #6b7280);
  font-size: 1rem;
  margin: 0;
}

/* Carousel shell */
.spec-grid__carousel {
  display: flex;
  align-items: center;
  gap: var(--space-sm, 1rem);
}

.spec-grid__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.spec-grid__list {
  display: flex;
  gap: var(--space-md, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0.1rem 0rem .8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.spec-grid__list::-webkit-scrollbar { display: none; }

.spec-grid__nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--color-primary-dark, #14213d);
  box-shadow: 0 6px 18px rgba(16, 35, 79, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.spec-grid__nav:hover { background: var(--color-primary, #1b3a8c); color: #fff; }
.spec-grid__nav:disabled { opacity: 0.35; cursor: default; }
.spec-grid__nav:disabled:hover { background: #fff; color: var(--color-primary-dark, #14213d); }

.spec-grid__dots-nav {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.spec-grid__dots-nav button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--color-border, #dde2ec);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.spec-grid__dots-nav button.is-active {
  background: var(--color-primary, #1b3a8c);
  transform: scale(1.3);
}

.spec-grid__card {
  position: relative;
  overflow: hidden;
  flex: 0 0 calc((100% - 4 * var(--space-md, 1.5rem)) / 5);
  min-width: 0;
  box-sizing: border-box;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  padding: 1.1rem 0.9rem 0.9rem;
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.spec-grid__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(20, 33, 61, 0.12);
}

/* .spec-grid__card::after removed — was the gray bottom swoosh */

.spec-grid__icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg-alt, #eef3fc);
  color: var(--color-primary, #1b3a8c);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.spec-grid__icon svg { width: 22px; height: 22px; }

.spec-grid__card:hover .spec-grid__icon {
  background: var(--color-primary, #1b3a8c);
  color: #fff;
}

.spec-grid__card h3 {
  position: relative;
  z-index: 1;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-dark, #14213d);
  margin: 0 0 0.65rem;
}

.spec-grid__arrow {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-dark, #14213d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.spec-grid__arrow svg { width: 14px; height: 14px; }

.spec-grid__card:hover .spec-grid__arrow {
  background: var(--color-primary, #1b3a8c);
  transform: scale(1.08);
}

@media (min-width: 1200px) {
  .spec-grid__card { flex-basis: calc((100% - 5 * var(--space-md, 1.5rem)) / 5); }
  .spec-grid__card h3 { font-size: 1rem; }
}
@media (max-width: 1199.98px) {
  .spec-grid__card { flex-basis: calc((100% - 3 * var(--space-md, 1.5rem)) / 4); }
}
@media (max-width: 991.98px) {
  .spec-grid__card { flex-basis: calc((100% - 2 * var(--space-md, 1.25rem)) / 3); }
}
@media (max-width: 767.98px) {
  .spec-grid__card { flex-basis: calc((100% - 1 * var(--space-sm, 1rem)) / 2); padding: 1rem 0.75rem 0.85rem; }
  .spec-grid__list { gap: var(--space-sm, 1rem); }
  .spec-grid__icon { width: 42px; height: 42px; }
}
@media (max-width: 599.98px) {
  .spec-grid__card { flex-basis: calc((100% - 1 * var(--space-sm, 0.85rem)) / 1); }
}

/* -------------------- AI Integration — 3-column layout -------------------- */
.ai-integration {
  padding-block: var(--space-lg, 2rem);
}

.ai-integration__cols3 {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1fr;
  gap: var(--space-lg, 2rem);
  align-items: center;
}

/* Left / right blocks */
.ai-integration__block-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-primary, #1b3a8c);
  margin-bottom: 0.75rem;
}

.ai-courses {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-courses li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.ai-courses__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-top: 0.1rem;
}
.ai-courses li span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--color-text-muted, #5b6472);
}
.ai-courses li strong {
  color: var(--color-primary-dark, #14213d);
}

.ai-methodology {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-methodology li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--color-text-muted, #5b6472);
}
.ai-methodology li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary, #1b3a8c);
}

/* Center column */
.ai-integration__center {
  text-align: center;
}
.ai-integration__center h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

/* -------------------- AI Integration -------------------- */
.ai-integration {
  padding-block: var(--space-xl, 3rem);
}

.ai-integration__heading {
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.3;
  color: var(--color-primary-dark, #14213d);
  margin-bottom: var(--space-xl, 2.75rem);
}
.ai-integration__heading .accent {
  color: var(--color-primary, #1b3a8c);
}
.ai-integration__highlight {
  display: inline-block;
  background: #ffc93c;
  color: var(--color-primary-dark, #14213d);
  padding: 0em 0.1em;
}

.ai-integration__row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: start;
  gap: var(--space-lg, 2rem); /* tightened from space-xl */
}

.ai-integration__block {
  max-width: 280px;
}
.ai-integration__block:first-child {
  justify-self: end;   /* pulls the courses block toward the center */
}
.ai-integration__block:last-child {
  justify-self: start; /* pulls the methodology block toward the center */
}

.ai-integration__block-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-primary, #1b3a8c);
  margin-bottom: 1.5rem;
}

/* Courses */
.ai-courses {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-courses li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.ai-courses__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.ai-courses li span {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--color-text-muted, #5b6472);
}
.ai-courses li strong {
  color: var(--color-primary-dark, #14213d);
}

/* Center: photo circle with ring + glow */
.ai-integration__center {
  display: flex;
  justify-content: center;
}
.ai-integration__media {
  position: relative;
  width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 10px #fff,
    0 0 0 11px var(--color-border, #e3e7ee),
    0 18px 34px rgba(20, 33, 61, 0.18);
  animation: badgePulse 3.2s ease-in-out infinite;
}
.ai-integration__media::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: ringSpin 14s linear infinite;
}
.ai-integration__media::after {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-primary-soft, #eaf0fc) 0%, transparent 70%);
  animation: haloBreathe 3.2s ease-in-out infinite;
}
.ai-integration__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
@keyframes haloBreathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 0.45; }
}
@keyframes badgePulse {
  0%, 100% {
    box-shadow:
      0 0 0 10px #fff,
      0 0 0 11px var(--color-border, #e3e7ee),
      0 18px 34px rgba(20, 33, 61, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 10px #fff,
      0 0 0 11px var(--color-border, #e3e7ee),
      0 18px 46px rgba(20, 33, 61, 0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-integration__media,
  .ai-integration__media::before,
  .ai-integration__media::after {
    animation: none;
  }
}

/* Methodology — aligned 2-column grid */
.ai-methodology {
  display: grid;
  gap: 1.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-methodology li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-muted, #5b6472);
  white-space: nowrap;
}
.ai-methodology li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary, #1b3a8c);
}
.ai-integration__row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: start;
  gap: var(--space-md, 1.25rem); /* tightened further */
}

.ai-integration__block {
  max-width: 280px;
}
.ai-integration__block:first-child {
  justify-self: end;
  margin-right: -0.5rem; /* pulls courses in closer to the circle */
}
.ai-integration__block:last-child {
  justify-self: start;
  margin-left: -0.5rem; /* pulls methodology in closer to the circle */
}
/* -------------------- Responsive -------------------- */
@media (max-width: 991.98px) {
  .ai-integration__row {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .ai-integration__block {
    max-width: none;
    justify-self: stretch !important; /* let blocks go full-width again once stacked */
  }  
  .ai-integration__center { order: -1; }
  .ai-courses li { text-align: left; }
  .ai-methodology {
    grid-template-columns: 1fr;
  }
  .ai-methodology li {
    white-space: normal;
    text-align: left;
    margin-inline: auto;
    max-width: 320px;
  }
    .ai-integration__block {
    max-width: none;
    justify-self: stretch !important;
    margin-inline: 0 !important;
  }
}

@media (max-width: 599.98px) {
  .ai-integration__media { width: 220px; }
}

/* -------------------- 11. Awards -------------------- */

  .why-grid { padding-block: var(--space-xl, 4rem); padding-top: var(--space-zero)}

  .section-head--left {
    text-align: left;
    border-bottom: 1px solid var(--color-border, #d8dee8);
    padding-bottom: var(--space-md, 1.5rem);    
  }
  .section-head--left h2 {
    font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 0.4rem;
  }
  .section-head--left p {
    color: #8a8a8a;
    font-size: 0.95rem;
    margin: 0;
  }

  .why-grid__panel {
    border: 1px solid var(--color-border, #d8dee8);
    border-radius: 4px;
    overflow: hidden;
    margin-top: var(--space-lg, 2rem);
  }

  .why-grid__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));  /* minmax(0, 1fr) instead of plain 1fr */  
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .why-grid__item {
    min-width: 0;   /* lets long headings/text wrap instead of stretching their column wider */
    padding: var(--space-md, 1.75rem);
    border-right: 1px solid var(--color-border, #e4e9f0);
    border-bottom: 1px solid var(--color-border, #e4e9f0);
  }
  .why-grid__item:nth-child(4n) { border-right: none; }


  /* checkerboard tint */
  .why-grid__item:nth-child(odd)  { background: #f4f8fc; }
  .why-grid__item:nth-child(even) { background: #ffffff; }

  .why-grid__icon {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: var(--space-md, 1.25rem);
  }
  .why-grid__icon--svg {
    height: 60px;
    width: 250px;
    color: var(--color-primary, #1b63c4);
  }

  .why-grid__item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2b4a;
    margin-bottom: 0.5rem;
    line-height: 1.35;
  }

  .why-grid__item p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #8b93a1;
    margin: 0;
  }



  @media (max-width: 1023.98px) {
    .why-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid__item:nth-child(4n) { border-right: 1px solid var(--color-border, #e4e9f0); }
    .why-grid__item:nth-child(2n) { border-right: none; }
    .why-grid__item:nth-last-child(-n+4) { border-bottom: 1px solid var(--color-border, #e4e9f0); }
    .why-grid__item:nth-last-child(-n+2) { border-bottom: none; }
  }

  @media (max-width: 599.98px) {
    .why-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid__item:nth-child(2n) { border-right: none; }
    .why-grid__item:nth-child(2n+1) { border-right: 1px solid var(--color-border, #e4e9f0); }
    .why-grid__item:nth-last-child(-n+2) { border-bottom: none; }
      .accreditation-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--radius-lg, 14px);
    padding: 0.9rem 1rem;
    gap: 0.6rem;
  }
  .accreditation-bar__label {
    white-space: normal;
    font-size: 0.9rem;
  }
  .accreditation-bar__logos {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 2px;   /* room so a scrollbar, if the OS shows one, doesn't clip the logos */
  }
  .accreditation-bar__logos img {
    height: 26px;
    max-width: 84px;
  }
  }

/* Advantage */
.advantage {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  height: 100%;
}
.advantage h2 { font-size: var(--fs-h2); font-weight: 700; margin-bottom: var(--space-md); }
.advantage h2 span { color: var(--color-primary); }


.advantage__list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: var(--space-md); }
.advantage__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--fs-body);
  color: var(--color-text-muted);
}
.advantage__list li::before {
  content: '';
  position: absolute; left: 0; top: 0.4em;
  width: 9px; height: 9px;
  background: var(--color-yellow);
  border-radius: 2px;
}
/* -------------------- 12. SUAT + Advantage (2-column section) -------------------- */

.suat {
  padding-block: var(--space-xl, 4rem);
  background: url(img/building.avif) no-repeat; background-position: center bottom;
}

.suat-advantage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm, 3rem);
  align-items: start;
}

.suat__col--why h2,
.suat__exam-head h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  color: var(--color-primary-dark, #14213d);
  margin: 0 0 var(--space-md, 1.5rem);
  line-height: 1.25;
}

.advantage__list,
.suat__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs, 1.1rem);
}
.advantage__list li,
.suat__highlights li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text, #374151);
  font-size: 0.95rem;
  line-height: 1.5;
}
.advantage__list li::before,
.suat__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary, #1b3a8c);
}
.advantage__list li strong,
.suat__highlights li strong {
  color: var(--color-primary-dark, #14213d);
}

/* SUAT right column: logo + heading side by side */
.suat__exam-head {
  display: flex;
  align-items: center;
  gap: var(--space-md, 1.25rem);
  margin-bottom: var(--space-md, 1.25rem);
}
.suat__exam-head .suat__logo {
  width: 110px;
  height: auto;
  flex-shrink: 0;
}
.suat__exam-head h2 { margin: 0; }

.suat__col--exam p {
  color: var(--color-text, #374151);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 var(--space-sm, 1rem);
}
.suat__highlights-label { margin-bottom: var(--space-sm, 0.75rem) !important; }

/* Apply button, centered below the grid */
.suat__cta {
  display: flex;
  margin-top: var(--space-md, 2.75rem);
}

/* Building photo spanning the bottom of the section */
.suat__building {
  margin-top: var(--space-xl, 3rem);
  width: 100%;
  line-height: 0;
}
.suat__building img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .suat-advantage__grid { grid-template-columns: 1fr; gap: var(--space-xl, 2.5rem); }
}
@media (max-width: 599.98px) {
  .suat__exam-head { flex-direction: column; align-items: flex-start; }
  .suat__exam-head .suat__logo { width: 140px; }
}

/* SUAT section without the "Why MBA" column: intro left, highlights box right */
.suat--exam-only { margin-bottom: var(--space-xl, 4rem); } /* gap below the SUAT section */
.suat--exam-only .suat-advantage__grid { align-items: center; gap: var(--space-lg, 2.5rem); }
.suat--exam-only .suat__col--highlights {
  background: #fff;
  border: 1px solid var(--color-border, #e2e7f0);
  border-radius: var(--radius-md, 14px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md, 1.5rem);
}
.suat--exam-only .suat__highlights-label {
  font-size: 1.05rem;
  color: var(--color-primary-dark, #0e3f83);
  margin: 0 0 var(--space-sm, 0.75rem);
}

/* -------------------- 12b. Why MBA + Why Sharda (2 cards) --------------------
   Own class names only, so it never affects the .suat section. */
.why-sharda {
  padding-block: var(--space-xl, 4rem);
  background: linear-gradient(180deg, var(--color-bg-alt-2, #eef2f8) 0%, #fff 100%);
}
.why-sharda__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md, 1.5rem);
  align-items: stretch;
}
@media (min-width: 991px) {
  .why-sharda__grid { grid-template-columns: 5fr 6fr; }
}

.why-sharda__card {
  border-radius: var(--radius-lg, 22px);
  padding: var(--space-lg, 2.5rem) var(--space-md, 1.75rem);
  display: flex;
  flex-direction: column;
}
.why-sharda__card--mba {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, var(--color-primary, #0e3f83) 0%, var(--color-navy, #0d1b3d) 100%);
  box-shadow: var(--shadow-md);
}
/* soft decorative circle in the corner */
.why-sharda__card--mba::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -90px; top: -90px;
  border-radius: 50%;
  border: 40px solid rgba(255, 199, 44, 0.12);
  pointer-events: none;
}
.why-sharda__card--uni {
  background: #fff;
  border: 1px solid var(--color-border, #e2e7f0);
  box-shadow: var(--shadow-sm);
}

.why-sharda__eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: var(--space-xs, 0.75rem);
  background: var(--color-bg-alt-2, #eef2f8);
  color: var(--color-primary, #0e3f83);
}
.why-sharda__card--mba .why-sharda__eyebrow {
  background: rgba(255, 199, 44, 0.16);
  color: var(--color-yellow, #ffc72c);
}

.why-sharda__title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 var(--space-md, 1.5rem);
  color: var(--color-primary-dark, #0e3f83);
}
.why-sharda__card--mba .why-sharda__title { color: #fff; }

/* Left card: numbered points */
.why-sharda__points {
  list-style: none;
  margin: 0 0 var(--space-md, 1.5rem);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.why-sharda__points li {
  display: flex;
  gap: var(--space-sm, 1rem);
  align-items: flex-start;
  padding-block: var(--space-xs, 0.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.why-sharda__points li:last-child { border-bottom: 0; }
.why-sharda__num {
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-yellow, #ffc72c);
  min-width: 2ch;
}
.why-sharda__points p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
.why-sharda__points strong {
  display: inline;   /* bold lead-in runs on in the same line as the rest of the point */
  color: #fff;
  font-weight: 700;
}
.why-sharda__cta.btn--journey {
  margin-top: auto; /* pins the button to the card bottom */
  align-self: flex-start;
  background: var(--color-yellow, #ffc72c);
  color: var(--color-navy, #0d1b3d);
  position: relative;
  z-index: 1;
}

/* Right card: check-mark highlights in two columns */
.why-sharda__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs, 0.75rem) var(--space-md, 1.5rem);
}
@media (min-width: 600px) {
  .why-sharda__highlights { grid-template-columns: 1fr 1fr; }
}
.why-sharda__highlights li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-muted, #5a6478);
}
.why-sharda__highlights li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.1rem;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--color-bg-alt-2, #eef2f8)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3f83' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 0.7rem no-repeat;
}
.why-sharda__highlights strong { color: var(--color-text, #1a1f2c); }

/* Key-number boxes: 6 boxes = 2 rows of 3 */
.why-stats {
  list-style: none;
  margin: var(--space-md, 1.5rem) 0 0;
  padding: var(--space-md, 1.5rem) 0 0;
  border-top: 1px dashed var(--color-border, #e2e7f0);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm, 1rem);
}
.why-stats__item {
  background: #fff;
  border: 1px solid var(--color-border, #e2e7f0);
  border-top: 3px solid var(--color-yellow, #ffc72c);
  border-radius: var(--radius-sm, 8px);
  padding: var(--space-sm, 1rem) var(--space-xs, 0.75rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-stats__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-stats__num {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-primary, #0e3f83);
}
.why-stats__label {
  font-size: var(--fs-small);
  line-height: 1.35;
  color: var(--color-text-muted, #5a6478);
}

@media (max-width: 599.98px) {
  .why-sharda__card { padding: var(--space-md, 1.5rem) var(--space-sm, 1rem); }
  .why-stats { gap: var(--space-2xs, 0.5rem); }
  .why-stats__item { padding: var(--space-xs, 0.75rem) var(--space-2xs, 0.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .why-stats__item { transition: none; }
  .why-stats__item:hover { transform: none; }
}

/* -------------------- 14. Global MoUs -------------------- */
.mous { padding-block: var(--space-xl); }
.mous__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.mous h2 { font-size: var(--fs-h2); font-weight: 700; margin-bottom: var(--space-sm); }
.mous p { color: var(--color-text-muted); margin-bottom: var(--space-md); }
.mous__logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-md);
}
.mous__logos li {
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-xs);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.mous__map img { width: 100%; height: auto; }

/* -------------------- 16. Sharda Building -------------------- */
.brand-banner {
  padding: 0;
  margin: 0;
  padding-bottom: var(--space-zero, 0);   /* explicitly zero, using your existing token */
  line-height: 0;                          /* removes the small inline-image gap under the img */
  padding: var(--space-xl) var(--space-md) var(--space-lg) var(--space-md); padding-bottom: var(--space-zero, 0);   /* explicitly zero, using your existing token */
  padding-top: var(--space-zero, 0);                          /* removes the small inline-image gap under the img */
}

.brand-banner img {
  display: block;
  height: auto;
  margin: auto;
  padding: 0;
  text-align: center;
}

/* -------------------- 15. Testimonials -------------------- */
.testimonials { padding-block: var(--space-xl); background: var(--color-bg-alt); }
.testimonials .section-head p { color: rgba(13,27,61,0.75); }
.testimonials h2 { color: var(--color-navy); }
.testimonials .accent { text-decoration: underline; text-decoration-color: rgba(13,27,61,0.3); }

.carousel--single { max-width: 1024px; margin-inline: auto; position: relative; }

.testimonial-track > li { flex: 0 0 100%; }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.testimonial-card__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--color-yellow); }
.testimonial-card__name { font-weight: 700; font-family: var(--font-heading); margin-top: var(--space-xs); }
.testimonial-card__role { font-size: var(--fs-small); color: var(--color-text-muted); }
.testimonial-card blockquote { margin: 0; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: var(--color-text); font-style: italic; max-width: 60ch; }

/* -------------------- 16. FAQ accordion -------------------- */
.faq { padding-block: var(--space-xl); }
.faq .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md, 1.5rem);
  box-sizing: border-box;
}
.accordion__item { border-bottom: 1px solid var(--color-border); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-sm) 0;
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--color-text);
}
.accordion__chevron { flex-shrink: 0; transition: transform var(--transition-base); color: var(--color-primary); }
.accordion__trigger[aria-expanded="true"] .accordion__chevron { transform: rotate(180deg); }
.accordion__panel { padding-bottom: var(--space-sm); color: var(--color-text-muted); }
.accordion__panel[hidden] { display: none; }
.faq .faqapply {margin: auto; text-align: center; margin-top: var(--space-md);}
/* -------------------- 17. Footer -------------------- */
.site-footer {
  background: var(--color-navy);
  color: #b8c4e0;
  padding-block: var(--space-lg);
  text-align: center;
  font-size: var(--fs-small);
}
.site-footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}
.site-footer__links button {
  background: none; border: none; color: #b8c4e0; font-size: var(--fs-small);
}
.site-footer__links button:hover { color: var(--color-yellow); }
.site-footer__affiliation { max-width: 760px; margin-inline: auto; margin-bottom: var(--space-sm); color: #8fa0c4; }
.site-footer__phone a { color: #fff; font-weight: 600; }
.site-footer__copy { margin-top: var(--space-sm); color: #7286ae; }

/* -------------------- 18. Floating up button -------------------- */
.fab-top {
  position: fixed;
  right: 1rem;
  bottom: 6rem;              /* raised so it clears the phone/WhatsApp buttons instead of stacking under/beside them */
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--color-primary, #1b63c4);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;             /* bumped above other floating icons so it's never covered */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;      /* can't be accidentally clicked while invisible */
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.fab-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.fab-top:hover,
.fab-top:focus-visible {
  background: var(--color-primary-dark, #0e3f83);
}


/* -------------------- 19. button -------------------- */
.btn--journey {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
  padding: 1rem 1.75rem;
  background: var(--color-primary-dark);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--journey:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}
.btn--journey:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn--journey__icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn--journey:hover .btn--journey__icon {
  transform: translate(2px, -2px);
}

@media (max-width: 599.98px) {
  .btn--journey {
    max-width: 100%;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
  }
}


/* -------------------- 19. Modals -------------------- */
.modal {
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-md);
  margin: auto;
  background: #f7fcff;
}
.leadx-heading {font-size: 1.4rem; text-transform: uppercase; margin-bottom: var(--space-md); font-weight: 700;}
.modal::backdrop { background: rgba(13,27,61,0.6); }
.modal__header {
  display: flex; align-items: center; justify-content: flex-end;
}
.modal__close { background: var(--color-error); border: none; color: var(--color-text-muted);width:20px;height: 22px;color:var(--color-bg);line-height: 1;}
.modal__body { padding: var(--space-md); color: var(--color-text-muted); border: 10px dotted var(--color-bg) }

@font-face {
  font-family: 'Queens';
  src: url('fonts/Queens-Regular.woff2') format('woff2'),
       url('fonts/Queens-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Queens';
  src: url('fonts/Queens-Bold.woff2') format('woff2'),
       url('fonts/Queens-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.hero__title {
  font-family: 'Queens', 'Georgia', serif; /* falls back gracefully if the font file ever fails to load */
}

/* =========================================================
   Breakpoints (mobile-first, min-width)
   320 / 375 / 390 / 480 baseline above; enhance upward
   ========================================================= */

/* Small phones fine-tuning */
@media (max-width: 374.98px) {
  :root { --container-pad: 0.85rem; }
}

/* >= 480px */
@media (min-width: 480px) {
  .suat__grid { grid-template-columns: repeat(3, 1fr); }  
}

/* >= 768px (tablet) */
@media (min-width: 768px) {  
    .hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh; /* falls back to 100vh in browsers that don't support svh */
  }

  .hero #site-header {
    flex: 0 0 auto;
  }

  .hero__grid {
    flex: 1 1 auto;
    align-content: center; /* vertically centers the grid row within the leftover space */
  }
  :root { --header-h: 96px; }
  .navbar__nav { display: block; }
  .navbar__phone { display: inline-flex; }
  .placements__track > li { flex: 0 0 calc(50% - var(--space-md) / 2); }
  .recruiter-track > li { flex: 0 0 calc(33.333% - var(--space-md) * 2 / 3); }
  .spec-track > li { flex: 0 0 calc(50% - var(--space-xs, 1.5rem) / 2);   /* tablet: 2 per view */ }
  .mous__logos { grid-template-columns: repeat(3, 1fr); }
  .advantage__list { grid-template-columns: repeat(2, 1fr); }
  .suat__grid { grid-template-columns: repeat(4, 1fr); }
  .spec-track > li {
    flex: 0 0 100%;      /* tablet: 1 per view, matches data-per-view-tablet="1" */
  }  
}

/* >= 991px — hero becomes a full-width carousel with the form overlaid on top, right side */
@media (min-width: 991px) {
  .navbar a {font-size: var(--fs-h3); color: var(--color-white);}
  .navbar__inner { padding: 0rem 2rem; }
  .navbar__logo img { height: 60px; width: auto; }
  .hero__grid { grid-template-columns: 1fr .9fr 1fr; /* text | image | form */ gap: var(--space-xs, 3rem);}
  .hero { display: block; padding-block: calc(var(--header-h) + var(--space-md, 3rem));padding-bottom: var(--zero);}
  .hero__carousel { min-height: 620px; }
  .hero__content { min-height: 620px; /*padding-inline: var(--space-xl);*/ }
  .hero__eyebrow { font-size: 1.4rem;}
  .hero__grid li { font-size: 1.2rem; }
  .lead-form {
    position: absolute;
    top: 50%;
    right: clamp(1rem, 5vw, 2rem);
    transform: translateY(-50%);
    width: min(480px, 30vw);
    overflow-y: auto;
    margin: 0;
    z-index: 20;
    padding: var(--space-sm);
  }
  .placements__track > li { flex: 0 0 calc(33.333% - var(--space-md) * 2 / 3); }
  .recruiter-track > li { flex: 0 0 calc(19.9% - var(--space-md) * 4 / 5); }
  .spec-track > li { flex: 0 0 calc(16.65% - var(--space-lg) / 2); }
  .why-sharda__grid { grid-template-columns: 1fr 1.5fr; }
  .ai-integration__grid { grid-template-columns: 0.9fr 1.2fr; }
  .ai-integration__media img { max-width: 100%; }
  .awards-grid { grid-template-columns: repeat(3, 1fr);}
  /*.spec-card {min-height: 222px;}*/
  .spec-card h3 { font-size: 1.1rem;}
  .mous__grid { grid-template-columns: 1fr 1fr; }
  .advantage__list { grid-template-columns: repeat(2, 1fr); }
  .suat-advantage__grid { grid-template-columns: 1fr 1fr; }
  .suat__grid { grid-template-columns: repeat(3, 1fr); }
  .accreditation-bar__inner {
    padding: 0.6rem 1.25rem;
    gap: var(--space-sm, 1rem);
  }
  .accreditation-bar__label { font-size: 0.95rem; }
  .accreditation-bar__logos { gap: var(--space-sm, 1rem); }
  .accreditation-bar__logos img { height: 30px; max-width: 100px; }  
}

/* >= 1024px */
@media (min-width: 1024px) {
    .hero {
    display: flex;
    flex-direction: column;
    overflow: visible; /* was hidden: it clipped the form's dropdown list */
  }

  .hero #site-header {
    flex: 0 0 auto;
  }

  .hero__grid {
    flex: 1 1 auto;
    min-height: 0;   /* overrides the default min-height:auto that was forcing the row (and the whole section) taller than 100vh */
    align-items: stretch;
    overflow: visible; /* was hidden: it clipped the form's dropdown list */
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    overflow-y: auto; /* safety net only — kicks in if the text column itself ever gets too tall */
  }

  .hero__image {
    min-height: 0;
  }

  .lead-form {
    min-height: 0;
    overflow: visible;       /* was a scroll box, which clipped the Specialization dropdown */
  }
}

/* >= 1280px */
@media (min-width: 1280px) {
  .topbar { font-size: 1.2rem;}
  .placement-card__photo { width: 250px; height: 250px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
  :root { --header-h: 0px; }
  .carousel--single .carousel__arrow--prev { left: -54px; }
  .carousel--single .carousel__arrow--next { right: -54px; }
  .spec-track > li { flex: 0 0 calc(17.75% - var(--space-lg) / 2); }
  .spec-track > li {
    /* 7 cards visible, 6 gaps between them */
    flex: 0 0 calc((100% - 6 * var(--space-md, 1.5rem)) / 6);
  }  
  .leadx-heading {font-size: 2.5rem; text-transform: uppercase; margin-bottom: var(--space-md);}
  .modal {width: 60%}
  .leadx-card {
  max-width: 95%;      /* wider card so fields can sit side by side */
  margin-inline: auto;
  }
}

/* Mobile nav (below 768px) */
@media (max-width: 767.98px) {
  .hero__title {font-size: 2rem;}
  .hero__grid li {font-size: .9rem}
  .page-subnav {
    display: block !important;   /* override whatever is hiding it on mobile */
  }

  .page-subnav__list {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 1rem;
  }

  .page-subnav__list li {
    flex-shrink: 0;
  }

  .page-subnav__list a {
    white-space: nowrap;
  }  
  .accreditation-bar {
    display: none;
  }  
  .navbar__toggle { display: flex; }
  .navbar__nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    padding: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 400;
    overflow-y: auto;
  }
  .navbar__nav.is-open { transform: translateX(0); }
  .navbar__nav a { display: block; font-size: 1.1rem; }
  .navbar__nav-phone-item {
    display: block;
    margin-top: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
  }
  .navbar__nav-phone-item a { display: inline-flex; }
  .carousel__arrow,
  .hero__arrow { width: 34px; height: 34px; }
  .carousel--single .carousel__arrow--prev,
  .carousel__arrow--prev { left: 2px; }
  .carousel--single .carousel__arrow--next,
  .carousel__arrow--next { right: 2px; }
  .accreditation-bar__inner {
    border-radius: var(--radius-lg, 16px);
    padding: 1rem 1.25rem;
  }
  .eligibility__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg, 2rem);
  }
  .eligibility__col {
    padding-left: 0;
  }
  .eligibility__col:last-child {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: var(--space-lg, 2rem);
  }
  .eligibility__head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs, 0.5rem);
  }
}

/* Motion sensitivity */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
