.hero-slider {
    width: 100%;
    aspect-ratio: 573 / 200; /* Maintain the aspect ratio */
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-container {
    width: 100%;
    height: 100%; /* Let the height be determined by the aspect ratio */
    position: absolute;
    left: 0;
    top: 0;
}

.hero-slider .slide-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: left;
}

.slide-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover; /* Ensures the background scales properly */
    background-position: center; /* Centers the background image */
    background-repeat: no-repeat; /* Prevents tiling */
}

.hero-slider .slide-content {
    display: none;
}

.hero-slider .slide-content h1,
.hero-slider .slide-content h2,
.hero-slider .slide-content h3,
.hero-slider .slide-content h4,
.hero-slider .slide-content h5,
.hero-slider .slide-content h6 {
    font-weight: inherit;
}

.hero-slider .swiper-slide {
    overflow: hidden;
    color: #fff;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    background: transparent;
    width: 55px;
    height: 55px;
    line-height: 53px;
    margin-top: -30px;
    text-align: center;
    border: 2px solid #d4d3d3;
    border-radius: 55px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.hero-slider .swiper-button-prev {
    left: 25px;
    transform: translateX(50px);
}

.hero-slider .swiper-button-prev:before {
    font-family: "Font Awesome 5 Free", serif;
    content: "\f060";
    font-size: 15px;
    color: #d4d3d3;
    font-style: normal;
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
}

.hero-slider .swiper-button-next {
    right: 25px;
    transform: translateX(-50px);
}

.hero-slider .swiper-button-next:before {
    font-family: "Font Awesome 5 Free", serif;
    content: "\f061";
    font-size: 15px;
    color: #d4d3d3;
    font-style: normal;
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    text-align: left;
    line-height: 12px;
    font-size: 12px;
    color: #000;
    opacity: 0.3;
    background: #fff;
    transition: all 0.2s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-pagination {
    text-align: left;
}

.hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: 0;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

.hero-slider .swiper-pagination-custom,
.hero-slider .swiper-pagination-fraction {
    bottom: 0;
}

@media (min-width: 767px) {
    .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 15px;
    }
}
@media (min-width: 992px) {
    .hero-slider .slide-content {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 600px;
        max-height: 300px;
        text-align: left !important;
        float: left;
        margin-left: 100px;
    }

    .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 30px;
    }
}
@media (max-width: 767px) {
    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none;
    }
}
