.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);
}

html.is-display-scale-125 .main-banner__content {
  padding-top: 112px;
  padding-bottom: 128px;
}

html.is-display-scale-125 .main-banner__text {
  max-width: 528px;
}

html.is-display-scale-125 .main-banner__title {
  font-size: clamp(24px, 3.84vw, 48px);
}

html.is-display-scale-125 .main-banner__description {
  max-width: 544px;
}

html.is-display-scale-125 .main-banner__description p {
  font-size: 18px;
  line-height: 28px;
}

html.is-display-scale-125 .main-banner__btn {
  min-height: 44px;
  margin-top: 26px;
  padding: 0 22px;
  font-size: 13px;
}

html.is-display-scale-125 .main-banner__thumbs-inner {
  gap: 24px;
  padding-bottom: 56px;
}

html.is-display-scale-125 .main-banner__thumb {
  min-width: 216px;
  font-size: 16px;
}

@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: 1366px) {
  .main-banner {
    min-height: 760px;
  }

  .main-banner__content {
    min-height: 760px;
    padding-top: 120px;
    padding-bottom: 135px;
  }
}

@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: 650px;
  }
  .main-banner__content{
    min-height: 650px;
  }
}

@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: 600px;
 }
 .main-banner__content{
  min-height: 600px;
 }
}

@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: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    width: 100%;
    overflow: visible;
    padding: 0 12px;
  }

  .main-banner__thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    margin-right: 0;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(0, 45, 114, 0.45);
    line-height: 1.25;
    text-align: center;
  }

  .main-banner__thumb-label {
    width: 100%;
    text-align: center;
  }

  .main-banner__thumb:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 6px);
  }

  .main-banner__thumb[aria-selected="true"] {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
  }

  .main-banner__thumb::before,
  .main-banner__thumb::after {
    display: none;
  }

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

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

/* Short landscape phones, including common foldable inner-display widths. */
@media (orientation: landscape) and (max-width: 950px) and (max-height: 500px) {
  .main-banner,
  .main-banner__content {
    min-height: 360px;
  }

  .main-banner__content {
    align-items: center;
    padding: 76px 24px 28px;
  }

  .main-banner__text {
    max-width: min(620px, calc(100vw - 48px));
  }

  .main-banner__title {
    margin-bottom: 10px;
    font-size: clamp(25px, 5.2vw, 34px);
    line-height: 1.05;
  }

  .main-banner__description p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .main-banner__btn {
    min-height: 46px;
    margin-top: 16px;
    padding: 0 22px;
    font-size: 14px;
  }

  .main-banner__thumbs {
    display: none;
  }

  .main-banner__image,
  .main-banner__slide .main-banner__text {
    transform: none;
    transition: none;
  }

  .main-banner__slide .main-banner__text {
    opacity: 1;
  }
}
