/* Hero */
#hero .row {
  display: flex;
  align-items: center;
  justify-content: center;
}#hero .row .img-container {
  background-position: center;
  background-size: cover;
  height: 70vh;
  width: 100%;
  margin-top: 0px;
  border-radius: 25px;
  padding: 0;
  overflow: hidden;
  animation-name: changeBackground;
  animation-duration: 16s;
  animation-iteration-count: infinite;
}

@keyframes changeBackground {
  0% {
    background-image: url("../images/Homepage/Hero1.png");
  }
  25% {
    background-image: url("../images/Homepage/Hero2.png");
  }
  50% {
    background-image: url("../images/Homepage/Hero3.png");
  }
  75% {
    background-image: url("../images/Homepage/Hero4.png");
  }
  100% {
    background-image: url("../images/Homepage/Hero3.png");
  }
}

#hero .row .img-container .overlay {
  background-color: rgba(0, 0, 0, 0.441);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 60px;
}

#hero .row .img-container .overlay h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  color: white;
  text-align: center;
  font-size: 30px !important;
}
#hero .row .img-container .overlay button {
  background-color: #f8ee91;
  color: black;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  width: 180px;
}
#hero .row .img-container .overlay button:hover {
  background-color: #ffeb36;
}

#counter .owl-carousel {
  padding-left: 100px;
  padding-right: 100px;
  box-sizing: border-box;
}

#counter .owl-carousel .card {
  margin-top: 55px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

#counter .owl-carousel .card h4 {
  color: #798bad;
  font-size: 17px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}
#counter .owl-carousel .card h2 {
  color: #000000;
  font-size: 40px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}
@media (max-width: 768px) {
  /* navbar  */
  #hero .row .img-container .overlay h1 {
    font-size: 20px !important;
  }
  /* Counter  */
  #counter .owl-carousel {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
}
@media (max-width: 992px) {
  /* Counter  */
  #counter .owl-carousel {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
}

/* about us */
#about-us.container-fluid {
  height: auto;
  min-height: 100vh;
  background-color: #199c75 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-top: 40px;
}
#about-us .row {
  padding: 70px 200px 30px 200px;
}
#about-us .row h1 {
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  margin-bottom: 17px;
}
#about-us .row p {
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  text-align: justify;
  margin-top: 20px;
}
#about-us img {
  height: 50vh;
  object-fit: cover;
  object-position: top;
  border-radius: 35px;
}

@media (max-width: 768px) {
  #about-us.container-fluid {
    height: 100%;
    min-height: 100%;
  }
  #about-us .row {
    padding: 50px 0px 3px 0px;
  }
  #about-us img {
    height: 25vh;
    border-radius: 5%;
  }
  #about-us .row p {
    font-size: 10px;
  }
}

/* Services */
#services.container-fluid {
  height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 50px;
  box-sizing: border-box;
}
#services .row:nth-child(1) {
  width: 100%;
}
#services .row:nth-child(1) h1 {
  color: #20c997;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
}
#services .row:nth-child(2) {
  flex: 1;
  width: 100%;
  padding: 20px 100px;
  margin: 0;
  box-sizing: border-box;
}
#services .row:nth-child(2) .card {
  background-color: #eaf1ff;
  border: none;
  border-radius: 15px;
  height: 45vh;
  position: relative;
  overflow: hidden;
}

#services .row:nth-child(2) .card .card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}
#services .row:nth-child(2) .card .card-body i {
  color: #00a675;
  font-size: 40px;
}
#services .row:nth-child(2) .card .card-body h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 22px;
  margin-top: 20px;
}

#services .row:nth-child(2) .card .overlay {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0; /* Initially, hide the overlay */
  width: 100%;
  overflow: hidden; /* Hide overflow */
  overflow-y: hidden; /* Enable vertical scroll */
  background-color: rgba(0, 0, 0, 0.154);
  transition: opacity 0.3s ease, height 0.3s ease; /* Include height in transition */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 22px;
  padding: 20px;
  z-index: 2;
}

#services .row:nth-child(2) .card .overlay p {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 10px;
  text-align: justify;
}
#services .row:nth-child(2) .card .overlay h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 15px;
  text-align: center;
}

#services .row:nth-child(2) .card:hover .overlay {
  opacity: 1;
  height: 100%; /* Expand height on hover */
}
#services .row:nth-child(2) .card:hover .card-body {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#services .row:nth-child(2) .card:hover .overlay {
  opacity: 1;
}

#services .row:nth-child(2) .card:hover .card-body {
  opacity: 0;
  transition: opacity 0.1s ease;
}

@media (max-width: 768px) {
  /* Services */
  #services.container-fluid {
    height: auto;
    padding: 50px 10px;
  }
  #services .row:nth-child(2) {
    flex: 1;
    width: 100%;
    padding: 0px 0px;
    margin: 0;
    box-sizing: border-box;
  }
  #services .row:nth-child(2) .card {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
@media (max-width: 992px) {
  /* Services */
  #services.container-fluid {
    height: auto;
    padding: 50px 10px;
  }
  #services .row:nth-child(2) {
    flex: 1;
    width: 100%;
    padding: 0px 0px;
    margin: 0;
    box-sizing: border-box;
  }
  #services .row:nth-child(2) .card {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
#gallery .gallery-row .card {
  height: 200px;
  width: 100%;
  object-fit: cover;
}
#gallery .gallery-title {
  text-align: start;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 0.5px dotted rgb(0, 203, 163);
  color: #20c997;
  margin-top: 1em;
}
@media (max-width: 768px) {
  #gallery .gallery-row .card {
    height: 100px;
    width: 100%;
    object-fit: cover;
  }
}

#get_in_touch.container {
  height: 100%;
  overflow: hidden;
  padding: 70px;
}
#get_in_touch .row {
  height: 100%;
}
#get_in_touch .row > .text-wrapper {
  display: flex;
  align-items: end;
  justify-content: start;
  padding: 30px;
  box-sizing: border-box;
}
#get_in_touch .row > .text-wrapper .text h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
  text-align: start;
}
#get_in_touch .row > .text-wrapper .text p {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  text-align: start;
}
#get_in_touch .row > .text-wrapper .text a {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  text-align: start;
  text-decoration: none;
}
#get_in_touch .row > .form-wrapper {
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
}
#get_in_touch .row > .form-wrapper .card {
  height: 100%;
  background-color: transparent;
  border-color: #20c997;
}
#get_in_touch .row > .form-wrapper h1 {
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 30px;
}
#get_in_touch .row > .form-wrapper .card .card-body {
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#get_in_touch .row > .form-wrapper .card input,
#get_in_touch .row > .form-wrapper .card textarea {
  background-color: transparent;
  border-color: #20c997;
  padding: 10px;
  margin-bottom: 20px;
}
#get_in_touch .row > .form-wrapper .card input::placeholder,
#get_in_touch .row > .form-wrapper .card textarea::placeholder {
  color: #00000045;
}

#get_in_touch .row > .form-wrapper .card button {
  background-color: #f8ee91;
  color: black;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  width: 200px;
}
@media (max-width: 768px) {
  #get_in_touch.container {
    height: auto;
    overflow: hidden;
    padding: 20px;
  }
  #get_in_touch .row > .text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
  }
  #get_in_touch .row > .text-wrapper .text h1 {
    text-align: center;
  }
  #get_in_touch .row > .text-wrapper .text p {
    text-align: center;
  }
  #get_in_touch .row > .form-wrapper {
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 0px;
    box-sizing: border-box;
  }
}
@media (max-width: 992px) {
  #get_in_touch.container {
    height: auto;
    overflow: hidden;
  }
  #get_in_touch .row > .text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
  }
  #get_in_touch .row > .text-wrapper .text h1 {
    text-align: center;
  }
  #get_in_touch .row > .text-wrapper .text p {
    text-align: center;
  }
}
