/* ============================================================
   Musaliar Landing Page — Premium first-impression design
   Scoped to body.index-page
   ============================================================ */

body.index-page {
  --lp-section-pad: clamp(80px, 9vw, 120px);
  --lp-radius: 20px;
  --lp-shadow: 0 12px 40px rgba(30, 58, 95, 0.1);
  --lp-shadow-lg: 0 24px 64px rgba(30, 58, 95, 0.16);
  --landing-sub-header-h: 28px;
  --landing-header-total: calc(var(--header-height) + var(--landing-sub-header-h));
  --site-affiliation-bar-h: var(--landing-sub-header-h);
  --header-stack-h: var(--landing-header-total);
}

/* ---- Top trust / affiliation strip ---- */
body.index-page .site-affiliation-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  min-height: var(--site-affiliation-bar-h);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal) 52%, var(--teal-light) 100%);
  box-shadow: 0 2px 10px rgba(15, 39, 68, 0.1);
}

body.index-page .site-affiliation-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

body.index-page .site-affiliation-bar__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
}

body.index-page .site-affiliation-bar__text {
  margin: 0;
  max-width: 1100px;
  text-align: center;
  font-size: clamp(0.56rem, 1.1vw, 0.68rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
}

body.index-page .mce-header {
  top: var(--site-affiliation-bar-h);
}

/* ---- Hero ---- */
body.index-page .hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-stack-h) + 56px) 0 88px;
}

body.index-page .hero-overlay {
  background: none;
}

body.index-page .hero-grid {
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

body.index-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 162, 97, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

body.index-page .hero-eyebrow i {
  font-size: 0.72rem;
  color: var(--gold);
}

body.index-page .hero-title {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(15, 39, 68, 0.35);
}

body.index-page .hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin-bottom: 32px;
}

body.index-page .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: none;
  margin-bottom: 32px;
}

body.index-page .stat-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

body.index-page .stat-item:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(244, 162, 97, 0.35);
  transform: translateY(-2px);
}

body.index-page .stat-item:first-child,
body.index-page .stat-item:last-child {
  padding-left: 10px;
  padding-right: 10px;
}

body.index-page .stat-item i {
  font-size: 1.2rem;
}

body.index-page .stat-item strong {
  font-size: 1.45rem;
}

body.index-page .hero-buttons .btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(224, 123, 57, 0.35);
}

body.index-page .hero-buttons .btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  transform: translateY(-2px);
}

body.index-page .hero-buttons .btn-outline-white {
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

body.index-page .hero-buttons .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}

body.index-page .enquiry-card {
  position: relative;
  border-radius: var(--lp-radius);
  padding: 0;
  overflow: hidden;
  background: rgba(15, 39, 68, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 420px;
}

body.index-page .enquiry-card::before {
  display: none;
}

body.index-page .enquiry-form {
  padding: 28px 28px 26px;
}

body.index-page .enquiry-header {
  padding: 24px 28px 0;
  margin-bottom: 18px;
}

body.index-page .enquiry-header h3 {
  font-size: 1.42rem;
  color: var(--white);
  font-weight: 700;
}

body.index-page .enquiry-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(224, 123, 57, 0.2);
  border: 1px solid rgba(224, 123, 57, 0.35);
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

body.index-page .enquiry-card .input-icon-wrap > i {
  color: rgba(255, 255, 255, 0.5);
}

body.index-page .enquiry-card .input-icon-wrap input,
body.index-page .enquiry-card .input-icon-wrap select,
body.index-page .enquiry-card .input-icon-wrap textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-radius: 10px;
}

body.index-page .enquiry-card .input-icon-wrap input::placeholder,
body.index-page .enquiry-card .input-icon-wrap textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

body.index-page .enquiry-card .input-icon-wrap select {
  color: rgba(255, 255, 255, 0.75);
}

body.index-page .enquiry-card .input-icon-wrap select option {
  color: var(--navy);
  background: var(--white);
}

body.index-page .enquiry-card .input-icon-wrap input:focus,
body.index-page .enquiry-card .input-icon-wrap select:focus,
body.index-page .enquiry-card .input-icon-wrap textarea:focus {
  border-color: rgba(224, 123, 57, 0.65);
  box-shadow: 0 0 0 3px rgba(224, 123, 57, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

body.index-page .enquiry-card .form-note {
  color: rgba(255, 255, 255, 0.55);
}

body.index-page .enquiry-card .btn-navy {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  border-radius: 10px;
}

body.index-page .enquiry-card .btn-navy:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

body.index-page .hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

body.index-page .hero-scroll-hint i {
  font-size: 0.85rem;
  animation: lpScrollBounce 2s ease-in-out infinite;
}

body.index-page .hero-scroll-hint:hover {
  color: var(--gold-light);
  transform: translateX(-50%) translateY(2px);
}

@keyframes lpScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---- Accreditation logos (below hero) ---- */
body.index-page .landing-accreditations {
  position: relative;
  padding: clamp(36px, 5vw, 56px) 0 clamp(40px, 5.5vw, 64px);
  background:
    linear-gradient(180deg, rgba(0, 45, 42, 0.04) 0%, rgba(255, 255, 255, 1) 42%, rgba(248, 250, 252, 1) 100%);
  border-top: 1px solid rgba(30, 58, 95, 0.08);
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
  overflow: hidden;
}

body.index-page .landing-accreditations__glow {
  position: absolute;
  inset: -40% auto auto 50%;
  width: min(720px, 90vw);
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(224, 123, 57, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

body.index-page .landing-accreditations__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3.5vw, 36px);
}

body.index-page .landing-accreditations__header {
  text-align: center;
  max-width: 640px;
}

body.index-page .landing-accreditations__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(30, 58, 95, 0.06);
  border: 1px solid rgba(30, 58, 95, 0.1);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

body.index-page .landing-accreditations__eyebrow i {
  color: var(--gold);
  font-size: 0.78rem;
}

body.index-page .landing-accreditations__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

body.index-page .landing-accreditations__subtitle {
  margin: 0;
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  line-height: 1.6;
  color: var(--gray-600);
}

body.index-page .landing-accreditations__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 22px);
  width: 100%;
  max-width: 980px;
}

body.index-page .landing-accreditation-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1 1 160px;
  max-width: 220px;
  min-width: 140px;
  padding: 18px 16px 14px;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 16px;
  box-shadow:
    0 4px 20px rgba(0, 45, 42, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.index-page .landing-accreditation-badge:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 123, 57, 0.35);
  box-shadow:
    0 14px 36px rgba(0, 45, 42, 0.12),
    0 0 0 1px rgba(224, 123, 57, 0.12);
}

body.index-page .landing-accreditation-badge__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 88px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafbfc 0%, #f3f6f8 100%);
  border: 1px solid rgba(30, 58, 95, 0.06);
}

body.index-page .landing-accreditation-badge__frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

body.index-page .landing-accreditation-badge__name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.82;
}

body.index-page .landing-accreditation-badge:hover .landing-accreditation-badge__name {
  color: var(--gold-dark, #c4682a);
  opacity: 1;
}

@media (max-width: 768px) {
  body.index-page .landing-accreditations__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    margin-inline: auto;
  }

  body.index-page .landing-accreditation-badge {
    min-width: 0;
    max-width: none;
    flex: none;
  }

  body.index-page .landing-accreditation-badge__frame {
    min-height: 72px;
  }

  body.index-page .landing-accreditation-badge__frame img {
    max-height: 56px;
  }
}

@media (max-width: 420px) {
  body.index-page .landing-accreditations__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}

/* ---- Shared section system ---- */
body.index-page .landing-section {
  padding: var(--lp-section-pad) 0;
  position: relative;
}

body.index-page .section-header--v2 {
  text-align: center;
  margin-bottom: clamp(44px, 5vw, 60px);
}

body.index-page .section-header--v2 .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(224, 123, 57, 0.1);
  border: 1px solid rgba(224, 123, 57, 0.28);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
  color: var(--gold-dark);
}

body.index-page .section-header--v2 .section-label::before,
body.index-page .section-header--v2 .section-label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

body.index-page .section-header--v2 .section-title {
  font-size: clamp(1.95rem, 4.5vw, 2.75rem);
  letter-spacing: -0.025em;
  color: var(--navy);
}

body.index-page .section-header--v2 .section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 4px;
}

body.index-page .section-desc {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--gray-600);
}

/* ---- Institutions ---- */
body.index-page .institutions {
  background: var(--off-white);
}

body.index-page .institutions-grid {
  gap: 28px;
}

body.index-page .institution-card {
  border: 1px solid rgba(30, 58, 95, 0.07);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
}

body.index-page .institution-card:nth-child(2) {
  transform: translateY(16px);
}

body.index-page .institution-card--featured {
  box-shadow:
    0 8px 32px rgba(30, 58, 95, 0.12),
    0 0 0 1px rgba(224, 123, 57, 0.2);
}

body.index-page .institution-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--lp-shadow-lg);
}

body.index-page .institution-card:nth-child(2):hover {
  transform: translateY(4px);
}

body.index-page .institution-media {
  height: 240px;
  background: linear-gradient(180deg, #edf2f9 0%, #f7f8fb 100%);
}

body.index-page .institution-media img {
  object-fit: cover;
  object-position: center;
  padding: 0;
}

body.index-page .institution-media-overlay {
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(15, 39, 68, 0.55) 100%
  );
}

body.index-page .institution-content {
  padding: 24px 24px 26px;
}

body.index-page .institution-content h3 {
  font-size: 1.12rem;
  color: var(--navy);
}

body.index-page .institution-content p {
  color: var(--gray-600);
}

body.index-page .institution-cta {
  color: var(--navy);
  background: var(--gray-100);
}

body.index-page .btn-institutions-all {
  padding: 14px 32px;
  border-radius: 999px;
}

/* ---- Why Choose Us ---- */
body.index-page .why-choose {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  overflow: hidden;
}

body.index-page .why-choose::before {
  background:
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(224, 123, 57, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

body.index-page .why-choose .section-label {
  color: var(--gold-light);
}

body.index-page .why-choose .section-title {
  font-size: clamp(1.95rem, 4.2vw, 2.65rem);
  color: var(--white);
}

body.index-page .why-choose .text-gold {
  color: var(--gold-light);
}

body.index-page .why-choose .why-text {
  color: rgba(255, 255, 255, 0.82);
}

body.index-page .why-choose .feature-item {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
}

body.index-page .why-choose .feature-item span {
  color: rgba(255, 255, 255, 0.92);
}

body.index-page .why-choose .feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(224, 123, 57, 0.4);
}

body.index-page .why-choose .feature-item i {
  background: rgba(224, 123, 57, 0.18);
  color: var(--gold-light);
}

body.index-page .why-image-wrap {
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow-lg);
}

body.index-page .why-image-wrap::before {
  border-color: rgba(224, 123, 57, 0.4);
}

body.index-page .why-stats-bar {
  background: rgba(15, 39, 68, 0.92);
  border-top: 1px solid rgba(224, 123, 57, 0.25);
}

/* ---- Programs ---- */
body.index-page .programs {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

body.index-page .programs::before {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(224, 123, 57, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(30, 58, 95, 0.05) 0%, transparent 50%);
}

body.index-page .programs-header {
  margin-bottom: clamp(36px, 4vw, 52px);
}

body.index-page .programs-header .section-title {
  color: var(--navy);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

body.index-page .programs-header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

body.index-page .programs-header-link:hover {
  color: var(--gold-dark);
}

body.index-page .programs-carousel-wrap {
  padding: 8px 0 4px;
}

body.index-page .programs-carousel {
  gap: 20px;
  align-items: stretch;
}

body.index-page .programs-carousel .carousel-viewport {
  padding: 12px 6px 20px;
}

body.index-page .programs-carousel .programs-track {
  display: flex;
  gap: 20px;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

body.index-page .programs-carousel .program-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(30, 58, 95, 0.08) !important;
  border-right: 1px solid rgba(30, 58, 95, 0.08) !important;
  border-radius: var(--lp-radius);
  padding: 40px 28px 36px;
  min-height: 280px;
  box-shadow: var(--lp-shadow);
  flex: 0 0 calc((100cqw - 60px) / 4);
  min-width: calc((100cqw - 60px) / 4);
  box-sizing: border-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body.index-page .programs-carousel .program-item:last-child {
  border-right: 1px solid rgba(30, 58, 95, 0.08) !important;
}

body.index-page .programs-carousel .program-item:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: rgba(224, 123, 57, 0.32) !important;
  box-shadow: var(--lp-shadow-lg);
}

body.index-page .programs-carousel .program-item h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

body.index-page .programs-carousel .program-item p {
  color: var(--gray-600);
  font-size: 0.84rem;
  line-height: 1.65;
  flex: 1;
}

body.index-page .programs-carousel .program-item i {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  font-size: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(224, 123, 57, 0.12);
  color: var(--gold);
}

body.index-page .programs-carousel .program-item--has-image {
  padding-top: 0;
  overflow: hidden;
}

body.index-page .programs-carousel .program-item-media {
  width: calc(100% + 56px);
  margin: 0 -28px 20px;
  height: 130px;
  overflow: hidden;
  flex-shrink: 0;
}

body.index-page .programs-carousel .program-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.index-page .programs-carousel .carousel-nav {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  align-self: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.1);
}

body.index-page .programs-carousel .carousel-nav:hover:not(.is-disabled) {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}

/* ---- Recruiters ---- */
body.index-page .recruiters {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
}

body.index-page .recruiters::before {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(224, 123, 57, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
}

body.index-page .recruiters-header .section-label {
  background: rgba(224, 123, 57, 0.12);
  border-color: rgba(224, 123, 57, 0.3);
  color: var(--gold-light);
}

body.index-page .recruiters-header .section-title,
body.index-page .recruiters .section-header--v2 .section-title {
  color: var(--white);
}

body.index-page .recruiters .section-header--v2 .section-title::after {
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0.55));
}

/* ---- Contact & Map ---- */
body.index-page .contact-map {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

body.index-page .contact-info-block {
  border-radius: var(--lp-radius);
  border: 1px solid rgba(30, 58, 95, 0.07);
  box-shadow: var(--lp-shadow);
  padding: clamp(28px, 4vw, 40px);
}

body.index-page .contact-info-block .section-label {
  color: var(--gold-dark);
}

body.index-page .contact-info-block .section-title {
  color: var(--navy);
}

body.index-page .contact-info-block p {
  color: var(--gray-600);
}

body.index-page .contact-details li strong {
  color: var(--navy);
}

body.index-page .contact-details li span,
body.index-page .contact-details li a {
  color: var(--gray-600);
}

body.index-page .contact-details li i {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

body.index-page .map-wrap {
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow-lg);
}

body.index-page .map-wrap::before {
  border-color: rgba(224, 123, 57, 0.28);
}

/* ---- Footer ---- */
body.index-page .footer {
  background: linear-gradient(180deg, var(--navy-dark) 0%, #0a1628 100%);
}

body.index-page .footer::before {
  background: linear-gradient(90deg, var(--gold), var(--navy-light), var(--gold));
}

body.index-page .back-to-top {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(224, 123, 57, 0.35);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  body.index-page .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.index-page .programs-carousel .program-item {
    flex: 0 0 calc((100cqw - 40px) / 3);
    min-width: calc((100cqw - 40px) / 3);
    min-height: 260px;
    padding: 34px 22px 30px;
  }
}

@media (max-width: 992px) {
  body.index-page .hero {
    padding-bottom: 72px;
  }

  body.index-page .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-width: 0;
  }

  body.index-page .hero-content {
    min-width: 0;
    width: 100%;
  }

  body.index-page .container {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.index-page .hero-scroll-hint {
    display: none;
  }

  body.index-page .enquiry-card {
    max-width: none;
    justify-self: stretch;
  }

  body.index-page .institution-card:nth-child(2) {
    transform: none;
  }

  body.index-page .institution-card:nth-child(2):hover {
    transform: translateY(-12px);
  }
}

@media (max-width: 768px) {
  body.index-page {
    --landing-sub-header-h: 36px;
    --site-affiliation-bar-h: 36px;
  }

  body.index-page .site-affiliation-bar__inner {
    padding: 5px 0;
  }

  body.index-page .site-affiliation-bar__text {
    font-size: 0.52rem;
    line-height: 1.3;
    padding: 0 6px;
  }

  body.index-page .hero {
    min-height: auto;
    padding-top: calc(var(--header-stack-h) + 28px);
    padding-bottom: 56px;
  }

  body.index-page .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-bottom: 24px;
  }

  body.index-page .stat-item {
    padding: 12px 8px;
    min-width: 0;
  }

  body.index-page .stat-item strong {
    font-size: 1.15rem;
  }

  body.index-page .stat-item span {
    font-size: 0.62rem;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
  }

  body.index-page .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    word-break: break-word;
  }

  body.index-page .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  body.index-page .hero-eyebrow {
    max-width: 100%;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    padding: 7px 12px;
    margin-bottom: 16px;
  }

  body.index-page .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  body.index-page .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  body.index-page .typewriter-line {
    display: block;
    word-break: break-word;
  }

  body.index-page .feature-item:hover {
    transform: none;
  }

  body.index-page .programs-carousel .program-item {
    flex: 0 0 calc((100cqw - 20px) / 2);
    min-width: calc((100cqw - 20px) / 2);
    min-height: 250px;
    padding: 32px 20px 28px;
  }
}

@media (max-width: 480px) {
  body.index-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.index-page .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  body.index-page .stat-item {
    padding: 10px 6px;
  }

  body.index-page .stat-item strong {
    font-size: 1rem;
  }

  body.index-page .stat-item span {
    font-size: 0.58rem;
  }

  body.index-page .hero-title {
    font-size: clamp(1.65rem, 7.5vw, 2rem);
  }

  body.index-page .programs-carousel .program-item {
    flex: 0 0 100cqw;
    min-width: 100cqw;
    min-height: 240px;
  }
}

/* ---- Announcement modal (premium glass) ---- */
body.index-page .promo-modal-backdrop {
  background: rgba(15, 39, 68, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.index-page .promo-modal-card {
  max-width: min(640px, 92vw);
  z-index: 2;
  background: rgba(15, 39, 68, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 60px rgba(224, 123, 57, 0.12);
  overflow: hidden;
  isolation: isolate;
}

body.index-page .promo-modal-card::before {
  display: none;
}

body.index-page .promo-modal-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(224, 123, 57, 0.65) 0%,
    rgba(255, 255, 255, 0.15) 35%,
    rgba(45, 90, 138, 0.4) 65%,
    rgba(224, 123, 57, 0.55) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  animation: lpPromoBorderGlow 5s linear infinite;
}

body.index-page .promo-modal-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

body.index-page .promo-modal-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  animation: lpPromoOrbFloat 8s ease-in-out infinite;
}

body.index-page .promo-modal-orbs span:nth-child(1) {
  width: 180px;
  height: 180px;
  top: -40px;
  right: -30px;
  background: rgba(224, 123, 57, 0.35);
}

body.index-page .promo-modal-orbs span:nth-child(2) {
  width: 140px;
  height: 140px;
  bottom: 20%;
  left: -40px;
  background: rgba(45, 90, 138, 0.35);
  animation-delay: -2.5s;
}

body.index-page .promo-modal-orbs span:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: -20px;
  right: 25%;
  background: rgba(244, 162, 97, 0.28);
  animation-delay: -5s;
}

body.index-page .promo-modal-frame {
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 0;
}

@keyframes lpPromoBorderGlow {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

@keyframes lpPromoOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, -10px) scale(1.08); }
}

body.index-page .promo-modal-close {
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

body.index-page .promo-modal-close:hover {
  background: rgba(224, 123, 57, 0.25);
  border-color: rgba(224, 123, 57, 0.5);
  color: var(--white);
}

body.index-page .promo-modal-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 64px 20px 28px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.index-page .promo-modal-header-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(224, 123, 57, 0.18);
  border: 1px solid rgba(224, 123, 57, 0.35);
  color: var(--gold-light);
  font-size: 1.1rem;
  box-shadow: 0 0 24px rgba(224, 123, 57, 0.2);
}

body.index-page .promo-modal-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

body.index-page .promo-modal-title {
  font-family: 'Inter', var(--font-sans);
  font-size: clamp(1.25rem, 3.2vw, 1.55rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

body.index-page .promo-modal-media {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 24px;
  border-top: none;
}

body.index-page .promo-modal-media--video,
body.index-page .promo-modal-media--pdf {
  padding: 20px 24px 24px;
}

body.index-page .promo-modal-link {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.index-page .promo-modal-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(224, 123, 57, 0.2);
}

body.index-page .promo-modal-image {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  max-height: min(52vh, 480px);
}

body.index-page .promo-modal-video-wrap,
body.index-page .promo-modal-pdf-wrap {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: rgba(15, 39, 68, 0.5);
}

body.index-page .promo-modal-pdf-wrap {
  background: rgba(255, 255, 255, 0.06);
}

body.index-page .promo-modal-footer {
  position: relative;
  z-index: 5;
  flex-direction: column;
  gap: 12px;
  padding: 20px 28px 26px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: auto;
}

body.index-page .promo-modal-cta {
  width: 100%;
  padding: 15px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(224, 123, 57, 0.4);
}

body.index-page .promo-modal-cta:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(224, 123, 57, 0.5);
}

body.index-page .promo-modal-dismiss {
  display: block;
  width: 100%;
  padding: 8px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.25s ease;
}

body.index-page .promo-modal-dismiss:hover {
  color: rgba(255, 255, 255, 0.85);
}

body.index-page .promo-modal-snooze {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 12px 16px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  text-align: center;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

body.index-page .promo-modal-snooze:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

body.index-page .promo-modal.is-open .promo-modal-card {
  animation: lpPromoCardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes lpPromoCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  body.index-page .promo-modal-card {
    border-radius: 20px;
  }

  body.index-page .promo-modal-header {
    padding: 24px 56px 16px 20px;
    gap: 12px;
  }

  body.index-page .promo-modal-header-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  body.index-page .promo-modal-media {
    padding: 16px 18px;
  }

  body.index-page .promo-modal-footer {
    padding: 16px 20px 22px;
  }
}
