/* General carousel styling */
.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.slide-content {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.slide-image img {
    width: 100%;
    height: auto;
}

.slide-text {
    background-color: #3b9b74; /* Similar to the green background in the reference */
    padding: 20px;
    color: #ffffff;
    text-align: left;
}

.slide-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.slide-body {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: #ffffff;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 10px; /* Adjust this value to position it closer or further from the left */
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.carousel-control-prev,
.carousel-control-next {
    position: relative; /* Reset the default absolute positioning */
    display: block;
    margin-bottom: 10px; /* Space between the two icons */
    width: 30px; /* Adjust size of the icons */
    height: 30px; /* Adjust size of the icons */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100%, 100%;
}

.carousel-control-prev-icon {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23D3D3D3" viewBox="0 0 8 8"%3E%3Cpath d="M4.27 0L0 4.03l4.27 4.03.53-.53-3.5-3.5 3.5-3.5L4.27 0z"/%3E%3C/svg%3E') !important;
}

.carousel-control-next-icon {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23D3D3D3" viewBox="0 0 8 8"%3E%3Cpath d="M3.73 0l4.27 4.03-4.27 4.03-.53-.53 3.5-3.5-3.5-3.5L3.73 0z"/%3E%3C/svg%3E') !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: transparent;
}
