.hero-slider-modern{

    position:relative;

    overflow:visible;

    background:#08111f;

    border-bottom:5px solid #f7ca55;
}

/* =========================================================
   CAROUSEL
========================================================= */

.hero-slider-modern .carousel,
.hero-slider-modern .carousel-inner,
.hero-slider-modern .carousel-item{

    height:660px;
}

/* =========================================================
   ITEMS
========================================================= */

.carousel-item{

    position:relative;

    overflow:hidden;

    transition:transform .6s ease-in-out;
}

/* =========================================================
   IMAGES
========================================================= */

.hero-image{

    width:100%;

    height:600px;

    object-fit:cover;

    object-position:center center;

    display:block;

    transform:scale(1);

    transition:
    transform 7s ease;
}

.carousel-item.active .hero-image{

    transform:scale(1.03);
}

/* =========================================================
   OVERLAY
========================================================= */

.hero-slide-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to right,
        rgba(8,17,31,.22),
        rgba(8,17,31,.06)
    );

    z-index:1;
}

/* =========================================================
   CAPTION
========================================================= */

.carousel-caption-modern{

    position:absolute;

    left:140px;

    bottom:110px;

    z-index:3;

    max-width:620px;
}

.carousel-caption-modern span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 24px;

    border-radius:999px;

    background:
    rgba(247,202,85,.16);

    border:
    1px solid rgba(247,202,85,.35);

    color:#f7ca55;

    font-size:15px;

    font-weight:700;

    letter-spacing:.3px;

    margin-bottom:28px;

    backdrop-filter:blur(10px);

    box-shadow:
    0 10px 30px rgba(0,0,0,.12);
}

.carousel-caption-modern h1{

    font-size:72px;

    line-height:1;

    color:white;

    margin-bottom:22px;

    text-transform:uppercase;

    letter-spacing:-2px;

    text-shadow:
    0 10px 35px rgba(0,0,0,.22);
}

.carousel-caption-modern p{

    color:rgba(255,255,255,.94);

    font-size:20px;

    line-height:1.8;

    max-width:560px;

    margin-bottom:0;

    text-shadow:
    0 4px 18px rgba(0,0,0,.22);
}

/* =========================================================
   CONTROLS
========================================================= */

.hero-control{

    width:90px;

    opacity:1;

    z-index:5;
}

.carousel-control-prev{

    justify-content:flex-start;

    padding-left:28px;
}

.carousel-control-next{

    justify-content:flex-end;

    padding-right:28px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{

    width:64px;
    height:64px;

    border-radius:50%;

    background-color:
    rgba(247,202,85,.92);

    background-size:18px;

    box-shadow:
    0 12px 35px rgba(0,0,0,.16);

    transition:.3s;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon{

    transform:scale(1.08);

    background-color:#f7ca55;
}

/* =========================================================
   MOBILE
========================================================= */

.img-mobile{

    display:none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px){

    .carousel-caption-modern{

        left:100px;
    }

    .carousel-caption-modern h1{

        font-size:58px;
    }

}

@media(max-width:992px){

    .hero-slider-modern .carousel,
    .hero-slider-modern .carousel-inner,
    .hero-slider-modern .carousel-item{

        height:680px;
    }

    .hero-image{

        height:680px;
    }

    .carousel-caption-modern{

        left:80px;

        bottom:90px;

        max-width:520px;
    }

    .carousel-caption-modern h1{

        font-size:50px;
    }

    .carousel-caption-modern p{

        font-size:17px;
    }

}

@media(max-width:768px){

    .img-pc{

        display:none;
    }

    .img-mobile{

        display:block;
    }

    .hero-slider-modern .carousel,
    .hero-slider-modern .carousel-inner,
    .hero-slider-modern .carousel-item{

        height:560px;
    }

    .hero-image{

        height:560px;
    }

    .carousel-caption-modern{

        left:24px;
        right:24px;

        bottom:60px;

        max-width:100%;
    }

    .carousel-caption-modern span{

        font-size:12px;

        padding:10px 18px;

        margin-bottom:18px;
    }

    .carousel-caption-modern h1{

        font-size:38px;

        line-height:1.05;

        margin-bottom:18px;
    }

    .carousel-caption-modern p{

        font-size:15px;

        line-height:1.7;
    }

    .hero-control{

        display:none;
    }

}

@media(max-width:480px){

    .hero-slider-modern .carousel,
    .hero-slider-modern .carousel-inner,
    .hero-slider-modern .carousel-item{

        height:500px;
    }

    .hero-image{

        height:500px;
    }

    .carousel-caption-modern{

        bottom:50px;
    }

    .carousel-caption-modern h1{

        font-size:32px;
    }

    .carousel-caption-modern p{

        font-size:14px;
    }

}