

:root {
  --navy-deep: #0D2F5B;
  --navy-mid: #1C3F73;
  --gold-light: #E0B45C;
  --gold-mid: #C89B3C;
  --gold-grad: linear-gradient(90deg, #C89B3C, #E0B45C, #C89B3C);
  --navy-grad: linear-gradient(135deg, #0D2F5B, #1C3F73);
  --white: #FFFFFF;
  --off-white: #F2F2F2;
  --text-dark: #4A4A4A;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden !important;
  max-width: 100vw;
  background: var(--white);
}

/* ── UTILITY ── */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

.text-gold {
  color: var(--gold-light) !important;
}

.text-navy {
  color: var(--navy-deep) !important;
}

.bg-navy {
  background: var(--navy-grad);
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold-grad);
  border-radius: 2px;
  margin: 0 auto 1.2rem;
}

.gold-line-left {
  margin-left: 0;
}

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .22em;
  color: var(--gold-mid);
  text-transform: uppercase;
  margin-bottom: .5rem;
}

/* ── NAVBAR ── */
.navbar-iaem {
  background: rgb(4 35 75 / 97%);
  backdrop-filter: blur(12px);
  /* padding: .65rem 0; */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  border-bottom: 1px solid rgba(224, 180, 92, .18);
  transition: box-shadow .3s;
}

.navbar-iaem.scrolled {
  box-shadow: 0 4px 32px rgba(13, 47, 91, .35);
}

.navbar-iaem .navbar-brand img {
  height: 50px;
}

.navbar-brand-text {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .1em;
  display: none;
}

.navbar-iaem .nav-link {
  color: rgba(255, 255, 255, .85) !important;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .05em;
  padding: .5rem .75rem !important;
  transition: color .25s;
  white-space: nowrap;
}

.navbar-iaem .nav-link:hover,
.navbar-iaem .nav-link.active {
  color: var(--gold-light) !important;
}

.navbar-iaem .dropdown-menu {
  background: #0D2F5B;
  border: 1px solid rgba(224, 180, 92, .2);
  border-radius: 8px;
  min-width: 230px;
}

.navbar-iaem .dropdown-item {
  color: rgba(255, 255, 255, .8);
  font-size: .78rem;
  padding: .5rem 1.1rem;
}

.navbar-iaem .dropdown-item:hover {
  background: rgba(224, 180, 92, .12);
  color: var(--gold-light);
}

.btn-apply-nav {
  background: var(--gold-grad);
  color: var(--navy-deep) !important;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .07em;
  border-radius: 30px;
  padding: .42rem 1.3rem !important;
  border: none;
  transition: transform .2s, box-shadow .2s;
}

.btn-apply-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 155, 60, .4);
}

.navbar-toggler {
  border-color: rgba(224, 180, 92, .3);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ── DESKTOP HOVER DROPDOWNS ── */
@media (min-width: 1200px) {
  .navbar-iaem .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
    animation: dropFade .2s ease;
  }

  @keyframes dropFade {
    from {
      opacity: 0;
      transform: translateY(6px)
    }

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

/* ── MOBILE DRAWER ── */
/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 9990;
}

.nav-overlay.active {
  display: block;
}

/* Drawer header */
.nav-drawer-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(224, 180, 92, .15);
  margin-bottom: .4rem;
}

.nav-drawer-header .drawer-logo {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.btn-close-drawer {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s;
  padding: 0;
}

.btn-close-drawer:hover {
  color: var(--gold-light);
}

/* On desktop: navMenu is normal inline flex */
@media (min-width: 1200px) {
  #navMenu {
    display: flex !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }
}

/* On mobile: drawer */
@media (max-width: 1199px) {
  body {
    overflow-x: hidden;
  }

  .nav-drawer-header {
    display: flex;
  }

  #navMenu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #0B2547;
    border-right: 1px solid rgba(224, 180, 92, .18);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 2rem;
    z-index: 9995;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  }

  #navMenu.drawer-open {
    transform: translateX(0);
  }

  /* Nav items inside drawer */
  #navMenu .navbar-nav {
    padding: 0 .6rem;
    flex-direction: column !important;
    width: 100%;
  }

  #navMenu .nav-link {
    padding: .7rem .9rem !important;
    border-radius: 8px;
    white-space: normal !important;
  }

  #navMenu .nav-link:hover {
    background: rgba(224, 180, 92, .07);
  }

  /* Sub-dropdowns in drawer — hidden by default */
  #navMenu .dropdown-menu {
    position: static !important;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(224, 180, 92, .25);
    border-radius: 0;
    background: rgba(255, 255, 255, .04);
    margin: 0 0 .2rem 1rem;
    padding: .25rem 0;
    min-width: unset;
    width: calc(100% - 1rem);
  }

  #navMenu .dropdown-menu.open {
    display: block;
  }

  #navMenu .dropdown-item {
    padding: .45rem 1rem;
  }

  /* Apply Now in drawer */
  #navMenu .btn-apply-nav {
    display: block;
    text-align: center;
    margin: .8rem .6rem 0;
    border-radius: 8px;
    padding: .65rem 1rem !important;
  }
}

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  background: var(--navy-grad);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  max-width: 100%;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E0B45C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gold-light);
  top: -100px;
  right: -100px;
  overflow: hidden;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: #1C3F73;
  bottom: -80px;
  left: -80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(224, 180, 92, .12);
  border: 1px solid rgba(224, 180, 92, .4);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: .63rem;
  letter-spacing: .25em;
  padding: .45rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-title span {
  color: var(--gold-light);
}

.hero-sub {
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.85rem, 1.3vw, .98rem);
  font-weight: 300;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}

.btn-gold-hero {
  background: var(--gold-grad);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  padding: .8rem 2rem;
  border-radius: 30px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
}

.btn-gold-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(200, 155, 60, .45);
  color: var(--navy-deep);
}

.btn-outline-hero {
  background: transparent;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  padding: .78rem 2rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .3);
  text-decoration: none;
  display: inline-block;
  transition: all .25s;
}

.btn-outline-hero:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.hero-logo-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(224, 180, 92, .2);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  padding: 2.5rem;
  text-align: center;
}

.hero-logo-card img {
  max-width: 280px;
  filter: drop-shadow(0 8px 24px rgba(224, 180, 92, .25));
}

/* Hero carousel */
.hero-carousel-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(224, 180, 92, .2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.hero-carousel-wrap .carousel-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--gold-light);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .4);
  font-size: .7rem;
  letter-spacing: .15em;
  text-align: center;
  animation: bounce 2.4s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(8px)
  }
}

/* hero inline check pills */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255, 255, 255, .75);
  font-size: .78rem;
}

.hero-pill i {
  color: var(--gold-light);
}

/* ── STATS ── */
.stats-section {
  background: var(--off-white);
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.2rem .5rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-num span {
  color: var(--gold-mid);
}

.stat-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: #888;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(13, 47, 91, .2), transparent);
  align-self: stretch;
  min-height: 60px;
}

@media(max-width:576px) {
  .stat-num {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: .58rem;
    letter-spacing: .07em;
  }

  .stat-item {
    padding: .8rem .2rem;
  }
}

/* ── SECTION GENERIC ── */
section.iaem-section {
  padding: 5rem 0;
}

/* ── ABOUT ── */
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 47, 91, .55), transparent);
}

.about-badge-float {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(13, 47, 91, .92);
  border: 1px solid rgba(224, 180, 92, .35);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  color: #fff;
}

.about-badge-float .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: #F8F9FC;
  border: 1px solid #eee;
  transition: box-shadow .25s, border-color .25s;
}

.about-feature:hover {
  box-shadow: 0 6px 24px rgba(13, 47, 91, .1);
  border-color: rgba(200, 155, 60, .25);
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: .95rem;
  flex-shrink: 0;
}

/* ── WHY IAEM ── */
.why-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  height: 100%;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13, 47, 91, .1);
  border-color: rgba(200, 155, 60, .28);
}

.why-icon-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy-grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ── COURSES ── */
.courses-section {
  background: #F8F9FC;
}

.course-card {
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13, 47, 91, .12);
  border-color: rgba(200, 155, 60, .3);
}

/* Image at top */
.course-card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.course-card:hover .course-card-img img {
  transform: scale(1.06);
}

.course-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 47, 91, .25), rgba(13, 47, 91, .7));
}

.course-card-img-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.2rem;
}

.course-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(224, 180, 92, .2);
  border: 1px solid rgba(224, 180, 92, .4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: .95rem;
  margin-bottom: .5rem;
}

.course-badge-top {
  display: inline-block;
  background: rgba(224, 180, 92, .25);
  color: var(--gold-light);
  font-size: .6rem;
  letter-spacing: .1em;
  font-weight: 700;
  text-transform: uppercase;
  padding: .18rem .65rem;
  border-radius: 20px;
  margin-left: .4rem;
  vertical-align: middle;
}

.course-card-img-inner h5 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

/* Navy top bar below image */
.course-card-top {
  background: var(--navy-grad);
  padding: .6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.course-card-body {
  padding: 1.2rem 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-meta {
  font-size: .73rem;
  color: #999;
  font-weight: 500;
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.course-meta i {
  color: var(--gold-mid);
}

.btn-course {
  display: inline-block;
  background: var(--navy-grad);
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .5rem 1.4rem;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  align-self: flex-start;
}

.btn-course:hover {
  opacity: .88;
  transform: translateY(-2px);
  color: #fff;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--gold-grad);
  padding: 3.5rem 0;
}

.cta-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--navy-deep);
  font-weight: 800;
  margin-bottom: .4rem;
}

.cta-strip p {
  color: rgba(13, 47, 91, .75);
  font-size: .88rem;
  margin: 0;
}

.btn-navy-cta {
  display: inline-block;
  background: var(--navy-deep);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  padding: .75rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  border: 2px solid transparent;
}

.btn-navy-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 47, 91, .3);
  color: #fff;
}

/* ── PARTNERS SECTION ── */
.partners-section {
    background: linear-gradient(135deg, #0d2b3e 0%, #1a4a6e 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    will-change: transform;
    width: max-content;
}

/* Right to Left Animation */
.right-to-left .marquee-track {
    animation: scrollRightToLeft 60s linear infinite;
}

/* Left to Right Animation */
.left-to-right .marquee-track {
    animation: scrollLeftToRight 60s linear infinite;
}

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

.partner-item {
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.partner-item img {
    height: 60px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    display: block;
}

/* If images are not showing, try this alternative */
.partner-item img {
    height: auto;
    width: 100%;
    max-width: 120px;
    object-fit: contain;
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeftToRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .partner-item {
        min-width: 120px;
        padding: 0.6rem 1.2rem;
    }
    
    .partner-item img {
        max-width: 100px;
        height: 50px;
    }
    
    .marquee-track {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .partner-item {
        min-width: 100px;
        padding: 0.5rem 1rem;
    }
    
    .partner-item img {
        max-width: 85px;
        height: 40px;
    }
    
    .marquee-track {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .partner-item {
        min-width: 85px;
        padding: 0.4rem 0.75rem;
    }
    
    .partner-item img {
        max-width: 70px;
        height: 35px;
    }
    
    .marquee-track {
        gap: 0.75rem;
    }
}

/* ── CENTRES ── */
.centre-card {
  display: block;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  height: 100%;
}

.centre-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13, 47, 91, .12);
  border-color: rgba(200, 155, 60, .3);
}

.centre-card-header {
  background: var(--navy-grad);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── CENTRES ── */
.centre-card {
  display: block;
  text-decoration: none;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  background: #fff;
}

.centre-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13, 47, 91, .12);
  border-color: rgba(200, 155, 60, .3);
}

.centre-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.centre-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.centre-card:hover .centre-card-img img {
  transform: scale(1.05);
}

.centre-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 47, 91, .1), rgba(13, 47, 91, .65));
}

.centre-card-header {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.centre-city-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(224, 180, 92, .2);
  border: 1px solid rgba(224, 180, 92, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: .95rem;
  flex-shrink: 0;
}

.centre-city-name {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.centre-card-body {
  padding: 1.2rem 1.5rem;
}

.centre-info {
  font-size: .78rem;
  color: #777;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .5rem;
}

.centre-info i {
  color: var(--gold-mid);
  margin-top: .15rem;
  flex-shrink: 0;
}

/* ── GALLERY ── */
.gallery-section {
  background: #F8F9FC;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 47, 91, .6), transparent);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
}

@media(max-width:576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── CONTACT ── */
.contact-section {
  background: #F8F9FC;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 2.5rem;
}

.form-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: .05em;
  margin-bottom: .35rem;
}

.form-control,
.form-select {
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: .85rem;
  padding: .7rem 1rem;
  transition: border-color .25s, box-shadow .25s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(28, 63, 115, .08);
}

.btn-submit-form {
  background: var(--navy-grad);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  padding: .82rem 2rem;
  border: none;
  border-radius: 30px;
  width: 100%;
  transition: opacity .25s, transform .2s;
}

.btn-submit-form:hover {
  opacity: .9;
  transform: translateY(-2px);
}

.contact-info-box {
  background: var(--navy-grad);
  border-radius: 20px;
  padding: 2.5rem;
  color: rgba(255, 255, 255, .85);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(224, 180, 92, .15);
  border: 1px solid rgba(224, 180, 92, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: .9rem;
  flex-shrink: 0;
}

.contact-info-item-text strong {
  display: block;
  color: var(--gold-light);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}

.contact-info-item-text span {
  font-size: .83rem;
}

/* ── FOOTER ── */
footer.iaem-footer {
  background: #070F1F;
  padding: 4rem 0 0;
  color: rgba(255, 255, 255, .7);
}

.footer-brand img {
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: .82rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(224, 180, 92, .2);
}

.footer-links li a {
  color: rgba(255, 255, 255, .6);
  font-size: .82rem;
  text-decoration: none;
  display: block;
  padding: .25rem 0;
  transition: color .2s;
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  text-decoration: none;
  transition: all .25s;
  margin-right: .4rem;
}

.footer-social a:hover {
  background: var(--gold-grad);
  border-color: var(--gold-mid);
  color: var(--navy-deep);
}

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 1.2rem 0;
  font-size: .75rem;
  color: rgba(255, 255, 255, .35);
}

.footer-bottom a {
  color: var(--gold-light);
  text-decoration: none;
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold-grad);
  z-index: 99999;
  width: 0%;
  transition: width .1s;
}

/* ── BACK TO TOP ── */
#back-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-grad);
  border: 1.5px solid rgba(224, 180, 92, .35);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 8888;
}

#back-top.show {
  opacity: 1;
  pointer-events: all;
}

#back-top:hover {
  transform: translateY(-3px);
}

/* ── RESPONSIVE ── */
@media(max-width:992px) {
  .hero-logo-card {
    display: none;
  }
}

@media(max-width:768px) {
  .hero-title {
    font-size: 2rem;
  }

  .stat-divider {
    display: none;
  }
}

/* ── PREVENT HORIZONTAL OVERFLOW ── */
html,
body {
  overflow-x: hidden !important;
  max-width: 100%;
}

.row {
  --bs-gutter-x: 1.5rem;
}

@media(max-width:575px) {
  .row {
    --bs-gutter-x: 1rem;
  }

  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

[data-aos] {
  transition-duration: 700ms !important;
}

/* ── PAGE-LOAD ENTRANCE ANIMATIONS ── */
@keyframes navSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

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

@keyframes heroFadeUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

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

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes heroScaleIn {
  from {
    transform: scale(1.04);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Navbar slides down on load */
#mainNav {
  animation: navSlideDown 0.7s cubic-bezier(.4, 0, .2, 1) both;
}

/* Nav links fade in with stagger */
#mainNav .nav-item {
  opacity: 0;
  animation: heroFadeUp 0.5s ease forwards;
}

#mainNav .nav-item:nth-child(1) {
  animation-delay: 0.4s;
}

#mainNav .nav-item:nth-child(2) {
  animation-delay: 0.5s;
}

#mainNav .nav-item:nth-child(3) {
  animation-delay: 0.6s;
}

#mainNav .nav-item:nth-child(4) {
  animation-delay: 0.7s;
}

#mainNav .nav-item:nth-child(5) {
  animation-delay: 0.8s;
}

#mainNav .nav-item:nth-child(6) {
  animation-delay: 0.9s;
}

#mainNav .nav-item:nth-child(7) {
  animation-delay: 1.0s;
}

#mainNav .nav-item:nth-child(8) {
  animation-delay: 1.05s;
}

#mainNav .nav-item:nth-child(9) {
  animation-delay: 1.1s;
}

/* Navbar brand fades in */
#mainNav .navbar-brand {
  opacity: 0;
  animation: heroFadeIn 0.8s ease 0.2s forwards;
}

/* Hero image scales & fades in */
#hero img {
  opacity: 0;
  animation: heroScaleIn 1.1s cubic-bezier(.4, 0, .2, 1) 0.3s forwards;
}





/* ── FIX: dropdown items wrap text on mobile ── */
@media (max-width: 1199px) {

  #navMenu .dropdown-item {
    white-space: normal !important;
    /* allow text to wrap */
    word-break: break-word;
    line-height: 1.4;
    padding: .5rem 1rem;
  }

  #navMenu .dropdown-menu {
    width: calc(100% - 1rem) !important;
    /* constrain to drawer width */
    overflow-x: hidden;
  }

  #navMenu .nav-link {
    white-space: normal !important;
    /* nav link text wraps too */
  }

}



       