:root {
    --primary-color: #be1f2c;
    --text-color: #ffffff;
    --overlay-bg: rgba(0, 0, 0, 0.4);
    --font-family: 'Poppins', sans-serif;
}


.carousel-hero-banner {
    position: relative;
    width: 100%;
    height: 770px;
    overflow: hidden;
    color: var(--text-color);
}

.carousel-images {
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    background-color: var(--overlay-bg);
    border-radius: 5px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.nav-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 2rem;
    transition: background-color 0.3s ease;
    z-index: 3;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
}
@media (max-width: 500px) {
    .nav-button {
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: var(--text-color);
        border: none;
        padding: 0.3rem 0.6rem;
        font-size: 2rem;
        transition: background-color 0.3s ease;
        z-index: 3;
    }
    .prev {
       left:0px;
    }
    .next {
        right:0px;
    }
    .carousel-hero-banner {
        position: relative;
        width: 100%;
        height: 590px;
        overflow: hidden;
        color: var(--text-color);
    }
}