.css-slider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

.css-slider-container {
    --b: 10px;
    --h: 45px;
    height: 450px;
    width: 1100px;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 19px;
    clip-path: polygon(
        0 0,
        0 100%,
        calc(0% - var(--b) / 2) 100%,
        50% calc(100% - var(--h)),
        calc(100% + var(--b) / 2) 100%,
        100% 100%,
        100% 0,
        calc(100% + var(--b) / 2) 0,
        50% var(--h),
        calc(0% - var(--b) / 2) 0
    );
}

.css-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.css-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.css-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.css-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)); */
}

.css-slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    text-decoration: none;
}

.css-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 60px 40px;
    text-align: center;
}

.css-slide-content h2 {
    font-size: 42px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.css-slide-content p {
    font-size: 18px;
    margin: 0 0 30px 0;
    color: #ffffff;
    max-width: 600px;
    line-height: 1.6;
}

/* استایل دکمه */
.css-slide-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    border: none;
    cursor: pointer;
    font-family: Roboto, Arial, Helvetica, Verdana, sans-serif;
}

/* فلش‌های ناوبری خالی - بدون هاور */
.css-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    color: #333;
    border: none;
    font-size: 28px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-weight: normal;
    box-shadow:none !important;
}

.css-slider-prev {
    left: -50px;
}

.css-slider-next {
    right: -50px;
}

/* نقاط ناوبری */
.css-slider-dots {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.css-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D9D9D9;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.css-slider-dot.active {
    width: 15px;
    height: 15px;
    background-color: #919191;
}

/* ریسپانسیو */
@media (max-width: 1024px) {
    .css-slider-container {
        height: 400px;
    }
    
    .css-slide-content h2 {
        font-size: 36px;
    }
    
    .css-slide-content p {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .css-slider-container {
        height: 350px;
    }
    
    .css-slide-content h2 {
        font-size: 28px;
    }
   
    .css-slide-content p {
        font-size: 16px;
    }
    
    .css-slide-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* مخفی کردن دکمه‌ها در موبایل */
    .css-slider-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .css-slider-container {
        height: 300px;
    }
    
    .css-slide-content {
        padding: 40px 20px;
    }
    
    .css-slide-content h2 {
        font-size: 24px;
    }
    
    .css-slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .css-slider-dots {
        bottom: -   5px;
        gap: 12px;
    }
    
    .css-slider-dot {
        width: 10px;
        height: 10px;
    }
}