.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.hero-banner-image {
  border-radius: 20px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  height: 860px;
}

/* Ensure carousel maintains its position */
.banner-slider {
  position: relative;
  width: 100%;
  border-radius: 20px;
  height: 860px;
}

.banner-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #004e88 0%, #f2295b00 40%);
  z-index: 2;
  border-radius: 20px;
  pointer-events: none;
}

.banner-slider .owl-stage-outer {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.owl-carousel .owl-item .hero-banner-image {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.owl-carousel .owl-item.active .hero-banner-image {
  opacity: 1;
}

.owl-nav button {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.3s ease !important;
}

.owl-nav button:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.owl-nav .owl-prev {
  left: 20px !important;
}

.owl-nav .owl-next {
  right: 20px !important;
}

/* Rest of your styles remain exactly the same */

.hero-banner-title {
  padding: 10px;
}

.hero-banner {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
  height:860px;
}

.banner-slider {
  position: absolute;
  width: 100%;
  height: 860px;
  border-radius: 20px;
}

.content-section-hero {
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-content {
  position: relative;
  z-index: 100;
  height: 100%;
}

.content-section-hero h1 {
  font-family: var(--font-osw);
  color: #fff;
  box-decoration-break: clone;
  display: inline;
  font-size: 65px;
  font-weight: 600;
  line-height: 1.1em;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 20px;
}

.content-section-hero h1 span {
  color: #ffc95b;
  font-family: "Oswald", Sans-serif;
  font-weight: 600;
  font-style: italic;
  line-height: 1.1em;
  letter-spacing: -0.02em;
}

.hero-contents-p p {
  color: #fff;
  font-size: 18px;
  margin-bottom: 0;
}

.rating-hero-section label {
  font-size: 48px;
  font-weight: 600;
  font-family: var(--font-osw);
  color: #fff;
}

.owl-carousel .owl-item .hero-banner-image {
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 8s ease-out;
  transform: scale(1);
}

.owl-carousel .owl-item.active .hero-banner-image {
  opacity: 1;
  transform: scale(1.1);
}

/* Hero three section */

.hero-img-wrapper {
  position: relative;
  display: inline-block;
}

.hero-img-wrapper img {
  width: 100%;
  height: 135px;
  border-radius: 13px;
  object-fit: cover;
  display: block;
}

/* Play button wrapper */
.hero-img-wrapper .play-icon {
  z-index: 2;
  overflow: visible;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-img-wrapper .play-icon img {
  width: 20px;
  height: 20px;
}

/* Ripple effect */
.hero-img-wrapper .play-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: ripple 2.5s infinite ease-out;
  z-index: -1;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.hero-three-sections {
  margin-top: -100px;
}

.hero-three-contet {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  padding: 10px 0px;
  position: relative;
  z-index: 999;
  background-color: #fff;
  margin-right: 0px;
  margin-left: 0px;
}

.hero-three-contet h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--e-global-color-secondary);
  line-height: 1.1em;
  letter-spacing: -0.02em;
  font-family: var(--font-osw);
}

.hero-three-contet p {
  font-size: 15px;
  font-family: var(--font-pop);
  margin-bottom: 0;
}

/* Social Share */

.social-sidebar {
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  left: 22%;
  top: 50%;
  transform: translateY(-50%);
}

.social-sidebar .social-icon:first-child::before {
  content: "";
  position: absolute;
  top: -107px;
  left: 50%;
  transform: translateX(-50%);
  width: 1%;
  height: 100px;
  background: #fff;
  z-index: -1;
}

.social-sidebar .social-icon:last-child::after {
  content: "";
  position: absolute;
  bottom: -107px;
  left: 50%;
  transform: translateX(-50%);
  width: 1%;
  height: 100px;
  background: #fff;
  z-index: -1;
}

.social-icon {
  height: 30px;
  width: 30px;
  margin: 8px 0;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: #fff;
  position: relative;
}

.social-icon:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.social-icon:hover i {
  color: #000;
}

@media (max-width: 1600px) {
  .content-section-hero {
    gap: 10px;
  }

  .hero-contents-p p {
    font-size: 16px;
  }

  .content-section-hero h1 {
    font-size: 54px;
  }
}

@media (max-width: 1280px) {
  .hero-three-sections {
    margin-top: -80px;
  }

  .hero-three-contet {
    margin-bottom: 20px;
  }
}

@media (orientation: landscape) and (max-height: 700px) and (max-width: 1490px) {
  .rating-hero-section label {
    font-size: 40px;
  }
  
  .hero-three-sections {
    margin-top: -56px;
}
  
  .custom-btn {
    display: inline-block;
    padding: 6px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
   }

  .content-section-hero {
    gap: 8px;
  }
  
  .content-section-hero h1 {
    font-size: 35px;
  }
}


@media (max-width: 1024px) {

  .hero-content {
    padding: 130px 10px;
  }

  .hero-banner {
    padding: 0;
  }

  .social-sidebar {
    flex-direction: row !important;
    gap: 10px;
    left: 28%;
    top: 60%;
    transform: none;
  }

  .social-sidebar .social-icon:first-child::before {
    content: "";
    position: absolute;
    top: 12px;
    left: -40px;
    transform: translateX(-50%);
    width: 63px;
    height: 1%;
    background: #fff;
    z-index: -1;
  }

  .social-sidebar .social-icon:last-child::after {
    content: "";
    position: absolute;
    bottom: 15px;
    left: 70px;
    transform: translateX(-50%);
    width: 63px;
    height: 1%;
    background: #fff;
    z-index: -1;
  }

  .hero-img-wrapper img {
    height: 160px;
  }

  .hero-three-contet {
    margin-bottom: 20px;
  }

  .three-contet {
    padding-top: 20px;
  }

  .hero-three-sections {
    margin-top: -45px;
  }
  
    .hero-content {
        align-content: center;
        margin-bottom: 0px;
      }

}

@media (max-width: 768px) {


  .content-section-hero h1 {
    font-size: 24px;
  }

  .hero-contents-p p {
    font-size: 16px;
  }
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  z-index: 0;
}