.item.section-layer-primary:before {
  opacity: 1;
}

.home-banner {
  height: 100vh !important;
  /* background: linear-gradient(115deg, #2a62f2 0%, #7a2df0 100%); */
}

.carousel-hero-slider .swiper-slide {
  height: 100vh !important;
}

.home-banner .section-layer-primary {
  background-position: right;

  background-repeat: no-repeat;

  background-size: cover;
}

.page-banner-section .cap-content {
  margin-bottom: 0;
}

.slide-discrption p {
  font-size: 20px !important;
}

.btn-banner {
  border: 1px solid;

  padding: 16px 32px;

  color: white;

  margin: 10px;

  font-size: 14px;

  line-height: 18px;

  font-weight: 600;

  text-transform: uppercase;
}

.btn-banner:hover {
  background-color: white;

  color: #5e64ef;
}

.featured-list {
  position: absolute;

  right: 0;

  left: 0;

  margin: 0 auto;

  z-index: 3;

  bottom: 48px;
}

/* .awards_partners,

.featured-clients {

    height: 30px;

} */

.clients-scroll {
  display: flex;

  gap: 24px;

  overflow-x: auto;

  overflow-y: hidden;

  -webkit-overflow-scrolling: touch;

  scroll-behavior: smooth;
}

.clients-scroll::-webkit-scrollbar {
  display: none;
}

@media only screen and (max-width: 768px) {
  h1.banner-title {
    font-size: 40px;

    font-weight: 600;
  }

  .cap-content {
    margin-bottom: 83px;
  }

  .slide-discrption p {
    font-size: 16px !important;
  }

  .home-banner .section-layer-primary {
    background-position: 60%;

    background-size: cover;
  }

  .page-banner-section .cap-content {
    margin-bottom: 125px;
  }

  .awards-section .section-inner {
    padding-bottom: 2.5rem;
  }

  .clients-scroll {
    gap: 16px;
  }
}

@media only screen and (min-width: 769px) and (max-width: 991px) {
  h1.banner-title {
    font-size: 40px;

    font-weight: 600;
  }
}

@media only screen and (max-width: 991px) {
  .featured-list {
    bottom: 72px;
  }
}

@media only screen and (max-width: 992px) and (orientation: landscape) {
  .featured-list .d-lg-flex.justify-content-between {
    display: flex;
  }

  .featured-list .text-white.pb-2 {
    text-align: left;
  }

  .container .cap-content {
    margin-top: 84px;
  }

  .carousel-hero-slider .swiper-slide {
    height: 120vh !important;
  }

  section.home-banner.overflow-hidden {
    height: 120vh !important;
  }

  .featured-list {
    bottom: 10px;
  }
  .slide-discrption p {
    margin-bottom: 24px !important;
  }
  .banner-actions .btn {
    height: 44px !important;
    line-height: 44px !important;
  }
}



/* Animation styles for slider content */
.banner-title,
.slide-discrption,
.banner-actions {
  will-change: transform, opacity;
}

/* Smooth fade effect for background images */
.section-layer-primary {
  will-change: opacity;
  transition: opacity 1.5s ease-in-out;
}

/* Swiper fade effect support */
.carousel-hero-slider .swiper-slide {
  opacity: 0 !important;
  transition-property: opacity;
}

.carousel-hero-slider .swiper-slide-active {
  opacity: 1 !important;
}

/* For single slides (when Swiper is not initialized) */
.carousel-hero-slider:not(.swiper-initialized) .swiper-slide {
  opacity: 1 !important;
}

/* Hardware acceleration for better performance */
.carousel-hero-slider .swiper-slide,
.banner-title,
.slide-discrption,
.banner-actions,
.section-layer-primary {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Ensure proper spacing for animated words */
.banner-title .word-wrapper + .word-wrapper::before {
  content: "\00a0";
  /* Non-breaking space */
}

/* 13-inch MacBook Air at default scaling */
@media screen and (width: 1440px) and (height: 900px) {
  h1 {
    font-size: 54px;
  }
}

.home-slider-prev, .home-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    padding: 12px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-slider-prev { left: 20px; }
.home-slider-next { right: 20px; }

.home-slider-prev svg, .home-slider-next svg {
    display: block;
}

.item.section-layer-primary.slide-1::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 75%);
}