/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

/* BODY */

body {
  background: #f5fce8;
  color: #333;
  line-height: 1.6;
}


/* HEADER */

.head {
  background: goldenrod;
  text-align: center;
  padding: 25px;
  font-size: 25px;
}


/* NAVIGATION */

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px;
  background: #dff8ff;
}

.link {
  text-decoration: none;
  color: black;
  font-size: 18px;
}

.link:hover {
  color: green;
}


/* DONATE BUTTON */

.donate-btn {
  background: green;
  border: none;
  padding: 6px 15px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.donate-btn:hover {
  opacity: 0.7;
  border: solid 1px red;
}


/* TEXT CONTENT */

.words {
  max-width: 900px;
  margin: auto;
  padding: 25px;
  text-align: center;
  font-size: 17px;
}

.team {
  display: flex;
  justify-content: center;
  background-color: rgb(237, 240, 240);
  height: 30px;
}

/* LEADERS SECTION */

.leaders {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 20px;
}

.leader {
  text-align: center;
  font-family: arial;
}

.leader img {
  height: 100px;
  width: 100px;
  object-fit: cover;
  border-radius: 50px;
}

.leader img:hover {
  border: 1px solid red;
  opacity: 0.9;
}

.leader p {
  margin-top: 8px;
  font-weight: bold;
  font-size: 14px;
}


/* JOIN BUTTON */

.container {
  display: flex;
  justify-content: center;
  margin: 20px;
}

.join-us-button {
  background: #95bbdb;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
}

.join-link {
  text-decoration: none;
  color: white;
}


/* MISSION SECTIONS */

.middle {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
}

.middle-sections {
  padding: 25px;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.our-mission {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
}


/* IMAGES */

.images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  padding: 10px;
}

.photos {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}


/* FOOTER */

.footer {
  text-align: center;
  padding: 20px;
}

/* WHATSAPP FLOAT */


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* MODAL BACKGROUND */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

/* MODAL BOX */
.modal-content {
  background: white;
  margin: 15% auto;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

/* CLOSE BUTTON */
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

/* BUTTON STYLE */
.modal-content button {
  margin-top: 10px;
  padding: 10px 15px;
  border: none;
  background: green;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* RESPONSIVE DESIGN */

@media(max-width:768px) {

  .head {
    font-size: 24px;
  }

  .nav {
    flex-direction: column;
  }

  .middle {
    flex-direction: column;
    align-items: center;
  }

  .words {
    padding: 15px;
  }

}