/* ================================
   HERO SLIDER
================================ */

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 650px;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 650px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    align-items: center;
}

/* Dark overlay */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Content */
.hero-slider .carousel-caption {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    align-items: center;

    text-align: left;
}

.hero-slider .carousel-caption .container {
    width: 100%;
}

.hero-slider h1 {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-slider .subtitle {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.7;
}

/* Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 70px;
    z-index: 5;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 45px;
    height: 45px;
}

/* Mobile */
@media (max-width: 767px) {

    .hero-slider .carousel-item,
    .hero-slide {
        height: 550px;
    }

    .hero-slider .carousel-caption {
        padding: 0 20px;
    }

    .hero-slider h1 {
        font-size: 38px;
    }

    .hero-slider .subtitle {
        font-size: 15px;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 45px;
    }
}
