/* Customize carousel control icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  background-color: #1953A0; /* yellow background */
  border-radius: 50%;
  padding: 20px; /* make them larger */
}

/* Change the arrow (SVG) color to white */
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* Carousel layout */
#servicesCarousel {
  position: relative;
  padding: 1.25rem 0;
}

.carousel-item .row {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: stretch; /* cards same height */
}

/* Ensure each column doesn't shrink */
.carousel-item .col-md-4 {
  flex: 0 0 auto;
  max-width: 360px; /* ajusta si quieres más ancho */
}

/* Card styling - keep existing .service-card rules but ensure full width in column */
.service-card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border-radius: 10px;
  background-color: #EDEDED;
}

/* Make images consistent */
.service-card img {
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Card button */
.card-btn {
  border-radius: 20px !important;
  color: #fff;
  background-color: #1953A0;
}
