/* Main stylesheet */

:root {
  --bg: #ade8f4;
  --surface: #ffffff;
  --primary: #03045e;
  --secondary: #0077b6;
  --accent: rgb(23, 155, 182);
  --accent-hover: #48cae4;
  --text: #03045e;
  --text-light: #ffffff;
  --border: #90e0ef;
}

/* NOTE: Page-specific theme variables have been moved to individual page CSS files */

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

html,
body {
  overflow-x: hidden;
}

html {
  background-color: #ffffff;
}

body {
  font-family: "Momo Trust Display", sans-serif;
}

/* Font Awesome Icon Styling */
.contact-icon i,
.card-icon i,
.mission-icon i,
.social-icon i {
  color: var(--theme-text);
}

.feature-icon i {
  color: var(--theme-text);
}

.image-placeholder i,
.image-placeholder.large i {
  font-size: 3rem;
}

.event-time i,
.event-location i {
  margin-right: 0.5rem;
  color: #5c7a5c;
}

.footer-section p i {
  margin-right: 0.5rem;
  color: var(--accent-hover);
}

nav {
  width: 100%;
  padding: 1.5rem 5%;
  min-height: 84px;
  background: var(--theme-surface);
  border-bottom: 1px solid #90e0ef33;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.08);
  margin-bottom: 0;
  position: relative;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  width: 160px;
  flex: 0 0 160px;
  display: block;
}

.logo img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 130px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li {
  position: relative;
}

.nav-links li>a {
  position: relative;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: 0.3s;
  display: block;
}

.nav-links li>a:hover {
  color: var(--accent);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 200px;
  padding: 0.5rem 0;
  box-shadow:
    0 8px 32px rgba(0, 180, 216, 0.15),
    0 4px 16px rgba(3, 4, 94, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: linear-gradient(90deg, rgba(173, 232, 244, 0.3) 0%, rgba(72, 202, 228, 0.2) 100%);
  color: var(--accent);
  padding-left: 2rem;
  padding-right: 1rem;
}

.dropdown>a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.4rem;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  transition: transform 0.3s;
}

.dropdown:hover>a::after {
  transform: rotate(180deg);
}

.btns {
  display: flex;
}

.btn {
  padding: 0.75rem 1.75rem;
  min-width: 140px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.28s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.register-btn {
  background: var(--theme-primary);
  color: #ffffff;
}

.register-btn:hover {
  background: var(--theme-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px color-mix(in srgb,
      var(--theme-hover) 40%,
      transparent);
}

.register-btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:hover {
  background: var(--theme-hover);
  transform: translateY(-3px);
}

/* Hero Section - Animated Blob Style */
.hero {
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdf6e3;
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Remove the ::before pseudo-element, we'll use real blob divs */
.hero::before {
  display: none;
}

/* Remove ::after, replaced by blobs */
.hero::after {
  display: none;
}

/* Animated blob shapes */
.hero-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ===== BLOB ANIMATIONS (OPTIMIZED) ===== */

.blob {
  position: absolute;
  opacity: 0.85;
  will-change: transform;
  /* Default values - overridden per blob */
  --blob-color: #4a7c59;
  --blob-size: 150px;
  --blob-top: 50%;
  --blob-left: 50%;
  --float-duration: 25s;
  --float-delay: 0s;
  --morph-duration: 10s;
  --morph-delay: 0s;

  width: var(--blob-size);
  height: calc(var(--blob-size) * 0.9);
  background: var(--blob-color);
  top: var(--blob-top);
  left: var(--blob-left);
  border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
  animation:
    blob-float var(--float-duration) ease-in-out var(--float-delay) infinite,
    blob-morph var(--morph-duration) ease-in-out var(--morph-delay) infinite;
}

/* Individual blob positioning and timing */
.blob-1 {
  --blob-color: #a8d4b8;
  --blob-size: 180px;
  --blob-top: 10%;
  --blob-left: 5%;
  --float-duration: 25s;
  --morph-duration: 12s;
}

.blob-2 {
  --blob-color: #b8c8d8;
  --blob-size: 140px;
  --blob-top: 5%;
  --blob-left: 60%;
  --float-duration: 22s;
  --float-delay: -5s;
  --morph-duration: 10s;
  --morph-delay: -3s;
}

.blob-3 {
  --blob-color: #e8d4a8;
  --blob-size: 150px;
  --blob-top: 60%;
  --blob-left: auto;
  right: 15%;
  --float-duration: 28s;
  --float-delay: -10s;
  --morph-duration: 11s;
  --morph-delay: -6s;
}

.blob-4 {
  --blob-color: #e8d8b0;
  --blob-size: 160px;
  --blob-top: 25%;
  --blob-left: 20%;
  --float-duration: 30s;
  --float-delay: -15s;
  --morph-duration: 13s;
  --morph-delay: -2s;
}

.blob-5 {
  --blob-color: #c8e0dc;
  --blob-size: 130px;
  --blob-top: 40%;
  --blob-left: 70%;
  --float-duration: 24s;
  --float-delay: -8s;
  --morph-duration: 9s;
  --morph-delay: -5s;
}

.blob-6 {
  --blob-color: #b0d4b0;
  --blob-size: 130px;
  --blob-top: 70%;
  --blob-left: 40%;
  --float-duration: 26s;
  --float-delay: -12s;
  --morph-duration: 11s;
  --morph-delay: -7s;
}

.blob-7 {
  --blob-color: #a0d0a8;
  --blob-size: 140px;
  --blob-top: 55%;
  --blob-left: 8%;
  --float-duration: 27s;
  --float-delay: -18s;
  --morph-duration: 10s;
  --morph-delay: -4s;
}

.blob-8 {
  --blob-color: #f0e0c0;
  --blob-size: 170px;
  --blob-top: 15%;
  --blob-left: auto;
  right: 5%;
  --float-duration: 23s;
  --float-delay: -3s;
  --morph-duration: 12s;
  --morph-delay: -8s;
}

.blob-9 {
  --blob-color: #b8d8d8;
  --blob-size: 150px;
  --blob-top: 75%;
  --blob-left: auto;
  right: 25%;
  --float-duration: 29s;
  --float-delay: -20s;
  --morph-duration: 14s;
  --morph-delay: -1s;
}

/* Single float animation - negative delays create variety */
@keyframes blob-float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  10% {
    transform: translate(80px, 50px) rotate(8deg);
  }

  25% {
    transform: translate(150px, 120px) rotate(-12deg);
  }

  40% {
    transform: translate(50px, 180px) rotate(15deg);
  }

  55% {
    transform: translate(-80px, 100px) rotate(-8deg);
  }

  70% {
    transform: translate(-120px, 30px) rotate(10deg);
  }

  85% {
    transform: translate(-40px, -60px) rotate(-5deg);
  }
}

/* Single morph animation */
@keyframes blob-morph {

  0%,
  100% {
    border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
  }

  25% {
    border-radius: 40% 60% 70% 50% / 60% 40% 50% 60%;
  }

  50% {
    border-radius: 50% 50% 40% 60% / 40% 60% 60% 40%;
  }

  75% {
    border-radius: 70% 30% 60% 40% / 50% 50% 40% 60%;
  }
}

/* ===== TEDDY BEAR IMAGES IN HERO ===== */
.hero-teddy {
  position: absolute;
  opacity: 0.9;
  will-change: transform;
  pointer-events: none;
  z-index: 1;
  /* Default values - overridden per teddy */
  --teddy-size: 120px;
  --teddy-top: 50%;
  --teddy-left: 50%;
  --float-duration: 25s;
  --float-delay: 0s;

  width: var(--teddy-size);
  height: var(--teddy-size);
  top: var(--teddy-top);
  left: var(--teddy-left);
  animation: teddy-float var(--float-duration) ease-in-out var(--float-delay) infinite;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-teddy img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Individual teddy positioning - replacing blob-2, blob-5, blob-7, blob-9 positions */
.hero-teddy-1 {
  --teddy-size: 100px;
  --teddy-top: 8%;
  --teddy-left: 58%;
  --float-duration: 22s;
  --float-delay: -5s;
}

.hero-teddy-2 {
  --teddy-size: 90px;
  --teddy-top: 38%;
  --teddy-left: 72%;
  --float-duration: 24s;
  --float-delay: -8s;
}

.hero-teddy-3 {
  --teddy-size: 95px;
  --teddy-top: 52%;
  --teddy-left: 6%;
  --float-duration: 27s;
  --float-delay: -18s;
}

.hero-teddy-4 {
  --teddy-size: 110px;
  --teddy-top: 72%;
  --teddy-left: auto;
  right: 22%;
  --float-duration: 29s;
  --float-delay: -20s;
}

/* Teddy float animation - gentler than blobs */
@keyframes teddy-float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  15% {
    transform: translate(30px, 20px) rotate(5deg);
  }

  30% {
    transform: translate(60px, 50px) rotate(-3deg);
  }

  45% {
    transform: translate(25px, 80px) rotate(8deg);
  }

  60% {
    transform: translate(-30px, 40px) rotate(-5deg);
  }

  75% {
    transform: translate(-50px, 10px) rotate(6deg);
  }

  90% {
    transform: translate(-20px, -25px) rotate(-2deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 4px 30px rgba(255, 255, 255, 0.5);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.4);
}

.hero-stat-label {
  font-size: 1rem;
  color: var(--secondary);
  margin-top: 0.5rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero .btn {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 8px 30px rgba(3, 4, 94, 0.25);
}

.hero .btn:hover {
  background: var(--secondary);
  color: var(--text-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(3, 4, 94, 0.3);
}

.hero .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.hero .btn-outline:hover {
  background: rgba(3, 4, 94, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

/* Event Date Section */
.event-date {
  width: 100%;
  padding: 4rem 5%;
  background: var(--surface);
}

.event-date-content {
  max-width: 900px;
  margin: 0 auto;
}

.event-date h2 {
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
}

.event-card {
  display: flex;
  gap: 2rem;
  background: var(--theme-surface);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.12);
  border: 2px solid var(--theme-primary);
}

.event-calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  min-width: 120px;
  box-shadow: 0 4px 16px rgba(3, 4, 94, 0.2);
}

.event-month {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-day {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.25rem 0;
}

.event-year {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

.event-details {
  flex: 1;
}

.event-details h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.event-time,
.event-location {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.event-description {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
}

.event-details .btn {
  margin-top: 0.5rem;
}

/* ===== HAMBURGER MENU & MOBILE NAV ===== */

/* Hamburger button - hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10000;
}

.hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  position: relative;
  transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition:
    transform 0.3s,
    top 0.3s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Hamburger animation when open */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===== TABLET BREAKPOINT (1024px) ===== */
@media (max-width: 1024px) {
  nav {
    padding: 1rem 4%;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .nav-links li>a {
    font-size: 1.2rem;
  }

  .dropdown>a::after {
    margin-left: 0.5rem;
  }

  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 1.2rem;
    min-width: 120px;
  }

  .hero {
    padding: 5rem 4%;
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero-stat-number {
    font-size: 2.5rem;
  }
}

/* ===== MOBILE BREAKPOINT (816px) ===== */
@media (max-width: 816px) {

  /* Show hamburger */
  .nav-toggle {
    display: block;
    order: 3;
  }

  /* Mobile nav slide-in panel */
  .nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    box-shadow: -4px 0 30px rgba(3, 4, 94, 0.15);
    transition: right 0.35s ease;
    overflow-y: auto;
    z-index: 9999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
    list-style: none;
  }

  .nav-links li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 1.3rem;
    cursor: pointer;
  }

  /* Mobile dropdown styling */
  .dropdown>a::after {
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s;
  }

  /* Disable hover dropdown on mobile - use JS click instead */
  .dropdown:hover .dropdown-menu {
    max-height: 0;
    padding: 0;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: rgba(173, 232, 244, 0.4);
    border-radius: 8px;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
  }

  .dropdown.open .dropdown-menu {
    max-height: 400px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
  }

  .dropdown.open>a::after {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
  }

  .dropdown-menu a:hover {
    padding-left: 2rem;
  }

  /* Hide CTA button in nav on mobile, or move it */
  .btns {
    display: none;
  }

  /* Logo adjustments */
  .logo {
    width: 120px;
    flex: 0 0 120px;
  }

  .logo img {
    height: 90px;
  }

  /* Hero adjustments */
  .hero {
    min-height: auto;
    padding: 4rem 5%;
  }

  .hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-stats {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

  /* Blobs - smaller and more spread out on tablet */
  .blob {
    --blob-size: 100px;
    opacity: 0.7;
  }

  .blob-1 {
    --blob-size: 120px;
    --blob-top: 5%;
    --blob-left: 0%;
  }

  .blob-2 {
    --blob-size: 90px;
    --blob-top: 0%;
    --blob-left: 70%;
  }

  .blob-3 {
    --blob-size: 100px;
    --blob-top: 65%;
    right: 5%;
  }

  .blob-4 {
    --blob-size: 110px;
    --blob-top: 30%;
    --blob-left: 5%;
  }

  .blob-5 {
    --blob-size: 85px;
    --blob-top: 45%;
    --blob-left: 80%;
  }

  .blob-6 {
    --blob-size: 90px;
    --blob-top: 80%;
    --blob-left: 35%;
  }

  .blob-7 {
    --blob-size: 95px;
    --blob-top: 60%;
    --blob-left: -5%;
  }

  .blob-8 {
    --blob-size: 105px;
    --blob-top: 10%;
    right: -5%;
  }

  .blob-9 {
    --blob-size: 100px;
    --blob-top: 85%;
    right: 15%;
  }

  .hero-stat-label {
    font-size: 0.85rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Event section */
  .event-date {
    padding: 3rem 5%;
  }

  .event-date h2 {
    font-size: 1.75rem;
  }

  .event-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .event-calendar {
    margin-bottom: 1rem;
  }

  .event-details h3 {
    font-size: 1.4rem;
  }

  .event-description {
    font-size: 1rem;
  }
}

/* ===== SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
  nav {
    padding: 0.75rem 4%;
    min-height: 70px;
  }

  .logo {
    width: 100px;
    flex: 0 0 100px;
  }

  .logo img {
    height: 70px;
  }

  .hero {
    padding: 3rem 4%;
  }

  .hero-tagline {
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* Blobs - smaller on mobile, hide some */
  .blob {
    --blob-size: 90px;
    opacity: 0.6;
  }

  .blob-1 {
    --blob-size: 100px;
    --blob-top: 2%;
    --blob-left: -5%;
  }

  .blob-2 {
    --blob-size: 80px;
    --blob-top: 0%;
    --blob-left: 75%;
  }

  .blob-3 {
    --blob-size: 90px;
    --blob-top: 70%;
    right: 0%;
  }

  .blob-4 {
    display: none;
  }

  .blob-5 {
    --blob-size: 75px;
    --blob-top: 50%;
    --blob-left: 85%;
  }

  .blob-6 {
    display: none;
  }

  .blob-7 {
    --blob-size: 85px;
    --blob-top: 65%;
    --blob-left: -10%;
  }

  .blob-8 {
    display: none;
  }

  .blob-9 {
    --blob-size: 75px;
    --blob-top: 90%;
    right: 25%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 1rem;
    min-width: auto;
  }

  .event-date {
    padding: 2rem 4%;
  }

  .event-card {
    padding: 1rem;
  }

  .event-calendar {
    padding: 1rem;
  }

  .event-day {
    font-size: 2.5rem;
  }
}

/* Mobile menu overlay background */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 9998;
  pointer-events: none;
  transition: background 0.3s;
}

.nav-overlay.active {
  background: rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  z-index: 1;
}

/* Prevent body scroll when menu is open */
body.nav-open {
  overflow: hidden;
}

/* ===== PAGE CONTENT STYLES ===== */

/* Hero Variants */
.hero-small {
  min-height: 280px;
}

.hero-small .hero-subtitle {
  font-size: 1.5rem;
  margin-top: 1rem;
  opacity: 0.85;
}

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

/* Content Sections */
.content-section {
  padding: 5rem 0;
}

.content-section.alt-bg {
  background: var(--surface);
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Story Section */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h3 {
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text);
}

.story-image .image-placeholder {
  background: transparent;
  border-radius: 20px;
  padding: 0;
  text-align: center;
  color: var(--text-light);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-image .image-placeholder img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  image-rendering: -webkit-optimize-contrast;
}

.story-image .image-placeholder span {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.story-image .image-placeholder p {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Mission Cards */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mission-card {
  background: var(--theme-surface);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.1);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.2);
}

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

.mission-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.mission-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--theme-text);
}

/* Academy Section */
.academy-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.lead-text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto;
}

.academy-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-item {
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.feature-item:hover {
  background: linear-gradient(135deg, rgba(173, 232, 244, 0.3) 0%, rgba(255, 255, 255, 1) 100%);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

/* Activities Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.activity-card {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.1);
  transition: transform 0.3s;
}

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

.activity-image {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  padding: 2rem;
  text-align: center;
}

.activity-image span {
  font-size: 3rem;
}

.activity-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  padding: 1.25rem 1.25rem 0.5rem;
}

.activity-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  padding: 0 1.25rem 1.5rem;
}

/* Donate Page Specific Styles */
.donate-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.donate-intro .lead-text {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--theme-text, var(--text));
}

.donate-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--theme-text, var(--text));
}

.donate-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
}

.gallery-item .image-placeholder.large {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 16px;
}

.gallery-item .image-placeholder.large span {
  font-size: 3rem;
}

.gallery-item .image-placeholder.large p {
  font-size: 1rem;
  color: var(--theme-text, var(--text));
}

.donate-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--theme-surface, var(--surface));
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.donate-cta h2 {
  font-size: 2rem;
  color: var(--theme-primary, var(--primary));
  margin-bottom: 1.5rem;
}

.donate-cta p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--theme-text, var(--text));
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 160px;
}

/* Publications */
.publications-list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.publication-item {
  text-align: center;
  padding: 2rem;
}

.pub-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface);
  padding: 1.5rem 2.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.1);
}

.publication-item p {
  font-size: 1rem;
  color: var(--text);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--accent-hover);
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}

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

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

.footer-section ul a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition:
    opacity 0.3s,
    padding-left 0.3s;
}

.footer-section ul a:hover {
  opacity: 1;
  padding-left: 0.5rem;
}

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

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Styles for New Sections */
@media (max-width: 1024px) {

  .academy-features,
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .donate-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .donate-cta {
    padding: 2rem;
  }

  .donate-cta h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {

  .academy-features,
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .publications-list {
    flex-direction: column;
    align-items: center;
  }

  .content-section {
    padding: 3rem 0;
  }

  .donate-gallery {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Map Placeholder */
.map-placeholder {
  max-width: 900px;
  margin: 0 auto;
}

.map-placeholder .image-placeholder.large {
  min-height: 350px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

/* ===== TEAM PAGE STYLES ===== */

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.1);
  border: 2px solid var(--theme-surface);
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.2);
}

.team-image {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  padding: 2rem;
  text-align: center;
}

.team-image .image-placeholder {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image .image-placeholder span {
  font-size: 2.5rem;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

/* Volunteer Section */
.volunteers-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.volunteers-text .lead-text {
  text-align: left;
  margin-bottom: 1rem;
}

.volunteers-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.volunteer-stats {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(173, 232, 244, 0.3) 100%);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border: 2px solid var(--border);
  flex: 0 0 auto;
  min-width: 150px;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.2);
  border-color: var(--accent);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text);
  margin-top: 0.35rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.volunteers-image .image-placeholder.large {
  overflow: hidden;
  border-radius: 4px;
  background: none;
}

.volunteers-image .image-placeholder.large img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Board of Directors */
.board-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.board-member {
  background: var(--bg);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid var(--border);
}

.board-member h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.board-title {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

/* ===== MISSION PAGE STYLES ===== */

/* Mission Highlight */
.mission-highlight {
  background: var(--surface);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.12);
  border: 2px solid var(--border);
}

.mission-highlight .mission-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.mission-statement {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--theme-text);
}

/* Mission/Vision Layout with Images */
.mission-vision-layout {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.mission-vision-layout.reverse {
  flex-direction: row-reverse;
}

.mission-vision-image {
  flex: 0 0 350px;
}

.mission-vision-image .image-placeholder {
  min-height: 280px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-text) 100%);
}

.mission-vision-image .image-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.mission-vision-text {
  flex: 1;
  background: var(--surface);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 180, 216, 0.12);
  border: 2px solid var(--theme-primary);
}

.mission-vision-text .mission-statement {
  margin: 0;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--theme-surface);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--theme-primary);
  transition: all 0.3s;
}

.value-card:hover {
  border-color: var(--theme-hover);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.15);
}

.value-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card .card-icon i {
  color: var(--theme-text);
}

.value-card h3 {
  font-size: 1.25rem;
  color: var(--theme-text);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--theme-text);
}

/* Goals List */
.goals-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.goal-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--theme-surface);
  border-radius: 16px;
  padding: 1.75rem;
  border: 2px solid var(--theme-primary);
}

.goal-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-text);
  background: var(--theme-surface);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--theme-primary);
}

.goal-content h4 {
  font-size: 1.2rem;
  color: var(--theme-text);
  margin-bottom: 0.5rem;
}

.goal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--theme-text);
}

/* ===== OUR STORY PAGE STYLES ===== */

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--secondary) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  background: var(--surface);
  border: 4px solid var(--accent);
  border-radius: 50%;
  transform: translateX(-6px);
}

.timeline-year {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.5rem;
  border: 2px solid var(--border);
}

.timeline-content h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

/* Founder Section */
.founder-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.founder-image .image-placeholder {
  background: transparent;
  border-radius: 20px;
  padding: 0;
  text-align: center;
  color: var(--text-light);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-image .image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.founder-image .image-placeholder span {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.founder-image .image-placeholder p {
  font-size: 1.25rem;
  font-weight: 600;
}

.founder-text h3 {
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.founder-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1rem;
  font-style: italic;
}

.founder-signature {
  font-style: normal !important;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

/* Large Image Placeholder */
.image-placeholder.large {
  min-height: 300px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-placeholder.large span {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.image-placeholder.large p {
  font-size: 1.25rem;
  font-weight: 600;
}

/* ===== RESPONSIVE STYLES FOR NEW SECTIONS ===== */

@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision-layout {
    flex-direction: column;
    text-align: center;
  }

  .mission-vision-layout.reverse {
    flex-direction: column;
  }

  .mission-vision-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px;
  }

  .volunteers-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .board-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .volunteer-stats {
    flex-direction: column;
  }

  .stat-item {
    min-width: 100%;
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .board-list {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-container {
    padding: 1.5rem;
  }

  .faq-item {
    padding: 1.25rem;
  }

  .faq-answer {
    padding-left: 0;
    margin-top: 0.5rem;
  }

  .faq-question::before {
    display: none;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .timeline-item::before {
    left: -2rem;
  }

  .goal-item {
    flex-direction: column;
    gap: 1rem;
  }

  .goal-number {
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
  }
}