.second_hero_section {
    position: relative;
    overflow: hidden;
}

.section-bg-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
    border-radius: inherit;
}

.section-bg-picture img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.second_hero_section .fade_up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.swiper {
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

.home_second_slider .swiper-wrapper {
    display: block;
    position: relative;
}

.home_second_slider .swiper-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.home_second_slider .swiper-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.slide1,
.slide2,
.slide3 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 835px;
}

.slide1::before,
.slide2::before,
.slide3::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.42);
}

.slide1 .section-bg-picture img,
.slide2 .section-bg-picture img,
.slide3 .section-bg-picture img {
    object-position: center 60%;
}

.slider_content {
    max-width: 630px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero_pttx {
    color: var(--5);
    font-family: Outfit, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.hero_main_txt {
    margin-top: 10px;
    color: var(--5);
    font-family: Outfit, sans-serif;
    font-size: 79px;
    font-weight: 700;
    line-height: 100px;
}

.border_txt {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-top: 20px;
}

.border_hero {
    width: 30px;
    background: var(--10);
    flex: 0 0 30px;
}

.hero_pttx1 {
    margin: 0;
    color: var(--5);
    font-family: Outfit, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
}

.buttons1 {
    width: fit-content;
    margin-top: 80px !important;
}

@media screen and (max-width: 1399px) {
    .hero_main_txt {
        font-size: 75px;
        line-height: 85px;
    }

    .buttons1 {
        margin-top: 50px !important;
    }
}

@media screen and (max-width: 1199px) {
    .slide1,
    .slide2,
    .slide3 {
        height: 752px;
    }
}

@media screen and (max-width: 991px) {
    .slide1,
    .slide2,
    .slide3 {
        height: 576px;
    }
}

@media screen and (max-width: 767px) {
    .slide1,
    .slide2,
    .slide3 {
        height: 536px;
    }

    .slider_content {
        max-width: 80%;
    }

    .border_hero {
        display: none;
    }

    .border_txt {
        gap: 0;
    }

    .buttons1 {
        display: flex;
        justify-content: center;
        margin: 30px auto 0 !important;
    }
}

@media screen and (max-width: 575px) {
    .hero_main_txt {
        font-size: 40px;
        line-height: 50px;
    }

    .hero_pttx1 {
        font-size: 18px;
        line-height: 28px;
    }

    .buttons1 {
        margin-top: 30px !important;
    }
}

@media screen and (max-width: 425px) {
    .slide1,
    .slide2,
    .slide3 {
        height: 560px !important;
        padding: 40px 0;
    }

    .slider_content {
        position: static;
        max-width: 100%;
        transform: none;
    }
}
