/* 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;
}

/* 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;
}

/* 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: flex-start; /* Align to top to match previous 'pixel perfect' state */
  justify-content: space-between;
  padding: 5px 0; /* Move padding here */
}

header.scrolled .header-inner {
  padding: 10px 0;
}

.nav-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: var(--header-logo-height);
  /* justify-content: space-between; */
  padding-top: 30px; 
  /* padding-bottom: 25px; */
  transition: all 0.3s ease;
}

header.scrolled .nav-wrapper {
  height: 80px;
  padding-top: 15px;
  padding-bottom: 15px;
}

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

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

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

.logo img {
  height: var(--header-logo-height);
  width: auto;
  transition: height 0.3s ease;
}

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

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

.nav-menu li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1;
  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;
}

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

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

.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;
}

#about {
    background-color: white;
}

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

@media (max-width: 768px) {
  nav.navbar {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-secondary {
    display: none; /* Hide secondary nav on mobile to save space */
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .nav-menu li a {
    font-size: 12px;
  }

  .hero-content {
    padding-left: 5%;
    align-items: center;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 40px;
    max-width: 90%;
  }

  .logo img {
    height: 80px;
  }

  .explore-btn {
    padding: 15px 30px;
    font-size: 10px;
  }

  .stats-grid, .news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

  background: #1565a1;
}

/* 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;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--milken-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  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: #f0f4f8;
}

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

.stat-item {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.stat-number {
  font-size: 60px;
  font-weight: 700;
  color: var(--primary-blue);
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
}

/* 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);
}

/* 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;
  gap: 100px;
}

.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;
}


.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 60px;
  width: 100%;
  background: var(--primary-blue);
  flex-direction: column;
  padding: 1rem 0;
  list-style: none;
}

.nav-menu.active {
  display: flex;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2rem;
  font-weight: 500;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.nav-menu a:hover {
  background: var(--secondary-blue);
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 0.35rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
  min-height: 750px;
  background: linear-gradient(135deg, rgba(0, 61, 122, 0.6) 0%, rgba(0, 82, 163, 0.6) 100%),
              url('https://static.wixstatic.com/media/03c186_5d4274b8313e4ab286ebfda1aad69773~mv2.jpg/v1/fill/w_1400,h_900,al_c,q_85,enc_avif,quality_auto/0af35e82-6a9d-4d1d-bc0d-414983dbb5b3_JPG.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 61, 122, 0.4);
  z-index: 1;
}

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

.hero h1 {
  font-size: calc(1.75rem + 6vw);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.8px;
}

.hero p {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0.98;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary-blue);
  padding: 1.1rem 3rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  cursor: pointer;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.cta-button.secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-button.secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
section {
  padding: 5rem 2rem;
}

section.light-bg {
  background-color: var(--light-gray);
}

/* Section Headers */
.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: var(--medium-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--secondary-blue);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-card .icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.feature-card p {
  color: var(--medium-gray);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 8px;
  border-top: 5px solid var(--secondary-blue);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 3.5rem;
  color: var(--secondary-blue);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.stat-label {
  color: var(--medium-gray);
  font-size: 1rem;
  font-weight: 600;
}

/* Staff Grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.staff-card {
  text-align: center;
}

.staff-photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--secondary-blue);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.staff-title {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.5;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

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

.news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.news-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 2.5rem;
}

.news-date {
  color: var(--secondary-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

.news-title {
  font-size: 1.35rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.news-excerpt {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
}

/* Footer */
footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

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

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-contact p {
  margin-bottom: 0.75rem;
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  color: var(--white);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.button-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    position: static;
    width: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    gap: 2.5rem;
  }

  .nav-menu a {
    padding: 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .nav-menu a:hover {
    background: transparent;
    border-bottom-color: var(--white);
  }

  section {
    padding: 6rem 2rem;
  }
}

@media (max-width: 767px) {
  .secondary-nav-container {
    gap: 1.5rem;
  }

  .secondary-nav-container a {
    font-size: 0.75rem;
  }

  .nav-secondary {
    padding: 0.5rem 1rem;
  }
}

/* Responsive Image + Text Layout */
@media (max-width: 768px) {
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
