@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2:wght@600;700;800&display=swap');

.home-banner-main {
    border-radius: 16px;
    overflow: hidden;
}

.home-banner-carousel,
.home-banner-carousel .carousel-inner {
    border-radius: inherit;
    overflow: hidden;
}

.home-banner-carousel .carousel-item,
.home-banner-slide-link {
    overflow: hidden;
}

.home-banner-slide-link > .home-banner-slide-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
}

.home-banner-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.home-banner-slide-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 72%, transparent 100%);
    pointer-events: none;
}

.home-banner-slide-shadow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 1;
    width: 100%;
    height: 44%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.62;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}

.home-banner-slide-title {
    position: absolute;
    top: 60px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    margin: 0;
    width: calc(100% - 36px);
    max-width: 92%;
    text-align: center;
    font-family: 'Baloo Bhaina 2', cursive;
    font-size: calc(clamp(1.2rem, 3.8vw, 1.95rem) + 2px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.home-banner-slide-cta-img {
    position: absolute;
    left: 50%;
    bottom: -90px;
    z-index: 3;
    transform: translateX(-50%);
    display: block;
    width: 350px;
    height: 350px;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .home-banner-slide-title {
        top: 60px;
        width: calc(100% - 28px);
        font-size: calc(clamp(1rem, 4.8vw, 1.35rem) + 2px);
    }

    .home-banner-slide-cta-img {
        width: 250px;
        height: 250px;
        max-width: 100%;
        bottom: 22px;
    }
}

@media (max-width: 767.98px) {
    .home-banner-main {
        border-radius: 14px;
    }

    .home-banner-slide-title {
        top: 60px;
        font-size: calc(clamp(1rem, 4.8vw, 1.35rem) + 2px);
    }

    .home-banner-slide-cta-img {
        bottom: -44px;
        width: min(210px, 68%);
        height: auto;
        max-height: 230px;
    }
}
