/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:
    "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgb(9, 9, 11);
  background-color: rgb(255, 255, 255);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* CSS Variables - NGO Theme Colors */
:root {
  /* Forest Colors */
  --forest-50: rgb(240, 253, 242);
  --forest-100: rgb(220, 252, 231);
  --forest-200: rgb(187, 247, 208);
  --forest-300: rgb(134, 239, 172);
  --forest-400: rgb(74, 222, 128);
  --forest-500: rgb(34, 197, 94);
  --forest-600: rgb(22, 163, 74);
  --forest-700: rgb(21, 128, 61);
  --forest-800: rgb(22, 101, 52);
  --forest-900: rgb(20, 83, 45);
  --forest-950: rgb(5, 46, 22);

  /* Nature Colors */
  --nature-50: rgb(247, 254, 231);
  --nature-100: rgb(236, 252, 203);
  --nature-200: rgb(217, 249, 157);
  --nature-300: rgb(190, 242, 100);
  --nature-400: rgb(163, 230, 53);
  --nature-500: rgb(132, 204, 22);
  --nature-600: rgb(101, 163, 13);
  --nature-700: rgb(77, 124, 15);
  --nature-800: rgb(63, 98, 18);
  --nature-900: rgb(54, 83, 20);

  /* Earth Colors */
  --earth-50: rgb(254, 253, 242);
  --earth-100: rgb(254, 249, 199);
  --earth-200: rgb(254, 240, 138);
  --earth-300: rgb(253, 224, 71);
  --earth-400: rgb(250, 204, 21);
  --earth-500: rgb(234, 179, 8);
  --earth-600: rgb(202, 138, 4);
  --earth-700: rgb(161, 98, 7);
  --earth-800: rgb(133, 77, 14);
  --earth-900: rgb(113, 63, 18);

  /* Ocean Colors */
  --ocean-50: rgb(236, 254, 255);
  --ocean-100: rgb(207, 250, 254);
  --ocean-200: rgb(165, 243, 252);
  --ocean-300: rgb(103, 232, 249);
  --ocean-400: rgb(34, 211, 238);
  --ocean-500: rgb(6, 182, 212);
  --ocean-600: rgb(8, 145, 178);
  --ocean-700: rgb(14, 116, 144);
  --ocean-800: rgb(21, 94, 117);
  --ocean-900: rgb(22, 78, 99);

  /* Gray Scale */
  --gray-50: rgb(249, 250, 251);
  --gray-100: rgb(243, 244, 246);
  --gray-200: rgb(229, 231, 235);
  --gray-300: rgb(209, 213, 219);
  --gray-400: rgb(156, 163, 175);
  --gray-500: rgb(107, 114, 128);
  --gray-600: rgb(75, 85, 99);
  --gray-700: rgb(55, 65, 81);
  --gray-800: rgb(31, 41, 55);
  --gray-900: rgb(17, 24, 39);

  /* Spacing */
  --container-padding: 16px;
  --container-max-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-2xl: 24px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background-color: var(--forest-600);
  color: white;
}

.btn-primary:hover {
  background-color: var(--forest-700);
}

.btn-outline {
  border: 1px solid var(--forest-600);
  color: var(--forest-600);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--forest-50);
}

.btn-white {
  background-color: white;
  color: var(--forest-600);
}

.btn-white:hover {
  background-color: var(--forest-50);
}

.btn-outline-white {
  border: 1px solid white;
  color: white;
  background: transparent;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 16px;
  height: 48px;
}

.btn-full {
  width: 100%;
}

.btn-block {
  width: 100%;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
}

.badge-forest {
  background-color: var(--forest-100);
  color: var(--forest-800);
}

.badge-secondary {
  background-color: var(--gray-100);
  color: var(--gray-800);
}

.badge-outline {
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  background: transparent;
}

/* Navigation Styles */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgb(215, 234, 222);
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.nav-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--forest-700);
  text-decoration: none;
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
  color: var(--forest-800);
}

.logo-icon {
  position: relative;
}

.logo-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--forest-700);
}

.logo-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background-color: var(--forest-500);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--forest-600);
  line-height: 1;
}

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

.nav-link {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--forest-700);
  background-color: var(--forest-50);
}

.nav-link.active {
  color: var(--forest-700);
  background-color: rgb(220, 252, 231);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
}



/* Mobile styles */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 112px;
  background: linear-gradient(
    135deg,
    var(--forest-50),
    var(--nature-50),
    var(--forest-100)
  );
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%2322c55e" fill-opacity="0.05"%3E%3Cpath d="m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  background-color: var(--forest-100);
  color: var(--forest-800);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-badge:hover {
  background-color: var(--forest-200);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 24px;
}

.text-forest {
  color: var(--forest-600);
  display: block;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--forest-200);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--forest-600);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-600);
}

.hero-image {
  position: relative;
}

.hero-image-container {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}


.hero-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder img {
  width: 85%;
  height: 70%;
  margin-bottom: 20px;
}


/* Large screens */
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

/* Medium screens */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

/* Mission Section */
.mission {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.6;
}

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

.mission-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

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

.mission-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.mission-icon.forest {
  background-color: var(--forest-100);
}

.mission-icon.forest svg {
  color: var(--forest-600);
}

.mission-icon.nature {
  background-color: var(--nature-100);
}

.mission-icon.nature svg {
  color: var(--nature-600);
}

.mission-icon.ocean {
  background-color: var(--ocean-100);
}

.mission-icon.ocean svg {
  color: var(--ocean-600);
}

.mission-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.mission-description {
  color: var(--gray-600);
  line-height: 1.6;
}

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

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

/* Programs Section */
.programs {
  padding: 80px 0;
  background: var(--forest-50);
}

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

.program-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

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

.program-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--forest-200), var(--forest-300));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--forest-700);
  text-align: center;
}

.program-image img {
  margin-bottom: 8px;
  width: 100%;
  height: 100%;
}

.program-image p {
  font-weight: 500;
}

.program-content {
  padding: 24px;
}

.program-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.program-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.program-description {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.6;
}

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

/*Team*/
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: white;
  padding: 15px 0px;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 4px solid var(--forest-100);
}

.team-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--forest-800);
}

.team-card p {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 6px;
}

/* Impact Section */
.impact {
  padding: 80px 0;
  background: var(--forest-900);
  color: white;
}

.impact .section-title {
  color: white;
}

.text-forest-200 {
  color: rgb(187, 247, 208);
}

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

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

.impact-stat svg {
  width: 32px;
  height: 32px;
  color: rgb(74, 222, 128);
  margin: 0 auto 16px;
}

.impact-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1;
}

.impact-label {
  color: rgb(187, 247, 208);
}

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

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

/* Gallery */
.gallery-card {
  background-color: white;
  padding: 24px;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.program-gallery img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  margin-bottom: 16px;
  margin-top: 16px;
}

.program-description {
  color: var(--gray-700);
  margin-bottom: 12px;
}

.program-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: var(--gray-600);
}


/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(to right, var(--forest-600), var(--nature-600));
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 1024px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-description {
  font-size: 1.25rem;
  color: var(--forest-100);
  margin-bottom: 32px;
  max-width: 512px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

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

  .cta-title {
    font-size: 2.5rem;
  }
}

/* Updates Section */
.updates {
  padding: 80px 0;
  background: var(--gray-50);
}

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

.update-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.update-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.update-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.update-date {
  font-size: 14px;
  color: var(--gray-500);
}

.update-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.update-description {
  color: var(--gray-600);
  line-height: 1.6;
}

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

/* Footer Styles */
.footer {
  background: var(--forest-900);
  color: white;
}


.footer-main {
  padding: 48px 0;
}

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

.footer-section h4 {
  margin-bottom: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon svg {
  color: rgb(74, 222, 128);
}

.footer-description {
  font-size: 14px;
  color: rgb(187, 247, 208);
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgb(187, 247, 208);
  transition: color 0.15s ease;
}

.social-link:hover {
  color: white;
  background-color: var(--forest-800);
  border-radius: 4px;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 14px;
  color: rgb(187, 247, 208);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: white;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgb(187, 247, 208);
}

.contact-item svg {
  width: 16px;
  height: 16px;
  color: rgb(74, 222, 128);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--forest-800);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: rgb(187, 247, 208);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
}

.footer-bottom-links a {
  color: rgb(187, 247, 208);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

.made-with-love {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgb(187, 247, 208);
}

.made-with-love svg {
  color: rgb(248, 113, 113);
}

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

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

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-slide-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease-out;
}

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

/* Utility Classes */
.text-white {
  color: white;
}

.hidden {
  display: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.mobile-nav-link:focus {
  outline: 2px solid var(--forest-500);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }
}
