/* Main slider wrapper */
.newone-slider-wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 5px;
    position: relative;
}

.slider-container {
    position: relative;
    /*overflow: hidden;*/
    min-height: 400px;
}


.slide-item {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 40px;
    min-height: 400px;
    opacity: 0; /* Start hidden */
    visibility: hidden; /* Ensure it's completely hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Only the active slide should be visible */
.slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 10; /* Bring active slide to front */
}

/* Rest of the CSS remains the same */
.slide-image-wrapper {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
}

.slide-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.slide-content-wrapper {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.content-inner {
    width: 100%;
}

.slide-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.2;
}

.slide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.newone-slider-wrapper button:focus{outline: none;}
.slide-bullets {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

.slide-navigation {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.nav-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #ddd;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: #007bff;
    color: #007bff;
}

.slide-indicator {
    font-weight: 600;
    color: #333;
    margin: 0 10px;
}

.slide-disclaimer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Responsive design */
@media (max-width: 768px) {
    .slide-item {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
    }
    
    .slide-image-wrapper,
    .slide-content-wrapper {
        max-width: 100%;
    }
    
    .slide-content-wrapper {
        padding: 0;
        text-align: center;
    }
    
    .slide-title {
        font-size: 2.2rem;
    }

    .slide-navigation {
        justify-content: center;
    }
    .subTitM {
        font-size: 20px !important;
        line-height: 26px;
    }
}
