.hero-section {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    margin-top: 85px;
}

.hero-left-panel {
    background: linear-gradient(to right, rgba(248, 249, 250, 0.7), rgba(233, 236, 239, 0.7));
    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%); */
    padding: 60px 40px;
    min-height: 100vh;
    color: #343a40;
}



.hero-left-panel h1 {
    color: #105da3 !important;
}

.hero-left-panel h2 {
    font-weight: 600;
}

.hero-left-panel p span {
    color: var(--base-color)
}

.hero-left-panel .btn {
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: 8px;
}


.hero-right-panel {
    min-height: 100vh;
    overflow: hidden;
}



.carousel-bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    transition: background-image 0.7s ease-in-out;
}

.carousel-item {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 3rem;
    color: #fff;
    text-align: left;
}

.carousel-caption h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.carousel-caption .btn {
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: 8px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);

    border: none;
    margin: 0 5px;
    opacity: 1;

}

.carousel-indicators .active {
    background-color: #007bff;
    /* Active indicator color */
    opacity: 1;
}


/* Ensure the image container inside carousel item scales */
.carousel-item>div {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero-right-panel .carousel,
.hero-right-panel .carousel-inner,
.hero-right-panel .carousel-item {
    height: 100%;
    min-height: 100%;
    /* Ensure these also contribute to height */
}




/* Responsive Adjustments */
@media (max-width: 991.98px) {

    .btn.btn-rounded.btn-large {
        padding: 8px;
    }


    .hero-left-panel,
    .hero-right-panel {
        min-height: 50vh;
    }

    .hero-left-panel {
        order: 1;

    }

    .hero-right-panel {
        order: 2;

    }

    .hero-left-panel .text-md-start {
        text-align: center !important;

    }

    .hero-left-panel .justify-content-md-start {
        justify-content: center !important;

    }

    .carousel-caption {
        padding: 2rem;

    }

    .carousel-caption h3 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {

    .hero-left-panel {
        order: 2 !important;

    }


    .hero-right-panel {
        order: 1 !important;

    }

    /* .hero-left-panel h1 {
            font-size: 2.8rem;
         }*/

    .hero-left-panel .btn {
        width: 100%;

    }

    .carousel-caption {
        padding: 1.5rem;
    }

    .carousel-caption h3 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }


    /* .hero-section .carousel .carousel-indicators {
        display: none;
    } */


}




/* Small devices (≥576px) */
@media (min-width: 576px) {
    .hero-left-panel p .clarity-beyond,
    .boundaries {
        font-size: 50px;
    }
}

/* Medium devices (≥768px) */
@media (min-width: 768px) {

    .hero-left-panel p .clarity-beyond,
    .boundaries {
        font-size: 35px;
    }
}

/* Large devices (≥992px) */
@media (min-width: 992px) {

    .hero-left-panel p .clarity-beyond,
    .boundaries {
        font-size: 35px;
    }
}

/* Extra large devices (≥1200px) */
@media (min-width: 1200px) {

    .hero-left-panel p .clarity-beyond,
    .boundaries {
        font-size: 35px;
    }
}

/* Extra extra large devices (≥1400px) */
@media (min-width: 1400px) {

    .hero-left-panel p .clarity-beyond,
    .boundaries {
        font-size: 40px;
    }
}