:root {
  --primary-color: #0077B6;
  --accent-color: #023E8A;
  --text-dark: #1b263b;
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.3);
}

/* Base & Typography */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  /* Playful mesh gradient background to make glassmorphism pop */
  background: linear-gradient(135deg, #e0fbfc 0%, #caf0f8 50%, #90e0ef 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}
.navbar-brand {
  font-weight: 700;
  color: var(--accent-color) !important;
}
.nav-link {
  font-weight: 500;
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: var(--accent-color) !important;
  transform: translateY(-2px);
}

/* Hero Carousel & Parallax */
.hero-section {
  margin-top: 76px; /* Offset for fixed nav */
}
.carousel-item {
  height: 70vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  position: relative;
}
.carousel-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(2, 62, 138, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-glass-box {
  text-align: center;
  padding: 3rem;
  max-width: 800px;
}

/* Timeline Layout */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--primary-color);
  top: 0; bottom: 0; left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}
.timeline-item::after {
  content: '🎉';
  position: absolute;
  width: 40px;
  height: 40px;
  right: -20px;
  background-color: white;
  border: 4px solid var(--accent-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.left { left: 0; }
.right { left: 50%; }
.right::after { left: -20px; }

/* Interactive Stats */
.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-5px);
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}
.gallery-img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  margin-top: auto;
  background: rgba(2, 62, 138, 0.9);
  color: white;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item::after { left: 11px; }
  .right { left: 0%; }
}