/* Modify general owl-theme styling */
.owl-theme .owl-nav {
  margin-top: 10px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav [class*="owl-"] {
  color: #fff;
  font-size: 16px; /* Increase font size */
  margin: 5px;
  padding: 8px 15px;
  background: #1e74bb; /* Updated background color */
  display: inline-block;
  cursor: pointer;
  border-radius: 50%; /* Make the arrows rounded */
  transition: background 0.3s ease;
}

/* Hover effect for navigation buttons */
.owl-theme .owl-nav [class*="owl-"]:hover {
  background: #1c6b9f; /* Slightly darker on hover */
  color: #fff;
  text-decoration: none;
}

/* Disabled state */
.owl-theme .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}

/* Dots container */
.owl-theme .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  margin-top: 20px;
}

/* Styling for each dot */
.owl-theme .owl-dots .owl-dot {
  justify-content: center;
  align-items: center;
  display: inline-flex;
  border-radius: 50%;
  height: 1.5rem;
  width: 1.5rem;
  margin: 0.25rem 0.5rem 0.25rem 0rem;
}

.owl-theme .owl-dots .owl-dot span {
  width: 1rem;
  height: 1rem;
  border: 1px solid #21409c;
  display: block;
  border-radius: 50%;
}

/* Active dot */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #21409c; /* Active color updated */
  border: 1px solid #fff;
  
}
.owl-theme .owl-dots .owl-dot.active,
.owl-theme .owl-dots .owl-dot:hover {
  border: 1px solid #21409c; /* Active color updated */
}

/* Custom arrows using images or background */
.owl-theme .owl-nav [class*="owl-"].owl-prev::before {
  content: url("path/to/your/custom-left-arrow.svg"); /* Custom left arrow */
}

.owl-theme .owl-nav [class*="owl-"].owl-next::before {
  content: url("path/to/your/custom-right-arrow.svg"); /* Custom right arrow */
}

/* Customizing the carousel items */
.owl-carousel .item img {
  object-fit: cover; /* Maintain aspect ratio */
  width: 100%;
  height: 100%;
  border-radius: 8px; /* Rounded corners for items */
}

/* Media query to adjust dots and arrows for mobile */
@media (max-width: 768px) {
  .owl-theme .owl-nav [class*="owl-"] {
    font-size: 14px; /* Smaller arrows for mobile */
    padding: 6px 10px;
  }

  .owl-theme .owl-dots .owl-dot span {
    width: 10px; /* Smaller dots */
    height: 10px;
  }

  .owl-theme .owl-dots .owl-dot.active span {
    width: 12px; /* Slightly larger active dot */
    height: 12px;
  }
}
