.banner-main__swiper-wrapper {
    position: relative;
}

.banner-main__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    z-index: 1;
    cursor: pointer;
}

.banner-main__button rect {
    transition: all .3s ease-in-out;
}

.banner-main__button:hover rect {
    fill-opacity: 0.3;
}

.banner-main__button-prev {
    left: 30px;
}

.banner-main__button-next {
    right: 30px;
}

.banner-main__pagination {
    position: absolute;
    bottom: 15px !important;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 1;
}

.banner-main__pagination .swiper-pagination-bullet {
    background: transparent;
    border: 1px solid #FFFFFF;
    margin: 0 !important;
    opacity: 1;
    transition: all .3s ease-in-out;
}

.banner-main__pagination .swiper-pagination-bullet-active {
    background: #FFFFFF;
}

.banner-main__photo {
    width: 100%;
    height: calc(100svh - 115px);
    overflow: hidden;
}

.banner-main__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .4s ease;
}

.banner-main__photo--left img {
    object-position: top left;
}

.banner-main__photo--bottom img {
    object-position: bottom right;
}

.banner-main__content {
    position: absolute;
    left: 50px;
    bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #FFFFFF;
}

.banner-main__heading {
    font-family: "Bounded";
    font-size: 70px;
    font-weight: 400;
    text-transform: uppercase;
}

.banner-main__hr {
    border: none;
    height: 3px;
    background: linear-gradient(to right, #F4C86F, #4681BD, #4E8D4C, #C84C4C, #F4C86F);
    background-size: 300% 100%;
    margin-top: 22px;
    margin-bottom: 27px;  
    animation: gradientShift 10s linear infinite;  
} 

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

.banner-main__subheading {
    max-width: 765px;
    font-family: "Bounded";
    font-size: 26px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.banner-main__text {
    font-family: "Manrope";
    margin-bottom: 25px;
}

.banner-main__link {
    width: 185px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-family: "Manrope";
    font-size: 16px;
    text-decoration: none;
    border: 1px solid #F4C86F;
    border-radius: 5px;
}

.banner-main__swiper-slide:has(.banner-main__link:hover) .banner-main__photo img {
    transform: scale(1.05);
}

@media (max-width: 1600px) {
    .banner-main__heading {
        font-size: 60px;
    }

    .banner-main__subheading {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .banner-main__button-prev {
        left: 5px;
    }

    .banner-main__button-next {
        right: 5px;
    }

    .banner-main__pagination {
        bottom: 5px !important;
    }

    .banner-main__photo {
        height: calc(100svh - 95px);
    }

    .banner-main__photo img {
        object-position: bottom;
    }

    .banner-main__photo--left img {
        object-position: top left;
    }

    .banner-main__content {
        left: 15px;
        right: 15px;
        bottom: 80px;
    }

    .banner-main__content-main {
        width: 100%;
    }

    .banner-main__heading {
        font-size: 30px;
    }

    .banner-main__hr {
        width: 100%;
        margin: 10px 0; 
    } 

    .banner-main__text-content {
        font-size: 13px;
    }

    .banner-main__subheading {
        max-width: 420px;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .banner-main__text {
        margin-bottom: 10px;
    }

    .banner-main__link {
        width: 160px;
        height: 40px;
        color: #292929;
        font-size: 13px;
        background: #F4C86F;
    }
}