/* ====================== */
/* Carousel Styles */
/* ====================== */

.carousel {
  position: relative;
  height: 300px;
  width: 75%;
  max-width: 1800px;
  margin: 0 auto;
}

.carousel-image {
  width: 300px;
  height: 300px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.img-h {
  object-position: 50% 5%;
}

.carousel-track-container {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.carousel-track {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
  display: flex;
  transform: translateX(0);
  transition: transform 700ms ease-in;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  background-image: radial-gradient(circle, #cccccc 10%, transparent 10%);
  background-size: 20px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* Arrow Buttons - CSS Version */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-button::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-style: solid;
  border-width: 3px 3px 0 0;
  border-color: #192732;
  transform-origin: center;
}

.carousel-button--left::before {
  transform: translate(-50%, -50%) rotate(-135deg);
  margin-left: 2px;
}

.carousel-button--right::before {
  transform: translate(-50%, -50%) rotate(45deg);
  margin-left: -2px;
}

.carousel-button--left {
  left: -50px;
}

.carousel-button--right {
  right: -50px;
}

/* Navigation Dots */
.carousel-nav {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.carousel-indicator {
  border: 0;
  border-radius: 50px;
  width: 15px;
  height: 15px;
  background: rgba(0, 0, 0, 0.3);
  margin: 0 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.current-slide {
  background: rgba(0, 0, 0, 0.75);
}

.carousel-indicator:hover {
  transform: scale(1.2);
  background-color: rgba(25, 39, 51, 1);
}

/* Responsive Adjustments */
@media screen and (max-width: 900px) {
  .carousel {
    height: 300px;
    width: 90%;
    max-width: 100%;
  }
  
  .carousel-slide {
    padding: 10px;
  }
  
  .carousel-button {
    width: 35px;
    height: 35px;
  }
  
  .carousel-button--left {
    left: -30px;
  }

  .carousel-button--right {
    right: -30px;
  }

  .carousel-button::before {
    width: 10px;
    height: 10px;
    border-width: 2px 2px 0 0;
  }
}

/* ====================== */
/* Existing Page Styles */
/* ====================== */
/* Your other CSS styles below... */