.banner {

  padding: 0;

  min-height: 800px;

  max-height: 100vh;

  margin-top: -110px;



  h1 {

    color: var(--bs-white);

  }

  .h1{

    color: var(--bs-white);

  }

  .carousel-caption {

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 110px 0 0;

    right: 0;

    left: 0;



    p {

      max-width: 650px;

      margin: 0 auto;

    }



    .carousel-content {

      display: flex;

      flex-direction: column;

      gap: 20px;

    }

  }



  .carousel,

  .carousel-inner,

  .carousel-item,

  .carousel-item img {

    min-height: 800px;

    max-height: 100vh;

  }



  .carousel-item img {

    object-position: center;

    object-fit: cover;

  }



  .carousel-indicators {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 3px;

    margin-bottom: 50px;

  }



  .carousel-indicators button {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    border: 1px solid var(--bs-white);

    background-color: transparent;

    opacity: 1;

    margin: 0;

  }



  .carousel-indicators button.active {

    background-color: var(--bs-white);

  }

}



.home-sec2,

.home-sec3,

.home-sec6 {

  .heading-content {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 60px;



    @media (max-width: 991px) {

      grid-template-columns: 1fr;

      flex-direction: column;

      text-align: center;

      margin-bottom: 30px;

    }



    .content-desc {

      display: flex;

      flex-direction: column;

      gap: 15px;

      @media (max-width: 991px) {

        justify-content: center;

      }

    }

  }

}



.home-sec2 {

  .csc-images {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    justify-content: center;

    gap: 24px;



    @media (max-width: 991px) {

      grid-template-columns: repeat(2, 1fr);

    }



    @media (max-width: 768px) {

      grid-template-columns: 1fr;

    }



    img {

      width: 100%;

      height: 100%;

      object-fit: cover;

      object-position: center;

    }

  }

}



.home-sec3 {

  background: url("../../assets/images/home/ministries-bg.png") center / cover

    no-repeat;



  .content-item {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;



    @media (max-width: 1199px) {

      grid-template-columns: repeat(2, 1fr);

    }



    @media (max-width: 768px) {

      grid-template-columns: 1fr;

      margin-top: 30px;

    }



    .content-details {

      position: relative;



      img {

        object-fit: cover;

        object-position: center;

        height: 500px;

        width: 100%;

      }

    }



    .overlay {

      background-color: var(--bs-white);

      padding: 20px 30px;

      display: flex;

      flex-direction: column;

      justify-content: space-between;

      gap: 20px;

      position: absolute;

      bottom: 0;

      right: 0;

      max-width: 316px;

      min-height: 413px;



      @media (max-width: 576px) {

        position: relative;

        max-width: 100%;

        min-height: unset;

      }



      h3 {

        margin-bottom: 20px;

      }



      .video-popup {

        background: none;

        border: none;

        padding: 0;

      }

    }

  }

}



.home-sec4 {

  .heading-content {

    text-align: center;

    max-width: 520px;

    margin: 0 auto;



    h2 {

      margin-bottom: 20px;

      font-family: var(--heading-font-2);

    }

  }



  .gphm-cards {

    display: flex;

    justify-content: center;

    gap: 88px;

    flex-wrap: wrap;

    text-align: center;

    margin-top: 60px;

  }



  .gphm-card {

    flex: 1 1 calc((100% - (88px * 3)) / 4);

    position: relative;

    display: flex;

    flex-direction: column;

    gap: 20px;

  }



  .gphm-card:not(:last-child)::after {

    content: "";

    position: absolute;

    right: -44px;

    top: 10%;

    bottom: 10%;

    width: 1px;

    background-color: #ddd;

  }



  @media (max-width: 1199px) {

    .gphm-card {

      flex: 1 1 calc((100% - 88px) / 2);

    }



    .gphm-card:nth-child(2n)::after {

      display: none;

    }

  }



  @media (max-width: 768px) {

    .gphm-cards {

      gap: 30px;

    }

    .gphm-card {

      flex: 1 1 100%;

      border-bottom: 1px solid #d5d5d5;

      padding-bottom: 30px;

    }



    .gphm-card:last-child {

      border-bottom: none;

      padding-bottom: 0;

    }

    .gphm-card::after {

      display: none;

    }

  }



  .gphm-number {

    color: #f0f0f0;

    font-family: var(--heading-font-2);

    font-size: 60px;

    font-style: normal;

    font-weight: 900;

    line-height: normal;

    margin-bottom: 0;

  }



  .gphm-divider {

    background-color: #d9d9d9;

    margin: 0 auto;

    width: 100px;

    height: 5px;

  }

}



.home-sec5 {

  padding: 0;

  min-height: 700px;



  h2 {

    color: var(--bs-white);

    margin-bottom: 10px;

  }



  .carousel,

  .carousel-inner,

  .carousel-item,

  .carousel-item img {

    min-height: 700px;

  }



  .carousel-item img {

    object-position: center;

    object-fit: cover;

  }



  .carousel-caption {

    height: 100%;

    bottom: 0;

    display: flex;

    align-items: center;

    max-width: 690px;

    margin: 0 auto;

  }



  .carousel-control-prev,

  .carousel-control-next {

    opacity: 1;

  }



  .carousel-control-prev-icon {

    width: 35px;

    height: 33px;

    background: url("../../assets/images/icon-prev.svg") center / cover

      no-repeat;

  }



  .carousel-control-next-icon {

    width: 35px;

    height: 33px;

    background: url("../../assets/images/icon-next.svg") center / cover

      no-repeat;

  }

}



.home-sec6 {

  .content-item {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;



    @media (max-width: 1199px) {

      grid-template-columns: repeat(2, 1fr);

    }



    @media (max-width: 768px) {

      grid-template-columns: 1fr;

      margin-top: 30px;

    }

  }



  .content-details {

    border-radius: 2px;

    background: var(--bs-white);

    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);



    .card-content {

      padding: 30px;

      display: flex;

      flex-direction: column;

      gap: 20px;

    }



    img {

      object-fit: cover;

      object-position: center;

      width: 100%;

    }

  }

}



.home-sec7 {

  background: url("../../assets/images/home/contact-us.png") center / cover

    no-repeat;



  .content {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    align-items: center;

    justify-content: space-between;

    gap: 166px;

    margin-top: 60px;

    @media (max-width: 1199px) {

      gap: 60px;

    }



    @media (max-width: 991px) {

      grid-template-columns: 1fr;

    }



    @media (max-width: 768px) {

      gap: 30px;

      margin-top: 30px;

    }



    img {

      width: 100%;

      height: 100%;

      object-fit: cover;

      object-position: center;

    }

  }

  .contact-details {

    .heading-desc {

      display: flex;

      flex-direction: column;

      gap: 15px;

      margin-bottom: 60px;



      @media (max-width: 768px) {

        margin-bottom: 30px;

      }

    }

  }



  .contact-items {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 60px;



    @media (max-width: 768px) {

      gap: 30px;

    }



    @media (max-width: 576px) {

      grid-template-columns: 1fr;

    }

  }



  .contact-info {

    display: flex;

    flex-direction: column;

    gap: 14px;



    p {

      margin-bottom: 0;

    }



    p strong {

      font-weight: 700;

    }



    a {

      text-decoration: none;

      color: var(--p-color);

    }

  }

}



[popover] {

  /* background: rgba(0, 0, 0, 0.85);

  inset: 0;

  display: flex;

  justify-content: center;

  align-items: center; */

  border: none;

  padding: 0;

}



[popover]::backdrop {

  background-color: rgba(0, 0, 0, 0.85);

}



/* [popover] video {

  max-width: 90%;

  border-radius: 10px;

  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);

} */



.close-btn {

  position: absolute;

  top: 20px;

  right: 30px;

  font-size: 2rem;

  color: white;

  background: none;

  border: none;

  cursor: pointer;

}



[popover] {

  display: none;

}



[popover]:popover-open {

  display: flex;

  /* position: fixed;

  inset: 0;

  justify-content: center;

  align-items: center; */

  /* background: rgba(0, 0, 0, 0.85);

  z-index: 9999; */

}

