
.container position-relative {
  padding-top: 80px;
}

.services .service-item .readmore {
  margin-top: 15px;
  font-weight: bold;
  display: inline-block;
  color: white;
}

.services .service-item {
  padding: 40px;
  background: white;
  height: 100%;
  border-radius: 10px;
}

* {
  box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  /* border-radius: 20px; */
  /* max-height: 80%; */
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: var(--color-secondary);
  font-size: 20px;
  padding: 12px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;

  /* text-align: center; */
}

.text h1 {
  font-weight: 1000;
  padding-left: 20px;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}



.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 3.0s;
}

@keyframes fade {
  from {
    opacity: .7
  }

  to {
    opacity: 1
  }
}


.glance li {
  display: inline-block;
  vertical-align: top;
  width: 19%;
  text-align: center;
  margin-top: 30px;
}

.glance li h2 {
  /* font-size: 35px; */
  font-weight: bold;
  line-height: normal;
}

.title-name {
  font-size: 35px;
  /* font-weight: 600; */
  line-height: 35px;
  margin-bottom: 40px;
  position: relative;
}

.glance {
  text-align: center;
  padding-left: 0px;
}

#hero .img-fluid {
  border-radius: 10px;
  height: 28rem;
}

@media only screen and (max-width: 575px) {
  .text {
    color: var(--color-secondary);
    font-size: 10px;
    /* padding: 12px 12px; */
    position: absolute;
    /* bottom: 8px; */
    width: 100%;

    /* text-align: center; */
  }

  #hero .img-fluid {
    height: 100%;
    width: fit-content;
  }

  .text h1 {
    font-size: 20px;
    font-weight: 600;
    padding-left: 0px;
  }

  .slideshow-container {
    max-width: 94%;
    border-radius: 20px;
    /* max-height: 80%; */
    position: relative;
    margin: auto;
  }

  .glance li h2 {
    /* font-size: 35px; */
    /* font-weight: bold;  */
    line-height: normal;
  }



  .glance li {
    width: 49%;
  }
}
