/* ========== الأساسيات ========== */
* {
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #f8f9fa;
   /* padding-top: 56px;*/
}

/* ============================================ */
/* الألوان الرئيسية للموقع */
/* ============================================ */
:root {
    /* الألوان الأساسية */
    --gold: #f6853d;
    --gold-dark: #b8860b;
    --gold-light: #f6853d;
    --gold-gradient: linear-gradient(135deg, #b8860b, #d4af37, #f6853d);
    
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
}

/* ============================================ */
/* الألوان العامة */
/* ============================================ */
body {
    background-color: var(--gray-100);
    color: var(--gray-800);
}

/* ============================================ */
/* الأزرار */
/* ============================================ */
.btn-gold {
    background: var(--gold-gradient);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    color: #fff;
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

/* ============================================ */
/* البطاقات */
/* ============================================ */
.card {
    background: var(--white);
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================ */
/* النافبار */
/* ============================================ */
.navbar {
    background: var(--gold-gradient) !important;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================ */
/* الفوتر */
/* ============================================ */
footer {
    background: var(--dark) !important;
}

footer h5 {
    color: var(--gold) !important;
}

footer .social-links a:hover {
    color: var(--gold) !important;
    transform: scale(1.2);
}

/* ============================================ */
/* السلايدر */
/* ============================================ */
.slide-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.slide-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
}

/* ============================================ */
/* أقسام الموقع */
/* ============================================ */
.section-title {
    color: var(--dark);
    font-weight: 700;
}

.section-title .text-gold {
    color: var(--gold);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 15px auto;
    border-radius: 2px;
}

/* ============================================ */
/* البطاقات */
/* ============================================ */
.stat-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    background: var(--gold-gradient) !important;
}

.lecture-card,
.scholar-card,
.post-card,
.news-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.lecture-card:hover,
.scholar-card:hover,
.post-card:hover,
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================ */
/* الألوان المساعدة */
/* ============================================ */
.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background: var(--gold-gradient) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

/* ============================================ */
/* شارة التصنيف */
/* ============================================ */
.badge-gold {
    background: var(--gold-gradient);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}
/* ========== الهيدر ========== */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand i {
    margin-left: 10px;
}
/* ============================================ */
/* نافبار ذهبي */
/* ============================================ */

/* النافبار الرئيسي */
.navbar {
    background: linear-gradient(135deg, #078399, #fe6e14) !important;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

/* روابط النافبار */
.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

/* اسم الموقع */
.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand i {
    color: #fff;
    margin-left: 8px;
}

/* أزرار تسجيل الدخول والخروج */
.navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.navbar .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* القائمة المنسدلة */
.dropdown-menu {
    background: #1a1a2e !important;
    border: 1px solid #d4af37 !important;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dropdown-menu .dropdown-item {
    color: #fff !important;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37 !important;
}

.dropdown-menu .dropdown-item.active {
    background: rgba(212, 175, 55, 0.3);
    color: #d4af37 !important;
}

.dropdown-menu .dropdown-divider {
    border-color: rgba(212, 175, 55, 0.2);
}

/* زر القائمة في الهواتف */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================ */
/* استجابة النافبار */
/* ============================================ */
@media (max-width: 991px) {
    .navbar .nav-link {
        padding: 10px 16px;
    }
    
    .dropdown-menu {
        background: rgba(26, 26, 46, 0.95) !important;
        border: none !important;
    }
}

/* ========== البطاقات ========== */
.card {
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* ========== الروابط الاجتماعية ========== */
.social-links a {
    display: inline-block;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #0d6efd !important;
}

/* ========== المحاضرات ========== */
.lecture-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.lecture-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ========== الشيوخ ========== */
.scholar-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

.scholar-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* ========== الفوتر ========== */
footer {
    margin-top: 50px;
}

footer h5 {
    margin-bottom: 20px;
}

/* ========== المقالات ========== */
.post-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.post-content {
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

/* ========== استجابة ========== */
@media (max-width: 768px) {
    .scholar-card img {
        width: 100px;
        height: 100px;
    }
    
    .card-img-top {
        height: 150px;
    }
}


/* ============================================ */
/* تأثيرات إضافية للصفحة الرئيسية */
/* ============================================ */

/* تأثير الظهور عند التمرير */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* تأثير النبض على الأزرار */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* تأثير الت



/* ============================================ */
/* قسم الأخبار */
/* ============================================ */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc3545, #c82333);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: rgba(255,255,255,0.3);
}

.news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-body {
    padding: 20px;
}

.news-badge {
    display: inline-block;
    padding: 3px 12px;
    background: #dc3545;
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: #dc3545;
}

.news-excerpt {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.news-author {
    font-size: 13px;
    color: #6c757d;
}

.news-author i {
    margin-left: 5px;
}

.empty-state {
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* ============================================ */
/* الفوتر */
/* ============================================ */
footer a.text-warning:hover {
    color: #ffc107 !important;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

footer .social-links a {
    display: inline-block;
    transition: transform 0.3s, color 0.3s;
}

footer .social-links a:hover {
    transform: scale(1.2);
    color: #ffc107 !important;
}

/* ============================================ */
/* استجابة للأخبار */
/* ============================================ */
@media (max-width: 768px) {
    .news-image {
        height: 160px;
    }
    
    .news-title {
        font-size: 1rem;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
}


/* ============================================ */
/* سلايدر رئيسي */
/* ============================================ */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.hero-slider .carousel {
    height: 100%;
    width: 100%;
}

.hero-slider .carousel-inner {
    height: 100%;
    width: 100%;
}

.hero-slider .carousel-item {
    height: 100%;
    width: 100%;
}

/* خلفية السلايدر */
.slide-bg {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

/* ============================================ */
/* طبقة الشفاف */
/* ============================================ */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

/* ============================================ */
/* محتوى السلايدر */
/* ============================================ */
.slider-content {
    position: relative;
    z-index: 2;
    padding: 30px 0;
}

.slider-content h1,
.slider-content h2 {
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.slider-content .lead {
    text-shadow: 1px 1px 15px rgba(0, 0, 0, 0.7);
    font-size: 1.3rem;
    max-width: 550px;
}

.slider-content .btn {
    text-shadow: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.slider-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ============================================ */
/* أزرار التحكم - تصميم محسن */
/* ============================================ */

/* تنسيق الأزرار بشكل عام */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 90%;
    transform: translateY(-50%);
    width: 60px;

    height: 60px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center ;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* إظهار الأزرار عند التمرير */
.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

/* مكان الأزرار */
.carousel-control-prev {
    right: 85%;
}

.carousel-control-next {
    left: 5%;
}

/* تأثير hover على الأزرار */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* أيقونات الأزرار */
.carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
    transform: scale(1.1);
}

/* ============================================ */
/* تأثير التكبير البطيء */
/* ============================================ */
.carousel-item .slide-bg {
    transform: scale(1);
    transition: transform 8s ease;
}

.carousel-item.active .slide-bg {
    animation: zoomSlow 10s ease forwards;
}

@keyframes zoomSlow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* ============================================ */
/* استجابة السلايدر */
/* ============================================ */

/* شاشات كبيرة */
@media (max-width: 1200px) {
    .hero-slider {
        height: 90vh;
        min-height: 450px;
    }
}

/* شاشات متوسطة */
@media (max-width: 992px) {
    .hero-slider {
        height: 80vh;
        min-height: 400px;
    }
    
    .slider-content h1,
    .slider-content h2 {
        font-size: 2.8rem;
    }
    
    .slider-content .lead {
        font-size: 1.1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 20px;
    }
    
    .carousel-control-next {
        right: 20px;
    }
}

/* شاشات صغيرة */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 350px;
        max-height: 600px;
    }
    
    .slider-content h1,
    .slider-content h2 {
        font-size: 2rem;
    }
    
    .slider-content .lead {
        font-size: 0.95rem;
    }
    
    .slider-content .btn-lg {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        opacity: 0.6;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .carousel-control-icon {
        font-size: 18px;
    }
    
    .carousel-indicators {
        bottom: 25px;
        gap: 6px;
    }
    
    .carousel-indicators button {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicators button.active {
        width: 30px;
    }
}

/* شاشات صغيرة جداً */
@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 300px;
        max-height: 500px;
    }
    
    .slider-content {
        padding: 15px 0;
    }
    
    .slider-content h1,
    .slider-content h2 {
        font-size: 1.6rem;
    }
    
    .slider-content .lead {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .slider-content .btn-lg {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        opacity: 0.4;
        border-width: 1px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-control-icon {
        font-size: 14px;
    }
    
    .carousel-indicators {
        bottom: 15px;
        gap: 4px;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
    
    .carousel-indicators button.active {
        width: 20px;
    }
}

/* هواتف صغيرة جداً */
@media (max-width: 400px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
        opacity: 0.3;
    }
    
    .carousel-control-prev {
        left: 5px;
    }
    
    .carousel-control-next {
        right: 5px;
    }
    
    .carousel-control-icon {
        font-size: 12px;
    }
}

/* ============================================ */
/* صورة افتراضية إذا لم توجد الصور */
/* ============================================ */
.slide-bg:not([style*="background-image"]) {
    background: linear-gradient(135deg, #1a2a6c, #2d4373, #4a6fa5);
}

.slide-bg:not([style*="background-image"]) .slide-overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================ */
/* دعم المتصفحات */
/* ============================================ */
@supports not (backdrop-filter: blur(8px)) {
    .carousel-control-prev,
    .carousel-control-next {
        background: rgba(0, 0, 0, 0.4);
    }
}

/* ============================================ */
/* سكشن الترحيب الجاذب */
/* ============================================ */
.welcome-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 20s ease-in-out infinite;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.05); }
}

.welcome-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.welcome-badge i {
    margin-left: 6px;
}

.welcome-content h2 span {
    position: relative;
}

.welcome-content h2 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #d4af37;
    border-radius: 2px;
}

.feature-item {
    padding: 8px 12px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(-5px);
}

.feature-item i {
    font-size: 18px;
}

.welcome-image .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.welcome-image .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 20px;
}

/* ====== البطاقات العائمة ====== */
.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: floatCard 3s ease-in-out infinite;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.floating-card-1 {
    top: 10%;
    left: -15%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 1s;
}

.floating-card-3 {
    top: 50%;
    left: -5%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card small {
    font-size: 12px;
}

.floating-card .fw-bold {
    font-size: 16px;
    margin-bottom: 0;
}

/* ============================================ */
/* استجابة السكشن */
/* ============================================ */
@media (max-width: 992px) {
    .floating-card {
        display: none;
    }
    
    .welcome-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .welcome-content h2 {
        font-size: 1.8rem;
    }
    
    .welcome-content .lead {
        font-size: 0.95rem;
    }
    
    .welcome-buttons .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .welcome-image img {
        height: 250px !important;
    }
    
    .feature-item {
        padding: 6px 10px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .welcome-content h2 {
        font-size: 1.5rem;
    }
    
    .welcome-badge {
        font-size: 12px;
        padding: 4px 14px;
    }
    
    .welcome-image img {
        height: 200px !important;
    }
    
    .feature-item {
        font-size: 13px;
        padding: 4px 8px;
    }
}



/* ============================================ */
/* ============================================ */
/* سكشن فيسبوك - تجاوب مع الهواتف */
/* ============================================ */

.facebook-section {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
    position: relative;
    overflow: hidden;
}

/* ====== إحصائيات فيسبوك ====== */
.facebook-stats .stat-item {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.facebook-stats .stat-item:first-child {
    border-left: none;
    padding-left: 0;
}

.facebook-stats .stat-item .display-6 {
    font-size: 2rem;
    font-weight: 700;
}

/* ====== Facebook Plugin ====== */
.facebook-plugin-wrapper {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facebook-plugin-wrapper .fb-page {
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
}

.facebook-plugin-wrapper .fb-page span {
    width: 100% !important;
}

.facebook-plugin-wrapper .fb-page iframe {
    width: 100% !important;
    border-radius: 12px !important;
}

/* ============================================ */
/* استجابة سكشن فيسبوك */
/* ============================================ */

/* شاشات متوسطة (تابلت) */
@media (max-width: 992px) {
    .facebook-plugin-wrapper {
        margin-top: 30px;
        padding: 12px;
        min-height: 350px;
    }
    
    .facebook-plugin-wrapper .fb-page {
        max-width: 100% !important;
    }
    
    .facebook-content h2 {
        font-size: 2.2rem;
    }
    
    .facebook-stats .stat-item .display-6 {
        font-size: 1.8rem;
    }
}

/* شاشات صغيرة (هواتف) */
@media (max-width: 768px) {
    .facebook-section {
        padding: 40px 0 !important;
    }
    
    .facebook-content {
        text-align: center;
    }
    
    .facebook-content h2 {
        font-size: 1.8rem;
    }
    
    .facebook-content .lead {
        font-size: 0.95rem;
    }
    
    .facebook-icon i {
        font-size: 45px !important;
    }
    
    .facebook-stats {
        justify-content: center;
        gap: 15px !important;
        flex-wrap: wrap;
    }
    
    .facebook-stats .stat-item {
        border-left: none;
        padding-left: 0;
        text-align: center;
        flex: 0 0 30%;
    }
    
    .facebook-stats .stat-item .display-6 {
        font-size: 1.5rem;
    }
    
    .facebook-stats .stat-item small {
        font-size: 12px;
    }
    
    .facebook-content .btn-lg {
        font-size: 0.95rem;
        padding: 10px 25px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .facebook-plugin-wrapper {
        padding: 10px;
        min-height: 300px;
        border-radius: 12px;
        margin-top: 25px;
    }
    
    .facebook-plugin-wrapper .fb-page {
        height: 400px !important;
    }
}

/* شاشات صغيرة جداً */
@media (max-width: 576px) {
    .facebook-section {
        padding: 30px 0 !important;
    }
    
    .facebook-content h2 {
        font-size: 1.5rem;
    }
    
    .facebook-content .lead {
        font-size: 0.85rem;
    }
    
    .facebook-icon i {
        font-size: 35px !important;
    }
    
    .facebook-stats .stat-item .display-6 {
        font-size: 1.2rem;
    }
    
    .facebook-stats .stat-item small {
        font-size: 10px;
    }
    
    .facebook-stats {
        gap: 10px !important;
    }
    
    .facebook-stats .stat-item {
        flex: 0 0 28%;
    }
    
    .facebook-content .btn-lg {
        font-size: 0.85rem;
        padding: 8px 20px;
        max-width: 220px;
    }
    
    .facebook-plugin-wrapper {
        padding: 6px;
        min-height: 250px;
        border-radius: 10px;
        margin-top: 20px;
    }
    
    .facebook-plugin-wrapper .fb-page {
        height: 320px !important;
    }
}

/* هواتف صغيرة جداً (أقل من 400px) */
@media (max-width: 400px) {
    .facebook-stats .stat-item {
        flex: 0 0 25%;
    }
    
    .facebook-stats .stat-item .display-6 {
        font-size: 1rem;
    }
    
    .facebook-stats .stat-item small {
        font-size: 9px;
    }
    
    .facebook-content h2 {
        font-size: 1.3rem;
    }
    
    .facebook-plugin-wrapper .fb-page {
        height: 280px !important;
    }
}

/* ============================================ */
/* أيقونات فيسبوك العائمة (زينة) */
/* ============================================ */
.facebook-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: floatBubble 25s ease-in-out infinite;
    pointer-events: none;
}

.facebook-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    animation: floatBubble 20s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.05); }
}
/* ============================================ */
/* قسم التواصل - بخلفية صورة فخمة */
/* ============================================ */
.cta-section {
position: relative;
background: linear-gradient(135deg, rgba(26, 26, 46, 0.92), rgba(15, 52, 96, 0.92)), 
            url("{{ asset('../images/cta-bg.jpg') }}");
background-size: cover;
background-position: center;
background-attachment: fixed;
    padding: 80px 0;
    overflow: hidden;
    border-radius: 30px;
    margin: 0 15px;
}

/* طبقة تأثير إضافية */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* زخرفة خلفية */
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 30s ease-in-out infinite;
}

/* شارة القسم */
.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-badge i {
    margin-left: 8px;
}

/* النصوص */
.cta-content h2 {
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.cta-content .lead {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.cta-content h2 span {
    position: relative;
}

.cta-content h2 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    background: #d4af37;
    border-radius: 2px;
}

/* ميزات القسم */
.cta-features .cta-feature {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s;
}

.cta-features .cta-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* زر التواصل */
.cta-btn {
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.3);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.5);
}

/* ====== أيقونة رئيسية ====== */
.cta-icon-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-icon-circle {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: pulse 3s ease-in-out infinite;
    position: relative;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(212, 175, 55, 0.1); }
    50% { transform: scale(1.05); box-shadow: 0 0 80px rgba(212, 175, 55, 0.2); }
}

/* ====== أيقونات عائمة ====== */
.cta-floating-icons .float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: floatIcon 4s ease-in-out infinite;
}

.float-icon-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
    background: rgba(255, 193, 7, 0.2);
}

.float-icon-2 {
    bottom: -10px;
    left: -30px;
    animation-delay: 1.5s;
    background: rgba(13, 110, 253, 0.2);
}

.float-icon-3 {
    top: 50%;
    right: -40px;
    animation-delay: 3s;
    background: rgba(40, 167, 69, 0.2);
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

/* ============================================ */
/* استجابة القسم */
/* ============================================ */
@media (max-width: 992px) {
    .cta-section {
        padding: 60px 0;
        border-radius: 20px;
        margin: 0 10px;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-icon-circle {
        width: 150px;
        height: 150px;
    }
    
    .cta-icon-circle i {
        font-size: 60px !important;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
        border-radius: 15px;
        margin: 0 5px;
        background-attachment: scroll;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content .lead {
        font-size: 1rem;
    }
    
    .cta-features .cta-feature {
        font-size: 13px;
        padding: 5px 15px;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .cta-floating-icons .float-icon {
        display: none;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 40px 0;
        border-radius: 10px;
        margin: 0;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-badge {
        font-size: 12px;
        padding: 5px 16px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 8px !important;
    }
    
    .cta-features .cta-feature {
        width: 100%;
        justify-content: center;
        font-size: 13px;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
.cta-section::after {
 
    pointer-events: none; 
}
/* ============================================ */
/* بطاقات الشيوخ - تصميم جديد */
/* ============================================ */
.scholar-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    padding-bottom: 20px;
}

.scholar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.scholar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 20px auto 0;
    overflow: hidden;
    border: 4px solid #f0f0f0;
    transition: border-color 0.3s;
}

.scholar-card:hover .scholar-image {
    border-color: #d4af37;
}

.scholar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scholar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
}

.scholar-info {
    padding: 15px 20px;
}

.scholar-info h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a2e;
}

.scholar-specialization {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.scholar-bio {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 10px;
    min-height: 40px;
}

.scholar-stats {
    margin-top: 8px;
}

.btn-gold {
    background: linear-gradient(135deg, #b8860b, #d4af37, #ffd700);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: #fff;
}

.btn-gold-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
}


/* ============================================ */
/* سكشن قناة واتساب */
/* ============================================ */
.whatsapp-section {
    background: linear-gradient(135deg, #075E54, #128C7E, #25D366);
    position: relative;
    overflow: hidden;
}

.whatsapp-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: floatBubble 25s ease-in-out infinite;
    pointer-events: none;
}

.whatsapp-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    animation: floatBubble 20s ease-in-out infinite reverse;
    pointer-events: none;
}

.whatsapp-features .feature-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    width: auto;
}

.whatsapp-features .feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.whatsapp-stats .stat-item {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.whatsapp-stats .stat-item:first-child {
    border-left: none;
    padding-left: 0;
}

.whatsapp-btn {
    background: #fff;
    color: #075E54;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: #f0f2f5;
    color: #075E54;
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

/* ====== معاينة القناة ====== */
.whatsapp-preview .preview-card {
    transform: rotate(-2deg);
    transition: transform 0.3s;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-preview .preview-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.whatsapp-preview .preview-avatar {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-preview .preview-message {
    background: #f0f9f4 !important;
    border-right: 3px solid #25D366;
    max-width: 90%;
    margin-right: auto;
}

/* ============================================ */
/* استجابة سكشن واتساب */
/* ============================================ */
@media (max-width: 992px) {
    .whatsapp-features .feature-item {
        width: 100%;
        justify-content: center;
    }
    
    .whatsapp-stats .stat-item .display-6 {
        font-size: 1.8rem;
    }
    
    .whatsapp-preview .preview-card {
        transform: rotate(0deg);
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .whatsapp-section {
        padding: 40px 0 !important;
    }
    
    .whatsapp-content h2 {
        font-size: 1.8rem;
    }
    
    .whatsapp-content .lead {
        font-size: 0.95rem;
    }
    
    .whatsapp-icon i {
        font-size: 45px !important;
    }
    
    .whatsapp-stats {
        justify-content: center;
        gap: 15px !important;
        flex-wrap: wrap;
    }
    
    .whatsapp-stats .stat-item {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }
    
    .whatsapp-stats .stat-item .display-6 {
        font-size: 1.5rem;
    }
    
    .whatsapp-content .btn-lg {
        font-size: 0.95rem;
        padding: 10px 25px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }
    
    .whatsapp-features .feature-item {
        font-size: 0.9rem;
        padding: 6px 14px;
    }
}

@media (max-width: 576px) {
    .whatsapp-section {
        padding: 30px 0 !important;
    }
    
    .whatsapp-content h2 {
        font-size: 1.5rem;
    }
    
    .whatsapp-content .lead {
        font-size: 0.85rem;
    }
    
    .whatsapp-icon i {
        font-size: 35px !important;
    }
    
    .whatsapp-stats .stat-item .display-6 {
        font-size: 1.2rem;
    }
    
    .whatsapp-features .feature-item {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .whatsapp-preview .preview-card {
        padding: 15px !important;
    }
    
    .whatsapp-preview .preview-message {
        padding: 10px !important;
    }
    
    .whatsapp-preview .preview-message p {
        font-size: 0.8rem !important;
    }
}

/* ============================================ */
/* سكشن قناة يوتيوب - أزرق، أحمر، برتقالي */
/* ============================================ */
.youtube-section {
    background: linear-gradient(135deg, #0a1628, #1a2a6c, #2d4373);
    position: relative;
    overflow: hidden;
    border-top: 4px solid #FF6B00;
    border-bottom: 4px solid #FF6B00;
}

/* تأثيرات الخلفية */
.youtube-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 25s ease-in-out infinite;
    pointer-events: none;
}

.youtube-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 20s ease-in-out infinite reverse;
    pointer-events: none;
}

/* أيقونة يوتيوب */
.youtube-icon .icon-wrapper {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    padding: 15px 25px;
    border-radius: 16px;
    border: 2px solid rgba(255, 107, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.1);
}

.youtube-icon .icon-wrapper i {
    font-size: 50px;
    color: #FF6B00;
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.3));
}

/* المميزات */
.youtube-features .feature-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.youtube-features .feature-item:hover {
    background: rgba(255, 107, 0, 0.1);
    transform: translateX(8px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.05);
}

/* الإحصائيات */
.youtube-stats .stat-item {
    border-left: 2px solid rgba(255, 107, 0, 0.2);
    padding-left: 20px;
}

.youtube-stats .stat-item:first-child {
    border-left: none;
    padding-left: 0;
}

.youtube-stats .stat-item .display-6 {
    font-size: 2rem;
    font-weight: 700;
    color: #FF6B00;
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.1);
}

.youtube-stats .stat-item small {
    color: #a0b4d0;
}

/* زر الاشتراك */
.youtube-btn {
    background: linear-gradient(135deg, #FF0000, #FF6B00);
    color: #fff;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(255, 107, 0, 0.3);
    padding: 14px 35px;
    border-radius: 50px;
    border: none;
}

.youtube-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 50px rgba(255, 107, 0, 0.4);
    color: #fff;
    background: linear-gradient(135deg, #cc0000, #e65c00);
}

.youtube-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.youtube-btn:hover i {
    transform: scale(1.1);
}

/* ====== معاينة الفيديو ====== */
.youtube-preview .preview-card {
    background: #ffffff !important;
    border: 1px solid rgba(26, 42, 108, 0.1);
    border-radius: 16px !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.youtube-preview .preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 42, 108, 0.2);
    border-color: rgba(255, 107, 0, 0.2);
}

.preview-header .preview-avatar {
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.preview-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.preview-thumbnail i {
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.3));
}

.preview-card:hover .preview-thumbnail i {
    transform: scale(1.15);
}

.preview-actions span {
    cursor: pointer;
    transition: color 0.3s;
}

.preview-actions span:hover {
    color: #FF6B00 !important;
}

.preview-actions span:hover i {
    color: #FF6B00 !important;
}

/* ============================================ */
/* استجابة سكشن يوتيوب */
/* ============================================ */
@media (max-width: 992px) {
    .youtube-features .feature-item {
        font-size: 0.95rem;
        padding: 8px 16px;
    }
    
    .youtube-stats .stat-item .display-6 {
        font-size: 1.8rem;
    }
    
    .youtube-preview .preview-card {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .youtube-section {
        padding: 40px 0 !important;
    }
    
    .youtube-content h2 {
        font-size: 1.8rem;
    }
    
    .youtube-content .lead {
        font-size: 0.95rem;
    }
    
    .youtube-icon .icon-wrapper {
        padding: 12px 20px;
    }
    
    .youtube-icon .icon-wrapper i {
        font-size: 40px;
    }
    
    .youtube-stats {
        justify-content: center;
        gap: 15px !important;
        flex-wrap: wrap;
    }
    
    .youtube-stats .stat-item {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }
    
    .youtube-stats .stat-item .display-6 {
        font-size: 1.5rem;
    }
    
    .youtube-content .btn-lg {
        font-size: 0.95rem;
        padding: 12px 25px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }
    
    .youtube-features .feature-item {
        font-size: 0.9rem;
        padding: 8px 14px;
    }
}

@media (max-width: 576px) {
    .youtube-section {
        padding: 30px 0 !important;
        border-width: 2px;
    }
    
    .youtube-content h2 {
        font-size: 1.5rem;
    }
    
    .youtube-content .lead {
        font-size: 0.85rem;
    }
    
    .youtube-icon .icon-wrapper {
        padding: 10px 16px;
    }
    
    .youtube-icon .icon-wrapper i {
        font-size: 32px;
    }
    
    .youtube-stats .stat-item .display-6 {
        font-size: 1.2rem;
    }
    
    .youtube-features .feature-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .youtube-preview .preview-card {
        padding: 15px !important;
    }
    
    .youtube-preview .preview-thumbnail {
        height: 130px !important;
    }
    
    .youtube-preview .preview-thumbnail i {
        font-size: 50px !important;
    }
}

/* ============================================ */
/* سكشن جاذب عام - بطاقات الترحيب */
/* ============================================ */
/* سكشن جاذب عام - بطاقات الترحيب */
/* ============================================ */
.hero-welcome-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* ====== البطاقات ====== */
.welcome-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px 30px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.08);
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d4af37, #ffd700, #b8860b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.welcome-card:hover::before {
    opacity: 1;
}

.welcome-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}

/* ====== أيقونات البطاقات ====== */
.welcome-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    font-size: 32px;
    color: #fff;
    margin-bottom: 18px;
    transition: all 0.4s ease;
    position: relative;
}

.welcome-card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.15;
    transform: scale(1);
    transition: transform 0.4s ease;
}

.welcome-card:hover .welcome-card-icon::after {
    transform: scale(1.3);
}

/* ألوان البطاقات */
.welcome-card-1 .welcome-card-icon {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.welcome-card-2 .welcome-card-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* بطاقة الأخبار - لون جديد */
.welcome-card-3 .welcome-card-icon {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.3);
}

.welcome-card-4 .welcome-card-icon {
    background: linear-gradient(135deg, #0d6efd, #4a6fa5);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

/* ====== محتوى البطاقات ====== */
.welcome-card h4 {
    font-weight: 700;
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.welcome-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* ====== أزرار البطاقات ====== */
.welcome-btn {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.welcome-btn:hover {
    background: #d4af37;
    color: #fff;
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.welcome-btn i {
    transition: transform 0.3s ease;
    margin-right: 5px;
}

.welcome-btn:hover i {
    transform: translateX(-5px);
}

/* ====== شارات الأعداد ====== */
.welcome-card-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.welcome-card:hover .welcome-card-badge {
    transform: scale(1.1);
}

/* ============================================ */
/* استجابة السكشن */
/* ============================================ */
@media (max-width: 992px) {
    .welcome-card {
        min-height: 250px;
        padding: 30px 20px;
    }
    
    .welcome-card-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero-welcome-section {
        padding: 40px 0;
    }
    
    .welcome-card {
        min-height: auto;
        padding: 25px 20px;
    }
    
    .welcome-card h4 {
        font-size: 1.1rem;
    }
    
    .welcome-card p {
        font-size: 0.85rem;
    }
    
    .welcome-card-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .welcome-btn {
        font-size: 0.8rem;
        padding: 6px 18px;
    }
    
    .welcome-card-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
}

@media (max-width: 576px) {
    .welcome-card {
        padding: 20px 15px;
    }
    
    .welcome-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .welcome-card h4 {
        font-size: 1rem;
    }
}