/* General Slider Styling */
.bs-slider {
    overflow: hidden;
    position: relative;
    background: #000000;
    /* height: 900px; */  /* Adjust this height as per your design preference */
}

.bs-slider:hover {
    cursor: grab;
}

.bs-slider:active {
    cursor: grabbing;
}

.bs-slider .bs-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.4); */
}

.bs-slider>.carousel-inner>.item>img,
.bs-slider>.carousel-inner>.item>a>img {
    margin: auto;
    width: 100% !important;
    height: 100%; /* Ensure the image fills the container */
    object-fit: cover; /* Keep the aspect ratio intact and cover the whole area */
}

.item.active img {
    -webkit-animation: zoom 40s;
    animation: zoom 40s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(1, 1);
        -webkit-transition: transform 4000ms linear 0s;
    }
    to {
        -webkit-transform: scale(1.3, 1.3);
        -webkit-transition: transform 4000ms linear 0s;
    }
}

@keyframes zoom {
    from {
        transform: scale(1, 1);
        transition: transform 5000ms linear 0s;
    }
    to {
        transform: scale(1.3, 1.3);
        transition: transform 5000ms linear 0s;
    }
} 

/* Navigation Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    width: 45px;
    height: 45px;
    color: #fff;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.carousel-control:hover {
    opacity: 1;
    background-color: #ff3d55;
    color: #fff;
}

.carousel-control i {
    font-size: 25px;
}

/* Left and Right Controls */
.carousel-control.left {
    left: 10px;
}

.carousel-control.right {
    right: 10px;
}

/* Slide Text Styling */
.slide-text {
    left: 0;
    top: 35%;
    right: 0;
    position: absolute;
    text-align: center;
    padding: 10px 15px;
    width: 70%;
    margin: 0px auto;
    z-index: 10;
}

.slide-text h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0px 1px 1px #000;
}

.slide-text h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.35);
    padding: 5px 8px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: capitalize;
    letter-spacing: 2px;
}

.btn-banner {
    background-color: #ff3d55;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 30px;
    text-transform: uppercase;
}

.slide-text a.btn-banner {
    transition: background 0.3s ease, color 0.3s ease;
}

@media (max-width: 991px) {
    .slide-text h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .bs-slider {
        overflow: hidden;
        position: relative;
        background: #000000;
        height: auto;
    }
    .slide-text {
        padding: 10px 50px;
    }

    .slide-text h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-control {
        display: none;
    }

    .slide-text {
        display: none;
    }

    .indicators-line>.carousel-indicators {
        display: none;
    }
}

/********************
*****Slide effect
**********************/

.fade {
    opacity: 1;
}

.fade .item {
    top: 0;
    z-index: 1;
    opacity: 0;
    width: 100%;
    position: absolute;
    left: 0 !important;
    display: block !important;
    -webkit-transition: opacity ease-in-out 1s;
    -moz-transition: opacity ease-in-out 1s;
    -ms-transition: opacity ease-in-out 1s;
    -o-transition: opacity ease-in-out 1s;
    transition: opacity ease-in-out 1s;
}

.fade .item:first-child {
    top: auto;
    position: relative;
}

.fade .item.active {
    opacity: 1;
    z-index: 2;
    -webkit-transition: opacity ease-in-out 1s;
    -moz-transition: opacity ease-in-out 1s;
    -ms-transition: opacity ease-in-out 1s;
    -o-transition: opacity ease-in-out 1s;
    transition: opacity ease-in-out 1s;
}

/*---------- LEFT/RIGHT ROUND CONTROL ----------*/

.control-round .carousel-control {
    top: 50%;
    opacity: 0;
    width: 45px;
    height: 45px;
    z-index: 9;
    color: #333;
    display: block;
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
    line-height: 48px;
    text-shadow: none;
    position: absolute;
    font-weight: normal;
    background: transparent;
    background-color: rgb(255 255 255 / 60%);
}

.control-round:hover .carousel-control {
    opacity: 1;
}

.control-round .carousel-control.left {
    left: 0;
}

.control-round .carousel-control.right {
    right: 0;
}

.control-round .carousel-control.left:hover,
.control-round .carousel-control.right:hover {
    background-color: #ff3d55;
    color: #fff;
    font-size: 18px;
}

/*---------- INDICATORS CONTROL ----------*/

.indicators-line>.carousel-indicators {
    right: 46%;
    bottom: 3%;
    left: auto;
    width: 90%;
    height: 20px;
    font-size: 0;
    overflow-x: auto;
    text-align: right;
    overflow-y: hidden;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 1px;
    white-space: nowrap;
}

.indicators-line>.carousel-indicators li {
    padding: 0;
    width: 12px;
    height: 12px;
    border: 0px;
    text-indent: 0;
    overflow: hidden;
    text-align: left;
    position: relative;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.4);
    -webkit-font-smoothing: antialiased;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin-right: 5px;
    -webkit-transition: all 0.5s cubic-bezier(0.22, 0.81, 0.01, 0.99);
    transition: all 0.5s cubic-bezier(0.22, 0.81, 0.01, 0.99);
    z-index: 10;
    cursor: pointer;
}

.indicators-line>.carousel-indicators li:last-child {
    margin-right: 0;
}

.indicators-line>.carousel-indicators .active {
    margin: 1px 5px 1px 1px;
    box-shadow: 0 0 0 2px #fff;
    background-color: transparent;
    position: relative;
    -webkit-transition: box-shadow 0.3s ease;
    -moz-transition: box-shadow 0.3s ease;
    -o-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.indicators-line>.carousel-indicators .active:before {
    transform: scale(0.5);
    background-color: #fff;
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.slide_style_left {
    text-align: left !important;
}

.slide_style_right {
    text-align: right !important;
}

.slide_style_center {
    text-align: center !important;
}

.slide-text {
    left: 0;
    top: 35%;
    right: 0;
    position: absolute;
    text-align: center;
    padding: 10px 15px;
    width: 70%;
    margin: 0px auto;
    z-index: 10;
}

.slide-text>h1 {
    color: #fff;
    margin-top: 0;
    font-size: 40px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0px 1px 1px #000;
}

.slide-text>h3 {
    color: #fff;
    margin-top: 0px;
    font-size: 18px;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.35);
    padding: 5px 8px 5px 8px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: capitalize;
    letter-spacing: 2px;
}

.btn-banner {
    background-color: #ff3d55;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 30px;
}

.slide-text>a.btn-banner {
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .slide-text h1 {
        font-size: 36px;
        line-height: 40px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .slide-text {
        padding: 10px 50px;
    }
    .slide-text h1 {
        font-size: 30px;
        line-height: 35px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .control-round .carousel-control {
        display: none;
    }
    .slide-text {
        display: none;
    }
    .indicators-line>.carousel-indicators {
        display: none;
    }
}
