/* Home service carousel */
.slider__area.home-banner {
  width: 100%;
  background-color: #050505;
  background-position: center top;
  background-size: 100% auto;
}

/* Responsive sizing for the existing banner structure */
.slider__area.home-banner .slider__wrapper-3 {
  padding-top: clamp(190px, 15vw, 240px);
  padding-bottom: clamp(90px, 9vw, 130px);
}

.slider__area.home-banner .slider__content-3 {
  width: 100%;
  max-width: 680px;
}

.slider__area.home-banner .slider__title-3 {
  max-width: 100%;
  font-size: clamp(3.5rem, 6vw, 6.25rem);
  line-height: 1;
  overflow-wrap: break-word;
}

@media (max-width: 991px) {
  .slider__area.home-banner {
    background-position: 58% top;
    background-size: auto 760px;
  }

  .slider__area.home-banner .slider__wrapper-3 {
    padding-top: clamp(160px, 20vw, 190px);
    padding-bottom: 90px;
  }

  .slider__area.home-banner .slider__title-3 {
    font-size: clamp(3rem, 9vw, 4.5rem);
  }
}

@media (max-width: 767px) {
  .slider__area.home-banner {
    background-image: var(--home-banner-mobile-image) !important;
    background-position: 62% top;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }

  .slider__area.home-banner .slider__wrapper-3 {
    min-height: 590px;
    padding: 135px 0 70px;
  }

  .slider__area.home-banner .slider__wrapper-3 .col-xxl-7 {
    width: 100%;
    flex: 0 0 auto;
  }

  .slider__area.home-banner .slider__title-3 {
    width: 100%;
    max-width: calc(100vw - 24px);
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    white-space: normal;
  }

  .slider__area.home-banner .slider__btn-3 .tp-btn-dark {
    max-width: 100%;
  }
}

.slider__area .slider__content-3 > span,
.slider__area .slider__title-3 {
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.42);
}

.slider__area .slider__title-3 .slider-title-stroke {
  color: #fff;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke-color: #fff;
}

.slider__area .slider__btn-3 .tp-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 66px;
  padding: 14px 28px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  backdrop-filter: blur(20px) saturate(175%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 16px 38px rgba(0, 16, 40, 0.28);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.slider__area .slider__btn-3 .tp-btn-dark i {
  margin: 0;
  font-size: 0.9em;
}

.slider__area .slider__btn-3 .tp-btn-dark:active {
  transform: scale(0.97);
}

.slider__area .slider__btn-3 .tp-btn-dark:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .slider__area .slider__btn-3 .tp-btn-dark:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.16));
    border-color: rgba(255, 255, 255, 0.84);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.82),
      0 20px 44px rgba(0, 16, 40, 0.36);
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .slider__area .slider__btn-3 .tp-btn-dark {
    background: rgba(5, 24, 46, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.slider__area .home-hero-content {
  max-width: 760px;
  text-align: left;
}
.slider__area .home-hero-content > span {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.slider__area .home-hero-content .slider__title-3 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(3rem, 4.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-align: left;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.42);
}
.slider__area .home-hero-description {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.slider__area .home-hero-content .slider-title-stroke {
  display: block;
  color: #fff;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 0;
}
.slider__area .home-hero-cta {
  margin-right: 0;
  min-height: 76px;
  padding: 10px 28px 10px 11px;
  gap: 16px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 18px 42px rgba(0, 16, 40, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.slider__area .home-hero-cta::after {
  display: none;
}
.slider__area .home-hero-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 16px;
  color: var(--tp-common-black);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(0, 16, 40, 0.18);
}
.slider__area .home-hero-cta__icon i {
  margin: 0;
  font-size: 20px;
}
.slider__area .home-hero-cta > strong {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
.slider__area .home-hero-cta:active {
  transform: scale(0.97);
}
.slider__area .home-hero-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .slider__area .home-hero-cta:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.16));
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.82),
      0 22px 48px rgba(0, 16, 40, 0.38),
      0 0 0 5px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }
  .slider__area .home-hero-cta:hover .home-hero-cta__icon i {
    transform: none;
  }
}
@media (max-width: 767px) {
  .slider__area .home-hero-content .slider__title-3 {
    font-size: clamp(2.15rem, 9.5vw, 3.15rem);
    line-height: 1.06;
  }
  .slider__area .home-hero-content > span {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.35;
  }
  .slider__area .home-hero-description {
    display: none;
  }
  .slider__area .home-hero-cta {
    min-height: 66px;
    padding: 8px 20px 8px 8px;
    gap: 12px;
    border-radius: 18px;
  }
  .slider__area .home-hero-cta__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .slider__area .home-hero-cta > strong {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
  }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .slider__area .home-hero-cta {
    background: rgba(5, 24, 46, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Services carousel inside home banner */
.banner-services__slider {
  overflow: hidden;
}
.banner-services__slider .swiper-slide {
  height: auto;
}
.banner-services__slider .services__thumb-3 {
  aspect-ratio: 4 / 3;
}
.banner-services__slider .services__thumb-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner-services__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}
.banner-services__prev,
.banner-services__next {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--tp-common-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.banner-services__prev:hover,
.banner-services__next:hover {
  color: var(--tp-common-black);
  background: var(--tp-common-white);
  border-color: var(--tp-common-white);
}
.banner-services__prev.swiper-button-disabled,
.banner-services__next.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.banner-services__pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto !important;
}
.banner-services__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: var(--tp-common-white);
  opacity: 0.4;
  transition: width 0.3s ease, opacity 0.3s ease;
}
.banner-services__pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 5px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .banner-services__slider .services__thumb-3 img,
  .banner-services__pagination .swiper-pagination-bullet {
    transition: none;
  }
}
