/* Reset & base */

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  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;
  background-color: #fff;
  /* color: #fff; */
  overflow-x: hidden;
  /* overflow-y:hidden; */
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Navbar Base */

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0px;
  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;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(45, 80, 22);
}

.nav-logo i {
  margin-right: 10px;
  color: rgb(74, 124, 89);
}

/* Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #4a7c59;
}

.nav-link.active {
  color: #007a5e;
  font-weight: 600;
  border-bottom: 2px solid #007a5e;
}


/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #2d5016;
  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 1 500px;
}

.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;
}

/* .hero-buttons a {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
} */

.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: #4a7c59;
  color: white;
}

.Btn i {
  margin-right: 8px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: 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);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons a {
    margin-bottom: 10px;
  }

  .hero-image {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .Btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

}


/* Emergency Alert 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;
  }
}


/* STATISTICS SECTION */

.statistics {
  background-color: white;
  padding: 100px 0;
  text-align: center;
}

.statistics .stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.stats-container {
  display: flex;
  flex-direction: column;
}

.statistics h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #2D5016;
  margin-bottom: 4rem;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.stat-item {
  background-image: linear-gradient(135deg, rgb(248, 255, 254) 0%, rgb(232, 245, 232) 100%);
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0);
  background-repeat: repeat;
  background-size: auto;
  color: rgb(51, 51, 51);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 5px 15px 0px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-6px);
}

.stat-number {
  font-size: 3rem;
  color: #4a7c59;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}


/* CRYPTO DONATIONS */

.crypto-donations {
  padding: 100px 0;
  background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
  color: white;
}

.crypto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.crypto-header {
  text-align: center;
  margin-bottom: 4rem;
}

.crypto-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.crypto-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.crypto-wallet {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;

}

.crypto-wallet:hover {
  transform: translateY(-6px);
}

.crypto-icon i {
  font-size: 3rem;
  color: #f39c12;
  margin-bottom: 1rem;
}


.crypto-wallet h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.wallet-address {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  gap: 1rem;
  /* word-break: break-all; */
  margin-bottom: 1rem;
  padding: 1rem;
}

.wallet-address code {
  flex: 1;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Courier New', Courier, monospace;
  word-break: break-all;
}

.wallet-address code:hover {
  cursor: pointer;
  transition: 0.2s;
  background-color: rgba(74, 124, 89, 0.1);
  padding: 2px 4px;
  border-radius: 4px;
}

.wallet-address button {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
  transform: scale(1);
  transition: background 0.3s ease;
}

.wallet-address button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.qr-code {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  margin-top: 1rem;
}

.qr-code img {
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.qr-code p {
  font-size: 0.9rem;
  color: #333;
}

.crypto-note {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.crypto-note p {
  margin-bottom: 1rem;
  font-size: 1rem;
  opacity: 0.9;
}

.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;
}

.btn-outline {
  background: transparent;
  color: #4a7c59;
  border: 2px solid #4a7c59;
}

.btn-outline:hover {
  background-color: #4a7c59;
  color: #fff;
}

/* Mobile Responsiveness */
@media (max-width:768px) {
  .crypto-grid {
    grid-template-columns: 1fr;
  }
}


/* Programs Section */

.programs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.programs {
  padding: 100px 0;
  background: white;
}

.programs h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #2d5016;
}

/* Grid layout */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Program Item */
.program-item {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.program-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-content {
  padding: 2rem;
  text-align: center;
}

.program-content h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #2d5016;
}

.program-content p {
  line-height: 1.6;
  color: #666;
}


/* Stories Section */

.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(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.story-image {
  height: 200px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-item:hover .story-image img {
  transform: scale(1.05);
}

.story-content {
  padding: 2rem;
}

.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 .location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #999;
  font-size: 0.9rem;
}

.story-meta .location i {
  margin-right: 6px;
  color: #999;
  font-size: 0.95rem;
}

/* CTA Button */
.stories-cta {
  text-align: center;
}

.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-outline {
  background: transparent;
  color: #4a7c59;
  border: 2px solid #4a7c59;
}

.btn.btn-outline:hover {
  background: #4a7c59;
  color: white;
}


/* CTA Section */
.cta {
  background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.cta .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}


/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Primary Button (Green) */
.btn-primary {
  background: linear-gradient(45deg, #4a7c59, #2d5016);
  box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
  color: white;
  /* font-weight: bold; */
}

.btn-primary:hover {
  transform: translateY(-3px);
}

/* Secondary Button (Transparent) */
.btn-secondary {
  background: white;
  border: 2px solid #4a7c59;
  color: #4a7c59;
}

.btn-secondary:hover {
  background-color: #4a7c59;
  color: white;
}

/* Icons */
.btn i {
  font-size: 1.2rem;
}

/* Mobile Responsiveness */
@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;
  margin: 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 (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;
}