  /* ======================================
   Color Variables
   ====================================== */
:root {
    /* Primary Brand Colors */
    --primary-green: #28a745;
    --primary-green-hover: #218838;
    --primary-green-dark: #45a049;
    --primary-text: #0e0c41;
    --primary-text-secondary: #0e0c41c2;
    
    /* Background Colors */
    --main-bg: rgb(242, 239, 227);
    --secondary-bg: #f8f6f3;
    --white-bg: #ffffff;
    --card-bg: #f8f6f3;
    
    /* Text Colors */
    --text-dark: #333;
    --text-medium: #2c3e50;
    --text-light: #7f8c8d;
    --text-muted: #b8c5d1;
    --text-white: #ffffff;
    --text-black: #000;
    --text-placeholder: #999;
    
    /* Accent Colors */
    --accent-orange: rgb(237, 111, 45);
    --accent-purple: #9c27b0;
    --accent-blue: #2196F3;
    --accent-red: #FF5722;
    
    /* Gradient Colors */
    --gradient-brown-start: #ada49e;
    --gradient-brown-end: #f3f2f2;
    --gradient-green-start: #4CAF50;
    --gradient-green-end: #45a049;
    
    /* Social Media Colors */
    --telegram: #0088cc;
    --whatsapp: #25d366;
    --tiktok: #000000;
    --twitter: #000000;
    --youtube: #ff0000;
    --instagram: #E4405F;
    
    /* State Colors */
    --success: #4CAF50;
    --success-bg: #e8f5e8;
    --info: #2196F3;
    --info-bg: #e3f2fd;
    --warning: #FF5722;
    --warning-bg: #fbe9e7;
    --error: #f44336;
    --error-bg: #ffebee;
    
    /* Footer Colors */
    --footer-bg: #1a2332;
    --footer-border: #2a3441;
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --shadow-brown: rgba(139, 69, 19, 0.1);
    --shadow-brown-hover: rgba(139, 69, 19, 0.2);
    --shadow-white: rgba(255, 255, 255, 0.1);
    --shadow-green: rgba(25, 135, 84, 0.2);
    
    /* Border Colors */
    --border-light: rgba(0, 0, 0, 0.05);
    --border-medium: rgba(0, 0, 0, 0.1);
    --border-dark: rgba(0, 0, 0, 0.15);
    
    /* Transition */
    --transition: all 0.5s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
}

/* ======================================
   Global Styles
   ====================================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--secondary-bg);
    direction: rtl;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: var(--primary-green);
    color: var(--text-white);
}

::-moz-selection {
    background: var(--primary-green);
    color: var(--text-white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-hover);
}

/* ======================================
   Typography
   ====================================== */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-medium);
}

p {
    margin: 0 0 1rem 0;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-green-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ======================================
   Loading Spinner
   ====================================== */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ======================================
   Back to Top Button
   ====================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 15px var(--shadow-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-green);
}

/* ======================================
   Animation Classes
   ====================================== */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ======================================
   Section Headers
   ====================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-medium);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* ======================================
   Empty States
   ====================================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
    background: var(--white-bg);
    border-radius: 20px;
    margin: 20px 0;
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 15px;
    font-weight: 600;
}

.empty-state p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ======================================
   Badges
   ====================================== */
.course-badge,
.book-badge,
.article-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(10px);
}
.exam-badge  {
    position: absolute;
    top: 15px;
    /*right: 15px;*/
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    /*backdrop-filter: blur(10px);*/
}

.free-badge {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid var(--success);
}

.discount-badge {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.article-badge {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
}

/* ======================================
   Meta Items
   ====================================== */
.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    white-space: nowrap;
}

.meta-item i {
    font-size: 0.8rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

/* ======================================
   Placeholder Icons
   ====================================== */
.placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-brown-start) 0%, var(--gradient-brown-end) 100%);
    color: var(--text-white);
    font-size: 3rem;
    transition: var(--transition);
}

.placeholder-icon:hover {
    background: linear-gradient(135deg, var(--gradient-brown-end) 0%, var(--gradient-brown-start) 100%);
}

/* ======================================
   Button Styles
   ====================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--text-white);
    box-shadow: 0 4px 15px var(--shadow-green);
    /*border: 2px solid transparent;*/
}

.btn-primary:hover {
    background: var(--primary-green-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-green);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}
 
  /* ======================================
   Header & Navigation
   ====================================== */
    .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* ✅ أقل من الـ modal */
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    background-color: var(--white-bg) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
     --bs-navbar-padding-y: 1rem;
}
 
.navbar.scrolled {
    --bs-navbar-padding-y: 0.5rem;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);

}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-dark) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
}

  
.nav-link:hover {
    color: var(--primary-green) !important;
}

 .authButtons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* زرار أساسي */
.btn {
    display: inline-block;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

/* تسجيل الدخول - Outline */
.login-btn {
    color: var(--primary-green);
    background: transparent;
    border: 1px solid var(--primary-green);
}

.login-btn:hover {
    background: var(--primary-green);
    color: var(--text-white);
}

/* إنشاء حساب - Filled */
.create-account-btn {
    background: var(--primary-green);
    color: var(--text-white);
    border: 1px solid var(--primary-green);
}

.create-account-btn:hover {
    background: var(--primary-green-hover);
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}
/*********************************/
 /* User Dropdown Styles */
    .authButtons {
    display: flex;
    align-items: center;
    gap: 15px;
}

 

/* قائمة المستخدم المنسدلة */
.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    /*background: #f8f9fa;*/
    /*border: 1px solid #e9ecef;*/
    /*border-radius: 50px;*/
    padding: 6px 15px 6px 6px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    /*min-width: 140px;*/
}

.user-dropdown-toggle:hover {
    /*background: #e9ecef;*/
    /*border-color: #dee2e6;*/
    /*color: #495057;*/
    text-decoration: none;
    transform: translateY(-1px);
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
}

/* Avatar المستخدم */
.user-avatar {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green-hover) 0%,  var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* اسم المستخدم */
.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

 .dropdown-arrow {
    color: #333; /* أو أي لون واضح */
    font-size: 1rem;
}


.user-dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

/* القائمة المنسدلة - السلوك الطبيعي للشاشات الكبيرة */
.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 8px 0;
    margin-top: 8px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-dropdown.show .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* عناصر القائمة */
.dropdown-item-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: right;
}

.dropdown-item-custom:hover {
    background-color: #f8f9fa;
    color: var(--primary-green);
    text-decoration: none;
}

.dropdown-item-custom i {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

/* عنصر تسجيل الخروج */
.logout-item {
    color: #dc3545 !important;
    border-top: 1px solid #e9ecef;
    margin-top: 8px;
    padding-top: 16px;
}

.logout-item:hover {
    background-color: #fff5f5;
    color: #dc3545 !important;
}

/* الفاصل */
.dropdown-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 8px 0;
    border: none;
}

/* الأحرف الأولى للاسم */
.avatar-initials {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.user-dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .user-name {
        display: none;
    }
}

 

/* تحسينات إضافية للوصولية */
.user-dropdown-toggle:focus {
    outline: none;
     
}

.dropdown-item-custom:focus {
    outline: none;
    background-color: #f8f9fa;
}    

@media (max-width: 991px) {
    .authButtons {
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
        flex-direction: column; /* تغيير لـ column على الشاشات الصغيرة فقط */
    }
    
    /* تطبيق السلوك الجديد للقائمة المنسدلة على الشاشات الصغيرة فقط */
    .custom-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 8px;
        display: none; /* مخفية بـ display بدل opacity */
        min-width: auto;
        width: 100%;
        transition: none;
    }
    
    .user-dropdown.show .custom-dropdown-menu {
        display: block; /* تظهر بـ display: block */
    }
    
    .navbar-collapse {
        text-align: center;
        padding-top: 20px;
    }
}
        /* Popup Styles */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 10000;
            backdrop-filter: blur(5px);
        }

        .popup-overlay.show {
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.5s ease;
        }

        .popup-modal {
            background: linear-gradient(135deg, #f5f3f0 0%, rgba(255, 255, 255, 0.95) 100%);
            border-radius: 20px;
            box-shadow: 0 30px 80px rgba(0,0,0,0.3);
            max-width: 500px;
            width: 90%;
            position: relative;
            animation: popupSlide 0.5s ease;
            backdrop-filter: blur(20px);
            border: none;
        }

        .popup-header {
            text-align: center;
            padding: 2rem 2rem 1rem;
            position: relative;
        }

     .popup-overlay   .close-btn {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

      .popup-overlay   .close-btn:hover {
            background: rgba(0,0,0,0.1);
            transform: rotate(90deg);
        }

        .popup-title {
            color: var(--primary-green);
            font-size: 2rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .popup-subtitle {
            color: #666;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .popup-body {
            padding: 0 2rem 2rem;
        }

        .popup-form .form-control {
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 1rem 1.5rem;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.9);
            margin-bottom: 1rem;
        }

        .popup-form .form-control:focus {
            outline: none;
            border-color: #4a7c59;
            box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
            transform: translateY(-2px);
        }

        .popup-form .form-control::placeholder {
            color: #999;
        }

        .popup-submit {
            background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            padding: 1rem;
        }

        .popup-submit:hover {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(74, 124, 89, 0.4);
        }

        .book-icon {
            font-size: 3rem;
            color: var(--primary-green);
            margin-bottom: 1rem;
        }

        .input-icon {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
        }

        .input-group-custom {
            position: relative;
        }
 
.input-group-custom .form-control {
    padding-right: 3rem; 
    padding-left: 1rem;
}
 
input[type="email"] {
    direction: ltr;
    text-align: left;
}

 
input[type="email"]::placeholder {
    direction: rtl;
    text-align: right;
}

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes popupSlide {
            from {
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @media (max-width: 768px) {
            
            
            .popup-modal {
                margin: 1rem;
            }
            
            .popup-header,
            .popup-body {
                padding: 1.5rem;
            }
        }
/* ======================================
   Hero Section
   ====================================== */
.hero {
    background: var(--text-white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

 
.hero .content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px var(--shadow-light);
}

.hero-title .green {
    color: var(--primary-green);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title .mainText {
    color: var(--primary-text);
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-text);
}

.hero-description {
    font-size: 1.3rem;
    color: var(--primary-text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-image {
        display: flex;
    justify-content: center;
}

.hero-image img {
    /*border-radius: 20px;*/
    /*box-shadow: 0 20px 60px var(--shadow-medium);*/
    transition: var(--transition);
    max-width: 75%;
    height: auto;
}

.hero-image:hover img {
    /*transform: scale(1.02) rotate(1deg);*/
    /*box-shadow: 0 25px 80px var(--shadow-dark);*/
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--text-white);
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px var(--shadow-green);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.cta-button::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: var(--transition);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-green-hover) 0%, var(--primary-green) 100%);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-green);
}

.cta-button:hover::before {
    left: 100%;
}
 /* ======================================
   Courses Section
   ====================================== */
#courses {
    background: var(--main-bg);
    padding: 100px 0;
    position: relative;
}

.courses-content {
    margin-top: 4rem;
}

.course-card {
    background: var(--white-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
    position: relative;

    /* تعديل جديد */
    display: flex;
    flex-direction: column; /* ترتيب عمودي */
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-image {
    width:100%;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 200px;
    object-position: center;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 15px;
    /* تعديل جديد */
    display: flex;
    flex-direction: column;
    flex: 1; /* يتمدد لملء المساحة */
}

.course-title {
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-medium);
    line-height: 1.22;
    min-height: 3rem;
}

.course-description {
    color: var(--text-light);
    line-height: 1.3;
    margin-bottom: 10px;
    font-size: 0.95rem;
    min-height: 4rem;

    /* اختياري: قص النص لعدد سطور محدد */
    display: -webkit-box;
    -webkit-line-clamp: 3 !important; /* عدد السطور */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 10px; */
    flex-wrap: wrap;
    gap: 10px;
}

.course-footer {
    margin-top: auto; /* تعديل جديد: يثبت الفوتر أسفل الكارد */
    border-top: 1px solid var(--border-light);
    text-align: center;
    /* padding-top: 10px; */
}

.course-price {
    font-weight: 700;
    font-size: 1.1rem;
    margin-block: 10px; /* تم تقليل المسافة قليلاً */
}

.free-price {
    color: var(--success);
}

.current-price {
    color: var(--primary-green);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 10px;
    font-size: 0.9rem;
}

.new-price {
    color: var(--primary-green);
    font-weight: 700;
}

.course-button {
    background: var(--primary-green);
    border: none;
    color: var(--text-white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.course-button:hover {
    background: var(--primary-green-hover);
    color: var(--text-white);
    transform: translateY(-2px);
}
 /* ======================================
   Books Section (Modified)
   ====================================== */
#books {
    padding: 100px 0;
    background: var(--text-white);
    position: relative;
}

/* Book Card */
.book-card {
    background: var(--white-bg);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: var(--transition);
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
    position: relative;
    border-radius: 15px;
    /* Flex to push footer to bottom */
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 10px;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.book-card:hover::before {
    transform: scaleX(1);
}

/* Book Image */
.book-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    /*flex: 1; */
    height: 300PX;
}

.book-image img {
    width: 100%;
    height: 300px;
    object-position: center; /* يركز الجزء المهم من الصورة */
    transition: var(--transition);
}

.book-card:hover .book-image img {
    transform: scale(1.05);
}

/* Content */
.book-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1; /* يملأ الكارد ويترك الفوتر ثابت */
}

.book-title {
    font-size: 1.4rem;
    color: var(--text-medium);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    min-height: 3.5rem;
}

.book-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 0.95rem;

    /* Optional: limit lines to prevent pushing button */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Meta */
.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

/* Footer */
.book-footer {
    gap: 15px;
    margin-top: auto; /* يثبت الفوتر أسفل الكارد */
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.book-price {
    font-weight: 700;
    font-size: 1.1rem;
         margin-block: 15px;
}

/* Button */
.book-button {
    background: var(--primary-green);
    border: none;
    color: var(--text-white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.book-button:hover {
    background: var(--primary-green-hover);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* ضمان تساوي ارتفاع الكروت داخل الأعمدة */
.col-xl-4 .book-card,
.col-lg-6 .book-card,
.col-md-6 .book-card {
    height: 100%;
}


 /* ================================
   Personal Tests Section (Exams) ====================================== */
#personalTests {
    padding: 100px 0;
    background: var(--main-bg);
    position: relative;
}

.exam-card {
    background: var(--white-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: var(--transition);
    position: relative;
    height: 100%;
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
     display: flex;
    flex-direction: column;
}

.exam-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.exam-card:hover::before {
    transform: scaleX(1);
}

.exam-header {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 25px 25px 0; */
}

.exam-icon {
    width: 100%;
    height: 200px;
    /* border-radius: 50%; */
    /* background: linear-gradient(135deg,red, green); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    /* font-size: 1.5rem; */
    /* box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3); */
}
.exam-icon img{
    width: 100%;
    height: 200px;
    object-fit: fill;
}

.exam-badge span {
    padding: 6px 15px;
    display: none !important;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.exam-badge .free {
    background: var(--success-bg);
    color: var(--success);
}

.exam-badge .paid {
    background: var(--info-bg);
    color: red;
}

.exam-content {
    padding: 0 25px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* يخلي الجزء اللي فوق ياخد المساحة المتبقية */
}

.exam-title {
    font-size: 1.4rem;
    color: var(--text-medium);
    font-weight: 700;
    margin: 10px 0 10px;
    line-height: 1.4;
    min-height: 3.5rem;
}

.exam-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 0.95rem;
    min-height: 4rem;
}

.exam-meta {
    margin-bottom: 15px;
}

.meta-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.difficulty-level {
    display: flex;
    align-items: center;
    gap: 10px;
}

.difficulty-label {
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.9rem;
}

.difficulty-value {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty-value.easy {
    background: var(--success-bg);
    color: var(--success);
}

.difficulty-value.medium {
    background: var(--warning-bg);
    color: var(--warning);
}

.difficulty-value.hard {
    background: var(--error-bg);
    color: var(--error);
}

.exam-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}
 
 
 
.exam-price {
    font-weight: 700;
    font-size: 1.1rem;
}

.exam-button {
    background: var(--primary-green);
    border: none;
    color: var(--text-white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.exam-button:hover {
    background: var(--primary-green-hover);
    color: var(--text-white);
    transform: translateY(-2px);
} 
 
/* ======================================
   Articles Section
   ====================================== */
/*#articles {*/
/*    padding: 100px 0;*/
/*    background: var(--main-bg);*/
/*    position: relative;*/
/*}*/

/*.article-card {*/
/*    background: var(--white-bg);*/
 
/*    overflow: hidden;*/
/*    box-shadow: 0 8px 30px var(--shadow-light);*/
/*    transition: var(--transition);*/
/*    height: 100%;*/
/*    margin-bottom: 30px;*/
/*    border: 1px solid var(--border-light);*/
/*    position: relative;*/
/*}*/
 
/*.article-card:hover {*/
/*    transform: translateY(-10px);*/
/*    box-shadow: 0 20px 50px var(--shadow-medium);*/
/*}*/

/*.article-card:hover::before {*/
/*    transform: scaleX(1);*/
/*}*/

/*.article-image {*/
/*    width: 100%;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*.article-image img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    object-position: center;*/
/*    transition: var(--transition);*/
/*}*/

/*.article-card:hover .article-image img {*/
/*    transform: scale(1.05);*/
/*}*/

/*.article-content {*/
/*    padding: 25px;*/
/*}*/

/*.article-title {*/
/*    font-size: 1.4rem;*/
/*    color: var(--text-medium);*/
/*    font-weight: 700;*/
/*    margin-bottom: 15px;*/
/*    line-height: 1.4;*/
/*    min-height: 3.5rem;*/
/*}*/

/*.article-excerpt {*/
/*    color: var(--text-light);*/
/*    line-height: 1.7;*/
/*    margin-bottom: 20px;*/
/*    font-size: 0.95rem;*/
/*    min-height: 4rem;*/
/*}*/

/*.article-meta {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    gap: 15px;*/
/*    margin-bottom: 25px;*/
/*}*/

/*.article-footer {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    gap: 15px;*/
/*    margin-top: auto;*/
/*    padding-top: 15px;*/
/*    border-top: 1px solid var(--border-light);*/
/*}*/

/*.article-author {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 8px;*/
/*    color: var(--text-light);*/
/*    font-size: 0.9rem;*/
/*}*/

/*.article-author i {*/
/*    color: var(--primary-green);*/
/*}*/

/*.article-button {*/
/*    background: var(--primary-green);;*/
/*    border: none;*/
/*    color: var(--text-white);*/
/*    padding: 12px 25px;*/
/*    border-radius: 50px;*/
/*    font-weight: 600;*/
/*    transition: var(--transition);*/
/*    text-decoration: none;*/
/*    font-size: 0.95rem;*/
/*    white-space: nowrap;*/
/*}*/

/*.article-button:hover {*/
/*    background: var(--primary-green-hover);*/
/*    color: var(--text-white);*/
/*    transform: translateY(-2px);*/
/*}*/
 
/* ======================================
   Articles Section - Complete CSS (with fixes)
   ====================================== */
#articles {
    padding: 100px 0;
     background-color: var(--white-bg);
    position: relative;
}

/* Article Card: vertical flex container so footer sticks to bottom */
.article-card {
    background: var(--white-bg);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: var(--transition);
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
    position: relative;

    /* ADDED: ensure footer sticks to bottom */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.article-card:hover::before {
    transform: scaleX(1);
}

/* Image container: keep consistent behavior.
   If you want a fixed image area, adjust the height here. */
.article-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* optional fixed area:
       height: 220px;
       or use flex: 1 if you want it to expand */
}

/* Safe default for images: set height to a fixed value for consistent cards.
   Change 220px to desired height (200-260px typical). */
.article-image img {
    width: 100%;
    height: 220px;               /* change value if you want taller/shorter images */
    /* object-fit: cover; */
    object-position: center;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

/* Content: use flex column and allow it to grow so footer is pushed down */
.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1; /* allow content area to expand, pushing footer to bottom */
}

.article-title {
    font-size: 1.4rem;
    color: var(--text-medium);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 3.5rem;
}

/* Excerpt: clamp long text to avoid pushing footer out of alignment */
.article-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;

    display: -webkit-box;
    -webkit-line-clamp: 3; /* show up to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 4rem;
}

/* Meta */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

/* Footer stays at bottom because of flex layout */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* ensures footer sticks to the bottom */
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

/* Author and icon */
.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}
.article-author i {
    color: var(--primary-green);
}

/* Button style */
.article-button {
    background: var(--primary-green);
    border: none;
    color: var(--text-white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.article-button:hover {
    background: var(--primary-green-hover);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Ensure grid columns' cards fill available height */
.col-xl-4 .article-card,
.col-lg-6 .article-card,
.col-md-6 .article-card {
    height: 100%;
}

/* Responsive tweaks */
@media (max-width: 1200px) {
    .article-image img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    #articles { padding: 60px 0; }
    .article-image img { height: 180px; }
    .article-content { padding: 18px; }
    .article-title { font-size: 1.2rem; min-height: 3rem; }
    .article-excerpt { -webkit-line-clamp: 3; }
    .article-footer { padding-top: 12px; gap: 10px; }
}

/* ======================================
   Footer
   ====================================== */
.footer {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--footer-bg);
    color: var(--text-white);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}

.footer-section {
    background-color: var(--footer-bg);
    padding: 80px 0 50px;
    color: var(--text-white);
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-white);
    position: relative;
}

 

.footer-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding-right: 15px;
}

.footer-links a::before {
    content: '◄';
    position: absolute;
    right: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    color: var(--primary-green);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-right: 25px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--text-white);
}

.contact-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition);
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-icon.telegram {
    background-color: var(--telegram);
    color: var(--text-white);
}

.social-icon.whatsapp {
    background-color: var(--whatsapp);
    color: var(--text-white);
}

.social-icon.tiktok {
    background-color: var(--tiktok);
    color: var(--text-white);
}

.social-icon.twitter {
    background-color: var(--twitter);
    color: var(--text-white);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--text-white);
}

.social-icon.youtube {
    background-color: var(--youtube);
    color: var(--text-white);
}

.bottom-footer {
    background-color: var(--footer-bg);
    padding: 30px 0;
    border-top: 1px solid var(--footer-border);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-green);
}
/*estsharrrrrrrra*/
 .header-section {
            text-align: left;
            margin-bottom: 30px;
            color: var(--primary-text);
            font-size: 16px;
            font-weight: 600;
            padding: 15px 20px;
            background: var(--primary-green);
            color: var(--text-white);
            border-radius: 12px 12px 0 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .main-card {
            background: var(--white-bg);
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            border: 1px solid rgba(40, 167, 69, 0.1);
        }

        .profile-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 30px 0px;
            background: var(--card-bg);
            border-bottom: 1px solid rgba(40, 167, 69, 0.1);
        }

        .profile-image {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
            border: 4px solid var(--primary-green);
        }

        .profile-info h3 {
            color: var(--primary-text);
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 8px;
            text-align: center;
        }

        .profile-info .subtitle {
            color: var(--text-medium);
            font-size: 15px;
            font-weight: 500;
            background: var(--white-bg);
            padding: 8px 16px;
            border-radius: 20px;
            border: 2px solid var(--primary-green);
        }

 .progress-section {
    padding: 25px 30px;
    background: var(--white-bg);
    border-bottom: 1px solid rgba(40, 167, 69, 0.1);
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /* إزالة الـ margin علشان الـ line ياخد العرض كله */
    margin: 0;
}

.progress-line {
    position: absolute;
    top: 50%;
    /* تغيير left و right علشان الـ line يبدأ من center الـ circle الأول لـ center الـ circle الأخير */
    left: calc(50% / 4); /* نص عرض أول step */
    right: calc(50% / 4); /* نص عرض آخر step */
    height: 3px;
    background: rgba(40, 167, 69, 0.2);
    z-index: 1;
    border-radius: 2px;
    transform: translateY(-50%);
}

/* حل بديل أفضل - استخدم هذا */
.progress-line {
    position: absolute;
    top: 50%;
    /* الـ line يمتد من center أول circle لـ center آخر circle */
    left: 17.5px; /* نص عرض الـ circle (35px ÷ 2) */
    right: 17.5px; /* نص عرض الـ circle (35px ÷ 2) */
    height: 3px;
    background: rgba(40, 167, 69, 0.2);
    z-index: 1;
    border-radius: 2px;
    transform: translateY(-50%);
}

.progress-line-active {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-dark));
    width: 27%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    background: var(--white-bg);
    /* إزالة الـ padding الجانبي علشان الـ steps تكون أقرب من بعض */
    padding: 0 5px;
    /* أو إزالة الـ padding خالص */
    /* padding: 0; */
}

.step-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 14px;
    border: 3px solid var(--card-bg);
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.step-circle.completed {
    background: var(--primary-green);
    color: var(--text-white);
    border-color: var(--primary-green);
    transform: scale(1.1);
}

.step-circle.editable {
    background: var(--text-medium);
    color: var(--text-white);
    border-color: var(--text-medium);
}

.step-circle.inactive {
    background: var(--card-bg);
    border-color: rgba(40, 167, 69, 0.2);
}

.step-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* حل أكثر دقة - إذا كنت عايز الـ line يكون مضبوط تماماً */
@media screen and (min-width: 576px) {
    .progress-line {
        /* حساب دقيق للمسافة بناء على عرض الـ circles */
        left: calc((35px + 6px) / 2); /* عرض الـ circle + الـ border ÷ 2 */
        right: calc((35px + 6px) / 2);
    }
}

/* للشاشات الصغيرة */
@media screen and (max-width: 575px) {
    .progress-steps {
        margin: 0 10px;
    }
    
    .progress-step {
        padding: 0 2px;
    }
    
    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .progress-line {
        left: 15px;
        right: 15px;
    }
}
        .booking-section {
            padding: 30px;
            background: var(--white-bg);
        }

        .booking-header {
            text-align: center;
            background: var(--card-bg);
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 30px;
            border: 1px solid rgba(40, 167, 69, 0.1);
        }

        .booking-header .icon {
            color: var(--primary-green);
            margin-right: 10px;
            font-size: 18px;
        }

        .booking-header .text {
            color: var(--primary-text);
            font-size: 16px;
            font-weight: 600;
        }

        .timezone-info {
            text-align: right;
            color: var(--text-light);
            font-size: 13px;
            margin-bottom: 25px;
            padding: 10px;
            background: var(--card-bg);
            border-radius: 8px;
            border-left: 4px solid var(--primary-green);
        }

        .calendar-container {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }

        .calendar-section {
            flex: 1;
            min-width: 300px;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding: 0 10px;
        }

        .calendar-nav {
            background: var(--primary-green);
            border: none;
            color: var(--text-white);
            font-size: 20px;
            cursor: pointer;
            padding: 1px 14px;
            border-radius: 50%;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
        }

        .calendar-nav:hover {
            background: var(--primary-green-hover);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
        }

        .calendar-nav:disabled {
            background: var(--text-muted);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .calendar-title {
            color: var(--primary-text);
            font-size: 20px;
            font-weight: 700;
            text-align: center;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            border-radius: 12px;
            overflow: hidden;
            background: var(--card-bg);
            border: 1px solid rgba(40, 167, 69, 0.1);
        }

        .calendar-day-header {
            background: var(--primary-green);
            padding: 15px 8px;
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-white);
        }

        .calendar-day {
            background: var(--white-bg);
            padding: 15px 8px;
            text-align: center;
            font-size: 14px;
            cursor: pointer;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 45px;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(40, 167, 69, 0.05);
        }

        .calendar-day:hover:not(.inactive) {
            background: rgba(40, 167, 69, 0.1);
            color: var(--primary-green-dark);
            font-weight: 600;
        }

        .calendar-day.today {
            background: var(--primary-green);
            color: var(--text-white);
            font-weight: 700;
            position: relative;
        }

        .calendar-day.selected {
            background: var(--primary-green-dark);
            color: var(--text-white);
            font-weight: 700;
            box-shadow: inset 0 0 0 2px var(--white-bg);
        }

        .calendar-day.inactive {
            color: var(--text-muted);
            cursor: not-allowed;
            background: var(--card-bg);
        }

        .time-section {
            min-width: 250px;
        }

        .time-header {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--primary-text);
            text-align: center;
            padding: 15px;
            background: var(--card-bg);
            border-radius: 12px;
            border: 1px solid rgba(40, 167, 69, 0.1);
        }

        .time-slots {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .time-slot {
            background: var(--white-bg);
            border: 2px solid rgba(40, 167, 69, 0.2);
            border-radius: 12px;
            padding: 15px 20px;
            text-align: center;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            color: var(--text-medium);
            transition: all 0.3s ease;
        }

        .time-slot:hover {
            border-color: var(--primary-green);
            background: rgba(40, 167, 69, 0.05);
            color: var(--primary-green-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
        }

        .time-slot.selected {
            border-color: var(--primary-green);
            background: var(--primary-green);
            color: var(--text-white);
            font-weight: 700;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
        }

        .next-button {
            background: var(--text-muted);
            border: none;
            border-radius: 12px;
            padding: 18px;
            width: 100%;
            color: var(--text-white);
            font-size: 16px;
            font-weight: 600;
            margin-top: 30px;
            cursor: not-allowed;
            opacity: 0.6;
            transition: all 0.3s ease;
        }

        .next-button.enabled {
            cursor: pointer;
            background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
            opacity: 1;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
        }

        .next-button.enabled:hover {
            background: linear-gradient(135deg, var(--primary-green-hover), var(--primary-green));
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
        }

        .footer {
            text-align: center;
            margin-top: 20px;
            font-size: 12px;
            color: var(--text-light);
        }

        .form-container {
            margin: 0 auto;
            padding: 30px;
            border-radius: 12px;
            background: var(--white-bg);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
        }

        .form-row .form-group {
            flex: 1;
            margin-bottom: 0;
        }

        .form-row .form-group:first-child {
            flex: 0.4;
        }

        label {
            display: block;
            margin-bottom: 10px;
            color: var(--primary-text);
            font-size: 15px;
            font-weight: 600;
        }

        .required {
            color: #e74c3c;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        #note,
        select {
            width: 100%;
            padding: 15px 18px;
            border: 2px solid rgba(40, 167, 69, 0.2);
            border-radius: 12px;
            font-size: 14px;
            background-color: var(--white-bg);
            transition: all 0.3s ease;
            color: var(--text-dark);
        }

        input:focus,
        select:focus {
            outline: none;
            border-color: var(--primary-green);
            box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
            background: rgba(40, 167, 69, 0.02);
        }
        #note:focus{
             outline: none;
            border-color: var(--primary-green);
            box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
            background: rgba(40, 167, 69, 0.02);
        }

        select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328a745' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 18px;
            padding-right: 50px;
        }

        .gender-group {
            margin-top: 12px;
        }

        .radio-group {
            display: flex;
            gap: 30px;
        }

        .radio-item {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 10px 15px;
            border-radius: 8px;
            transition: background 0.3s ease;
        }

        .radio-item:hover {
            background: rgba(40, 167, 69, 0.05);
        }

        input[type="radio"] {
            width: 20px;
            height: 20px;
            accent-color: var(--primary-green);
        }

        .radio-item label {
            margin: 0;
            color: var(--text-dark);
            cursor: pointer;
            font-weight: 500;
        }

        .submit-btn {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
            color: var(--text-white);
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 15px;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
        }

        .submit-btn:hover {
            background: linear-gradient(135deg, var(--primary-green-hover), var(--primary-green));
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .success-badge {
            background: rgba(40, 167, 69, 0.1);
            color: var(--primary-green-dark);
            border: 2px solid var(--primary-green);
            border-radius: 15px;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            font-weight: 600;
        }

        .success-icon {
            width: 30px;
            height: 30px;
            background: var(--primary-green);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 15px;
            color: var(--text-white);
            font-size: 16px;
        }

        .profiler-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 25px 0;
        }

        .logo-bars {
            display: flex;
            flex-direction: column;
            margin-left: 12px;
        }

        .logo-bar {
            height: 4px;
            margin: 2px 0;
            border-radius: 3px;
        }

        .bar-1 {
            width: 45px;
            background-color: #007bff;
        }

        .bar-2 {
            width: 40px;
            background-color: var(--primary-green);
        }

        .bar-3 {
            width: 35px;
            background-color: #ffc107;
        }

        .bar-4 {
            width: 30px;
            background-color: #dc3545;
        }

        .bar-5 {
            width: 25px;
            background-color: #17a2b8;
        }

        .brand-text {
            text-align: right;
        }

        .brand-text h3 {
            font-weight: bold;
            color: var(--primary-text);
            margin: 0;
            font-size: 20px;
        }

        .brand-text p {
            color: var(--text-light);
            margin: 0;
            font-size: 14px;
        }

        .add-calendar-btn {
            background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
            border: none;
            color: var(--text-white);
            padding: 15px 35px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
        }

        .add-calendar-btn:hover {
            background: linear-gradient(135deg, var(--primary-green-hover), var(--primary-green));
            transform: translateY(-2px);
            color: var(--text-white);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
        }

        .content-text {
            text-align: center;
            color: var(--text-medium);
            font-size: 16px;
            line-height: 1.8;
            margin: 25px 0;
        }

        .form-label {
            font-weight: 600;
            color: var(--primary-text);
            margin-bottom: 10px;
        }

        .form-control,
        .form-select {
            border-radius: 12px;
            border: 2px solid rgba(40, 167, 69, 0.2);
            padding: 15px 18px;
            transition: all 0.3s ease;
        }

        .time-inputs {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .time-inputs input {
            flex: 1;
        }

        .timezone-badge {
            background: var(--card-bg);
            color: var(--primary-text);
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 13px;
            border: 1px solid rgba(40, 167, 69, 0.2);
        }

        /* Modal Styles */
        .modal-content {
            border-radius: 20px;
            border: none;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        }

        .modal-header {
            background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
            color: var(--text-white);
            border-radius: 20px 20px 0 0;
            padding: 20px 25px;
        }

        .calendar-option {
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 20px;
            border: 2px solid rgba(40, 167, 69, 0.2);
            border-radius: 15px;
            margin-bottom: 18px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .calendar-option:hover {
            border-color: var(--primary-green);
            background: rgba(40, 167, 69, 0.05);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
        }

        .calendar-option i {
            font-size: 28px;
            width: 45px;
            text-align: center;
        }

        .google-calendar {
            color: #4285f4;
        }

        .outlook-calendar {
            color: #0078d4;
        }

        .ics-download {
            color: #ff9800;
        }

        .step-circle i{
            font-size: 14px;
        }

        /* .schedule-details {
            background: var(--white-bg);
            border-radius: 12px;
            padding: 20px;
            margin-top: 20px;
            border: 1px solid rgba(40, 167, 69, 0.1);
            display:none;
        }

        .schedule-details h3 {
            color: var(--primary-text);
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 15px;
            border-bottom: 2px solid var(--primary-green);
            padding-bottom: 8px;
        } */

        /* .detail-item {
            color: var(--text-medium);
            font-size: 14px;
            padding: 8px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .detail-item i {
            color: var(--primary-green);
            width: 20px;
        } */

        @media (max-width: 768px) {
            .calendar-container {
                flex-direction: column;
                gap: 25px;
            }

            .profile-section {
                flex-direction: column;
                text-align: center;
                padding: 25px 20px;
            }

            .profile-image {
                margin-right: 0;
                margin-bottom: 15px;
                width: 80px;
                height: 80px;
            }

            /*.progress-steps {*/
            /*    gap: 10px;*/
            /*    margin: 0 10px;*/
            /*}*/

            /*.step-label {*/
            /*    display: none;*/
            /*}*/

            .booking-section {
                padding: 20px;
            }

            .form-row {
                flex-direction: column;
                gap: 15px;
            }

            .radio-group {
                gap: 20px;
            }
        }

        /* Modal positioning and overlay */
     

        body.modal-open {
    overflow: hidden;}

  .close-btn {
            position: absolute;
            top: 15px; 
            right: 20px;
            font-size: 30px;
            cursor: pointer;
            color: var(--text-white);
            z-index: 10;
            transition: all 0.3s ease;
        }

        .close-btn:hover {
            transform: scale(1.1);
            color: rgba(255, 255, 255, 0.8);
        }
  /* ✅ الـ CSS المُحسن */
.consultation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 5000;
    overflow-y: auto;
    overflow-x: hidden;
    /* بدلاً من display: none */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* transition محسن */
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.consultation-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    direction: ltr;
}

.appointment-container {
    position: relative;
    margin: 30px auto;
    width: 80%;
    max-width: 1200px;
    border-radius: 12px;
    z-index: 5001;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9) translateY(30px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    padding: 20px;
}

.appointment-container.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    overflow: visible;
}

/* ✅ حل مشكلة العناصر الصغيرة */
.appointment-container * {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.appointment-container.closing * {
    animation: fadeOutScale 0.2s ease forwards;
}
/* 6. تحسين responsive للموبايل */
@media (max-width: 768px) {
    .consultation-overlay.active {
        /*padding: 10px;*/
        align-items: flex-start;
    }
    
    
    .appointment-container.active {
        transform: scale(1) translateY(0);
    }
    
.progress-section {
     padding: 0px 0px;
}
/* ✅ حل مشكلة العناصر الصغيرة */
.appointment-container * {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.appointment-container.closing * {
    animation: fadeOutScale 0.2s ease forwards;
}

@keyframes fadeOutScale {
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.appointment-container.closing {
    pointer-events: none;
}
        .modal-backdrop {
            display: none !important;
        }

        .modal {
            z-index: 1050 !important;
        }

        .modal-dialog {
            z-index: 1051 !important;
        }

        .modal.show {
            background-color: rgba(0, 0, 0, 0.7);
        }
/* ======================================
   Responsive Design
   ====================================== */
 
/* Medium-large screens */
@media (max-width: 1200px) {
    .section-title,
    .main-title {
        font-size: 2.1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    /*.course-image,*/
    /*.book-image,*/
    /*.article-image {*/
    /*    height: 220px;*/
    /*}*/
    
}
@media (max-width:1024px){
    .book-image {
     
    height: 580PX;
}
}
/* Medium screens */
@media (max-width: 992px) {
    .hero {
        padding: 120px 0 80px;
        text-align: center;
    }
    .book-image {
        height: 470px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .course-content,
    .book-content,
    .exam-content,
    .article-content {
        padding: 20px;
    }
    
    .exam-header {
        padding: 20px 20px 0;
    }
    
    .newsletter-card {
        padding: 40px;
    }
    
    .newsletter-card h3 {
        font-size: 1.8rem;
    }
    
    .newsletter-card p {
        font-size: 1.1rem;
    }
}

/* Small-medium screens */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .section-title,
    .main-title {
        font-size: 1.9rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    /*.course-image,*/
    /*.book-image,*/
    /*.article-image {*/
    /*    height: 200px;*/
    /*}*/
     .hero-image img {
     
    max-width: 100%;
     
}
    .course-card,
    .book-card,
    .exam-card,
    .article-card {
        margin-bottom: 25px;
    }
    
    .course-title,
    .book-title,
    .exam-title,
    .article-title {
        font-size: 1.2rem;
        min-height: auto;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 20px;
    }
    
    .newsletter-card {
        padding: 30px;
    }
    
    .newsletter-card h3 {
        font-size: 1.6rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
        justify-content: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .course-meta,
    .book-meta,
    .exam-meta .meta-group,
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .course-footer,
    .book-footer,
    .exam-footer,
    .article-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .course-button,
    .book-button,
    .exam-button,
    .article-button {
        width: 100%;
        text-align: center;
    }
}

/* Small screens */
@media (max-width: 576px) {
    .hero {
        padding: 120px 0 50px;
    }
     
        .appointment-container {
 
     width: 100%; 
    
     padding: 0px; 
}
    
 .close-btn{
     top:0px;
     margin-inline: 0px !important;
 }   
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .section-title,
    .main-title {
        font-size: 1.7rem;
    }
    
    .course-content,
    .book-content,
    .exam-content,
    .article-content {
        padding: 15px;
    }
    
    .exam-header {
        padding: 15px 15px 0;
    }
    
    .course-title,
    .book-title,
    .exam-title,
    .article-title {
        font-size: 1.1rem;
    }
    
    .newsletter-card {
        padding: 25px 20px;
    }
    
    .newsletter-card h3 {
        font-size: 1.4rem;
    }
    
    .newsletter-card p {
        font-size: 1rem;
    }
    
    .footer-section {
        padding: 60px 0 40px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }    .book-image {
        height: 660px;
    }
        .book-image {
        height: 660px;
    }
}
@media (max-width:460px){
        .book-image {
        height: 580px;
    }
}
/* Extra small screens */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.7rem;
    }
    .book-image {
        height: 480px;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title,
    .main-title {
        font-size: 1.5rem;
    }
    
    .newsletter-card {
        padding: 20px 15px;
    }
    
    .newsletter-card h3 {
        font-size: 1.3rem;
    }
}

/* ======================================
   Print Styles
   ====================================== */
@media print {
    .navbar,
    .back-to-top,
    .loading-spinner,
    .newsletter-section,
    .footer {
        display: none !important;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .section-title,
    .main-title {
        font-size: 1.5rem;
        color: #000;
    }
    
    .course-card,
    .book-card,
    .exam-card,
    .article-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* ======================================
   High Contrast Mode
   ====================================== */
@media (prefers-contrast: high) {
    :root {
        --text-light: #555;
        --text-muted: #777;
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.4);
        --border-light: rgba(0, 0, 0, 0.2);
    }
}

/* ======================================
   Reduced Motion
   ====================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-in,
    .fade-in {
        animation: none;
    }
}

/* ======================================
   Focus Styles for Accessibility
   ====================================== */
/*.course-button:focus,*/
/*.book-button:focus,*/
/*.exam-button:focus,*/
/*.article-button:focus,*/
/*.btn:focus,*/
/*.nav-link:focus,*/
/*.login-btn:focus,*/
/*.create-account-btn:focus,*/
/*.cta-button:focus,*/
/*.btn-newsletter:focus,*/
/*.newsletter-form .form-control:focus {*/
/*    outline: 3px solid var(--primary-green);*/
/*    outline-offset: 2px;*/
/*}*/

/* ======================================
   Additional Utility Classes
   ====================================== */
/*.text-center {*/
/*    text-align: center;*/
/*}*/

/*.text-right {*/
/*    text-align: right;*/
/*}*/

/*.text-left {*/
/*    text-align: left;*/
/*}*/

/*.d-none {*/
/*    display: none !important;*/
/*}*/

/*.d-block {*/
/*    display: block !important;*/
/*}*/

/*.d-flex {*/
/*    display: flex !important;*/
/*}*/

/*.justify-content-center {*/
/*    justify-content: center !important;*/
/*}*/

/*.align-items-center {*/
/*    align-items: center !important;*/
/*}*/

/*.mb-0 {*/
/*    margin-bottom: 0 !important;*/
/*}*/

/*.mt-5 {*/
/*    margin-top: 3rem !important;*/
/*}*/

/*.mb-5 {*/
/*    margin-bottom: 3rem !important;*/
/*}*/

/*.h-100 {*/
/*    height: 100% !important;*/
/*}*/

/*.w-100 {*/
/*    width: 100% !important;*/
/*}*/

/* ======================================
   Custom Scrollbar for Content Areas
   ====================================== */
 

.course-description::-webkit-scrollbar,
.book-description::-webkit-scrollbar,
.exam-description::-webkit-scrollbar,
.article-excerpt::-webkit-scrollbar {
    width: 4px;
}

.course-description::-webkit-scrollbar-thumb,
.book-description::-webkit-scrollbar-thumb,
.exam-description::-webkit-scrollbar-thumb,
.article-excerpt::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 2px;
}

/* ======================================
   End of CSS File
   ====================================== */