.banner {
  position: relative;
  width: 100vw; 
  left: 50%; 
  right: 50%;
  margin-left: -50vw; 
  height: 615px;
  overflow: visible !important;
}

.banner__slider {
  width: 100vw; 
  height: 100%;
  position: relative;
   overflow: hidden;

}

.banner__slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.banner__slider-item {
  min-width: 100%;
  box-sizing: border-box;
   position: relative;
}
.banner__slider-item img {
  width: 100%;
  height: 615px;
  object-fit: cover;
}


.banner__slider-pagination {
 position: absolute;
  bottom: 0px !important;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 12px;

}

.bullet {
  width: 30px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4); 
  cursor: pointer;
}

.bullet.active {
   width: 30px;
  background: #ffffff;
}

.banner__slider-navigation {
  background-color: rgba(22, 49, 94, 0.25);
  color: #fff;
  transition: background-color 0.3s ease-in-out;

}

.swiper-button-prev {
 width: 100%;
    height: 100%;

}

.swiper-button-next {
   width: 100%;
    height: 100%;

}


/* Progress */
.progress-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.progress-item {
  width: 40px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  /* Inactive */
  transition: background 0.3s;
}

.progress-item.active {
  background: rgba(255, 255, 255, 1);
  /* Active */
}

@keyframes fillProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* Slider Banner*/


  .banner .swiper-button-prev {
    left: 20px;
    width: 60px;
    height: 60px;
  }

  .banner .swiper-button-next {
    right: 20px;
    width: 60px;
    height: 60px;
  }

  .progress-container {
    bottom: 20px;
  }

  .progress-item {
    width: 26px;
    height: 4px;
  }
  /* CTA button */
  .ctd__cta-btn.outside {
  display: none;
}
.ctd__cta-btn {
    position: absolute;
    bottom: 89%;
    justify-content: space-between;
    margin-left: 70.5%;
    width: 30%;
    padding: 12px 10px 12px 24px;
    background-color: #16315E;
    color: #fff !important;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    z-index: 2;
    min-width: 180px;
    white-space: nowrap;
    clip-path: polygon(27px 0%, 100% 0%, 100% calc(100% - 17px), calc(100% - 20px) 100%, 0% 100%, 0% 23px);
    letter-spacing: 2px;
}

.ctd__cta-btn .arrow {
  display: inline-block;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.ctd__cta-btn:hover {
  background-color: #264ABC;
}

.ctd__cta-btn:hover .arrow {
  transform: rotate(45deg);
}
.banner__slider-pagination,
.swiper-pagination {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
  z-index: 99;
  display: flex;
  gap: 10px;
  pointer-events: auto;
  justify-content: center;
  width: auto;
  margin-bottom: 32px;
}

/* Style Swiper bullets as horizontal bars */
.banner__slider-pagination .swiper-pagination-bullet,
.swiper-pagination-bullet {
  width: 40px;
  height: 6px;
  margin: 0 4px !important;
  background: #777777;
  opacity: 1;
  border-radius: 0;
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
  box-sizing: border-box;
}

.banner__slider-pagination .swiper-pagination-bullet-active,
.swiper-pagination-bullet-active {
  background: #fff;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
  .banner {
    position: relative;
    width: 100vw; 
    left: 50%; 
    right: 50%;
    margin-left: -50vw; 
    height: 406px;
    overflow: visible !important;
  }
  .banner__slider-item img {
  width: 100%;
  height: 351px;
  object-fit: cover;
}
  
  .ctd__cta-btn.outside:hover {
  background-color: #3f67f1;
  }

  .ctd__cta-btn.outside:hover .arrow {
  transform: rotate(45deg);
  }
   .ctd__cta-btn.outside {
    display: flex;
    position: relative;
    width: 30%;
    height: 55px;
    top: 0;
    left: 0;
    margin: 0px 0px;
    min-width: 248px;
    background-color: #16315E;
    color: #fff;
    font-size: 14px;
    padding: 12px 20px;
    width: fit-content;
    z-index: 10;
    text-transform: uppercase;
    white-space: nowrap;
    clip-path: polygon(16px 0%, 100% 0%, 100% calc(100% - 17px), calc(100% - 20px) 100%, 0% 100%, 0% 16px);
    justify-content: space-between;
    gap: 8px;
    font-family: 'Lexend Deca', sans-serif;
  }
  .ctd__cta-btn.outside .arrow img{
        color: #5FD1C1 !important;
  }
  .banner__slider-item .ctd__cta-btn:not(.outside) {
    display: none !important;
  }

  .banner__slider-pagination,
.swiper-pagination {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
  z-index: 99;
  display: flex;
  gap: 10px;
  pointer-events: auto;
  justify-content: center;
  width: auto;
  margin-bottom: 0;
}
.banner__slider-pagination .swiper-pagination-bullet,
.swiper-pagination-bullet {
  width: 40px;
  height: 6px;
  margin: 0 4px !important;
  background: #777777;
  opacity: 1;
  border-radius: 0;
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
  box-sizing: border-box;
}

.banner__slider-pagination .swiper-pagination-bullet-active,
.swiper-pagination-bullet-active {
  background: #fff !important;
}
.banner__slider-pagination,
.swiper-pagination {
  margin-bottom: 32px;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    justify-content: center;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .banner .swiper-button-prev {
    left: 20px;
    width: 60px;
    height: 60px;
    margin: -40px auto;
  }

  .banner .swiper-button-next {
    margin: -40px auto;
    right: 20px;
    width: 60px;
    height: 60px;
}
.banner__slider-pagination {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 12px;
  bottom: 10% !important;
}

.bullet {
  width: 30px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4); /* vạch mờ */
  cursor: pointer;
}

.bullet.active {
  width: 30px;
  background: #ffffff; /* vạch đậm */
}

}


