.main-banner {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
}

.main-banner__slider,
.main-banner__slide,
.main-banner__media,
.main-banner__image {
  width: 100%;
  height: 100%;
}

.main-banner__slider {
  position: absolute;
  inset: 0;
}

.main-banner__slide {
  position: relative;
  overflow: hidden;
}

.main-banner__media {
  position: absolute;
  inset: 0;
}

.main-banner__image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.main-banner__slide.swiper-slide-active .main-banner__image {
  transform: scale(1);
}

.main-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    99.88deg,
    rgba(0, 45, 114, 0.56) 0%,
    rgba(0, 45, 114, 0.21) 100%
  ),
  linear-gradient(to left, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.44));
  pointer-events: none;
}

.main-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding: 140px 15px 160px;
}

.main-banner__text {
  max-width: 660px;
}

.main-banner__title {
  margin: 0 0 24px;
  font-size: clamp(30px, 4.8vw, 60px);
  font-weight: 200;
  line-height: 110%;
}

.main-banner__description {
  max-width: 680px;

}
.main-banner__description p{
  font-weight: 300;
  color: #fff;
}

.main-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  margin-top: 32px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.main-banner__btn:hover,
.main-banner__btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.main-banner__btn-icon {
  display: inline-flex;
  font-size: 14px;
}

.main-banner__thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.main-banner__thumbs .container{
  position: relative;
}
.main-banner__thumbs-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 0 70px;
}

.main-banner__thumb-list {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.main-banner__thumb {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 20px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  min-width: 270px;
  justify-content:center;
}

.main-banner__thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.main-banner__thumb::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 0;
  height: 1px;
  background: #ffffff;
}

.main-banner__thumb.is-progressing::before {
  animation: main-banner-thumb-progress var(--main-banner-autoplay-duration, 7000ms) linear forwards;
}

@keyframes main-banner-thumb-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.main-banner__thumb-label {
  display: inline-block;
}

.main-banner__slide .main-banner__text {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.main-banner__slide.swiper-slide-active .main-banner__text {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1500px) {
  .main-banner__title {
    font-size: clamp(30px, 4.8vw, 40px);
  }

  .main-banner__text {
    max-width: 470px;
  }

  .main-banner__thumb {
    font-size: 16px;
    min-width: 210px;
  }
}

@media (max-width: 1200px) {
  .main-banner__content {
    padding: 130px 15px 150px;
  }

  .main-banner__thumb {
    font-size: 14px;
    min-width: 180px;
  }

  .main-banner__thumbs-inner {
    gap: 24px;
  }
}

@media (max-width: 1160px) {
  .main-banner__text {
    max-width: 420px;
  }

  .main-banner__thumb {
    min-width: 160px;
    font-size: 13px;
  }

  .main-banner__thumb-list {
    gap: 8px;
  }
  .main-banner{
    min-height: 80vh;
  }
  .main-banner__content{
    min-height: 85dvh;
  }
}

@media (max-width: 992px) {
  .main-banner__content {
    padding: 130px 30px 150px;
  }

  .main-banner__thumbs-inner {
    padding-bottom: 28px;
  }

  .main-banner__thumb-list {
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 0 15px;
  }

  .main-banner__thumb-list::-webkit-scrollbar {
    display: none;
  }

  .main-banner__thumb {
    flex-shrink: 0;
    min-width: 150px;
    
  }
  .main-banner {
    min-height: 70dvh;
 }
 .main-banner__content{
  min-height: 75dvh;
 }
}

@media (max-width: 767px) {
  .main-banner__content {
    padding: 120px 20px 140px;
  }

  .main-banner__title {
    margin-bottom: 18px;
  }

  .main-banner__thumbs-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
  }

  .main-banner__thumb-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .main-banner__thumb {
    flex-shrink: 0;
    margin-right: 24px;
  }

  .main-banner__thumb:last-child {
    margin-right: 0;
  }

  .main-banner__thumb-list::-webkit-scrollbar {
    display: none;
  }
}
