:root {
  --blue-900: #1e3a8a;
  --blue-700: #1d4ed8;
  --amber-500: #f59e0b;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
}

.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

/* Navbar states */
#navbar.scrolled {
  background-color: rgba(30, 58, 138, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Hero slideshow */
#hero-slides .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s linear;
  transform: scale(1);
}

#hero-slides .hero-slide.active {
  opacity: 1;
  transform: scale(1.08);
}

#hero-dots {
  pointer-events: auto;
}

.hero-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dot:hover,
.hero-dot.active {
  background: #fbbf24;
  transform: scale(1.25);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Value cards */
.value-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
}

.value-card .icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.value-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}

/* Program cards */
.program-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.program-card .card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-item img {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
}

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

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Contact cards */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 1rem;
  transition: box-shadow 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.contact-card .icon-box {
  width: 2.75rem;
  height: 2.75rem;
  background: #1e3a8a;
  color: #fff;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Lightbox */
#lightbox {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox-img {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#lightbox.active #lightbox-img {
  transform: scale(1);
}

/* Active nav link indicator */
.nav-link.active,
.mobile-link.active {
  color: #fbbf24;
}

/* Smooth image loading */
img {
  max-width: 100%;
  height: auto;
}
