/* ============================================
   ETERNAL JOY OUTREACH — Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Brand Colors */
  --teal-deep: #1a5c6b;
  --teal-dark: #0d3a45;
  --teal-light: #2a8a9e;
  --teal-muted: #3da4b8;
  --gold: #c5a855;
  --gold-light: #dac47a;
  --gold-dark: #a08835;
  --navy: #0d2b3e;
  --cream: #faf8f5;
  --cream-dark: #f0ece5;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-body: #3a3a4a;
  --text-muted: #6b7280;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(13, 43, 62, 0.06);
  --shadow-md: 0 4px 20px rgba(13, 43, 62, 0.1);
  --shadow-lg: 0 8px 40px rgba(13, 43, 62, 0.15);
  --shadow-glow: 0 0 30px rgba(197, 168, 85, 0.2);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 92, 107, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--teal-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(197, 168, 85, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(197, 168, 85, 0.4);
}

.btn-secondary {
  background: var(--teal-deep);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26, 92, 107, 0.3);
}

.btn-secondary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(26, 92, 107, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--teal-deep);
  border-color: var(--white);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--teal-deep);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 40%, var(--teal-deep) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image, url('../images/Back to School/Copy of IMG-20250929-WA0002.jpg'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.15;
  mix-blend-mode: luminosity;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--cream), transparent);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(197, 168, 85, 0.4);
  border-radius: 50%;
  animation: float-up 8s infinite ease-in;
}

.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles span:nth-child(2) { left: 25%; animation-delay: 1s; animation-duration: 9s; }
.hero-particles span:nth-child(3) { left: 40%; animation-delay: 2s; animation-duration: 6s; }
.hero-particles span:nth-child(4) { left: 55%; animation-delay: 0.5s; animation-duration: 8s; }
.hero-particles span:nth-child(5) { left: 70%; animation-delay: 1.5s; animation-duration: 10s; }
.hero-particles span:nth-child(6) { left: 85%; animation-delay: 3s; animation-duration: 7s; }

@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(197, 168, 85, 0.15);
  border: 1px solid rgba(197, 168, 85, 0.3);
  border-radius: var(--radius-xl);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1.5px;
  background: var(--gold);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--teal-dark);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */
.about-preview {
  padding: var(--section-pad);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.about-images img {
  border-radius: var(--radius-md);
  object-fit: cover;
  height: 220px;
  width: 100%;
  transition: var(--transition);
}

.about-images img:hover {
  transform: scale(1.03);
}

.about-images img:first-child {
  grid-row: span 2;
  height: 100%;
}

.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-md);
  opacity: 0.15;
  z-index: -1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--teal-dark);
}

.about-text h2 .highlight {
  color: var(--gold);
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-body);
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--teal-deep);
}

.about-value .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 92, 107, 0.1), rgba(26, 92, 107, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.program-card:hover .program-card-img img {
  transform: scale(1.08);
}

.program-card-img .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 43, 62, 0.7), transparent);
}

.program-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.program-card-body {
  padding: 28px;
}

.program-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--teal-dark);
}

.program-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-deep);
}

.program-link:hover {
  color: var(--gold);
  gap: 10px;
}

/* ============================================
   IMPACT / STATS SECTION
   ============================================ */
.impact {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 50%, var(--teal-deep) 100%);
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 168, 85, 0.08), transparent 70%);
}

.impact::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 138, 158, 0.1), transparent 70%);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.impact-card {
  text-align: center;
  padding: 32px 20px;
}

.impact-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

/* ============================================
   GALLERY PREVIEW
   ============================================ */
.gallery-preview {
  padding: var(--section-pad);
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 43, 62, 0.8), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: var(--section-pad);
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  position: relative;
}

.cta-card {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-dark));
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 168, 85, 0.12), transparent 70%);
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin: 16px 0 24px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.footer-contact .icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  padding: 140px 24px 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 50%, var(--teal-deep) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 168, 85, 0.1), transparent 70%);
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.page-header p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  position: relative;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--gold);
}

/* ============================================
   ABOUT PAGE — FULL
   ============================================ */
.values-section {
  padding: var(--section-pad);
  background: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 168, 85, 0.2);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 92, 107, 0.08), rgba(197, 168, 85, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--teal-dark);
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About Background Section */
.about-background {
  padding: var(--section-pad);
  background: var(--white);
}

.about-bg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-bg-text h3 {
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.about-bg-text p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text-body);
}

.about-bg-image img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  height: 400px;
  box-shadow: var(--shadow-md);
}

/* Organization Structure */
.org-structure {
  padding: var(--section-pad);
  background: var(--cream);
}

.org-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.org-role {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.org-role:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.org-role .role-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.org-role h4 {
  font-size: 0.95rem;
  color: var(--teal-dark);
}

/* ============================================
   PROGRAMS PAGE — FULL
   ============================================ */
.programs-full {
  padding: var(--section-pad);
  background: var(--cream);
}

.program-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  transition: var(--transition);
}

.program-detail:hover {
  box-shadow: var(--shadow-md);
}

.program-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.program-detail:nth-child(even) .program-detail-inner {
  direction: rtl;
}

.program-detail:nth-child(even) .program-detail-inner > * {
  direction: ltr;
}

.program-detail-img {
  position: relative;
  overflow: hidden;
}

.program-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.program-detail:hover .program-detail-img img {
  transform: scale(1.05);
}

.program-detail-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-detail-content .program-tag {
  display: inline-flex;
  padding: 6px 16px;
  background: rgba(26, 92, 107, 0.06);
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  width: fit-content;
}

.program-detail-content h3 {
  font-size: 1.8rem;
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.program-detail-content p {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ============================================
   GALLERY PAGE — FULL
   ============================================ */
.gallery-full {
  padding: var(--section-pad);
  background: var(--cream);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-body);
  border: 1px solid rgba(26, 92, 107, 0.1);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}

.filter-btn.active {
  background: var(--teal-deep);
  color: var(--white);
  border-color: var(--teal-deep);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-masonry .gallery-item {
  aspect-ratio: auto;
}

.gallery-masonry .gallery-item:nth-child(3n+1) {
  aspect-ratio: 1/1;
}

.gallery-masonry .gallery-item:nth-child(3n+2) {
  aspect-ratio: 4/3;
}

.gallery-masonry .gallery-item:nth-child(3n) {
  aspect-ratio: 3/4;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: var(--section-pad);
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail .detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 92, 107, 0.08), rgba(197, 168, 85, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.95rem;
  color: var(--teal-dark);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.contact-form-card > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(26, 92, 107, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(26, 92, 107, 0.08);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .about-bg-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .program-detail-inner {
    grid-template-columns: 1fr;
  }

  .program-detail:nth-child(even) .program-detail-inner {
    direction: ltr;
  }

  .program-detail-img {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  }

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

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 120px 24px 60px;
    min-height: auto;
  }

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

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

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

  .impact-number {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-images {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 48px 24px;
  }

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

  .program-detail-content {
    padding: 32px 24px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .lightbox-nav { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid,
  .gallery-masonry {
    grid-template-columns: 1fr;
  }

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

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

  .org-roles {
    grid-template-columns: 1fr 1fr;
  }

  .nav-logo-text {
    font-size: 1.05rem;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
