.container-sldr {
    width: 100%;
    margin: 40px auto;
    padding: 50px 20px;
    align-items: center !important;
    text-align: center !important;
}
.slider-container-sldr {
    width: 100%;
    height: 450px;
    position: relative;
    flex: 1;
}
.slider-sldr {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 10px;
    position: relative;
}
.frame-sldr {
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.4s ease;
}
.frame-sldr:nth-child(1) {
    flex: 0.2;
}
.frame-sldr:nth-child(2) {
    flex: .3;
}
.frame-sldr:nth-child(3) {
    flex: .5;
}
.frame-sldr:nth-child(4) {
    flex: 1;
}
.frame-sldr:nth-child(5) {
    flex: 8;
    z-index: 3;
}
.frame-sldr:nth-child(6) {
    flex: 1;
}
.frame-sldr:nth-child(7) {
    flex: .5;
}
.frame-sldr:nth-child(8) {
    flex: 0.3;
}
.frame-sldr:nth-child(9) {
    flex: 0.2;
}
.frame-content-sldr {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.frame-sldr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
/* متن روی تصاویر */
.image-text-sldr {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px;
    transform: translateY(0);
    transition: all 0.6s ease;
}
.frame-sldr:nth-child(1) .image-text-sldr,
.frame-sldr:nth-child(2) .image-text-sldr,
.frame-sldr:nth-child(3) .image-text-sldr,
.frame-sldr:nth-child(7) .image-text-sldr,
.frame-sldr:nth-child(8) .image-text-sldr,
.frame-sldr:nth-child(9) .image-text-sldr {
    display: none;
}
.frame-sldr:nth-child(4) .image-text-sldr h3,
.frame-sldr:nth-child(6) .image-text-sldr h3 {
    font-size: 0.8rem;
    margin-bottom: 2px;
}
.frame-sldr:nth-child(4) .image-text-sldr p,
.frame-sldr:nth-child(6) .image-text-sldr p {
    font-size: 0.6rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.frame-sldr:nth-child(5) .image-text-sldr {
    padding: 20px;
}
.frame-sldr:nth-child(5) .image-text-sldr h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.frame-sldr:nth-child(5) .image-text-sldr p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.4;
}
.frame-sldr:nth-child(5) img {
    transform: scale(1.05);
}
.nav-btn-sldr {
    position: absolute;
    top: 50%;
    background: rgba(255, 255, 255, 0.6);
    opacity: .7;
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin: 0;
}
.nav-btn-sldr i {
    font-size: 35px;
    color: #28002d;
}
.nav-btn-sldr:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.nav-btn-sldr:active {
    transform: scale(0.95);
}
.prev-btn-sldr {
    margin-left: 10px;
    left: 20px;
}
.next-btn-sldr {
    margin-right: 10px;
    right: 20px;
}
.description-sldr {
    display: none;
    text-align: center;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    line-height: 1.6;
}
.current-position-sldr {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: bold;
}
.auto-play-sldr {
    display: none;
    margin-top: 15px;
}
.auto-play-sldr label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}
.image-moving-sldr {
    animation: moveImage-sldr 0.8s ease-in-out forwards;
}
@keyframes moveImage-sldr {
    0% {
        transform: translateX(0) scale(var(--start-scale-sldr));
    }
    50% {
        transform: translateX(var(--move-x-sldr)) scale(1.1);
    }
    100% {
        transform: translateX(0) scale(var(--end-scale-sldr));
    }
}
.image-exit-sldr {
    animation: imageExit-sldr 0.5s ease-in forwards;
}
@keyframes imageExit-sldr {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}
.image-enter-sldr {
    animation: imageEnter-sldr 0.6s ease-out 0.3s forwards;
}
@keyframes imageEnter-sldr {
    0% {
        opacity: 0;
        transform: scale(1.2);
    }
    70% {
        opacity: 0.8;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.center-image-enter-sldr {
    animation: centerImageEnter-sldr 0.7s ease-out 0.3s forwards;
}
@keyframes centerImageEnter-sldr {
    0% {
        opacity: 0;
        transform: scale(1.3) rotate(-2deg);
    }
    60% {
        opacity: 0.9;
        transform: scale(0.98) rotate(1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1.05) rotate(0deg);
    }
}
.side-image-enter-sldr {
    animation: sideImageEnter-sldr 0.5s ease-out 0.2s forwards;
}
@keyframes sideImageEnter-sldr {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}
.text-slide-in-sldr {
    animation: textSlideIn-sldr 0.6s ease-out 0.3s both;
}
@keyframes textSlideIn-sldr {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.text-fade-in-sldr {
    animation: textFadeIn-sldr 0.8s ease-out 0.4s both;
}
@keyframes textFadeIn-sldr {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.text-scale-in-sldr {
    animation: textScaleIn-sldr 0.7s ease-out 0.5s both;
}
@keyframes textScaleIn-sldr {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.center-text-animation-sldr {
    animation: centerTextAppear-sldr 1s ease-out 0.4s both;
}
@keyframes centerTextAppear-sldr {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.side-text-animation-sldr {
    animation: sideTextAppear-sldr 0.5s ease-out 0.2s both;
}
@keyframes sideTextAppear-sldr {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.center-text-exit-sldr {
    animation: centerTextExit-sldr 0.5s ease-in both;
}
@keyframes centerTextExit-sldr {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    60% {
        opacity: 0.5;
        transform: translateY(-15px) scale(0.95);
    }
    100% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
}
.side-text-exit-sldr {
    animation: sideTextExit-sldr 0.4s ease-in both;
}
@keyframes sideTextExit-sldr {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-30px);
    }
}
.thin-frame-sldr {
    opacity: 0.6;
    filter: brightness(0.7);
}
@media (max-width: 768px) {
    .container-sldr {
        padding: 10px;
        max-width: 100%;
        height: 80vh;
        display: flex;
        flex-direction: column;
    }
    .title-sldr {
        margin-bottom: 15px;
        font-size: 1.2rem;
        padding: 0 10px;
    }
    .slider-wrapper-sldr {
        flex: 1;
        position: relative;
        width: 100%;
        height: calc(100vh - 200px);
        gap: 0;
    }
    .slider-container-sldr {
        height: 100% !important;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    .slider-sldr {
        height: 100%;
        width: 100%;
        gap: 5px;
    }
    .frame-sldr {
        border-radius: 20px;
        flex: 1 !important;
        opacity: 0.3;
        transition: all 0.4s ease;
    }
    .frame-sldr:nth-child(5) {
        flex: 3 !important;
        opacity: 1;
        z-index: 3;
    }
    .frame-sldr:nth-child(3),
    .frame-sldr:nth-child(7) {
        opacity: 0.6;
        flex: 0.3 !important;
    }
    .frame-sldr:nth-child(4),
    .frame-sldr:nth-child(6) {
        opacity: 0.6;
        flex: 0.8 !important;
    }
    .frame-sldr:nth-child(1),
    .frame-sldr:nth-child(2),
    .frame-sldr:nth-child(8),
    .frame-sldr:nth-child(9) {
        opacity: 0.1;
        flex: 0 !important;
    }
    .nav-btn-sldr {
        position: absolute;
        top: 50%;
        width: 50px;
        height: 50px;
        background: rgb(239 191 255 / 70%);
        color: #333;
        z-index: 20;
        border: 2px solid rgba(0, 0, 0, 0.1);
    }
    .prev-btn-sldr {
        left: 10px;
        margin-left: 0;
    }
    .next-btn-sldr {
        right: 10px;
        margin-right: 0;
    }
    .nav-btn-sldr:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
    .description-sldr {
        margin-top: 15px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
    }
    .description-sldr p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    .current-position-sldr {
        font-size: 1rem;
    }
    .image-text-sldr {
        padding: 12px !important;
    }
    .frame-sldr:nth-child(5) .image-text-sldr h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    .frame-sldr:nth-child(5) .image-text-sldr p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    .frame-sldr:not(:nth-child(5)) .image-text-sldr {
        display: none;
    }
    .auto-play-sldr {
        margin-top: 10px;
        padding: 0 10px;
    }
    .auto-play-sldr label {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .container-sldr {
        padding: 5px;
        height: 65vh;
    }
    .title-sldr {
        font-size: 3vh;
        margin-bottom: 10px;
    }
    .slider-wrapper-sldr {
        height: calc(100vh - 180px);
    }
    .nav-btn-sldr {
        opacity: .5;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    .frame-sldr {
        border-radius: 15px;
    }
    .description-sldr {
        padding: 10px;
        margin-top: 10px;
    }
    .description-sldr p {
        font-size: 0.8rem;
    }
    .current-position-sldr {
        font-size: 0.9rem;
    }
    .frame-sldr:nth-child(1),
    .frame-sldr:nth-child(2),
    .frame-sldr:nth-child(8),
    .frame-sldr:nth-child(9) {
        display: none;
    }
    .frame-sldr:nth-child(3) {
        flex: 0.3 !important;
        opacity: 0.3;
    }
    .frame-sldr:nth-child(4) {
        flex: .7 !important;
        opacity: 0.6;
    }
    .frame-sldr:nth-child(5) {
        flex: 5 !important;
        opacity: 1;
    }
    .frame-sldr:nth-child(6) {
        flex: .7 !important;
        opacity: 0.6;
    }
    .frame-sldr:nth-child(7) {
        flex: 0.3 !important;
        opacity: 0.3;
    }
    .frame-sldr:nth-child(5) .image-text-sldr h3 {
        font-size: 1rem;
    }
    .frame-sldr:nth-child(5) .image-text-sldr p {
        font-size: 0.8rem;
    }
}