/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth; /* تمرير سلس بين الأقسام */
}

/* Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --white: #fff;
    --whatsapp-color: #25D366;
    --header-bg: rgba(255,255,255,0.97);
    --header-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* تحسين منحنى الانتقال القياسي */
    --transition-bounce: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); /* انتقال مع تأثير ارتداد */
    --transition-smooth: all 0.6s cubic-bezier(0.33, 1, 0.68, 1); /* انتقال سلس وبطيء */
    --transition-fast: all 0.2s cubic-bezier(0.25, 1, 0.5, 1); /* انتقال سريع */
    --gradient: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* Header Styles */
.header {
    background: var(--header-bg);
    border-bottom: 2.5px solid #053697;
    backdrop-filter: blur(10px);
    box-shadow: var(--header-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    height: 80px;
    display: flex;
    align-items: center;
}

.header.scroll-up {
    transform: translateY(0);
    box-shadow: 0 6px 30px rgba(44, 62, 80, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition-bounce);
    padding: 5px;
    height: 100%;
    position: relative;
}

.logo img {
    height: 120px;
    width: auto;
    transition: var(--transition-bounce);
    object-fit: contain;
    transform: translateY(-0px);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
    transform: translateY(-0px) scale(1.05);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.15));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #053697;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 6px 25px;
    position: relative;
    transition: var(--transition-bounce);
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
                -5px -5px 15px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2px;
}

.nav-links a::before {
    display: none;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
    transform: translateY(-4px);
    background: #053697;
    box-shadow: 8px 8px 20px rgba(5, 54, 151, 0.2),
                -8px -8px 20px rgba(5, 54, 151, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Language Menu Styles */
.language-menu {
    position: relative;
    margin-right: 20px;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 18px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
                -5px -5px 15px rgba(255, 255, 255, 0.8);
    color: #053697;
    font-weight: 600;
    font-size: 1.25rem;
}

.language-btn:hover {
    color: #ffffff;
    transform: translateY(-4px);
    background: #053697;
    box-shadow: 8px 8px 20px rgba(5, 54, 151, 0.2),
                -8px -8px 20px rgba(5, 54, 151, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.language-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: inherit;
}

.language-menu.active .language-btn i,
.language-menu-mobile.active .language-btn i {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    margin-top: 10px;
    min-width: 150px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
                -5px -5px 15px rgba(255, 255, 255, 0.8);
    display: none;
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.language-menu.active .language-options,
.language-menu-mobile.active .language-options {
    display: block;
    animation: fadeIn 0.3s ease;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 15px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    color: #053697;
    font-weight: 600;
    font-size: 1.1rem;
}

.language-option:hover {
    background: #053697;
    color: #ffffff;
    transform: translateX(-5px);
}

.language-option.active {
    background: #053697;
    color: #ffffff;
}

.flag {
    font-size: 1.2em;
}

.language-name {
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Language Menu */
.mobile-language-item {
    display: none;
}

.language-menu-mobile {
    width: 100%;
    position: relative;
}

.language-menu-mobile .language-options {
    position: static;
    width: 100%;
    margin-top: 10px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition-bounce);
    padding: 8px;
    border-radius: 8px;
}

.menu-toggle:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.05);
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 0; /* تم تغييره من 8px لإخفاء المسافة */
    background-color: var(--whatsapp-color);
    color: white;
    padding: 12px; /* تم تغييره لجعل الزر دائري */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); /* تحسين منحنى الانتقال للحصول على حركة مرنة */
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    animation: whatsappFloat 3s ease-in-out infinite;
    width: 50px; /* تحديد عرض ثابت للزر */
    height: 50px; /* تحديد ارتفاع ثابت للزر */
    justify-content: center; /* توسيط الأيقونة */
    transform-origin: center; /* تحديد نقطة مركز التحويل */
}

/* حركة تعويم بسيطة لزر الواتساب */
@keyframes whatsappFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}

/* تأثير توهج خلفي للزر */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.whatsapp-btn:hover::before {
    transform: translateX(100%);
}

.whatsapp-btn:hover {
    width: auto; /* عند التحويم يمتد الزر ليظهر النص */
    padding: 12px 24px 12px 20px; /* زيادة التباعد في الجانب الأيمن قليلاً */
    gap: 10px; /* زيادة المسافة بين الأيقونة والنص لمظهر أفضل */
    transform: translateY(-3px) scale(1.02); /* إضافة تكبير خفيف */
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5); /* تحسين الظل */
    background-color: #22c15e;
    animation-play-state: paused; /* إيقاف الحركة عند التحويم */
}

.whatsapp-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
    transition: all 0.15s ease; /* انتقال أسرع عند الضغط */
}

.whatsapp-btn i {
    font-size: 22px;
    position: relative;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

/* نبض بسيط لأيقونة الواتساب */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.whatsapp-btn:hover i {
    animation-play-state: paused; /* إيقاف نبض الأيقونة عند التحويم */
    transform: scale(1.1);
}

.whatsapp-btn span {
    font-size: 15px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* تحسين انتقال النص */
    white-space: nowrap; /* منع انكسار النص */
    opacity: 0; /* إخفاء النص بشكل افتراضي */
    width: 0; /* لا يأخذ حيز */
    overflow: hidden; /* إخفاء النص الزائد */
    transform: translateX(-10px); /* إضافة حركة انزلاق للنص */
    visibility: hidden; /* إضافة خاصية الظهور */
}

.whatsapp-btn:hover span {
    opacity: 1; /* إظهار النص عند التحويم */
    width: auto; /* جعل النص يأخذ حجمه الطبيعي */
    transform: translateX(0); /* تحريك النص لمكانه الطبيعي */
    visibility: visible; /* جعل النص مرئي */
}

/* تعديل زر الواتساب في الشاشات الصغيرة */
@media screen and (max-width: 576px) {
    .whatsapp-btn {
        bottom: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }
    
    .whatsapp-btn:hover {
        padding: 10px 20px 10px 16px; /* تعديل التباعد للشاشات الصغيرة */
    }
    
    .whatsapp-btn i {
        font-size: 20px;
    }
    
    .whatsapp-btn span {
        font-size: 14px;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
        color: #053697;
        transition: var(--transition-bounce);
        padding: 10px;
        border-radius: 12px;
        background: linear-gradient(145deg, #ffffff, #f5f5f5);
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05),
                    -5px -5px 10px rgba(255, 255, 255, 0.8);
    }
    
    .menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.08),
                    -6px -6px 12px rgba(255, 255, 255, 0.9);
    }

    .language-menu {
        display: none; /* Hide desktop language menu */
    }
    
    .mobile-language-item {
        display: block;
        width: 100%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding: 90px 20px 30px;
        transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
        gap: 5px;
        overflow-y: auto;
        z-index: 998;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        border-left: 2px solid rgba(5, 54, 151, 0.2);
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.8));
        backdrop-filter: blur(15px);
        z-index: -1;
        border-bottom: 1px solid rgba(5, 54, 151, 0.1);
    }

    /* Company name in the mobile sidebar - visible only on mobile */
    .nav-links .mobile-company-name {
        display: flex;
        position: absolute;
        top: 22px;
        left: 22px;
        font-size: 26px;
        font-weight: 800;
        background-image: linear-gradient(135deg, #053697, #3498db, #053697);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradient 3s ease infinite;
        text-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        letter-spacing: 0.5px;
        z-index: 1;
        font-family: 'Cairo', sans-serif;
        transform: translateZ(0);
        backface-visibility: hidden;
        align-items: center;
    }
    
    .nav-links .mobile-company-name::before {
        content: '';
        display: inline-block;
        width: 8px;
        height: 28px;
        background: linear-gradient(to bottom, #053697, #3498db);
        margin-left: 10px;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(5, 54, 151, 0.3);
    }

    @keyframes gradient {
        0% {
            background-position: 0% center;
        }
        50% {
            background-position: 100% center;
        }
        100% {
            background-position: 0% center;
        }
    }

    /* Close button for mobile menu - enhanced circular design (moved further down) */
    .nav-links::after {
        content: '\2715'; /* رمز X أكثر أناقة */
        position: absolute;
        top: 30px;
        right: 18px;
        font-size: 20px;
        font-weight: 300;
        color: #053697;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(5, 54, 151, 0.2);
        border: 1px solid rgba(5, 54, 151, 0.1);
        transition: all 0.3s ease;
        z-index: 1;
    }
    
    /* تأثير التحويم */
    .nav-links:hover::after {
        transform: rotate(90deg);
        color: #fff;
        background: #053697;
        box-shadow: 0 3px 10px rgba(5, 54, 151, 0.3);
    }
    
    /* تأثير الضغط */
    .nav-links:active::after {
        transform: rotate(90deg) scale(0.9);
        box-shadow: 0 1px 5px rgba(5, 54, 151, 0.2);
        transition: all 0.1s ease;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 2px 0;
        transform: translateX(50px);
        opacity: 0;
        transition: all 0.5s ease;
        transition-delay: 0.1s;
    }
    
    .nav-links.active li {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-links a, .language-menu-mobile .language-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        font-size: 1.1rem;
        position: relative;
        overflow: hidden;
    }

    .nav-links a {
        margin: 2px 0;
        background: linear-gradient(145deg, #ffffff, #f9f9f9);
        border-radius: 16px;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05),
                    -5px -5px 15px rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.6);
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        font-weight: 600;
    }
    
    .nav-links a::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 2px;
        width: 0;
        background: #053697;
        border-radius: 2px;
        transition: width 0.3s ease;
    }
    
    .nav-links a:hover::before,
    .nav-links a.active::before {
        width: 30%;
    }

    .nav-links a:hover, .nav-links a.active {
        transform: translateY(-3px);
        background: #053697;
        color: #ffffff;
        box-shadow: 6px 6px 20px rgba(5, 54, 151, 0.25),
                    -6px -6px 20px rgba(255, 255, 255, 0.1);
        letter-spacing: 0.5px;
    }
    
    .nav-links a:active {
        transform: translateY(0px);
        box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.15),
                    inset -2px -2px 5px rgba(255, 255, 255, 0.1);
    }

    /* Style for mobile language button */
    .language-menu-mobile .language-btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 1.1rem;
        background: linear-gradient(145deg, #ffffff, #f9f9f9);
        border-radius: 16px;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05),
                    -5px -5px 15px rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.6);
        margin: 2px 0;
        font-weight: 600;
        position: relative;
        overflow: hidden;
    }
    
    .language-menu-mobile .language-btn::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }
    
    .language-menu-mobile .language-btn:hover::after {
        transform: translateX(100%);
    }

    .language-menu-mobile .language-btn:hover {
        transform: translateY(-3px);
        background: #053697;
        color: #ffffff;
        box-shadow: 6px 6px 20px rgba(5, 54, 151, 0.25),
                    -6px -6px 20px rgba(255, 255, 255, 0.1);
    }
    
    .language-menu-mobile .language-btn:active {
        transform: translateY(0px);
        box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.15),
                    inset -2px -2px 5px rgba(255, 255, 255, 0.1);
    }
    
    .language-menu-mobile .flag {
        font-size: 1.3em;
        margin-right: 10px;
    }
    
    .language-menu-mobile .language-name {
        font-size: 16px;
        font-weight: 600;
    }
    
    /* Style for mobile language options */
    .language-menu-mobile .language-options {
        position: static;
        width: 100%;
        margin-top: 4px;
        background: linear-gradient(145deg, #f9f9f9, #ffffff);
        border-radius: 16px;
        box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.05),
                    -5px -5px 20px rgba(255, 255, 255, 0.8);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.8);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        display: none;
    }
    
    .language-menu-mobile.active .language-options {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }
    
    .language-menu-mobile .language-option {
        width: 100%;
        padding: 15px;
        justify-content: center;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(5, 54, 151, 0.05);
        transition: all 0.3s ease;
    }
    
    .language-menu-mobile .language-option:last-child {
        border-bottom: none;
    }
    
    .language-menu-mobile .language-option:hover {
        transform: translateX(0) translateY(-3px);
        background: #053697;
        color: #ffffff;
    }

    /* Logo in mobile view */
    .logo img {
        height: 110px;
        transform: translateY(0px);
    }

    .logo {
        align-items: flex-start;
    }

    .logo:hover img {
        transform: translateY(-5px) scale(1.05);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile menu overlay */
body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Other animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Company name initially hidden on all screens */
.mobile-company-name {
    display: none;
}

@media screen and (max-width: 768px) {
    /* Company name in the mobile sidebar - visible only on mobile */
    .nav-links .mobile-company-name {
        display: flex;
        position: absolute;
        top: 10px;
        left: 22px;
        font-size: 26px;
        font-weight: 800;
        background-image: linear-gradient(135deg, #053697, #3498db, #053697);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradient 3s ease infinite;
        text-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        letter-spacing: 0.5px;
        z-index: 1;
        font-family: 'Cairo', sans-serif;
        transform: translateZ(0);
        backface-visibility: hidden;
        align-items: center;
    }
    
    .nav-links .mobile-company-name::before {
        content: '';
        display: inline-block;
        width: 8px;
        height: 28px;
        background: linear-gradient(to bottom, #053697, #3498db);
        margin-left: 10px;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(5, 54, 151, 0.3);
    }

    .about-section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-text {
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .istanbul-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight {
        max-width: 100%;
    }
}

/* سلايدر الترحيب */
.welcome-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* الهامش العلوي لتجنب تداخل الهيدر */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.slides-container {
    display: flex;
    width: 300%; /* ثلاثة سلايدات */
    transition: transform 1.2s cubic-bezier(0.33, 1, 0.68, 1); /* حركة أكثر سلاسة */
    height: 500px;
    direction: inherit; /* يتبع اتجاه المستند */
}

.slide {
    width: 33.33%; /* عرض كل سلايد واحد من ثلاثة */
    position: relative;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.7); /* تعتيم الصورة قليلاً لإبراز النص */
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 0 15%;
    color: #fff;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1) 0.3s;
}

.slide-description {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1) 0.5s;
}

.slide-btn {
    padding: 12px 30px;
    background-color: #053697;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(5, 54, 151, 0.3);
    transition: var(--transition-bounce);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.33, 1, 0.68, 1) 0.7s;
}

.slide-btn:hover {
    background-color: #0448d0;
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(5, 54, 151, 0.4);
}

.slide-btn:active {
    transform: translateY(-2px);
    transition: var(--transition-fast);
}

/* نقاط التنقل بين السلايدات */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-bounce);
}

.nav-dot.active {
    background-color: #fff;
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* الكلاس الذي يُضاف للسلايد النشط */
.slide.active .slide-title,
.slide.active .slide-description,
.slide.active .slide-btn {
    opacity: 1;
    transform: translateY(0);
}

/* التجاوب مع الشاشات المختلفة */
@media screen and (max-width: 992px) {
    .slides-container {
        height: 450px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .slides-container {
        height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .slide-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .slide-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .slide-content {
        padding: 0 10%;
    }
    
    .arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 576px) {
    .slides-container {
        height: 350px;
    }
    
    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .slide-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .slide-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .slide-content {
        padding: 0 5%;
    }
    
    .slider-arrows {
        padding: 0 15px;
    }
    
    .arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
}

/* ====== قسم من نحن ====== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* إضافة نقش عثماني خفيف بالخلفية */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="none" stroke="rgba(5, 54, 151, 0.03)" stroke-width="1" d="M50,0 C50,27.6 27.6,50 0,50 C27.6,50 50,72.4 50,100 C50,72.4 72.4,50 100,50 C72.4,50 50,27.6 50,0 Z"/></svg>');
    background-repeat: repeat;
    background-size: 100px 100px;
    opacity: 0.5;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #053697;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    display: block;
    margin-bottom: 15px;
}

.title-decoration {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.title-decoration span {
    height: 4px;
    width: 80px;
    background: linear-gradient(to right, #053697, #3498db);
    border-radius: 4px;
    position: relative;
}

.title-decoration span::before,
.title-decoration span::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 15px;
    background: #053697;
    border-radius: 4px;
    top: 0;
}

.title-decoration span::before {
    left: -20px;
}

.title-decoration span::after {
    right: -20px;
}

/* صورة القسم */
.about-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 15px;
    background: linear-gradient(90deg, transparent, rgba(5, 54, 151, 0.1), transparent);
    border-radius: 50%;
    filter: blur(10px);
}

.about-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* محتوى القسم */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #053697, transparent);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

/* مميزات إسطنبول */
.istanbul-highlights {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 30px;
    width: 100%;
}

.highlight {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 450px;
    text-align: right;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight i {
    font-size: 2rem;
    color: #053697;
    margin-top: 5px;
}

.highlight-text {
    flex: 1;
}

.highlight-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.highlight-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* المميزات */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
    align-items: center;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05),
                -5px -5px 15px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
    width: 100%;
    max-width: 800px;
    text-align: right;
}

.feature:hover {
    transform: translateY(-5px);
    border-right: 3px solid #053697;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.08),
                -8px -8px 20px rgba(255, 255, 255, 0.9);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #053697, #3498db);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(5, 54, 151, 0.3);
}

.feature-text {
    flex: 1;
    text-align: right;
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* الإحصائيات */
.about-stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(145deg, #f8f9fa, #f1f5f9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="2" fill="rgba(5, 54, 151, 0.1)"/></svg>');
    background-repeat: repeat;
    opacity: 0.5;
    z-index: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.stat::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.stat:first-child::after {
    display: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #053697;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
}

/* تجاوب قسم من نحن */
@media screen and (max-width: 992px) {
    .about-heading {
        font-size: 1.6rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .istanbul-highlights {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .about-section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-text {
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .istanbul-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight {
        max-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .about-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-heading {
        font-size: 1.4rem;
    }
    
    .about-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .feature {
        padding: 15px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .stat {
        width: 100%;
        padding: 15px 0;
    }
    
    .stat::after {
        display: none;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-text {
        font-size: 0.9rem;
    }
    
    .highlight {
        padding: 15px;
    }
    
    .highlight i {
        font-size: 1.5rem;
    }
}

/* أزرار قسم من نحن */
.about-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    flex-wrap: wrap;
}

.about-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    background: linear-gradient(145deg, #053697, #0448d0);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(5, 54, 151, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 220px;
    justify-content: center;
}

.about-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.about-btn:hover::before {
    transform: translateX(100%);
}

.about-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(5, 54, 151, 0.4);
    background: linear-gradient(145deg, #0448d0, #053697);
}

.about-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 54, 151, 0.3);
}

.about-btn i {
    font-size: 1.2rem;
}

@media screen and (max-width: 576px) {
    .about-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ====== قسم الخدمات ====== */
.services-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 150 150"><path fill="none" stroke="rgba(5, 54, 151, 0.02)" stroke-width="1" d="M75,0 C75,41.4 41.4,75 0,75 C41.4,75 75,108.6 75,150 C75,108.6 108.6,75 150,75 C108.6,75 75,41.4 75,0 Z"/></svg>');
    background-repeat: repeat;
    background-size: 150px 150px;
    opacity: 0.7;
    z-index: 0;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.services-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.service-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(5, 54, 151, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 5px;
    width: 0;
    background: linear-gradient(to left, #053697, #3498db);
    transition: width 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #053697, #3498db);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(5, 54, 151, 0.2);
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 30px rgba(5, 54, 151, 0.3);
    background: linear-gradient(135deg, #0448d0, #053697);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    color: #053697;
}

.service-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: #053697;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.service-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #053697;
    transition: width 0.3s ease;
}

.service-link:hover {
    color: #0448d0;
}

.service-link:hover::before {
    width: 100%;
}

.service-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* تجاوب قسم الخدمات */
@media screen and (max-width: 992px) {
    .services-row {
        flex-wrap: wrap;
    }
    
    .service-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .services-section {
        padding: 70px 0;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 576px) {
    .services-row {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

/* ====== النوافذ المنبثقة ====== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(5px);
    direction: rtl;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(to left, #053697, #3498db);
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.modal-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-close {
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-close i {
    color: #053697;
    font-size: 16px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: #f8f9fa;
}

.modal-close:hover i {
    color: #e74c3c;
}

.modal-body {
    padding: 0;
    overflow-y: auto;
    max-height: calc(85vh - 70px);
    display: flex;
    flex-direction: column;
}

.modal-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modal-container:hover .modal-image img {
    transform: scale(1.05);
}

.modal-content {
    padding: 25px 25px 30px;
}

.modal-content h4 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 15px;
    position: relative;
    padding-bottom: 10px;
}

.modal-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to left, #053697, #3498db);
    border-radius: 3px;
}

.modal-content p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.modal-features li {
    padding: 10px 0 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.modal-features li:last-child {
    border-bottom: none;
}

.modal-features li i {
    color: #27ae60;
    font-size: 16px;
    margin-top: 3px;
}

.modal-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    background: rgba(5, 54, 151, 0.05);
    padding: 15px;
    border-radius: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.info-item i {
    color: #053697;
    font-size: 14px;
}

.info-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.modal-action {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 140px;
}

.primary-btn {
    background: linear-gradient(145deg, #053697, #0448d0);
    color: white;
    box-shadow: 0 5px 15px rgba(5, 54, 151, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5, 54, 151, 0.4);
}

.secondary-btn {
    background: white;
    color: #053697;
    border: 1px solid #053697;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.secondary-btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* تجاوب النوافذ المنبثقة */
@media screen and (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
    
    .modal-image {
        width: 40%;
        height: auto;
    }
    
    .modal-content {
        width: 60%;
        padding: 30px;
    }
}

@media screen and (max-width: 767px) {
    .modal-image {
        height: 180px;
    }
    
    .modal-content h4 {
        font-size: 1.2rem;
    }
    
    .modal-content p {
        font-size: 0.95rem;
    }
    
    .modal-features li {
        padding: 8px 0;
    }
    
    .modal-action {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
    
    .info-item {
        flex-grow: 1;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-content h4 {
        font-size: 1.1rem;
    }
    
    .modal-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .info-item {
        width: 100%;
    }
}

/* ===== قسم التواصل ===== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path fill="none" stroke="rgba(5, 54, 151, 0.03)" stroke-width="1" d="M30,0 C30,16.5 16.5,30 0,30 C16.5,30 30,43.5 30,60 C30,43.5 43.5,30 60,30 C43.5,30 30,16.5 30,0 Z"/></svg>');
    background-repeat: repeat;
    background-size: 60px 60px;
    opacity: 0.5;
    z-index: 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* تنسيق معلومات الاتصال */
.contact-info {
    flex: 1 1 400px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: var(--transition-bounce);
    border: 1px solid rgba(5, 54, 151, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(to left, #053697, #3498db);
    transition: width 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-card:hover::before {
    width: 100%;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #053697, #3498db);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    font-size: 1.3rem;
    box-shadow: 0 10px 20px rgba(5, 54, 151, 0.2);
    transition: var(--transition-bounce);
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 30px rgba(5, 54, 151, 0.3);
    background: linear-gradient(135deg, #0448d0, #053697);
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.contact-details p, 
.contact-details a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    font-size: 1rem;
}

.contact-details a:hover {
    color: #053697;
    transform: translateX(-5px);
}

/* تنسيق نموذج الاتصال */
.contact-form-container {
    flex: 1 1 500px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 35px;
    border: 1px solid rgba(5, 54, 151, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(5, 54, 151, 0.1);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(to left, #053697, #3498db);
    border-radius: 15px 15px 0 0;
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background-image: linear-gradient(135deg, #053697, #3498db);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #053697;
    box-shadow: 0 0 0 4px rgba(5, 54, 151, 0.1);
    outline: none;
    background-color: #f9fafc;
}

.form-group input::placeholder, 
.form-group select::placeholder, 
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(145deg, #053697, #0448d0);
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(5, 54, 151, 0.2);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 1s ease;
}

.submit-btn:hover::before {
    transform: translateX(100%);
}

.submit-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(5, 54, 151, 0.3);
}

.submit-btn:active {
    transform: translateY(-2px) scale(0.98);
    transition: var(--transition-fast);
}

.submit-btn.success {
    background: linear-gradient(145deg, #27ae60, #2ecc71);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* تنسيق الخريطة */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(5, 54, 151, 0.05);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* فترة فاصلة مميزة قبل الخريطة */
.contact-container::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, #053697, transparent);
    border-radius: 3px;
}

/* تجاوب مع الشاشات المختلفة */
@media (max-width: 992px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-header h3 {
        font-size: 1.6rem;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-form-container {
        order: -1;
        padding: 30px;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-left: 15px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .form-header h3 {
        font-size: 1.4rem;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
}

/* ===== قسم الفوتر ===== */
.footer {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    color: #2652a8;
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><circle cx="15" cy="15" r="1" fill="rgba(38, 82, 168, 0.05)"/></svg>');
    background-repeat: repeat;
    background-size: 30px 30px;
    opacity: 0.4;
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to left, #053697, #3498db);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* معلومات الشركة */
.footer-info {
    flex: 1 1 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 70px;
    height: auto;
    margin-left: 15px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2652a8;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer-description {
    color: #2652a8;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
    text-align: justify;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(38, 82, 168, 0.1);
    color: #2652a8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(38, 82, 168, 0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #053697, #2652a8);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(38, 82, 168, 0.3);
    border-color: transparent;
    color: #ffffff;
}

/* روابط الفوتر */
.footer-links {
    flex: 1 1 200px;
}

.footer-links h4 {
    font-size: 1.3rem;
    color: #2652a8;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to left, #053697, #3498db);
    border-radius: 3px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 13px;
}

.footer-links ul li a {
    color: #2652a8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.05rem;
    padding-right: 20px;
    position: relative;
}

.footer-links ul li a::before {
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #053697;
    transform: translateX(-8px);
}

.footer-links ul li a:hover::before {
    opacity: 1;
    right: 10px;
}

/* معلومات الاتصال في الفوتر */
.footer-contact {
    flex: 1 1 250px;
}

.footer-contact h4 {
    font-size: 1.3rem;
    color: #2652a8;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to left, #053697, #3498db);
    border-radius: 3px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
}

.contact-item i {
    width: 36px;
    height: 36px;
    background: rgba(38, 82, 168, 0.2);
    color: #2652a8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-item:hover i {
    background: linear-gradient(to right, #2652a8, #3498db);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(38, 82, 168, 0.3);
}

.contact-item a {
    color: #2652a8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.contact-item a:hover,
.contact-item span:hover {
    color: #053697;
}

/* أسفل الفوتر */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid rgba(38, 82, 168, 0.2);
    position: relative;
    z-index: 1;
}

.footer-copyright {
    color: #2652a8;
    font-size: 1rem;
    position: relative;
}

.footer-copyright p {
    margin: 0;
}

#currentYear {
    font-weight: 600;
    color: #053697;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-payment span {
    color: #2652a8;
    font-size: 1rem;
}

.footer-payment img {
    width: 40px;
    height: auto;
    filter: grayscale(0.7) opacity(0.7);
    transition: all 0.3s ease;
}

.footer-payment img:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-3px);
}

/* تجاوب مع الشاشات المختلفة */
@media (max-width: 992px) {
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo h3 {
        font-size: 1.6rem;
    }
    
    .footer-description {
        font-size: 1rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
        width: 100%;
    }
    
    .footer-links ul li a {
        padding-right: 0;
    }
    
    .footer-links ul li a::before {
        display: none;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .contact-item i {
        margin-left: 10px;
        margin-right: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px 0;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-logo img {
        width: 60px;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
    
    .contact-item i {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .footer-payment img {
        width: 35px;
    }
}

/* ===== قسم السيارات ===== */
.cars-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
}

.cars-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><circle cx="25" cy="25" r="1" fill="rgba(5, 54, 151, 0.05)"/></svg>');
    background-repeat: repeat;
    opacity: 0.7;
    z-index: 0;
}

.cars-container {
    position: relative;
    z-index: 1;
}

/* تنسيق عنوان فئة السيارات */
.car-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding-right: 15px;
}

.category-title::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: linear-gradient(to bottom, #053697, #3498db);
    border-radius: 2px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(to left, #053697, transparent);
}

/* تنسيق صف السيارات */
.cars-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scrollbar-width: thin;
    scrollbar-color: #053697 #f1f1f1;
}

/* تنسيق سكرول بار للصف */
.cars-row::-webkit-scrollbar {
    height: 8px;
}

.cars-row::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cars-row::-webkit-scrollbar-thumb {
    background: #053697;
    border-radius: 10px;
}

.cars-row::-webkit-scrollbar-thumb:hover {
    background: #0448d0;
}

/* تنسيق بطاقة السيارة */
.car-card {
    flex: 0 0 350px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: var(--transition-bounce);
    border: 1px solid rgba(5, 54, 151, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(5, 54, 151, 0.1);
}

/* تنسيق صورة السيارة */
.car-image, .car-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.car-image img, .car-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.car-card:hover .car-image img, .car-card:hover .car-image-wrapper img {
    transform: scale(1.12);
}

/* علامة فئة السيارة */
.car-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.car-tag.luxury {
    background: linear-gradient(135deg, #d4af37, #f9d949);
}

.car-tag.family {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.car-tag.economy {
    background: linear-gradient(135deg, #3498db, #5dade2);
}

.car-tag.sport {
    background: linear-gradient(135deg, #e74c3c, #f5b7b1);
}

.car-tag.electric {
    background: linear-gradient(135deg, #9b59b6, #c39bd3);
}

/* تنسيق معلومات السيارة */
.car-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.car-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 15px;
    gap: 5px;
}

.amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #053697;
}

.currency {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* تنسيق ميزات السيارة */
.car-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 0 20px;
    padding: 15px;
    background-color: rgba(5, 54, 151, 0.03);
    border-radius: 10px;
    list-style: none;
}

.car-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #555;
}

.car-features li i {
    color: #053697;
    font-size: 1rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(5, 54, 151, 0.1);
    border-radius: 50%;
}

/* تنسيق زر الحجز */
.car-action {
    margin-top: auto;
}

.car-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(145deg, #053697, #0448d0);
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(5, 54, 151, 0.2);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.car-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 1s ease;
}

.car-btn:hover::before {
    transform: translateX(100%);
}

.car-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(5, 54, 151, 0.4);
}

.car-btn:active {
    transform: translateY(-2px);
    transition: var(--transition-fast);
}

.car-btn i {
    font-size: 1.2rem;
    color: #25D366;
    transition: transform 0.3s ease;
}

.car-btn:hover i {
    transform: scale(1.2);
}

/* تجاوب مع الشاشات المختلفة */
@media screen and (max-width: 1200px) {
    .car-card {
        flex: 0 0 320px;
    }
}

@media screen and (max-width: 992px) {
    .cars-section {
        padding: 80px 0;
    }
    
    .car-card {
        flex: 0 0 300px;
    }
    
    .car-image {
        height: 200px;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .car-name {
        font-size: 1.3rem;
    }
    
    .amount {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 768px) {
    .cars-section {
        padding: 60px 0;
    }
    
    .car-card {
        flex: 0 0 280px;
    }
    
    .car-image {
        height: 180px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .car-name {
        font-size: 1.2rem;
    }
    
    .amount {
        font-size: 1.3rem;
    }
    
    .car-features {
        grid-template-columns: 1fr 1fr;
        padding: 12px;
        gap: 10px;
    }
    
    .car-features li {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .cars-section {
        padding: 50px 0;
    }
    
    .car-card {
        flex: 0 0 260px;
    }
    
    .car-image {
        height: 160px;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .car-name {
        font-size: 1.1rem;
    }
    
    .amount {
        font-size: 1.2rem;
    }
    
    .currency {
        font-size: 0.85rem;
    }
    
    .car-features {
        gap: 8px;
    }
    
    .car-features li {
        font-size: 0.85rem;
    }
    
    .car-btn {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
}

/* تعديل حقل إدخال رقم الهاتف */
.form-group input[type="tel"] {
    direction: rtl;
    text-align: right;
}

/* قسم البحث عن السيارات */
.car-search-container {
    margin-top: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.car-search-wrapper {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 30px;
    border: 1px solid rgba(5, 54, 151, 0.08);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.car-search-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(to left, #053697, #3498db);
}

.car-search-wrapper:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.search-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.search-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, #053697, transparent);
    border-radius: 3px;
}

.car-search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.search-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.search-group {
    flex: 1;
    min-width: 200px;
}

.search-group label {
    display: block;
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 600;
}

.search-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    transition: var(--transition);
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23053697" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 35px;
}

.search-group select:focus {
    border-color: #053697;
    box-shadow: 0 0 0 4px rgba(5, 54, 151, 0.1);
    outline: none;
}

.search-btn {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 40px;
    background: linear-gradient(145deg, #053697, #0448d0);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(5, 54, 151, 0.25);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    font-family: 'Cairo', sans-serif;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.search-btn:hover::before {
    transform: translateX(100%);
}

.search-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(5, 54, 151, 0.4);
}

.search-btn:active {
    transform: translateY(-2px);
    transition: var(--transition-fast);
}

.search-btn i {
    font-size: 1.1rem;
}

/* تأثير تطابق نتائج البحث */
.search-match {
    animation: searchMatch 1s ease;
}

@keyframes searchMatch {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(5, 54, 151, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(5, 54, 151, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(5, 54, 151, 0.1);
    }
}

/* رسالة عدم وجود نتائج */
.no-results-message {
    width: 100%;
    padding: 50px 30px;
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.no-results-icon {
    margin-bottom: 20px;
}

.no-results-icon i {
    font-size: 3rem;
    color: #053697;
    opacity: 0.5;
}

.no-results-message h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.no-results-message p {
    color: #666;
    margin-bottom: 20px;
}

.reset-search-btn {
    padding: 10px 30px;
    background: linear-gradient(145deg, #053697, #0448d0);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(5, 54, 151, 0.25);
    transition: var(--transition-bounce);
    font-family: 'Cairo', sans-serif;
}

.reset-search-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(5, 54, 151, 0.35);
}

/* تجاوب قسم البحث */
@media screen and (max-width: 768px) {
    .search-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .car-search-wrapper {
        padding: 25px 20px;
    }
    
    .search-title {
        font-size: 1.3rem;
    }
    
    .search-group {
        width: 100%;
    }
    
    .no-results-message {
        padding: 40px 20px;
    }
}

@media screen and (max-width: 576px) {
    .car-search-wrapper {
        padding: 20px 15px;
    }
    
    .search-title {
        font-size: 1.2rem;
    }
    
    .search-btn {
        padding: 10px 25px;
        font-size: 1rem;
        width: 100%;
    }
    
    .no-results-message h3 {
        font-size: 1.3rem;
    }
}

/* زر العودة إلى الأعلى */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, #053697, #0448d0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(5, 54, 151, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: linear-gradient(145deg, #0448d0, #053697);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 25px rgba(5, 54, 151, 0.5);
}

.back-to-top:active {
    transform: translateY(-3px) scale(0.95);
    transition: var(--transition-fast);
}

@media screen and (max-width: 576px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

/* تنسيق قسم الخريطة والتعليقات */
.map-reviews-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.map-reviews-wrapper .map-container {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition-bounce);
}

.map-reviews-wrapper .map-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.reviews-container {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.reviews-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.reviews-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(to left, #053697, #3498db);
}

.reviews-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.reviews-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #053697, #3498db);
    border-radius: 2px;
}

.google-reviews {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 10px;
}

.google-reviews::-webkit-scrollbar {
    width: 8px;
}

.google-reviews::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.google-reviews::-webkit-scrollbar-thumb {
    background: #c1c9d3;
    border-radius: 10px;
}

.google-reviews::-webkit-scrollbar-thumb:hover {
    background: #a1aab3;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(5, 54, 151, 0.05);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #053697;
    margin-right: 12px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    color: var(--primary-color);
}

.review-stars {
    display: flex;
    margin-bottom: 3px;
}

.review-stars i {
    color: #f4b400;
    font-size: 0.85rem;
    margin-right: 2px;
}

.review-date {
    font-size: 0.8rem;
    color: #777;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.reviews-link {
    text-align: center;
    margin-top: 20px;
}

.more-reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f3f4;
    color: #444;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.more-reviews-btn i {
    color: #4285F4;
    font-size: 1.2rem;
}

.more-reviews-btn:hover {
    background: #e7eaed;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* تجاوب قسم التعليقات */
@media (max-width: 992px) {
    .map-reviews-wrapper {
        flex-direction: column;
    }
    
    .map-reviews-wrapper .map-container,
    .reviews-container {
        width: 100%;
    }
    
    .reviews-container {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .reviews-title {
        font-size: 1.3rem;
    }
    
    .review-card {
        padding: 15px;
    }
    
    .reviewer-img {
        width: 35px;
        height: 35px;
    }
    
    .reviewer-name {
        font-size: 0.9rem;
    }
    
    .review-stars i {
        font-size: 0.75rem;
    }
    
    .review-text {
        font-size: 0.85rem;
    }
}

/* تنسيق نموذج إضافة تعليق */
.add-review-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(5, 54, 151, 0.05);
}

.add-review-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.add-review-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.add-review-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #053697, #3498db);
    border-radius: 2px;
}

.add-review-form {
    margin-top: 15px;
}

.review-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.review-form-group {
    flex: 1;
    margin-bottom: 15px;
}

.review-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.review-form-group input,
.review-form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: #444;
    transition: var(--transition);
}

.review-form-group input:focus,
.review-form-group textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.review-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* تنسيق اختيار التقييم بالنجوم */
.rating-select {
    margin-bottom: 15px;
}

.rating-select label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    direction: ltr;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    width: 30px;
    font-size: 1.5rem;
    color: #ddd;
    transition: var(--transition);
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f4b400;
}

/* تنسيق زر إرسال التعليق */
.submit-review-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(to right, #053697, #3498db);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 200px;
    margin: 5px auto 0;
    font-family: 'Cairo', sans-serif;
}

.submit-review-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: var(--transition);
}

.submit-review-btn:hover::before {
    transform: translateX(100%);
}

.submit-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(5, 54, 151, 0.2);
}

.submit-review-btn:active {
    transform: translateY(-1px);
}

.submit-review-btn i {
    font-size: 1rem;
}

/* تجاوب نموذج التعليق */
@media (max-width: 768px) {
    .review-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .submit-review-btn {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .add-review-container {
        padding: 15px;
    }
    
    .add-review-title {
        font-size: 1rem;
    }
    
    .review-form-group input, 
    .review-form-group textarea {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .star-rating label {
        width: 25px;
        font-size: 1.2rem;
    }
}

/* تأثير التعليق الجديد */
.new-review {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.new-review.show {
    transform: translateY(0);
    opacity: 1;
}

.new-review::before {
    content: 'جديد';
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(to right, #053697, #3498db);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    opacity: 0.9;
    z-index: 1;
}

@media (max-width: 768px) {
  .footer-links,
  .footer-contact {
    text-align: center !important;
    position: relative !important;
  }
  .footer-links h4,
  .footer-contact h4 {
    display: inline-block;
    width: auto;
    position: relative;
  }
  .footer-links h4::after,
  .footer-contact h4::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
  }
}