*{
  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;
  padding:15px 40px;
  background:#003f88;
}

.logo{
  color:white;
  font-size:22px;
  font-weight:bold;
}

nav a{
  color:white;
  margin:0 10px;
  text-decoration:none;
}

nav a:hover{
  color:#ffccd2;
}

.btn{
  padding:8px 16px;
  border:none;
  border-radius:5px;
  cursor:pointer;
}

/* Buttons */
.donate{
  background:#dc3545;
  color:white;
}

.join{
  background:white;
  color:#003f88;
}

.learn{
  background:#0d6efd;
  color:white;
}

/* SLIDER */

.slider{
  height:90vh;
  position:relative;
  overflow:hidden;
}

.slides{
  height:100%;
  position:relative;
}

.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;
}

.hero-btns{
  margin-top:20px;
}

.hero-btns button{
  margin-right:10px;
}

/* 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);
}

.card i{
  font-size:40px;
  color:#0d6efd;
  margin-bottom:10px;
}

/* IMAGE BOX */

.box img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:8px;
}

.box p{
  margin-top:10px;
  font-weight:bold;
}

/* VIEW ALL PROJECTS BUTTON */

.projects-btn-wrap{
  margin-top:40px;
  text-align:center;
}

.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;
  transition:0.3s ease;
}

.view-all-btn:hover{
  background:#dc3545;
  transform:translateY(-2px);
}

/* 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;
  transition:0.3s ease;
}

.img-btn:hover{
  transform:translateY(-2px);
  opacity:0.9;
}

/* Button 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-box h2,
.footer-box h3{
  color:#d6e4ff;
  margin-bottom:15px;
}

.social-icons a{
  color:white;
  font-size:18px;
  margin-right:12px;
}

.social-icons a:hover{
  color:#dc3545;
}

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

.footer-bottom{
  text-align:center;
  margin-top:20px;
  border-top:1px solid rgba(255,255,255,.3);
  padding-top:15px;
}

.footer-bottom a{
  color:white;
  margin-right:15px;
}

.footer.dark{
  background:#001f4d;
}

/* 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;
}