/* ------- HOME SLIDER ------- */
.home-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(203, 72, 72, 0.12);
  background: #f5f7fa;
}

/* ------- IMAGE ------- */
.home-slider .carousel-item {
  position: relative;
}

.home-slider .slider-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ------- CAPTION ------- */
.slider-caption {
  position: absolute;
  left: 7%;
  right: auto;
  bottom: 70px;
  width: 50%;
  text-align: left;
}

.slider-caption h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  margin: 0;
}

/* ------- INDICATORS ------- */
.home-slider .carousel-indicators {
  bottom: 18px;
  margin-bottom: 0;
}

.home-slider .carousel-indicators button {
  width: 30px;
  height: 4px;
  border: 0;
  border-radius: 10px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: all 0.3s ease;
}

.home-slider .carousel-indicators button.active {
  width: 50px;
  background-color: #ffffff;
}

/* -------- NAVIGATION BUTTON -------- */
.slider-control {
  width: 70px;
  opacity: 0;
  transition: all 0.3s ease;
}

.home-slider:hover .slider-control {
  opacity: 1;
}

/* -------- ARROW -------- */
.slider-arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;}

.slider-arrow:hover {
  background: #ffffff;
  transform: scale(1.08);
}

/* -------- ANIMATION -------- */
.home-slider .carousel-item {
  transition: transform 0.7s ease-in-out;
}

/* -------- TABLET -------- */
@media (max-width: 992px) {
  .home-slider .slider-image {
    height: 350px;
  }

  .slider-caption {
    width: 65%;
    bottom: 60px;
  }

  .slider-caption h2 {
    font-size: 26px;
  }
}

/* -------- MOBILE -------- */
@media (max-width: 576px) {
    .home-slider {
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .home-slider .slider-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }
  
  .slider-caption {
    left: 25px;
    bottom: 45px;
    width: 75%;
  }

  .slider-caption h2 {
    font-size: 18px;
  }

  .slider-control {
    width: 45px;
    opacity: 1;
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .home-slider .carousel-indicators {
    bottom: 10px;
  }

  .home-slider .carousel-indicators button {
    width: 20px;
    height: 3px;
  }

  .home-slider .carousel-indicators button.active {
    width: 35px;
  }

}