/* isolated-slider-styles.css */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    margin: 0; /* Ensure no extra margin affecting the layout */
    padding: 0; /* Ensure no extra padding affecting the layout */
    height: 100vh;
    box-sizing: border-box;
}

.my-slider-container {
    position: relative;
    max-width: 100%; 
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    padding: 20px;
   /* background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

.my-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.my-slide {
    min-width: 66.666%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 9px;
    padding: 15px;
    box-sizing: border-box;
    background: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.my-image-section {
    flex: 1;
    padding-right: 20px;
}

.my-image-section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.my-image-section img:hover {
    transform: scale(1.05);
}

.my-content-section {
    flex: 1.5;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 10px;
    color: #333;
}

.my-content-section h2 {
    color: #333;
    margin-bottom: 10px;
}

.my-content-section p {
    color: #555;
    line-height: 1.6;
}

.my-prev, .my-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #b1a6a6; /* Blue background */
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 19%;
    transition: background-color 0.3s;
    z-index: 1;
}

.my-prev:hover, .my-next:hover {
    background-color: #b1a6a6; /* Darker blue on hover */
}

.my-prev:disabled, .my-next:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.my-prev {
    left: 10px;
}

.my-next {
    right: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .my-slide {
        flex-direction: column;
        min-width: 100%;
        padding: 10px;
    }

    .my-image-section {
        padding-right: 0;
        margin-bottom: 10px;
    }

    .my-content-section {
        padding: 10px;
    }

    .my-prev, .my-next {
        padding: 10px;
    }
}
