* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Footer */
footer {
  background: #0f3d2e;
  color: white;
  padding: 60px 50px 40px;
  position: relative;
  overflow: hidden;
}

.footer-section a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.footer-section a:hover {
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 0 8px #00ff66;
  color: white;
}
.footer-links a {
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 0 8px #00ff66;
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto 40px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #00b44e;
  font-weight: 700;
  position: relative;
}
.footer-section h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  background: #00ff66;
  transition: width 0.3s ease;
}
.footer-section h4:hover::after {
  width: 50px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}
.footer-section ul li i {
  color: #00b44e;
  font-size: 16px;
  transition: transform 0.3s ease;
}
.footer-section ul li:hover {
  transform: translateX(5px);
}
.footer-section ul li:hover i {
  transform: scale(1.2);
}

.donate-btn {
  display: inline-block;
  background: #00b44e;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  margin: 10px 0;
  font-weight: 700;
  transition: all 0.3s ease;
}
.donate-btn:hover {
  background: #007a2e;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 180, 78, 0.5);
}

.tax-info {
  font-size: 12px;
  color: #a2d5a1;
  margin-top: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00b44e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00b44e;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  background: rgba(0, 180, 78, 0.1);
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: #00b44e;
  color: white;
  transform: translateY(-5px) scale(1.2);
  box-shadow: 0 8px 20px rgba(0, 180, 78, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 180, 78, 0.3);
  padding-top: 25px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-links a {
  color: #00b44e;
  font-weight: 600;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: white;
  transform: translateY(-2px);
}
.footer-copyright {
  color: #a2d5a1;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-section {
    margin-bottom: 30px;
  }
}

/* ================================================
   IMPACT SECTION
   ================================================ */

.impact-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  border-radius: 20px;
  max-width: 1100px;
  margin: 3rem auto;
  text-align: center;
  z-index: 1;
}

.impact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/impact-bg.jpg") center/cover no-repeat;
  z-index: -1;
  opacity: 0.15;
}

.impact-heading {
  font-size: 2.8rem;
  color: #27ae60;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 0 12px rgba(46, 204, 113, 0.3);
}
.impact-subheading {
  font-size: 1.3rem;
  color: #444;
  margin-bottom: 2.5rem;
}

/* ================================================
   FLOATING HANDS BACKGROUND  (replaces hearts)
   ================================================ */

.floating-hearts-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Each .heart div now shows a 🙏 emoji */
.floating-hearts-bg .heart {
  position: absolute;
  width: 30px;
  height: 30px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  opacity: 0.18;
  animation: floatHandBg 15s linear infinite;
  /* remove old rotated-square heart shape */
  transform: none;
}
.floating-hearts-bg .heart::before {
  content: "🙏";
}
.floating-hearts-bg .heart::after {
  display: none;
}

.floating-hearts-bg .heart:nth-child(1) {
  left: 15%;
  animation-delay: 0s;
}
.floating-hearts-bg .heart:nth-child(2) {
  left: 35%;
  animation-delay: 3s;
}
.floating-hearts-bg .heart:nth-child(3) {
  left: 55%;
  animation-delay: 6s;
}
.floating-hearts-bg .heart:nth-child(4) {
  left: 75%;
  animation-delay: 9s;
}
.floating-hearts-bg .heart:nth-child(5) {
  left: 90%;
  animation-delay: 12s;
}

@keyframes floatHandBg {
  0% {
    top: 100%;
    opacity: 0.18;
    transform: scale(1);
  }
  50% {
    opacity: 0.28;
    transform: scale(1.1);
  }
  100% {
    top: -10%;
    opacity: 0;
    transform: scale(1);
  }
}

/* ================================================
   CARD HANDS  (replaces card hearts)
   ================================================ */

.card-hearts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.card-hearts .heart {
  position: absolute;
  width: 20px;
  height: 20px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0.35;
  animation: floatHandCard 6s linear infinite;
  transform: none;
}
.card-hearts .heart::before {
  content: "🙏";
}
.card-hearts .heart::after {
  display: none;
}

.card-hearts .heart:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.card-hearts .heart:nth-child(2) {
  left: 25%;
  animation-delay: 1s;
}
.card-hearts .heart:nth-child(3) {
  left: 40%;
  animation-delay: 2s;
}
.card-hearts .heart:nth-child(4) {
  left: 55%;
  animation-delay: 3s;
}
.card-hearts .heart:nth-child(5) {
  left: 70%;
  animation-delay: 4s;
}
.card-hearts .heart:nth-child(6) {
  left: 85%;
  animation-delay: 5s;
}

@keyframes floatHandCard {
  0% {
    top: 100%;
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
  100% {
    top: -10%;
    opacity: 0;
    transform: scale(1);
  }
}

/* ================================================
   IMPACT STATS
   ================================================ */

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-box {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  opacity: 0;
  overflow: hidden;
}
.stat-box:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 14px 28px rgba(46, 204, 113, 0.4);
}
.stat-box h3 {
  font-size: 2.7rem;
  color: #2ecc71;
  margin-bottom: 0.5rem;
  font-weight: bold;
  position: relative;
  z-index: 1;
}
.stat-box p {
  font-size: 1rem;
  color: #333;
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.stat-box h3.pulse {
  animation: pulse 0.6s ease;
}

/* ================================================
   ACCOMPLISHMENTS
   ================================================ */

.impact-accomplishments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.impact-card {
  position: relative;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  overflow: hidden;
  cursor: pointer;
}
.impact-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 16px 32px rgba(46, 204, 113, 0.45);
}
.impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
.impact-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}
.impact-card p {
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ================================================
   SCROLL ANIMATION
   ================================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   BEFORE & AFTER
   ================================================ */

.impact-before-after-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.before-after-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  opacity: 0;
}
.before-after-card:hover {
  transform: scale(1.05) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 12px 28px rgba(46, 204, 113, 0.3);
}

.side {
  flex: 1;
  padding: 0.5rem;
  text-align: center;
}
.side h4 {
  font-size: 1rem;
  color: #27ae60;
  margin-bottom: 0.3rem;
  font-weight: bold;
}
.side img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}
.side img:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.divider-vertical {
  width: 4px;
  background: #2ecc71;
  height: 80%;
  margin: 0 0.5rem;
}

/* ================================================
   FUTURE PLANS
   ================================================ */

.future-plans {
  padding: 100px 40px;
  background: linear-gradient(140deg, #f4fff8, #ffffff);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.future-plans::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(46, 204, 113, 0.12),
    transparent
  );
  top: -250px;
  left: -250px;
  filter: blur(90px);
  animation: bgFloat 12s infinite alternate ease-in-out;
}
.future-plans::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(46, 204, 113, 0.1),
    transparent
  );
  bottom: -200px;
  right: -200px;
  filter: blur(90px);
  animation: bgFloat 10s infinite alternate ease-in-out;
}
@keyframes bgFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(60px);
  }
}

.future-title {
  font-size: 46px;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #2ecc71, #00c853, #27ae60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}
.future-subtitle {
  font-size: 20px;
  color: #1a5d4d;
  margin-bottom: 70px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.future-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px 30px;
  border-radius: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.1);
  transition: all 0.45s cubic-bezier(0.17, 0.67, 0.34, 1.4);
  overflow: hidden;
  transform-style: preserve-3d;
  text-align: left;
}

/* Animated gradient border */
.future-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 22px;
  background: linear-gradient(
    120deg,
    #2ecc71,
    #00e676,
    #00c853,
    #2ecc71
  );
  background-size: 300% 300%;
  animation: borderGlow 6s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s;
}
.future-card:hover::before {
  opacity: 1;
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* Shine sweep */
.future-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -120%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: rotate(25deg);
  transition: 0.6s;
}
.future-card:hover::after {
  top: 120%;
  left: 120%;
}

.future-card:hover {
  transform: translateY(-18px) rotateX(3deg) rotateY(-3deg)
    scale(1.04);
  box-shadow: 0 40px 90px rgba(46, 204, 113, 0.3);
  background: white;
}

.future-card h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1a5d4d;
}
.future-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}
.future-card ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.future-card li {
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.future-quote {
  margin-top: 70px;
  font-size: 19px;
  font-style: italic;
  color: #1a5d4d;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1000px) {
  .future-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .future-grid {
    grid-template-columns: 1fr;
  }
  .future-title {
    font-size: 30px;
  }
  .future-subtitle {
    font-size: 16px;
  }
}


.roadmap-container{
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  height: 2000px;
}

.map-road{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* CARDS */
.road-item{
  position: absolute;
  width: 220px;
  background: #16a34a;
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  z-index: 2;
}

/* LEFT SIDE */
.road-item.left{
  left: 300px;
  transform: translateX(-100%);
}

/* RIGHT SIDE */
.road-item.right{
  right: 300px;
  transform: translateX(100%);
}

@media(max-width:768px){

.roadmap-container{
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  height: 2000px;
  overflow: hidden; /* 🔥 THIS FIXES BLACK BLOCK */
}

.map-road{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

  .road-item{
    position: relative;
    width: 100%;
    margin: 20px 0;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }
}

@media(max-width:768px){

  .roadmap-container{
    height: 1800px;
    overflow: hidden;
  }

  .map-road{
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    width: 1200px;
    height: auto;
  }

  .road-item{
    position: relative;
    width: 100%;
    margin: 20px 0;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }
}


@media(max-width:768px){

  .roadmap-container{
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  /* ROAD → vertical center line */
  .map-road{
    position: absolute;
    width: 120px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  /* ITEMS → stacked */
  .road-item{
    position: relative;
    width: 85%;
    margin: 30px 0;
    z-index: 2;
    transform: none !important;
  }

  /* LEFT ITEMS */
  .road-item.left{
    align-self: flex-start;
    margin-left: 10px;
  }

  /* RIGHT ITEMS */
  .road-item.right{
    align-self: flex-end;
    margin-right: 10px;
  }

}


@media(max-width:768px){

  .roadmap-container{
    position: relative;
    width: 100%;
    height: 1600px;
    margin: auto;
  }

  /* ✅ FIX ROAD VISIBILITY */
  .map-road{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.6);
    transform-origin: top center;
    width: 1200px;   /* keep original width */
    height: auto;
    z-index: 1;
  }

  /* ✅ CARDS */
  .road-item{
    position: absolute;
    width: 140px;
    font-size: 12px;
    padding: 8px;
    z-index: 2;
  }

  .road-item.left{
    left: 5%;
  }

  .road-item.right{
    right: 5%;
  }

}


/* ROADMAP SECTION */
.roadmap-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  height: 2000px;
}

/* SVG ROAD */
.map-road {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

/* CARDS */
.road-item {
  position: absolute;
  width: 220px;
  background: #16a34a;
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* LEFT SIDE */
.road-item.left {
  left: 50%;
  transform: translateX(-150%);
}

/* RIGHT SIDE */
.road-item.right {
  left: 50%;
  transform: translateX(50%);
}

@media (max-width: 768px) {

  .roadmap-container {
    height: 2000px;
  }

  /* KEEP ROAD VERTICAL */
  .map-road {
    width: 200%;
    left: -50%;
  }

  /* CARDS ADJUST */
  .road-item {
    width: 160px;
    font-size: 13px;
    padding: 10px;
  }

  .road-item.left {
    left: 50%;
    transform: translateX(-130%);
  }

  .road-item.right {
    left: 50%;
    transform: translateX(30%);
  }
}

/* =========================
   MOBILE TIMELINE FIX
   ========================= */
@media (max-width: 768px) {

  .roadmap-container {
    position: relative;
    padding-left: 40px;
    height: auto;
  }

  /* HIDE SVG ROAD */
  .map-road {
    display: none;
  }

  /* TIMELINE LINE */
  .roadmap-container::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #16a34a;
    border-radius: 10px;
  }

  /* CARDS */
  .road-item {
    position: relative;
    width: 90%;
    margin: 25px 0;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    text-align: left;
    padding-left: 40px;
  }

  /* DOT ON LINE */
  .road-item::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 20px;
    width: 14px;
    height: 14px;
    background: #16a34a;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(22,163,74,0.6);
  }
}

