/* =======================================custom css---------------------------------------- */
body {
  font-family: 'Montserrat', sans-serif;
  color: #000;
  padding: 0;
  margin: 0;
  height: 100%;
}

nav * {
  /* border: red solid 1px; */
}

nav {
  padding-bottom: 0rem;
}


@media (max-width: 768px) {
    /* breakpoint for phones portrait */
    .logo {
      /* border: 1px solid red; */
        height: 6rem;
        padding-bottom: -0.5rem;
        padding-top: 0.5rem;
        margin-top: -0.5rem;
    }
    .logo > img {
        width: 8.5rem;
        min-height: 5rem;
    }

    .latest-container {
      
        padding: 0 1.5rem 0;
        margin: 1.5rem 2rem 1.5rem;
      }

      .loan-section {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin: 4rem 0.5rem 0;
      }

      .loan-heading {
        padding: 0 1.5rem 0;
        text-align: center;
      }
  
      .loan-requirements {
        margin: 2.5rem 2.5rem 0;
      }

      /* .loan-form {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding-top: 100%;
      }

      .loan-form iframe {
        position: absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
      } */
  }
  
  @media (min-width: 992px) {
    /* Styles for desktop breakpoint view */
    .navbar {
      margin-top: -15px;
      margin-bottom: -20px;
      color: #000;
    }

    .logo {
      /* border: 1px solid red; */
        height: 6rem;
        padding-bottom: -0.5rem;
        padding-top: 0.5rem;
        margin-top: -0.5rem;
    }
    .logo > img {
        width: 20rem;
        min-height: 7rem;
    }

    .nav-menu {
      /* border: 1px solid red; */
      margin-top: 10px;
      
    }

    .menu-position {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-right: 0rem;
      padding-left: 30rem;
    }
  
    .nav-menu{
      margin-right: -20rem;
      margin-left: 20rem;
    }
  
    .nav-menu > li > a {
      letter-spacing: -0.008rem;
    }

  }
  
  @media (min-width: 576px) and (max-width: 991px) {
    /* Styles for tablet breakpoint view */
    .logo {
      /* border: 1px solid red; */
        height: 6rem;
        padding-bottom: -0.5rem;
        padding-top: 0.5rem;
        margin-top: -0.5rem;
    }
    .logo > img {
        width: 11rem;
        min-height: 5rem;
    }

    .latest-container {
      font-family: 'Montserrat', sans-serif;
      /* border: red solid 1px; */
        padding: 0 1rem 0;
        margin: 1.5rem 3.5rem 1.5rem;
      }
  }

  .navbar {
    background-color: #ffffff;
    /* border: 2px solid red; */
  }

  .footer-color {
    background-color: aliceblue;
  }

.heading {
  display: flex;
  justify-content: center;
}


@media (min-width: 992px) {
  /* desktop breakpoint */
  .heading > p {
    font-size: 2.5rem;
  }

  .menu-position {
    margin-right: 2rem;
    /* padding-left: 40rem; */
  }

  .menu-animate{
    position: relative;
    letter-spacing: 0.2rem;
    color: #000;
  }

  .menu-animate::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: rgb(65, 121, 243);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.2s ease-in-out;
  }

    .menu-animate::before {
      content: "";
      position: absolute;
      width: 100%;
      height: 2px;
      bottom: -2px;
      left: 0;
      background-color: black;
      visibility: hidden;
      transform: scaleX(0);
      transition: all 0.2s ease-in-out;
    }
    
    .menu-animate:hover::before {
      visibility: visible;
      transform: scaleX(1);
    }
  

  .menu-animate:hover::after {
    visibility: visible;
    transform: scaleX(1);
  }

  .latest-container {
    font-family: 'Montserrat', sans-serif;
    /* border: red solid 1px; */
      padding-left: 1.5rem;
      padding-right: 1.5rem;
      margin: 4.5rem 6.5rem 1.5rem;
    }

    .loan-section {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      margin: 4rem 15rem 0;
    }

    .loan-requirements {
      margin: 2.5rem 10rem 0;
    }

    .mandate {
      margin-top: -5rem;
    }

    .achievement{
      /* border: red solid 1px; */
      margin-top: -10.5rem;
    }

    .achievement-sec {
      /* border: 1px red solid; */
      margin-top: -10.5rem;
    }
  

}

/* achievement heading in About Us */
.achieve-heading {
  margin-bottom: 2rem;
}

.menu-animate {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  /* font-size: 100px; */
}

a p{
  /* border: 1px solid red; */
  font-family: 'Montserrat', sans-serif;
  color: black;
  /* font-weight: bold; */
  font-size: 1.5rem;
  padding-top: 1.4rem;
  letter-spacing: 0.1rem;
  line-height: 1.5rem;
}

.home-gallery {
  margin-bottom: -15rem;
}

/* .contact-section {
  font-family: 'Montserrat', sans-serif;
  color: #000;
} */

.override-color {
  font-family: 'Montserrat', sans-serif;
  /* border: red solid 1px; */
  color: black !important;
}

.contact-black {
  /* border: 1px red solid; */
  
}

.footer-container {
  padding: 2.5rem;
}

.footer-logo {
/* border: 1px solid red; */
    height: 0.5rem;
    /* padding-bottom: 1.2rem; */
    /* margin-top: -0.5rem; */
}

.footer-logo > img {
    width: 6rem;
    min-height: 4rem;
}

.footer-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* margin-left: -20rem; */
}

@media (max-width: 768px) {
  /* footer mobile view */
  .footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .footer-row {
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 0;

    
  }
  .footer-items {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 900px) and (max-width: 1400px) {
  /* this breakpoint is for smaller laptop screens */
  .navbar {
    /* background-color: #000; */
    /* border: 1px red solid; */
    /* letter-spacing: 10rem; */
  }

  .menu-position {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0rem;
    padding-left: 30rem;
  }

  .nav-menu{
    margin-right: -20rem;
    margin-left: 20rem;
  }

  .nav-menu > li > a {
    letter-spacing: -0.008rem;
  }
}


/* donation banner style */

.banner {
  background-color: #3498db;
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

.banner h1 {
  margin: 0;
  font-size: 24px;
}

.banner p {
  margin: 10px 0 0;
  font-size: 16px;
}

.first-section{
  background-color: #ececeb ;
  /* border: 1px solid red; */
}

.cta {
 
  padding-top: 0.2rem;
  margin-bottom: -3.5rem;
  margin-left: 7.5rem;
  margin-right: 7.5rem;
  margin-top: 1.27rem;
  border-radius: 5px;
  /* border: 2px solid black; */
  -webkit-box-shadow: 9px 7px 11px 0px rgba(0,0,0,0.25);
-moz-box-shadow: 9px 7px 11px 0px rgba(0,0,0,0.25);
box-shadow: 9px 7px 11px 0px rgba(0,0,0,0.25);
background-color: white;
}



.cta-text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  /* border: 1px red solid; */
  margin-top: -1.5rem;
  padding-right: 1.2rem;
  /* position: relative; */
  /* line-height: 5rem; */
  
}

.cta-text-box h3 {
  align-items: center;
  text-align: center;
  /* border: 1px red solid; */
}

.cta-img {
  width: 7.5rem;
  /* position: absolute; */
  /* top: 0.5px; */
  padding-bottom: 1.5rem;
}

.commit {
  /* border: 2px red solid; */
  padding: 1.5rem;
  border-radius: 5px;
  -webkit-box-shadow: 9px 7px 11px 0px rgba(0,0,0,0.25);
-moz-box-shadow: 9px 7px 11px 0px rgba(0,0,0,0.25);
box-shadow: 9px 7px 11px 0px rgba(0,0,0,0.25);
}

.main-gallery-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: column;
  position: relative;
  height: 80rem;
   /* background-color: rgba(255, 0, 0, 50%); */
   border: black 1px solid;
}

.gallery-parent-box {
  display: none;
  justify-content: center;
  align-items: center;
  border: 1px solid red;
  width: 100%;
  height: 100hv;
  z-index: 1;
  position: absolute;
  top: 2rem;
  background-color: rgba(6, 6, 6, 0.75);
}

#gallery-modal {
  /* position: absolute; */
  border: 1px solid red;
  width: 50%;
  height: 100vh;
  align-items: center;
  left: 10rem;
  top: 10rem;
  right: 0;
  bottom: 0;
  /* z-index: 1; */
}


/* test gallery page */
.main-section {
  width: 100%;
  height: 100%;
}

.gallery-title {
  /* border: 1px red solid; */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.75rem;
}


/* example for modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* Semi-transparent black background */
  display: none;
  align-items: center;
  justify-content: center;
}

.custom-modal {
  /* Add your modal styles here */
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  /* border: 1px solid red; */
  padding: 5rem 4rem 4rem 4rem ;
  margin: 20rem 20rem 20rem 20rem;
  z-index: 1;
  /* max-width: 100rem; */
  height: 30rem;
  overflow-y: auto;
}


/* donation section */

#donation-section {
  width: 100%;
  /* border: 1px red solid; */
  background-color: f7f4f3;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.donation {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  padding: 20px;
  /* border: 1px red solid; */
  /* border-radius: 0.5rem; */
  margin: 5rem 6rem 5rem;
  -webkit-box-shadow: 7px 5px 15px -3px rgba(0,0,0,0.75);
  -moz-box-shadow: 7px 5px 15px -3px rgba(0,0,0,0.75);
  box-shadow: 7px 5px 15px -3px rgba(0,0,0,0.75);
  background-color: #ffffff;
}

.donation-image-container img {
  max-width: 100%;
  height: 20rem;
}

.donation-definition {
  margin-left: 20px;
}

.album-modal-link {
  text-decoration: underline;
  cursor: pointer;
  margin-left: 5rem;
  /* border: 1px red solid; */
  margin-right: 20rem;
  margin-top: 2.5rem;
}

.albums .album-modal-link:last-child {
  /* border: 1px solid red; */
  margin-bottom: 2.5rem;
}

.album-modal-link:hover {
  color: #3498db;
}

.albums {
  border: 0.25px solid rgba(169, 168, 168, 0.75);
  /* max-width: 80rem; */
  margin: 0 10rem 0;
  padding-left: 2.5rem;
  height: auto;
}

.album-title-cls-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* gallery styles for mobile phones */
@media (max-width: 768px) {
  /* breakpoint for phones portrait */

  .albums {
    border: 0.25px solid rgba(169, 168, 168, 0.75);
    width: 100%;
    margin: 0 0rem 0;
    /* padding-left: 2.5rem; */
    max-width: 700px;
    height: auto;
  }

  .album-modal-link {
    text-decoration: underline;
    cursor: pointer;
    margin: 2.5rem 2rem 0rem 2rem ;
    /* border: 1px red solid; */
  }

  .custom-modal {
    width: 100%;
    /* border: 1px red solid; */
    padding: 2rem;
    margin: 10rem 2rem 2rem 2rem;
    /* margin-top: 3rem; */
  }

  .album-title-cls-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
  }

  .gallery-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.25rem;
  }
}

.home-donation {
  margin-top: -8rem;
}

/* donation mobile view */

@media (max-width: 768px) {
  #donation-section {
    display: flex;
    /* border: 1px red solid; */
  }

  .donation {
    display: flex;
    /* border: 1px red solid; */
    flex-direction: column;
    min-width: 20rem;
    margin: 0rem;
    padding: 2.5rem;
    gap: 2.5rem;
  }
}

/* home cta mobile view */
@media (max-width: 768px){

  .cta {
   border-top:1px solid black ;
    padding: 1.25rem;
    margin: 2.5rem 0.2rem;
  }

  .home-cta {
    /* border: 1px red solid; */
    margin: 0rem;
    min-width: 20rem;
    padding: 0rem;
  }

  .cta-text-box {
    /* border: 1px red solid; */
    margin-left: 0rem;
    /* padding: 2.5rem; */
  }

  .cta-text-box img {
    display: none;
  }

  .cta-text-box h3{
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* home page commitment section */

@media (max-width: 768px) {
  .commit-section {
    border-top: 1px black solid;
    margin: 0rem 0.2rem;
  }
}

/* about page mobile view */
@media (max-width: 768px) {
  .executive-section {
    /* border: 1px red solid; */
    margin: 2.5rem 20.2rem 2.5rem 20.2rem;
    padding: 2.5rem 2.5rem 2.5rem 3.5rem;
    max-width: 104%;
  }

  .executive-container {
    /* border: 1px red solid; */
    margin: 0rem;
  }

  /* contact img */
  .contact-img {
    display: none;
  }
}

.carou-text {
  /* border: red solid 1px; */
  margin-top: 7rem;
  margin-bottom: -5rem;
}

/* picture frame for homepage activities */

.active-heading {
display: flex;
align-items: center;
justify-content: center;
margin-top: 0rem;
/* border: 1px red solid; */
}

.activities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  grid-gap: 20px;
  /* justify-content: space-evenly; */
  align-items: center;
  min-height: 100vh;
  padding: 10px ;
  margin: 2.5rem 8rem 7rem 8rem;
  /* border: red 1px solid; */
}

.picture-frame {
  width: 25rem;
  height: 25rem;
  overflow: hidden;
  /* border: 2px solid; */
  border-radius: 2px;
}

.picture-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* mobile view for activities section home screen */

@media (max-width: 768px) {
  .activities {
    /* grid-template-columns: 1fr; */
    display: flex;
    flex-direction: column;
    /* padding-left: 1.5rem; */
    margin-top: -1.5rem;
    /* border: 1px red solid; */
  }

  .picture-frame {
    width: 18rem;
    height: 20rem;
    overflow: hidden;
    /* border: 2px solid red; */
    border-radius: 2px;
  }

  .hero-title {
    text-align: center;
    font-weight: 600;
    font-size: 2.5rem;
  }

}

