:root {
  --bg: #f6f8fc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --surface-alt: #f8fbff;
  --text: #0f172a;
  --muted: #5f6f85;
  --blue: #2563eb;
  --blue-deep: #163a78;
  --primary: #1d4ed8;
  --accent: #60a5fa;
  --gold: #f59e0b;
  --teal: #14b8a6;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.04);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(37, 99, 235, 0.16), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(14, 165, 233, 0.18), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.08), transparent 20%),
    linear-gradient(180deg, #fbfdff 0%, #f8fbff 42%, #f3f7fb 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 96%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
  z-index: -1;
}
.ambient--one { width: 360px; height: 360px; top: -140px; right: -90px; background: rgba(37, 99, 235, 0.14); }
.ambient--two { width: 300px; height: 300px; left: -100px; top: 24vh; background: rgba(245, 185, 66, 0.2); }

.page-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 80;
  display: grid;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.72));
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.site-header.is-hidden { transform: translateY(-140%); opacity: 0; pointer-events: none; }
.site-header.is-hovered,
.site-header.is-menu-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

.top-header,
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-header {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(20, 35, 61, 0.08);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.top-link:hover {
  color: var(--blue);
  border-color: rgba(37, 99, 235, 0.58);
  background: rgba(239, 246, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.top-link:focus-visible {
  outline: none;
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.28);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
.brand__text { display: grid; gap: 2px; }
.brand__name { font-family: "Sora", sans-serif; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.02em; }
.brand__tag { color: var(--muted); font-size: 0.7rem; line-height: 1.3; }

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.site-nav a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  transform: translateY(-2px);
}

.site-nav a[href="#counselling"] {
  color: #ffffff;
  border-color: rgba(29, 78, 216, 0.35);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #3b82f6 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.site-nav a[href="#counselling"]:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 52%, #2563eb 100%);
  border-color: rgba(30, 64, 175, 0.45);
}

/* Keep nav links clean without decorative underlines */
.site-nav a::after { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  justify-self: end;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(20, 35, 59, 0.12);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  margin: 0;
  border-radius: 999px;
  background: #0f172a;
}

.nav-toggle:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 72px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98)); padding: 10px; gap: 8px; flex-direction: column; border-radius: 12px; box-shadow: var(--shadow-soft); width: min(94%, 380px); }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; justify-content: center; }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #60a5fa 100%);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.26);
}
.button--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(15, 23, 42, 0.08);
}
.button--secondary:hover { background: #f8fbff; }
.button--ghost {
  color: var(--blue-deep);
  background: transparent;
  border-color: rgba(37, 99, 235, 0.14);
}
.button--ghost:hover {
  background: rgba(37, 99, 235, 0.08);
}

.header__cta {
  color: #ffffff;
  border-color: rgba(29, 78, 216, 0.35);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #60a5fa 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.32);
}

.header__cta:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 55%, #3b82f6 100%);
  border-color: rgba(30, 64, 175, 0.5);
}

.section {
  padding: 84px 0 48px;
  scroll-margin-top: 140px;
}
.section--soft {
  padding: 64px 22px;
  margin: 24px 0;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(243, 247, 255, 0.72));
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.hero {
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: 28px;
  align-items: center;
  padding: 72px 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06));
  color: var(--blue-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; font-family: "Sora", sans-serif; line-height: 1.08; }
h1 { max-width: 11ch; font-size: clamp(2.75rem, 4.8vw, 4.4rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(1.9rem, 2.9vw, 2.7rem); letter-spacing: -0.035em; }
h3 { font-size: 1.12rem; }

.hero__lead,
.section-head p,
.info-card p,
.service-card p,
.destination-card__content p,
.update-card p,
.footer p,
.contact-card__links a { color: var(--muted); line-height: 1.7; }
.hero__lead { max-width: 58ch; margin: 16px 0 0; font-size: 1.04rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .button {
  min-height: 50px;
  padding: 0 22px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}
.hero__actions .button::after {
  content: "↗";
  margin-left: 9px;
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.9;
}
.hero__actions .button--secondary {
  background: #ffffff;
  border-color: rgba(29, 78, 216, 0.2);
}
.hero__actions .button--secondary:hover { background: #eaf1ff; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(20, 35, 59, 0.12);
  box-shadow: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.hero__pills span::before {
  content: "•";
  color: var(--blue);
  font-size: 0.95rem;
  line-height: 1;
}

.hero__visual { display: grid; gap: 16px; }
.hero__photo-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 255, 0.95));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero__photo-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease;
  opacity: 1;
}
.hero__photo-card > img.hero-image-visible {
  opacity: 1;
}
.hero__photo-card > img:not(.hero-image-visible) {
  opacity: 0;
}
.hero__photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.05), rgba(7, 16, 31, 0.28));
}
.hero__overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  z-index: 1;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(20, 35, 59, 0.1);
}
.hero__badge img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.hero__badge strong { display: block; margin-bottom: 3px; color: var(--text); }
.hero__badge span { color: var(--muted); font-size: 0.88rem; }

.hero__info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mini-stat {
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 255, 0.94));
  box-shadow: var(--shadow);
}
.mini-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
}
.mini-stat span { color: var(--muted); font-size: 0.92rem; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 8px;
}
.stats-strip div {
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 255, 0.94));
  box-shadow: var(--shadow);
}
.stats-strip strong { display: block; margin-bottom: 6px; color: var(--blue-deep); font-size: 1.1rem; }
.stats-strip span { color: var(--muted); font-size: 0.92rem; }

.section-head { display: grid; gap: 10px; margin-bottom: 24px; }

.card-grid { display: grid; gap: 20px; }
.card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.info-card,
.service-card,
.update-card,
.destination-card,
.story-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e4eaf3;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.info-card:hover,
.service-card:hover,
.update-card:hover,
.destination-card:hover,
.story-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.11);
  border-color: #c9dbf8;
}

.info-card,
.service-card {
  padding: 24px;
  min-height: 250px;
}
.info-card::before,
.service-card::before,
.update-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 0;
  background: linear-gradient(90deg, #1d4ed8, #22c55e);
  pointer-events: none;
}
.info-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: #1e40af;
  background: #edf3ff;
  border: 1px solid #dbe7ff;
  font-weight: 800;
}
.info-card h3,
.service-card h3,
.update-card h3,
.destination-card h3 { margin-bottom: 12px; color: var(--text); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.process-step {
  padding: 24px;
  min-height: 250px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e4eaf3;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.process-step__number {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf3ff;
  border: 1px solid #dbe7ff;
  color: var(--blue-deep);
  font-weight: 800;
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.11);
  border-color: #c9dbf8;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { margin: 0; color: var(--muted); line-height: 1.7; }

.destination-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.destination-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e4eaf3;
  background: #ffffff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.destination-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.35s ease;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.destination-card:hover img {
  transform: scale(1.02);
}
.destination-card__content {
  padding: 18px;
  display: grid;
  gap: 10px;
}
.destination-card__tag {
  display: inline-flex;
  align-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf3ff;
  border: 1px solid #dbe7ff;
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: none;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
  color: #1e40af;
  background: #edf3ff;
  border: 1px solid #dbe7ff;
  font-weight: 800;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}
.story-card {
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: calc(var(--radius-lg) + 4px);
  background: rgba(255, 255, 255, 0.92);
}
.story-card--featured {
  grid-row: span 2;
  min-height: 580px;
}
.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.story-card:hover img {
  transform: scale(1.04);
  opacity: 0.94;
}
.story-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.12);
}
.story-card figcaption strong { display: block; margin-bottom: 6px; color: var(--text); }
.story-card figcaption span { color: var(--muted); font-size: 0.92rem; }

/* Student success minimal design (matches screenshot) */
.ss-eyebrow {
  padding: 10px 18px;
  display: inline-block;
  border-radius: 999px;
  background: rgba(37,99,235,0.06);
  color: var(--blue-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.ss-heading { font-size: clamp(2rem, 3.6vw, 3rem); margin: 8px 0 22px; }
.student-success__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; align-items: start; }
.ss-card { display:flex; flex-direction:column; gap:12px; align-items:center; }
.ss-card {
  border: 1px solid #e4eaf3;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ss-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border-color: #c9dbf8;
}
.ss-card img { width:100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 20px rgba(15,23,42,0.08); }
.ss-card__cta { width:100%; display:flex; justify-content:center; }
.ss-card .button { padding: 10px 16px; border-radius: 999px; }
.student-success__more { display:flex; justify-content:center; margin-top: 24px; }
.student-success__more .button--primary { padding: 12px 26px; border-radius: 999px; box-shadow: 0 30px 60px rgba(37,99,235,0.12); }

/* Modal grid (clean, equal cards) */
.student-modal-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 12px; }
.testimonial-card {
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
  border: 1px solid #e4eaf3;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
}
.testimonial-card img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:10px; box-shadow:0 10px 20px rgba(15,23,42,0.08); }
.testimonial-card__meta { width:100%; display:flex; justify-content:center; }

@media (max-width: 1100px) {
  .student-success__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .student-modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .student-success__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student-modal-grid { grid-template-columns: 1fr; }
}

.updates-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.update-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid #e4eaf3;
  background: #ffffff;
}
.update-card--featured {
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
}
.update-card__meta {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.update-card a { display: inline-flex; margin-top: 14px; font-weight: 700; color: var(--blue); }

.contact-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 32px;
  margin-top: 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #18356b 48%, #2759cb 100%);
  color: #ffffff;
  border-color: transparent;
}
.contact-card .eyebrow,
.contact-card h2,
.contact-card .contact-card__links a {
  color: inherit;
}
.contact-card h2 {
  max-width: 14ch;
  line-height: 1.02;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
}
.contact-card .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
}
.contact-card__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  justify-items: stretch;
}
.contact-card__links a {
  min-height: 50px;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  line-height: 1.32;
  white-space: normal;
  width: 100%;
  justify-content: flex-start;
}
.contact-link__content {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.contact-link__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}
.contact-link__address {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}
.contact-link__cta {
  margin-left: auto;
  align-self: center;
  flex: 0 0 auto;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.98);
}
.contact-card__links a:first-child {
  align-items: center;
  grid-column: 1 / -1;
}
.contact-card__links a i {
  flex: 0 0 auto;
  margin-top: 2px;
}
.contact-card__links a:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.18); }

/* Keep contact card background dark when hovered (override generic card :hover) */
.contact-card:hover {
  background: linear-gradient(135deg, #0f172a 0%, #18356b 48%, #2759cb 100%);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr auto;
  align-items: start;
  gap: 24px;
  margin-top: 24px;
  padding: 28px 4px 0;
  border-top: 1px solid rgba(20, 35, 59, 0.1);
  color: var(--muted);
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; }
.footer__brand strong { display: block; margin-bottom: 4px; color: var(--text); font-family: "Sora", sans-serif; }
.footer__details {
  display: grid;
  gap: 10px;
}
.footer__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer__detail i {
  margin-top: 5px;
  color: var(--blue);
}
.footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.10));
  color: var(--blue-deep);
}
.footer__socials a:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.16));
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
body.modal-open {
  overflow: hidden;
}

/* Additional premium UI styles */
.hero__photo-card {
  position: relative;
}

.hero__photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 16, 31, 0.28));
}

.hero__badge {
  position: relative;
  z-index: 2;
}

.destination-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.destination-card__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.destination-card__content p {
  flex: 1;
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  /* limit to 3 lines for compactness */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-button,
.service-card__button,
.update-card__link {
  margin-top: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #c7dafb;
  background: #eff6ff;
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.detail-button:hover,
.service-card__button:hover,
.update-card__link:hover {
  transform: translateY(-2px);
  background: #dbeafe;
  border-color: #9fc2fb;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
  text-decoration: none;
}

/* Subtle hover lift for each destination card */
.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.11);
  border-color: #c9dbf8;
}

/* Responsive: make grid adapt and keep cards compact on small screens */
@media (max-width: 1000px) {
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .destination-grid { grid-template-columns: 1fr; }
  .destination-card img { height: 140px; }
  .destination-card { min-height: 220px; }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.58);
  z-index: 120;
}

.modal-backdrop.is-open {
  display: flex;
}

.floating-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa i {
  font-size: 1.1rem;
}

.floating-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 45px rgba(22, 163, 74, 0.36);
}

.modal {
  width: min(720px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.35);
}

.modal__inner {
  padding: 24px;
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal__title {
  font-size: 1.85rem;
}

.modal__subtitle {
  margin-top: 6px;
  color: var(--muted);
}

.modal__close {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  cursor: pointer;
}

.modal__summary {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 18px;
}

.modal--student-detail {
  width: min(780px, 100%);
}

.student-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.student-detail__image {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.student-detail__body {
  display: grid;
  gap: 14px;
}

.modal__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
}

.modal__details {
  display: grid;
  gap: 10px;
}

.modal__pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.modal__panel {
  padding: 14px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.modal__panel strong,
.modal__panel dt {
  display: block;
  margin-bottom: 8px;
}

.modal__panel ul {
  margin: 0;
  padding-left: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.counselling-card {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e4eaf3;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.form-hidden {
  display: none;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
}

.form-group textarea {
  min-height: 120px;
  padding: 14px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.form-actions--start {
  justify-content: flex-start;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ecfdf3;
  color: #146c43;
}

.form-status.is-visible {
  display: block;
}

@media (max-width: 1180px) {
  .hero,
  .stats-strip,
  .card-grid--four,
  .destination-grid,
  .story-grid,
  .updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .student-success__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .student-modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student-detail { grid-template-columns: 1fr; }
  .destination-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-card--featured { grid-row: auto; }
}

@media (max-width: 860px) {
  .page-shell { padding-inline: 14px; }
  .site-header { top: 12px; padding: 12px 14px; }
  .top-actions { display: none; }
  .hero,
  .stats-strip,
  .card-grid--four,
  .process-grid,
  .destination-grid,
  .story-grid,
  .updates-grid,
  .contact-card,
  .footer {
    grid-template-columns: 1fr;
  }
  .destination-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; }
  .hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .hero__info-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card__links { justify-content: flex-start; }
  .footer { align-items: flex-start; gap: 18px; }
  .main-header { align-items: center; }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0 28px;
  }
  .section--soft {
    padding: 42px 14px;
    margin: 12px 0;
    border-radius: 20px;
  }
  .site-header {
    border-radius: 16px;
  }
  .contact-card__links { grid-template-columns: 1fr; }
  .contact-card__links a {
    white-space: normal;
  }
  .contact-card__links a:first-child {
    white-space: normal;
  }
  .contact-link__cta {
    margin-left: 0;
    margin-top: 6px;
  }
  .modal {
    border-radius: 20px;
  }
  .modal__inner {
    padding: 16px;
  }
  .modal__summary,
  .modal__grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .process-step {
    min-height: auto;
    padding: 20px;
  }
  .floating-wa {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    padding: 0 12px;
  }
  .floating-wa span {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero { padding-top: 84px; }
  h1 { max-width: none; font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .hero__photo-card { min-height: 300px; }
  .destination-card img { height: 190px; }
  .story-card { min-height: 240px; }
  .story-card--featured { min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
