.cruise-banner {
  margin-top: 90px; /* adjust depending on your header height */
}

.banner-slide {
  position: relative;
  width: 100%;
}

.banner-slide::after {
    content: "";
    position: absolute;
    inset: 0; /* covers the entire slide */
    background: rgba(0, 0, 0, 0.3); /* black overlay, 40% opacity */
    z-index: 1;
}

.banner-caption {
    position: relative;
    z-index: 2; /* keeps text above the overlay */
}

.cruise-services{
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  background-color: aliceblue;
}

.card img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card:hover img {
  transform: scale(1.08); /* zoom effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); 
}

/****swiper pagination***/

.swiper-button-next,
.swiper-button-prev {
  color: #fff !important; /* white arrows */
  background: rgba(0,0,0,0.4); /* semi-transparent background for contrast */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0,0,0,0.7);
}

.swiper-button-next,
.swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-pagination {
  bottom: 15px !important;
  text-align: center;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
  transition: 0.3s;
}

.swiper-pagination-bullet-active {
  background: #0dcaf0; /* Bootstrap info color for active dot */
  opacity: 1;
}

/**** cruise intro ****/
.why-choose-us {
  font-family: "Barlow", "Montserrat", "Source Sans Pro", sans-serif;
  background: linear-gradient(to left, #8dc645 0%, #1976bc 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
}



.why-choose-us .section-header h2 {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.why-choose-us .icon{
    font-size: 20px;
}

.why-choose-us .content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.why-choose-us .features {
  text-align: left;
}

.why-choose-us .features .feature {
  margin-bottom: 30px;
}

.why-choose-us .features .feature h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-choose-us .features .feature h4 span {
  color: #fdd835;
  margin-right: 10px;
  font-size: 22px;
  font-weight: 800;
}

.why-choose-us .slider {
  overflow: hidden;
}

.why-choose-us .swiper img {
  width: 100%;
  display: block;
  border-radius: 50% 50% 0px 0px;
}

/**** logos ***/

.cruise-logos .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cruise-logos img {
  max-height: 80px;
  object-fit: contain;
}

.logoSwiper {
  width: 100% !important;
  overflow: hidden;
}

/*** testimonials ***/

.testi-swiper {
    width: 100%;         /* force it inside container */
    overflow: hidden;    /* ✅ hides cut-off slides */
}
.testi-swiper .swiper-slide {
    box-sizing: border-box;
}

/* Responsive */

@media (max-width: 991px) {
    .cruise-banner .banner-caption h2 {
        font-size: 2rem; /* smaller heading for tablets */
    }
    .cruise-banner .banner-caption p {
        font-size: 1rem;
    }  
    .why-choose-us .content {
        grid-template-columns: 1fr;
    }
    .why-choose-us .features {
        text-align: center;
    }
}

@media (max-width: 767px) {
  .banner-slide {
    height: 50vh;           /* full screen height */
    position: relative;
    overflow: hidden;
  }

  .banner-slide img {
    width: 100%;
    height: 100%;            /* fill the banner */
    object-fit: cover;       /* crop nicely */
  }
  .cruise-banner .banner-caption h2 {
    font-size: 1.6rem; /* smaller heading for mobiles */
    line-height: 1.3;
  }
  .cruise-banner .banner-caption p {
    font-size: 0.9rem;
  }
  .cruise-banner .swiper-button-prev,
  .cruise-banner .swiper-button-next {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

@media (max-width: 767px) and (min-width: 400px) {
  .card img {
    width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 599px) {
    .cruise-banner {
      margin-top: 70px; 
    }
}

@media (max-width: 480px) {
  .cruise-banner .banner-caption {
    width: 90%; /* prevent text overflow */
  }
  .cruise-banner .banner-caption h2 {
    font-size: 1.3rem;
  }
  .cruise-banner .banner-caption p {
    font-size: 0.85rem;
  }
}

