/**
 * All Sliders - Main Slider, Sliders Simple, Simple Sliders, Slider Styles
 * Version: 25.8
 * All slider types in one file
 */

/* ✅ إخفاء time badges في السليدرات في الصفحة الرئيسية */
body.home .time-badge-on-img,
body.home .post-time-badge,
body.home .slider-date,
body.home .slide-date {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ✅ COMMON - بدون فراغات */
.main-slider-wrapper {
    margin: 0 !important;
    margin-bottom: 0 !important;
    border: 2px solid rgba(0,168,89,0.15);
    border-radius: 16px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    position: relative;
}

/* ===== Mobile Spacing Fix for Header 2 ===== */
@media (max-width: 768px) {
    .main-slider-wrapper,
    .kora-slider {
        /* إذا كان header 2 مفعّل، نضيف الفراغ المناسب */
        margin-top: 55px !important;
    }
}

.lazy-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #e0e0e0;
}

/* ========================================
   STYLE 1: Big Slider + Side Cards
   سليدر كبير + بطاقات جانبية
   ======================================== */
.jannah-slider-1 {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 20px;
    min-height: 600px;
    width: 100%;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

.big-slider-area {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #e0e0e0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.big-slide-item {
    width: 100%;
    height: 100%;
}

.big-slide-link {
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.big-slide-img {
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.big-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.big-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 35px;
    color: #fff;
}

/* ✅ تصميم متطور لاسم القسم في السليدرات - يستخدم Primary Color */
.slide-category {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible !important;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
    white-space: nowrap;
}

.slide-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
    border-radius: 25px;
}

.slide-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 89, 0.5);
    text-decoration: none;
    color: #fff !important;
}

.slide-category:hover::before {
    left: 100%;
}

.big-slide-overlay h2 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    color: #fff;
}

.slide-excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #f0f0f0;
}

.side-cards-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card-item {
    background: #fff;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
}

.side-card-item:hover {
    border-color: #00A859;
}

.side-card-item a {
    display: flex;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.side-card-img {
    width: 45%;
    flex-shrink: 0;
}

.side-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-card-content {
    width: 55%;
    padding: 15px;
    display: flex;
    align-items: center;
}

.side-card-content h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    color: #1a1a1a;
}

.side-card-item:hover h4 {
    color: #00A859;
}

/* ========================================
   STYLE 2: Auto Carousel
   سليدر تلقائي متحرك
   ======================================== */
.jannah-slider-2 {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #f093fb;
    min-height: 520px;
}

.carousel-main-area {
    position: relative;
    height: 520px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.carousel-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    color: #f5576c;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 800;
    border: 2px solid #f5576c;
}

.carousel-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 30px;
}

.carousel-text h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: #1a1a1a;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    z-index: 10;
}

.carousel-nav:hover {
    background: #00A859;
    color: #fff;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* ========================================
   STYLE 3: Magazine Grid
   شبكة مجلة - أول مقال كبير
   ======================================== */
.jannah-slider-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    min-height: 560px;
}

.magazine-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #e0e0e0;
}

.magazine-item:hover {
    border-color: #667eea;
}

.magazine-item-1 {
    grid-row: 1 / 3;
}

.magazine-item a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.magazine-img {
    width: 100%;
    height: 100%;
}

.magazine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    color: #fff;
}

.magazine-cat {
    display: inline-block;
    background: #667eea;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.magazine-overlay h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    color: #fff;
}

.magazine-item-1 .magazine-overlay h3 {
    font-size: 26px;
}

/* ========================================
   STYLE 4: Tabs Slider
   تبويبات مع سليدر
   ======================================== */
.jannah-slider-4 {
    border: 3px solid #4facfe;
    border-radius: 15px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    gap: 5px;
    background: #f0f8ff;
    padding: 15px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    cursor: pointer;
}

.tab-btn.active {
    background: #4facfe;
    color: #fff;
    border-color: #4facfe;
}

.tab-btn:hover {
    border-color: #4facfe;
}

.tabs-content-area {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    background: #fff;
}

.tabs-content-area.active {
    display: grid;
}

.tab-slide-item {
    border: 3px solid #e8f4f8;
    border-radius: 10px;
    overflow: hidden;
}

.tab-slide-item:hover {
    border-color: #4facfe;
}

.tab-slide-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tab-slide-img {
    width: 100%;
    height: 160px;
}

.tab-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-slide-content {
    padding: 15px;
    background: #f9f9f9;
}

.tab-slide-content h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    color: #1a1a1a;
}

.tab-slide-item:hover h4 {
    color: #4facfe;
}

/* ========================================
   STYLE 5: Carousel دائري احترافي
   صورة كبيرة يمين + عمود يسار + صف أسفل
   ======================================== */
.jannah-slider-5 {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(0, 168, 89, 0.15);
    background: #fff;
    display: block !important;
    visibility: visible !important;
}

.slider-5-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    padding: 20px;
    min-height: 500px;
}

/* ✅ الجانب الأيسر: عمود المقالات - بدون فراغات */
.slider-5-left-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    position: relative;
    padding: 0;
}

/* ✅ إزالة الأسهم تماماً */
.slider-5-nav-arrows {
    display: none !important;
}

.slider-5-nav-btn {
    display: none !important;
}

/* ✅ إخفاء قائمة الموبايل على الحاسوب */
.slider-5-mobile-list {
    display: none !important;
}

/* ✅ إزالة الفراغات من العمود */
.slider-5-side-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    height: 100%;
}

.slider-5-side-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.7;
    cursor: pointer;
}

.slider-5-side-item.active {
    border-color: var(--primary, #00A859);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.2);
    transform: scale(1.02);
}

.slider-5-side-link {
    display: flex;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
}

.slider-5-side-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.slider-5-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-5-side-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.slider-5-side-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    width: fit-content;
}

.slider-5-side-content h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-5-side-item.active .slider-5-side-content h4 {
    color: var(--primary, #00A859);
}

/* الجانب الأيمن: الصورة الكبيرة */
.slider-5-main-area {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
    background: #f5f5f5;
}

.slider-5-main-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.slider-5-main-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-5-main-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.slider-5-main-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slider-5-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-5-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 40px;
    z-index: 2;
}

.slider-5-main-category {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.4);
}

.slider-5-main-overlay h2 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

.slider-5-main-overlay p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* الصف السفلي */
.slider-5-bottom-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-top: 2px solid #e9ecef;
}

.slider-5-bottom-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.7;
}

.slider-5-bottom-item.active {
    border-color: var(--primary, #00A859);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.2);
    transform: translateY(-3px);
}

.slider-5-bottom-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.slider-5-bottom-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.slider-5-bottom-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slider-5-bottom-item:hover .slider-5-bottom-img img {
    transform: scale(1.1);
}

.slider-5-bottom-content {
    padding: 12px;
}

.slider-5-bottom-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 8px;
}

.slider-5-bottom-content h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-5-bottom-item.active .slider-5-bottom-content h4 {
    color: var(--primary, #00A859);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    /* ✅ Style 5 - Mobile: مقالات مستطيلة أسفل بعض بعرض الصفحة */
    .jannah-slider-5 {
        border-radius: 0 !important;
        border: none !important;
        background: #ffffff;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .slider-5-container {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* ✅ إخفاء العمود الأيسر والصف السفلي على الموبايل */
    .slider-5-left-column,
    .slider-5-bottom-row {
        display: none !important;
    }
    
    /* ✅ الصورة الرئيسية - أول مقال */
    .slider-5-main-area {
        order: 1;
        height: 280px !important;
        width: 100% !important;
        border-radius: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .slider-5-main-slide {
        border-radius: 0 !important;
    }
    
    .slider-5-main-img {
        width: 100% !important;
        height: 100% !important;
    }
    
    .slider-5-main-overlay {
        padding: 20px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7), transparent);
    }
    
    .slider-5-main-overlay h2 {
        font-size: 20px !important;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .slider-5-main-overlay p {
        font-size: 13px !important;
        line-height: 1.4;
        margin: 0;
    }
    
    .slider-5-main-category {
        font-size: 12px !important;
        padding: 8px 16px !important;
        margin-bottom: 10px !important;
    }
    
    /* ✅ إنشاء قائمة مقالات مستطيلة أسفل الصورة الرئيسية */
    .slider-5-mobile-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .slider-5-mobile-item {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        background: #ffffff;
        border-bottom: 1px solid #e9ecef;
        padding: 15px !important;
        margin: 0 !important;
        transition: all 0.2s ease;
        text-decoration: none;
        color: inherit;
    }
    
    .slider-5-mobile-item:last-child {
        border-bottom: none;
    }
    
    .slider-5-mobile-item:hover {
        background: #f8f9fa;
    }
    
    .slider-5-mobile-item.active {
        background: #f0f9ff;
        border-right: 4px solid var(--primary, #00A859);
    }
    
    .slider-5-mobile-img {
        width: 120px !important;
        height: 90px !important;
        flex-shrink: 0;
        border-radius: 8px;
        overflow: hidden;
        margin-left: 15px;
    }
    
    .slider-5-mobile-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .slider-5-mobile-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
        justify-content: center;
    }
    
    .slider-5-mobile-category {
        display: inline-block;
        background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
        color: #fff;
        padding: 4px 10px;
        border-radius: 8px;
        font-size: 11px;
        font-weight: 700;
        width: fit-content;
    }
    
    .slider-5-mobile-content h4 {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
        color: #1a1a1a;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .slider-5-mobile-item.active .slider-5-mobile-content h4 {
        color: var(--primary, #00A859);
    }
    
    
    /* Style 1 */
    .jannah-slider-1 {
        grid-template-columns: 1fr;
        gap: 15px;
        min-height: auto;
    }
    
    .big-slide-img {
        min-height: 300px;
    }
    
    .big-slide-overlay {
        padding: 20px;
    }
    
    .big-slide-overlay h2 {
        font-size: 22px;
    }
    
    .side-card-item a {
        flex-direction: column;
    }
    
    .side-card-img,
    .side-card-content {
        width: 100%;
    }
    
    .side-card-img {
        height: 150px;
    }
    
    /* Style 2 */
    .carousel-main-area {
        height: 350px;
    }
    
    .carousel-text h3 {
        font-size: 20px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    /* Style 3 */
    .jannah-slider-3 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
        min-height: auto;
    }
    
    .magazine-item-1 {
        grid-row: auto;
    }
    
    .magazine-img {
        height: 200px;
    }
    
    /* Style 4 */
    .tabs-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tab-btn {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .tabs-content-area {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Style 5 */
    .hero-carousel-wrapper {
        height: 400px;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
}

/* ========================================
   SLIDERS SIMPLE - 3 سليدرات بسيطة
   ======================================== */

/* === السليدر الأساسي === */
.kora-slider {
    margin: 40px 0;
}

.slider-section-title {
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00A859;
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-section-title span {
    background: linear-gradient(135deg, #00A859, #00c46e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0,168,89,0.15);
}

.slider-track {
    position: relative;
    height: 620px;
}

.slider-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-card.active {
    opacity: 1;
    z-index: 1;
}

.slider-card-image {
    height: 100%;
    position: relative;
}

.slider-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-card-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 2;
}

/* ✅ تصميم متطور لاسم القسم في البطاقات - يستخدم Primary Color */
.slider-card-cat {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible !important;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
    white-space: nowrap;
}

.slider-card-cat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
    border-radius: 25px;
}

.slider-card-cat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 89, 0.5);
    text-decoration: none;
    color: #fff !important;
}

.slider-card-cat:hover::before {
    left: 100%;
}

.slider-card-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 12px;
}

.slider-card-title a {
    color: #fff;
    text-decoration: none;
}

.slider-card-title a:hover {
    color: #00A859;
}

.slider-card-meta {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 700;
}

/* الأسهم */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(0,0,0,0.7);
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: #00A859;
    border-color: #00A859;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    right: 20px;
}

.slider-next {
    left: 20px;
}

/* النقاط */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.3);
    padding: 12px 20px;
    border-radius: 25px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #00A859;
    transform: scale(1.3);
}

.slider-dot:hover {
    background: rgba(255,255,255,0.8);
}

/* === السليدر 1: بسيط === */
.kora-slider-1 .slider-card-cat {
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
}

.kora-slider-1 .slider-arrow:hover {
    background: #667eea;
    border-color: #667eea;
}

.kora-slider-1 .slider-dot.active {
    background: #667eea;
}

/* === السليدر 2: عصري === */
.kora-slider-2 .slider-card-cat {
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
}

.kora-slider-2 .slider-arrow:hover {
    background: #f5576c;
    border-color: #f5576c;
}

.kora-slider-2 .slider-dot.active {
    background: #f5576c;
}

.kora-slider-2 .slider-wrapper {
    box-shadow: 0 15px 50px rgba(240,147,251,0.3);
}

/* === السليدر 3: مميز === */
.kora-slider-3 .slider-card-cat {
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
}

.kora-slider-3 .slider-arrow:hover {
    background: #4facfe;
    border-color: #4facfe;
}

.kora-slider-3 .slider-dot.active {
    background: #4facfe;
}

.kora-slider-3 .slider-wrapper {
    box-shadow: 0 15px 50px rgba(79,172,254,0.3);
}

/* === Responsive === */
@media (max-width: 768px) {
    .slider-track {
        height: 450px;
    }
    
    .slider-card-content {
        padding: 30px 20px;
    }
    
    .slider-card-title {
        font-size: 24px;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
    }
    
    .slider-prev {
        right: 15px;
    }
    
    .slider-next {
        left: 15px;
    }
}

/* ========================================
   SIMPLE SLIDERS - السليدرات الاحترافية
   ======================================== */

/* ===== Desktop Enhancements ===== */
@media (min-width: 769px) {
    /* زيادة ارتفاع الصور */
    .featured-card .card-image {
        height: 180px !important;
    }
    
    .regular-card .card-image {
        height: 150px !important;
    }
    
    /* تقليل الفراغات إلى 10px */
    .featured-grid,
    .regular-grid {
        gap: 10px !important;
        padding: 10px !important;
    }
    
    .featured-card .card-content,
    .regular-card .card-content {
        padding: 10px !important;
    }
}

/* === القسم الرئيسي === */
.modern-news-section {
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.news-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

/* === الصف الأول - المقالات المميزة === */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(var(--first-row-count, 3), 1fr);
    gap: 5px;
    margin-bottom: 0;
    padding: 15px;
    background: linear-gradient(135deg, var(--outer-color, #f8f9fa) 0%, var(--inner-color, #e9ecef) 100%);
}

/* === البطاقات المميزة === */
.featured-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.featured-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-card .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.featured-card .card-image {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.featured-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

.featured-card:hover .card-image img {
    transform: scale(1.05);
}

.featured-card .card-content {
    padding: 15px;
    position: relative;
    z-index: 2;
}

.featured-card .card-title {
    font-size: var(--title-size, 16px);
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: #666;
    margin-top: 8px;
}

.featured-card .card-date {
    color: #888;
}

.featured-card .card-category a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.featured-card .card-category a:hover {
    text-decoration: underline;
}

.featured-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9) 0%, rgba(25, 118, 210, 0.9) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.featured-card:hover .card-overlay {
    opacity: 1;
}

.featured-card .overlay-title {
    font-size: calc(var(--title-size, 16px) + 2px);
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.featured-card .overlay-date {
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: 500;
}

/* === الصف الثاني - المقالات العادية === */
.regular-grid {
    display: grid;
    grid-template-columns: repeat(var(--second-row-count, 4), 1fr);
    gap: 5px;
    padding: 15px;
    background: linear-gradient(135deg, var(--outer-color, #f8f9fa) 0%, var(--inner-color, #e9ecef) 100%);
}

/* === البطاقات العادية === */
.regular-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.regular-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.regular-card .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.regular-card .card-image {
    height: 120px;
    overflow: hidden;
    position: relative;
}

.regular-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    transition: transform 0.3s ease;
}

.regular-card:hover .card-image img {
    transform: scale(1.05);
}

.regular-card .card-content {
    padding: 12px;
    position: relative;
    z-index: 2;
}

.regular-card .card-title {
    font-size: var(--title-size, 16px);
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.regular-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #666;
    margin-top: 6px;
}

.regular-card .card-date {
    color: #888;
}

.regular-card .card-category a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.regular-card .card-category a:hover {
    text-decoration: underline;
}

.regular-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9) 0%, rgba(25, 118, 210, 0.9) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.regular-card:hover .card-overlay {
    opacity: 1;
}

.regular-card .overlay-title {
    font-size: calc(var(--title-size, 16px) - 2px);
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.regular-card .overlay-date {
    font-size: 0.85em;
    opacity: 0.9;
    font-weight: 500;
}

/* === التصميم المتجاوب === */
@media (max-width: 768px) {
    .modern-news-section {
        margin: 0;
    }
    
    .news-container {
        border-radius: 15px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 10px;
    }
    
    .regular-grid {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 10px;
    }
    
    .featured-card .card-image {
        height: 130px;
    }
    
    .regular-card .card-image {
        height: 110px;
    }
    
    .featured-card .card-content {
        padding: 12px;
    }
    
    .regular-card .card-content {
        padding: 10px;
    }
    
    .featured-card .card-title {
        font-size: calc(var(--title-size, 16px) - 1px);
    }
    
    .regular-card .card-title {
        font-size: calc(var(--title-size, 16px) - 2px);
    }
}

@media (max-width: 480px) {
    .regular-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-card .card-image {
        height: 120px;
    }
    
    .regular-card .card-image {
        height: 100px;
    }
    
    .featured-card .card-content {
        padding: 10px;
    }
    
    .regular-card .card-content {
        padding: 8px;
    }
    
    .featured-card .card-title {
        font-size: calc(var(--title-size, 16px) - 2px);
    }
    
    .regular-card .card-title {
        font-size: calc(var(--title-size, 16px) - 3px);
    }
    
    .featured-card .card-meta {
        font-size: 0.75em;
    }
    
    .regular-card .card-meta {
        font-size: 0.7em;
    }
}

/* === تحسينات الأداء === */
.featured-card,
.regular-card {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.featured-card .card-image img,
.regular-card .card-image img {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* === تحسينات إضافية === */
.featured-card .card-link:focus,
.regular-card .card-link:focus {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
}

.featured-card .card-link:focus-visible,
.regular-card .card-link:focus-visible {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
}

/* === تحسينات للطباعة === */
@media print {
    .modern-news-section {
        display: none;
    }
}

/* ========================================
   SLIDER STYLES - 5 أنماط مختلفة للسليدر
   ======================================== */

/* ===================================
   Style 1: كلاسيكي - Classic
   =================================== */
.slider-style-1 .slider-wrapper {
    border-radius: 20px;
    border: 4px solid #fff;
}

.slider-style-1 .slider-overlay {
    background: linear-gradient(to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.6) 40%, 
        rgba(0,0,0,0.3) 70%, 
        transparent 100%);
}

.slider-style-1 .slider-content {
    bottom: 0;
    right: 0;
    left: 0;
    padding: 60px;
}

/* ✅ تصميم متطور لاسم القسم - يستخدم Primary Color */
.slider-style-1 .slider-category {
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    border-radius: 25px;
    padding: 12px 30px;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slider-style-1 .slider-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.slider-style-1 .slider-category:hover::before {
    left: 100%;
}

.slider-style-1 .slider-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 89, 0.5);
}

.slider-style-1 .slider-btn {
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
}

.slider-style-1 .slider-dots {
    border-radius: 30px;
    background: rgba(0,0,0,0.4);
}

/* ===================================
   Style 2: عصري - Modern
   =================================== */
.slider-style-2 .slider-wrapper {
    border-radius: 30px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.25);
}

.slider-style-2 .slider-overlay {
    background: linear-gradient(135deg, 
        rgba(245, 87, 108, 0.8) 0%, 
        rgba(240, 147, 251, 0.6) 100%);
    backdrop-filter: blur(5px);
}

.slider-style-2 .slider-content {
    bottom: 0;
    right: 0;
    left: 0;
    padding: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    backdrop-filter: blur(10px);
}

/* ✅ تصميم متطور لاسم القسم - يستخدم Primary Color */
.slider-style-2 .slider-category {
    display: inline-flex !important;
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 14px 35px;
    box-shadow: 0 8px 32px rgba(0, 168, 89, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible !important;
    z-index: 10;
    white-space: nowrap;
    color: #fff !important;
}

.slider-style-2 .slider-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.slider-style-2 .slider-category:hover::before {
    left: 100%;
}

.slider-style-2 .slider-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 168, 89, 0.5);
}

.slider-style-2 .slider-title {
    text-shadow: 4px 4px 20px rgba(0,0,0,0.9);
    font-size: 48px;
}

.slider-style-2 .slider-btn {
    border-radius: 15px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.3);
}

.slider-style-2 .slider-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

.slider-style-2 .slider-dots {
    border-radius: 25px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.2);
}

.slider-style-2 .slider-dot {
    background: rgba(255,255,255,0.5);
    border-color: rgba(255,255,255,0.7);
}

.slider-style-2 .slider-dot.active {
    background: #fff;
    border-color: #fff;
}

/* ===================================
   Style 3: أنيق - Elegant
   =================================== */
.slider-style-3 .slider-wrapper {
    border-radius: 25px;
    border: none;
    position: relative;
    overflow: visible;
}

.slider-style-3 .slider-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(15px);
}

.slider-style-3 .slider-container {
    border-radius: 25px;
}

.slider-style-3 .slider-overlay {
    background: linear-gradient(to bottom, 
        transparent 0%,
        transparent 40%,
        rgba(0,0,0,0.4) 70%,
        rgba(0,0,0,0.95) 100%);
}

.slider-style-3 .slider-content {
    bottom: 0;
    right: 40px;
    left: 40px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.25), rgba(0, 242, 254, 0.15));
    backdrop-filter: blur(25px);
    border-radius: 20px;
    margin-bottom: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

/* ✅ تصميم متطور لاسم القسم - يستخدم Primary Color */
.slider-style-3 .slider-category {
    display: inline-flex !important;
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    border-radius: 15px;
    padding: 12px 28px;
    box-shadow: 0 8px 25px rgba(0, 168, 89, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible !important;
    z-index: 10;
    white-space: nowrap;
    color: #fff !important;
}

.slider-style-3 .slider-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.slider-style-3 .slider-category:hover::before {
    left: 100%;
}

.slider-style-3 .slider-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 168, 89, 0.5);
}

.slider-style-3 .slider-title {
    font-size: 45px;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.7);
}

.slider-style-3 .slider-btn {
    border-radius: 18px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border: none;
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.4);
}

.slider-style-3 .slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.6);
}

.slider-style-3 .slider-dots {
    position: relative;
    bottom: auto;
    margin-top: 30px;
    background: none;
    backdrop-filter: none;
}

.slider-style-3 .slider-dot {
    width: 16px;
    height: 16px;
    background: rgba(79, 172, 254, 0.4);
    border: 3px solid rgba(79, 172, 254, 0.6);
}

.slider-style-3 .slider-dot.active {
    background: #4facfe;
    border-color: #4facfe;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.8);
}

/* ===================================
   Style 4: ديناميكي - Dynamic
   =================================== */
.slider-style-4 .slider-wrapper {
    border-radius: 0;
    border: none;
    position: relative;
}

.slider-style-4 .slider-wrapper::before,
.slider-style-4 .slider-wrapper::after {
    content: '';
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.slider-style-4 .slider-wrapper::before {
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.slider-style-4 .slider-wrapper::after {
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
}

.slider-style-4 .slider-overlay {
    background: linear-gradient(135deg, 
        rgba(67, 233, 123, 0.5) 0%, 
        rgba(56, 249, 215, 0.3) 100%);
}

.slider-style-4 .slider-content {
    bottom: 0;
    right: 0;
    left: 0;
    padding: 60px;
    background: none;
}

/* ✅ تصميم متطور لاسم القسم - يستخدم Primary Color */
.slider-style-4 .slider-category {
    display: inline-flex !important;
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    border-radius: 25px;
    padding: 14px 32px;
    position: relative;
    overflow: visible !important;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    white-space: nowrap;
    color: #fff !important;
}

.slider-style-4 .slider-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.slider-style-4 .slider-category:hover::before {
    left: 100%;
}

.slider-style-4 .slider-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 89, 0.5);
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.slider-style-4 .slider-title {
    font-size: 50px;
    text-shadow: 5px 5px 20px rgba(0,0,0,0.8),
                 0 0 30px rgba(67, 233, 123, 0.5);
}

.slider-style-4 .slider-btn {
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.9), rgba(56, 249, 215, 0.8));
    border: 3px solid rgba(255,255,255,0.5);
}

.slider-style-4 .slider-btn:hover {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    border-color: #fff;
}

.slider-style-4 .slider-dots {
    background: linear-gradient(90deg, rgba(67, 233, 123, 0.3), rgba(56, 249, 215, 0.3));
    border-radius: 0;
    padding: 15px 25px;
}

.slider-style-4 .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    transition: all 0.3s;
}

.slider-style-4 .slider-dot.active {
    background: #43e97b;
    border-color: #43e97b;
    transform: scale(1.5) rotate(45deg);
}

/* ===================================
   Style 5: مميز - Featured
   =================================== */
.slider-style-5 .slider-wrapper {
    border-radius: 40px;
    border: none;
    position: relative;
    overflow: hidden;
}

.slider-style-5 .slider-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    opacity: 0.15;
    z-index: 1;
    mix-blend-mode: overlay;
}

.slider-style-5 .slider-overlay {
    background: radial-gradient(circle at bottom right, 
        rgba(250, 112, 154, 0.6) 0%,
        rgba(254, 225, 64, 0.3) 50%,
        transparent 100%),
    linear-gradient(to top,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.4) 60%,
        transparent 100%);
}

.slider-style-5 .slider-content {
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0,0,0,0.7) 30%,
        rgba(0,0,0,0.95) 100%);
}

/* ✅ تصميم متطور لاسم القسم - يستخدم Primary Color */
.slider-style-5 .slider-category {
    display: inline-flex !important;
    background: linear-gradient(135deg, var(--primary, #00A859), var(--primary-light, #00c46e));
    border-radius: 20px;
    padding: 12px 30px;
    box-shadow: 0 8px 30px rgba(0, 168, 89, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible !important;
    z-index: 10;
    white-space: nowrap;
    color: #fff !important;
}

.slider-style-5 .slider-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.slider-style-5 .slider-category:hover::before {
    left: 100%;
}

.slider-style-5 .slider-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 168, 89, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.slider-style-5 .slider-title {
    font-size: 42px;
    text-shadow: 4px 4px 20px rgba(0,0,0,0.9),
                 0 0 40px rgba(250, 112, 154, 0.4);
}

.slider-style-5 .slider-btn {
    border-radius: 50%;
    background: linear-gradient(135deg, #fa709a, #fee140);
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 40px rgba(250, 112, 154, 0.5);
}

.slider-style-5 .slider-btn:hover {
    transform: translateY(-50%) scale(1.2) rotate(180deg);
    box-shadow: 0 15px 50px rgba(250, 112, 154, 0.7);
}

.slider-style-5 .slider-prev {
    right: 30px;
}

.slider-style-5 .slider-next {
    left: 30px;
}

.slider-style-5 .slider-dots {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    flex-direction: column;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(15px);
    padding: 20px 15px;
    border-radius: 30px;
}

.slider-style-5 .slider-dot {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.3);
    border: 3px solid rgba(255,255,255,0.5);
}

.slider-style-5 .slider-dot.active {
    background: linear-gradient(135deg, #fa709a, #fee140);
    border-color: transparent;
    width: 18px;
    height: 18px;
    box-shadow: 0 0 20px rgba(250, 112, 154, 0.8);
}

/* ===================================
   Responsive للأنماط المختلفة
   =================================== */
@media (max-width: 992px) {
    .slider-style-5 .slider-content {
        width: 100%;
        background: linear-gradient(to top,
            rgba(0,0,0,0.95) 0%,
            rgba(0,0,0,0.6) 60%,
            transparent 100%);
        top: auto;
        justify-content: flex-end;
    }
    
    .slider-style-5 .slider-dots {
        position: absolute;
        top: auto;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .slider-style-2 .slider-title,
    .slider-style-3 .slider-title,
    .slider-style-4 .slider-title {
        font-size: 26px;
    }
    
    .slider-style-3 .slider-content {
        right: 20px;
        left: 20px;
        padding: 30px;
        margin-bottom: 20px;
    }
    
    .slider-style-4 .slider-title {
        font-size: 24px;
    }
    
    .slider-style-5 .slider-content {
        padding: 40px 25px;
    }
}

