.hero-slide {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.carousel-item {
    transition: opacity 1s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Large Desktop */
@media (min-width: 1400px) {
    .hero-slide {
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 45px;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 18px;
        max-width: 650px;
    }
}

/* Laptop */
@media (max-width: 1199px) {
    .hero-slide {
        min-height: 85vh;
    }

    .hero-content {
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: 52px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 17px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .hero-slide {
        min-height: 75vh;
        text-align: center;
        background-position: center center;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 42px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 16px;
        max-width: 100%;
        margin: 20px auto 0;
    }

    .section-sub-title {
        font-size: 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-slide {
        min-height: 65vh;
        background-position: center;
    }

    .hero-content {
        padding: 60px 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .section-sub-title {
        font-size: 14px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .hero-slide {
        min-height: 60vh;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 1.35;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .section-sub-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .hero-slide {
        min-height: 55vh;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 13px;
    }
}
