
@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary-bg) !important;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}
.team-carousel .owl-nav .owl-prev{
  left:-5vw;
}
.team-carousel .owl-nav .owl-next {
  right:-5vw;
}

/* .team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: darkgreen;
} */

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 17px;
    height: 17px;
    background: var(--light);
    border: 2px solid var(--primary-bg);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 20px;
    height: 20px;
    background: var(--primary-bg);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}



.btn-lg-square {
    width: 46px;
    height: 46px;
    background: var(--primary-bg) !important;
    color:white


}

.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    margin: 2px;
    text-align: center;
}

.carousel-caption {
  position: absolute;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  min-width: 500px; 
}

.absolute-div {
    position: absolute;
    top: 0;
    left: 0;
    right: 60%;
    bottom: 30%;
}

.item {
    position: relative;
}

.caption-text {
  text-align: center;
  opacity: 0; /* start with opacity 0 */
  animation-name: fadeIn;
  animation-duration: 3s;
  animation-delay: 0.5s; /* wait for 1 second before starting animation */
  animation-fill-mode: forwards;
}

.caption-text h1 {
  font-weight: bold;
  color: var(--primary-bg) !important;
  margin-bottom: 20px;
  font-size: 59px !important;

}

.caption-text a {
  display: inline-block;
  margin-top: 20px;
  color: var(--primary-text) !important;
  font-weight: bold;
  background-color: var(--primary-bg) !important;
}

/* fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


@media only screen and (max-width: 768px) {
  .team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  top:-15px;
}
  .caption-text h1 {
    font-size: 10px !important;
    margin-bottom: 1px !important;
  }
  .caption-text a {
    font-size: 5px !important;
    margin-top: 50% !important;
  }
 
}

/* Small devices (phones) */
@media only screen and (max-width: 940px) {
  .caption-text h1 {
    font-size: 20px !important;
    margin-bottom: 5px;
  }
  .caption-text a {
    font-size: 10px !important;
    margin-bottom: 1px;
  }
  .carousel-caption {
    min-width: auto !important;
    max-width: 80%;
    left: 40%;
    right: 0;
    bottom: 0;
    top: auto;
    margin: auto;
  }

  
}

/* Medium devices (tablets) */
@media only screen and (max-width: 1150px) {
  .caption-text h1 {
    font-size: 40px !important;
    margin-bottom: 15px;
  }
  .caption-text a {
    font-size: 20px !important;
    margin-top: 15px;
  }
  .carousel-caption {
    min-width: auto !important;
    max-width: 100%;
    left: 40%;
    right: 0;
    bottom: 0;
    top: 10%;
    margin: auto;
  }
}

/* Large devices (desktops) */
@media only screen and (min-width: 1150px) {
  .caption-text h1 {
    font-size: 59px !important;
    margin-bottom: 20px;
  }
  .caption-text a {
    font-size: 24px !important;
    margin-top: 20px;
  }
}


