:root {
  --navy: #002d62;
  --navy-deep: #002147;
  --navy-dark: #001a38;
  --navy-mid: #16408a;
  --blue: #1a56b0;
  --gold: #ffc107;
  --gold-hover: #e6b000;
  --gold-soft: #fff4c8;
  --light: #f4f8fd;
  --sky: #eaf2fb;
  --border: #c9dcf3;
  --text: #314056;
  --muted: #66788d;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 45, 98, 0.08);
  --radius: 14px;
  --container: 1180px;
  --font: "Poppins", sans-serif;
  --serif: "Playfair Display", serif;
  --script: "Great Vibes", cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  display: block;
}

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

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

.container {
  width: min(var(--container), calc(100% - clamp(24px, 6vw, 40px)));
  margin: 0 auto;
}

.hero-grid > *,
.about-grid > *,
.courses-grid > *,
.footer-grid > *,
.contact-grid > *,
.why-grid > *,
.stories-grid > *,
.detail-grid > * {
  min-width: 0;
}

body.menu-open {
  overflow: hidden;
}

.field input,
.field select,
.field textarea,
.newsletter input {
  font-size: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ========== TOP BAR ========== */
.topbar {
  background: var(--navy-deep);
  color: #fff;
  font-size: 15px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  gap: 16px;
  width: 100%;
  max-width: none;
  padding: 8px 20px;
  box-sizing: border-box;
}

.topbar-contacts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.topbar-contacts a,
.topbar-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #eef4ff;
  opacity: 0.95;
  font-size: 15px;
}

.topbar-contacts svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

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

.topbar-follow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 15px;
}

.socials a {
  width: 28px;
  height: 28px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  transition: 0.2s ease;
}

.socials a:hover {
  background: transparent;
  color: var(--gold);
}

.socials svg {
  width: 16px;
  height: 16px;
}

/* ========== NAV ========== */
.nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 #edf2f8;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

.btn svg,
.course-go svg,
.newsletter button svg,
.footer-contact svg {
  width: 16px;
  height: 16px;
}

.why-point span {
  color: #fff;
}

.why-point span svg {
  width: 20px;
  height: 20px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 18px;
  height: 18px;
}

.detail-card .meta {
  color: var(--navy);
  font-weight: 600;
  margin: 10px 0;
}

.detail-card .btn {
  margin-top: 8px;
}

.form-note {
  margin-top: 12px;
  font-size: 14px;
}

.form-hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-note.success {
  color: #0b7a45;
}

.form-note.error {
  color: #b42318;
}

.nav.scrolled {
  box-shadow: 0 8px 24px rgba(11, 47, 102, 0.08);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 140px;
  gap: 20px;
  width: calc(100% - 28px);
  max-width: none;
  margin-left: 10px;
  margin-right: 18px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.logo-img {
  display: block;
  height: 132px;
  width: auto;
  max-width: min(720px, 68vw);
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  image-rendering: auto;
}

.logo-mark {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.logo-text strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1.05;
}

.logo-text span {
  display: block;
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
}

.logo-text em {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  font-weight: 500;
  color: var(--navy-mid);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.logo-text em::before,
.logo-text em::after {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.footer .logo-mark path:not(.logo-star),
.footer .logo-mark circle,
.footer .logo-mark ellipse {
  fill: #fff;
  stroke: #fff;
}

.footer .logo-mark .logo-star {
  fill: var(--gold);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 48px;
  list-style: none;
}

.nav-links a {
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.3px;
  position: relative;
  padding: 10px 2px 12px;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-mid);
  transform: translateY(-2px);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.btn-gold {
  background: linear-gradient(90deg, #ffc107 0%, #ffb300 100%);
  color: var(--navy-deep);
  padding: 12px 22px;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(255, 193, 7, 0.28);
  animation: goldPulse 2.6s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  max-width: 100%;
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(255, 193, 7, 0.38);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  padding: 13px 24px;
  font-size: 14.5px;
}

.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 11px 22px;
  font-size: 14.5px;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 4px auto;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #eef6ff 0%, #f7fbff 42%, #ffffff 100%);
  overflow: hidden;
  padding: 42px 0 8px;
}

.hero-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.hero-blob-left {
  width: 320px;
  height: 480px;
  left: -120px;
  top: 20px;
  border-radius: 48% 52% 45% 55%;
  background: rgba(163, 196, 232, 0.35);
  animation: blobDrift 11s ease-in-out infinite;
}

.hero-blob-right {
  width: 380px;
  height: 520px;
  right: -140px;
  top: -40px;
  border-radius: 42% 58% 50% 50%;
  background: rgba(176, 206, 237, 0.32);
  animation: blobDrift 13s ease-in-out infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  min-height: 500px;
}

.pills {
  display: flex;
  gap: 0;
  margin-bottom: 18px;
}

.pill {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 8px;
}

.pill-blue {
  background: var(--navy);
  color: #fff;
}

.pill-gold {
  background: var(--gold);
  color: var(--navy-deep);
  margin-left: -8px;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.3px;
  max-width: 640px;
}

.script-note {
  position: absolute;
  right: -6px;
  top: 16%;
  z-index: 5;
  font-family: var(--script);
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  transform: rotate(-10deg);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.script-note em {
  font-style: inherit;
  position: relative;
  display: inline-block;
}

.script-note {
  animation: scriptIn 0.9s ease 0.75s both;
}

.script-note em::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -8%;
  bottom: 1px;
  height: 9px;
  background: var(--gold);
  border-radius: 50% 40% 60% 50%;
  z-index: -1;
  opacity: 0.95;
  transform: scaleX(0);
  transform-origin: left center;
  animation: underlineDraw 0.7s ease 1.2s forwards;
}

.hero h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  font-size: 22px;
  margin: 12px 0 10px;
}

.hero p {
  max-width: 500px;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 26px;
  opacity: 0.82;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-copy {
  padding-bottom: 12px;
  position: relative;
  z-index: 3;
}

.hero-copy .pills,
.hero-copy h1,
.hero-copy h2,
.hero-copy .hero-actions {
  opacity: 0;
  animation: heroRise 0.8s ease forwards;
}

.hero-copy p {
  opacity: 0;
  animation: heroRiseSoft 0.8s ease forwards;
}

.hero-copy .pills { animation-delay: 0.08s; }
.hero-copy h1 { animation-delay: 0.2s; }
.hero-copy h2 { animation-delay: 0.34s; }
.hero-copy p { animation-delay: 0.46s; }
.hero-copy .hero-actions { animation-delay: 0.58s; }

.hero-actions .btn-navy {
  position: relative;
  overflow: hidden;
}

.hero-actions .btn-navy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.32) 48%, transparent 72%);
  transform: translateX(-130%);
  animation: btnShine 3.4s ease-in-out 1.5s infinite;
  pointer-events: none;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.globe-deco {
  position: absolute;
  left: -10px;
  top: 70px;
  width: 150px;
  z-index: 0;
  transform-origin: center;
  animation: globeSpin 22s linear infinite;
}

.plane {
  position: absolute;
  left: 8%;
  top: 18px;
  width: 210px;
  z-index: 3;
  animation: planeFly 7.5s ease-in-out infinite;
}

.campus {
  position: absolute;
  right: 4%;
  top: 58px;
  width: 150px;
  z-index: 1;
  animation: campusFade 2s ease 0.4s both;
}

.hero-photo {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: min(420px, 100%);
  z-index: 2;
  animation: photoIn 1s ease 0.25s both, heroFloat 5s ease-in-out 1.3s infinite;
}

.hero-photo img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(to top, transparent 0%, #000 16%, #000 100%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 16%, #000 100%);
}

.hero-features {
  position: relative;
  z-index: 4;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 10px 0 22px;
  box-shadow: none;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: var(--navy);
  font-weight: 700;
  font-size: 14.5px;
  opacity: 0;
  animation: heroRise 0.7s ease forwards;
}

.feature:nth-child(1) { animation-delay: 0.85s; }
.feature:nth-child(2) { animation-delay: 1s; }
.feature:nth-child(3) { animation-delay: 1.15s; }

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover .feature-icon {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 16px rgba(0, 45, 98, 0.22);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.hero-wave {
  display: none;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroRiseSoft {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 0.82;
    transform: none;
  }
}

@keyframes photoIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes planeFly {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(36px, -14px) rotate(-7deg);
  }
}

@keyframes globeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes campusFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blobDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -16px) scale(1.06);
  }
}

@keyframes scriptIn {
  from {
    opacity: 0;
    transform: rotate(-18deg) translateY(14px);
  }
  to {
    opacity: 1;
    transform: rotate(-10deg);
  }
}

@keyframes underlineDraw {
  to {
    transform: scaleX(1);
  }
}

@keyframes btnShine {
  0%,
  70% {
    transform: translateX(-130%);
  }
  85%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes goldPulse {
  0%,
  100% {
    box-shadow: 0 8px 18px rgba(255, 193, 7, 0.28);
  }
  50% {
    box-shadow: 0 12px 28px rgba(255, 193, 7, 0.5);
  }
}

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  transition-delay: 0s, 0s, 0s, 0s;
}

.js-anim .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.js-anim .reveal-left:not(.is-in) {
  transform: translateX(-36px);
}

.js-anim .reveal-right:not(.is-in) {
  transform: translateX(36px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.chrome-in.topbar {
  animation: chromeDown 0.55s ease both;
}

.chrome-in.nav {
  animation: chromeDown 0.6s ease 0.08s both;
}

@keyframes chromeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.course-card:hover,
.college-card:hover,
.story-card:hover,
.detail-card:hover,
.contact-card:hover,
.process-item:hover,
.stat:hover {
  transform: translateY(-6px);
}

.reveal.is-in.course-card:hover,
.reveal.is-in.college-card:hover,
.reveal.is-in.story-card:hover,
.reveal.is-in.detail-card:hover,
.reveal.is-in.contact-card:hover,
.reveal.is-in.process-item:hover,
.reveal.is-in.stat:hover,
.reveal.is-in.why-point:hover {
  transform: translateY(-6px);
}

.why-point:hover span,
.process-item:hover b,
.stat:hover .stat-icon,
.contact-card:hover .stat-icon {
  transform: scale(1.08);
}

.cta-plane {
  animation: planeFly 4.5s ease-in-out infinite;
}

.courses-section {
  padding-top: 48px;
}

/* ========== SECTION HEADS ========== */
.section {
  padding: 78px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin-bottom: 6px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
}

.section h2 {
  color: var(--navy);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: 0.4px;
}

.section-sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--navy-mid);
  margin-top: 4px;
}

/* ========== COURSES ========== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.course-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 0;
  position: relative;
  min-height: 0;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: 0 8px 24px rgba(0, 45, 98, 0.04);
}

.course-card:hover {
  box-shadow: var(--shadow);
  border-color: #9fc0e8;
}

.course-media {
  height: 210px;
  overflow: hidden;
  background: #eef3f8;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.course-card:hover .course-media img {
  transform: none;
}

.course-body {
  padding: 16px 16px 44px;
}

.course-detail-card {
  padding: 0;
  overflow: hidden;
}

.course-detail-card:hover {
  box-shadow: var(--shadow);
  border-color: #9fc0e8;
}

.course-detail-card:hover .college-media img {
  transform: scale(1.12);
}

.course-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

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

.course-card h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.course-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 2px;
}

.course-go {
  position: absolute;
  bottom: 16px;
  right: 16px;
  top: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
}

.course-go svg {
  width: 12px;
  height: 12px;
}

/* ========== WHY ========== */
.why {
  background: var(--navy-deep);
  color: #fff;
  padding: 0;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 460px;
}

.why-photo {
  position: relative;
  min-height: 420px;
}

.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 460px;
}

.why-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--navy-deep));
}

.why-content {
  padding: 64px 48px 64px 24px;
}

.why-content h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
}

.why-content .section-sub {
  color: var(--gold);
  margin: 8px 0 28px;
  display: block;
}

.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 22px;
}

.why-point {
  display: flex;
  gap: 14px;
  transition: transform 0.28s ease;
}

.why-content .eyebrow {
  color: var(--gold);
}

.why-point span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e5bb0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.why-point h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.why-point p {
  color: #c9d7ee;
  font-size: 13.5px;
  line-height: 1.45;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-shape {
  background: #d9e8f8;
  border-radius: 40% 48% 42% 58%;
  overflow: hidden;
  padding: 14px;
}

.about-shape img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 36% 44% 38% 54%;
}

.about-copy .section-sub {
  margin: 0 0 14px;
}

.about-copy h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 6px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 22px;
}

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

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.28s ease;
}

.stat i,
.stat .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat svg {
  width: 18px;
  height: 18px;
}

.stat-icon,
.why-point span,
.process-item b,
.contact-card .stat-icon {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* ========== STORIES ========== */
.stories {
  background: var(--light);
}

.stories .section-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.story-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  border: 1px solid #e7eef7;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.story-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.story-top img,
.story-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.story-avatar {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.story-card blockquote {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 14px;
  font-style: italic;
}

.story-card h4 {
  color: var(--navy);
  font-size: 15px;
}

.story-card .meta {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-top: 8px;
  font-size: 14px;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy-mid));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  right: 18%;
  top: -30px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-plane {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cta-plane svg {
  width: 24px;
  height: 24px;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 36px 8px;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
}

.cta-inner p {
  font-family: var(--serif);
  font-style: italic;
  color: #d7e4f8;
  margin-top: 4px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: #d5e1f4;
  padding: 52px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.05fr 1.15fr;
  gap: 48px 72px;
  width: 100%;
  max-width: none;
  padding: 8px 28px 40px;
  box-sizing: border-box;
  justify-content: space-between;
}

.footer .logo-text strong,
.footer .logo-text span {
  color: #fff;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  max-width: 420px;
  color: #b7c7de;
}

.footer .logo-img {
  height: 92px;
  max-width: min(340px, 100%);
  mix-blend-mode: normal;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 16px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

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

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.newsletter {
  display: flex;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.newsletter input {
  border: 0;
  outline: 0;
  padding: 12px 16px;
  flex: 1;
  min-width: 0;
  color: var(--navy);
}

.newsletter button {
  width: 46px;
  background: var(--gold);
  border: 0;
  cursor: pointer;
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 28px 22px;
  font-size: 13px;
  color: #c5d4ea;
  opacity: 1;
  transform: none;
}

.footer-credit {
  color: #c5d4ea;
}

.footer-credit:hover {
  color: #fff;
}

.footer-legal a {
  color: #9eb0cb;
}

.footer-legal a:hover {
  color: #fff;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  color: var(--navy);
  font-size: 20px;
  margin: 28px 0 10px;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-copy ul {
  margin: 0 0 8px 18px;
}

.page-hero {
  background: linear-gradient(180deg, #f4f8fd, #fff);
  padding: 48px 0 36px;
  border-bottom: 1px solid #e7eef7;
}

.page-hero h1 {
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
}

.page-hero p {
  color: var(--muted);
  margin-top: 8px;
  max-width: 620px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.detail-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.detail-card h3 {
  color: var(--navy);
  margin: 10px 0 8px;
}

.college-country {
  display: inline-block;
  margin: 8px 0 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 700;
}

.college-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.college-card:hover {
  box-shadow: var(--shadow);
  border-color: #9fc0e8;
}

.college-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--sky);
}

.college-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.7s ease;
}

.college-card:hover .college-media img {
  transform: scale(1.12);
}

.college-media .college-country {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  box-shadow: 0 6px 16px rgba(0, 33, 71, 0.18);
}

.college-body {
  padding: 20px 22px 24px;
}

.many-more {
  margin-top: 36px;
  padding: 36px 28px;
  text-align: center;
  background: #f4f8fd;
  border: 1.5px solid var(--border);
  border-radius: 16px;
}

.many-more h2 {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-top: 8px;
}

.many-more p {
  max-width: 640px;
  margin: 10px auto 18px;
  color: var(--muted);
}

.college-credit {
  margin-top: 22px;
  max-width: 820px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

@keyframes collegeRise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .college-card,
  .course-card,
  .course-detail-card,
  .chrome-in.topbar,
  .chrome-in.nav,
  .cta-plane {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .college-media img,
  .course-media img,
  .college-card:hover .college-media img,
  .course-card:hover .course-media img,
  .course-detail-card:hover .college-media img {
    transform: none;
    transition: none;
  }
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-item {
  background: var(--light);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.process-item b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.process-item h3 {
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 6px;
}

.process-item p,
.contact-card p {
  color: var(--muted);
  font-size: 14px;
}

.contact-card a {
  color: inherit;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
}

.contact-card {
  display: flex;
  gap: 12px;
  background: var(--light);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-card h3 {
  color: var(--navy);
  font-size: 15px;
}

.form {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form h2 {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  color: var(--navy);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 4px rgba(0, 45, 98, 0.1);
  transform: translateY(-1px);
}

.map-wrap {
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  min-height: 220px;
}

.map-wrap iframe {
  width: 100%;
  height: 240px;
  border: 0;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: translateY(80px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 80;
}

.toast.show {
  transform: none;
  opacity: 1;
}

/* ========== LARGE TABLET / SMALL LAPTOP ========== */
@media (max-width: 1180px) {
  .nav-links {
    gap: 22px;
  }

  .why-content {
    padding: 48px 32px 48px 16px;
  }
}

@media (max-width: 1100px) {
  .courses-grid,
  .process,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-grid .stats {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

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

  .hero h1 {
    font-size: clamp(28px, 4vw, 44px);
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-grid {
    min-height: 460px;
  }

  .hero-photo img {
    height: 460px;
  }
}

/* ========== TABLET ========== */
@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    gap: 12px;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 13px;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100dvh - 72px);
    overflow: auto;
  }

  .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 18px;
    transform: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid {
    min-height: 0;
    align-items: start;
    gap: 8px;
  }

  .hero-copy {
    padding-bottom: 8px;
  }

  .hero-visual {
    min-height: 0;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .hero-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .plane {
    width: 120px;
    top: 12px;
  }

  .campus,
  .globe-deco,
  .hero-blob {
    display: none;
  }

  .script-note {
    right: 0;
    top: 10px;
    font-size: 24px;
    white-space: nowrap;
  }

  .features {
    grid-template-columns: 1fr;
    padding: 8px 0 16px;
  }

  .feature {
    justify-content: flex-start;
    padding: 10px 8px;
  }

  .section {
    padding: 56px 0;
  }

  .why-photo,
  .why-photo img {
    min-height: 220px;
    max-height: 280px;
  }

  .why-photo::after {
    background: linear-gradient(180deg, transparent 30%, var(--navy-deep));
  }

  .why-content {
    padding: 28px clamp(16px, 4vw, 32px) 48px;
  }

  .cta-inner,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-address {
    display: none;
  }

  .form {
    padding: 22px 18px;
  }
}

/* ========== LARGE PHONE / SMALL TABLET ========== */
@media (max-width: 700px) {
  .courses-grid,
  .why-points,
  .stories-grid,
  .detail-grid,
  .about-grid,
  .about-grid .stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  .course-media {
    height: auto;
  }

  .course-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

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

  .topbar-inner {
    min-height: 36px;
    padding: 6px 0;
  }

  .topbar-contacts {
    gap: 12px;
  }

  .about-shape img {
    height: 260px;
  }

  .page-hero {
    padding: 32px 0 24px;
  }

  .hero-actions .btn,
  .section-head .btn,
  .about-copy .btn,
  .detail-card .btn,
  .form .btn,
  .cta-inner .btn {
    width: 100%;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* ========== PHONE ========== */
@media (max-width: 560px) {
  .footer-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .topbar-email {
    display: none;
  }

  .topbar-follow span {
    display: none;
  }

  .topbar-inner {
    justify-content: space-between;
  }

  .logo-img {
    height: 92px;
    max-width: min(340px, 70vw);
  }

  .logo-text em {
    display: none;
  }

  .logo-text strong {
    font-size: 13px;
  }

  .logo-text span {
    font-size: 9px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero p,
  .about-copy p,
  .course-card p {
    font-size: 14px;
  }

  .hero-photo img {
    height: auto;
    object-fit: contain;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-wave {
    height: 36px;
  }

  .section {
    padding: 44px 0;
  }

  .section h2,
  .cta-inner h2,
  .page-hero h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .story-card,
  .course-card,
  .detail-card {
    padding: 18px 16px;
  }

  .course-card,
  .college-card,
  .course-detail-card {
    padding: 0;
  }

  .college-media {
    height: 176px;
  }

  .college-body {
    padding: 16px;
  }

  .cta-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-brand p {
    max-width: none;
  }

  .toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .map-wrap iframe {
    height: 200px;
  }
}

/* ========== SMALL PHONE ========== */
@media (max-width: 400px) {
  .pills {
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 24px;
  }

  .nav-inner {
    min-height: 64px;
  }

  .feature {
    font-size: 13px;
  }

  .why-point {
    flex-direction: column;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .hero-visual {
    max-width: 280px;
  }

  .hero-photo img {
    height: auto;
    object-fit: contain;
  }

  .nav-links {
    max-height: calc(100dvh - 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a,
  .nav-links a::after,
  .btn {
    transition: none;
  }

  .nav-links a:hover,
  .nav-links a.active,
  .btn:hover {
    transform: none;
  }

  .hero-copy .pills,
  .hero-copy h1,
  .hero-copy h2,
  .hero-copy p,
  .hero-copy .hero-actions,
  .feature,
  .hero-photo,
  .script-note,
  .campus,
  .plane,
  .globe-deco,
  .hero-blob-left,
  .hero-blob-right,
  .btn-gold,
  .hero-actions .btn-navy::after,
  .script-note em::after {
    animation: none !important;
  }

  .hero-copy .pills,
  .hero-copy h1,
  .hero-copy h2,
  .hero-copy .hero-actions,
  .feature,
  .hero-photo,
  .campus,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-copy p {
    opacity: 0.82;
  }

  .script-note {
    opacity: 1;
    transform: rotate(-10deg);
  }

  .script-note em::after {
    transform: scaleX(1);
  }

  .feature:hover .feature-icon {
    transform: none;
    box-shadow: none;
  }

  .chrome-in.topbar,
  .chrome-in.nav,
  .cta-plane {
    animation: none !important;
  }

  .course-card:hover,
  .college-card:hover,
  .story-card:hover,
  .detail-card:hover,
  .contact-card:hover,
  .process-item:hover,
  .stat:hover,
  .reveal.is-in.course-card:hover,
  .reveal.is-in.college-card:hover,
  .reveal.is-in.story-card:hover,
  .reveal.is-in.detail-card:hover,
  .reveal.is-in.contact-card:hover,
  .reveal.is-in.process-item:hover,
  .reveal.is-in.stat:hover,
  .reveal.is-in.why-point:hover,
  .why-point:hover span,
  .process-item:hover b,
  .stat:hover .stat-icon,
  .contact-card:hover .stat-icon,
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    transform: none;
    box-shadow: none;
  }
}
