.carousel-slider-container {
    position: relative;
    width: 100%;
}

.banner-slider, .banner-slider.slick-list, .banner-slider.slick-list.slick-track, .banner-slide {
    height: 100vh ; /* Set the height to 100vh for all necessary elements */
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100vh ;
}

.banner-slide {
    position: relative;
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}


.hero-content-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 52px; /* Optional: Add some padding for spacing inside the container */
}


.hero-content h1 {
    font-family: 'Plus Jakarta Sans';
    color: #fff;
    font-size: 62px;
    line-height: 80px;
    font-weight: 700;
    margin: 0;
    text-align: left;
    overflow: hidden; /* Ensure text doesn't overflow */
    white-space: pre-wrap; /* Preserve line breaks */
}

.carousel-progress {
    display: flex;
    align-items: center;
    position: absolute;
    right: 140px;
    bottom: 175px;
    z-index: 10;
}

.carousel-progress #current-slide {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 10px 0 0;
}

.carousel-progress #total-slides {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 10px 0 10px;
}

.progress-bar {
    position: relative;
    width: 425px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
    border-radius: 2px;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #ffffff;
    transition: width 0.3s ease;
}

.carousel-cards {
    position: absolute;
    bottom: 41px;
    right: 0; /* Align to the right */
    display: flex;
    border-radius: 11px 0 0 11px;
    z-index: 10;
    overflow: hidden; /* Prevent horizontal scroll */
    width: 100%; /* Full width */
    justify-content: flex-end; /* Align cards to the right */
}

.carousel-card {
    border: 1.8px solid white;
    gap: 10px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    width: 374px;
    margin-right: 12px;
    backdrop-filter: blur(10px);
    background: linear-gradient(to right, #ffffff61, #ffffff47);    
    border-radius: 11px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #fff;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0.5; /* Make non-active cards semi-transparent */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-card.active {
    opacity: 0; /* Hide the active card */
    transform: scale(0.8); /* Scale down the active card */
}

.carousel-card:not(.active) {
    opacity: 1; /* Show non-active cards */
    transform: scale(1); /* Scale up non-active cards */
}

.carousel-card:nth-child(2) {
    clip-path: inset(0 125px 0 0); /* Crop the second card to 2/3 of its width */
    margin-right: -125px; /* Adjust margin to align cropped card to the right */
}




.carousel-card img {
    width: 126px;
    height: 128px;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-card .card-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;  /* Show only two lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;  /* Allow text wrapping */
    color: #fff;
    text-align: left;
    font-size: 26px;
    height: 52px;
    font-weight: 400;
    line-height: 26px;
    margin: 0 !important;
    padding-bottom: 10px;
    font-family: 'HouschkaRounded Medium',Helvetica,Arial,Lucida,sans-serif;
}

.carousel-card .card-content p {
    font-family: 'HouschkaRounded Medium',Helvetica,Arial,Lucida,sans-serif;
    color: #fff;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    margin: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


/* Keyframes for blinking cursor */
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #fff; }
}

.hero-content {
    position: absolute;
    top: 30vh;
    max-width:890px;
    z-index: 2;
}




  
@media screen and (max-width: 780px) and (max-height: 750px) {
    .banner-slider, .banner-slider.slick-list, .banner-slider.slick-list.slick-track, .banner-slide {
        height: 60vh !important;
    }
    .banner-slider, .banner-slider.slick-list, .banner-slider.slick-list.slick-track, .banner-slide  {
        height: 60vh !important;
    }
    .hero-content {
        padding-top: 20px !important;
    }
}


@media (max-width: 768px) {
    
    .hero-content h1 {
        font-size: 24px;
        line-height: 31px; 
		font-weight: 800;
    }

    .carousel-card .card-content h3 {
        font-size: 16px;
        line-height: 18px;
        height: 32px;
		font-weight:700;
    }

    .carousel-card .card-content p {
        font-size: 10px;
        line-height: 16px;
		font-weight:700;
    }

   .banner-slider, .banner-slider.slick-list, .banner-slider.slick-list.slick-track, .banner-slide {
        height: 50vh ;
    }
   .banner-slider, .banner-slider.slick-list, .banner-slider.slick-list.slick-track, .banner-slide  {
        height: 50vh;
    }
    .carousel-progress {
        width: 75%;
        right: 5%;
        bottom: 110px;
    }
    .carousel-card img {
        width: 67px;
        height: 67px;
		border-radius:8px;
    }
    .carousel-cards {
        width: 80%; 
        height: 80px;
		bottom: 15px;
    }
    .hero-content {
        top: 15vh;
        left: 10px;
		right:10px;
        padding: 0;
    }

}   

/* CSS for the blinking cursor */
.typewriter-cursor {
    display: inline-block;
    opacity: 1;
}

/* Keyframes for blinking */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
