.slide-content-wrapper {
    position: absolute;
    top: 44%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
}



.slide-content {
    color: var(--secondary-color);
    font-family: Open Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 64px;
    line-height: 75px;
    text-align: center;
    text-transform: capitalize;

    /* text-align: left;
    max-width: 500px; */
}

.slide-badge {
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 4px 12px;
    display: inline-block;
    position: relative;
    background-color: #8cc277;
    font-weight: bold;
}

.slide-badge::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #8cc277;
    z-index: 1;
}

.slide-title {
    font-size: 2.25rem;
    line-height: 3.75rem;
    font-weight: bold;
    font-family: var(--font-philosopher);
}

.slide-title-2 {
    font-family: Open Sans;
    font-weight: 700;
    font-size: 64px;
    line-height: 75px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: capitalize;


}

/* .slide-title-2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px; 
    height: 2px;
    background-color: var(--secondary-color); 
  } */
.slide-description {
    opacity: 0.8;
    margin-bottom: 40px;
    font-family: Open Sans;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;

}
/* //button 1 */
.slide-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12.5px 40px;
  border-radius: 30px;

  text-decoration: none;
  overflow: visible;
  z-index: 1; 
  margin-right: 40px;
}

.slide-btn::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;

  width: 100%;
  border-radius: 30px;
  /* background: #0000004D ; */

  z-index: -1;
  transition: width .35s cubic-bezier(0.4,0,0.2,1), background .3s ease;
}

/* ICON: cố định vị trí, không phụ thuộc độ dài nền */
.slide-btn-icon{
  position: absolute;
  top: 50%;
  right: -25px;             /* tràn ra ngoài nửa hình (50px icon) */
  transform: translateY(-50%);
  width: 50px;
  height: 50px;

  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(0,0,0,.6);

  display:flex;
  align-items:center;
  justify-content:center;

  z-index: 2;
}

/* chỉ xoay SVG để “quay ngang/đổi hướng” */
.slide-btn-icon svg{
  transition: transform .35s ease;
}

/* HOVER: nền dài ra thêm đúng 50px (bằng icon), icon giữ nguyên vị trí */
.slide-btn:hover::before{
  width: calc(100% + 25px);       /* dài ra bằng icon */
  background: var(--third-color);  /* nếu anh muốn đổi màu */
}

.slide-btn:hover .slide-btn-icon svg{   
  transform: rotate(45deg); /* anh muốn “quay ngang” theo góc nào thì đổi 90/180/45 */
}

/* text */
.slide-btn-text{
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  white-space: nowrap;
}


/* BUTTON 2 độc lập hoàn toàn */
.slide-btn2{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12.5px 40px;
  border-radius: 30px;
  text-decoration: none;
  overflow: visible;
  z-index: 1;

  border: 1px solid var(--secondary-color);
}

/* nền thật để animate */
.slide-btn2::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width: 100%;
  border-radius: 30px;

  background: #0000004D;
  z-index: -1;

  transition: width .35s cubic-bezier(0.4,0,0.2,1);
}

/* icon đứng cố định */
.slide-btn2-icon{
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);

  width: 50px;
  height: 50px;
  border-radius: 50%;

  border: 1px solid var(--secondary-color);
  background: rgba(0,0,0,.6);

  display:flex;
  align-items:center;
  justify-content:center;

  z-index: 2;
}

.slide-btn2-icon svg{
  transition: transform .35s ease;
}

.slide-btn2-text{
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  white-space: nowrap;
  color: var(--secondary-color);
}

/* hover: chỉ kéo nền ra tới icon + xoay icon, background vẫn #0000004D */
.slide-btn2:hover::before{
  width: calc(100% + 25px);
}

.slide-btn2:hover .slide-btn2-icon svg{
  transform: rotate(45deg);
}






.t888-home-slider .eltech888-swiper-slider .t888-pagination-line {
    bottom: 70px !important;
}

.t888-scroll-explore {
    position: absolute;
    left: 50%;
    bottom: 40px; 
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #fff;
    font-size: 18px;
    line-height: 25px;
    font-weight: 600;
    z-index: 5;
    cursor: pointer;
}
.t888-scroll-explore .scroll-icon {
    display: flex;
    align-items: center;
    justify-content: center;

}
.slide-title-2 {
    max-width: 800px;
    margin: 0 auto;
    white-space: normal;
    word-break: keep-all;
}

.nav-icon-prev,
.nav-icon-next {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
}

/* ============================================
   FADE IN UP ANIMATIONS - Smooth & Beautiful
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpBadge {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Initial state - ẩn tất cả elements */
.swiper-slide-active .slide-badge,
.swiper-slide-active .slide-title,
.swiper-slide-active .slide-title-2,
.swiper-slide-active .slide-description,
.swiper-slide-active .slide-btn,
.swiper-slide-active .slide-btn2 {
    opacity: 0;
}

/* Animate khi slide active */
.swiper-slide-active .slide-badge {
    animation: fadeInUpBadge 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.2s;
}

.swiper-slide-active .slide-title {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.4s;
}

.swiper-slide-active .slide-title-2 {
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.6s;
}

.swiper-slide-active .slide-description {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.9s;
}

.swiper-slide-active .slide-btn {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 1.2s;
}
.swiper-slide-active .slide-btn2 {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 1.3s;
}

/* Reset khi slide không active */
.swiper-slide:not(.swiper-slide-active) .slide-badge,
.swiper-slide:not(.swiper-slide-active) .slide-title,
.swiper-slide:not(.swiper-slide-active) .slide-title-2,
.swiper-slide:not(.swiper-slide-active) .slide-description,
.swiper-slide:not(.swiper-slide-active) .slide-btn,
.swiper-slide:not(.swiper-slide-active) .slide-btn2 {
    opacity: 0;
    transform: translateY(40px);
}

@media (max-width: 1024px) {
   .slide-title-2{
    font-size: 48px;
    line-height: 60px;
    max-width: 600px;
   }
   .slide-description{
    font-size: 20px;
    line-height: 27px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
   }
   .swiper-slide-contents.fix-img-wrap1 img{
    height: 700px;
    object-fit: cover;
   }
}

@media (max-width: 575px){
.swiper-slide-contents .slide-button-wrapper{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.swiper-slide-contents .slide-button-wrapper .slide-btn{
    margin-right: 0;
    width: fit-content;
}
.slide-description{
    margin-bottom: 0;
}
.t888-home-slider .swiper-button-prev,
.t888-home-slider .swiper-button-next{
    display: none;
}
}