@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Baloo 2", sans-serif;
}

body section h2{
  text-decoration: underline;
}

.navbar {
background-color: #1b961b;
}

#logo-img {
  width: 90px;
  height: 90px;
  background-color: white;
  border-radius: 50%;
}

#logo-img:hover{
  transform: scale(1.3);
  rotate: 360deg;
  transition: all 0.7s ease-in-out 0.2s;
}

#mynavbar ul li {
  margin-right: 20px;
  white-space: nowrap;
}
#mynavbar ul div {
  margin-right: 0;
}



#mynavbar ul li a {
  color: white;
  font-size: 20px;
  font-weight: 500;
}
@media (max-width:769px) {
  #mynavbar ul li a{
    font-size: 16px;
  }
}

#mynavbar ul li a {
  position: relative;
}

#mynavbar ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #ffeeee;
  height: 1px;
}


#mynavbar ul li a {
  transition: all 2s;
}

#mynavbar ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}
#mynavbar ul li a:hover {
  color: #fff;
  z-index: 1;
}
#mynavbar ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}


/* Keyframes */
@-webkit-keyframes fill {
  0% {
    width: 0%;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  100% {
    width: 100%;
    height: 100%;
    background: #922808;
  }
}

.navbar-text {
  color: rgb(255, 255, 255);
  font-weight: 600;
  margin: auto;
  font-size: 20px;
}

@media (max-width:400px) {
  #logo-img{
    width: 40px;
    height: 40px;
  }
  #text-ngo{
    font-size: 14px;
  }
}

#btn {
  background-color: #ff5500;;
  color: white;
  font-weight: 800;
}

.scaption {
  background-color:#3a2e9799;
  border-radius: 20px;
}

/* Support */
.don {
  text-align: center;
}

#support {
  margin-top: 2%;
  margin-bottom: 2%;
  padding: 2vh 10vw;
  font-size: 25px;
  white-space: nowrap;
  color: orange;
  font-weight: 600;
  border-radius: 50px;
  border: 5px solid orange;
  position: relative;
  overflow: hidden;
  transition: all linear 0.5s;
  background: transparent;
}

#support::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: orange;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all linear 0.5s;
  z-index: -1;
}

#support:hover::after {
  transform: translate(-50%, -50%) scale(10);
}

#support:hover {
  color: white;
  z-index: 0;
}

@media screen and (max-width: 700px) {
  #support {
    padding: 1vh 5vw;
    font-size: 20px;
  }
}

.home-ab a {
  text-decoration: none;
  color:#1b961b;
  font-size: 50px;
  font-weight: 700;
}

.about-sub {
  color: #ffa500;
  font-weight: 600;
}

.about-para {
  text-align: justify;
}

.aimg:hover{
  transform: scale(1.04);
  transition: all 0.5s ease 0.2s;
}

.aimg2:hover{
  transform: scale(1.02);
  transition: all 0.3s ease 0.2s;
}

.home-ev a {
  text-decoration: none;
  color:#1b961b;
  font-size: 50px;
  font-weight: 700;
}

/* footer */
footer {
  background-color: #28334aff;
  overflow-x: hidden;
  padding: 20px;
  color: #fff;
}
footer p {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  font-size: 15px;
  margin-bottom: 10px;
}
.tag ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
}
.fdiv {
  padding-bottom: 20px;
}
.office h1,
.office p {
  margin: 0;
}
.div2 {
  padding-top: 20px;
}
.div2 a {
  font-size: 30px;
  margin-right: 10px;
}

.fh1 {
  font-size: 12px;
}
footer ul li a:hover{
  background-color: #fff;
  color: #28334aff;
  border-radius: 10px;
  }
  footer .div2 i{
  padding: 10px;
  }
  footer .div2 i:hover{
    background-color: #fff;
    color: #28334aff;
    border-radius: 10px;
    padding: 10px;
  }
  
  #scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #1c8ffb;
    color: white;
    cursor: pointer;
    padding: 10px;
    font-size: 14px;
  }
  
  #scrollToTopBtn:hover {
    background-color: #ffa500;
  }
  

@media (min-width: 768px) {
  .list {
    margin: 20px 0px;
  }
  .office {
    margin: 20px 0px;
  }
  .div2 {
    padding-left: 0;
  }
  .para {
    margin: 20px 0px;
  }
}
/* donate start */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  font-family: "Baloo 2", sans-serif;
  color: navy;

}

.modal-content {
  background-color: #18e729;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  
}

.close {
  color: #ffffff;
  position: absolute;
  right: 25px;
  font-size: 41px;
  top: 4px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.modal h2{
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 16px;
  font-weight: bolder;
}

#qrtext{
  text-align: center;
}


input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
  padding: 8px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="file"] {
  margin-top: 16px;
}

.qr{
    height: 200px;
    width: 90%;
    margin: auto;
}

input[type="submit"] {
  margin-top: 24px;
  padding: 8px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #45a049;
}



@media (max-width: 600px) {
  .modal-content {
    width: 90%;
  }

}

@media (max-width: 426px) {
  .modal-content {
    width: 80%;
  }

  .close {
    right: 9px;
  top: 6px;
  font-size: 37px;
  }
}
/* donate end */

/* Slideshow Section */

/* Slideshow Section */
.carousel-item {
  height: 60vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  background-size: cover;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better readability */
  padding: 10px;
  border-radius: 5px;
}

.scaption h3 {
  font-size: 2rem;
  font-weight: bold;
}

.scaption p {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .carousel-item {
      height: 50vh;
  }

  .scaption h3 {
      font-size: 1.5rem;
  }

  .scaption p {
      font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .carousel-item {
      height: 40vh;
  }

  .scaption h3 {
      font-size: 1.2rem;
  }

  .scaption p {
      font-size: 0.8rem;
  }
}

/* Slideshow End */


/* Event Gallery Section */
.home-ev a {
  color: #000;
  text-decoration: none;
  font-size: 2rem;
  font-weight: bold;
  transition: color 0.3s;
}

.home-ev a:hover {
  color: #007bff;
}

.event-photo {
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-photo:hover {
  transform: scale(1.50);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .event-photo {
      margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .event-photo {
      margin-bottom: 10px;
  }
}

