.hero-luxury .hero-video-wrapper #bgvid {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -o-object-fit: cover;
    object-fit: cover;
}

.hero-luxury .hero-video-wrapper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 280px;
}

.hero-luxury .hero-video-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    z-index: 2;
}

.hero-luxury .hero-content {
    position: relative;
    z-index: 3;
    /* padding-bottom: px; */
}
@media (min-width: 1450px){
    .hero-luxury .hero-video-wrapper #bgvid {
        height: 80vh;
    }

    .hero-luxury .hero-video-wrapper {
        width: 100%;
        height: 80vh;
    }    
}

/* added css for inner pages banner */

.hero-v24 .carousel .carousel-inner .item .slide-bg{
  height: 100vh;
  position: relative;
}
@media (min-width: 1450px){
  .hero-v24 .carousel .carousel-inner .item .slide-bg{
    height: 80vh;
    position: relative;
  } 
}
.zoomin{
  -webkit-animation: zoomin 30s linear infinite;
  animation: zoomin 30s linear infinite;
}

@keyframes zoomin {

    0%{

        transform: scale(1);

    }

    25% {

      transform: scale(1.05);

    }

    50%{

        transform: scale(1.08);

    }

    75%{

      transform: scale(1.05);

    }

    100%{

        transform: scale(1);

    }

}

.zoomout{

  -webkit-animation: zoomout 15s linear infinite;

  animation: zoomout 15s linear infinite;

}

@keyframes zoomout {

    0%{

        transform: scale(1.07);

    }

    50%{

        transform: scale(1.05);

    }

    100%{

        transform: scale(1);

    }

}

.hero-v24 .caption-holder{

  position: absolute;

  z-index: 2;

  left: 0;

  right: 0;

  bottom: 0;

  top: 0;
  padding-top: 100px;

}

.hero-v24 .caption-links-holder .caption-links {

  display: table;

  float: left;

  margin-right: 60px;

}

@media only screen and (max-width: 992px) {

  .hero-v24 .caption-links-holder .caption-links {

    display: block;

    float: none;

    margin-right: 0;

    margin-bottom: 25px;

  }

}

.hero-v24 .caption-links-holder .caption-links .caption-links-icon {

  display: inline-block;

  width: 48px;

  height: 48px;

  text-align: center;

  margin-right: 10px;

  border-radius: 50%;

  vertical-align: top;

  color: #ffffff;

  transition: all 0.25s ease-out;

}

.hero-v24 .img-icon-hover {

    overflow: hidden;

    position: relative;

}

.hero-v24 .img-icon-hover img:first-child,

.hero-v24 .img-icon-hover img:last-child {

    transition: 0.25s ease-out;

    position: absolute;

    top: 0;

    left: 0;

}

.hero-v24 .img-icon-hover > img{

    max-width: 100%;

}

.hero-v24 .img-icon-hover img:last-child {

    opacity: 0;

    visibility: hidden;    

}

.hero-v24 .img-icon-hover:hover > img:first-child {

    opacity: 0;

    visibility: hidden;

}

.hero-v24 .img-icon-hover:hover > img:last-child {

    opacity: 1;

    visibility: visible;

}

.hero-v24 .caption-links-holder .caption-links .caption-links-text {

  display: inline-block;

  font-size: 16px;

}

.hero-v24 .caption-links-holder .caption-links .caption-links-text h3 {

  margin: 0;

  font-size: 28px;

}

@media only screen and (max-width: 992px) {

  .hero-v24 .caption-links-holder .caption-links .caption-links-text h3 {

    font-size: 24px;

  }

}

.hero-v24 .carousel-control.left,

.hero-v24 .carousel-control.right {

  background-image: none;

  border: 2px solid #1429A9;

  top: auto;

  right: 25px;

  left: auto;

  width: 50px;

  height: 50px;

  bottom: 25px;

  border-radius: 50%;

  font-size: 30px;

  opacity: 0.9;

  line-height: 40px;

  text-shadow: none;

}



.hero-v24 .carousel-control.left {

  right: 90px;

}

.hero-v24 .read-more {

    color: #fff;

    line-height: 18px;

    letter-spacing: 4px;

    display: table;

    margin: 20px 0;

}


@media only screen and (max-width: 767px) {

    .hero-v24 .caption-holder h1 {

        font-size: 40px;

    }

}

.hero-v24 .cus-indicator {

    position: absolute;

    z-index: 2;

    width: 100%;

    left: 0;

    right: 0;

    bottom: 50px;

}

.hero-v24 .cus-indicator .carousel-indicators {

  position: relative;

  bottom: auto;

  left: auto;

  width: 100%;

  margin-left: 0;

  text-align: left;

}

.hero-v24 .cus-indicator .carousel-indicators li {

  display: block;

  width: 100%;

  height: auto;

  margin: 0;

  text-indent: 0;

  cursor: pointer;

  background-color: transparent;

  border: 0;

  border-radius: 0;

  float: left;

  color: #222;

  font-size: 17px;

  font-weight: 600;

  line-height: 25px;

  opacity: 0.7;

  transition: all 0.4s ease-out;

  padding-top: 10px;

  text-align: center;

}

.hero-v24 .cus-indicator .carousel-indicators li.active,

.hero-v24 .cus-indicator .carousel-indicators li:hover {

  opacity: 1;

}



.hero-v24 h1 span.over {

    line-height: 22px;

    letter-spacing: 8px;

    font-weight: 400;

    font-size: 16px;

    margin-bottom: 13px;

}



.hero-v24 .carousel .carousel-inner .item .slide-bg::after {

  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: #000;

  opacity: 0.55;

}



.hero-v24 .caption-holder {

  z-index: 3;

}



.hero-v24 .carousel-control.left,

.hero-v24 .carousel-control.right {

  background-image: none;

  width: 80px;

  height: 80px;

  opacity: 0.9;

  line-height: 40px;

  text-shadow: none;

  top: 50%;

  transform: translateY(-50%);

  /* rotate(135deg); */

  border: solid #fff;

  border: none;

  /* Set the color of the chevron */

  border-width: 0 8px 8px 0;

  margin: 0px;

  color: #fff;

  left: 20px;

  border-radius: unset;

  display: none;

  font-size: 52px;

  /* border-radius: 50%; */

  opacity: 0.8;



}

.hero-v24 h2 {
    margin-bottom: 0;
}

.hero-v24 .carousel-control.left i,

.hero-v24 .carousel-control.right i {

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  position: absolute;

}

.hero-v24 .carousel-control.right {

  transform: translateY(-50%) ;
  left: unset;
  right: 20px;

}

.hero-v24 p {
  color: #fff;
  font-style: normal;
  max-width: unset;

}


.hero-v24 .carousel-control.left:hover,

.hero-v24 .carousel-control.right:hover {

  color: #89AC92;

  /* opacity: 0.5; */

  background-color: #EFE7DA;

}


.hero-v24 .carousel-indicators {
  width: unset;
  margin: auto;
  bottom: 28px;
}

.hero-v24 .carousel-indicators .active {
    background-color: transparent;
}

.hero-v24 .carousel-indicators {
  transform: translateX(-50%);
}

.hero-v24 .hb-transparent-wrap h2 {

  position: absolute;

  bottom: 40px;

  left: 40px;

  z-index: 2;

  color: transparent;

  /* -webkit-text-stroke: 2px #5E28A1; */

  -webkit-text-stroke: 2px #fff;

  text-transform: uppercase;

  margin-bottom: 0;

  line-height: 0.73;

  font-size: 80px;
}

.hero-v24 .carousel-indicators a  {
    cursor: pointer;
}
.hero-v24 .carousel-indicators a.active i{
    color: #4ACF3F;
}
.hero-v24 .carousel-indicators a i {
    font-size: 32px;
    color: #fff;
    margin-right: 8px;
    transition: all ease-in-out 0.4s;
}

.hero-v24 .carousel-indicators a:hover i {
    color: #4ACF3F;
    transition: all ease-in-out 0.4s;
}

.hero-v24.banner p {
  padding: 10px 5px;
  margin-bottom: 0;

}

.hero-v24 .carousel-indicators .active {
  margin: 1px;

}

@media (min-width: 992px) and (max-width: 1199.98px) { 

  .hero-v24 .cus-indicator .carousel-indicators li {

    font-size: 17px;

  }

}

@media screen and (min-width: 992px) {
  .hero-v24 .carousel-control.left,

  .hero-v24 .carousel-control.right {

      display: block;

  }

  .hero-v24 .carousel-indicators {
      bottom: 22px;
  }

  .hero-v24 .hb-transparent-wrap h2{

      font-size: 180px;

      left: 50%;

      bottom: 60px;

      transform: translateX(-50%);

  }

}
@media (min-width: 768px) {
  .hero-v24 .caption-holder{
    padding-top: 280px;
  }
}



/* === Hero-v24 Mobile Adjustments (no font-size changes) === */
@media only screen and (max-width: 767px) {

  /* Ensure the image fills and centers without awkward crops */
  .hero-v24 .slide-bg {
    height: 95vh !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  /* Give the copy breathing room below the sticky header */
  .hero-v24 .caption-holder {
    padding-top: 120px !important;   /* adjust if your header is taller */
    padding-bottom: 24px !important; /* space for CTA */
    text-align: center;
  }

  /* Tighten vertical rhythm without touching font-size */
  .hero-v24 h1,
  .hero-v24 h2 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  .hero-v24 p {
    margin: 8px 0 !important;
    padding: 0 12px !important;      /* side gutters to avoid edge collisions */
  }

  /* Reliable wrapping to prevent cut-offs */
  .hero-v24 .caption-holder h1,
  .hero-v24 .caption-holder h2,
  .hero-v24 .caption-holder p,
  .hero-v24 .hero-btn {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;         /* modern browsers */
    word-wrap: break-word;           /* legacy */
    hyphens: auto;
    text-wrap: pretty;               /* progressive enhancement */
  }

  /* CTA: full-width, tappable, consistent */
  .hero-v24 .hero-btn .btn {
    display: block;
    width: 100%;
    max-width: 320px;                /* keeps it elegant */
    margin: 10px auto 0 !important;
    padding: 12px 18px !important;   /* touch target, not font-size */
  }

  /* Container gutters so long lines don't collide with viewport edges */
  .hero-v24 .caption-holder .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Slightly stronger overlay for readability on bright images */
  .hero-v24 .carousel .carousel-inner .item .slide-bg::after {
    opacity: 0.62 !important;        /* existing rule is 0.55 */
  }

  /* Indicators & controls sanity on small screens */
  .hero-v24 .carousel-indicators {
    bottom: 18px;
    transform: none;                  /* avoid off-center drift on narrow widths */
    margin: 0 auto;
  }
}


@media only screen and (max-width: 767px) {

  /* Fix button overflow and centering */
  .hero-v24 .hero-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    overflow: hidden;
    padding: 0 12px !important;
  }

  .hero-v24 .hero-btn .btn {
    width: 100%;
    max-width: 320px;
    white-space: normal !important;
    text-align: center;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-wrap: break-word;
    border-radius: 4px;
  }
}

/* === Mobile Fix: Prevent Bottom Cut-Off (Scoped Only to .hero-fix-mobile) === */
@media only screen and (max-width: 767px) {

  .hero-fix-mobile .carousel,
  .hero-fix-mobile .carousel .carousel-inner,
  .hero-fix-mobile .carousel .carousel-inner .item {
    min-height: 100svh;
  }

  .hero-fix-mobile .carousel .carousel-inner .item .slide-bg {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  .hero-fix-mobile .caption-holder {
    position: relative !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding-top: calc(env(safe-area-inset-top, 0px) + 120px) !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 36px) !important;
    text-align: center;
  }

  .hero-fix-mobile .mytable,
  .hero-fix-mobile .table-cell {
    display: block !important;
    height: auto !important;
  }

  .hero-fix-mobile .hero-btn {
    padding: 0 12px !important;
    margin-bottom: 8px !important;
  }

  .hero-fix-mobile .carousel-indicators {
    bottom: 18px !important;
  }
}

