@media (max-width: 768px) { /* Adjust this breakpoint as needed */
    .carousel-container {
        display: none; /* Hide the carousel on screens smaller than 769px */
    }
}

.carousel-container {
    align-items: center;
    margin: 0;
    width: 95%;
    max-width: 700px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: ccbe9f;
    padding: 10px; /* Add padding for inner content */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth transition for sliding */
}

.carousel-slide {
    min-width: 100%; /* Each slide takes full width of the container */
    box-sizing: border-box; /* Include padding and border in the width */
    text-align: center;
    flex-shrink: 0; /* Prevent slides from shrinking */
}

.carousel-slide h3 {
    color: #333;
    margin-bottom: 2px;
}

.carousel-slide p {
    color: #111;
    line-height: 1.6;
    text-align: center;
}

.carousel-slide p:last-child {
    font-style: italic;
    margin-top: 15px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-button:hover {
    opacity: 1;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #717171;
}