.carousel-wrapper {
    background-color: var(--bg-slider);
}

.carousel-container {
    max-width: 100%;
    padding: 0 40px;
}

.carousel-display {
    position: relative;
    overflow-x: hidden;
}

/* The Carousel Itself */
.carousel-slider {
    height: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    transition: transform 0.6s ease-in-out;
}

/* Slide Styling */
.carousel-slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    /* background-color: #fff; */
}

.slide-content,
.slide-image {
    flex: 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content {
    align-items: flex-start;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.slide-content a {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-green);
    border: none;
    border-radius: 5px;
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: max-content;
    text-decoration: none;
}

.slide-content a:hover {
    background-color: var(--bg-green-hover);
}

.slide-image {
    align-items: flex-end;
    justify-content: center;
}

.slide-image img {
    max-width: 80%;
    height: auto;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Navigation Dots */
.carousel-nav-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: #333;
    transform: scale(1.2);
}

.dot:hover {
    background-color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-slide {
        flex-direction: column;
    }

    .slide-content {
        order: 2;
        justify-content: flex-start;
    }

    .slide-image {
        order: 1;
        align-items: center;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}
