/* ============================================================
   SAI VIDYA — Landing Page Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --navy: #0b2c5e;
  --navy-deep: #081f44;
  --blue: #1565c0;
  --blue-light: #4f8fdb;
  --accent: #f5a623;
  --accent-dark: #e08e0b;
  --ink: #16233b;
  --muted: #5c6b82;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-soft2: #eef3fa;
  --white: #ffffff;
  --wa: #25d366;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(11, 44, 94, .07);
  --shadow: 0 14px 40px rgba(11, 44, 94, .12);
  --shadow-lg: 0 24px 60px rgba(11, 44, 94, .18);

  --maxw: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --ff-head: 'Poppins', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-head);
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding: 92px 0;
}

.section--soft {
  background: var(--bg-soft);
}

/* ---------- Section Headings ---------- */
.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-soft2);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.section__title {
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.7rem);
  font-weight: 700;
}

.section__title span {
  color: var(--blue);
}

.section__title--light,
.section__title--light span {
  color: #fff;
}

.section__title--light span {
  color: var(--accent);
}

.section__sub {
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(.97);
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 44, 94, .28);
}

.btn--primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(21, 101, 192, .35);
}

.btn--accent {
  background: var(--accent);
  color: #1d1402;
  box-shadow: 0 8px 22px rgba(245, 166, 35, .4);
}

.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 166, 35, .5);
}

.btn--ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
  padding: 15px;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s, background .3s, height .3s;
}

.header.scrolled {
  box-shadow: 0 6px 24px rgba(11, 44, 94, .1);
  background: rgba(255, 255, 255, .97);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.brand__badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand:hover .brand__badge {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand__name {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.34rem;
  color: var(--navy);
  letter-spacing: -.02em;
}

.brand__name span {
  color: var(--accent);
}

.brand__tag {
  font-family: var(--ff-body);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  padding: 8px 13px;
  border-radius: 8px;
  transition: color .2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

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

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

.nav__link.active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  margin-left: 6px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  width: 26px;
  height: 2.6px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7.6px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7.6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  margin-top: var(--header-h);
}

.hero__slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* matches the banner artwork ratio (2560x1433) so it fills edge-to-edge */
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1);
  transition: opacity .8s var(--ease), visibility .8s;
  background-image: var(--slide-img, none), var(--slide-grad);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, .26), transparent 44%),
    radial-gradient(circle at 6% 96%, rgba(255, 255, 255, .16), transparent 40%),
    linear-gradient(115deg, transparent 55%, rgba(255, 255, 255, .07) 80%);
  pointer-events: none;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 65%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 65%);
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* Full pre-designed banner slides (artwork already contains text & branding) */
.hero__slide--banner {
  background: #eef1f6;
}

.hero__slide--banner::before,
.hero__slide--banner::after {
  content: none;
}

.hero__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__content {
  position: relative;
  max-width: 720px;
  color: #fff;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: clamp(2.1rem, 1.2rem + 4vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.hero__title span {
  color: var(--accent);
}

.hero__text {
  font-size: clamp(1rem, .9rem + .5vw, 1.22rem);
  color: rgba(255, 255, 255, .92);
  margin: 18px 0 30px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* hero content entrance */
.hero__slide.is-active .hero__badge,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__text,
.hero__slide.is-active .hero__actions {
  animation: heroUp .8s var(--ease) both;
}

.hero__slide.is-active .hero__title {
  animation-delay: .1s;
}

.hero__slide.is-active .hero__text {
  animation-delay: .22s;
}

.hero__slide.is-active .hero__actions {
  animation-delay: .34s;
}

@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border: 2px solid rgba(255, 255, 255, .85);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(11, 44, 94, .34);
  transition: background .25s, transform .25s, box-shadow .25s;
  z-index: 3;
}

.hero__arrow:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1d1402;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 14px 32px rgba(245, 166, 35, .5);
}

.hero__arrow--prev {
  left: 24px;
}

.hero__arrow--next {
  right: 24px;
}

.hero__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero__dots button {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  transition: width .3s, background .3s;
}

.hero__dots button.active {
  width: 30px;
  background: var(--accent);
}

/* ---------- Recruiters Logo Wall ---------- */
.recruiters {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 50% -20%, rgba(21, 101, 192, .07), transparent 55%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.recruiters__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.recruiters__eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-soft2);
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.recruiters__title {
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.15rem);
  font-weight: 700;
}

.recruiters__title span {
  color: var(--blue);
}

.recruiters__sub {
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 1.02rem;
}

.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__row {
  overflow: hidden;
  padding: 12px 0;
}

.marquee__track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 55s linear infinite;
  will-change: transform;
}

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

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.logo-card {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 190px;
  height: 110px;
  padding: 0 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(11, 44, 94, .06);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}

.logo-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: transform .35s var(--ease);
}

.logo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 44, 94, .14);
  border-color: var(--blue-light);
}

.logo-card:hover img {
  transform: scale(1.1);
}

.logo-card__text {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.about__lead>p {
  font-size: 1.08rem;
  color: var(--muted);
}

.about__lead strong {
  color: var(--ink);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat__num {
  display: block;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--blue);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-size: .9rem;
  color: var(--muted);
  font-weight: 500;
}

/* About — feature photo */
.about__media {
  position: relative;
  margin: 26px 0 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  isolation: isolate;
}

.about__media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

.about__media:hover img {
  transform: scale(1.05);
}

.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 31, 68, .6), transparent 55%);
  pointer-events: none;
}

.about__media-badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  padding: 9px 16px 9px 11px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.about__media-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
}

.about__media-icon svg {
  width: 22px;
  height: 22px;
}

.about__media-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.about__media-text strong {
  font-family: var(--ff-head);
  font-size: 1rem;
  color: var(--ink);
}

.about__media-text small {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
}

.about__cards {
  display: grid;
  gap: 18px;
}

.vmcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
  overflow: hidden;
}

.vmcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--blue), var(--accent));
}

.vmcard:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.vmcard__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--bg-soft2);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.vmcard__icon svg {
  width: 26px;
  height: 26px;
}

.vmcard h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.vmcard p {
  color: var(--muted);
  font-size: .96rem;
  margin: 0;
}

/* ---------- Programs ---------- */
.programs {
  background: var(--bg-soft);
}

.college {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
  overflow: hidden;
}

.college__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 26px;
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: #fff;
}

.college__name {
  color: #fff;
  font-size: 1.25rem;
}

.college__affil {
  font-size: .82rem;
  background: rgba(255, 255, 255, .16);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 500;
}

.accordion__item {
  border-top: 1px solid var(--line);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 20px 26px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  transition: background .2s, color .2s;
}

.accordion__trigger:hover {
  background: var(--bg-soft);
  color: var(--blue);
}

.accordion__trigger[aria-expanded="true"] {
  color: var(--blue);
}

.accordion__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}

.accordion__icon::before {
  width: 14px;
  height: 2.4px;
}

.accordion__icon::after {
  width: 2.4px;
  height: 14px;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.course-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  padding: 4px 26px 26px;
}

.course {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink);
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}

.course::before {
  content: "→";
  font-weight: 700;
  color: var(--accent);
  transition: transform .2s;
}

.course:hover {
  background: #fff;
  border-color: var(--blue-light);
  color: var(--blue);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.course:hover::before {
  transform: translateX(3px);
}

/* ---------- Why Choose Us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  inset: auto auto -40px -40px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(21, 101, 192, .08), transparent 70%);
  transition: transform .4s var(--ease);
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--blue-light);
  background: var(--bg-soft);
}

.feature:hover::after {
  transform: scale(2);
}

.feature__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: transform .3s var(--ease);
}

.feature:hover .feature__icon {
  transform: rotate(-6deg) scale(1.06);
}

.feature__icon svg {
  width: 28px;
  height: 28px;
}

.feature h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: .94rem;
  margin: 0;
  position: relative;
}

/* ---------- Testimonials ---------- */
.testimonials {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(21, 101, 192, .07), transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(245, 166, 35, .08), transparent 42%),
    var(--bg-soft);
  overflow: hidden;
}

.tslider {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 6px;
}

.tslider__viewport {
  overflow: hidden;
  padding: 12px 4px;
}

.tslider__track {
  display: flex;
  gap: 26px;
  align-items: stretch;
  transition: transform .55s var(--ease);
}

.tcard {
  flex: 0 0 calc((100% - 52px) / 3);
  /* 3 cards per view (2 gaps × 26px) */
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 30px 26px;
  box-shadow: 0 14px 40px rgba(11, 44, 94, .07);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}

.tcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--accent));
}

.tcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(11, 44, 94, .14);
  border-color: var(--blue-light);
}

.tcard__quote {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--ff-head);
  font-size: 5.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .2;
  pointer-events: none;
}

.tcard__stars {
  display: flex;
  gap: 5px;
  margin-bottom: 16px;
}

.tcard__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  filter: drop-shadow(0 2px 4px rgba(245, 166, 35, .35));
}

.tcard blockquote {
  flex: 1 0 auto;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink);
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.tcard__person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.tcard__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.05rem;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--bg-soft2);
}

.tcard__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tcard__meta strong {
  font-family: var(--ff-head);
  font-size: 1.02rem;
  color: var(--ink);
}

.tcard__meta small {
  color: var(--blue);
  font-weight: 600;
  font-size: .86rem;
}

.tslider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: background .25s, color .25s, transform .25s;
  z-index: 4;
}

.tslider__arrow:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
  border-color: var(--navy);
}

.tslider__arrow--prev {
  left: -22px;
}

.tslider__arrow--next {
  right: -22px;
}

.tslider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.tslider__dots button {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--bg-soft2);
  border: 1px solid var(--line);
  transition: width .3s, background .3s;
}

.tslider__dots button.active {
  width: 30px;
  background: var(--blue);
  border-color: var(--blue);
}

/* ---------- Enquiry ---------- */
.enquiry {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}

.enquiry::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 166, 35, .18), transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(79, 143, 219, .25), transparent 42%);
}

.enquiry__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.enquiry__intro {
  color: #fff;
}

.enquiry__intro>p {
  color: rgba(255, 255, 255, .85);
  font-size: 1.05rem;
  margin: 8px 0 24px;
}

.enquiry__points {
  display: grid;
  gap: 12px;
}

.enquiry__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: #fff;
}

.enquiry__points svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #0c1f3f;
  background: var(--accent);
  border-radius: 50%;
  padding: 4px;
}

.enquiry__form {
  background: #fff;
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 7px;
  color: var(--ink);
}

.field label span {
  color: #e23b3b;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: .98rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(21, 101, 192, .12);
}

.field.invalid input,
.field.invalid select {
  border-color: #e23b3b;
  background: #fff6f6;
}

.field__error {
  display: block;
  color: #e23b3b;
  font-size: .82rem;
  margin-top: 5px;
  min-height: 1em;
}

.form__success {
  margin-top: 16px;
  background: #e8f8ee;
  border: 1px solid #b7e7c8;
  color: #1c7a44;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  text-align: center;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: stretch;
}

.contact__cards {
  display: grid;
  gap: 16px;
  align-content: start;
}

.cinfo {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.cinfo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}

.cinfo__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--bg-soft2);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.cinfo__icon svg {
  width: 24px;
  height: 24px;
}

.cinfo span {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.cinfo strong {
  font-family: var(--ff-head);
  font-size: 1.02rem;
  color: var(--ink);
}

.cinfo--wa .cinfo__icon {
  background: #e7f9ee;
  color: var(--wa);
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
  border: 1px solid var(--line);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .78);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  align-items: start;
  gap: 36px;
  padding: 64px 22px 44px;
}

.footer__brand .brand__name {
  color: #fff;
}

.brand--footer .brand__tag {
  color: rgba(255, 255, 255, .5);
}

.footer__brand>p {
  margin: 16px 0 18px;
  font-size: .94rem;
  max-width: 300px;
}

.footer__col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a {
  font-size: .94rem;
  transition: color .2s, padding-left .2s;
}

.footer__col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer__contact li {
  font-size: .94rem;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: .88rem;
}

.footer__credit a {
  color: var(--accent);
  font-weight: 600;
}

.footer__credit a:hover {
  text-decoration: underline;
}

/* ---------- WhatsApp Float + Back to top ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .5);
  z-index: 90;
  animation: waPulse 2.4s infinite;
}

.whatsapp-float--2 {
  right: auto;
  left: 22px;
  bottom: 22px;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 90px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .25s;
  z-index: 89;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--blue);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 31, 68, .6);
  backdrop-filter: blur(3px);
  animation: fade .3s;
}

.modal__box {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 34px;
  box-shadow: var(--shadow-lg);
  animation: pop .35s var(--ease);
}

.modal__box h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--navy);
}

.modal__box p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: .96rem;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
}

.modal__close:hover {
  color: var(--ink);
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.97);
  }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(.985);
  transition: opacity .75s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Directional variants for richer, professional motion */
.reveal--left {
  transform: translateX(-46px);
}

.reveal--right {
  transform: translateX(46px);
}

.reveal--zoom {
  transform: scale(.9);
}

.reveal--left.visible,
.reveal--right.visible,
.reveal--zoom.visible {
  transform: none;
}

/* ---------- Welcome Intro ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 36%, #ffffff 0%, #eef3fa 58%, #dfe9f6 100%);
  transition: opacity .6s var(--ease), visibility .6s;
  /* Failsafe: auto-hide after 6s even if JS is unavailable */
  animation: introFailSafe 0s linear 6s forwards;
}

@keyframes introFailSafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.intro.intro--hide {
  opacity: 0;
  visibility: hidden;
}

.intro__inner {
  text-align: center;
  padding: 20px;
}

.intro__badge {
  display: inline-grid;
  place-items: center;
  width: 118px;
  height: 118px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 22px 54px rgba(11, 44, 94, .16);
  margin-bottom: 22px;
  animation: introPop .85s var(--ease) both;
}

.intro__badge img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.intro__welcome {
  margin: 0;
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .76rem;
  color: var(--muted);
  animation: introUp .7s var(--ease) .14s both;
}

.intro__brand {
  margin: 8px 0 4px;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.1rem);
  color: var(--navy);
  letter-spacing: -.02em;
  animation: introUp .7s var(--ease) .22s both;
}

.intro__brand span {
  color: var(--accent);
}

.intro__tag {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  animation: introUp .7s var(--ease) .3s both;
}

.intro__bar {
  display: block;
  width: 184px;
  height: 4px;
  margin: 28px auto 0;
  background: var(--bg-soft2);
  border-radius: 999px;
  overflow: hidden;
  animation: introUp .7s var(--ease) .36s both;
}

.intro__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--accent));
  transform-origin: left;
  animation: introBar 1.6s var(--ease) .42s both;
}

@keyframes introPop {
  from {
    opacity: 0;
    transform: scale(.55) translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes introUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes introBar {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* ---------- Testimonial entrance ---------- */
.tcard.is-shown .tcard__stars,
.tcard.is-shown blockquote,
.tcard.is-shown .tcard__person {
  animation: tUp .6s var(--ease) both;
}

.tcard.is-shown blockquote {
  animation-delay: .08s;
}

.tcard.is-shown .tcard__person {
  animation-delay: .16s;
}

@keyframes tUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {

  .about__grid,
  .enquiry__inner,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tcard {
    flex-basis: calc((100% - 26px) / 2);
  }

  /* 2 testimonials per view */
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 14px 22px 26px;
    box-shadow: 0 18px 30px rgba(11, 44, 94, .14);
    border-top: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .4s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav__link {
    display: block;
    padding: 14px 10px;
    border-radius: 10px;
    font-size: 1.02rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover,
  .nav__link.active {
    background: var(--bg-soft);
  }

  .nav__cta {
    margin: 14px 0 0;
    text-align: center;
  }

  .nav__toggle {
    display: flex;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }

  .section__head {
    margin-bottom: 38px;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

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

  .about__media img {
    height: 220px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 22px 36px;
  }

  .footer__bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .tcard {
    flex-basis: 100%;
    padding: 34px 24px 28px;
  }

  /* 1 testimonial per view */
  .tcard__quote {
    font-size: 4.6rem;
    top: 16px;
    right: 24px;
  }

  .tcard blockquote {
    font-size: 1.06rem;
  }

  .tcard__person {
    gap: 13px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .tcard__avatar {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .tslider__arrow {
    width: 42px;
    height: 42px;
  }

  .tslider__arrow--prev {
    left: 2px;
  }

  .tslider__arrow--next {
    right: 2px;
  }

  /* Hide carousel arrows on phones — swipe + dots handle navigation */
  .hero__arrow {
    display: none;
  }

  .enquiry__form {
    padding: 24px;
  }

  .college__head {
    padding: 18px 20px;
  }

  .accordion__trigger {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .course-list {
    grid-template-columns: 1fr;
    padding: 4px 20px 22px;
  }

  .brand__badge {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .brand__logo {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 1.16rem;
  }

  .brand__tag {
    font-size: .6rem;
    letter-spacing: .12em;
  }

  .logo-card {
    width: 158px;
    height: 96px;
    padding: 0 22px;
  }

  .logo-card img {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 400px) {
  .about__stats {
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    flex: 1;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}