.swiper-slide-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.swiper-slide-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: rgb(1 87 0 / var(--tw-bg-opacity, 1)) !important;
}

/* Fix Tailwind conflicts */
.min-vh-slide {
    height: 550px !important;
    /* Force explicit height so absolute children can inherit 100% height */
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

.z-2 {
    z-index: 2 !important;
}
  .content-slider{
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    }
    .content-slider .content{
    margin-bottom: 0 !important;
    padding-bottom: 6rem !important;
  }


@media (max-width: 767.98px) {
    .bg-cover.bg-cover-right {
        background-position: center;
    }
    .content-slider{
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px; /* Hoặc chiều cao thực tế của vùng chứa ảnh nền */
    }
    .content-slider .content{
    width: 100% !important; /* Đảm bảo chiếm hết chiều ngang trước khi scale */
    transform: scale(0.8);
    transform-origin: bottom left; /* Thu nhỏ về phía góc dưới bên trái */
    margin-bottom: 0 !important;
    padding-bottom: 6rem !important;
  }
}
