/* Main Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: visible;
    /* Changed from hidden to visible */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    background-color: rgba(0,0,0,.53);
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: #fff;
}
.banner-content.hero-content {
    position: relative !important;
}
.hero-content.text-ju-center{
    justify-content: center;
}

.hero-text {
    /*width: 30%;*/
    min-width: 300px;
}
.hero-text.text-center{
    width: 100%;
}

.hero-title {
    /* font-size: 2.5rem; */
    font-size: calc(1rem + 1vw);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    /* font-size: 1.5rem; */
    font-size: calc(1rem + 0.5vw);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #c51617;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Stats Card Styles */
.stats-card {
    position: absolute;
    bottom: -100px;
    /* Half of the card height (200px/2) */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    /* background-color: #fff; */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 200px;
    z-index: 3;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    backdrop-filter: blur(40px);
    align-items: center;
}

.stats-item {
    text-align: center;
    padding: 15px;
    flex: 1;
    min-width: 150px;
    font-weight: 600;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 5px;
}

.stats-label {
    font-size: 1rem;
    color: #000000;
}

/* Add space below hero section to accommodate card overlap */
.hero-container {
    padding-bottom: 100px;
    /* Half of card height */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-text {
        width: 60%;
    }

    .stats-item {
        flex: 0 0 50%;
        margin-bottom: 15px;
    }

    .stats-card {
        height: 300px;
        bottom: -150px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
        min-height: 400px;
    }

    .hero-content {
        padding: 80px 5% 60px;
    }
    .hero-title{
        font-size: calc(1rem);
    }
    .hero-subtitle {
        /* font-size: 1.5rem; */
        font-size: calc(0.8rem);
    }
    .hero-description{
        font-size: calc(0.7rem);
    }

    .hero-text {
        width: 100%;
        min-width: auto;
    }

    .stats-card {
        /* position: relative; */
        bottom: auto;
        left: 5%;
        transform: none;
        width: 90%;
        height: auto;
        margin-top: 30px;
        border-radius: 0;
    }

    .stats-item {
        flex: 0 0 50%;
        margin-bottom: 15px;
    }

    .hero-container {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    /* .hero-title {
                font-size: 2rem;
            } */

    /* .hero-subtitle {
                font-size: 1.25rem;
            } */

    .stats-item {
        flex: 0 0 100%;
    }
}