/* =========================================================
   THE MILLENNIUM UNIVERSITY (TMU) — CORE DESIGN SYSTEM
   Theme: Neat & Clean Soft Blue + Off-White + Logo Navy/Gold
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --tmu-navy: #0B2545;
  --tmu-navy-deep: #071A33;
  --tmu-blue: #1D5B96;
  --tmu-blue-mid: #2C74B3;
  --tmu-sky: #DCEBFA;
  --tmu-ice: #EEF5FC;
  --tmu-offwhite: #F7F9FC;
  --tmu-white: #FFFFFF;
  --tmu-gold: #B08A33;
  --tmu-gold-soft: #FBF4E3;
  --tmu-text: #1E293B;
  --tmu-muted: #5A6B82;
  --tmu-border: #D9E5F2;
  --shadow-xs: 0 2px 8px rgba(11, 37, 69, 0.05);
  --shadow-sm: 0 6px 20px rgba(11, 37, 69, 0.07);
  --shadow-md: 0 14px 36px rgba(11, 37, 69, 0.11);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--tmu-offwhite);
  color: var(--tmu-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   SMOOTH SCROLL-REVEAL ANIMATION SYSTEM
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   1. TOP UTILITY BAR (Tier 1)
   ========================================================= */
.top-utility-bar {
  background: var(--tmu-navy);
  color: #E2ECF7;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
  flex-wrap: wrap;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.utility-left a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2ECF7;
}

.utility-left a i {
  color: var(--tmu-gold);
  font-size: 12px;
}

.utility-left a:hover {
  color: #FFFFFF;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.utility-right a {
  color: #D5E4F5;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 4px;
}

.utility-right a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.utility-right a.utility-highlight {
  background: rgba(176, 138, 51, 0.24);
  color: #FDE6AE;
  border: 1px solid rgba(176, 138, 51, 0.48);
}

.utility-right a.utility-highlight:hover {
  background: var(--tmu-gold);
  color: #FFFFFF;
}

/* =========================================================
   2. MIDDLE BRAND HEADER BAR (Tier 2)
   ========================================================= */
.brand-bar {
  background: linear-gradient(90deg, #FFFFFF 0%, #F2F7FD 55%, #E7F1FC 100%);
  border-bottom: 1px solid var(--tmu-border);
  padding: 13px 0;
}

.brand-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.brand-motto-inline {
  border-left: 2px solid var(--tmu-border);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
}

.brand-motto-inline .motto-en {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 13px;
  color: var(--tmu-blue);
  font-style: italic;
}

.brand-motto-inline .motto-meta {
  font-size: 11.5px;
  color: var(--tmu-muted);
  font-weight: 600;
}

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

.btn-admission-pill {
  background: linear-gradient(135deg, var(--tmu-blue) 0%, var(--tmu-blue-mid) 100%);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(29, 91, 150, 0.22);
}

.btn-admission-pill:hover {
  background: linear-gradient(135deg, var(--tmu-navy) 0%, var(--tmu-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 37, 69, 0.28);
}

.header-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-box input {
  width: 170px;
  padding: 8px 14px 8px 34px;
  border-radius: 50px;
  border: 1px solid var(--tmu-border);
  background: #FFFFFF;
  font-size: 13px;
  color: var(--tmu-text);
  outline: none;
  transition: var(--transition);
}

.header-search-box input:focus {
  width: 210px;
  border-color: var(--tmu-blue);
  box-shadow: 0 0 0 3px rgba(29, 91, 150, 0.12);
}

.header-search-box i {
  position: absolute;
  left: 12px;
  color: var(--tmu-muted);
  font-size: 13px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  border-left: 1px solid var(--tmu-border);
}

.header-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--tmu-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tmu-blue);
  font-size: 14px;
}

.header-social a:hover {
  background: var(--tmu-blue);
  color: #FFFFFF;
  border-color: var(--tmu-blue);
  transform: translateY(-2px);
}

/* =========================================================
   3. STICKY MAIN NAVIGATION BAR (Tier 3)
   ========================================================= */
.main-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tmu-border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 15px;
  font-size: 12.8px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: var(--tmu-navy);
  position: relative;
}

.nav-link i.fa-chevron-down {
  font-size: 10px;
  color: var(--tmu-muted);
  transition: transform 0.25s ease;
}

.nav-item:hover > .nav-link,
.nav-link.active {
  color: var(--tmu-blue);
  background: var(--tmu-ice);
}

.nav-item:hover > .nav-link::after,
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tmu-blue);
}

.nav-item:hover > .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--tmu-blue);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 235px;
  background: #FFFFFF;
  border: 1px solid var(--tmu-border);
  border-top: 3px solid var(--tmu-blue);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 950;
  padding: 6px 0;
}

.nav-item.dropdown-right > .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13.2px;
  font-weight: 600;
  color: var(--tmu-text);
  border-bottom: 1px solid #F1F5FA;
}

.dropdown-menu a .menu-icon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.dropdown-menu a .menu-icon i {
  width: 16px;
  text-align: center;
  color: var(--tmu-blue);
  font-size: 13px;
}

.dropdown-menu li:last-child > a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--tmu-ice);
  color: var(--tmu-blue);
  padding-left: 22px;
}

/* Flyout Submenu */
.submenu-flyout {
  position: absolute;
  top: -6px;
  left: 100%;
  min-width: 285px;
  background: #FFFFFF;
  border: 1px solid var(--tmu-border);
  border-left: 3px solid var(--tmu-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.25s ease;
  padding: 6px 0;
}

.has-submenu:hover > .submenu-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-toggle {
  display: none;
  background: var(--tmu-ice);
  color: var(--tmu-navy);
  border: 1px solid var(--tmu-border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}

.mobile-quick-verify {
  display: none;
  background: var(--tmu-blue);
  color: #FFFFFF;
  padding: 7px 13px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  gap: 6px;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.52);
  backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  max-width: 86vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1250;
  transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.mobile-drawer.open {
  left: 0;
}

.mobile-drawer-head {
  padding: 16px 20px;
  background: var(--tmu-ice);
  border-bottom: 1px solid var(--tmu-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer-head img {
  height: 36px;
}

.mobile-close-btn {
  background: #FFFFFF;
  border: 1px solid var(--tmu-border);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--tmu-navy);
  font-size: 16px;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0 24px;
}

.mobile-drawer-body a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 22px;
  font-size: 13.8px;
  font-weight: 600;
  color: var(--tmu-navy);
  border-bottom: 1px solid #F1F5FA;
}

.mobile-drawer-body a i {
  width: 18px;
  text-align: center;
  color: var(--tmu-blue);
}

.mobile-drawer-body a:hover {
  background: var(--tmu-ice);
  color: var(--tmu-blue);
}

.mobile-sub-label {
  padding: 16px 22px 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tmu-gold);
}

/* =========================================================
   4. HERO SLIDER WITH MOSAIC TILE-SPLIT TRANSITION
   ========================================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 510px;
  overflow: hidden;
  background: var(--tmu-navy);
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-bg-current {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-tiles-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-tile {
  position: absolute;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(0.76) translateY(-18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero-tile.reveal {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    95deg,
    rgba(11, 37, 69, 0.9) 0%,
    rgba(29, 91, 150, 0.7) 52%,
    rgba(11, 37, 69, 0.38) 100%
  );
}

.hero-sun-watermark {
  position: absolute;
  right: 5%;
  bottom: -24px;
  width: 340px;
  opacity: 0.14;
  z-index: 3;
  pointer-events: none;
  filter: brightness(2);
}

.hero-content-wrap {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 660px;
  color: #FFFFFF;
  animation: heroTextIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11.8px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #FDE7B0;
  margin-bottom: 14px;
}

.hero-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 40px;
  line-height: 1.22;
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.hero-motto {
  font-size: 16.5px;
  font-weight: 600;
  color: #CFE6FF;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 14.8px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn-primary {
  background: #FFFFFF;
  color: var(--tmu-navy);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13.8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-btn-primary:hover {
  background: var(--tmu-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13.8px;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
}

.hero-btn-outline:hover {
  background: #FFFFFF;
  color: var(--tmu-navy);
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}

.hero-arrow:hover {
  background: #FFFFFF;
  color: var(--tmu-navy);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  width: 28px;
  border-radius: 20px;
  background: #FFFFFF;
}

/* =========================================================
   5. QUICK-ACTION CAROUSEL BAR
   ========================================================= */
.quick-bar-section {
  background: linear-gradient(90deg, #164878 0%, #1F5F99 50%, #164878 100%);
  border-top: 2px solid rgba(255, 255, 255, 0.16);
  border-bottom: 3px solid var(--tmu-gold);
}

.quick-bar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.quick-viewport {
  overflow: hidden;
  width: 100%;
}

.quick-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.quick-card {
  flex: 0 0 25%;
  padding: 17px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #FFFFFF;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  transition: var(--transition);
}

.quick-card i {
  font-size: 22px;
  color: #CFE6FF;
  transition: var(--transition);
}

.quick-card span {
  font-size: 13.5px;
  font-weight: 700;
}

.quick-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.quick-card:hover i {
  color: #FDE6AE;
  transform: translateY(-3px);
}

.quick-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tmu-navy);
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.quick-nav-btn:hover {
  background: var(--tmu-gold);
  color: #FFFFFF;
}

.quick-prev { left: 10px; }
.quick-next { right: 10px; }

/* =========================================================
   6. OFFICIAL DOMAIN NOTICE + SPOTLIGHT TICKER
   ========================================================= */
.spotlight-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--tmu-border);
  padding: 12px 0;
}

.domain-notice-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--tmu-gold-soft);
  border: 1px solid rgba(176, 138, 51, 0.35);
  border-left: 4px solid var(--tmu-gold);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--tmu-navy);
  flex-wrap: wrap;
}

.domain-notice-tag {
  background: var(--tmu-gold);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.domain-notice-text strong {
  color: var(--tmu-blue);
}

.domain-notice-text .old-domain {
  color: #7C5A14;
  font-weight: 700;
}

.spotlight-box {
  display: flex;
  align-items: center;
  background: var(--tmu-ice);
  border: 1px solid var(--tmu-sky);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spotlight-badge {
  background: var(--tmu-blue);
  color: #FFFFFF;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.spotlight-badge i {
  color: #FDE6AE;
}

.spotlight-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 16px;
}

.spotlight-track {
  display: inline-flex;
  gap: 48px;
  animation: tickerScroll 34s linear infinite;
}

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

.spotlight-track a {
  font-size: 13.2px;
  font-weight: 600;
  color: var(--tmu-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spotlight-track a::before {
  content: '•';
  color: var(--tmu-gold);
  font-size: 18px;
}

.spotlight-track a:hover {
  color: var(--tmu-blue);
  text-decoration: underline;
}

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

/* =========================================================
   7. COMPREHENSIVE PROFESSIONAL LARGE FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, #0D2B4E 0%, #081C36 100%);
  color: #D7E5F5;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--tmu-gold);
  margin-top: 56px;
}

.footer-watermark {
  position: absolute;
  right: -40px;
  bottom: 40px;
  width: 360px;
  opacity: 0.05;
  pointer-events: none;
  filter: brightness(3);
}

.footer-top {
  padding: 60px 0 44px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.15fr 0.95fr 1.05fr;
  gap: 34px;
}

.footer-brand-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
}

.footer-logo-badge {
  background: #FFFFFF;
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-logo-badge img {
  height: 36px;
  width: auto;
}

.footer-motto {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 12.5px;
  color: #FDE6AE;
  font-style: italic;
  margin-bottom: 8px;
}

.footer-about-text {
  font-size: 12.8px;
  color: #C3D6EB;
  line-height: 1.6;
}

.footer-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  height: 170px;
  background: #102F54;
}

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

.footer-col h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 16px;
  padding-bottom: 9px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2.5px;
  background: var(--tmu-gold);
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13.2px;
  color: #C9DCF0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 10px;
  color: var(--tmu-gold);
  transition: transform 0.25s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 13px;
  color: #D2E3F4;
}

.footer-contact-list i {
  color: var(--tmu-gold);
  margin-top: 4px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

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

.footer-addr-bn {
  color: #9BB7D4;
  font-size: 11.8px;
  display: block;
  margin-top: 2px;
}

.footer-hours-box {
  margin-top: 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--tmu-gold);
  border-radius: 6px;
  font-size: 12.2px;
  color: #D7E6F7;
}

.footer-hours-box strong {
  display: block;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.footer-directory-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  position: relative;
  z-index: 2;
}

.directory-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.directory-strip-title {
  font-size: 11.8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #FDE6AE;
}

.directory-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.directory-pills a {
  font-size: 11.8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #DCEAF8;
  padding: 5px 12px;
  border-radius: 50px;
}

.directory-pills a:hover {
  background: var(--tmu-gold);
  border-color: var(--tmu-gold);
  color: #FFFFFF;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.footer-social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 12.2px;
  font-weight: 600;
}

.footer-social-row a:hover {
  background: var(--tmu-blue-mid);
}

.footer-bottom {
  background: var(--tmu-navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  font-size: 12.2px;
  color: #A8C0D9;
  position: relative;
  z-index: 2;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

/* =========================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1080px) {
  .brand-motto-inline { display: none; }
  .header-search-box { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card { flex: 0 0 33.333%; }
}

@media (max-width: 860px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .mobile-quick-verify { display: inline-flex; }
  .hero-slider { height: 450px; }
  .hero-title { font-size: 29px; }
  .quick-card { flex: 0 0 50%; }
}

@media (max-width: 600px) {
  .utility-inner { justify-content: center; padding: 6px 0; }
  .utility-right { display: none; }
  .brand-logo-wrap img { height: 42px; }
  .btn-admission-pill { padding: 8px 14px; font-size: 12px; }
  .header-social { display: none; }
  .hero-slider { height: 420px; }
  .hero-title { font-size: 24px; }
  .hero-motto { font-size: 14px; }
  .hero-desc { font-size: 13.2px; }
  .hero-arrow { width: 35px; height: 35px; }
  .domain-notice-banner { justify-content: flex-start; font-size: 12.2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}
