body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.card-para {
  text-align: justify !important;
}

.card-container {
  position: relative;
}

.card-pop-up {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 3rem;
  border-radius: 1rem;
  z-index: 10;
  text-align: justify;
}

@media (max-width: 768px) {
  .card-pop-up {
    top: 5%;
    left: 10%;
    transform: translate(-5%, -10%);
  }

  .card {
    max-width: 90vw;
    /* flex-wrap: wrap-reverse; */
  }

  .card button {
    max-width: 70vw;
    padding: .5rem !important;
    display: block;
    margin: auto;
    margin-bottom: 1.5rem;
    border-radius: .5rem;
  }

  .img {
    border-radius: 1rem;
    padding: 0px;
    margin: 0px;
  }

  .card-txt {
    max-width: none;
    padding: 0px 1rem;
  }
}

.close-btn {
  background: red;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  position: absolute;
  top: .5rem;
  right: .5rem;
  border-radius: .5rem;
  font-weight: bolder;
}

.card-link {
  cursor: pointer;
}

.blur-background {
  filter: blur(1px);
  z-index: -1;
}
.hero {
  /* background: center /cover url("./images/hero-bg.webp"); */
  color: white;
  text-align: center;
  padding: 50px 20px;
min-height: 30vw;
display:flex;
align-items: center;
justify-content: center;
}
@media screen and (max-width:500px) {
  .hero::before{
    min-height: 25rem
  }
  .organisation{
    padding: 0px !important;
  }
  p{
    text-align: justify !important;
    padding: 1rem .5rem!important;
  }
  .icon-card{
    width: 80vw !important;
  }
  .icon-card p{
    text-align: center !important;
  }
  h4{
    margin-top: 1.5rem;
  }
  .org-container{
    justify-content: space-around !important;
  }
  .org-text{
    max-width: 80vw !important;
  }
}
.hero::before {
  content: '';
  height: 30vw;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: center url('./images/hero-bg.webp');
    opacity: .4;
    content: "";
    z-index: -1;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
  /* flex-direction: column; */
  align-items: center;
}
.hero-text *{
  font-size: 1.5rem;
  color: #000000a6;
}
.hero-img{
  width: 15rem;
  border: .16rem solid #000000a6;;
  border-radius: 1rem;
}

.mission {
  padding: 50px 20px;
  text-align: center;
}

.mission-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.icon-card {
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 20px;
  margin: 10px;
  text-align: center;
  width: 150px;
}

.icon-card img {
  width: 100px;
  height: 100px;
}

.icon-card p {
  margin-top: 10px;
  color: #e91e63;
  font-weight: bold;
}

.organisation {
  display: grid;
  place-items: center;
  padding: 50px 20px;
  text-align: center;
}

.organisation img {
  width: 300px;
  margin-top: 20px;
}

.activities {
  padding: 50px 20px;
  text-align: center;
}
.slideshow-container {
  min-height: 10rem;
  max-height: 40rem;
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}
@media screen and (max-width:600px) {
  .slideshow-container{
    max-height: 30dvh;
    max-width: 90dvw;
    border-radius: 1rem;
    background: #19488E;
    margin-bottom: 2rem;
  }
  .caption {
    opacity: 0 !important;
  }
}
.slide {
  display: none;
  text-align: center;
}

.slide img {
  width: 100%;
  height: auto;
}

.caption {
  font-size: 18px;
  padding: 15px;
  position: absolute;
  bottom: 10px;
  width: 50%;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border:2px solid #e8194f;
  font-weight: bolder;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1rem;
  -webkit-transform: translateX(-50%);
}
/* essential fixes */
.icon-card {
  min-height: 15vw;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: all ease-in-out;
}


.icon-card p {
  background: #0000004f;
  color: #fff;
  /* To ensure the text is visible */
  position: absolute;
  bottom: 0rem;
  left: 0;
  /* Align the paragraph to the left */
  right: 0;
  /* Align the paragraph to the right */
  margin: 0;
  /* Remove default margins */
  text-align: center;
  /* Center the text */
  padding: 0.5rem;
  /* Add some padding for better readability */
}



/* our org section */
.org-container {
  display: flex;
  justify-content: space-between;
  gap:3rem;
  flex-wrap: wrap;
}

.org-text {
  max-width: 60vw;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.org-text ul {
  list-style: none;
  text-align: left;
}
@media screen and (min-width:700px) {
 .org-list{
   padding-left:5rem;
 } 
 .org-container{
  gap: 7rem;
 }
 .org-text p{
  text-align: justify;
 }
}

.org-text li {
  background-image: url("favicon.ico");
  background-size: 16px 16px;
  /* set the size of the icon */
  background-repeat: no-repeat;
  padding-left: 30px;
  /* add some padding to the left of the text */
}


.org-img {
  position: relative;
}

.org-img img {
  border-radius: 1rem;
}

.org-img::before {
  content: '';
  height: 80%;
  width: 80%;
  position: absolute;
  background: #e8194f;
  inset: 0;
  left: -1.5rem;
  border-radius: 1rem;
  z-index: -1;
}




/* card section before footer */
.card-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #ffebeb;
  display: flex;
  flex-wrap: wrap;
  max-width: 30rem;
  justify-content: center;
  border-radius: .5rem;
  overflow: hidden;
}

.card-link,
.card-heading {
  color: #19488e;
  text-decoration: none;
  font-weight: bolder;
  letter-spacing: 1.2px;
  font-size: 1.1rem;
}

.card-link {
  font-size: .9rem;
}

.img {
  max-width: 10rem;
  overflow: hidden;
  text-align: center;

}

.img img {
  height: 100%;
  max-height: 16rem;
}

.card-link::after {
  content: ' >>';
}

.card-txt {
  max-width: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0px 13px;
}

.icon-card:hover,
.icon-card:focus .icon-card:active {
  transform: scale(1.2);
  transition: all .5s ease-in-out;
}

@media screen and (max-width:480px) {
  .icon-card {
    min-width: 50vw;
    min-height: 50vw;
  }

  .img {
    max-width: 80vw;
    margin-top: 1rem;
  }
}

.flex-container-wrap {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 1rem;
  flex-wrap: wrap;
}

.flex-box {
  padding: 1rem 3rem;
  min-width: 20rem;
  max-width: 30rem;
  background: #e8f5ff;
  box-shadow: 1rem 2.5rem 6.5rem -2.5rem black;
  margin-bottom: 4rem;
}

.flex-box h3 {
  color: #19488e;
}

/* partners logo */
.flex-content {
  padding: 1rem;
  /* height: 10rem; */
  width: 10rem;
  border-radius: 1rem;
  border: 1px solid #19488E;
  ;
}

.flex-content img {
  width: 100%;
}