/* Owl Carousel Core Adjustments */
.owl-stage-outer {
  display: flex;
  height: auto;
  min-height: 400px;
  max-width: 1255px;
}

.owl-stage {
  display: flex;
  position: relative;
}

/* Carousel Container */
.carousel-container {
  max-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 20px 0 45px 0 !important;
  box-sizing: border-box;
  margin-bottom:50px;
}

/* Carousel Wrapper */
.appdome_custom-carousel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  padding: 0 30px;
  box-sizing: border-box;
}

.appdome_custom-carousel .owl-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.owl-carousel .owl-item img {
  max-height: 24px;
  max-width: 24px;
  border-radius: 10%;
  margin: 5px;
}

/* Card Styling */
.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  padding-top: 17px;
  padding-right: 20px;;
  margin: 10px;
  max-width: calc(100% - 12px);
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 6px 7px rgba(0, 0, 0, 0.12);
  position: relative;
  opacity: 0.31;
  transition: transform 0.3s ease-in-out, z-index 0.3s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 0;
  min-height: 195px;
}

/* Active Center Card */
.owl-item.active.center .card {
  max-height: 220px;
  opacity: 1;
  transform: scale(1.5);
  box-shadow: 0 5px 28px rgba(22, 171, 216, 0.16);
}

.owl-item.active.center .card:hover {
  transform: scale(1.52);
  .content a {
    color: #a3c23a !important;
  }
}

/* Card Top Section */
.card .top-section {
  display: flex;
  gap: 5px;
  margin-left: 5px;
  margin-bottom: 2px;

}

.card .top-section .card-icon {
  display: flex;
  width: 35px !important;
  height: 35px !important;
  align-items: center;
  justify-content: center;
}

.card .top-section .card-icon .icon svg {
  display: flex;
  width: 27px !important;
  height: 27px !important;
  align-items: center;
  justify-content: center;
}

.card .top-section .card-icon .icon i {
  font-size: 20px !important;
  color: #17191D !important;
}

.card .top-section span.card-title {
  align-content: center;
  font-size: 13.3px;
  text-align: left;
  font-weight: 500;
  color: #17191d;
}

.card .top-section span.icon {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  height: 35px !important;
  width: 35px !important;
}

/* Card Content */
.card .content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 46px;
  padding-bottom: 12px;
}

.card .content p {
  color: #5d5f64;
  font-family: Poppins, sans-serif !important;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2px;
  line-height: 15.4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6 !important;
  -webkit-box-orient: vertical;
}

/* 'learn more >' button */
.card .content a {
  color: #16abd8;
  position: absolute;
  bottom: 16px;
  font-family: Poppins;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.78;
  text-align: left;
  color: var( --primary-color);
  text-decoration: none;
}

.owl-item.active.center .card .content a:hover {
  color: #a3c23a !important;
}

.owl-item.active.center {
  z-index: 99;
  position: relative;
}

/* Navigation Buttons */
[type="button"]:focus,
.appdome_custom-carousel .owl-nav button:focus {
  outline: none !important;
}

.owl-dots button:focus {
  outline: none !important;
}

.appdome_custom-carousel .owl-nav button {
  opacity: 1 !important;
  top: 210px;
}

.appdome_custom-carousel .owl-nav .owl-prev,
.appdome_custom-carousel .owl-nav .owl-next {
  position: absolute;
  top: calc(50% - 12px);
  width: 50px;
  height: 50px;
  color: #1d1d1b !important;
  font-size: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  z-index: 5;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15)
}

.appdome_custom-carousel .owl-nav .owl-prev {
  left: 5px;
  background-color: white !important;
}

.appdome_custom-carousel .owl-nav .owl-next {
  right: 5px;
  background-color: white !important;
}

.appdome_custom-carousel .owl-nav .owl-prev span,
.appdome_custom-carousel .owl-nav .owl-next span {
  font-family: "Poppins", sans-serif !important;
  font-size: 32px;
  text-align: center;
  line-height: 1;
  margin: 0;
}

.appdome_custom-carousel .owl-nav .owl-prev:hover,
.appdome_custom-carousel .owl-nav .owl-next:hover {
  background-color: white;
  opacity: 1;
}

.appdome_custom-carousel .owl-nav .owl-prev:hover span,
.appdome_custom-carousel .owl-nav .owl-next:hover span {
  color: #16abd8;
}

.owl-carousel.appdome_custom-carousel {
  max-height: 491px;
  display: flex;
  align-content: flex-end;
  flex-wrap: wrap;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .owl-item.active.center .card {
    box-shadow: 0 5px 7px rgba(22, 171, 216, 0.16);
  }
  .appdome_custom-carousel .owl-nav .owl-prev {
    left: 15px;
  }

  .appdome_custom-carousel .owl-nav .owl-next {
    right: 15px;
  }

  .appdome_custom-carousel .owl-nav .owl-prev,
  .appdome_custom-carousel .owl-nav .owl-next {
    display: none;
  }
}

@media screen and (max-width: 480px) {

  .owl-stage {
    margin-bottom: 20px;
  }

  .appdome_custom-carousel {  
    padding: 0 2px;
  }

  .card {
    min-height: 350px !important;
    transform: none !important;
    box-shadow: 0 4px 11px rgba(22, 171, 216, 0.16) !important;
  }

  .card {
    max-height: 200px !important;
  }

  .appdome_custom-carousel .owl-nav .owl-prev {
    left: 1px;
  }

  .appdome_custom-carousel .owl-nav .owl-next {
    right: 1px;
  }

  .appdome_custom-carousel .owl-nav .owl-prev,
  .appdome_custom-carousel .owl-nav .owl-next {
    display: none;
  }

  .owl-stage-outer {
    min-height: auto !important;
  }

  .carousel-container {
    max-height: auto !important;
    height: auto !important;
    margin-bottom: 5px !important;
    box-sizing:content-box !important;
  }


  .card .content p {
    -webkit-line-clamp: 9 !important;
    font-size: 14px;
  }

  .owl-item.active.center .card .content a {
    font-size: 13px;
  }

  .owl-dots {
    margin: 6px;
  }
}
