.owl-carousel .item {
  max-width: 65%;
  margin: 1em auto;
  position: relative;
}

.owl-carousel .item .card-background {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 20px;
  min-height: 320px;
  width: 100%;
  position: absolute;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.07);
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;

}

.owl-carousel .item img {
  max-width: 230px;
}

.owl-carousel .card-container {
  max-width: 90%;
  margin: 0 auto;
  z-index: 999;
  position: relative;
}

.owl-carousel .card-content {
  flex: 1;
  margin-right: 20px;
  font-family: "Poppins", sans-serif;
}

.owl-carousel .card-title {
  font-size: 22px;
}

.owl-carousel .card-content p {
  color: #000000;
  line-height: 24px;
}

.card-container {
  color: black;
  text-align: start;
  padding: 2em;
  display: flex;
  align-items: center;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-style: solid;
  border-radius: 20px;
  box-shadow: 4px 5px 20px #dbdbdb6b;
  height: 377px;
  justify-content: center;
}

.owl-theme .owl-dots .owl-dot:focus {
  outline: none;
}

.owl-theme .owl-dots .owl-dot:hover span{
  background-color: #edecec;
}

.owl-theme .owl-dots .owl-dot span {
  height: 7px;
  width: 30px;
  border-radius: 0;
  background-color: #edecec;
}

.owl-theme .owl-dots .owl-dot.active span {
  background-color: #f7a964;
}

#story {
  background: url(../imgs/about-us.png) 20% center no-repeat;
  background-size: cover;
  color: #ffffff;
  padding: 20em 0;
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .owl-carousel .item {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .owl-carousel .item {
    width: 100%;
    max-width: 100%;
  }
  .card-container {
    flex-direction: column-reverse;
    height: auto;
  }

  /* .owl-carousel .item img {
    max-width: 150px;
    margin-bottom: 2em;
  }
} */