/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0078C8; /* أزرق متوسط */
    --primary-dark: #005b99; /* أزرق غامق */
    --primary-light: #4eaae6; /* أزرق فاتح */
    --secondary-color: #21BFBD; /* أخضر فاتح */
    --secondary-dark: #19908f; /* أخضر غامق */
    --accent-color: #00a4bd; /* أزرق مائل للخضرة */
    --text-color: #333;
    --light-text: #777;
    --background-color: #f8fafb;
    --white-color: #ffffff;
    --border-color: #eaeaea;
    --hover-color: #0069b3;
    --shadow-color: rgba(0, 120, 200, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

body {
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 130px; /* تقليل المساحة العلوية قليلاً */
}

/* Top Bar Styles */
.top-bar {
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 8px 0; /* تقليل الحشو */
    font-size: 0.95rem; /* تقليل حجم النص */
}

.top-bar .container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* تقليل الحشو الجانبي */
}

.contact-info a {
    color: var(--white-color);
    text-decoration: none;
    margin-left: 20px; /* تقليل المسافة بين روابط الاتصال */
    transition: all 0.3s ease;
    font-size: 1rem; /* تقليل حجم النص */
}

.contact-info i {
    margin-left: 6px;
    font-size: 1rem; /* تقليل حجم الأيقونة */
}

.social-links a {
    color: var(--white-color);
    background-color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    width: 32px; /* تقليل حجم أيقونات التواصل الاجتماعي */
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
    transition: all 0.3s ease;
    font-size: 1rem; /* تقليل حجم الأيقونة */
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Header Styles */
.main-header {
    background-color: var(--white-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--secondary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 12px 20px; /* تقليل الحشو */
}

.header-main {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 20px; /* تقليل المسافة بين اللوغو والقائمة */
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 0; /* إزالة المسافة الجانبية */
}

.logo::after {
    display: none;
}

.logo a {
    color: var(--primary-color);
    font-size: 1.6rem; /* تقليل حجم النص */
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-img {
    height: 75px; /* زيادة حجم اللوغو بشكل أكبر */
    margin-left: 5px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.company-name {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12);
    font-size: 1.4rem; /* تقليل حجم اسم الشركة */
}

.logo a:hover {
    transform: scale(1.02);
}

.logo a:hover .logo-img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 6px; /* تقليل المسافة بين عناصر القائمة */
    position: relative;
}

.nav-icon {
    color: var(--primary-light);
    margin-left: 5px; /* تقليل المسافة بين الأيقونة والنص */
    font-size: 1.05rem; /* تقليل حجم الأيقونة */
    transition: all 0.3s ease;
}

.nav-links a:hover .nav-icon {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 6px 8px; /* تقليل الحشو */
    transition: all 0.3s ease;
    font-size: 1.05rem; /* تقليل حجم النص */
    display: flex;
    align-items: center;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px; /* تقليل سمك الخط */
    bottom: 0;
    right: 0;
    background: var(--gradient-accent);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px); /* زيادة تأثير الحركة */
}

.nav-links a:hover::before {
    width: 100%;
    height: 4px; /* تعديل سمك الخط عند التحويم */
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle i.fa-chevron-down {
    margin-right: 6px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--primary-light);
}

.dropdown:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background-color: var(--white-color);
    min-width: 230px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    border-top: 3px solid var(--secondary-color);
    overflow: hidden;
    display: block;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 200, 0.03), rgba(33, 191, 189, 0.03));
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px; /* تقليل الحشو */
    display: flex;
    align-items: center;
    border-right: 3px solid transparent; /* تقليل سمك الحدود */
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 1.05rem; /* تقليل حجم النص */
}

.dropdown-menu a i {
    margin-left: 10px;
    font-size: 1.05rem; /* تقليل حجم الأيقونة */
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 120, 200, 0.05);
    border-right: 4px solid var(--secondary-color);
    padding-right: 30px;
}

.dropdown-menu a:hover i {
    transform: scale(1.1);
}

.dropdown-menu a::before {
    display: none;
}

/* Header Action Button */
.header-action {
    margin-right: 0;
    margin-left: 5px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white-color) !important;
    padding: 7px 16px; /* تقليل الحشو */
    border-radius: 20px; /* تقليل الانحناء */
    font-weight: 600; /* تقليل سمك الخط */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-align: center;
    border: none;
    box-shadow: 0 4px 12px rgba(33, 191, 189, 0.25); /* تخفيف الظل */
    white-space: nowrap;
    font-size: 1.05rem; /* تقليل حجم النص */
    text-decoration: none;
}

.btn-primary i {
    margin-left: 6px;
    font-size: 1.05rem; /* تقليل حجم الأيقونة */
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(33, 191, 189, 0.3);
}

.btn-primary:hover i {
    transform: scale(1.1);
}

.btn-primary::before {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 36px; /* تقليل حجم زر القائمة */
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px; /* تقليل سمك الخطوط */
    background: var(--gradient-primary);
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: right center;
    border-radius: 3px;
}

/* إخفاء لوغو القائمة الجانبية على الشاشات الكبيرة */
.nav-links li.sidebar-logo {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 1100px) {
    .nav-links a {
        font-size: 1rem; /* تقليل حجم النص */
    }
    
    .nav-links li {
        margin: 0 5px;
    }
    
    .company-name {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 70px; /* زيادة حجم اللوغو للشاشات المتوسطة */
    }
}

@media screen and (max-width: 992px) {
    body {
        padding-top: 135px; /* تقليل المساحة العلوية */
    }
    
    .header-container {
        padding: 12px; /* تقليل الحشو */
    }
    
    .header-main {
        justify-content: space-between;
        width: 100%;
    }
    
    .company-name {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 70px; /* زيادة حجم اللوغو للشاشات الصغيرة */
    }
    
    .logo {
        margin-left: 0;
    }
    
    .main-nav {
        order: 2;
    }
    
    /* إظهار لوغو القائمة الجانبية على الشاشات الصغيرة */
    .nav-links li.sidebar-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
        background-color: rgba(248, 250, 251, 0.5);
    }
    
    .nav-links li.sidebar-logo a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        text-align: center;
    }
    
    .nav-links li.sidebar-logo .logo-img {
        height: 90px; /* زيادة حجم اللوغو في القائمة الجانبية */
        margin-bottom: 8px;
        margin-left: 0;
    }
    
    .nav-links li.sidebar-logo .company-name {
        font-size: 1.1rem;
    }
    
    .nav-links li.sidebar-logo a::before {
        display: none;
    }
    
    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        bottom: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background-color: var(--white-color);
        box-shadow: -5px 0 15px rgba(0,0,0,0.15);
        padding-top: 0; /* إزالة الحشو العلوي لتكون متساوية مع الهيدر */
        transition: transform 0.4s ease, right 0.4s ease;
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
        align-items: flex-start;
        transform: translateX(0);
    }
    
    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    }
    
    .nav-links.active {
        right: 0;
        transform: translateX(0);
    }

    .nav-links li {
        margin: 0;
        padding: 2px 0;
        text-align: right;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        overflow-x: hidden;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 16px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        text-align: right;
        width: 100%;
        direction: rtl;
        overflow-x: hidden;
        white-space: nowrap;
    }
    
    .nav-icon {
        margin-left: 10px;
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        width: 36px;
    }

    /* إعادة تنسيق نظام القائمة المنسدلة تماماً */
    .dropdown {
        width: 100% !important;
        display: block !important;
    }
    
    /* تنسيقات محاذاة القائمة المنسدلة والنص */
    .dropdown-toggle {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-start !important;
        text-align: right !important;
        padding-right: 16px !important;
    }
    
    .dropdown-toggle .nav-icon {
        order: -1 !important; /* الأيقونة في اليمين */
        margin-left: 8px !important;
    }
    
    .dropdown-toggle i.fa-chevron-down {
        order: 2 !important; /* السهم في اليسار */
        margin-right: auto !important;
        margin-left: 8px !important;
    }
    
    .dropdown-toggle .toggle-text {
        order: 0 !important;
        text-align: right !important;
    }
    
    .dropdown.active .dropdown-toggle i.fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        right: 0 !important;
        left: 0 !important;
        top: auto !important;
        transform: none !important;
        border-top: none !important;
        border-right: 5px solid var(--secondary-color) !important;
    }
    
    .dropdown.active .dropdown-menu {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 !important;
    }
    
    .dropdown-menu a {
        background-color: rgba(0, 120, 200, 0.05) !important;
        padding: 10px 40px 10px 15px !important;
        border-bottom: 1px solid var(--border-color) !important;
        font-size: 1.05rem;
        justify-content: flex-start;
        text-align: right;
        direction: rtl;
    }
    
    .dropdown-menu a i {
        margin-left: 10px;
        margin-right: 0;
        font-size: 1.05rem;
    }
    
    .dropdown-menu a:hover {
        border-right-color: var(--secondary-color) !important;
        padding-right: 45px !important;
    }
    
    .dropdown-menu::before {
        display: none !important;
    }
    
    .header-action {
        margin: 16px;
        text-align: right;
    }
    
    .btn-primary {
        width: 100%;
        padding: 12px;
        justify-content: center;
        font-size: 1.1rem;
    }
    
    .btn-primary i {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle span {
        height: 4px; /* تقليل سمك الخطوط */
        margin: 5px 0; /* تقليل المسافة بين الخطوط */
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 130px;
    }
    
    .top-bar .container {
        flex-direction: column;
        align-items: center;
        padding: 8px; /* تقليل الحشو */
    }
    
    .contact-info {
        margin-bottom: 8px;
    }
    
    .contact-info a {
        font-size: 0.95rem;
        margin-left: 12px;
    }
    
    .social-links {
        display: none; /* إخفاء أيقونات التواصل الاجتماعي في عرض الهواتف */
    }
    
    .company-name {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .image-frame {
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .about-description {
        text-align: center;
    }
    
    .about-features {
        align-items: center;
    }
    
    .feature {
        max-width: 500px;
    }
    
    .about-cta {
        align-items: center;
    }
    
    .btn-primary {
        align-self: center;
    }
    
    .about-experience {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        padding: 15px 20px;
    }
    
    .shape-1, .shape-2 {
        opacity: 0.1;
    }
    
    .vision-item p {
        text-align: center;
        padding-right: 0;
    }
    
    .vision-item h4 {
        justify-content: center;
    }
    
    .desktop-vision {
        display: none; /* إخفاء قسم الرؤية والرسالة الأصلي في الهواتف */
    }
    
    .mobile-vision-container {
        display: block;
        margin: 15px 0 25px;
        border-top: none;
        padding-top: 0;
    }
    
    .mobile-vision-title {
        display: none;
    }
    
    .mobile-vision-container .vision-cards {
        margin-top: 0;
        gap: 0;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid rgba(0, 120, 200, 0.1);
    }
    
    .mobile-vision-container .vision-card {
        animation: fadeInUp 0.6s ease both;
        margin-bottom: 0;
        text-align: center;
        background: rgba(255, 255, 255, 0.95);
        padding: 15px;
        position: relative;
        overflow: hidden;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }
    
    .mobile-vision-container .vision-card:first-child {
        animation-delay: 0.1s;
        border-bottom: 1px solid rgba(0, 120, 200, 0.1);
        border-right: 3px solid var(--primary-color);
    }
    
    .mobile-vision-container .vision-card:last-child {
        animation-delay: 0.2s;
        border-right: 3px solid var(--secondary-color);
    }
    
    .mobile-vision-container .vision-card-header {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .mobile-vision-container .vision-card-header i {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(0, 120, 200, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        margin-left: 10px;
        transition: all 0.3s ease;
    }
    
    .mobile-vision-container .vision-card:first-child .vision-card-header i {
        color: var(--primary-color);
    }
    
    .mobile-vision-container .vision-card:last-child .vision-card-header i {
        color: var(--secondary-color);
    }
    
    .mobile-vision-container .vision-card-header h4 {
        font-size: 1.3rem;
        font-weight: 600;
        margin: 0;
    }
    
    .mobile-vision-container .vision-card p {
        font-size: 1rem;
        line-height: 1.7;
        color: var(--text-color);
        margin: 0;
    }
    
    .mobile-vision-container .vision-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    }
    
    .mobile-vision-container .vision-card:hover .vision-card-header i {
        transform: scale(1.1);
        background: var(--primary-light);
        color: var(--white-color);
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media screen and (max-width: 576px) {
    body {
        padding-top: 120px;
    }

    .header-container {
        padding: 10px;
    }

    .logo-img {
        height: 65px; /* زيادة حجم اللوغو للشاشات الصغيرة جداً */
    }

    .company-name {
        font-size: 1.2rem;
    }

    .nav-links {
        width: 80%;
    }
    
    .contact-info a {
        margin-left: 8px;
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        margin-right: 6px;
    }
    
    .dropdown-menu a {
        padding: 10px 30px 10px 12px;
    }
    
    .about-section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-experience {
        padding: 12px 20px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
    
    .experience-year {
        font-size: 0.9rem;
    }
    
    .experience-number {
        font-size: 2.5rem;
    }
    
    .experience-text {
        font-size: 0.9rem;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .feature-text h4 {
        font-size: 1.1rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-text {
        font-size: 0.85rem;
    }
    
    .about-stats {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 15px 5px;
    }
    
    .stat {
        padding: 0 10px;
    }
    
    .quality-badge {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .vision-mission {
        padding: 15px;
        margin: 20px 0;
    }
    
    .vision-item h4 {
        font-size: 1.1rem;
    }
    
    .vision-item p {
        font-size: 0.95rem;
    }
    
    .mobile-vision-title {
        font-size: 1.4rem;
    }
    
    .mobile-vision-container {
        margin: 25px 0;
        padding-top: 20px;
    }
    
    .mobile-vision-container .vision-card,
    .mobile-vision-container .vision-card:first-child,
    .mobile-vision-container .vision-card:last-child {
        padding: 12px;
        border-radius: 0;
    }
    
    .mobile-vision-container .vision-cards {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid rgba(0, 120, 200, 0.1);
    }
    
    .mobile-vision-container .vision-card:first-child {
        border-bottom: 1px solid rgba(0, 120, 200, 0.1);
    }
    
    .mobile-vision-container .vision-card-header i {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .mobile-vision-container .vision-card-header h4 {
        font-size: 16px;
    }
    
    .mobile-vision-container .vision-card p {
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
    }
}

/* Accessibility and Print Styles */
@media print {
    .main-header, .mobile-menu-toggle {
        display: none;
    }
}

/* Smooth Scroll and Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Scroll Bar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

@media screen and (min-width: 993px) {
    .header-action {
        position: absolute;
        right: 90px;
        margin: 0;
    }
    
    .header-container {
        position: relative;
        height: 80px;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
    z-index: -1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    color: var(--white-color);
    text-align: right;
    max-width: 600px;
    padding: 30px;
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-right: 5px solid var(--secondary-color);
    z-index: 3;
    animation: fadeInRight 1s ease forwards;
    opacity: 0;
}

.slide.active .slide-content {
    animation: fadeInRight 1s ease forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate(50px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white-color);
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: relative;
    padding-bottom: 15px;
}

.slide-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn-cta {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(33, 191, 189, 0.3);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-cta:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 191, 189, 0.4);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.slider-arrow {
    background: var(--white-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    margin: 0 10px;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* Responsive Slider */
@media screen and (max-width: 1200px) {
    .slides-wrapper {
        height: 550px;
    }

    .slide-content {
        max-width: 500px;
        right: 8%;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 992px) {
    .slides-wrapper {
        height: 500px;
    }

    .slide-content {
        max-width: 450px;
        right: 7%;
        padding: 25px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .slides-wrapper {
        height: 450px;
    }
    
    .slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
        opacity: 0.8;
        z-index: 2;
    }
    
    .slide-content {
        position: absolute;
        top: 50%;
        right: 50% !important;
        left: auto !important;
        transform: translate(50%, -50%) !important;
        width: 85%;
        max-width: 500px;
        padding: 1.5rem;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 1rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        margin: 0 auto;
        z-index: 9;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .slide.active .slide-content {
        animation: fadeInUp 0.8s ease forwards;
        opacity: 1;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translate(50%, calc(-50% + 30px)) !important;
        }
        to {
            opacity: 1;
            transform: translate(50%, -50%) !important;
        }
    }
    
    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 0.7rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        width: 100%;
        text-align: center;
    }
    
    .slide-content h2::after {
        width: 60px;
        margin: 0.5rem auto 0;
        right: 50%;
        left: auto;
        transform: translateX(50%);
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
        width: 100%;
        text-align: center;
    }
    
    .btn-cta {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        margin: 0 auto;
        display: inline-block;
    }
    
    .slider-controls {
        bottom: 15px;
    }
}

@media screen and (max-width: 576px) {
    .slides-wrapper {
        height: 420px;
    }
    
    .slide::before {
        background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
        opacity: 0.8;
    }
    
    .slide-content {
        position: absolute;
        top: 50%;
        right: 50% !important;
        left: auto !important;
        transform: translate(50%, -50%) !important;
        width: 85%;
        padding: 1.2rem;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 0.7rem;
    }
    
    .slide-content h2 {
        font-size: 1.7rem;
        margin-bottom: 0.5rem;
        padding: 0;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
        width: 100%;
        text-align: center;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        padding: 0;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
        width: 100%;
        text-align: center;
    }
    
    .btn-cta {
        padding: 0.6rem 1.3rem;
        font-size: 0.9rem;
        margin: 0 auto;
        display: inline-block;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
}

/* ===== قسم من نحن ===== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section {
    padding: 90px 0;
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
        width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 200, 0.03), rgba(33, 191, 189, 0.05));
    z-index: 0;
}

.section-title {
        text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-top: 10px;
}

.title-decoration {
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-decoration::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--gradient-primary);
    right: 50%;
    transform: translateX(20px);
    border-radius: 2px;
}

.about-content {
    display: flex;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
    position: relative;
    max-width: 45%;
}
.image-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(5deg);
}

.shape-decor {
    position: absolute;
    border-radius: 10px;
    z-index: 0;
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    bottom: -25px;
    left: -25px;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite alternate;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    top: -20px;
    right: -20px;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { 
        transform: translateY(0) rotate(0deg); 
    }
    100% { 
        transform: translateY(-10px) rotate(5deg); 
    }
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(33, 191, 189, 0.2), rgba(0, 120, 200, 0.2));
    z-index: 1;
    opacity: 0.5;
}

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

.image-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.about-experience {
    position: absolute;
    bottom: 40px;
    right: -25px;
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 120, 200, 0.4);
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.about-experience:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 120, 200, 0.5);
}

.experience-year {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.9;
}

.experience-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.experience-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

.about-pattern {
    position: absolute;
    z-index: 0;
}

.pattern-1 {
    top: 50px;
    left: 0;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.pattern-2 {
    bottom: 50px;
    right: 0;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.1;
}

.about-text {
    flex: 1.3;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s ease;
    padding: 15px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid transparent;
}

.feature:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    border: 1px solid rgba(33, 191, 189, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(33, 191, 189, 0.15), rgba(0, 120, 200, 0.15));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: var(--secondary-color);
    box-shadow: 0 3px 10px rgba(33, 191, 189, 0.2);
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    background: var(--gradient-secondary);
    color: var(--white-color);
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.feature-text p {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.5;
}

.about-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.about-stats {
    display: flex;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 120, 200, 0.15);
    transition: all 0.3s ease;
}

.about-stats:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
}

.stat {
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 10px;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, var(--border-color), transparent);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    transition: all 0.3s ease;
}

.stat:hover .stat-number {
    transform: translateY(-5px);
    color: var(--secondary-color);
}

.stat-text {
    display: block;
    font-size: 0.95rem;
    color: var(--light-text);
}

/* تجاوب قسم من نحن */
@media screen and (max-width: 1100px) {
    .about-content {
        gap: 40px;
    }
    
    .about-image {
        max-width: 42%;
    }
    
    .quality-badge {
        top: 15px;
        left: 15px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .vision-mission {
        padding: 15px;
        margin: 25px 0;
    }
    
    .vision-item h4 {
        font-size: 1.15rem;
    }
}

@media screen and (max-width: 992px) {
    .about-section {
        padding: 70px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto 50px;
    }
    
    .quality-badge {
        top: 20px;
        left: 20px;
    }
    
    .vision-mission {
        margin: 30px 0;
    }
    
    .about-experience {
        left: 30px;
        right: auto;
        bottom: 30px;
        padding: 15px 25px;
    }
    
    .about-cta {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
    }
    
    .about-stats {
        width: 100%;
        justify-content: center;
    }
    
    .experience-number {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .about-description {
        text-align: center;
    }
    
    .about-features {
        align-items: center;
    }
    
    .feature {
        max-width: 500px;
    }
    
    .about-cta {
        align-items: center;
    }
    
    .btn-primary {
        align-self: center;
    }
    
    .shape-1, .shape-2 {
        opacity: 0.1;
    }
    
    .vision-item p {
        text-align: center;
        padding-right: 0;
    }
    
    .vision-item h4 {
        justify-content: center;
    }
    
    .image-frame {
        transform: perspective(1000px) rotateY(0deg);
    }
}

@media screen and (max-width: 576px) {
    .about-section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .experience-number {
        font-size: 2.5rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .about-experience {
        padding: 12px 20px;
    }
}

/* تنسيق شعار الجودة */
.quality-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-secondary);
    color: var(--white-color);
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(33, 191, 189, 0.3);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
    transform: rotate(-5deg);
}

.quality-badge i {
    font-size: 1.2rem;
    color: #FFD700;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

/* تنسيق قسم الرؤية والرسالة */
.vision-mission {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
    border-right: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 191, 189, 0.05), rgba(0, 120, 200, 0.05));
    z-index: -1;
}

.vision-item {
    margin-bottom: 15px;
}

.vision-item:last-child {
    margin-bottom: 0;
}

.vision-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.vision-item h4 i {
    color: var(--secondary-color);
}

.vision-item p {
    font-size: 1rem;
    line-height: 1.7;
    padding-right: 30px;
    color: var(--text-color);
}

/* تنسيق كروت الرؤية والرسالة */
.vision-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.vision-card {
    background: var(--white-color);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 120, 200, 0.1);
    position: relative;
    overflow: hidden;
}

.vision-card:first-of-type {
    border-right: 4px solid var(--primary-color);
}

.vision-card:last-of-type {
    border-right: 4px solid var(--secondary-color);
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 120, 200, 0.02), rgba(33, 191, 189, 0.02));
    z-index: -1;
}

.vision-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.vision-card-header i {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 120, 200, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-left: 12px;
    transition: all 0.3s ease;
}

.vision-card:first-of-type .vision-card-header i {
    color: var(--primary-color);
}

.vision-card:last-of-type .vision-card-header i {
    color: var(--secondary-color);
}

.vision-card-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--primary-dark);
}

.vision-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    padding-right: 57px;
    margin: 0;
}

.desktop-vision {
    display: block;
    margin-top: 25px;
}

.mobile-vision-container {
    display: none;
}

@media screen and (max-width: 992px) {
    .mobile-vision-container {
        display: block; /* إظهار في الشاشات الصغيرة */
        margin: 20px 0;
    }
    
    .desktop-vision {
        display: none; /* إخفاء في الشاشات الصغيرة */
    }
}

@media screen and (max-width: 768px) {
    .mobile-vision-container {
        display: block;
        margin: 25px 0 30px;
        border-top: none;
        padding-top: 0;
    }
    
    .mobile-vision-title {
        font-size: 1.4rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 15px;
        color: var(--primary-color);
        display: block;
    }
    
    .mobile-vision-container .vision-cards {
        margin-top: 10px;
        gap: 15px;
        display: flex;
        flex-direction: column;
        box-shadow: none;
        border-radius: 12px;
        overflow: visible;
        border: none;
    }
    
    .mobile-vision-container .vision-card {
        animation: fadeInUp 0.6s ease both;
        margin-bottom: 0;
        text-align: right;
        background: var(--white-color);
        padding: 20px;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(0, 120, 200, 0.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .mobile-vision-container .vision-card:first-child {
        animation-delay: 0.1s;
        border-right: 4px solid var(--primary-color);
    }
    
    .mobile-vision-container .vision-card:last-child {
        animation-delay: 0.2s;
        border-right: 4px solid var(--secondary-color);
    }
    
    .mobile-vision-container .vision-card-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 15px;
    }
    
    .mobile-vision-container .vision-card-header i {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: rgba(0, 120, 200, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-left: 12px;
        transition: all 0.3s ease;
    }
    
    .mobile-vision-container .vision-card:first-child .vision-card-header i {
        color: var(--primary-color);
        background-color: rgba(0, 120, 200, 0.1);
    }
    
    .mobile-vision-container .vision-card:last-child .vision-card-header i {
        color: var(--secondary-color);
        background-color: rgba(33, 191, 189, 0.1);
    }
    
    .mobile-vision-container .vision-card-header h4 {
        font-size: 1.3rem;
        font-weight: 600;
        margin: 0;
        color: var(--primary-dark);
    }
    
    .mobile-vision-container .vision-card p {
        font-size: 1rem;
        line-height: 1.7;
        color: var(--text-color);
        margin: 0;
        padding-right: 57px;
    }
    
    .mobile-vision-container .vision-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-vision-container .vision-card:hover .vision-card-header i {
        transform: scale(1.1);
    }
    
    .mobile-vision-container .vision-card:first-child:hover .vision-card-header i {
        background: var(--primary-color);
        color: var(--white-color);
    }
    
    .mobile-vision-container .vision-card:last-child:hover .vision-card-header i {
        background: var(--secondary-color);
        color: var(--white-color);
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media screen and (max-width: 576px) {
    .mobile-vision-container .vision-card,
    .mobile-vision-container .vision-card:first-child,
    .mobile-vision-container .vision-card:last-child {
        padding: 15px;
        border-radius: 8px;
    }
    
    .mobile-vision-container .vision-cards {
        gap: 15px;
    }
    
    .mobile-vision-container .vision-card-header i {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .mobile-vision-container .vision-card-header h4 {
        font-size: 1.1rem;
    }
    
    .mobile-vision-container .vision-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding-right: 50px;
    }
}

/* تنسيق قسم الأهداف */
.goals-section {
    margin: 40px 0;
    position: relative;
}

.goals-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    position: relative;
}

.goals-title i {
    color: var(--secondary-color);
}

.goals-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 70px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.goal-item {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-light);
    position: relative;
    overflow: hidden;
}

.goal-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 200, 0.03), rgba(33, 191, 189, 0.03));
    z-index: 0;
}

.goal-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-top-color: var(--secondary-color);
}

.goal-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(33, 191, 189, 0.1), rgba(0, 120, 200, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.goal-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.goal-item:hover .goal-icon {
    background: var(--gradient-primary);
}

.goal-item:hover .goal-icon i {
    color: var(--white-color);
    transform: scale(1.1);
}

.goal-item h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.goal-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

/* تنسيق قسم الإنجازات */
.achievements-section {
    margin: 40px 0;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 200, 0.03), rgba(33, 191, 189, 0.03));
    z-index: 0;
}

.achievements-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.achievements-title i {
    color: #FFD700;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.achievements-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.achievements-list li {
    font-size: 1.05rem;
    color: var(--text-color);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed rgba(0, 120, 200, 0.15);
    transition: all 0.3s ease;
}

.achievements-list li:last-child {
    border-bottom: none;
}

.achievements-list li:hover {
    transform: translateX(-5px);
    color: var(--primary-dark);
}

.achievements-list li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* تنسيق قسم الفريق */
.team-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 120, 200, 0.1);
    position: relative;
}

.team-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.team-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.team-member {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    z-index: 1;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 200, 0.02), rgba(33, 191, 189, 0.02));
    z-index: -1;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 25px auto 15px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.member-image i {
    font-size: 2.5rem;
    color: var(--white-color);
}

.team-member:hover .member-image {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 120, 200, 0.3);
}

.team-member h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 5px;
}

.member-position {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.member-desc {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 20px 25px;
    margin: 0;
}

/* تجاوب العناصر الجديدة */
@media screen and (max-width: 1100px) {
    .goals-grid {
        gap: 20px;
    }
    
    .team-grid {
        gap: 20px;
    }
    
    .member-image {
        width: 90px;
        height: 90px;
        margin: 20px auto 15px;
    }
    
    .member-image i {
        font-size: 2.2rem;
    }
    
    .team-member h4 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 992px) {
    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .achievements-section {
        padding: 20px;
    }
    
    .goal-item {
        padding: 15px;
    }
}

@media screen and (max-width: 768px) {
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .goals-title, 
    .achievements-title {
        font-size: 1.4rem;
        justify-content: center;
    }
    
    .goals-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .goal-item {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .vision-cards {
        margin-top: 20px;
    }
    
    .vision-card {
        text-align: center;
    }
    
    .vision-card-header {
        justify-content: center;
    }
    
    .achievements-section {
        text-align: center;
    }
    
    .achievements-list li {
        justify-content: center;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .goal-icon {
        width: 45px;
        height: 45px;
    }
    
    .goal-icon i {
        font-size: 1.3rem;
    }
    
    .goal-item h4 {
        font-size: 1.1rem;
    }
    
    .goal-item p {
        font-size: 0.9rem;
    }
    
    .achievements-list li {
        font-size: 0.95rem;
        padding: 8px 0;
    }
    
    .vision-card {
        padding: 15px;
    }
    
    .vision-card-header i {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .vision-card-header h4 {
        font-size: 1.2rem;
    }
    
    .vision-card p {
        font-size: 0.95rem;
    }
    
    .team-title {
        font-size: 1.5rem;
    }
    
    .team-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

.vision-card:hover .vision-card-header i {
    transform: scale(1.1);
}

.vision-card:first-of-type:hover .vision-card-header i {
    background: var(--primary-color);
    color: var(--white-color);
}

.vision-card:last-of-type:hover .vision-card-header i {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* ===== قسم المنتجات ===== */
.products-section {
    position: relative;
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

/* تنسيقات إضافية للمنتجات */
.product-card {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    transform-origin: center;
    will-change: transform, opacity, box-shadow;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

/* تأثير النقر على بطاقة المنتج */
.product-card.card-clicked {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.product-card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(7, 93, 172, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover .product-card-link::before {
    opacity: 1;
}

.featured-product {
    grid-column: span 2 !important;
    grid-row: span 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

@media (max-width: 768px) {
    .featured-product {
        grid-column: span 1 !important;
    }
}

.featured-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(7, 93, 172, 0.05), rgba(7, 93, 172, 0));
    z-index: 1;
    pointer-events: none;
}

.featured-product::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(225deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 60%);
    transform: rotate(-45deg);
    animation: shimmer 6s infinite;
    pointer-events: none;
}

.featured-product .product-image {
    height: 260px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.featured-product .product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(255, 75, 43, 0.3);
    z-index: 3;
}

.featured-product .product-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.featured-product .product-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #075dac;
    font-weight: 700;
}

.featured-product .product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.featured-product .product-feature {
    font-size: 15px;
    display: flex;
    align-items: center;
}

.featured-product .product-feature i {
    color: #075dac;
    margin-left: 8px;
    font-size: 16px;
}

@keyframes shimmer {
    0% {
        transform: translate(-150%, -150%) rotate(-45deg);
    }
    100% {
        transform: translate(150%, 150%) rotate(-45deg);
    }
}

/* تنسيقات تأثيرات الظهور */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* تأثير النقر على زر الفلتر */
.filter-btn-clicked {
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

/* تنسيقات مؤشر التمرير */
.filter-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.scroll-indicator {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(7, 93, 172, 0.8);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 3;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: pulse 2s infinite;
}

.scroll-indicator i {
    font-size: 12px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(7, 93, 172, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(7, 93, 172, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(7, 93, 172, 0);
    }
}

/* استجابة الموقع للشاشات المختلفة */
.products-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 50px;
    background-color: white;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.3);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.product-category {
    display: inline-block;
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    transition: transform 0.3s ease;
}

.product-card:hover .product-category {
    transform: translateY(-3px);
}

.product-category::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to left, var(--primary-color), transparent);
    transition: width 0.3s ease;
}

.product-card:hover .product-category::after {
    width: 100%;
}

.product-category i {
    margin-left: 5px;
    position: relative;
    top: 1px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.product-features span {
    font-size: 13px;
    color: var(--text-light);
    padding: 5px 10px;
    background-color: #f8f9fa;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.product-card:hover .product-features span {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.product-features span i {
    color: var(--primary-color);
    margin-left: 5px;
    font-size: 12px;
}

.products-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.products-section .section-title h2::after {
    content: '\f48e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: rgba(var(--primary-rgb), 0.3);
    position: absolute;
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
}

.products-pattern {
    position: absolute;
    z-index: 1;
    opacity: 0.4;
}

.products-pattern.pattern-1 {
    top: 15%;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0) 70%);
    animation: float 8s ease-in-out infinite;
}

.products-pattern.pattern-2 {
    bottom: 10%;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.15) 0%, rgba(var(--secondary-rgb), 0) 70%);
    animation: float 10s ease-in-out infinite reverse;
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .featured-product {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .featured-product {
        grid-column: span 2;
    }
    
    .products-section {
        padding: 60px 0;
    }
    
    .product-card {
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    }
    
    .filter-btn {
        padding: 7px 14px;
        font-size: 13px;
    }
    
    .product-title {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 40px 0;
    }
    
    .products-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        overflow-x: visible;
        flex-wrap: nowrap;
        padding-bottom: 20px;
    }
    
    .product-card {
        width: 100%;
        min-width: unset;
        margin-right: 0;
    }
    
    .products-filter {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 15px;
        scrollbar-width: thin;
        margin-bottom: 20px;
        justify-content: flex-start;
    }
    
    .featured-product {
        grid-column: span 1 !important;
    }
    
    .featured-product .product-image {
        height: 200px;
    }
    
    .featured-product .product-features {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    .products-filter {
        padding: 5px;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
        padding-right: 50px;
    }
    
    .products-filter::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex: 0 0 auto;
        margin: 0 5px;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .products-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .featured-product {
        grid-column: span 1 !important;
    }
    
    .products-section {
        padding: 50px 0;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-feature {
        font-size: 13px;
    }
    
    .products-filter {
        margin-bottom: 20px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .products-cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* تنسيقات قسم الخدمات */
.services-section {
    position: relative;
    padding: 80px 0;
    background-color: #f9fafc;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom right, rgba(var(--primary-rgb), 0.03), rgba(var(--secondary-rgb), 0.04));
    z-index: 0;
}

.services-pattern {
    position: absolute;
    z-index: 1;
    opacity: 0.4;
}

.services-pattern.pattern-1 {
    top: 12%;
    right: -120px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0) 70%);
    animation: float 10s ease-in-out infinite;
}

.services-pattern.pattern-2 {
    bottom: 8%;
    left: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.15) 0%, rgba(var(--secondary-rgb), 0) 70%);
    animation: float 12s ease-in-out infinite reverse;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 0 0 0 100%;
    transition: all 0.3s ease;
    z-index: 0;
}

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

.service-card:hover::before {
    transform: scale(1.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 28px;
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.service-features span {
    font-size: 13px;
    color: var(--text-light);
    padding: 5px 10px;
    background-color: #f8f9fa;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-features span {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.service-features span i {
    color: var(--primary-color);
    margin-left: 5px;
    font-size: 12px;
}

/* تنسيقات قسم العمليات */
.service-process {
    margin-top: 60px;
    position: relative;
    z-index: 2;
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.process-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.process-title::after {
    content: '\f0ad';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: rgba(var(--primary-rgb), 0.3);
    position: absolute;
    bottom: -30px;
    right: 50%;
    transform: translateX(50%);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(var(--primary-rgb), 0.2), rgba(var(--secondary-rgb), 0.2));
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.services-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.services-section .section-title h2::after {
    content: '\f0ad';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: rgba(var(--primary-rgb), 0.3);
    position: absolute;
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
}

/* وسائط استفسار للتجاوب مع الشاشات المختلفة */
@media screen and (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .process-steps {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    
    .process-step {
        flex: 0 0 30%;
    }
    
    .process-steps::before {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .services-section {
        padding: 60px 0;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-description {
        font-size: 14px;
    }
    
    .process-step {
        flex: 0 0 45%;
        margin-bottom: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-process {
        padding: 30px 20px;
    }
    
    .process-title {
        font-size: 20px;
    }
    
    .process-step {
        flex: 0 0 100%;
        margin-bottom: 25px;
    }
    
    .process-steps {
        margin-top: 30px;
    }
    
    .services-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .services-cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .services-section {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 20px;
    }
    
    .service-title {
        font-size: 17px;
    }
    
    .service-description {
        font-size: 13px;
    }
    
    .service-features span {
        font-size: 12px;
    }
    
    .process-title {
        font-size: 18px;
    }
    
    .step-content h4 {
        font-size: 15px;
    }
    
    .step-content p {
        font-size: 13px;
    }
}

/* ===== قسم اتصل بنا ===== */
.contact-section {
    position: relative;
    padding: 80px 0;
    background-color: #fafafa;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 200, 0.03) 0%, rgba(0, 150, 200, 0.05) 100%);
    z-index: 0;
}

.contact-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    z-index: 1;
}

.contact-info-wrapper {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px 12px 0 0;
}

.contact-info-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    box-shadow: 0 5px 15px rgba(0, 120, 200, 0.3);
    transition: all 0.3s ease;
    color: #fff;
    position: relative; /* أضفنا هذا للتأكد من موضع الأيقونة */
}

.contact-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 3px;
}

.contact-text a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.social-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.social-contact h4 {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.social-contact-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-contact-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8f8f8;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.social-contact-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-contact-links a:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 120, 200, 0.2);
}

.social-contact-links a:hover::before {
    opacity: 1;
}

.contact-form-wrapper {
    flex: 1.2;
    min-width: 300px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 25px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--text-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

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

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.required {
    color: #e74c3c;
}

.form-group input[type="tel"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    text-align: right;
    direction: rtl;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 120, 200, 0.1);
    background-color: #fff;
    outline: none;
}

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

.form-actions {
    margin-top: 10px;
}

.form-actions .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 12px 24px;
}

.map-container {
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.map-frame {
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 768px) {
    .map-frame {
        height: 300px;
    }
}

@media screen and (max-width: 576px) {
    .map-frame {
        height: 250px;
    }
}

.contact-cta {
    margin-top: 50px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0, 120, 200, 0.3);
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    z-index: -1;
}

.contact-cta h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-cta .btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.contact-pattern {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.1;
    z-index: 0;
}

.contact-pattern.pattern-1 {
    top: -50px;
    right: -100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><circle cx="60" cy="60" r="50" fill="none" stroke="%23008ACE" stroke-width="2"/><circle cx="60" cy="60" r="40" fill="none" stroke="%23008ACE" stroke-width="2"/><circle cx="60" cy="60" r="30" fill="none" stroke="%23008ACE" stroke-width="2"/></svg>');
    transform: rotate(45deg);
}

.contact-pattern.pattern-2 {
    bottom: 50px;
    left: -70px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><rect x="20" y="20" width="80" height="80" fill="none" stroke="%23008ACE" stroke-width="2"/><rect x="35" y="35" width="50" height="50" fill="none" stroke="%23008ACE" stroke-width="2"/><rect x="50" y="50" width="20" height="20" fill="none" stroke="%23008ACE" stroke-width="2"/></svg>');
}

/* Media Queries for Contact Section */
@media screen and (max-width: 1100px) {
    .contact-content {
        gap: 20px;
    }
    
    .contact-form-wrapper, 
    .contact-info-wrapper {
        padding: 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 992px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-cta {
        padding: 30px;
    }
    
    .contact-cta h3 {
        font-size: 1.5rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info-wrapper,
    .contact-form-wrapper {
        width: 100%;
    }
    
    .map-frame {
        height: 300px;
    }
    
    .contact-cta {
        padding: 25px 15px;
    }
}

@media screen and (max-width: 576px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-text h4,
    .contact-text p {
        text-align: center;
    }
    
    .social-contact {
        margin-top: 20px;
    }
    
    .contact-cta h3 {
        font-size: 1.3rem;
    }
    
    .contact-cta p {
        font-size: 0.95rem;
    }
    
    .contact-cta .btn-cta {
        width: 100%;
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .map-frame {
        height: 250px;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
}

/* تنسيقات إضافية لنموذج التواصل */
.form-group.focused label {
    color: var(--primary-color);
    font-weight: 600;
}

.form-group.focused input,
.form-group.focused textarea {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 120, 200, 0.1);
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

.form-group.has-error label {
    color: #e74c3c;
}

input.error,
textarea.error {
    border-color: #e74c3c !important;
}

.form-success-message h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2ecc71;
    margin-bottom: 10px;
}

.form-success-message p {
    font-size: 1rem;
    color: var(--text-color);
}

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

.map-address {
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.map-address i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.icon-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ===== نموذج طلب عرض السعر المنبثق ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.popup-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s ease;
    animation: fadeInUp 0.5s forwards;
}

.popup-overlay.active .popup-container {
    transform: translateY(0);
}

.popup-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    border-radius: 10px 10px 0 0;
}

.popup-header h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.popup-header h3 i {
    margin-left: 8px;
    font-size: 18px;
}

.popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.popup-content {
    padding: 25px;
}

.popup-description {
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.quote-form .form-group {
    margin-bottom: 20px;
}

.quote-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.quote-form .required {
    color: #e74c3c;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 120, 200, 0.1);
    outline: none;
    background-color: #fff;
}

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

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 10px;
}

.quote-form .form-success-message {
    background-color: #e8f7f1;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    animation: fadeIn 0.5s forwards;
}

.quote-form .form-success-message h4 {
    color: #27ae60;
    margin-bottom: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-form .form-success-message h4 i {
    margin-left: 8px;
    font-size: 20px;
}

.quote-form .form-success-message p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.quote-form .loading-spinner {
    margin-right: 8px;
}

/* تجاوب النافذة المنبثقة */
@media screen and (max-width: 768px) {
    .popup-container {
        max-width: 90%;
    }
    
    .popup-header h3 {
        font-size: 18px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row .form-group {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 576px) {
    .popup-container {
        max-width: 95%;
    }
    
    .popup-header {
        padding: 15px 20px;
    }
    
    .popup-content {
        padding: 20px;
    }
    
    .popup-header h3 {
        font-size: 16px;
    }
    
    .quote-form label {
        font-size: 13px;
    }
    
    .quote-form input,
    .quote-form select,
    .quote-form textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn-full {
        padding: 12px;
        font-size: 14px;
    }
}

/* ===== تنسيقات الفوتر ===== */
.main-footer {
    position: relative;
    background: var(--primary-dark);
    color: var(--white-color);
    font-size: 0.95rem;
    line-height: 1.7;
    direction: rtl;
}

/* القسم العلوي من الفوتر */
.footer-top {
    padding: 70px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.03) 75%, transparent 75%, transparent);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* معلومات الشركة */
.footer-info {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: var(--white-color);
    text-decoration: none;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
    margin-left: 10px;
}

.footer-logo .company-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--white-color);
}

.footer-desc {
    margin-bottom: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-info {
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-contact-item i {
    color: var(--secondary-color);
    margin-left: 10px;
    font-size: 18px;
    width: 25px;
    text-align: center;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* روابط الفوتر */
.footer-links, .footer-products {
    grid-column: span 1;
}

.footer-title {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-menu a i {
    margin-left: 8px;
    font-size: 13px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.footer-menu a:hover {
    color: var(--secondary-color);
}

.footer-menu a:hover i {
    transform: translateX(-5px);
}

/* النشرة البريدية */
.footer-newsletter {
    grid-column: span 1;
}

.newsletter-form {
    margin-top: 20px;
    margin-bottom: 25px;
}

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

.newsletter-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white-color);
    padding: 12px 50px 12px 15px;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(33, 191, 189, 0.3);
}

.newsletter-form button {
    position: absolute;
    left: 5px;
    top: 5px;
    background: var(--gradient-secondary);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(33, 191, 189, 0.3);
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    color: var(--white-color);
}

/* الجزء السفلي من الفوتر */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* زر العودة لأعلى الصفحة */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(33, 191, 189, 0.3);
    cursor: pointer;
    text-decoration: none;
    z-index: 9999;
}

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

.back-to-top:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 120, 200, 0.4);
}

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

/* === التجاوب مع الشاشات المختلفة === */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .footer-top {
        padding: 50px 0 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 40px 0 20px;
    }
    
    .footer-contact-info {
        flex-direction: column;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* إزالة المربعات عند التحويم أو الضغط على الأزرار */
.nav-links a,
.dropdown-toggle,
.header-action a,
.header-action button,
.header-action .btn-primary,
.btn-primary,
.mobile-menu-toggle,
.btn {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

a:focus, 
button:focus,
.btn:focus,
.nav-links a:focus,
.dropdown-toggle:focus,
.header-action a:focus,
.header-action button:focus,
.header-action .btn-primary:focus,
.btn-primary:focus,
.mobile-menu-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* حذف أي outlines أو حدود عند النقر أو التحويم */
a:active, 
button:active,
.btn:active,
.nav-links a:active,
.dropdown-toggle:active,
.header-action a:active,
.header-action .btn-primary:active,
.btn-primary:active,
.mobile-menu-toggle:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.margin-right {
    margin-right: 15px;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .header-action {
    right: 60px;
    left: auto;
}

[dir="rtl"] .nav-links a::before {
    right: 0;
    left: auto;
}

[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
}

[dir="rtl"] .dropdown-menu::before {
    right: 20px;
    left: auto;
}

[dir="rtl"] .margin-right {
    margin-right: 15px;
    margin-left: 0;
}

/* LTR Support */
[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

[dir="ltr"] .header-action {
    left: 60px;
    right: auto;
}

[dir="ltr"] .nav-links a::before {
    left: 0;
    right: auto;
}

[dir="ltr"] .dropdown-menu {
    left: 0;
    right: auto;
}

[dir="ltr"] .dropdown-menu::before {
    left: 20px;
    right: auto;
}

[dir="ltr"] .margin-right {
    margin-left: 15px;
    margin-right: 0;
}

@media screen and (max-width: 992px) {
    .header-action {
        margin: 0 !important;
        position: fixed !important;
        bottom: 20px !important;
        width: auto !important;
    }

    /* للغة العربية */
    [dir="rtl"] .header-action {
        right: 20px !important;
        left: auto !important;
    }

    /* للغة الإنجليزية */
    [dir="ltr"] .header-action {
        left: 20px !important;
        right: auto !important;
    }
}

@media screen and (max-width: 992px) {
    /* القائمة الجانبية للنسخة الإنجليزية */
    [dir="ltr"] .nav-links {
        left: -100%;
        right: auto;
    }

    [dir="ltr"] .nav-links.active {
        left: 0;
        right: auto;
    }

    /* محاذاة العناصر للنسخة الإنجليزية */
    [dir="ltr"] .nav-links li {
        text-align: left;
    }

    [dir="ltr"] .nav-links a {
        text-align: left;
        padding: 15px 0;
    }

    [dir="ltr"] .dropdown-menu {
        padding-left: 20px;
    }
}

@media screen and (max-width: 992px) {
    [dir="ltr"] .nav-links li,
    [dir="ltr"] .nav-links a,
    [dir="ltr"] .nav-links .dropdown-toggle,
    [dir="ltr"] .dropdown-menu a,
    [dir="ltr"] .dropdown-toggle .toggle-text {
        direction: ltr !important;
        text-align: left !important;
        float: left !important;
        width: 100% !important;
    }

    [dir="ltr"] .nav-links .nav-icon {
        float: left !important;
        margin-right: 10px !important;
    }

    [dir="ltr"] .dropdown-toggle i.fa-chevron-down {
        float: right !important;
    }
}
