
.sslid-slide {
    max-width: 1200px;
    min-width: 95%;
    position: relative;
    opacity: 0;
    transition: opacity 2s ease;
}

    .sslid-slide.active {
        opacity: 1;
    }
/* استایل اصلی اسلایدر */
.sslid-slider-container {
    position: relative;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width:98%;
}

.sslid-slider {
    display: flex;
    transition: transform 1.5s ease-in-out;
    height: 460px;
}


.sslid-slide img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    display: block;
    transition: transform 17s linear 1.5s;
}


.sslid-slide.active img {
    transform: scale(2); /* زوم 10% برای تصویر هنگام هاور */
}


.sslid-slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-in-out;
    display: none;
}

    .sslid-slide-content h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        color: #333;
    }

    .sslid-slide-content p {
        font-size: 1rem;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.6;
    }

.sslid-btn {
    display: inline-block;
    padding: 12px 12px;
    background: #4a6fa5;
    color: blue;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

    .sslid-btn:hover {
        background: #3a5a80;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

/* دکمه‌های ناوبری */
.sslid-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

    .sslid-slider-nav:hover {
        background: white;
        color: #4a6fa5;
    }

.prev {
    right: 20px;
}

.next {
    left: 20px;
}

/* نقاط نشانگر */
.sslid-slider-dots {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-content: center;
    justify-content: center;
    padding-left: 20px;
    gap: 10px;
    background: rgba(17,24,39,1);
    width: 15%;
    height: 6.6%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


.sslid-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 6%;
    margin-top: 10px;
    right: 20px;
}

    .sslid-dot.active {
        background: rgba(37,99,235,1);
        transform: scale(1.2);
    }

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10%) translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateY(-10%) translateX(0);
    }
}

/* رسپانسیو برای تبلت */
@media (max-width: 992px) {
    .sslid-slider {
        height: 400px;
    }

    .sslid-slide-content {
        right: 5%;
        max-width: 400px;
        padding: 20px;
    }

        .sslid-slide-content h2 {
            font-size: 1.8rem;
        }
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .sslid-slider {
        height: 300px;
    }

    .sslid-slide-content {
        right: 50%;
        transform: translateY(-50%) translateX(50%);
        width: 90%;
        max-width: none;
        text-align: center;
    }

        .sslid-slide-content h2 {
            font-size: 1.5rem;
        }

        .sslid-slide-content p {
            font-size: 0.9rem;
        }

    .sslid-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
