* {
  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 (max-width: 768px) {
  .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;
  }

  .nav-toggle {
    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);
}

.hero-buttons .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 Responsive */

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }
}

/* Programs Section */
.programs {
  padding: 100px 0;
  background: white;
}

.programs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.programs h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2d5016;
  margin-bottom: 4rem;
}

.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%);
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
}

.program-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.program-icon {
  font-size: 3rem;
  color: #4a7c59;
  margin-bottom: 1.5rem;
}

.program-item h3 {
  font-size: 1.5rem;
  color: #2d5016;
  margin-bottom: 1rem;
}

.program-item p {
  /* font-size: 0.95rem; */
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.program-item a {
  text-decoration: none;
  font-weight: 500;
  color: #4a7c59;
}



/* Contact Form */
.contact-form {
  padding: 100px 0;
  background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
  color: white;
}

.cf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.form-header {
  text-align: center;
  margin-bottom: 4rem;
}

.form-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.form-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);

}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-btn {
  width: 100%;
  background: white;
  color: #2d5016;
  font-weight: 700;
  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;

}

.contact-btn-primary {
  font-weight: bold;
}

.contact-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
}

/* Toast Message Box */
.toast {
  position: fixed;
  top: 30px;
  right: 30px;
  background-color: #4a7c59;
  color: #fff;
  display: flex;
  align-items: center;
  font-weight: 600;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1000;
}


.toast.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.toast-icon {
  font-size: 18px;
  color: #fff;
}

.toast-message {
  flex: 1;
}

/* Loading spinner */

.spinner-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
  color: #2d5016;
  margin-right: 8px;
}

.sending-text {
  color: #2d5016;
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* FAQ Section */

.faq-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
}

.faq-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2d5016;
  margin-bottom: 4rem;
}

.faq-grid {
  padding: 100px 0;
  background: #f8faf7;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.story-item,
.faq-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,
.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.faq-content {
  padding: 2rem;
}

.faq-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2d5016;
  /* Match your green if used elsewhere */
}

.faq-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Responsive Grid */
@media (max-width: 768px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}


/* Emergency Call Section */

.emergency-alert {
  background: linear-gradient(45deg, #ff6b6b, #e74c3c);
  padding: 32px 0px;
  color: white;
}

.emergency-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.alert-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.alert-icon i {
  font-size: 3rem;
  color: #fff
}

.alert-text {
  flex: 1;
  min-width: 250px;
}

.alert-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.alert-text p {
  font-size: 1rem;
  opacity: 0.9;
}

.btn-urgent {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  color: white;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
  animation: pulse 2s infinite;
}

/* btn urgent keyframes */

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}


.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.btn-urgent:hover {
  background-color: #8a0000;
}

/* Emergency Mobile responsiveness */


@media (max-width: 768px) {
  .alert-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}


/* 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;
}

/* Responsive */
@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* 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;
}