/* Main slider */
.hero-slider {
    width: 100%;
    overflow: hidden;
}

.hero-slider .carousel-item {
    position: relative;
    height: 600px;
    background: #222;
}

/* Banner image */
.hero-slider .carousel-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slider .hero-desktop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay */
.hero-slider .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
    z-index: 1;
}

/* Text content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 650px;
    color: #fff;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 5px;
}

/* Tablet */
@media (max-width: 991px) {
    .hero-slider .carousel-item {
        height: 450px;
    }

    .hero-content {
        left: 7%;
        right: 7%;
        max-width: 600px;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .hero-slider .carousel-item {
        height: 450px;
    }

    .hero-slider .hero-desktop {
        object-fit: cover;
        object-position: center center;
    }

    .hero-content {
        left: 6%;
        right: 6%;
        top: 50%;
        transform: translateY(-50%);
        width: 88%;
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 1.35;
        margin-bottom: 20px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 10px;
    }

    .hero-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .carousel-indicators {
        margin-bottom: 12px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}

/* Small mobile */
@media (max-width: 480px) {

    .hero-slider .carousel-item {
        height: 380px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-btn {
        padding: 9px 12px;
        font-size: 12px;
    }
}