/* Modern Milken-Style Design - Pixel Perfect Clone */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

:root {
  --primary-blue: #003D7A;
  --milken-blue: #1a7ec4;
  --white: #ffffff;
  --dark-overlay: rgba(0, 0, 0, 0.4);
  
  /* Milken Grid System */
  --cnt-width-1: 35px;
  --cnt-width-2: calc(var(--cnt-width-1) * 2 + 15px);
  --cnt-width-3: calc(var(--cnt-width-1) * 3 + 15px * 2);
  --cnt-width-4: calc(var(--cnt-width-1) * 4 + 15px * 3);
  --cnt-width-5: calc(var(--cnt-width-1) * 5 + 15px * 4);
  --cnt-width-6: calc(var(--cnt-width-1) * 6 + 15px * 5);
  --cnt-width-7: calc(var(--cnt-width-1) * 7 + 15px * 6);
  --cnt-width-8: calc(var(--cnt-width-1) * 8 + 15px * 7);
  --cnt-width-9: calc(var(--cnt-width-1) * 9 + 15px * 8);
  --cnt-width-10: calc(var(--cnt-width-1) * 10 + 15px * 9);
  --cnt-width-11: calc(var(--cnt-width-1) * 11 + 15px * 10);
  --cnt-width-12: calc(var(--cnt-width-1) * 12 + 15px * 11);
  --cnt-width-13: calc(var(--cnt-width-1) * 13 + 15px * 12);
  --cnt-width-14: calc(var(--cnt-width-1) * 14 + 15px * 13);
  --cnt-width-15: calc(var(--cnt-width-1) * 15 + 15px * 14);
  --cnt-width-16: calc(var(--cnt-width-1) * 16 + 15px * 15);
  --cnt-width-17: calc(var(--cnt-width-1) * 17 + 15px * 16);
  --cnt-width-18: calc(var(--cnt-width-1) * 18 + 15px * 17);
  --cnt-width-19: calc(var(--cnt-width-1) * 19 + 15px * 18);
  --cnt-width-20: calc(var(--cnt-width-1) * 20 + 15px * 19);
  --cnt-width-21: calc(var(--cnt-width-1) * 21 + 15px * 20);
  --cnt-width-22: calc(var(--cnt-width-1) * 22 + 15px * 21);
  --cnt-width-23: calc(var(--cnt-width-1) * 23 + 15px * 22);
  --cnt-width-24: calc(var(--cnt-width-1) * 24 + 15px * 23);
  --cnt-width-full: var(--cnt-width-24);
  
  --header-logo-height: 120px;
}

header.scrolled {
  --header-logo-height: 105px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #000;
  overflow-x: hidden;
}

main {
  background-color: transparent;
}

/* Video Background */
#video-bg {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--dark-overlay);
  z-index: 0;
  pointer-events: none;
}

/* Logo as home link */
.logo-link {
  display: block;
  line-height: 0;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
  padding: 0; /* Remove padding from header to allow grid to control width */
}

header.scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
}

.header-inner {
  max-width: var(--cnt-width-full);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  height: auto;
}

header.scrolled .header-inner {
  padding: 8px 15px;
}

.nav-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: auto;
  padding: 0;
  transition: all 0.3s ease;
  gap: 8px;
}

header.scrolled .nav-wrapper {
  height: auto;
  padding: 0;
}

.nav-secondary {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 25px;
  flex-wrap: wrap;
  padding-bottom: 25px;
}

.nav-secondary a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

nav.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo img {
  height: 120px;
  width: auto;
  transition: height 0.3s ease;
}

header.scrolled .logo img {
  height: 60px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-menu li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0px 4px 6px rgba(50, 50, 93, 0.11), 0px 1px 3px rgba(0, 0, 0, 0.08);
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-menu li a:hover {
  color: var(--milken-blue);
}

/* Submenu Styling - Desktop */
.nav-item-with-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 61, 122, 0.95);
  list-style: none;
  flex-direction: column;
  min-width: 200px;
  margin-top: 0;
  padding: 0.5rem 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.nav-item-with-submenu:hover .submenu {
  display: flex;
}

.submenu li {
  list-style: none;
}

.submenu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: background 0.3s ease;
  text-shadow: none;
  white-space: nowrap;
}

.submenu li a:hover {
  background: rgba(26, 126, 196, 0.3);
  color: var(--milken-blue);
}

/* Footer Style */
footer {
  background: #0b1c2b;
  color: var(--white);
  padding: 80px 10%;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo img {
  height: 80px;
  margin-bottom: 30px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
  max-width: 500px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-links ul li a:hover {
  opacity: 1;
}

.footer-accreditation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-accreditation-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.55;
  margin-right: 8px;
}

.footer-accreditation img {
  height: 42px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  display: block;
}

.footer-accreditation img.footer-accreditation-badge {
  height: 64px;
  width: 64px;
  padding: 6px;
  border-radius: 50%;
}

.footer-accreditation img.footer-accreditation-wide {
  height: 56px;
  width: auto;
  background: none;
  padding: 0;
  border-radius: 8px;
}

/* Hamburger Menu - Hide by default on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s ease;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Content */
.hero-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 15%;
  position: relative;
  z-index: 1;
  background-color: transparent !important;
}

.hero-content h1 {
  color: var(--white);
  font-size: 110px;
  font-weight: 300;
  line-height: 1;
  max-width: 1000px;
  text-transform: uppercase;
  letter-spacing: 0px;
}

/* Explore Button (Bottom Right) */
.explore-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--milken-blue);
  color: var(--white);
  padding: 25px 45px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  border-radius: 8px 0 0 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border-left: 1px solid rgba(255,255,255,0.2);
  border-top: 1px solid rgba(255,255,255,0.2);
}

.explore-btn::after {
  content: '↓';
  font-size: 20px;
  margin-top: 5px;
}

.explore-btn:hover {
  background: var(--primary-blue);
  padding-bottom: 30px;
}

/* Main Sections */
section {
  position: relative;
  z-index: 2;
  background: var(--white);
  padding: 120px 10%;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: -1px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--milken-blue);
}

.section-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--milken-blue);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  display: block;
}

p.lead-text {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 300;
  color: #555;
  max-width: 1000px;
}

/* Milken At A Glance */
.stats-section {
  background-color: var(--primary-blue);
  background-image: url('https://res.cloudinary.com/detefc5ht/image/upload/w_1400,q_70/755A622B-48AE-4B2C-8C1B-83A7B2B960D8_1_105_c_miefwg');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.stats-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 60px;
}

.stat-item {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.stat-number {
  font-size: 60px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.news-card {
  background: var(--white);
  transition: transform 0.3s;
  cursor: pointer;
}

.news-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}

.news-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--milken-blue);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.news-body h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-blue);
}

.news-card:hover {
  transform: translateY(-5px);
}

section.light-bg {
  background-color: #f0f4f8;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  color: var(--white);
  padding: 4rem 2rem;
  /* text-align: center; */
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* align-items: center; */
  /* position: relative; */
  z-index: 2;
      background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 45vh;
}

.page-hero .hero-content {
  height: auto;
  justify-content: flex-end;
  padding-left: 5%;
  padding-bottom: 2.5rem;
  padding-top: 0;
}

.page-hero .hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 300;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black at 50% opacity */
  z-index: 1; /* Places it above the background image */
}

/* Section Headers & Titles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.section-header p {
  font-size: 1.15rem;
  color: #888;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* Divisions Grid - Photo Overlay Style */
.divisions-section {
  padding: 0 !important;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.division-card {
  position: relative;
  height: 460px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.division-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.division-card:hover .division-card-bg {
  transform: scale(1.06);
}

.division-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,20,60,0.85) 0%, rgba(0,20,60,0.3) 50%, transparent 100%);
  transition: background 0.3s ease;
}

.division-card:hover .division-card-overlay {
  background: linear-gradient(to top, rgba(0,20,60,0.92) 0%, rgba(0,20,60,0.5) 60%, rgba(0,20,60,0.1) 100%);
}

.division-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2.5rem;
  color: white;
}

.division-card-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0;
  color: white;
  line-height: 1.2;
}

.division-card-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-top: 0.75rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.division-card:hover .division-card-content p {
  max-height: 120px;
  opacity: 1;
}

.division-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--milken-blue);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.75rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.division-card:hover .division-link {
  max-height: 40px;
  opacity: 1;
}

/* Plus badge like Milken */
.division-card::after {
  content: '+';
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: var(--milken-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 36px;
  text-align: center;
  transition: background 0.3s;
}

.division-card:hover::after {
  background: white;
  color: var(--milken-blue);
}

/* About Section - Two Column */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.learn-more-btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.9rem 2.5rem;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.learn-more-btn:hover {
  background: var(--milken-blue);
}

/* Special Content Grid */
.special-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .special-content {
    grid-template-columns: 1fr;
  }
}

.special-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.special-image img {
  width: 100%;
  height: auto;
  display: block;
}

.special-text h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.special-text h4 {
  font-size: 1.2rem;
  color: var(--milken-blue);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.special-text p {
  color: #888;
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

/* Quick Links Grid - Dark Square Style */
.quick-links-section {
  background: #f0f4f8;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quick-link-card {
  background: var(--primary-blue);
  padding: 1.75rem 2rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
  border-top: none;
  box-shadow: none;
}

.quick-link-card:hover {
  background: var(--milken-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.link-icon {
  font-size: 1.8rem;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.quick-link-card h3 {
  font-size: 0.95rem;
  color: white;
  margin-bottom: 0.2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.quick-link-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 300;
}

/* Desktop Navigation - Hide hamburger on desktop */
@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }

  .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 2rem;
  margin-left:20%;
}

  nav.navbar-mobile {
    display: none !important;
  }

  nav.navbar {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    transform: none !important;
    padding: 0 !important;
  }

  .nav-menu {
    flex-direction: row !important;
    width: auto !important;
    align-items: center !important;
  }

  .nav-menu li a {
    border-bottom: none !important;
  }

  .nav-secondary {
    display: flex !important;
  }
}

/* Tablet/Medium screens */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 70px;
    padding-left: 5%;
  }
  
  .logo img {
    height: 60px;
  }
  
  .nav-menu {
    gap: 15px;
  }

  .nav-menu li a {
    font-size: 0.85rem;
  }
}

/* Mobile - Major improvements */
@media (max-width: 768px) {
  /* Show hamburger on mobile */
  .hamburger {
    display: flex !important;
    margin-left: auto !important;
    padding: 8px !important;
  }

  /* Hide nav-wrapper on mobile */
  .nav-wrapper {
    display: none !important;
  }

  /* Show mobile navbar */
  nav.navbar-mobile {
    display: flex !important;
  }

  .header-inner {
    padding: 8px 10px !important;
  }

  /* Hide secondary nav completely on mobile */
  .nav-secondary {
    display: none !important;
  }

  /* Mobile nav menu - slide-in overlay */
  nav.navbar-mobile {
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    max-height: -webkit-fill-available !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    background: rgba(0, 61, 122, 0.98) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-top: 80px !important;
    padding-bottom: 60px !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 999 !important;
  }

  nav.navbar-mobile.active {
    transform: translateX(0) !important;
  }

  .navbar-mobile .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
    align-items: stretch !important;
    padding: 1rem 0 !important;
    list-style: none !important;
    margin: 0 !important;
  }

  .navbar-mobile .nav-menu li {
    width: 100%;
    list-style: none !important;
  }

  .navbar-mobile .nav-menu li a {
    display: block;
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: none !important;
    text-shadow: none !important;
    color: white !important;
    text-transform: uppercase !important;
  }

  /* Ensure tap targets are recognized as clickable on iOS */
  .navbar-mobile .nav-item-with-submenu > a {
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(255,255,255,0.15) !important;
    touch-action: manipulation !important;
  }

  /* Mobile submenu styling - Accordion */
  .navbar-mobile .nav-item-with-submenu > a::after {
    content: '▼';
    font-size: 0.65rem;
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
  }

  .navbar-mobile .nav-item-with-submenu.open > a::after {
    transform: rotate(-180deg);
  }

  .navbar-mobile .submenu {
    position: static;
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(26, 126, 196, 0.3);
    box-shadow: none;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  /* Show submenu when accordion is open */
  .navbar-mobile .nav-item-with-submenu.open .submenu {
    display: flex;
  }

  .navbar-mobile .submenu li {
    list-style: none;
    width: 100%;
  }

  .navbar-mobile .submenu li a {
    display: block;
    padding: 0.75rem 3rem;
    font-size: 0.9rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
  }

  /* Mobile portal buttons (Family Hub / Board Hub) */
  .mobile-portal-links {
    display: flex !important;
    gap: 0.75rem;
    padding: 1rem 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-portal-btn {
    flex: 1;
    display: block;
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.25);
  }
  .mobile-portal-btn--board {
    background: rgba(200,223,245,0.2);
  }

  /* Logo mobile */
  .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 40px;
    width: auto;
  }

  header.scrolled .logo img {
    height: 50px;
  }

  /* Hide video on mobile - use static image instead */
  #video-bg {
    display: none !important;
  }

  .hero-overlay {
    height: 100vh;
    background: none !important;
  }

  /* Homepage hero mobile - full impact with static background */
  section.hero-content {
    height: 100vh;
    padding: 0 1.75rem !important;
    align-items: flex-start;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4.5rem !important;
    position: relative;
    background:
      linear-gradient(to top, rgba(0, 30, 80, 0.88) 0%, rgba(0, 30, 80, 0.45) 50%, rgba(0, 0, 0, 0.15) 100%),
      url('/images/students-capitol.jpg') center/cover no-repeat !important;
  }

  section.hero-content h1 {
    font-size: clamp(40px, 11vw, 64px);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    max-width: 100%;
    font-weight: 800;
    letter-spacing: -1px;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  }

  /* Explore button mobile - inline below headline */
  section.hero-content .explore-btn {
    position: static !important;
    transform: none !important;
    left: auto !important;
    bottom: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 14px 32px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    border: none !important;
    letter-spacing: 2px !important;
  }

  section.hero-content .explore-btn::after {
    font-size: 16px;
    margin-top: 0;
  }

  /* Page hero mobile */
  .page-hero {
    height: 35vh !important;
  }

  .page-hero .hero-content h1 {
    font-size: clamp(28px, 8vw, 50px) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }

  /* Section padding mobile */
  section {
    padding: 2rem 1.5rem !important;
  }

  .section-title {
    font-size: clamp(20px, 5vw, 42px) !important;
    margin-bottom: 1rem !important;
  }

  /* .section-subtitle {
    font-size: 11px !important;
    margin-bottom: 0.75rem !important;
  } */

  p.lead-text {
    font-size: 0.95rem;
  }

  /* Stats grid mobile */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 1.5rem !important;
  }

  .stat-number {
    font-size: 36px !important;
  }

  .stat-label {
    font-size: 12px !important;
  }

  /* News grid mobile */
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }

  .news-image {
    height: 150px !important;
  }

  .news-date {
    font-size: 10px !important;
  }

  .news-body h3 {
    font-size: 15px !important;
  }

  /* Footer mobile */
  footer {
    padding: 1.5rem !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .footer-logo img {
    height: 50px !important;
  }

  .footer-accreditation {
    justify-content: center !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
  }

  .footer-accreditation-label {
    width: 100%;
    text-align: center;
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
  }

  .footer-accreditation img {
    height: 34px !important;
  }

  .footer-accreditation img.footer-accreditation-badge {
    width: 48px !important;
    height: 48px !important;
  }

  .footer-accreditation img.footer-accreditation-wide {
    height: 44px !important;
  }

  .footer-text {
    font-size: 12px !important;
  }

  .footer-links h4 {
    font-size: 12px !important;
    margin-bottom: 1rem !important;
  }

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

  .footer-links ul li a {
    font-size: 12px !important;
  }

  /* Division cards mobile */
  .divisions-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .division-card {
    height: 280px !important;
  }

  .division-card-content p,
  .division-link {
    max-height: 120px !important;
    opacity: 1 !important;
  }

  /* About section mobile */
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .about-image img {
    height: 250px !important;
  }

  /* Special content mobile */
  .special-content {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .special-text h3 {
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
  }

  .special-text h4 {
    font-size: 1rem !important;
    margin-top: 1.5rem !important;
  }

  .special-text p {
    font-size: 0.95rem !important;
  }

  /* Quick links mobile */
  .links-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .quick-link-card {
    padding: 1.25rem 1.25rem !important;
  }

  .link-icon {
    font-size: 1.5rem !important;
  }

  .quick-link-card h3 {
    font-size: 0.95rem !important;
    margin-bottom: 0.15rem !important;
  }

  .quick-link-card p {
    font-size: 0.8rem !important;
  }

  /* Container mobile */
  .container {
    padding: 0 !important;
  }

  /* Subpage sections mobile */
  .page-hero ~ section {
    padding: 40px 1.5rem !important;
  }

  .page-hero ~ section .section-header h2 {
    font-size: 1.8rem !important;
  }

  .page-hero ~ section .section-header p {
    font-size: 1rem !important;
  }
}

/* ===========================
   REUSABLE SUBPAGE COMPONENTS
   =========================== */

/* Feature card grid — 3 columns */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card .fa-icon {
  font-size: 2rem;
  color: var(--milken-blue);
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Two column text layout */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

/* Info cards — 2 col */
.info-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-card h4 {
  color: var(--primary-blue);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Accent card with left border */
.accent-card {
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--milken-blue);
  background: white;
}

.accent-card h4 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.accent-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Staff grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.staff-card {
  background: white;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border-top: 3px solid var(--milken-blue);
}

.staff-card .staff-name {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.staff-card .staff-title {
  color: #888;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* CTA Banner */
.cta-banner {
  background: var(--primary-blue);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  background: var(--milken-blue);
  color: white;
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.cta-btn:hover { background: #1568b3; }

.cta-btn-outline {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 0.95rem 2.5rem;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid white;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.cta-btn-outline:hover { background: white; color: var(--primary-blue); }

/* Content with sidebar layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.sidebar-card {
  background: var(--primary-blue);
  color: white;
  padding: 2.5rem;
  border-radius: 4px;
}

.sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255,255,255,0.2);
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card ul li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.sidebar-card ul li:last-child { border-bottom: none; }

.sidebar-card a {
  color: white;
  text-decoration: none;
}

/* Checklist list style */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: #555;
  line-height: 1.6;
}

.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--milken-blue);
  font-size: 0.8rem;
  top: 0.6rem;
}

/* Board member layout */
.board-officers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.officer-card {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.officer-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--milken-blue);
  margin-bottom: 0.5rem;
}

.officer-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
}

/* FAQ accordion */
.faq-item {
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1rem;
  border-left: 4px solid var(--milken-blue);
}

.faq-answer {
  padding: 0 2rem 1.5rem 2rem;
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Contact form */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--milken-blue);
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.contact-form button {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover { background: var(--milken-blue); }

/* Mobile responsive for new components */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .board-officers { grid-template-columns: 1fr 1fr; }
  .two-col-text { grid-template-columns: 1fr; }
  .info-grid-2 { grid-template-columns: 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .board-officers { grid-template-columns: 1fr; }
}

/* Nav font sizing for mid-range desktops with 6 nav items */
@media (min-width: 769px) and (max-width: 1200px) {
  .nav-menu { gap: 12px; }
  .nav-menu li a { font-size: 0.9rem; }
  .nav-secondary { gap: 8px; }
  .nav-secondary a { font-size: 0.8rem; }
}

/* Stats grid: 2 col on mobile */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  /* CTA banner buttons: stack on small screens */
  .cta-banner .cta-btn,
  .cta-banner .cta-btn-outline {
    display: block;
    width: fit-content;
    margin: 0.5rem auto 0;
  }
  .cta-banner .cta-btn-outline {
    margin-left: auto;
  }
  /* Timeline single column */
  .timeline { gap: 1.5rem !important; }
  .timeline-item { grid-template-columns: 1fr !important; }
  .timeline-year { font-size: 1.5rem !important; text-align: left !important; }
  /* About page mission blockquote */
  .mission-block { padding: 2rem 1.5rem !important; }
  .mission-block blockquote { font-size: 1.1rem !important; }
  /* About stats bar */
  .about-stats-bar { grid-template-columns: repeat(2, 1fr) !important; }
  /* Values grid */
  .values-grid { grid-template-columns: 1fr 1fr !important; }
  /* Facility cards */
  .facility-cards { grid-template-columns: 1fr !important; }
  /* Community band */
  .community-band-grid { grid-template-columns: 1fr !important; }
}
