/* Make each slide fill the screen */
.hero-slide {
  height: 100vh;
  min-height: 600px; /* fallback for small devices */
  padding: 0;
  background-color: #f8f9fa; /* fallback background */
}

.hero-slide .container {
  z-index: 2;
}

#heroCarousel h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-description {
  font-size: 1.2rem;
  margin: 20px 0;
}

.hero-actions .btn {
  margin-right: 10px;
  padding: 12px 24px;
}

#heroCarousel .carousel-inner {
  width: 100%;
  height: 100%;
}

#heroCarousel .carousel-item {
  height: 100vh;
  display: flex;
  align-items: center;
}

/* Controls styling */
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  /*background-color: rgba(0, 0, 0, 0.4);*/
  background-color: rgb(37, 89, 89);
  border-radius: 50%;
  padding: 10px;
  width: 40px;
  height: 40px;
  background-size: 50% 50%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%; /* so they don't stretch */
}

/* Indicators styling */
#heroCarousel .carousel-indicators {
  bottom: 0px;
}

#heroCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  background-color: #255959;
  border-radius: 50%;
}

.hero-slide {
  height: 100vh; /* Full screen */
  width: 100%;
}

.hero-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover; /* Ensures full coverage without distortion */
}

.btn-floating {
  position: fixed;
  right: 14px;
  overflow: hidden;
  width: 44px;
  height: 44px;
  border-radius: 100px;
  border: 0;
  z-index: 9999;
  color: white;
  transition: .2s;
}
.btn-floating:hover {
  width: auto;
  padding: 0 20px;
  cursor: pointer;
}
.btn-floating span {
  font-size: 16px;
  margin-left: 5px;
  transition: .2s;
  line-height: 0px;
  display: none;
}
.btn-floating:hover span {
  display: inline-block;
}

.btn-floating.phone {
  bottom: 150px;
  background-color: #110273;
}
.btn-floating.phone:hover {
  background-color: #110273;
}
.btn-floating.email {
  bottom: 210px;
  background-color: #255959;
}
.btn-floating.email:hover {
  background-color: #255959;
}
.btn-floating.whatsapp {
  background-color: #1f7a12;
  bottom: 90px;
}
.btn-floating.whatsapp:hover {
  background-color: #1f7a12;
}

@media (min-width: 320px) and  (max-width: 766px) {
  .hero {
    min-height: 15vh;
    top: 140px;
    margin-bottom: 90px;
  }
  #heroCarousel .carousel-item {
    height: 15vh;
  }
  .hero-slide img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  } 
  #heroCarousel .carousel-control-prev-icon,
  #heroCarousel .carousel-control-next-icon {
    padding: 5px;
    width: 25px;
    height: 25px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
}
@media (min-width: 768px) and  (max-width: 1024px) {
  .hero {
    min-height: 25vh;
    top: 140px;
    margin-bottom: 90px;
  }
  #heroCarousel .carousel-item {
    height: 25vh;
  }
  .hero-slide img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  } 
  #heroCarousel .carousel-control-prev-icon,
  #heroCarousel .carousel-control-next-icon {
    padding: 5px;
    width: 25px;
    height: 25px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
}