/* ==================== GLOBAL STYLES ==================== */
/* إعدادات عامة للصفحة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1F2937;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== LOADING BAR ==================== */
/* شريط التحميل العلوي */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #3B82F6, #0A3D62);
    width: 0%;
    z-index: 9999;
    transition: width 0.3s ease;
}

/* ==================== HEADER & NAVIGATION ==================== */
/* الهيدر والقائمة الرئيسية */
.header-transparent {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    z-index: 1000;
}

.header-transparent.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(10, 61, 98, 0.1);
}

/* روابط التنقل */
.nav-links li a,
#mobile-menu li a {
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-links li a::after,
#mobile-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #0A3D62);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
#mobile-menu li a:hover::after {
    width: 100%;
}

.nav-links li a.active,
#mobile-menu li a.active {
    color: #3B82F6;
    font-weight: 600;
}

/* ==================== MOBILE MENU FIXES ==================== */
/* إصلاحات القائمة المتنقلة للجوال */
.mobile-menu {
    position: fixed;
    top: 70px;
    /* ارتفاع الهيدر */
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* إزالة أي display ثابت */
}

.mobile-menu.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.mobile-menu:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* عناصر القائمة المتنقلة */
.mobile-menu-item {
    display: block;
    padding: 1rem 1.5rem;
    color: #0A3D62;
    font-weight: 600;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-menu-item:hover {
    background-color: #F0F5F8;
    padding-left: 2rem;
}

.mobile-menu-item.active {
    color: #3B82F6;
    background-color: rgba(59, 130, 246, 0.1);
}

/* القائمة المنسدلة للجوال */
.mobile-dropdown {
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.mobile-submenu {
    background-color: #F8FAFC;
    border-left: 3px solid #3B82F6;
    transition: all 0.3s ease;
}

.mobile-submenu:not(.hidden) {
    display: block;
}

.mobile-submenu-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 2rem;
    color: #4B5563;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-submenu-item:hover {
    background-color: #EDF2F7;
    color: #0A3D62;
    padding-left: 2.5rem;
}

.mobile-submenu-item:last-child {
    border-bottom: none;
}

/* زر الطلب في الهيدر */
.nav-links li:last-child a.btn-primary {
    padding: 10px 20px !important;
    font-size: 0.875rem !important;
    margin-left: 1rem;
    white-space: nowrap;
}

/* ==================== DROPDOWN MENU ==================== */
/* القائمة المنسدلة */
.dropdown-menu {
    box-shadow: 0 20px 40px rgba(10, 61, 98, 0.15);
    border: 1px solid rgba(229, 231, 235, 0.8);
    backdrop-filter: blur(10px);
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .dropdown-menu {
    transform: translateY(0);
}

.dropdown-item {
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    transform: translateX(5px);
    background: rgba(240, 245, 248, 0.8);
}

/* ==================== SERVICE CARD LINKS ==================== */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.service-card-link:hover {
    transform: translateY(-5px);
}

.service-card-link:hover .service-card {
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
}

.service-card-link .service-card-content .inline-flex {
    transition: gap 0.3s ease;
}

.service-card-link:hover .service-card-content .inline-flex {
    gap: 8px;
}

/* ==================== HERO SECTION ==================== */
/* قسم الهيرو الرئيسي */
.hero-cover {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 0;
}

/* حاوية السلايدر */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slider-track {
    display: flex;
    width: 600%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slider-slide {
    width: 16.666%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* صور السلايدر */
.slide-1 {
    background: linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.7)),
        url('../assets/img/slider1.jpg') center/cover,
        linear-gradient(135deg, #0A3D62, #3B82F6);
}

.slide-2 {
    background: linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.7)),
        url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover,
        linear-gradient(135deg, #0A3D62, #3B82F6);
}

.slide-3 {
    background: linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.7)),
        url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover,
        linear-gradient(135deg, #0A3D62, #3B82F6);
}

.slide-4 {
    background: linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.7)),
        url('../assets/img/slider2.jpg') center/cover,
        linear-gradient(135deg, #0A3D62, #3B82F6);
}

.slide-5 {
    background: linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.7)),
        url('../assets/img/slider3.jpg') center/cover,
        linear-gradient(135deg, #0A3D62, #3B82F6);
}

.slide-6 {
    background: linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.7)),
        url('../assets/img/slider4.jpg') center/cover,
        linear-gradient(135deg, #0A3D62, #3B82F6);
}

/* طبقة التغطية على الهيرو */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom right,
            transparent 0%,
            transparent 30%,
            rgba(10, 61, 98, 0.5) 60%,
            rgba(10, 61, 98, 0.7) 80%,
            rgba(10, 61, 98, 0.8) 100%),
        linear-gradient(to top left,
            transparent 0%,
            transparent 40%,
            rgba(59, 130, 246, 0.3) 60%,
            rgba(59, 130, 246, 0.4) 80%,
            rgba(59, 130, 246, 0.5) 100%);
    z-index: -1;
    backdrop-filter: blur(1px);
}

/* محتوى الهيرو */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content>div {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-size: 3.5rem !important;
}

.hero-content p {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
    font-size: 1.1rem !important;
    margin-bottom: 2rem;
}

/* تحكمات السلايدر */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    pointer-events: none;
}

.slider-controls button {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-controls button:hover {
    background: rgba(59, 130, 246, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1;
}

/* Mobile adjustment for slider dots */
@media (max-width: 768px) {
    .slider-dots {
        bottom: 5px;
    }
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #3B82F6;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* ==================== BUTTON STYLES ==================== */
/* أنماط الأزرار */
.btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #0A3D62 100%);
    color: white;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: white;
    color: #0A3D62;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ==================== STATS SECTION ==================== */
/* قسم الإحصائيات - تصميم مضغوط */
.stats-section {
    background: linear-gradient(to right, #0A3D62, #3B82F6);
    color: white;
    padding: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-card .counter {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-card .text-sm {
    font-size: 0.75rem;
}

/* ==================== ABOUT SECTION ==================== */
/* قسم من نحن */
.about-card {
    background: #F0F5F8;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: #3B82F6;
}

.about-card .icon-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(10, 61, 98, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.about-card:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #0A3D62);
    border-radius: 20px 20px 0 0;
}

.regulation-badge {
    display: inline-block;
    background: rgba(240, 245, 248, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 20px;
    padding: 6px 16px;
    margin: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0A3D62;
    transition: all 0.2s ease;
}

.regulation-badge:hover {
    background: #3B82F6;
    color: white;
    border-color: #3B82F6;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

/* ==================== SERVICE CARDS ==================== */
/* بطاقات الخدمات */
.service-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3B82F6, #0A3D62);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    height: 200px;
    width: 100%;
    transition: transform 0.5s ease;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service-image-1 {
    background: linear-gradient(rgba(10, 61, 98, 0.1), rgba(10, 61, 98, 0.1)),
        url('../assets/img/new-image.jpg') center/cover;
}

.service-image-2 {
    background: linear-gradient(rgba(10, 61, 98, 0.1), rgba(10, 61, 98, 0.1)),
        url('../assets/img/new-image2.jpg') center/cover;
}

.service-image-3 {
    background: linear-gradient(rgba(10, 61, 98, 0.1), rgba(10, 61, 98, 0.1)),
        url('../assets/img/new-image3.jpg') center/cover;
}

.service-image-4 {
    background: linear-gradient(rgba(10, 61, 98, 0.1), rgba(10, 61, 98, 0.1)),
        url('../assets/img/new-image4.jpg') center/cover;
}

.service-image-5 {
    background: linear-gradient(rgba(10, 61, 98, 0.1), rgba(10, 61, 98, 0.1)),
        url('../assets/img/new-image5.jpg') center/cover;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 61, 98, 0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    color: white;
}

.service-card:hover .service-overlay {
    transform: translateY(0);
}

.service-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0A3D62;
}

.service-card-content ul {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1;
}

.service-card-content li {
    padding: 0.5rem 0;
    color: #4B5563;
    position: relative;
    padding-left: 1.5rem;
}

.service-card-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3B82F6;
    font-weight: bold;
}

/* ==================== PROCESS TIMELINE ==================== */
/* خطوات العملية */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, #3B82F6, #0A3D62);
}

.process-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3B82F6;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #3B82F6, 0 0 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px #3B82F6, 0 0 30px rgba(59, 130, 246, 0.5);
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0A3D62;
}

.process-step p {
    color: #4B5563;
    line-height: 1.7;
}

/* ==================== LEADERSHIP TEAM SECTION ==================== */
/* قسم المساهمين - Leadership */
.leadership-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.leadership-image {
    height: 300px;
    width: 100%;
    transition: transform 0.5s ease;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.leadership-card:hover .leadership-image {
    transform: scale(1.05);
}

.leadership-content {
    padding: 2rem;
}

.leadership-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0A3D62;
}

.leadership-content .title {
    color: #3B82F6;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

/* ==================== GALLERY SECTION ==================== */
/* معرض الصور */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 250px;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 61, 98, 0.9), transparent);
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ==================== LOCATION SECTION ==================== */
/* قسم الموقع */
.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(10, 61, 98, 0.1);
    height: 500px;
    background: #f8fafc;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.location-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3B82F6, #0A3D62);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.location-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.location-marker::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #3B82F6;
    animation: pulse 2s infinite;
}

/* ==================== PARTNERS SECTION ==================== */
/* قسم الشركاء */
.logo-marquee-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    gap: 2rem;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 200px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.logo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: #3B82F6;
}

.logo-placeholder {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    max-height: 50px;
    max-width: 160px;
    object-fit: contain;
}

.logo-card:hover .logo-placeholder {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ==================== CONSULTATION FORM ==================== */
/* نموذج الاستشارة */
.consultation-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(10, 61, 98, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    outline: none;
    color: #1f2937;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background-color: white;
}

.form-control.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-message {
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    animation: slideDown 0.3s ease-out;
}

.form-message.success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-message.error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.form-message.loading {
    background-color: #dbeafe;
    border: 1px solid #3b82f6;
    color: #1e40af;
}

/* ==================== FOOTER ==================== */
/* الفوتر */
.site-footer {
    background: #082d49;
    color: white;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #0A3D62);
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #3B82F6;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3B82F6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #d1d5db;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #3B82F6;
    padding-left: 0.5rem;
}

.footer-section .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-section .contact-info i {
    color: #3B82F6;
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #3B82F6;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* ==================== CHATBOT STYLES ==================== */
/* شات بوت الدعم */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A3D62, #3B82F6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    color: white;
}

.chat-button:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 500px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.chat-window.active {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(135deg, #0A3D62, #3B82F6);
    color: white;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.chat-header-info p {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-header-info p .status-dot {
    width: 8px;
    height: 8px;
    background: #3B82F6;
    border-radius: 50%;
    display: inline-block;
}

.chat-header-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.chat-header-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-body {
    flex-grow: 1;
    padding: 1.25rem;
    overflow-y: auto;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 85%;
    padding: 0.875rem 1rem;
    border-radius: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeInUp 0.3s ease-out;
}

.bot-message {
    background: white;
    color: #1F2937;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
}

.user-message {
    background: linear-gradient(135deg, #3B82F6, #0A3D62);
    color: white;
    border-bottom-right-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    align-self: flex-end;
}

.typing-indicator {
    display: none;
    align-items: center;
    align-self: flex-start;
    padding: 0.75rem 1rem;
    gap: 6px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem 1.25rem 0.5rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.typing-indicator.active {
    display: flex;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #0A3D62;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.quick-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quick-action-btn {
    display: inline-block;
    background: rgba(240, 245, 248, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0A3D62;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.quick-action-btn:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.chat-footer {
    padding: 1.25rem;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.75rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: #f9fafb;
}

.chat-input:focus {
    border-color: #3B82F6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A3D62, #3B82F6);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* ==================== BACK TO TOP ==================== */
/* زر العودة للأعلى */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3B82F6, #0A3D62);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

/* ==================== CUSTOM SCROLLBAR ==================== */
/* شريط التمرير المخصص */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F0F5F8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0A3D62, #3B82F6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #082d49, #2563eb);
}

/* ==================== ANIMATIONS ==================== */
/* الرسوم المتحركة */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-20px) translateX(20px);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #3B82F6;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-5px);
    }
}

@keyframes widthGrow {
    from {
        width: 0;
    }

    to {
        width: 6rem;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.6), 0 0 25px rgba(59, 130, 246, 0.4);
        opacity: 0.7;
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== UTILITY CLASSES ==================== */
/* كلاسات المساعدة */
.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.6s ease-out forwards;
}

.animate-pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

.width-grow-animation {
    animation: widthGrow 1s ease-out forwards;
    width: 0;
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid #3B82F6;
    white-space: nowrap;
    margin: 0 auto;
    animation: typewriter 3s steps(40) 1s 1 normal both,
        blink 1s step-end infinite;
}

/* ==================== RESPONSIVE DESIGN ==================== */
/* التصميم المتجاوب للجوال */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    /* إصلاحات الهيدر للجوال */
    .header-transparent {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .header-transparent .flex.justify-between.items-center {
        height: 70px;
    }

    /* إضافة مسافة للجسم لتجنب تغطية الهيدر للمحتوى */
    body {
        padding-top: 70px;
    }

    .logo-container {
        max-height: 50px;
        padding: 3px 8px;
    }

    .logo-container img {
        max-height: 40px;
        max-width: 120px;
    }

    .nav-links li:last-child a.btn-primary {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        margin-left: 0.25rem;
    }

    /* تحسينات القائمة المتنقلة للجوال - تصحيح */
    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    /* تحسينات للشاشات الصغيرة جدًا */
    @media (max-width: 375px) {
        .mobile-menu {
            top: 60px;
            max-height: calc(100vh - 60px);
        }

        .mobile-menu-item {
            padding: 0.875rem 1.25rem;
            font-size: 0.95rem;
        }

        .mobile-submenu-item {
            padding: 0.75rem 1.75rem;
            font-size: 0.85rem;
        }
    }

    /* تحسينات الهيرو للجوال */
    .hero-cover {
        height: 75vh;
        min-height: 450px;
        margin-top: 0;
        padding-top: 0;
    }

    .hero-content>div {
        padding: 0 15px;
        margin-top: 0;
    }

    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.95rem !important;
        max-width: 90%;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    /* تحسينات الأزرار في الهيرو للجوال */
    .hero-content .flex.flex-col.sm\:flex-row {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-content .btn-primary,
    .hero-content .btn-secondary {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* تحسينات مؤشرات الثقة للجوال */
    .hero-content .mt-12.flex {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    /* تحسينات الأقسام الأخرى للجوال */
    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card .counter {
        font-size: 2rem;
    }

    .service-image {
        height: 180px;
    }

    .service-card-content {
        padding: 1.5rem;
    }

    .service-card-content h3 {
        font-size: 1.3rem;
    }

    .about-card,
    .benefit-card {
        padding: 1.5rem;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .map-container {
        height: 300px;
    }

    .location-info-card {
        padding: 1.5rem;
    }

    .consultation-form {
        padding: 1.5rem;
    }

    /* تحسينات خط الزمن للجوال */
    .process-timeline::before {
        left: 15px;
    }

    .process-step {
        padding-left: 50px;
        margin-bottom: 2rem;
    }

    .process-step::before {
        left: 7px;
        width: 16px;
        height: 16px;
    }

    /* تحسينات الشات بوت للجوال */
    .chat-window {
        width: calc(100vw - 40px);
        right: -20px;
        height: 450px;
    }

    /* تحسينات شركاء للجوال */
    .logo-card {
        width: 150px;
        height: 100px;
        padding: 1rem;
    }

    /* تحسينات التحكم في السلايدر للجوال */
    .slider-controls button {
        width: 40px;
        height: 40px;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-dots {
        bottom: 20px;
    }

    /* تحسينات زر العودة للأعلى للجوال */
    .back-to-top {
        bottom: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    /* تحسينات الفوتر للجوال */
    .site-footer {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    /* تحسينات القائمة المنسدلة للجوال */
    .dropdown-menu {
        width: 280px;
        left: 50%;
        transform: translateX(-50%) translateY(-2px);
    }

    .group:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    /* تحسينات للتابلت */
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .logo-card {
        width: 180px;
    }

    .hero-content h1 {
        font-size: 2.8rem !important;
    }

    .hero-content p {
        font-size: 1rem !important;
    }
}

@media (min-width: 1025px) {

    /* تعديلات للشاشات الكبيرة فقط */
    .hero-content h1 {
        font-size: 3rem !important;
    }

    .hero-content p {
        font-size: 1rem !important;
    }
}

/* ==================== PRINT STYLES ==================== */
/* أنماط الطباعة */
@media print {

    .chat-widget,
    .back-to-top,
    .slider-controls,
    .slider-dots,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        padding-top: 0 !important;
    }

    .header-transparent {
        position: static !important;
        background: white !important;
    }

    a {
        color: #000;
        text-decoration: none;
    }
}

/* ==================== ACCESSIBILITY ==================== */
/* إمكانية الوصول */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .typewriter {
        animation: none;
        border-right: none;
        white-space: normal;
    }

    /* Mobile Hero Refinements */
    @media (max-width: 768px) {
        .hero-cover {
            height: 90vh !important;
            min-height: 600px !important;
        }

        .hero-content h1 {
            font-size: 2.2rem !important;
            line-height: 1.3 !important;
        }

        .hero-content p {
            font-size: 1rem !important;
            margin-bottom: 2rem !important;
        }

        .stats-section {
            padding: 1.5rem 0 !important;
        }

        /* Trust indicators spacing on mobile to avoid slider dots overlap */
        .hero-content>div>div.mt-8 {
            padding-bottom: 3rem !important;
        }
    }
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid #3B82F6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0A3D62;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    z-index: 1001;
}

.skip-to-content:focus {
    top: 0;
}

/* تحسينات إمكانية الوصول */
.mobile-menu-item:focus,
.mobile-submenu-item:focus {
    outline: 2px solid #3B82F6;
    outline-offset: -2px;
}