/* ============ الأساسيات ============ */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* الألوان الجديدة حسب الصورة */
    --primary-color: #3E67A3; /* زرق غامق - نص + جزء من الشعار */
    --primary-dark: #2c4c7c;
    --secondary-color: #03A180; /* تركواز - جزء من الشعار */
    --secondary-dark: #028066;
    --accent-color: #BBE7F4; /* سماوي فاتح */
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --text-color: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --border-radius-full: 50%;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

h2.text-center:after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 150px;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}


p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: var(--border-radius-xl);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(3, 161, 128, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(62, 103, 163, 0.3);
}

.btn:hover:before {
    opacity: 1;
}

/* ============ الهيدر والقائمة الجديدة ============ */
header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(187, 231, 244, 0.3);
}

.header-container {
    display: flex;
    justify-content: end;
    align-items: center;
}

/* الشعار الرئيسي */
.logo {
    display: flex;
    align-items: center;
    height: 80px;
}

.logo-image {
    display: flex;
    align-items: center;
}

.logo-image img {
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-image img:hover {
    transform: scale(1.05);
}

/* قائمة سطح المكتب - سيتم إخفاؤها للشاشات المتوسطة والكبيرة حتى 1366px */
.desktop-nav {
    margin-right: auto;
    padding-right: 30px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.desktop-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-nav a i {
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--secondary-color);
}

.desktop-nav a:hover i {
    transform: translateY(-2px);
}

.desktop-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: var(--transition);
    border-radius: 2px;
}

.desktop-nav a:hover:after,
.desktop-nav a.active:after {
    width: 100%;
}

/* زر الدخول في سطح المكتب */
.login-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white !important;
    padding: 10px 25px !important;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 5px 15px rgba(3, 161, 128, 0.2);
    white-space: nowrap;
}

.login-btn i {
    color: white !important;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(62, 103, 163, 0.3);
}

.login-btn:after {
    display: none;
}

/* القوائم المنسدلة */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.dropdown-toggle i:first-child {
    order: 2;
    margin-left: 5px;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.8rem;
    transition: var(--transition);
    order: 3;
}

.dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 300px;
    max-width: 400px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid rgba(187, 231, 244, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu.wide-menu {
    min-width: 550px;
}

.dropdown-menu.mega-menu {
    min-width: 950px;
    right: -50px;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.menu-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.mega-menu-column h4,
.menu-columns h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-menu-column h4 i,
.menu-columns h4 i {
    color: var(--secondary-color);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    margin-bottom: 8px;
    font-size: 1rem;
    border-right: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(187, 231, 244, 0.3);
    color: var(--secondary-color);
    border-right: 3px solid var(--secondary-color);
    padding-right: 20px;
}

.dropdown-menu a i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    order: -1;
}

/* زر القائمة للجوال - سيظهر لجميع الشاشات 1366px وأقل */
.menu-toggle {
    display: none;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(3, 161, 128, 0.3);
    z-index: 1001;
    position: relative;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 25px rgba(62, 103, 163, 0.4);
}

/* قائمة الجوال المنبثقة */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 120px;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: var(--shadow-md);
}

/* شعار القائمة الجانبية - تصميم محسن */
.mobile-nav-logo {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.mobile-nav-logo:hover {
    transform: scale(1.05);
}

.mobile-nav-header p {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.close-menu {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-full);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-nav ul {
    list-style: none;
    padding: 0 25px;
}

.mobile-nav li {
    margin-bottom: 8px;
}

.mobile-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    border-right: 4px solid transparent;
}

.mobile-nav a i {
    margin-left: 15px;
    width: 25px;
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.mobile-nav a:hover {
    background: rgba(187, 231, 244, 0.2);
    color: var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
    padding-right: 30px;
}

/* زر الدخول في الجوال */
.mobile-login-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white !important;
    margin: 15px 25px 25px;
    border-radius: var(--border-radius-xl) !important;
    box-shadow: 0 5px 15px rgba(3, 161, 128, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 18px !important;
    border: none;
}

.mobile-login-btn i {
    color: white !important;
}

.mobile-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(62, 103, 163, 0.3);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* القوائم المنسدلة في الجوال */
.mobile-nav .dropdown-mobile {
    position: relative;
}

.mobile-nav .dropdown-toggle-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: rgba(187, 231, 244, 0.1);
    border-radius: var(--border-radius-md);
    margin-bottom: 5px;
}

.mobile-nav .dropdown-toggle-mobile span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav .fa-chevron-down {
    transition: transform 0.3s ease;
}

.mobile-nav .fa-chevron-down.rotated {
    transform: rotate(180deg);
}

.mobile-nav .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(187, 231, 244, 0.05);
    border-radius: var(--border-radius-md);
    margin: 5px 15px 10px 15px;
    border: 1px solid rgba(187, 231, 244, 0.2);
}

.mobile-nav .submenu.active {
    max-height: 800px;
}

.mobile-nav .submenu a {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(187, 231, 244, 0.1);
}

.mobile-nav .submenu a:last-child {
    border-bottom: none;
}

.mobile-nav .submenu a i {
    margin-left: 10px;
    font-size: 1rem;
}

/* طبقة التعتيم */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* ============ الهيدر الرئيسي (Hero) ============ */
.hero {
    padding-top: 140px;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(62, 103, 163, 0.95), rgba(3, 161, 128, 0.9)), 
                url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMzAgMTBhMjAgMjAgMCAwIDEgMjAgMjAgMjAgMjAgMCAwIDEtNDAgMCAyMCAyMCAwIDAgMSAyMC0yMHoiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wMykiLz48L3N2Zz4=');
    opacity: 0.1;
    animation: float 20s linear infinite;
}

@keyframes float {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.hero h2:after {
    background: var(--accent-color);
    margin: 0 auto;
    right: 0;
    left: 0;
    width: 200px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ قسم من نحن ============ */
.about-us {
    background: white;
    position: relative;
    overflow: hidden;
}

.about-us:before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(187, 231, 244, 0.2), transparent);
    border-radius: 50%;
}

.about-us:after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(3, 161, 128, 0.1), transparent);
    border-radius: 50%;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.9;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 8px solid white;
    outline: 3px solid var(--accent-color);
    transform: rotate(2deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.about-stat {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, white, rgba(187, 231, 244, 0.2));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(187, 231, 244, 0.5);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.about-stat:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, white, rgba(187, 231, 244, 0.4));
}

.about-stat .number {
    
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.about-stat .label {
    
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
}


/* ============ قسم الرؤية والرسالة والقيم ============ */
.vision-mission-values {
    background: linear-gradient(135deg, rgba(187, 231, 244, 0.1) 0%, rgba(62, 103, 163, 0.05) 100%);
    position: relative;
}

.vmv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.vmv-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 50px 35px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--secondary-color);
    z-index: 1;
}

.vmv-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(62, 103, 163, 0.02), rgba(3, 161, 128, 0.02));
    z-index: -1;
}

.vmv-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.vmv-card h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.vmv-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.vmv-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(187, 231, 244, 0.3);
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: var(--border-radius-full);
}

.values-list {
    margin-top: 20px;
    list-style: none;
}

.values-list li {
    margin-bottom: 15px;
    padding-right: 30px;
    position: relative;
    font-size: 1.1rem;
}

.values-list li:before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.3rem;
    position: absolute;
    right: 0;
    top: -2px;
}

/* ============ قسم أهداف الجمعية ============ */
.goals {
    background: white;
    position: relative;
}

.goals-header {
    text-align: center;
    margin-bottom: 60px;
}

.goals-header h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.goal-card {
    background: linear-gradient(135deg, white, rgba(187, 231, 244, 0.1));
    border-radius: var(--border-radius-lg);
    padding: 50px 35px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-bottom: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.goal-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(62, 103, 163, 0.1);
    line-height: 1;
    margin-bottom: 20px;
    position: absolute;
    top: 20px;
    left: 20px;
}

.goal-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.goal-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============ قسم مجال العمل ============ */
.work-areas {
    background: linear-gradient(135deg, rgba(187, 231, 244, 0.1) 0%, rgba(62, 103, 163, 0.05) 100%);
}

.areas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.area-card {
    background: white;
    padding: 40px 35px;
    border-radius: var(--border-radius-lg);
    border-right: 5px solid var(--secondary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-right-width: 8px;
}

.area-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.area-card ul {
    list-style: none;
    padding-right: 0;
}

.area-card li {
    margin-bottom: 12px;
    padding-right: 25px;
    position: relative;
    font-size: 1.1rem;
}

.area-card li:before {
    content: "•";
    color: var(--secondary-color);
    font-size: 1.8rem;
    position: absolute;
    right: 0;
    top: -8px;
}

/* ============ قسم الأنشطة ============ */
.activities {
    background: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.activity-item {
    background: linear-gradient(135deg, white, rgba(187, 231, 244, 0.2));
    padding: 40px 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(187, 231, 244, 0.3);
}

.activity-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, white, rgba(187, 231, 244, 0.4));
}

.activity-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(3, 161, 128, 0.1), rgba(62, 103, 163, 0.1));
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: var(--border-radius-full);
    transition: var(--transition);
}

.activity-item:hover i {
    transform: rotate(360deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
}

.activity-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* ============ قسم الأثر المجتمعي ============ */
.impact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.impact:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.impact h2 {
    color: white;
    text-align: center;
    font-size: 2.8rem;
    position: relative;
    z-index: 1;
}

.impact h2:after {
    background: white;
    margin: 0 auto;
    right: 0;
    left: 0;
    width: 200px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    text-align: center;
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.impact-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0;
}

/* ============ قسم الأخبار (News Slider) ============ */
.news-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e9f2f9 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.news-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
}

.news-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    color: var(--primary-color);
}

.news-section h2 i {
    color: var(--secondary-color);
    margin-left: 15px;
}

.news-slider {
    position: relative;
    padding: 20px 0 70px;
}

.news-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(62, 103, 163, 0.1);
    position: relative;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-image img {
    transform: scale(1.15);
}

.news-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.news-image.no-image i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 8px 18px;
    border-radius: var(--border-radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.news-content {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 70px;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-title {
    color: var(--secondary-color);
}

.news-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid rgba(187, 231, 244, 0.3);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.news-date i {
    color: var(--secondary-color);
}

.news-views {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    background: rgba(187, 231, 244, 0.2);
    padding: 5px 12px;
    border-radius: var(--border-radius-xl);
}

.news-views i {
    color: var(--primary-color);
}

/* أزرار التنقل للسلايدر */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-full);
    color: white;
    box-shadow: 0 5px 20px rgba(62, 103, 163, 0.3);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(62, 103, 163, 0.4);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    opacity: 1;
    width: 30px;
    border-radius: 10px;
}

/* ============ قسم شركاء النجاح - تصميم محسن ============ */
.partners-section {
    background: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.partners-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.partners-section h2 i {
    color: var(--secondary-color);
    margin-left: 15px;
}

/* شبكة شركاء النجاح - تصميم متجاوب */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* بطاقة الشريك - تصميم محسن للصور */
.partner-item {
    background: white;
    padding: 20px; /* تقليل الحشو قليلاً لإعطاء مساحة أكبر للصورة */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(187, 231, 244, 0.3);
    width: 100%;
    max-width: 220px; /* زيادة العرض قليلاً */
    height: 180px; /* زيادة الارتفاع */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.partner-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(62, 103, 163, 0.05), rgba(3, 161, 128, 0.05));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.partner-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.partner-item:hover:before {
    opacity: 1;
}

/* صور الشركاء - تصميم محسن: مكبرة وبدون فلتر */
.partner-item img {
    max-width: 135%; /* زيادة الحجم الأقصى */
    max-height: 140px; /* زيادة الارتفاع الأقصى */
    width: auto;
    height: auto;
    object-fit: contain;
    /* إزالة تأثير grayscale و opacity */
    /* filter: grayscale(100%); */ /* تم التعليق عليه */
    /* opacity: 0.7; */ /* تم التعليق عليه */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

/* تأثير hover بسيط للصورة (تكبير فقط) */
.partner-item:hover img {
    /* filter: grayscale(0); */ /* تم التعليق عليه */
    /* opacity: 1; */ /* تم التعليق عليه */
    transform: scale(1.1); /* يبقى تأثير التكبير */
}

/* ============ الفوتر الجديد - تصميم محسن ============ */
footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-logo h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* حاوية الشعارات الإضافية في الفوتر */
.footer-logos {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
    align-items: center;
}

/* تصميم الشعارات الإضافية */
.footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    background: white;
    padding: 8px 15px;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-img:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.footer-links a i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(-5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    word-break: break-word;
}

.footer-contact p i {
    color: var(--secondary-color);
    width: 25px;
    font-size: 1.2rem;
}

.social-media {
    margin-top: 30px;
}

.social-media h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icon.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-icon.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.social-icon.snapchat:hover {
    background: #FFFC00;
    color: #000;
    border-color: #FFFC00;
}

.social-icon.email:hover {
    background: #EA4335;
    border-color: #EA4335;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}
.copyright p{
   color:white;
}

/* ============ التصميم المتجاوب ============ */

/* شاشات 1366px وأقل - إظهار زر القائمة الجانبية */
@media (max-width: 1366px) {
    .desktop-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .mobile-nav {
        display: block;
        width: 400px;
    }
    
    .logo {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        height: 70px;
    }
    
    .logo-image img { 
        height: 60px;
        max-width: 180px;
    }
    
    header {
        padding: 10px 0;
        height: 80px;
    }
    
    .header-container {
        position: relative;
        height: 100%;
    }
}

/* أجهزة سطح المكتب المتوسطة */
@media (max-width: 1200px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .hero h1 { font-size: 3rem; }
    .footer-content { gap: 30px; }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 25px;
    }
    
    .partner-item {
        max-width: 180px;
        height: 150px;
    }
    
    .footer-logo-img {
        height: 80px;
        max-width: 130px;
    }
}

/* شاشات 1024px (iPad Pro) */
@media (max-width: 1024px) {
    .mobile-nav {
        width: 380px;
    }
    
    .menu-toggle {
        width: 58px;
        height: 58px;
        font-size: 1.5rem;
    }
    
    .logo-image img { 
        height: 55px;
        max-width: 160px;
    }
    
    .hero h1 { font-size: 2.8rem; }
    .hero h2 { font-size: 2rem; }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .partner-item {
        height: 150px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding-top: 100px;
        min-height: 500px;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.8rem; }
    .hero p { font-size: 1.2rem; }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo h3:after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-links h4:after,
    .footer-contact h4:after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-links ul {
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: translateX(0) scale(1.05);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-logos {
        justify-content: center;
    }
}

/* التابلت الصغير والجوال الكبير */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    
    section { padding: 70px 0; }
    
    .hero {
        min-height: 450px;
    }
    
    .hero h1 { font-size: 2rem; }
    .hero h2 { font-size: 1.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .mobile-nav {
        width: 350px;
    }
    
    .menu-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .logo-image img { 
        height: 50px;
        max-width: 150px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-stat .number { font-size: 2.5rem; }
    
    .vmv-container,
    .goals-grid,
    .areas-container,
    .activities-grid,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .vmv-card,
    .goal-card,
    .area-card,
    .activity-item,
    .impact-card {
        padding: 30px 25px;
    }
    
    .news-section h2 { font-size: 2.2rem; }
    .news-title { font-size: 1.2rem; }
    .news-image { height: 200px; }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .partner-item {
        height: 120px;
        padding: 15px;
    }
    
    .partner-item img {
        max-height: 135px;
        max-width: 90%;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .footer-logo-img {
        height: 45px;
        max-width: 120px;
        padding: 6px 12px;
    }
}

/* الجوال الصغير */
@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    
    .container { padding: 0 15px; }
    
    section { padding: 50px 0; }
    
    .hero {
        min-height: 400px;
    }
    
    .hero h1 { font-size: 1.6rem; }
    .hero h2 { font-size: 1.3rem; }
    .hero p { font-size: 1rem; }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .mobile-nav {
        width: 85%;
        max-width: 320px;
    }
    
    .menu-toggle {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        top: 15px;
        left: 15px;
    }
    
    .logo {
        right: 15px;
    }
    
    .logo-image img { 
        height: 40px;
        max-width: 120px;
    }
    
    .mobile-nav-header {
        padding: 15px;
    }
    
    .mobile-nav-logo { 
        height: 35px;
        max-width: 100px;
    }
    
    .mobile-nav-header p { 
        font-size: 0.95rem;
    }
    
    .mobile-nav a {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .mobile-login-btn {
        margin: 5px 15px 15px;
        padding: 12px !important;
        font-size: 1rem;
    }
    
    .about-image {
        border-width: 5px;
    }
    
    .about-stat {
        padding: 15px;
    }
    
    .vmv-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 2.5rem;
    }
    
    .vmv-card h3 { font-size: 1.6rem; }
    
    .goal-number { font-size: 3rem; }
    .goal-card h3 { font-size: 1.5rem; }
    
    .area-card h3 { font-size: 1.5rem; }
    
    .activity-item i {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 2.2rem;
    }
    
    .impact-number { font-size: 2.5rem; }
    
    .news-section h2 { font-size: 1.8rem; }
    .news-content { padding: 20px; }
    .news-title { 
        font-size: 1.1rem;
        min-height: auto;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .partner-item {
        height: 100px;
        padding: 12px;
    }
    
    .partner-item img {
        max-height: 100px;
        max-width: 85%;
    }
    
    .footer-logos {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-logo-img {
        height: 80px;
        max-width: 140px;
        width: 100%;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .footer-contact p {
        font-size: 0.95rem;
    }
}

/* الجوال الصغير جداً */
@media (max-width: 375px) {
    .mobile-nav {
        width: 90%;
    }
    
    .menu-toggle {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    .logo-image img { 
        height: 35px;
        max-width: 100px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partner-item {
        max-width: 200px;
        height: 110px;
        margin: 0 auto;
    }
    
    .partner-item img {
        max-height: 100px;
    }
    
    .footer-logo-img {
        height: 80px;
        max-width: 130px;
    }
}

/* للأجهزة الطويلة */
@media (max-height: 700px) and (max-width: 992px) {
    .mobile-nav {
        padding-top: 100px;
    }
    
    .mobile-nav a {
        padding: 12px 20px;
    }
    
    .mobile-nav .submenu a {
        padding: 10px 30px;
    }
}

/* للوضع الأفقي في الجوال */
@media (max-width: 992px) and (orientation: landscape) {
    .mobile-nav {
        padding-top: 90px;
    }
    
    .mobile-nav a {
        padding: 10px 20px;
    }
    
    .hero {
        min-height: 350px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* للشاشات الكبيرة جداً */
@media (min-width: 1367px) {
    .container {
        max-width: 1400px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .partner-item {
        max-width: 220px;
        height: 180px;
    }
    
    .partner-item img {
        max-height: 135px;
    }
}

/* ============ تحسينات إضافية ============ */

/* تأثيرات hover متقدمة */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* شريط التمرير المخصص */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* تحسينات الوصول */
:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

/* أنماط النص المميز */
.highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

/* أنماط البطاقات الزجاجية */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* أنماط الشارات */
.badge {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: var(--border-radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
}

/* تحسين أداء الصور */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* منع تجاوز النص */
.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* تحسين التحميل */
.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(187, 231, 244, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}