/**
 * ======================================================
 * Homepage Banner
 * ======================================================
 */
.home-hero {
    margin-top: 20px;
}

.hero-wrapper {
    background-color: var(--bs-blue-1000);
    border-radius: 20px;
}

/* Sidebar */
.hero-sidebar {
    background: var(--bs-white);
    border-radius: 15px;
    padding: 10px;
}

/* Slider */
.home-hero .carousel {
    border-radius: 20px;
    overflow: hidden;
}

.home-hero .carousel-item img {
    height: 350px;
    object-fit: cover;
}

/* Overlay */
.home-hero .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
}

/* Caption */
.home-hero .carousel-caption {
    top: 40%;
}

/* Caption positioning */
.hero-caption {
    transform: translateY(-50%);
    left: 40px;
    right: 0;
    bottom: auto;
}

/* Typography */
.hero-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--bs-black);
    margin-bottom: 20px;
}

.hero-underline {
    width: 80px;
    height: 4px;
    background: var(--bs-blue-600);
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 16px;
    color: var(--bs-black);
    margin-bottom: 25px;
    max-width: 500px;
}

/* Button */
.hero-btn {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
}

.hero-btn:hover {
    background-color: var(--bs-blue-950);
}

/* Optional: light overlay for readability */
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .home-hero .carousel-item img {
        height: 150px;
        object-fit: cover;
        width: 100%;
    }

    .hero-title {
        display: none;
    }

    .hero-desc {
        display: none;
    }

    .hero-underline {
        display: none;
    }

    .hero-btn {
        display: none;
    }
}