/* Owl Carousel Default Theme */
.owl-theme .owl-dots,
.owl-theme .owl-nav {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav {
  margin-top: 10px;
}

.owl-theme .owl-nav [class*=owl-] {
  color: #FFF;
  font-size: 14px;
  margin: 5px;
  padding: 4px 7px;
  background: #D6D6D6;
  display: inline-block;
  cursor: pointer;
  border-radius: 3px;
}

.owl-theme .owl-nav [class*=owl-]:hover {
  background: #869791;
  color: #FFF;
  text-decoration: none;
}

.owl-theme .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}

.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 10px;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
}

.owl-theme .owl-dots .owl-dot span {
  width: 15px;
  height: 15px;
  margin: 0 2px;
  background-color: #ccc;
  display: block;
  border-radius: 100%;
  outline: none;
  transition: opacity 0.2s ease;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #2c7873; /* Custom primary color */
}

/* Service Section Layout */
.service_section {
  position: relative;
  padding-bottom: 50px;
}

.service_section .heading_container {
  margin-bottom: 35px;
}

.service_section .box {
  width: 100%;
  height: 300px;
  margin: 10px;
  text-align: center;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.15);
  padding: 25px 15px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service_section .box .img-box {
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service_section .box .img-box img {
  max-height: 100%;
  max-width: 100%;
  transition: all 0.3s;
}

.service_section .box .detail-box {
  margin-top: 15px;
}

.service_section .box .detail-box h5 {
  font-weight: bold;
}

.service_section .box .detail-box p {
  margin: 0;
}

.service_section .btn-box {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.service_section .btn-box a {
  background-color: #2c7873;
  color: #fff;
  padding: 10px 45px;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
}

/* Owl Carousel Item Scaling */
.service_section .owl-stage .owl-item.active {
  transform: scale(0.85);
  transition: 0.6s ease;
}

.service_section .owl-stage .owl-item.active.center {
  transform: scale(1);
}

.service_section .owl-stage .owl-item.active.center .box {
  background-color: #333;
  color: #fff;
}

.service_section .owl-stage .owl-item.active.center .box .img-box img {
  filter: brightness(0) invert(1);
}

.service_section .owl-nav {
  display: none;
}

.service_section .owl-dots {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}
.owl-dots {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.owl-dots .owl-dot {
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 100%;
  margin: 0 2px;
  background-color: #ccc;
  outline: none;
}

.owl-dots .owl-dot.active {
  background: #2c7873; /* Replace with your actual $primary2 color */
}