/* Base hero wrapper */
.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
}

/* Each slide fills viewport height (Bootstrap ka display control mat todho) */
.hero-slide {
    position: relative;
    min-height: 75vh;
}

/* Background image per slide */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    filter: brightness(0.7); /* slightly darken, but not too much */
}

/* Gradient overlay on top of image */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
    /* dark on left for text, fades to almost clear on right */
    linear-gradient( to right, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.05) 85%, rgba(0, 0, 0, 0.0) 100% ),
    /* subtle blue tint */
    radial-gradient(circle at top left, rgba(25, 118, 210, 0.6), transparent 60%);
}

/* Center content vertically */
.hero-content-wrapper {
    position: relative;
    z-index: 1;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 90px;
}

.hero-row {
    width: 100%;
}

/* Text styles */
.hero-title {
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.hero-subtitle,
.hero-description {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
}

.hero-description {
    max-width: 640px;
    opacity: 0.95;
}

.hero-badges span {
    font-size: 0.78rem;
    padding-inline: 0.9rem;
    padding-block: 0.35rem;
}

/* Stats card */
.glass-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.hero-stat-card {
    max-width: 360px;
    margin-left: auto;
}

.hero-stat-heading {
    letter-spacing: 0.12em;
}

.stat-box {
    padding-block: 0.4rem;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
}

/* Carousel controls centered at bottom */
.hero-carousel-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 3;
}

.hero-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

    .hero-arrow i {
        font-size: 1.3rem;
        color: #fff;
    }

    .hero-arrow:hover {
        background: rgba(255, 255, 255, 0.95);
        border-color: #fff;
        transform: translateY(-2px) scale(1.05);
    }

        .hero-arrow:hover i {
            color: #111827;
        }

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-slide {
        min-height: auto;
        text-align: center;
    }

    .hero-content-wrapper {
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-stat-card {
        margin-top: 1.75rem;
        margin-inline: auto;
        max-width: 440px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-content-wrapper {
        padding-top: 35px;
        padding-bottom: 65px;
    }

    .hero-title {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 1rem !important;
    }

    .hero-stat-card {
        padding: 1rem !important;
        margin-top: 1.25rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-carousel-controls {
        bottom: 12px;
        gap: 10px;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
    }

    .hero-arrow i {
        font-size: 1rem;
    }
}

