/* =========================================================
   style.css — Unified Responsive Header
   One nav: horizontal tabs on desktop / slide-in drawer on mobile
   Palette: navy #14213d / gold #c9a227
   Font: Poppins
   ========================================================= */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ---------- HEADER ---------- */
.site-header {
  background: linear-gradient(90deg, #0f1c33 0%, #14213d 60%, #1c2c4d 100%);
  color: #ffffff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #c9a227;
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ---------- BRAND ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
  padding: 0.5rem 0;
}

.brand .logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #c9a227;
  object-fit: cover;
  background: #ffffff;
  padding: 3px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand .school-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
  white-space: nowrap;
}

.brand-reg {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #e3c766;
  text-transform: uppercase;
  margin-top: 3px;
}

.brand-addr {
  font-size: 0.72rem;
  color: #b8c2d6;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 400;
}

.brand-addr i {
  font-size: 0.66rem;
  color: #c9a227;
}

/* ---------- MENU TOGGLE ---------- */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
  touch-action: manipulation;
}

.menu-toggle:hover {
  background: rgba(201, 162, 39, 0.3);
}

/* ---------- UNIFIED NAV ---------- */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-brand-block,
.nav-footer {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 0.92rem;
  color: #dbe2ee;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: background 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(201, 162, 39, 0.22);
  color: #ffffff;
  outline: none;
}

.nav-link.active {
  background: #c9a227;
  color: #0f1c33;
  font-weight: 700;
}

.nav-icon {
  display: none;
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #c9a227;
  flex-shrink: 0;
}

.nav-link.active .nav-icon {
  color: #0f1c33;
}

.nav-text {
  white-space: nowrap;
}

.dropdown-icon {
  font-size: 0.62rem;
  transition: transform 0.25s ease;
  opacity: 0.9;
  flex-shrink: 0;
  margin-left: auto;
}

/* ---------- DESKTOP DROPDOWNS & MEGA MENU (> 1100px) ---------- */
@media (min-width: 1101px) {
  .nav-item:not(.has-mega-menu) > .dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 235px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(15, 28, 51, 0.25);
    padding: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    border-top: 4px solid #c9a227;
    z-index: 998;
  }

  .nav-item:not(.has-mega-menu):hover > .dropdown,
  .nav-item:not(.has-mega-menu).hover-open > .dropdown,
  .nav-item:not(.has-mega-menu).open > .dropdown,
  .nav-item:not(.has-mega-menu).is-open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item:not(.has-mega-menu):hover > .nav-link .dropdown-icon,
  .nav-item:not(.has-mega-menu).hover-open > .nav-link .dropdown-icon,
  .nav-item:not(.has-mega-menu).open > .nav-link .dropdown-icon,
  .nav-item:not(.has-mega-menu).is-open > .nav-link .dropdown-icon {
    transform: rotate(180deg);
  }

  .dropdown li a {
    display: block;
    padding: 0.62rem 0.9rem;
    color: #14213d;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  }

  .dropdown li a:hover {
    background: #f1f4f9;
    color: #0f1c33;
    padding-left: 1.2rem;
    font-weight: 700;
  }

  .nav-item.has-mega-menu {
    position: static;
  }

  .mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - var(--haes-header-height, 99px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
    border-top: 3px solid #c9a227;
    border-bottom: 1px solid rgba(20, 33, 61, 0.12);
    box-shadow: 0 20px 44px rgba(15, 28, 51, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 999;
  }

  .mega-menu-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -48px;
    height: 48px;
    background: transparent;
  }

  .nav-item.has-mega-menu:hover > .mega-menu-panel,
  .nav-item.has-mega-menu.hover-open > .mega-menu-panel,
  .nav-item.has-mega-menu.open > .mega-menu-panel,
  .nav-item.has-mega-menu.is-open > .mega-menu-panel,
  .mega-menu-panel:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-item.has-mega-menu:hover > .nav-link,
  .nav-item.has-mega-menu.hover-open > .nav-link,
  .nav-item.has-mega-menu.open > .nav-link,
  .nav-item.has-mega-menu.is-open > .nav-link {
    background: rgba(201, 162, 39, 0.22);
    color: #ffffff;
  }

  .nav-item.has-mega-menu:hover > .nav-link .dropdown-icon,
  .nav-item.has-mega-menu.hover-open > .nav-link .dropdown-icon,
  .nav-item.has-mega-menu.open > .nav-link .dropdown-icon,
  .nav-item.has-mega-menu.is-open > .nav-link .dropdown-icon {
    transform: rotate(180deg);
  }

  .mega-menu-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: stretch;
  }

  .mega-intro-col {
    background: #fcfaf4;
    border-right: 1px solid rgba(20, 33, 61, 0.08);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .mega-intro-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #c96449;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 18px rgba(201, 100, 73, 0.25);
  }

  .mega-intro-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #14213d;
    line-height: 1.25;
    margin: 0;
  }

  .mega-intro-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #526071;
    margin: 0;
  }

  .mega-columns-grid {
    padding: 1.85rem 2.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .mega-col-heading {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #c96449;
    margin: 0 0 1rem;
  }

  .mega-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .mega-link-list li a {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    margin: 0 -0.5rem;
    border-radius: 8px;
    transition: background 0.18s ease, transform 0.18s ease;
  }

  .mega-link-list li a:hover {
    background: #f8f6f0;
    transform: translateX(3px);
  }

  .mega-link-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: #14213d;
  }

  .mega-link-title i {
    font-size: 0.68rem;
    color: #c96449;
    transition: transform 0.18s ease;
  }

  .mega-link-list li a:hover .mega-link-title {
    color: #c96449;
  }

  .mega-link-list li a:hover .mega-link-title i {
    transform: translateX(2px);
  }

  .mega-link-sub {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
  }
}

/* ---------- OVERLAY ---------- */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 51, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  /* z-index: 1100; */
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- MOBILE / TABLET DRAWER & ACCORDIONS (<= 1100px) ---------- */
@media (max-width: 1100px) {
  .header-container {
    min-height: 80px;
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }

  .brand .school-name {
    font-size: 1rem;
    white-space: normal;
  }

  .brand-reg {
    font-size: 0.6rem;
  }

  .brand-addr {
    font-size: 0.66rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #0f1c33 0%, #14213d 100%);
    color: #ffffff;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
  }

  .main-nav.drawer-open {
    transform: translateX(0);
  }

  .nav-brand-block {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem;
    border-bottom: 3px solid #c9a227;
    background: rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
  }

  .nav-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #c9a227;
    object-fit: cover;
    background: #ffffff;
    padding: 2px;
    flex-shrink: 0;
  }

  .nav-brand-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
  }

  .nav-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    white-space: normal;
    word-break: break-word;
  }

  .nav-reg {
    font-size: 0.54rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #e3c766;
    margin-top: 2px;
  }

  .nav-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s ease;
    flex-shrink: 0;
    touch-action: manipulation;
  }

  .nav-close:hover {
    background: rgba(201, 162, 39, 0.3);
  }

  .nav-list {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 162, 39, 0.4) transparent;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 0.78rem 0.9rem;
    font-size: 0.92rem;
    border-radius: 8px;
    justify-content: flex-start;
  }

  .nav-icon {
    display: inline-block;
  }

  .nav-text {
    flex: 1;
    text-align: left;
  }

  .nav-link.active {
    background: #c9a227;
    color: #0f1c33;
    font-weight: 700;
  }

  .main-nav .nav-item.has-dropdown:not(.has-mega-menu) > .dropdown {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    border-top: none;
    border-left: 2px solid rgba(201, 162, 39, 0.55);
    border-radius: 0 8px 8px 0;
    margin: 0.2rem 0 0.45rem 1.2rem;
    padding: 0.25rem 0.25rem 0.25rem 0.5rem;
    min-width: 0;
    list-style: none;
    transition: none;
  }

  .main-nav .nav-item.has-dropdown:not(.has-mega-menu).open > .dropdown,
  .main-nav .nav-item.has-dropdown:not(.has-mega-menu).is-open > .dropdown {
    display: block;
  }

  .main-nav .nav-item.has-dropdown.open > .nav-link .dropdown-icon,
  .main-nav .nav-item.has-dropdown.is-open > .nav-link .dropdown-icon {
    transform: rotate(180deg);
  }

  .dropdown li a {
    display: block;
    color: #b8c2d6;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    touch-action: manipulation;
  }

  .dropdown li a:hover {
    background: rgba(201, 162, 39, 0.16);
    color: #ffffff;
  }

  .main-nav .nav-item.has-mega-menu > .mega-menu-panel {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    border-top: none;
    border-bottom: none;
    border-left: 2px solid rgba(201, 162, 39, 0.55);
    border-radius: 0 8px 8px 0;
    margin: 0.25rem 0 0.5rem 1.2rem;
    padding: 0.4rem 0.25rem 0.4rem 0.65rem;
  }

  .main-nav .nav-item.has-mega-menu.open > .mega-menu-panel,
  .main-nav .nav-item.has-mega-menu.is-open > .mega-menu-panel {
    display: block;
  }

  .mega-intro-col {
    display: none;
  }

  .mega-columns-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mega-col-heading {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e3c766;
    margin-bottom: 0.25rem;
  }

  .mega-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .mega-link-list li a {
    display: flex;
    flex-direction: column;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    text-decoration: none;
    color: #dbe2ee;
    touch-action: manipulation;
  }

  .mega-link-list li a:hover {
    background: rgba(201, 162, 39, 0.16);
    color: #ffffff;
  }

  .mega-link-title {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .mega-link-title i {
    font-size: 0.62rem;
    color: #c9a227;
  }

  .mega-link-sub {
    display: none;
  }

  .nav-footer {
    display: block;
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
  }

  .nav-addr {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: #b8c2d6;
  }

  .nav-addr i {
    color: #c9a227;
    font-size: 0.7rem;
  }
}
@media (max-width: 1100px) {
  .site-header .main-nav .nav-item.has-dropdown:not(.has-mega-menu) > .dropdown {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    border-top: none;
    border-left: 2px solid #c9a227;
    border-radius: 0 8px 8px 0;
    margin: 0.25rem 0 0.45rem 1.2rem;
    padding: 0.25rem 0.25rem 0.25rem 0.5rem;
    min-width: 0;
    transition: none;
  }

  .site-header .main-nav .nav-item.has-dropdown:not(.has-mega-menu).open > .dropdown,
  .site-header .main-nav .nav-item.has-dropdown:not(.has-mega-menu).is-open > .dropdown {
    display: block;
  }

  .site-header .main-nav .nav-item.has-mega-menu > .mega-menu-panel {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    border-top: none;
    border-bottom: none;
    border-left: 2px solid #c9a227;
    border-radius: 0 8px 8px 0;
    margin: 0.25rem 0 0.5rem 1.2rem;
    padding: 0.4rem 0.25rem 0.4rem 0.65rem;
  }

  .site-header .main-nav .nav-item.has-mega-menu.open > .mega-menu-panel,
  .site-header .main-nav .nav-item.has-mega-menu.is-open > .mega-menu-panel {
    display: block;
  }
}
/* =========================================================
   style.css — HAES Website Main Stylesheet
   ========================================================= */

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

/* body {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  background-color: #f8f9fb;
  color: #14213d;
  line-height: 1.5;
  font-weight: 400;
} */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a227;
  background: rgba(201, 162, 39, 0.12);
  padding: 0.35rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #14213d;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #c9a227, #e3c766);
  border-radius: 4px;
  margin: 1.2rem auto 0;
}

.section-header.light .section-title { color: #ffffff; }
.section-header.light .section-subtitle { color: #b8c2d6; }

/* =========================================================
   HEADER (From previous steps)
   ========================================================= */
/* Assuming your header styles are already here in your actual file */

/* =========================================================
   HERO SLIDER (Auto Height, Frameless Title & Clean Gap)
   ========================================================= */
.hero-slider {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  overflow: hidden;
}

.slides {
  position: relative;
  display: block;
  width: 100%;
}

.slide {
  position: relative;
  width: 100%;
  display: none;
  flex-direction: column;
}

.slide.active {
  display: flex;
  animation: slideEnter 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideEnter {
  from {
    opacity: 0.35;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Image Area: auto height driven cleanly by aspect-ratio */
.slide-bg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #14213d;
}

/* Left contrast vignette (bottom white fog disabled):
 * Darkens the left side of the slide image (.slide-bg) so the
 * slide title and tag remain clearly legible.
 */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Bottom white fog blend (commented out):
    linear-gradient(
      to bottom,
      rgba(15, 28, 51, 0.18) 0%,
      rgba(15, 28, 51, 0.38) 65%,
      rgba(255, 255, 255, 0.96) 100%
    ),
    */
    linear-gradient(
      to right,
      rgba(15, 28, 51, 0.68) 0%,
      rgba(15, 28, 51, 0.32) 48%,
      rgba(15, 28, 51, 0) 80%
    );
  z-index: 2;
  pointer-events: none;
}

/* Text Area */
.slide-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 5rem 2rem 5%;
  z-index: 3;
  pointer-events: none;
}

.slide-content > * {
  pointer-events: auto;
}

/* Stylish Frameless Tag */
.slide-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f0cf65;
  margin-bottom: 0.6rem;
  padding: 0 0 0 0.85rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.slide-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #c9a227;
}

/* Stylish Frameless Title */
.slide-content h1 {
  position: relative;
  max-width: 22ch;
  font-size: clamp(1.65rem, 3.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  padding: 0;
  text-shadow:
    0 2px 14px rgba(10, 18, 36, 0.75),
    0 6px 28px rgba(10, 18, 36, 0.45);
}

/* Gold accent bar below title */
.slide-content h1::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  margin-top: 0.75rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #e3c766, #c9a227);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.slide.active .slide-content h1::after {
  width: 72px;
}

/* Navigation Arrows Hidden */
.slider-arrow {
  display: none !important;
}

/* Indicators Visible */
.slider-indicators {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(20, 33, 61, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator:hover {
  background: rgba(201, 162, 39, 0.65);
  border-color: #c9a227;
}

.indicator.active {
  background: #c9a227;
  border-color: #c9a227;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.3);
  transform: scale(1.2);
}

/* Title & Tag Reveal Animations */
.animate-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide.active .animate-up {
  opacity: 1;
  transform: translateY(0);
}

.slide.active .slide-tag.animate-up {
  transition-delay: 0.15s;
}

.slide.active .delay-1 {
  transition-delay: 0.3s;
}

/* =========================================================
   MESSAGE FROM THE CHAIRMAN (Refined Hierarchy & Balance)
   ========================================================= */
.chairman-section {
  margin-top: 0;
  padding: clamp(3rem, 3.5vw, 5.5rem) 0;
  background: linear-gradient(180deg, #fbfaf7 0%, #f4f6f3 60%, #faf8f4 100%);
  position: relative;
  overflow: hidden;
}

.chairman-section .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
}

/* Top Section Heading */
.chairman-section-heading {
  margin-bottom: 1.25rem;
}

.chairman-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.6px;
  color: #b08b1b;
  margin-bottom: 0.4rem;
}

.chairman-heading {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
}

.chairman-heading-line {
  width: 68px;
  height: 3.5px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #e07a5f);
}

/* Colorful Animated Background Circles */
.chairman-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  z-index: 0;
  opacity: 0.72;
  pointer-events: none;
  will-change: transform;
  animation: chairmanCircleFloat 14s infinite alternate ease-in-out;
}

.blob-1 {
  top: -6%;
  right: 4%;
  width: clamp(220px, 28vw, 380px);
  height: clamp(220px, 28vw, 380px);
  background: radial-gradient(circle, rgba(224, 122, 95, 0.34), rgba(201, 162, 39, 0.14) 70%, transparent);
  animation-delay: 0s;
}

.blob-2 {
  bottom: -8%;
  left: -4%;
  width: clamp(210px, 26vw, 360px);
  height: clamp(210px, 26vw, 360px);
  background: radial-gradient(circle, rgba(76, 140, 92, 0.28), rgba(201, 162, 39, 0.14) 70%, transparent);
  animation-delay: -3.5s;
  animation-duration: 16s;
}

.blob-3 {
  top: 22%;
  left: 38%;
  width: clamp(150px, 20vw, 270px);
  height: clamp(150px, 20vw, 270px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.3), rgba(224, 122, 95, 0.1) 70%, transparent);
  animation-delay: -7s;
  animation-duration: 18s;
}

.blob-4 {
  bottom: 12%;
  right: 26%;
  width: clamp(130px, 18vw, 230px);
  height: clamp(130px, 18vw, 230px);
  background: radial-gradient(circle, rgba(20, 33, 61, 0.16), rgba(76, 140, 92, 0.12) 70%, transparent);
  animation-delay: -5s;
  animation-duration: 15s;
}

@keyframes chairmanCircleFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(24px, -24px) scale(1.07);
  }
  100% {
    transform: translate(-18px, 20px) scale(0.95);
  }
}

/* Hide old frame pseudo-elements & quote icon */
.chairman-accent-shape,
.chairman-img-frame::before,
.quote-icon {
  display: none !important;
}

/* Keep chairman text/image visible immediately */
.chairman-section .reveal,
.chairman-section .reveal.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* =========================================================
   GRID & CONTENT LAYOUT
   ========================================================= */
.chairman-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start; /* Keeps text & image aligned at the top instead of centering into a gap */
  position: relative;
  z-index: 2;
}

/* ---------- Text Content ---------- */
.chairman-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 58ch;
  min-width: 0;
  margin-top: 0;
}

.chairman-name {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.2;
  margin: 0 0 0.25rem;
  letter-spacing: -0.015em;
}

.chairman-title-red {
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  color: #c96449;
  line-height: 1.35;
  margin: 0 0 0.65rem;
}

.chairman-subtitle {
  font-size: clamp(0.76rem, 0.95vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  padding-bottom: 0.7rem;
  position: relative;
}

.chairman-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 2.5px;
  background: #c9a227;
  border-radius: 2px;
}

/* Unframed Quote Text */
.chairman-quote {
  position: relative;
  width: 100%;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-style: italic;
  color: #1e293b;
  line-height: 1.78;
  margin: 0 0 1.5rem;
  padding: 0.1rem 0 0.1rem 1.2rem;
  background: none;
  backdrop-filter: none;
  border: none;
  border-left: 3px solid #e07a5f;
  box-shadow: none;
  border-radius: 0;
}

/* Biography */
.chairman-bio {
  width: 100%;
}

.chairman-bio h4 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #14213d;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.chairman-bio p {
  font-size: clamp(0.93rem, 1.05vw, 0.98rem);
  color: #526071;
  line-height: 1.75;
  margin: 0;
}

/* Expandable Extra Text */
.chairman-more-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.chairman-more-text.open {
  max-height: 400px;
  opacity: 1;
  margin-top: 0.75rem;
}

/* Read More Button Below Text */
.chairman-actions {
  margin-top: 1.45rem;
}

.chairman-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: #14213d;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(20, 33, 61, 0.14);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.chairman-read-more-btn:hover {
  background: #c9a227;
  color: #0f1c33;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(201, 162, 39, 0.26);
}

.chairman-read-more-btn i {
  font-size: 0.78rem;
  transition: transform 0.25s ease;
}

.chairman-read-more-btn.expanded i {
  transform: rotate(90deg);
}

/* ---------- Unframed Image Area + Upper-Right Crest Logo ---------- */
.chairman-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  background: none;
  min-width: 0;
}

.chairman-img-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 0;
  background: none;
  backdrop-filter: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.chairman-img-frame:hover {
  transform: translateY(-4px);
}

.chairman-img-frame > img:first-child {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
  background: none;
  box-shadow: none;
  border: none;
}

/* Crest Logo positioned in the upper-right area */
.chairman-crest-logo {
  position: absolute;
  top: clamp(0.5rem, 1.8vw, 0.9rem);
  right: clamp(0.5rem, 1.8vw, 0.9rem);
  width: auto;
  height: clamp(54px, 6.5vw, 84px);
  max-width: 110px;
  object-fit: contain;
  display: block;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(15, 28, 51, 0.16));
  animation: crestPulse 5s ease-in-out infinite alternate;
}

@keyframes crestPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-3px) scale(1.03);
  }
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS (TABLET & MOBILE)
   ========================================================= */
@media (max-width: 1024px) {
  .chairman-section-heading {
    text-align: center;
  }

  .chairman-heading-line {
    margin-left: auto;
    margin-right: auto;
  }

  .chairman-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .chairman-content {
    align-items: center;
    max-width: 100%;
    order: 1;
  }

  .chairman-image {
    order: 2;
  }

  .chairman-img-frame {
    max-width: 340px;
  }

  .chairman-crest-logo {
    height: 58px;
    max-width: 95px;
  }

  .chairman-subtitle::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .chairman-quote {
    text-align: left;
    padding: 0.1rem 0 0.1rem 1.1rem;
    border-left: 3px solid #e07a5f;
    border-top: none;
  }
}

@media (max-width: 600px) {
  .chairman-section {
    padding: 1.75rem 0 2.5rem;
  }

  .chairman-grid {
    gap: 1.75rem;
  }

  .chairman-img-frame {
    max-width: 280px;
  }

  .chairman-crest-logo {
    top: 0.45rem;
    right: 0.45rem;
    height: 48px;
    max-width: 78px;
  }

  .chairman-quote {
    margin-bottom: 1.35rem;
  }

  .chairman-read-more-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chairman-blob,
  .chairman-crest-logo,
  .chairman-img-frame,
  .chairman-more-text,
  .chairman-read-more-btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
/* =========================================================
   ABOUT SECTION (Chairman-Matched Gradient & Animated Circles)
   ========================================================= */
.about-section {
  padding: clamp(3.5rem, 6.5vw, 5.75rem) 0;
  background: linear-gradient(180deg, #faf8f4 0%, #f5f7f4 55%, #fbfaf7 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(20, 33, 61, 0.06);
}

.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
  position: relative;
  z-index: 2;
}

/* Soft Animated Background Circles */
.about-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  z-index: 0;
  opacity: 0.65;
  pointer-events: none;
  will-change: transform;
  animation: aboutCircleFloat 15s infinite alternate ease-in-out;
}

.about-blob-1 {
  top: -6%;
  left: -5%;
  width: clamp(220px, 28vw, 380px);
  height: clamp(220px, 28vw, 380px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28), rgba(224, 122, 95, 0.1) 70%, transparent);
  animation-delay: 0s;
}

.about-blob-2 {
  bottom: -8%;
  right: -4%;
  width: clamp(230px, 30vw, 410px);
  height: clamp(230px, 30vw, 410px);
  background: radial-gradient(circle, rgba(224, 122, 95, 0.26), rgba(201, 162, 39, 0.12) 70%, transparent);
  animation-delay: -4s;
  animation-duration: 17s;
}

.about-blob-3 {
  top: 38%;
  right: 32%;
  width: clamp(160px, 22vw, 300px);
  height: clamp(160px, 22vw, 300px);
  background: radial-gradient(circle, rgba(76, 140, 92, 0.2), rgba(201, 162, 39, 0.08) 70%, transparent);
  animation-delay: -7s;
  animation-duration: 19s;
}

@keyframes aboutCircleFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-22px, 24px) scale(1.06);
  }
  100% {
    transform: translate(20px, -18px) scale(0.95);
  }
}

/* Left-Aligned Section Header */
.about-section .section-header {
  text-align: left;
  max-width: 760px;
  margin: 0 0 clamp(2rem, 3.8vw, 3rem);
}

.about-section .section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: #a68014;
  margin-bottom: 0.55rem;
}

.about-section .section-title {
  font-size: clamp(1.55rem, 2.9vw, 2.25rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

.about-section .section-divider {
  width: 68px;
  height: 3.5px;
  margin: 0.9rem 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #c96449);
}

/* Main Grid */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.92fr);
  gap: clamp(2.25rem, 4.5vw, 4.25rem);
  align-items: start;
}

/* Editorial Paragraphs */
.about-text {
  min-width: 0;
}

.about-text p {
  color: #475569;
  font-size: clamp(0.96rem, 1.12vw, 1.02rem);
  line-height: 1.82;
  margin: 0 0 1.15rem;
  text-align: justify;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.about-text strong {
  color: #14213d;
  font-weight: 700;
}

/* Highlight Cards — Frosted Surface with Gold & Terracotta Accents */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

.highlight-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: clamp(1.15rem, 2vw, 1.45rem);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-left: 4px solid #c9a227;
  box-shadow: 0 8px 22px rgba(20, 33, 61, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.highlight-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20, 33, 61, 0.09);
}

.highlight-card .highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.14);
  color: #a68014;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.highlight-card--terracotta {
  border-left-color: #c96449;
}

.highlight-card--terracotta .highlight-icon {
  background: rgba(201, 100, 73, 0.13);
  color: #c96449;
}

.highlight-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #14213d;
  line-height: 1.35;
  margin: 0 0 0.4rem;
}

.highlight-card p {
  font-size: 0.87rem;
  color: #526071;
  line-height: 1.58;
  margin: 0;
}

/* Image & Floating Legacy Badge */
.about-image {
  position: relative;
  min-width: 0;
  padding-bottom: 1.1rem;
}

.about-image-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.13);
}

.about-image img {
  width: 100%;
  height: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image:hover img {
  transform: scale(1.025);
}

.about-image-badge {
  position: absolute;
  bottom: 0;
  left: clamp(0.75rem, 2.2vw, 1.35rem);
  z-index: 3;
  background: #14213d;
  color: #ffffff;
  padding: 1.05rem 1.4rem;
  border-radius: 14px;
  border-bottom: 3.5px solid #c9a227;
  box-shadow: 0 12px 26px rgba(20, 33, 61, 0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.badge-number {
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  color: #e3c766;
}

.badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #f1f5f9;
  margin-top: 0.3rem;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS (TABLET & MOBILE)
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .about-image {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 2.5rem 0;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    margin-top: 1.4rem;
  }

  .about-image img {
    aspect-ratio: 4 / 3;
  }

  .about-image-badge {
    left: 0.85rem;
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-blob,
  .about-image img,
  .highlight-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
/* =========================================================
   VISION & MISSION (Chairman & About Matched Surface)
   ========================================================= */
.vision-mission-section {
  padding: clamp(3.75rem, 0vw, 6rem) 0;
  background: linear-gradient(180deg, #faf8f4 0%, #f5f7f4 55%, #fbfaf7 100%);
  position: relative;
  overflow: hidden;
  color: #14213d;
  border-top: 1px solid rgba(20, 33, 61, 0.06);
}

.vision-mission-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
  position: relative;
  z-index: 2;
}

/* Soft Animated Background Circles */
.vm-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  z-index: 0;
  opacity: 0.62;
  pointer-events: none;
  will-change: transform;
  animation: vmCircleFloat 15s infinite alternate ease-in-out;
}

.vm-blob-1 {
  top: -7%;
  right: -4%;
  width: clamp(220px, 28vw, 380px);
  height: clamp(220px, 28vw, 380px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28), rgba(201, 100, 73, 0.1) 70%, transparent);
  animation-delay: 0s;
}

.vm-blob-2 {
  bottom: -9%;
  left: -4%;
  width: clamp(230px, 30vw, 410px);
  height: clamp(230px, 30vw, 410px);
  background: radial-gradient(circle, rgba(201, 100, 73, 0.24), rgba(201, 162, 39, 0.1) 70%, transparent);
  animation-delay: -4s;
  animation-duration: 17s;
}

.vm-blob-3 {
  top: 34%;
  left: 42%;
  width: clamp(160px, 22vw, 300px);
  height: clamp(160px, 22vw, 300px);
  background: radial-gradient(circle, rgba(76, 140, 92, 0.2), rgba(201, 162, 39, 0.08) 70%, transparent);
  animation-delay: -7s;
  animation-duration: 19s;
}

@keyframes vmCircleFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -22px) scale(1.06);
  }
  100% {
    transform: translate(-18px, 18px) scale(0.95);
  }
}

/* Header — Aligned to Left Side */
.vision-mission-section .section-header {
  text-align: left;
  max-width: 720px;
  margin: 0 0 clamp(2.25rem, 4vw, 3.25rem);
}

.vision-mission-section .section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: #a68014;
  margin-bottom: 0.5rem;
}

.vision-mission-section .section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.vision-mission-section .section-divider {
  width: 72px;
  height: 3.5px;
  margin: 0.85rem 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #c96449);
}

/* Cards Grid */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.vm-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(20, 33, 61, 0.1);
  border-radius: 18px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.4rem);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.06);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 20px 42px rgba(20, 33, 61, 0.1);
}

/* Gold accent on Vision, Terracotta accent on Mission */
.vm-card.vision {
  border-top: 4px solid #c9a227;
}

.vm-card.mission {
  border-top: 4px solid #c96449;
}

.vm-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.35rem;
}

.vm-card.vision .vm-icon {
  background: rgba(201, 162, 39, 0.15);
  color: #a68014;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.vm-card.mission .vm-icon {
  background: rgba(201, 100, 73, 0.14);
  color: #c96449;
  border: 1px solid rgba(201, 100, 73, 0.28);
}

.vm-card h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 700;
  color: #14213d;
  margin: 0 0 1rem;
}

.vm-card p {
  color: #334155;
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  line-height: 1.78;
  margin: 0;
}

.mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.mission-list li {
  position: relative;
  padding-left: 1.75rem;
  color: #334155;
  font-size: clamp(0.93rem, 1.05vw, 0.98rem);
  line-height: 1.68;
}

.mission-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: #c96449;
  font-size: 0.85rem;
}

/* Subtle Watermark */
.vm-watermark {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: clamp(3.2rem, 5vw, 4.75rem);
  font-weight: 800;
  color: rgba(20, 33, 61, 0.045);
  letter-spacing: 3px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Bottom Tagline */
.vision-mission-section .vm-tagline {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.5vw, 1.85rem);
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 33, 61, 0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.06);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 800;
  color: #a68014;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.vision-mission-section .vm-tagline span:nth-child(3) {
  color: #14213d;
}

.vision-mission-section .vm-tagline span:nth-child(5) {
  color: #c96449;
}

.vision-mission-section .vm-tagline i {
  font-size: 0.45rem;
  color: rgba(20, 33, 61, 0.35);
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS (TABLET & MOBILE)
   ========================================================= */
@media (max-width: 900px) {
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .vision-mission-section {
    padding: 2.75rem 0;
  }

  .vm-card {
    padding: 1.4rem 1.25rem;
    border-radius: 14px;
  }

  .vm-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .vm-tagline {
    gap: 0.65rem 1rem;
    letter-spacing: 1.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vm-blob,
  .vm-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
/* =========================================================
   STATS / INSTITUTION OVERVIEW SECTION (Sleek & Cohesive)
   ========================================================= */
.stats-section {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(20, 33, 61, 0.06);
}

.stats-section .container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
  position: relative;
  z-index: 2;
}

/* Soft Floating Background Blobs */
.stats-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  will-change: transform;
  animation: statsBlobFloat 16s infinite alternate ease-in-out;
}

.stats-blob-1 {
  top: -8%;
  right: 8%;
  width: clamp(200px, 26vw, 340px);
  height: clamp(200px, 26vw, 340px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 72%);
}

.stats-blob-2 {
  bottom: -10%;
  left: 6%;
  width: clamp(200px, 26vw, 340px);
  height: clamp(200px, 26vw, 340px);
  background: radial-gradient(circle, rgba(201, 100, 73, 0.18), transparent 72%);
  animation-delay: -5s;
}

@keyframes statsBlobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-18px, 18px) scale(1.05); }
}

/* Left-Aligned Header */
.stats-section .section-header {
  text-align: left;
  max-width: 720px;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
}

.stats-section .section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #a68014;
  margin-bottom: 0.45rem;
}

.stats-section .section-title {
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
}

.stats-section .section-subtitle {
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  font-style: italic;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.stats-section .section-divider {
  width: 64px;
  height: 3px;
  margin: 0.85rem 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #c96449);
}

/* Unified 5-Column Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* Sleek Frosted Glass Stat Cards */
.stat-card {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.5rem 1rem 1.4rem;
  text-align: center;
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease,
              background 0.28s ease,
              border-color 0.28s ease;
}

/* Subtle Centered Top Accent Bar (no corner clipping) */
.stat-card::before {
  content: '';
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: #c9a227;
  margin-bottom: 1rem;
  transition: width 0.28s ease, background 0.28s ease;
}

.stat-card--terracotta::before {
  background: #c96449;
}

.stat-card--navy::before {
  background: #14213d;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 14px 32px rgba(20, 33, 61, 0.08);
}

.stat-card:hover::before {
  width: 52px;
}

/* Compact Icon Badge */
.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.12);
  color: #a68014;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.95rem;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.stat-card:hover .stat-icon {
  background: #c9a227;
  color: #ffffff;
  transform: translateY(-2px);
}

.stat-card--terracotta .stat-icon {
  background: rgba(201, 100, 73, 0.12);
  color: #c96449;
}

.stat-card--terracotta:hover .stat-icon {
  background: #c96449;
  color: #ffffff;
}

.stat-card--navy .stat-icon {
  background: rgba(20, 33, 61, 0.08);
  color: #14213d;
}

.stat-card--navy:hover .stat-icon {
  background: #14213d;
  color: #e3c766;
}

/* Numbers & Typography */
.stat-number-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.stat-number,
.stat-suffix {
  font-size: clamp(1.65rem, 2.2vw, 2.05rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  color: #c9a227;
  margin-left: 1px;
}

.stat-card--terracotta .stat-suffix {
  color: #c96449;
}

.stat-card--navy .stat-suffix {
  color: #a68014;
}

.stat-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #14213d;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.45;
  margin-top: auto;
  padding-top: 0.15rem;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS (TABLET & MOBILE)
   ========================================================= */
@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card--navy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .stats-section {
    padding: 2.5rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .stat-card--navy {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stats-blob,
  .stat-card,
  .stat-card::before,
  .stat-icon {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
/* =========================================================
   LATEST UPDATES & UPCOMING EVENTS (Soft & Cohesive)
   ========================================================= */
.updates-events-section {
  padding: clamp(3.75rem, 7vw, 6rem) 0;
  background: linear-gradient(180deg, #faf8f4 0%, #f5f7f4 55%, #fbfaf7 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(20, 33, 61, 0.06);
}

.updates-events-section::before {
  display: none;
}

.updates-events-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
  position: relative;
  z-index: 2;
}

/* Soft Floating Background Blobs */
.ue-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
  z-index: 0;
  opacity: 0.48;
  pointer-events: none;
  will-change: transform;
  animation: ueBlobFloat 16s infinite alternate ease-in-out;
}

.ue-blob-1 {
  top: -8%;
  left: -4%;
  width: clamp(220px, 28vw, 360px);
  height: clamp(220px, 28vw, 360px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 72%);
}

.ue-blob-2 {
  bottom: -10%;
  right: -4%;
  width: clamp(220px, 28vw, 370px);
  height: clamp(220px, 28vw, 370px);
  background: radial-gradient(circle, rgba(201, 100, 73, 0.18), transparent 72%);
  animation-delay: -5s;
}

@keyframes ueBlobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(18px, -18px) scale(1.05); }
}

/* Left-Aligned Header */
.updates-events-section .section-header {
  text-align: left;
  max-width: 740px;
  margin: 0 0 clamp(2rem, 3.8vw, 3rem);
}

.updates-events-section .section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: #a68014;
  margin-bottom: 0.5rem;
}

.updates-events-section .section-title {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

.updates-events-section .section-divider {
  width: 68px;
  height: 3.5px;
  margin: 0.9rem 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #c96449);
}

/* Main Grid */
.ue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
  position: relative;
  z-index: 2;
}

.ue-box {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 61, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ue-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20, 33, 61, 0.08);
  border-color: rgba(201, 162, 39, 0.35);
}

/* Card Headers */
.ue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  color: #ffffff;
}

.updates-box .ue-header {
  background: linear-gradient(90deg, #14213d 0%, #1e325c 100%);
  border-bottom: 3px solid #c9a227;
}

.events-box .ue-header {
  background: linear-gradient(90deg, #b8583e 0%, #c96449 100%);
  border-bottom: 3px solid #e3c766;
}

.ue-header h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
}

.ue-view-all {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #e3c766;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: gap 0.2s ease, color 0.2s ease;
}

.events-box .ue-view-all {
  color: #fff6d6;
}

.ue-view-all:hover {
  gap: 0.65rem;
  color: #ffffff;
}

/* List & Items */
.ue-list {
  padding: 0.35rem 0;
}

.ue-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.15rem 1.6rem;
  border-bottom: 1px solid rgba(20, 33, 61, 0.06);
  transition: background 0.2s ease;
}

.ue-item:last-child {
  border-bottom: none;
}

.ue-item:hover {
  background: rgba(250, 248, 244, 0.85);
}

/* Date Badges */
.ue-date {
  flex-shrink: 0;
  width: 56px;
  height: 58px;
  border-radius: 12px;
  background: rgba(20, 33, 61, 0.06);
  border: 1px solid rgba(20, 33, 61, 0.1);
  color: #14213d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ue-date.event-date {
  background: rgba(201, 100, 73, 0.11);
  border-color: rgba(201, 100, 73, 0.22);
  color: #b8583e;
}

.ue-day {
  font-size: 1.3rem;
  font-weight: 800;
}

.ue-month {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}

/* Content & Pills */
.ue-content {
  min-width: 0;
  flex: 1;
}

.ue-content a {
  display: block;
  color: #14213d;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: 0.45rem;
  transition: color 0.2s ease;
}

.updates-box .ue-content a:hover {
  color: #a68014;
}

.events-box .ue-content a:hover {
  color: #c96449;
}

.ue-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #a68014;
  background: rgba(201, 162, 39, 0.14);
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
}

.ue-tag.event-tag {
  color: #b8583e;
  background: rgba(201, 100, 73, 0.12);
}

@media (max-width: 960px) {
  .ue-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .updates-events-section {
    padding: 2.75rem 0;
  }

  .ue-header {
    padding: 1rem 1.2rem;
  }

  .ue-item {
    padding: 1rem 1.2rem;
    gap: 0.9rem;
  }

  .ue-date {
    width: 50px;
    height: 52px;
    border-radius: 10px;
  }

  .ue-day {
    font-size: 1.15rem;
  }

  .ue-content a {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ue-blob,
  .ue-box,
  .ue-view-all {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
.updates-events-section .ue-box {
  opacity: 1 !important;
  visibility: visible !important;
}
/* =========================================================
   GALLERY SECTION (Soft Gradient & Horizontal Scroll)
   ========================================================= */
.gallery-section {
  padding: clamp(3.75rem, 7vw, 6rem) 0;
  background: linear-gradient(180deg, #fbfaf7 0%, #f5f7f4 55%, #faf8f4 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(20, 33, 61, 0.06);
}

.gallery-section .container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
  position: relative;
  z-index: 2;
}

/* Soft Floating Background Blobs */
.gallery-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(54px);
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  will-change: transform;
  animation: galleryBlobFloat 16s infinite alternate ease-in-out;
}

.gallery-blob-1 {
  top: -8%;
  left: -4%;
  width: clamp(220px, 28vw, 360px);
  height: clamp(220px, 28vw, 360px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.2), transparent 72%);
}

.gallery-blob-2 {
  bottom: -10%;
  right: -4%;
  width: clamp(220px, 28vw, 380px);
  height: clamp(220px, 28vw, 380px);
  background: radial-gradient(circle, rgba(201, 100, 73, 0.18), transparent 72%);
  animation-delay: -5s;
}

@keyframes galleryBlobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(18px, -18px) scale(1.05); }
}

/* Header + Arrow Controls Row */
.gallery-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 3.2vw, 2.5rem);
}

.gallery-section .section-header {
  text-align: left;
  max-width: 680px;
  margin: 0;
}

.gallery-section .section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: #a68014;
  margin-bottom: 0.45rem;
}

.gallery-section .section-title {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}

.gallery-section .section-subtitle {
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.gallery-section .section-divider {
  width: 68px;
  height: 3.5px;
  margin: 0.85rem 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #c96449);
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.gallery-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(20, 33, 61, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #14213d;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 33, 61, 0.05);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.gallery-nav-btn:hover {
  background: #14213d;
  color: #e3c766;
  border-color: #14213d;
  transform: translateY(-2px);
}

/* Horizontal Scroll Track */
.gallery-track {
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.4rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0.35rem 0.15rem 1.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.65) rgba(20, 33, 61, 0.08);
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
  height: 7px;
}

.gallery-track::-webkit-scrollbar-track {
  background: rgba(20, 33, 61, 0.06);
  border-radius: 999px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #c9a227, #c96449);
  border-radius: 999px;
}

/* Gallery Card */
.gallery-item {
  flex: 0 0 clamp(280px, 31vw, 370px);
  scroll-snap-align: start;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #14213d;
  border: 1px solid rgba(20, 33, 61, 0.1);
  box-shadow: 0 10px 24px rgba(20, 33, 61, 0.08);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s ease,
              border-color 0.32s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 16px 34px rgba(20, 33, 61, 0.13);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Bottom Caption Bar */
.gallery-caption-bar {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1.2rem 1.05rem;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 22, 42, 0.88) 100%);
  z-index: 2;
  pointer-events: none;
}

.gallery-cat {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #e3c766;
  margin-bottom: 0.2rem;
}

.gallery-item:nth-child(even) .gallery-cat {
  color: #f09d80;
}

.gallery-caption-bar h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

/* Hover Expand Icon Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 51, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

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

.gallery-overlay i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c9a227;
  color: #14213d;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: scale(0.75);
  transition: transform 0.28s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* =========================================================
   LIGHTBOX MODAL
   ========================================================= */
.haes-lightbox[hidden] {
  display: none;
}

.haes-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 17, 32, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.lightbox-stage {
  margin: 0;
  max-width: min(920px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(227, 199, 102, 0.3);
}

.lightbox-stage figcaption {
  color: #f8fafc;
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.2px;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 33, 61, 0.85);
  color: #ffffff;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: #c9a227;
  color: #14213d;
  transform: scale(1.06);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.06);
}
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.reveal-init:not(.revealed) {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.haes-lightbox:not([hidden]) {
  display: flex;
}

@media (max-width: 700px) {
  .gallery-section {
    padding: 2.75rem 0;
  }

  .gallery-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-item {
    flex: 0 0 82vw;
  }

  .lightbox-prev {
    left: 0.6rem;
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }

  .lightbox-next {
    right: 0.6rem;
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }

  .lightbox-prev:hover,
  .lightbox-next:hover {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-blob,
  .gallery-item,
  .gallery-item img,
  .gallery-overlay,
  .gallery-overlay i,
  .gallery-track {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
    transform: none !important;
  }
}
/* =========================================================
   RESPONSIVE FOOTER WITH EMBEDDED MAP
   ========================================================= */
.haes-footer {
  background: linear-gradient(180deg, #0b162a 0%, #071020 100%);
  color: #e2e8f0;
  padding: clamp(3.5rem, 6vw, 4.75rem) 0 1.5rem;
  position: relative;
  border-top: 3px solid #c9a227;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
}

/* Multi-Column Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 0.95fr 1.25fr 1.35fr;
  gap: clamp(1.5rem, 2.6vw, 2.25rem);
  align-items: start;
}

/* Desktop: participate seamlessly as 2 tracks inside .footer-grid */
.footer-links-row {
  display: contents;
}

/* Brand Column */
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.14);
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  color: #e3c766;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.footer-brand-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #38bdf8;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.footer-desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1rem;
}

.footer-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 6px;
  padding: 0.42rem 0.68rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.footer-motto {
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 600;
  color: #38bdf8;
  margin: 0 0 1.15rem;
}

/* Social Icons */
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.footer-socials a:hover {
  background: #c9a227;
  border-color: #c9a227;
  color: #0b162a;
  transform: translateY(-2px);
}

/* Column Headings */
.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #ffffff;
  margin: 0 0 1.15rem;
}

/* Navigation Lists */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a i {
  font-size: 0.68rem;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  color: #e3c766;
}

.footer-links a:hover i {
  color: #e3c766;
  transform: translateX(3px);
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.footer-contact-list i {
  color: #38bdf8;
  margin-top: 0.22rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: #cbd5e1;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: #e3c766;
}

/* Responsive Map Wrapper */
.footer-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 190px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: #10203b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.footer-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e3c766;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.footer-map-link:hover {
  color: #ffffff;
  gap: 0.6rem;
}

/* Divider & Bottom Bar */
.footer-divider {
  border: 0;
  height: 1px;
  background: rgba(148, 163, 184, 0.16);
  margin: clamp(2.25rem, 4vw, 3rem) 0 1.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 3.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.footer-copyright {
  margin: 0;
  line-height: 1.5;
}

.footer-sep {
  margin: 0 0.45rem;
  color: rgba(148, 163, 184, 0.45);
}

.footer-designer {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
}

.footer-designer:hover {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.footer-legal a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Back to Top Button */
.footer-top-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #1d9bf0;
  color: #ffffff;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 999;
  transition: transform 0.22s ease, background 0.22s ease;
}

.footer-top-btn:hover {
  background: #c9a227;
  color: #0b162a;
  transform: translateY(-3px);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand-col {
    grid-column: span 2;
  }

  .footer-map-col {
    grid-column: span 1;
  }

  .footer-links-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-col,
  .footer-map-col,
  .footer-links-row {
    grid-column: 1 / -1;
  }

  .footer-map-frame {
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-links-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    grid-column: 1 / -1;
  }

  .footer-links a {
    font-size: 0.82rem;
    gap: 0.4rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 0;
    padding-bottom: 3rem;
  }

  .footer-map-frame {
    aspect-ratio: 4 / 3;
    min-height: 210px;
  }
}
/* =========================================================
   HAES HISTORY PAGE — MULTI-PANEL BANNER & GOVERNANCE
   ========================================================= */
.haes-history-page {
  width: 100%;
  overflow-x: clip;
}

/* Multi-Panel Hero Banner (Reference Inspired) */
.page-hero-banner {
  position: relative;
  min-height: clamp(230px, 30vw, 340px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0f1c33;
  border-bottom: 3px solid #c9a227;
}

.hero-panels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 1.15fr;
  gap: 3px;
}

.hero-panel {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-panel--left {
  background-position: left center;
}

.hero-panel--center {
  background-position: center center;
}

.hero-panel--right {
  background-position: right center;
}

.hero-banner-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 28, 51, 0.88) 0%,
      rgba(15, 28, 51, 0.62) 48%,
      rgba(15, 28, 51, 0.35) 100%
    ),
    linear-gradient(
      180deg,
      rgba(15, 28, 51, 0.22) 0%,
      rgba(15, 28, 51, 0.78) 100%
    );
  z-index: 1;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.25rem) 1.5rem;
}

.hero-banner-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #f0cf65;
  margin-bottom: 0.4rem;
}

.hero-banner-title {
  font-size: clamp(1.6rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin: 0 0 0.85rem;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

/* Breadcrumb Pill Matching Reference Style */
.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  background: #14532d;
  color: #ffffff;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.breadcrumb-pill a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-pill a:hover {
  color: #f0cf65;
}

.crumb-sep {
  color: rgba(255, 255, 255, 0.55);
}

.crumb-current {
  color: #f0cf65;
  font-weight: 700;
}

/* History & Governance Section */
.history-section {
  position: relative;
  padding: clamp(3.25rem, 6vw, 5.25rem) 0;
  background: linear-gradient(180deg, #fbfaf7 0%, #f4f6f3 60%, #faf8f4 100%);
  overflow: hidden;
}

.history-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
}

.history-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.history-blob--1 {
  top: -5%;
  right: 4%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.26), transparent 72%);
}

.history-blob--2 {
  bottom: -6%;
  left: -4%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(201, 100, 73, 0.22), transparent 72%);
}

.history-blob--3 {
  top: 42%;
  left: 42%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(20, 33, 61, 0.12), transparent 72%);
}

.history-header {
  max-width: 780px;
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

.history-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a68014;
  margin-bottom: 0.45rem;
}

.history-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.18;
  margin: 0 0 0.35rem;
}

.history-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 600;
  color: #c96449;
  margin: 0;
}

.history-divider {
  width: 72px;
  height: 3.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #c96449);
  margin-top: 0.9rem;
}

/* Two-Column Editorial Layout */
.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  align-items: start;
}

.history-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.06);
}

.history-card-top {
  margin-bottom: 1.25rem;
}

.history-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #14213d;
  background: rgba(201, 162, 39, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.45);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.history-badge i {
  color: #a68014;
}

.history-paragraph {
  font-size: clamp(0.96rem, 1.1vw, 1.03rem);
  line-height: 1.85;
  color: #334155;
  margin: 0 0 1.25rem;
}

.history-paragraph:last-of-type {
  margin-bottom: 0;
}

/* Milestones Strip */
.history-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.85rem;
  padding-top: 1.65rem;
  border-top: 1px solid rgba(20, 33, 61, 0.09);
}

.milestone-item {
  background: #fbfaf7;
  border: 1px solid rgba(20, 33, 61, 0.07);
  border-left: 3.5px solid #c9a227;
  border-radius: 12px;
  padding: 1rem;
}

.milestone-year {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #14213d;
  margin-bottom: 0.25rem;
}

.milestone-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #14213d;
  margin: 0 0 0.25rem;
}

.milestone-item p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #526071;
  margin: 0;
}

/* Sidebar Mandate & Governance */
.history-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mandate-card {
  background: linear-gradient(155deg, #14213d 0%, #0f1c33 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-bottom: 4px solid #c9a227;
  box-shadow: 0 16px 34px rgba(15, 28, 51, 0.18);
}

.mandate-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f0cf65;
  margin-bottom: 0.85rem;
}

.mandate-quote {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-style: italic;
  line-height: 1.75;
  color: #f8fafc;
}

.governance-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-left: 4px solid #c96449;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.05);
}

.governance-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #14213d;
  margin: 0 0 1rem;
}

.governance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.governance-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
}

.governance-list i {
  color: #c9a227;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Responsive Adjustments */
@media (max-width: 980px) {
  .history-layout {
    grid-template-columns: 1fr;
  }

  .hero-panels {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel--right {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-panels {
    grid-template-columns: 1fr;
  }

  .hero-panel--center {
    display: none;
  }

  .history-milestones {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   HAES VISION & MISSION PAGE
   ========================================================= */
.haes-vm-page {
  width: 100%;
  overflow-x: clip;
}

/* Hero Banner */
.vm-hero-banner {
  position: relative;
  min-height: clamp(230px, 30vw, 330px);
  display: flex;
  align-items: flex-end;
  background: #0f1c33;
  border-bottom: 3px solid #c9a227;
  overflow: hidden;
}

.vm-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.03);
}

.vm-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 28, 51, 0.9) 0%,
    rgba(15, 28, 51, 0.68) 55%,
    rgba(15, 28, 51, 0.35) 100%
  );
  z-index: 1;
}

.vm-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.25rem) 1.5rem;
}

.vm-hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f0cf65;
  margin-bottom: 0.35rem;
}

.vm-hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin: 0 0 0.85rem;
}

.vm-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  background: #14213d;
  color: #ffffff;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(201, 162, 39, 0.5);
}

.vm-breadcrumb a {
  color: #e2e8f0;
  text-decoration: none;
}

.vm-breadcrumb a:hover {
  color: #f0cf65;
}

.vm-sep {
  color: rgba(255, 255, 255, 0.45);
}

.vm-current {
  color: #f0cf65;
}

/* Shared Section Containers & Blobs */
.vm-vision-section,
.vm-mission-section {
  position: relative;
  padding: clamp(3.25rem, 6vw, 5.25rem) 0;
  overflow: hidden;
}

.vm-vision-section {
  background: linear-gradient(180deg, #fbfaf7 0%, #f4f6f3 100%);
}

.vm-mission-section {
  background: linear-gradient(180deg, #f4f6f3 0%, #faf8f4 100%);
  border-top: 1px solid rgba(20, 33, 61, 0.06);
}

.vm-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
}

.vm-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.58;
  z-index: 0;
}

.vm-blob--gold {
  top: -5%;
  left: -4%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28), transparent 72%);
}

.vm-blob--terracotta {
  bottom: -6%;
  right: -3%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(201, 100, 73, 0.24), transparent 72%);
}

.vm-blob--navy {
  top: 12%;
  right: 6%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(20, 33, 61, 0.14), transparent 72%);
}

.vm-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #a68014;
  margin-bottom: 0.45rem;
}

.vm-heading {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 800;
  color: #14213d;
  line-height: 1.18;
  margin: 0;
}

.vm-subtitle {
  max-width: 660px;
  margin: 0.65rem auto 0;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: #526071;
  line-height: 1.65;
}

.vm-accent-bar {
  width: 70px;
  height: 3.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a227, #c96449);
  margin-top: 0.85rem;
}

.vm-accent-bar--center {
  margin-left: auto;
  margin-right: auto;
}

/* Vision Grid */
.vm-vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.vm-vision-media {
  position: relative;
}

.vm-photo-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.14);
  border: 1px solid rgba(20, 33, 61, 0.08);
}

.vm-photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.vm-vision-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
  background: #14213d;
  color: #f0cf65;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border-bottom: 2.5px solid #c9a227;
}

.vm-vision-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-left: 4px solid #c9a227;
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.06);
}

.vm-vision-statement {
  margin: 1.35rem 0 1.5rem;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.72;
  color: #14213d;
}

.vm-pillars-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fbfaf7;
  border: 1px solid rgba(20, 33, 61, 0.1);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
}

.mini-tag i {
  color: #c96449;
}

/* Mission Section */
.vm-mission-header {
  text-align: center;
  margin-bottom: clamp(2rem, 3.8vw, 3rem);
}

.mission-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.mission-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(20, 33, 61, 0.11);
}

.mission-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #14213d;
}

.mission-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.mission-card:hover .mission-card-img-wrap img {
  transform: scale(1.04);
}

.mission-step {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: #14213d;
  color: #f0cf65;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.55);
}

.mission-card-body {
  padding: clamp(1.25rem, 2.2vw, 1.6rem);
  border-top: 3px solid #c9a227;
  flex: 1;
}

.mission-card:nth-child(2) .mission-card-body {
  border-top-color: #c96449;
}

.mission-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #14213d;
  margin: 0 0 0.55rem;
}

.mission-card-body p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .vm-vision-grid {
    grid-template-columns: 1fr;
  }

  .mission-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mission-cards-grid {
    grid-template-columns: 1fr;
  }
}
body,
button,
input,
select,
textarea,
.site-header,
.main-nav,
.nav-link,
.nav-toggle,
.nav-text,
.dropdown,
.dropdown li a,
.mega-menu-panel,
.mega-intro-title,
.mega-intro-desc,
.mega-col-heading,
.mega-link-title,
.mega-link-sub,
.menu-toggle,
.nav-close {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}
.mega-intro-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #c9a227;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(20, 33, 61, 0.14);
    overflow: hidden;
    flex-shrink: 0;
  }

  .mega-intro-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }
  /* =========================================================
   FLOATING RIGHT PILL DOCK (SLIDES OUTWARD ON HOVER)
   ========================================================= */
.haes-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  pointer-events: none;
}

.dock-tab {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 46px;
  padding: 0 1.15rem 0 0.42rem;
  border-radius: 999px 0 0 999px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: -4px 6px 16px rgba(15, 28, 51, 0.24);
  /* Tucked to the right so the icon badge stays visible and label slides out on hover */
  transform: translateX(calc(100% - 54px));
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.22s ease;
}

.dock-tab:hover,
.dock-tab:focus-visible {
  transform: translateX(0);
  box-shadow: -8px 10px 24px rgba(15, 28, 51, 0.34);
  outline: none;
}

.dock-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.dock-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
}

/* Signature colors matching the reference pill style */
.dock-admission {
  background: linear-gradient(90deg, #1d76e8 0%, #1458b8 100%);
}
.dock-admission .dock-badge {
  color: #14213d;
}

.dock-fb {
  background: linear-gradient(90deg, #1877f2 0%, #0f5ec4 100%);
}
.dock-fb .dock-badge {
  color: #1877f2;
}

.dock-yt {
  background: linear-gradient(90deg, #ff1a1a 0%, #d90000 100%);
}
.dock-yt .dock-badge {
  color: #ff0000;
}

.dock-ig {
  background: linear-gradient(90deg, #e1306c 0%, #c13584 55%, #833ab4 100%);
}
.dock-ig .dock-badge {
  color: #e1306c;
}

.dock-x {
  background: linear-gradient(90deg, #1f2937 0%, #090d16 100%);
}
.dock-x .dock-badge {
  color: #090d16;
}

/* Mobile view (<= 768px): compact pill stack at bottom-right so it never blocks drawer or text */
@media (max-width: 768px) {
  .haes-dock {
    top: auto;
    bottom: 12px;
    right: 10px;
    transform: none;
    gap: 0.35rem;
  }

  .dock-tab {
    height: 36px;
    padding: 0 0.75rem 0 0.28rem;
    gap: 0.45rem;
    border-radius: 999px;
    transform: translateX(calc(100% - 36px));
  }

  .dock-tab:hover,
  .dock-tab:focus-visible {
    transform: translateX(0);
  }

  .dock-badge {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  .dock-label {
    font-size: 0.68rem;
    letter-spacing: 0.4px;
  }
}