
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Segoe UI, sans-serif;
}

body{
  background:#f5f9ff;
  color:#002b5c;
}

/* NAVBAR */ .navbar{ display:flex; justify-content:space-between; align-items:center; padding:15px 40px; background:#003f88; flex-wrap:wrap; } /* LOGO GROUP */ .logo-box{ display:flex; align-items:center; gap:10px; } .logo-box img{ height:45px; width:auto; border-radius:5px; margin-top: 12px; } .logo{ color:white; font-size:20px; font-weight:bold; } /* NAV LINKS */ nav{ display:flex; align-items:center; flex-wrap:wrap; } nav a{ color:white; margin:0 10px; text-decoration:none; font-size:15px; } nav a:hover{ color:#ffccd2; } /* BUTTONS */ .btn{ padding:8px 16px; border-radius:5px; cursor:pointer; } .donate{ text-decoration:none;background-color:#dc3545; color:white; } .join{ background:white; color:#003f88; } /* LEARN MORE BUTTON */ .learn{ background:#0d6efd; color:white; padding:10px 22px; border-radius:6px; text-decoration:none; font-weight:600; display:inline-block; transition:0.3s ease; } /* HOVER EFFECT */ .learn:hover{ background:#003f88; transform:translateY(-2px); box-shadow:0 5px 12px rgba(0,0,0,0.2); }/* ================= MOBILE ================= */ @media (max-width:768px){ .navbar{ flex-direction:column; align-items:center; padding:15px; } .logo-box{ margin-bottom:10px; } nav{ justify-content:center; flex-wrap:wrap; } nav a{ margin:8px; font-size:14px; } /* BUTTONS FULL WIDTH LOOK */ .btn{ display:inline-block; margin-top:5px; } }

/* ================= SLIDER ================= */
.slider{
  height:90vh;
  position:relative;
  overflow:hidden;
}

.slide{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  opacity:0;
  transition:opacity 1s ease-in-out;
}

.slide.active{
  opacity:1;
  z-index:1;
}

.content{
  background:rgba(0,0,0,.6);
  color:white;
  padding:40px;
  margin-left:60px;
  border-radius:10px;
  max-width:500px;
}

/* SLIDER BUTTON FIX (ONLY HERE) */
.hero-btns{
  margin-top:20px;
}

.hero-btns button{
  padding:12px 22px; /* EXTRA PADDING HERE */
  margin-right:10px;
  border-radius:6px;
}

/* ================= SECTIONS ================= */
section{
  padding:60px;
  text-align:center;
}

.about-cards,.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
  margin-top:30px;
}

.card{
  background:white;
  padding:30px;
  border-radius:10px;
  box-shadow:0 6px 15px rgba(0,0,0,.1);
}

/* IMAGE BOX */
.box img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:8px;
}

/* PROJECT BUTTON */
.projects-btn-wrap{
  margin-top:40px;
}

.view-all-btn{
  display:inline-block;
  padding:12px 30px;
  background:#0d6efd;
  color:white;
  text-decoration:none;
  font-size:16px;
  font-weight:600;
  border-radius:60px;
}

/* IMAGE BUTTON */
.img-btn{
  display:block;
  width:100%;
  padding:12px;
  color:white;
  font-weight:600;
  border:none;
  border-radius:6px;
  cursor:pointer;
  margin-top:10px;
}

/* COLORS */
.green{background:#0d6efd;}
.blue{background:#003f88;}
.teal{background:#1a73e8;}
.navy{background:#dc3545;}

/* FOOTER */
.footer{
  background:#003f88;
  color:white;
  padding:50px 30px 20px;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.footer iframe{
  width:100%;
  height:150px;
  border-radius:8px;
}

.footer-bottom{
  text-align:center;
  margin-top:20px;
  padding-top:15px;
}

/* BACK TO TOP */
#backTop{
  position:fixed;
  bottom:30px;
  right:30px;
  background:#dc3545;
  color:white;
  border:none;
  padding:12px 15px;
  border-radius:50%;
  cursor:pointer;
  display:none;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width:768px){

  /* NAVBAR */
  .navbar{
    flex-direction:column;
    padding:15px;
  }

  nav{
    justify-content:center;
    margin-top:10px;
  }

  nav a{
    margin:8px;
    font-size:14px;
  }

  /* SLIDER HEIGHT FIX */
  .slider{
    height:70vh;
  }

  /* CONTENT CENTER */
  .content{
    margin:20px;
    padding:20px;
    text-align:center;
    max-width:100%;
  }

  /* BUTTON FIX IN SLIDER */
  .hero-btns button{
    display:block;
    width:100%;
    margin:10px 0;
  }

  /* SECTION */
  section{
    padding:30px 15px;
  }

  /* GRID */
  .about-cards,.grid{
    grid-template-columns:1fr;
  }

  /* IMAGE SIZE FIX */
  .box img{
    height:160px;
  }

  /* FOOTER */
  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }

  /* BACK BUTTON */
  #backTop{
    bottom:20px;
    right:20px;
    padding:10px;
  }
}
