        :root {
            --primary-color: #006b62;
            --secondary-color: #81C784;
            --accent-color: #FFB74D;
            --text-dark: #212121;
            --bg-light: #F5F5F5;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
        }
        
        /* Top Bar */
        .top-bar {
            background-color: var(--primary-color);
            color: white;
            padding: 10px 0;
            font-size: 14px;
        }
        
        .social-icons a {
            color: white;
            margin: 0 10px;
            font-size: 18px;
            transition: transform 0.3s;
        }
        
        .social-icons a:hover {
            transform: scale(1.2);
        }
        
        /* Navigation */
        .navbar {
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 0;
        }
        
        .navbar-brand img {
            height: 60px;
        }
        
        .navbar-nav .nav-link {
            color: var(--text-dark);
            font-weight: 500;
            padding: 15px 20px;
            transition: all 0.3s;
        }
        
        .navbar-nav .nav-link:hover {
            background-color: var(--secondary-color);
            color: white;
        }
        
        .dropdown-menu {
            border: none;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .dropdown-item {
            padding: 10px 20px;
            transition: all 0.3s;
        }
        
        .dropdown-item:hover {
            background-color: var(--secondary-color);
            color: white;
        }
        
        /* Banner */
        .banner {
            position: relative;
            overflow: hidden;
    
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }
        
        .banner img {
            width: 100%;
             object-fit: cover;
        }
        .banner a {
            width: 100%;
             object-fit: cover;
           
          
        }
        .banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.4);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .banner-content {
            text-align: center;
            color: white;
        }
        
        .banner-content h1 {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 20px;
            animation: fadeInUp 1s;
        }
        
        .banner-content p {
            font-size: 1.5rem;
            animation: fadeInUp 1s 0.3s both;
        }
        
        /* Main Slideshow */
        .main-slideshow {
            margin: 40px 0;
            height: 500px;
            width: 100%;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s;
        }
        
        .slide.active {
            opacity: 1;
        }
        
        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .slideshow-controls {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }
        
        .slide-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .slide-dot.active {
            background-color: white;
            transform: scale(1.3);
        }
        
        /* Book Slideshow */
        .book-container {
            margin: 60px auto;
            max-width: 900px;
            perspective: 1500px;
        }
        
        .book {
            position: relative;
            width: 100%;
            height: 600px;
            transform-style: preserve-3d;
            transition: transform 0.6s;
            display: flex;
            justify-content: center;
        }
        
        .page {
            position: absolute;
            width: 50%;
            height: 100%;
            background: white;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            overflow: hidden;
        }
        
        .page-left {
            left: 0;
            border-radius: 10px 0 0 10px;
        }
        
        .page-right {
            right: 0;
            border-radius: 0 10px 10px 0;
        }
        
        .page img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background-color: white;
        }
        
        .book-controls {
            text-align: center;
            margin-top: 30px;
        }
        
        .book-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 10px 30px;
            margin: 0 10px;
            border-radius: 25px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .book-btn:hover {
            background-color: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        /* Activities Section */
        .activities-section {
            padding: 60px 0;
            background-color: white;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 50px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        .activity-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s;
            height: 100%;
        }
        
        .activity-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .activity-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .activity-content {
            padding: 20px;
        }
        
        .activity-title {
            font-size: 1.3rem;
            color: var(--primary-color);
            margin-bottom: 10px;
            font-weight: bold;
        }
        
        .activity-desc {
            color: #666;
            line-height: 1.6;
        }
        
        /* Statistics Section */
        .stats-section {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            padding: 80px 0;
            color: white;
        }
        
        .stat-item {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .stat-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            animation: bounce 2s infinite;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 10px;
            counter-reset: stat-counter;
        }
        
        .stat-label {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        /* Footer */
        footer {
            background-color: #1a1a1a;
            color: white;
            padding: 40px 0 20px;
            text-align: center;
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            /* Banner */
           
            
            .banner-content h1 {
                font-size: 1.5rem;
            }
            
            .banner-content p {
                font-size: 1rem;
            }
            
            /* Main Slideshow */
            .main-slideshow {
                height: 300px;
                margin: 20px 0;
            }
            
            .slideshow-controls {
                bottom: 10px;
            }
            
            .slide-dot {
                width: 10px;
                height: 10px;
            }
            
            /* Navigation */
            .navbar-brand img {
                height: 45px;
            }
            
            /* Stats */
            .stat-number {
                font-size: 2rem;
            }
            
            .stat-icon {
                font-size: 2.5rem;
            }
            
            /* Activities */
            .activity-card {
                margin-bottom: 20px;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 576px) {
            /* Top Bar */
            .top-bar {
                font-size: 12px;
            }
            
            .social-icons a {
                font-size: 16px;
                margin: 0 5px;
            }
            
            
            .banner-content h1 {
                font-size: 1.2rem;
                margin-bottom: 10px;
            }
            
            .banner-content p {
                font-size: 0.9rem;
            }
            
            /* Main Slideshow */
            .main-slideshow {
                height: 250px;
                border-radius: 5px;
            }
            
            /* Book */
            .book-container {
                margin: 30px auto;
                padding: 0 10px;
            }
            
            .book {
                height: 400px;
            }
            
            /* Stats */
            .stats-section {
                padding: 40px 0;
            }
            
            .stat-item {
                margin-bottom: 20px;
            }
            html {
        font-size: 14px;
            }
        }
        /* إضافات CSS لتحسين التوافق مع الأجهزة المحمولة */


/* إصلاح القائمة المنسدلة على الجوال */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-top: 10px;
        border-radius: 5px;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        background-color: #f8f9fa;
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
}

/* تحسين عرض الكتاب على الجوال */
@media (max-width: 576px) {
    .book-container {
        padding: 0 15px;
    }
    
    .book {
        height: 250px;
    }
    
    .page img {
        object-fit: cover;
        padding: 10px;
    }
    
    /* إظهار مؤشر السحب */
    .book::after {
        content: '← اسحب للتنقل →';
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;
        color: #666;
        white-space: nowrap;
    }
}

/* تحسين الأداء على الأجهزة البطيئة */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    overflow-x: hidden;
}

.container-fluid {
    overflow-x: hidden;
}

/* تحسين أحجام الصور للجوال */
@media (max-width: 768px) {
    .banner img {
        object-position: center center;
    }
    
    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }
    
    .activity-card img {
        height: 150px;
    }
}

/* تحسين أحجام الصور للجوال */
@media (max-width: 1366px) {
    .banner img {
        object-position: center center;
    }
    
    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }
    
    .activity-card img {
        height: 150px;
    }
}

/* إصلاح أزرار الكتاب على الجوال */
@media (max-width: 480px) {
    .book-btn {
        padding: 6px 15px;
        font-size: 13px;
        margin: 0 3px;
    }
    
    .book-btn i {
        font-size: 12px;
    }
}

/* تحسين المسافات على الجوال */
@media (max-width: 576px) {
    .activities-section {
        padding: 30px 0;
    }
    
    .stats-section {
        padding: 30px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
        font-size: 1.8rem;
    }
    
    .activity-content {
        padding: 15px;
    }
    
    .activity-title {
        font-size: 1.1rem;
    }
    
    .activity-desc {
        font-size: 0.9rem;
    }
}

/* تحسين الأداء بإخفاء العناصر غير المرئية */
.slide:not(.active) {
    visibility: hidden;
}

/* إضافة مؤشرات بصرية للتفاعل */
.book-btn:active {
    transform: scale(0.95);
}

@media (hover: none) {
    .book-btn:hover {
        transform: none;
    }
}

/* تحسين قابلية القراءة على الشاشات الصغيرة */
@media (max-width: 480px) {
    .banner-content h1 {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    
    .banner-content p {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
}