/* ============================================
   NURTURE CLUB - Brand Stylesheet
   Version: 2.0.0
   Pure Vanilla CSS - No Build Required
   ============================================ */

/* ============================================
   CSS Custom Properties (Color Palette)
   ============================================ */

:root {
  /* Alert - Crimson Red */
  --alert-10: rgb(255, 188, 163);
  --alert-20: rgb(255, 136, 113);
  --alert-30: rgb(240, 88, 70);
  --alert-40: rgb(188, 42, 35);
  --alert-50: rgb(130, 0, 7);
  --alert-60: rgb(69, 0, 0);
  --alert: rgb(231, 76, 60);

  /* Primary - Deep Forest Green */
  --primary-10: rgb(196, 236, 215);
  --primary-20: rgb(147, 192, 169);
  --primary-30: rgb(104, 149, 126);
  --primary-40: rgb(65, 108, 87);
  --primary-50: rgb(33, 68, 52);
  --primary-60: rgb(10, 31, 22);
  --primary: rgb(1, 49, 31);

  /* Success - Fresh Meadow */
  --success-10: rgb(198, 241, 122);
  --success-20: rgb(147, 198, 61);
  --success-30: rgb(99, 155, 0);
  --success-40: rgb(55, 113, 0);
  --success-50: rgb(25, 72, 0);
  --success-60: rgb(18, 34, 0);
  --success: rgb(124, 181, 24);

  /* Text - Charcoal Gray */
  --charcoal-10: rgb(226, 226, 226);
  --charcoal-20: rgb(182, 182, 182);
  --charcoal-30: rgb(139, 139, 139);
  --charcoal-40: rgb(99, 99, 99);
  --charcoal-50: rgb(62, 62, 62);
  --charcoal-60: rgb(27, 27, 27);
  --charcoal: rgb(51, 51, 51);

  /* Warning - Sunset Amber */
  --warning-10: rgb(255, 214, 128);
  --warning-20: rgb(238, 168, 70);
  --warning-30: rgb(191, 126, 11);
  --warning-40: rgb(143, 86, 0);
  --warning-50: rgb(96, 51, 0);
  --warning-60: rgb(52, 20, 0);
  --warning: rgb(255, 179, 71);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

/* ============================================
   CSS Reset & Base Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--charcoal);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

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

a:hover {
  color: var(--primary-40);
}

ul, ol {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal-60);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  color: var(--charcoal-50);
  line-height: 1.7;
}

@media (min-width: 768px) {
  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }
  h3 { font-size: var(--text-3xl); }
}

@media (min-width: 1024px) {
  h1 { font-size: var(--text-6xl); }
  h2 { font-size: var(--text-5xl); }
}

/* ============================================
   Layout Utilities
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

@media (min-width: 640px) {
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
}

.section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

@media (min-width: 768px) {
  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* Grid Utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

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

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: #ffffff; }
.text-primary { color: var(--primary); }
.text-charcoal-40 { color: var(--charcoal-40); }
.text-charcoal-50 { color: var(--charcoal-50); }

.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Spacing Utilities */
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   Components
   ============================================ */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

.btn-primary:hover {
  background-color: var(--primary-50);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--primary-10);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-20);
  color: var(--primary);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

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

.btn-white:hover {
  background-color: var(--primary-10);
  color: var(--primary);
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-slow);
}

.card:hover {
  box-shadow: var(--shadow-xl);
}

.card-body {
  padding: var(--space-xl);
}

/* Icon Circles */
.icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 2rem;
  height: 2rem;
}

.icon-circle-primary {
  background-color: var(--primary-10);
}

.icon-circle-primary svg {
  color: var(--primary);
}

.icon-circle-success {
  background-color: var(--success-10);
}

.icon-circle-success svg {
  color: var(--success);
}

.icon-circle-warning {
  background-color: var(--warning-10);
}

.icon-circle-warning svg {
  color: var(--warning-40);
}

/* ============================================
   Header / Navigation
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--charcoal-10);
  transition: box-shadow var(--transition-base);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .nav {
    height: 5rem;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: var(--text-xl);
}

.nav-logo-text {
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--charcoal-60);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--charcoal-50);
  font-weight: 500;
  transition: color var(--transition-base);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-mobile-btn {
  display: flex;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal-50);
}

.nav-mobile-btn:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .nav-mobile-btn {
    display: none;
  }
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
}

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

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  padding: 6rem 0 3rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: 0;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Hero Text */
.hero-text {
  text-align: center;
  order: 2;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
    order: 1;
  }
}

.hero-text h1 {
  font-size: var(--text-4xl);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text h1 span {
  display: block;
  background: linear-gradient(135deg, var(--primary-10), var(--primary-20));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: var(--text-6xl);
  }
}

.hero-text p {
  font-size: var(--text-lg);
  color: var(--primary-10);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero-text p {
    margin-left: 0;
    font-size: var(--text-xl);
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* Hero Carousel */
.hero-carousel {
  order: 1;
}

@media (min-width: 1024px) {
  .hero-carousel {
    order: 2;
  }
}

.carousel-images {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.carousel-images .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-images .slide.active {
  opacity: 1;
}

.carousel-images .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-images .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 500;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .carousel-dots {
    justify-content: flex-start;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-40) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Stats Section
   ============================================ */

.stats {
  background-color: var(--primary);
  padding: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  text-align: center;
  color: #ffffff;
}

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

.stat-number {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  .stat-number {
    font-size: var(--text-4xl);
  }
}

.stat-label {
  color: var(--primary-10);
  font-size: var(--text-sm);
}

@media (min-width: 768px) {
  .stat-label {
    font-size: var(--text-base);
  }
}

/* ============================================
   About Section
   ============================================ */

.about-header {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.about-header h2 {
  margin-bottom: var(--space-md);
}

.about-header p {
  font-size: var(--text-lg);
  color: var(--charcoal-40);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

.about-card {
  text-align: center;
  padding: var(--space-xl);
}

.about-card .icon-circle {
  margin: 0 auto var(--space-lg);
}

.about-card h4 {
  margin-bottom: var(--space-md);
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
  background-color: var(--primary);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  padding: var(--space-4xl) 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cta {
    padding: 6rem 0;
  }
}

.cta h2 {
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.cta p {
  color: var(--primary-10);
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background-color: var(--charcoal-60);
  color: #ffffff;
  padding: var(--space-2xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

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

.footer-brand p {
  color: var(--charcoal-20);
  max-width: 20rem;
}

.footer-links h5,
.footer-contact h5 {
  margin-bottom: var(--space-md);
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a,
.footer-contact a {
  color: var(--charcoal-20);
  transition: color var(--transition-base);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-contact li {
  color: var(--charcoal-20);
}

.footer-bottom {
  border-top: 1px solid var(--charcoal-50);
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: var(--charcoal-30);
  font-size: var(--text-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  color: var(--charcoal-30);
  transition: color var(--transition-base);
}

.footer-social a:hover {
  color: #ffffff;
}

/* ============================================
   Utility Classes
   ============================================ */

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Max width utilities */
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlide {
  0%, 25% { opacity: 1; }
  30%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Subtle hover animations */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-2px);
}

.hover-scale {
  transition: transform var(--transition-base);
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* Link underline animation */
.link-underline {
  position: relative;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width var(--transition-base);
}

.link-underline:hover::after {
  width: 100%;
}

/* ============================================
   Logo SVG
   ============================================ */

.nav-logo-svg {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.footer-logo-svg {
  filter: brightness(0) invert(1);
}

/* ============================================
   Section Styles
   ============================================ */

.section-alt {
  background-color: var(--charcoal-10);
}

.section-tagline {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--charcoal-40);
}

/* ============================================
   Pillars Grid (Three Pillars)
   ============================================ */

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

.pillar-card {
  text-align: center;
  padding: var(--space-xl);
}

.pillar-card .icon-circle {
  margin: 0 auto var(--space-lg);
}

.pillar-card h4 {
  margin-bottom: var(--space-md);
}

/* ============================================
   Story Section
   ============================================ */

.story-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .story-content {
    grid-template-columns: 1fr 1fr;
  }
}

.story-text h2 {
  margin-bottom: var(--space-sm);
}

.story-location {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.story-text p {
  margin-bottom: var(--space-md);
}

.story-text p:last-child {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--charcoal-60);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.gallery-img {
  border-radius: var(--radius-md);
  object-fit: cover;
  width: 100%;
  height: 150px;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.gallery-img-main {
  grid-column: span 2;
  height: 250px;
}

@media (min-width: 768px) {
  .gallery-img {
    height: 180px;
  }
  .gallery-img-main {
    height: 300px;
  }
}

/* ============================================
   Programs Section
   ============================================ */

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

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

.program-card {
  padding: var(--space-lg);
  background-color: var(--charcoal-10);
  border-radius: var(--radius-xl);
  transition: background-color var(--transition-base);
}

.program-card:hover {
  background-color: var(--primary-10);
}

.program-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.program-icon svg {
  width: 100%;
  height: 100%;
}

.program-card h5 {
  margin-bottom: var(--space-sm);
  color: var(--charcoal-60);
}

.program-card p {
  font-size: var(--text-sm);
  color: var(--charcoal-50);
}

/* ============================================
   Team Section
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

.team-card {
  background-color: #ffffff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.team-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}

.team-info {
  padding: var(--space-lg);
}

.team-info h4 {
  margin-bottom: var(--space-xs);
}

.team-role {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.team-info p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
}

.team-link:hover {
  color: var(--primary-40);
}

.team-link svg {
  width: 1rem;
  height: 1rem;
}

/* ============================================
   Nurture Scholars Section
   ============================================ */

.scholar-feature {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .scholar-feature {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

.scholar-images {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
}

.scholar-img-main,
.scholar-img-secondary {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.scholar-img-main {
  height: 280px;
}

.scholar-img-secondary {
  height: 280px;
}

@media (min-width: 768px) {
  .scholar-img-main {
    height: 340px;
  }
  .scholar-img-secondary {
    height: 340px;
  }
}

.scholar-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
}

.scholar-degree {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.scholar-content p {
  margin-bottom: 1rem;
}

.scholar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.scholar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-10);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-base);
}

.scholar-link:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   Scholarship Section
   ============================================ */

.scholarship-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.scholarship-text h2 {
  margin-bottom: var(--space-md);
}

.scholarship-text p {
  font-size: var(--text-lg);
  color: var(--charcoal-40);
  margin-bottom: var(--space-xl);
}

/* ============================================
   Volunteer Section
   ============================================ */

.volunteer-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.volunteer-content h2 {
  margin-bottom: var(--space-md);
}

.volunteer-content > p {
  font-size: var(--text-lg);
  color: var(--charcoal-40);
  margin-bottom: var(--space-xl);
}

.volunteer-locations {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
  .volunteer-locations {
    flex-direction: row;
  }
}

.location-card {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  color: var(--charcoal-60);
  font-weight: 500;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.location-card:hover {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.location-card svg {
  color: var(--primary);
  transition: color var(--transition-base);
}

.location-card:hover svg {
  color: #ffffff;
}

.volunteer-cta {
  font-size: var(--text-sm);
  color: var(--charcoal-40);
}

.volunteer-cta a {
  font-weight: 500;
}

/* ============================================
   Donate Section Enhancements
   ============================================ */

.donate-form {
  margin-bottom: var(--space-xl);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
}

.donate-alternatives {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-lg);
}

.donate-alternatives p {
  font-size: var(--text-sm);
  color: var(--primary-20);
  margin-bottom: var(--space-sm);
}

.donate-links {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.donate-links a {
  color: #ffffff;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity var(--transition-base);
}

.donate-links a:hover {
  opacity: 1;
  color: #ffffff;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-simple {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.contact-simple h2 {
  margin-bottom: var(--space-md);
}

.contact-simple > p {
  font-size: var(--text-lg);
  color: var(--charcoal-40);
  margin-bottom: var(--space-2xl);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  justify-content: center;
}

@media (min-width: 640px) {
  .contact-cards {
    flex-direction: row;
  }
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--charcoal-10);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.contact-card:hover {
  background-color: var(--primary-10);
  transform: translateY(-2px);
}

.contact-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-card-content {
  text-align: left;
}

.contact-card-label {
  font-size: var(--text-sm);
  color: var(--charcoal-40);
  margin-bottom: var(--space-xs);
}

.contact-card-value {
  font-weight: 600;
  color: var(--charcoal-60);
}

.contact-card a {
  color: var(--charcoal-60);
}

.contact-card a:hover {
  color: var(--primary);
}

/* ============================================
   Footer Enhancements
   ============================================ */

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

.footer-brand {
  margin-bottom: var(--space-md);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-md);
}

.footer-brand .nav-logo-text {
  color: #ffffff;
}

.footer-contact-col h5,
.footer-social-col h5 {
  margin-bottom: var(--space-md);
}

.footer-contact-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-contact-col li {
  color: var(--charcoal-20);
}

.footer-contact-col a {
  color: var(--charcoal-20);
}

.footer-contact-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    text-align: left;
  }
}

.footer-legal {
  font-size: var(--text-sm);
  color: var(--charcoal-30);
}

/* ============================================
   Lightbox Modal
   ============================================ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

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

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform var(--transition-slow);
}

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

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #ffffff;
  font-size: var(--text-base);
  text-align: center;
  margin-top: var(--space-lg);
  max-width: 600px;
  opacity: 0.9;
}

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