* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  --fa-style-family-brands: "Font Awesome 6 Brands";
  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
  --fa-style-family-classic: "Font Awesome 6 Free";
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  /* color: #fff; */
  overflow-x: hidden;
  /* overflow-y:hidden; */
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


/* Navbar Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1)
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d5016;
}

.nav-logo i {
  color: #4a7c59;
  margin-right: 10px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #007a5e;
}

.nav-link.active {
  color: #007a5e;
  font-weight: 600;
  border-bottom: 2px solid #007a5e;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s ease;
}


/* Responsive */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    gap: 2rem;
    padding: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 998;
  }

  .nav-menu.active {
    display: flex;
  }
}

/* Hero Section */

.hero {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
  padding: 150px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* .hero-content {
  flex: 1;
  max-width: 600px;
} */

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2d5016;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(45deg, #4a7c59, #2d5016);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
  transition: transform 0.3s ease-in-out;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  background: white;
  color: #4a7c59;
  border: 2px solid #4a7c59;
}

.btn-secondary:hover {
  background-color: #4a7c59;
  color: #fff;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #4a7c59 0%, #2d5016 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(74, 124, 89, 0.3);
}

.central-logo {
  text-align: center;
  color: white;
  z-index: 2;
}

.central-logo i {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.central-logo span {
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.icon-item {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

.icon-item:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.icon-item:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}

.icon-item:nth-child(3) {
  top: 80%;
  left: 20%;
  animation-delay: 2s;
}

.icon-item:nth-child(4) {
  top: 30%;
  left: 75%;
  animation-delay: 3s;
}

.icon-item:nth-child(5) {
  top: 70%;
  left: 50%;
  animation-delay: 4s;
}

.icon-item:nth-child(6) {
  top: 40%;
  left: 30%;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Hero Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Programs */
.programs {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.programs h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: bold;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.program-item {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
  padding: 20px 10px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.program-item:hover {
  transform: translateY(-5px);
}

.program-icon {
  font-size: 3rem;
  color: #4a7c59;
  margin-bottom: 1.5rem;
}

.program-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2d5016;
}

.program-item p {
  color: #666;
  line-height: 1.6;
}


/* Statistics */

.statistics-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.statistics {
  text-align: center;
  font-size: 2.5rem;
  color: #2d5016;
  margin-bottom: 4rem;
}

.statistics h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: bold;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* .stat-item:hover {
  transform: translateY(-5px);
} */

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #4a7c59;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}


/* Stories */

.stories {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
}

.stories-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stories h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2d5016;
  margin-bottom: 4rem;
}

.stories-grid {
  padding: 100px 0;
  background: #f8faf7;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.story-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.story-item:hover {
  transform: translateY(-5px);
}

.story-image {
  height: 200px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  will-change: transform;
}

.story-item:hover .story-image img {
  animation: pulse 1.2s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.story-content {
  padding: 1rem;
}

.story-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d5016;
  margin-bottom: 1rem;
}

.story-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #999;
  font-size: 0.9rem;
}

/* .story-meta .location i {
  color: #d90000;
  margin-right: 6px;
} */


/* CTA */

.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
  color: white;
  text-align: center;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transition: all 0.6s ease-out;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.95);
}


.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cbtn-primary {
  background: linear-gradient(45deg, #4a7c59, #2d5016);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.cbtn-primary:hover {
  transform: translateY(-3px);
}

.cbtn-secondary {
  background: white;
  color: #4a7c59;
  border: 2px solid #4a7c59;
}

.cbtn-secondary:hover {
  background: #4a7c59;
  color: #fff;
}

/* CTA Mobile Responsivenss */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Footer */

.footer {
  background: #1a1a1a;
  color: white;
  padding: 80px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #4a7c59;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

/* .footer-section h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #00b894;
  margin-top: 8px;
} */

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-logo i {
  margin-right: 10px;
  color: #4a7c59;
}

.fa-hands-helping:before,
.fa-handshake-angle:before {
  content: "\f4c4";
}

/* .footer p {
  line-height: 1.6;
  font-size: 14px;
  color: white;
} */

.footer-section ul {
  list-style: none;
  /* padding: 0; */
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  color: #4a7c59;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
  color: white;
}

/* .contact-info i {
  margin-right: 10px;
  color: #00b894;
} */

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* .footer-bottom-content p {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
} */

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  color: #4a7c59;
}

/* Footer Responsiveness */
@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Scroll To The Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgb(74, 124, 89);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 0.3s;
  pointer-events: none;
}