/* التنسيقات العامة */
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&family=Tajawal:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #497DBF;
    --secondary-color: #000000;
    --text-color: #FFFFFF;
    --light-color: #BBBBBB;
    --dark-color: #000000;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #fff;
}

/* شريط التنقل المحسّن */
.navbar {
    background: transparent;
    padding: 4px 0 !important;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
    min-height: 50px !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(150px);
    opacity: 0.95;
    padding: 4px 0 !important;
}

.navbar-brand {
    margin-left: 15px;
    transition: var(--transition);
}

.navbar-brand .logo {
    height: 55px !important;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-brand .logo {
    filter: brightness(0) invert(0);
    height: 55px !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    margin: 0 2px !important;
    padding: 4px 10px !important;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem !important;
}

.navbar.scrolled .nav-link {
    color: rgba(0, 0, 0, 0.8) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(73, 125, 191, 0.1);
}

/* أنيميشن للرابط النشط */
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar.scrolled .nav-link.active::after {
    background: var(--primary-color);
}

/* زر القائمة المخصص */
.custom-toggler {
    border: none;
    padding: 4px 8px;
    background: transparent !important;
    position: relative;
    z-index: 1000;
}

.custom-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler-icon {
    width: auto;
    height: auto;
    background: none !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon,
.close-icon {
    font-size: 1.3rem;
    color: white;
    transition: var(--transition);
}

.navbar.scrolled .menu-icon,
.navbar.scrolled .close-icon {
    color: var(--dark-color);
}

.close-icon {
    font-size: 1.5rem;
}

/* زر الـ navbar */
.navbar-btn {
    background: var(--primary-color);
    border: none;
    padding: 6px 20px !important;
    font-size: 0.85rem !important;
    font-weight: 500;
    border-radius: 25px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(73, 125, 191, 0.3);
    font-family: 'Tajawal', sans-serif;
    color: white;
    margin-right: 15px;
}

.navbar-btn:hover {
    background: #3a6ba5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(73, 125, 191, 0.4);
    color: white;
}

/* أزرار التواصل السريع */
.quick-contact-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.quick-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-quick-btn {
    background: #25D366;
}

.whatsapp-quick-btn:hover {
    background: #128C7E;
}

.call-quick-btn {
    background: var(--primary-color);
}

.call-quick-btn:hover {
    background: #3a6ba5;
}

/* WhatsApp Modal */
.whatsapp-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.whatsapp-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.whatsapp-close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    left: 15px;
    top: 15px;
}

.whatsapp-close:hover {
    color: #000;
}

.whatsapp-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Tajawal', sans-serif;
}

.whatsapp-modal-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.whatsapp-number-display {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    color: #25D366;
    font-weight: bold;
}

.whatsapp-number-display i {
    font-size: 24px;
}

#startWhatsAppChat {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
    width: 100%;
}

#startWhatsAppChat:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* قسم البانر */
.banner-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}

.video-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(73, 125, 191, 0.7), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

.banner-content {
    color: white;
    text-align: center;
    padding-top: 80px;
    width: 100%;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'El Messiri', sans-serif;
    animation: fadeInDown 1s ease-out;
}

.banner-text p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Tajawal', sans-serif;
}

/* تأثيرات الحركة */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* أنيميشنات الظهور عند التمرير */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* قسم عن الشركة */
.about-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: #333;
    padding: 30px 0;
    margin-top: 0;
    margin-bottom: 0;
}

.about-main-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about-subtitle span {
    color: var(--light-color);
}

.about-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.image-container {
    padding: 15px;
    text-align: center;
}

.about-image {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    transition: var(--transition);
}

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

/* إحصائيات */
.stats-container {
    margin: 20px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    transition: var(--transition);
    margin-bottom: 10px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: var(--transition);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* زر مخصص */
.custom-btn {
    background-color: var(--primary-color);
    border: none;
    padding: 8px 32px;
    font-size: 1rem;
    gap: 8;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
    color: white;
}

.custom-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.4);
    color: white;
}

/* قسم الخدمات */
.services-section {
    background-color: #fff;
    color: #333;
    padding: 30px 0;
    margin-bottom: 0;
}

.service-card {
    border-radius: 15px;
    padding: 30px 20px;
    height: 100%;
    transition: var(--transition);
    text-align: center;
    margin-bottom: 20px;
    opacity: 1;
    visibility: visible;
}

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

.icon-container {
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card .icon-container {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1rem 0;
    color: var(--primary-color);
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* قسم الفيديو المحسن */
.hero-section {
    margin-top: 0;
    padding: 20px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0;
}

.hero-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.hero-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-header h2 span {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light-color);
    line-height: 1.2;
}

.hero-video {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: grid;
    grid-template-columns: 1fr minmax(0, 1000px) 1fr;
    align-items: center;
    gap: 1.5rem;
    margin-inline: auto;
    padding: 0 1rem;
}

.hero-video .video-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-video .video-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-video .video-wrap video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

/* تحسينات لتأثير التلاشي التدريجي للنصوص الجانبية */
.hero-video .side {
    position: sticky;
    top: 20vh;
    align-self: start;
    line-height: 1.6;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    opacity: 1;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.hero-video .side.side-fade {
    opacity: 0;
    transform: translateY(30px);
}

.hero-video .side h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: clamp(1rem, 1.2vw + 0.6rem, 1.25rem);
    transition: all 0.8s ease;
}

.hero-video .side h4 span {
    color: var(--light-color);
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-video .side h4 span:hover {
    transform: translateY(-2px);
}

/* قسم الخدمات الرئيسي */
.services-main-section {
    padding: 30px 0;
    background: #F5F5F5;
    min-height: 30vh;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.services-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

/* الجزء الأيمن */
.right-side {
    flex: 1;
    min-width: 300px;
}

.main-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.subtitle span {
    color: var(--light-color);
}

.description {
    font-size: 1rem;
    color: var(--dark-color);
    line-height: 1.7;
}

/* الجزء الأيسر (تمرير يدوي بدون شريط) */
.left-side.manual-scroll {
    flex: 1;
    min-width: 300px;
    height: 500px;
    overflow-y: scroll;
    padding: 10px 10px 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.left-side.manual-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* الكروت */
.card {
    display: flex;
    align-items: flex-start;
    padding: 0 0 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    opacity: 1;
    visibility: visible;
    background: transparent !important;
    border: none !important;
}

.card:hover {
    transform: translateY(-5px);
    background: transparent !important;
    padding: 12px 0;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
    border: 1px solid var(--light-color) !important;
    background: transparent !important;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.card-icon i {
    font-size: 1.3rem;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.card-description {
    font-size: 0.8rem;
    color: var(--dark-color);
    line-height: 1.6;
}

.card:hover .card-icon {
    transform: scale(1.1);
    background: transparent !important;
}

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

/* Projects */
.header {
    text-align: center;
    margin: 20px 0;
    padding-top: 20px;
}

.header h1 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.header h2 span {
    font-size: 2.5rem;
    color: var(--light-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.header .description {
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark-color);
    font-size: 1rem;
}

/* قسم المشاريع - التعديلات الجديدة */
.projects-section {
    margin-top: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

/* تصميم البطاقة - التعديلات الجديدة */
.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    visibility: visible;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 220px;
    /* زيادة الارتفاع لاستيعاب الصورة كاملة */
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    /* خلفية فاتحة للصور الشفافة */
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* تغيير من cover إلى contain لضمان ظهور الصورة كاملة */
    transition: all 0.4s ease;
    padding: 15px;
    /* إضافة مسافة داخلية للصورة */
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 152, 219, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project-btn {
    background: white;
    color: #3498db;
    border: none;
    padding: 8px 32px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.view-project-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.project-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-name {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.project-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* زر عرض جميع المشاريع */
.view-all-container {
    text-align: center;
    margin: 20px 0;
}

.view-all-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.view-all-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}


/* ============================================
   أنماط الـ Popup الجديدة - Projects Modal
   ============================================ */

/* Overlay الخلفية */
.projects-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

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

/* Container الرئيسي */
.projects-modal-container {
    background-color: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: projectsModalSlideIn 0.4s ease-out forwards;
    transform: translateY(20px);
    opacity: 0;
}

@keyframes projectsModalSlideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* زر الإغلاق */
.projects-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

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

/* محتوى الـ Modal */
.projects-modal-content {
    padding: 50px 30px 30px;
    text-align: center;
}

/* شعار المشروع */
.projects-modal-logo-container {
    margin-bottom: 30px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.projects-modal-logo {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* تفاصيل المشروع */
.projects-modal-details {
    margin-bottom: 30px;
}

.projects-modal-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.projects-modal-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* روابط المشروع */
.projects-modal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
}

.projects-modal-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.projects-modal-link i {
    font-size: 1.1rem;
}

.projects-modal-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.projects-modal-link:active {
    transform: translateY(-1px);
}

/* تأثيرات إضافية للـ Modal */
.projects-modal-container::-webkit-scrollbar {
    width: 8px;
}

.projects-modal-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 20px 20px 0;
}

.projects-modal-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.projects-modal-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* تأثير الظهور للـ Modal */
@keyframes projectsModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .projects-modal-container {
        width: 95%;
        max-height: 85vh;
    }
    
    .projects-modal-content {
        padding: 40px 20px 25px;
    }
    
    .projects-modal-logo {
        max-width: 140px;
    }
    
    .projects-modal-title {
        font-size: 1.3rem;
    }
    
    .projects-modal-link {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .projects-modal-links {
        gap: 10px;
    }
    
    .projects-modal-logo-container {
        min-height: 120px;
    }
    
    .projects-modal-description {
        font-size: 0.8rem;
    }
}







/* قسم الأسئلة الشائعة (FAQs) */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
}

.faq-info {
    flex: 1;
    min-width: 300px;
    padding: 15px;
}

.faq-info h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.faq-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 800;
}

.faq-info h3 span {
    color: var(--light-color);
}

.faq-info p {
    color: var(--dark-color);
    font-size: 14px;
    line-height: 1.7;
}

.faq-questions {
    flex: 1;
    min-width: 300px;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.faq-question h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 15px;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.faq-question i {
    color: #BBBBBB;
    font-size: 16px;
    transition: all 0.3s ease;
}

.faq-question.active h4 {
    color: var(--primary-color);
}

.faq-question.active i {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    color: #666;
    line-height: 1.6;
    opacity: 0;
}

.faq-answer.show {
    max-height: 500px;
    padding-top: 12px;
    opacity: 1;
}

.faq-answer p {
    margin-bottom: 0;
    animation: fadeIn 0.5s ease forwards;
}

/* تأثيرات إضافية للأسئلة الشائعة */
.faq-item:hover .faq-question h4 {
    color: var(--primary-color);
}

.faq-item:hover .faq-question i {
    color: var(--primary-color);
}

/* Footer المحسّن */
.footer-section {
    padding: 15px 0 5px;
    direction: rtl;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo {
    margin-left: auto;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* WhatsApp Button and Modal Styles */
.footer-contact-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-contact-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.footer-contact-btn:hover {
    background-color: #2980b9;
    color: white;
    text-decoration: none;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 45px;
    height: 38px;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(18, 140, 126, 0.3);
    text-decoration: none;
    color: white;
}

.footer-main-content {
    display: grid;
    grid-template-columns: 6fr 2fr;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-right-section {
    padding: 8px;
}

.footer-sub-title {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: bold;
}

.footer-details {
    color: var(--primary-color);
    font-size: 13px;
    line-height: 1.6;
}

.footer-left-section {
    display: flex;
    gap: 20px;
}

.footer-left-item {
    padding: 8px;
}

.footer-left-item ul {
    list-style-type: none;
    padding: 0;
}

.footer-left-item li {
    padding: 3px 0;
    color: #555;
    font-size: 13px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-left-item li:hover {
    color: #3498db;
}

.footer-mid-section {
    display: grid;
    grid-template-columns: 3fr 7fr 1fr;
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 12px;
}

.footer-system-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.footer-system-details {
    color: var(--dark-color);
    font-size: 13px;
    line-height: 1.6;
}

.footer-social-section {
    margin-top: 8px;
}

.footer-social-section h3 {
    margin-bottom: 8px;
    color: var(--dark-color);
    font-size: 14px;
}

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

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icons i {
    color: var(--primary-color);
}

.footer-social-icons a:hover {
    transform: translateY(-2px);
}

/* Footer Bottom - الخط الفاصل الوحيد المتبقي */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 0;
    border-top: 1px solid #ddd;
    margin-top: 12px;
}

.copyright {
    color: #555;
    font-size: 13px;
}

.footer-links a {
    color: var(--dark-color);
    text-decoration: none;
    margin-left: 15px;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* Founder Section - CEO - تم تعديل حجم الصورة */
.founder-section {
    padding: 60px 0;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* الصورة على اليسار مع انيميشن - تم تصغير الصورة */
.image-content {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

/* تم إضافة كلاس جديد للصورة المصغرة */
.ceo-small-image {
    width: 100%;
    max-width: 300px;
    /* تم تصغير الحجم من 400px إلى 300px */
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.image-wrapper:hover .ceo-small-image {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* بوردر مربع يظهر من الجانب الأيسر والجانب الأعلى فقط */
.border-effect {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--primary-color);
    border-left: 3px solid var(--primary-color);
    z-index: 1;
    opacity: 0.8;
    transition: all 0.5s ease;
}

.image-wrapper:hover .border-effect {
    top: -20px;
    left: -20px;
    opacity: 1;
}

/* النص والزر على اليمين */
.text-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.text-content .main-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.text-content .subtitle {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.text-content .description {
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

.discover-btn {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 8px 32px;
    border-radius: 30px;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.discover-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.arrow {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.discover-btn:hover .arrow {
    transform: translateX(-5px);
}

/* قسم العملاء الجديد - تم التعديل */
.clients-section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.clients-section.animated {
    opacity: 1;
    transform: translateY(0);
}

.clients-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.clients-titles {
    flex: 1;
}

.clients-main-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.clients-sub-title {
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1.6;
    font-weight: 800;
}

.clients-sub-title span {
    font-size: 2rem;
    color: var(--light-color);
    font-weight: 800;
}

.clients-discover-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 32px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(73, 125, 191, 0.3);
    font-family: 'Tajawal', sans-serif;
}

.clients-discover-btn:hover {
    background-color: #3a6ba5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(73, 125, 191, 0.4);
}

/* شبكة الشعارات - تم التعديل */
.clients-grid-section {
    margin-top: 30px;
}

.clients-grid-container {
    display: flex;
    flex-direction: column;
}

.clients-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    /* ارتفاع ثابت للشعارات */
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 20px;
    width: 100%;
    position: relative;
}

.client-logo-item:hover {
    transform: translateY(-5px);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100px;
    /* ارتفاع ثابت للشعارات */
    width: auto;
    object-fit: contain;
    /* الحفاظ على التناسق دون تشويه */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* تحسينات قسم الاتصال - البانر الأسود مع الحركة */
.contact-section {
    padding: 120px 0 60px;
    background: #000000;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(73, 125, 191, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(73, 125, 191, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(73, 125, 191, 0.05) 0%, transparent 50%);
    animation: backgroundShift 8s ease-in-out infinite;
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section .main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'El Messiri', sans-serif;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.subtitles-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    animation: fadeInUp 1.5s ease-out;
}

.subtitle-left,
.subtitle-right {
    flex: 1;
    text-align: center;
    position: relative;
}

.subtitle-left h4,
.subtitle-right h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1.6;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.subtitle-left h4::before,
.subtitle-right h4::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.6s ease;
}

.subtitle-left:hover h4::before,
.subtitle-right:hover h4::before {
    width: 80px;
}

.subtitle-left h4 span,
.subtitle-right h4 span {
    color: var(--light-color);
    font-weight: 400;
    position: relative;
    display: inline-block;
    animation: textPulse 2s ease-in-out infinite;
}

.subtitle-left h4 span:nth-child(2),
.subtitle-right h4 span:nth-child(2) {
    animation-delay: 0.5s;
}

/* الأنيميشنات الجديدة */
@keyframes backgroundShift {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px rgba(73, 125, 191, 0.3);
    }

    100% {
        text-shadow: 0 0 20px rgba(73, 125, 191, 0.6), 0 0 30px rgba(73, 125, 191, 0.4);
    }
}

@keyframes textPulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(73, 125, 191, 0.3);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 15px rgba(73, 125, 191, 0.6);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثيرات إضافية للقسم */
.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* جزيئات متحركة في الخلفية */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(73, 125, 191, 0.3);
    border-radius: 50%;
    animation: floatParticle 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 4px;
    height: 4px;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    width: 3px;
    height: 3px;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 80%;
    width: 5px;
    height: 5px;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    width: 4px;
    height: 4px;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 60%;
    width: 3px;
    height: 3px;
    animation-delay: 4s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

/* قسم معلومات الاتصال */
.contact-info-section {
    padding: 60px 0;
    background: #f8f9fa;
    margin-bottom: 40px;
}

.contact-info-item {
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-info-item:hover .contact-icon {
    background: #3a6ba5;
    transform: scale(1.1);
}

.contact-info-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-info-item p {
    color: #666;
    line-height: 1.6;
}

/* تنسيقات نموذج الاتصال */
.contact-form-container {
    padding: 60px 0;
}

.contact-form-container .header-section {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-container .main-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-form-container .sub-title {
    font-size: 2rem;
    color: var(--light-color);
    font-weight: 800;
}

.contact-form-container .sub-title span {
    color: var(--primary-color);
}

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

.input-group {
    position: relative;
    margin-bottom: 25px;
    flex: 1;
}

.input-group.full-width {
    width: 100%;
}

.contact-form-container input,
.contact-form-container textarea,
.contact-form-container select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus,
.contact-form-container select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

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

.contact-form-container label {
    position: absolute;
    top: 14px;
    right: 15px;
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #fff;
    padding: 0 5px;
}

.contact-form-container input:focus+label,
.contact-form-container input:not(:placeholder-shown)+label,
.contact-form-container textarea:focus+label,
.contact-form-container textarea:not(:placeholder-shown)+label,
.contact-form-container select:focus+label,
.contact-form-container select:not(:placeholder-shown)+label {
    top: -10px;
    right: 10px;
    font-size: 12px;
    color: #3498db;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(52, 152, 219, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(-5px);
}

.success-message {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.success-message h3 {
    color: #27ae60;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.success-message p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.hidden {
    display: none;
}

/* تخصيص القائمة المنسدلة */
.contact-form-container select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 16px;
    padding-left: 40px;
}

.contact-form-container select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* تأثيرات بسيطة للحقول */
@keyframes fieldFocus {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1);
    }
}

.contact-form-container input:focus,
.contact-form-container textarea:focus,
.contact-form-container select:focus {
    animation: fieldFocus 0.3s ease;
}

/* تحسينات للجوال */
@media (max-width: 768px) {

    /* إزالة جميع الأنيميشنات والتحويلات */
    * {
        animation: none !important;
        transition: none !important;
    }

    .navbar {
        min-height: 45px !important;
    }

    .navbar-brand .logo {
        height: 35px !important;
    }

    .banner-title {
        font-size: 2.2rem;
    }

    .banner-text p {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
        font-size: 1rem;
        padding: 8px 12px !important;
    }

    .navbar-btn {
        margin-top: 10px;
        width: 100%;
        margin-right: 0;
    }

    .navbar-nav {
        margin-bottom: 10px;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    }

    .navbar-collapse .nav-link {
        color: rgba(0, 0, 0, 0.8) !important;
    }

    .about-section {
        min-height: auto;
        padding: 20px 0;
    }

    .about-subtitle {
        font-size: 1.5rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .hero-video {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: auto;
    }

    .hero-video .side {
        position: static;
        color: #334155;
        font-weight: 600;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-video .side-left {
        order: -1;
    }

    .hero-video .side-right {
        order: 1;
    }

    .hero-header {
        margin-bottom: 1.5rem;
    }

    .services-content {
        flex-direction: column;
        gap: 20px;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .card {
        flex-direction: column;
        text-align: center;
    }

    .card-icon {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .left-side.manual-scroll {
        height: 350px;
    }

    section {
        padding: 20px 0 !important;
    }

    .faq-section {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .faq-info,
    .faq-questions {
        min-width: 100%;
    }

    .faq-question h4 {
        font-size: 14px;
    }

    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-mid-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-logo {
        margin-left: 0;
    }

    .footer-contact-container {
        flex-direction: column;
        gap: 8px;
    }

    .whatsapp-btn {
        width: 100%;
        margin-top: 5px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .footer-left-section {
        flex-direction: column;
        gap: 10px;
    }

    /* قسم العملاء في الموبايل */
    .clients-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .clients-main-title {
        font-size: 2rem;
    }

    .clients-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .client-logo-item {
        height: 120px;
        /* تصغير الارتفاع قليلاً للجوال */
    }

    .client-logo-item img {
        max-height: 80px;
        /* تصغير الشعارات للجوال */
    }

    /* قسم الاتصال في الموبايل */
    .contact-section {
        padding: 100px 0 40px;
        min-height: 50vh;
    }

    .contact-section .main-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .subtitles-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .subtitle-left h4,
    .subtitle-right h4 {
        font-size: 1.2rem;
    }

    /* تقليل المسافات بين الأقسام في الموبايل */
    .banner-section,
    .about-section,
    .services-section,
    .hero-section,
    .services-main-section,
    .projects-section,
    .faq-section {
        margin-bottom: 0;
        padding: 15px 0 !important;
    }

    .header {
        margin: 15px 0;
    }

    /* تحسين المسافات في الفوتر للجوال */
    .footer-section {
        padding: 10px 0 5px;
    }

    .footer-mid-section {
        padding: 8px 0;
    }

    .footer-bottom {
        padding: 8px 0 0;
    }

    /* Founder Section Mobile */
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    /* تصغير الصورة في الموبايل أيضاً */
    .ceo-small-image {
        width: 200px;
        height: 200px;
    }

    .border-effect {
        top: -10px;
        left: -10px;
        width: 70px;
        height: 70px;
    }

    /* تحسينات نموذج الاتصال للجوال */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form-container .main-title {
        font-size: 1.8rem;
    }

    .contact-info-section {
        padding: 30px 0;
    }

    .contact-info-item {
        padding: 20px 15px;
    }

    /* أزرار التواصل السريع في الموبايل */
    .quick-contact-buttons {
        bottom: 15px;
        left: 15px;
    }

    .quick-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    /* WhatsApp Modal في الموبايل */
    .whatsapp-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }

    /* Popup تفاصيل المشاريع في الموبايل */
    .popup-content {
        padding: 30px 20px;
        width: 95%;
    }

    .popup-logo img {
        max-width: 150px;
    }

    .popup-link {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .banner-title {
        font-size: 1.8rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .banner-section {
        height: 70vh;
    }

    .navbar {
        padding: 6px 0;
    }

    .navbar.scrolled {
        padding: 4px 0;
    }

    .navbar-collapse {
        padding: 12px;
        margin-top: 8px;
    }

    .about-section {
        padding: 15px 0;
    }

    .about-subtitle {
        font-size: 1.3rem;
    }

    .hero-video {
        padding: 0 0.5rem;
    }

    .hero-header {
        padding: 0 0.5rem;
    }

    .footer-logo-img {
        height: 80px;
    }

    /* تصغير إضافي للصورة في الشاشات الصغيرة جداً */
    .ceo-small-image {
        width: 180px;
        height: 180px;
    }

    /* قسم العملاء في الشاشات الصغيرة جداً */
    .clients-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .client-logo-item {
        height: 100px;
    }

    .client-logo-item img {
        max-height: 60px;
    }

    /* قسم الاتصال في الشاشات الصغيرة جداً */
    .contact-section .main-title {
        font-size: 1.5rem;
    }

    .subtitle-left h4,
    .subtitle-right h4 {
        font-size: 1rem;
    }

    .contact-form-container .main-title {
        font-size: 1.5rem;
    }

    /* أزرار التواصل السريع في الشاشات الصغيرة */
    .quick-contact-buttons {
        bottom: 10px;
        left: 10px;
    }

    .quick-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* تحسينات الأداء العامة */
img {
    max-width: 100%;
    height: auto;
}






/* ------------------------------------------------------------------------------ */
/* ===== أنماط البانر المخصص ===== */
.custom-banner-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-video-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#customBannerVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* إزالة أي تأثيرات حركية على الفيديو */
}

.custom-overlay-layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(73, 125, 191, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.custom-banner-content {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.custom-main-title {
    font-size: 2.5rem;
    text-align: center;
    font-weight: 600;
}

/* الأنيميشن المخصص للنص فقط */
@keyframes customFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تصميم متجاوب للشاشات الصغيرة */
@media (max-width: 992px) {
    .custom-banner-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .custom-text-left,
    .custom-text-right {
        text-align: center;
    }

    .custom-main-title {
        font-size: 2.5rem;
    }

    .custom-sub-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .custom-main-title {
        font-size: 2rem;
    }

    .custom-sub-title {
        font-size: 1.5rem;
    }
}

/* تنسيقات إضافية للمحتوى التوضيحي */
.content-section {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
}

.content-section h2 {
    color: #497DBF;
    margin-bottom: 20px;
    font-family: 'El Messiri', sans-serif;
}

.content-section p {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Tajawal', sans-serif;
}


/* قسم النص المتغير عند التمرير */
.changing-text-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.changing-text-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 1;
}

.changing-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.changing-left-part {
    flex: 1;
    animation: fadeInLeftCustom 1s ease-out;
}

.changing-right-part {
    flex: 1;
    animation: fadeInRightCustom 1s ease-out;
}

.changing-main-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'El Messiri', sans-serif;
    line-height: 1.3;
}

.changing-sub-title {
    font-size: 2rem;
    color: var(--light-color);
    line-height: 1.6;
    font-weight: 600;
}

.changing-sub-title span {
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1.6;
    font-weight: 600;
}

.text-container {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.changing-text {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    font-size: 1.4rem;
    color: var(--dark-color);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    padding: 20px;
}

.changing-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* أنيميشن مخصصة */
@keyframes fadeInLeftCustom {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRightCustom {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تأثيرات إضافية */
.changing-text-section {
    transition: all 0.4s ease;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .changing-content-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .changing-main-title {
        font-size: 2rem;
    }

    .changing-text {
        font-size: 1.2rem;
    }

    .text-container {
        height: 140px;
    }
}

@media (max-width: 576px) {
    .changing-text-section {
        padding: 60px 0;
    }

    .changing-main-title {
        font-size: 1.8rem;
    }

    .changing-sub-title {
        font-size: 1.1rem;
    }

    .changing-text {
        font-size: 1.1rem;
        padding: 15px;
    }

    .text-container {
        height: 160px;
    }
}


/* تنسيقات القسم الجديد - باستخدام أسماء classes جديدة */
.steps-section {
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.steps-header {
    text-align: right;
    margin-bottom: 60px;
    padding: 0 20px;
}

.steps-main-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'El Messiri', sans-serif;
}

.steps-sub-title {
    font-size: 2rem;
    color: var(--light-color);
    line-height: 1.6;
    font-weight: 600;
}

.steps-sub-title span {
    color: var(--primary-color);
}

.steps-cards-container {
    display: flex;
    gap: 30px;
    padding: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    /* إخفاء شريط التمرير */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */
}

/* إخفاء شريط التمرير في Chrome و Safari */
.steps-cards-container::-webkit-scrollbar {
    display: none;
}

.step-card {
    flex: 0 0 500px;
    /* زيادة العرض */
    height: 320px;
    /* تقليل الارتفاع */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.step-card-large {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background: #F5F5F5;
}

.step-card-small {
    position: absolute;
    top: 15px;
    right: 22px;
    width: 91%;
    height: 45%;
    background: var(--dark-color);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-card-small-text {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
    text-align: right;
    margin-top: 10px;
}

.step-card-number {
    font-size: 8rem;
    font-weight: 800;
    color: #F5F5F5;
    /* نفس لون الكارد الكبيرة */
    position: absolute;
    bottom: -30px;
    left: 10px;
    line-height: 1;
}

.step-card-content {
    color: white;
    text-align: right;
    z-index: 2;
}

.step-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
}

/* أنيميشن للكروت */
.step-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.step-card {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .steps-cards-container {
        gap: 20px;
    }

    .step-card {
        flex: 0 0 400px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .steps-section {
        padding: 60px 0;
    }

    .step-card {
        flex: 0 0 320px;
        height: 280px;
    }

    .step-card-number {
        font-size: 6rem;
    }
}



/* قسم الميزات الجديد */
.features-new-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.features-header {
    margin-bottom: 60px;
}

.features-main-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'El Messiri', sans-serif;
}

.features-sub-title {
    font-size: 2rem;
    color: var(--light-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 600;
}

.features-sub-title span {
    color: var(--primary-color);
}

.features-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.first-row .feature-card {
    flex: 1;
    max-width: calc(50% - 15px);
}

.second-row .feature-card {
    flex: 1;
    max-width: calc(33.333% - 20px);
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-card-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    flex: 1;
    text-align: right;
}

.feature-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

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

.feature-card-icon i {
    color: white;
    font-size: 1.2rem;
}

.feature-card-content {
    color: var(--dark-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .features-row {
        flex-direction: column;
        gap: 20px;
    }

    .first-row .feature-card,
    .second-row .feature-card {
        max-width: 100%;
    }

    .features-main-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .features-new-section {
        padding: 60px 0;
    }

    .features-main-title {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card-header {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .feature-card-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .feature-card-title {
        text-align: right;
    }
}



/* قسم العلامات التجارية الجديد */
.brands-section {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
    animation: fadeInSection 1s ease-out;
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brands-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    padding: 0 20px;
}

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

.brands-main-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'El Messiri', sans-serif;
    animation: slideInRight 0.8s ease-out;
}

.brands-subtitle {
    font-size: 2rem;
    color: var(--light-color);
    line-height: 1.6;
    max-width: 500px;
    animation: slideInRight 0.8s ease-out 0.2s both;
    font-weight: 600;
}

.brands-subtitle span {
    color: var(--primary-color);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.brands-action {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.brands-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(73, 125, 191, 0.3);
    font-family: 'Tajawal', sans-serif;
}

.brands-btn:hover {
    background: #3a6ba5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(73, 125, 191, 0.4);
}

.brands-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.brands-btn:hover i {
    transform: translateX(-5px);
}

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

.brand-card {
    background: white;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUpCards 0.6s ease-out;
    /* الحالة الطبيعية بدون blur */
    filter: none;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.brand-card:nth-child(1) {
    animation-delay: 0.1s;
}

.brand-card:nth-child(2) {
    animation-delay: 0.2s;
}

.brand-card:nth-child(3) {
    animation-delay: 0.3s;
}

.brand-card:nth-child(4) {
    animation-delay: 0.4s;
}

.brand-card:nth-child(5) {
    animation-delay: 0.5s;
}

.brand-card:nth-child(6) {
    animation-delay: 0.6s;
}

.brand-card:nth-child(7) {
    animation-delay: 0.7s;
}

.brand-card:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes fadeInUpCards {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.brand-name {
    font-size: 0.9rem;
    color: transparent;
    transition: all 0.4s ease;
    font-weight: 500;
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(10px);
}

/* تأثير Hover على الكارد الفردي */
.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.brand-card:hover .brand-logo {
    transform: translate(-50%, -80%);
    /* يتحرك اللوجو لأعلى */
    color: var(--primary-color);
}

.brand-card:hover .brand-name {
    color: var(--dark-color);
    opacity: 1;
    transform: translateY(0);
}

/* تأثير Hover على الـ Grid بأكمله - تطبيق Blur على جميع الكروت ماعدا التي يتم Hover عليها */
.brands-grid:hover .brand-card {
    filter: blur(2px);
    opacity: 0.7;
    transform: scale(0.95);
}

.brands-grid:hover .brand-card:hover {
    filter: blur(0px) !important;
    opacity: 1 !important;
    transform: translateY(-10px) scale(1) !important;
}

.brands-grid:hover .brand-card:hover .brand-logo {
    transform: translate(-50%, -80%) !important;
}

.brands-grid:hover .brand-card:hover .brand-name {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* تصميم متجاوب */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .brands-header {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .brands-text {
        text-align: center;
    }

    .brands-main-title {
        font-size: 2rem;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-card {
        min-height: 160px;
        padding: 30px 15px;
    }

    /* تقليل شدة الـ Blur في الجوال */
    .brands-grid:hover .brand-card {
        filter: blur(1px);
        opacity: 0.8;
    }
}

@media (max-width: 576px) {
    .brands-section {
        padding: 60px 0;
    }

    .brands-main-title {
        font-size: 1.8rem;
    }

    .brands-subtitle {
        font-size: 1rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .brand-card {
        padding: 30px 15px;
        min-height: 140px;
    }

    .brand-logo {
        font-size: 1.3rem;
    }

    .brand-name {
        font-size: 0.8rem;
        bottom: 15px;
    }

    /* إزالة تأثير Blur في الشاشات الصغيرة جداً */
    .brands-grid:hover .brand-card {
        filter: none;
        opacity: 1;
        transform: none;
    }

    .brands-grid:hover .brand-card:hover {
        transform: translateY(-5px);
    }

    .brand-card:hover .brand-logo {
        transform: translate(-50%, -70%);
    }
}


/* Popup Styles - ملف منفصل */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

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

.popup-container {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

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

.popup-header {
    background: var(--primary-color);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.popup-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
}

.close-popup {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.project-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
    font-family: 'Tajawal', sans-serif;
    text-align: right;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    background: white;
    text-align: right;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(73, 125, 191, 0.1);
}

.phone-input {
    display: flex;
    gap: 10px;
}

.country-code {
    flex: 0 0 130px;
    background: #f8f9fa;
    border: 2px solid #e1e5eb;
}

.phone-input input {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.submit-btn {
    flex: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
}

.submit-btn:hover {
    background: #3a6ba5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(73, 125, 191, 0.3);
}

.cancel-btn {
    flex: 0 0 100px;
    background: #f8f9fa;
    color: var(--dark-color);
    border: 2px solid #e1e5eb;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
}

.cancel-btn:hover {
    background: #e9ecef;
}

/* رسالة النجاح */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    animation: slideUp 0.4s ease;
    max-width: 400px;
    width: 90%;
}

.success-message i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message p {
    margin: 10px 0;
    color: var(--dark-color);
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
}

.success-message p:first-of-type {
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.close-success {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 1rem;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
}

.close-success:hover {
    background: #3a6ba5;
    transform: translateY(-2px);
}

/* تصميم متجاوب للـ Popup */
@media (max-width: 576px) {
    .popup-container {
        margin: 10px;
    }
    
    .project-form {
        padding: 20px;
    }
    
    .popup-header {
        padding: 20px;
    }
    
    .popup-header h2 {
        font-size: 1.3rem;
    }
    
    .phone-input {
        flex-direction: column;
    }
    
    .country-code {
        flex: none;
        width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cancel-btn {
        flex: none;
        width: 100%;
    }
}




/* قسم الفريق الجديد */
.team-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.team-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.team-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    padding: 40px 20px;
}

.team-header {
    text-align: right;
    margin-bottom: 60px;
    animation: teamFadeInUp 1s ease-out;
}

.team-main-title {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 1rem;
    font-family: 'El Messiri', sans-serif;
}

.team-subtitle {
    font-size: 2rem;
    color: white;
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
}

.team-members-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.team-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.4s ease;
    transform: translateY(30px);
}

.team-member.animated {
    opacity: 1;
    transform: translateY(0);
}

.team-member-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.member-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.member-info {
    text-align: right;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.member-position {
    font-size: 0.9rem;
    color: var(--text-color);
}

.team-member-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.linkedin-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(73, 125, 191, 0.1);
}

.linkedin-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

.linkedin-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.linkedin-link:hover i {
    transform: translateX(-3px);
}

/* أنيميشن مخصصة للقسم */
@keyframes teamFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .team-member-left {
        flex-direction: column;
        gap: 15px;
    }

    .member-info {
        text-align: center;
    }

    .team-main-title {
        font-size: 2rem;
    }

    .team-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .team-main-title {
        font-size: 1.8rem;
    }

    .team-subtitle {
        font-size: 1rem;
    }

    .member-image {
        width: 70px;
        height: 70px;
    }

    .member-name {
        font-size: 1.1rem;
    }
}



/* قسم فريقنا الجديد */
.team-section-new {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.team-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 1;
}

.team-container-new {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-header-new {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.team-main-title-new {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'El Messiri', sans-serif;
}

.team-subtitle-new {
    font-size: 2rem;
    color: var(--light-color);
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
}

.team-subtitle-new span {
    color: var(--primary-color);
}

.team-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.team-card-new {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.team-card-new.animated {
    opacity: 1;
    transform: translateY(0);
}

.team-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card-new:hover .team-card-image img {
    transform: scale(1.1);
}

.team-card-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.team-card-new:hover .team-card-overlay {
    opacity: 1;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.team-card-info {
    padding: 25px 20px;
}

.team-member-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.team-member-position {
    font-size: 0.9rem;
    color: var(--light-color);
    font-weight: 500;
}

/* تصميم متجاوب */
@media (max-width: 1200px) {
    .team-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .team-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-section-new {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .team-grid-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-subtitle-new {
        font-size: 1.5rem;
    }

    .team-card-image {
        height: 220px;
    }
}

/* أنيميشن مخصصة للقسم */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    direction: rtl;
    overflow-x: hidden;
}

/* قسم العروض - تصميم جديد */

.showcase-section {
    position: relative;
    padding: 80px 0 60px;
    min-height: 100vh;
    background: #F5F5F5;
    overflow: hidden;
    margin-bottom: 50px;
}

.showcase-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 1;
}

/* رأس القسم */
.showcase-header {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.main-heading {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'El Messiri', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sub-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 50px;
    line-height: 1.3;
}

.sub-heading span {
    color: var(--primary-color);
    position: relative;
}

.sub-heading:hover span::after {
    transform: scaleX(1);
}

/* حاوية الفلاتر - التصميم الجديد */
.filter-container {
    display: inline-block;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.filter-track {
    position: relative;
    background: var(--white);
    border-radius: 60px;
    padding: 8px;
    display: inline-block;
    width: auto;
}

.filter-slider {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 140px;
    height: calc(100% - 16px);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    border: 2px solid var(--primary-color);
}

/* خيارات التصفية - عرض كامل */
.filter-options {
    display: flex;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: center;
}

.filter-item {
    padding: 12px 35px;
    background: transparent;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark-color);
    border: none;
    white-space: nowrap;
    text-align: center;
    position: relative;
    flex: 0 0 auto;
    z-index: 2;
    margin: 0 2px;
}

.filter-text {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 3;
}

/* تأثيرات الفلتر */
.filter-item:hover .filter-text {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.filter-item.active {
    color: var(--primary-color);
    background-color: var(--white) !important;
}

.filter-item.active .filter-text {
    transform: translateY(-2px);
    color: var(--primary-color) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* خط تحت النشط */
.filter-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px 2px 0 0;
    transition: transform 0.3s ease;
    opacity: 0;
}

.filter-item.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(73, 125, 191, 0.5);
}

/* تأثير اللمعان للعنصر النشط */
.filter-item.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    border-radius: 40px;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.filter-item.active:hover::before {
    opacity: 0.5;
}

/* منطقة العرض */
.showcase-display {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.display-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* منطقة التمرير */
.scrollable-area {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 30px 10px 60px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    scroll-behavior: smooth;
}

.scrollable-area:active {
    cursor: grabbing;
}

/* إخفاء شريط التمرير الافتراضي */
.scrollable-area::-webkit-scrollbar {
    height: 0;
    width: 0;
    display: none;
}

.scrollable-area {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* شريط التمرير المخصص */
.scrollable-area.show-scrollbar::-webkit-scrollbar {
    height: 8px;
    display: block;
}

.scrollable-area.show-scrollbar::-webkit-scrollbar-track {
    background: rgba(73, 125, 191, 0.1);
    border-radius: 10px;
}

.scrollable-area.show-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #497DBF, #3A6BA6);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(73, 125, 191, 0.3);
}

.scrollable-area.show-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #3A6BA6, #497DBF);
}

.scrollable-area.show-scrollbar {
    -ms-overflow-style: auto;
    scrollbar-width: thin;
    scrollbar-color: #497DBF transparent;
}

/* حاوية الكروت */
.cards-container {
    display: flex;
    gap: 25px;
    padding: 10px 5px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    width: max-content;
}

/* تصميم الكروت */
.showcase-item {
    flex: 0 0 350px;
    height: 380px;
    background: var(--white);
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    animation: cardAppear 0.6s forwards;
}

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-item[data-category="web"] {
    background: linear-gradient(135deg, #497DBF 0%, #3A6BA6 100%);
    color: white;
}

.showcase-item[data-category="branding"] {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
}

.showcase-item[data-category="product"] {
    background: linear-gradient(135deg, #2E8B57 0%, #1F6B3F 100%);
    color: white;
}

.showcase-item[data-category="services"] {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
    color: white;
}

.showcase-item[data-category="mobile"] {
    background: linear-gradient(135deg, #3D3B3B 0%, #2A2A2A 100%);
    color: white;
}

.item-content {
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* خط علوي متحرك */
.showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.showcase-item:hover::before {
    transform: scaleX(1);
}

.item-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: right;
    line-height: 1.4;
    transition: transform 0.4s ease;
}

.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(10px);
    align-self: flex-end;
}

.item-description {
    flex-grow: 1;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: right;
    opacity: 0.9;
    font-size: 1.05rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.item-year {
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    display: inline-block;
    width: fit-content;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* تأثيرات hover */
.showcase-item:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.showcase-item:hover .item-title {
    transform: translateY(-8px);
}

.showcase-item:hover .item-description {
    opacity: 1;
    transform: translateY(-5px);
}

.showcase-item:hover .item-icon {
    transform: scale(1.2) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.showcase-item:hover .item-icon img {
    transform: scale(1.1);
}

.showcase-item:hover .item-year {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* شريط التمرير المخصص */
.scroll-track {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 6px;
    background: rgba(73, 125, 191, 0.1);
    border-radius: 3px;
    overflow: hidden;
    z-index: 5;
    display: none;
}

.scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--dark-color));
    border-radius: 3px;
    transition: transform 0.2s ease-out;
    box-shadow: 0 2px 10px rgba(73, 125, 191, 0.3);
}

/* أزرار التحكم بالتمرير */
.scroll-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.scroll-btn {
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    pointer-events: all;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.prev-btn {
    margin-right: -5%;
}

.next-btn {
    margin-left: -1%;
}

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

.scroll-btn:active {
    transform: scale(0.95);
}

/* التجاوب */
@media (max-width: 1200px) {
    .showcase-item {
        flex: 0 0 320px;
        height: 360px;
    }

    .display-container {
        padding: 0 30px;
    }

    .filter-slider {
        width: 120px;
    }
}

@media (max-width: 992px) {
    .showcase-header {
        padding: 0 25px;
    }

    .sub-heading {
        font-size: 2rem;
    }

    .filter-item {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .filter-slider {
        width: 100px;
    }

    .showcase-item {
        flex: 0 0 300px;
        height: 340px;
    }

    .item-content {
        padding: 25px;
    }

    .display-container {
        padding: 0 20px;
    }

    .scroll-controls {
        display: none;
    }
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 60px 0 40px;
    }

    .sub-heading {
        font-size: 1.7rem;
        margin-bottom: 40px;
    }

    .filter-container {
        max-width: 100%;
        overflow-x: auto;
    }

    .filter-track {
        border-radius: 40px;
        padding: 6px;
        min-width: max-content;
    }

    .filter-slider {
        display: none;
    }

    .filter-options {
        display: flex;
        flex-wrap: nowrap;
        width: auto;
        justify-content: flex-start;
    }

    .filter-item {
        padding: 8px 20px;
        margin: 0 2px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .showcase-item {
        flex: 0 0 280px;
        height: 320px;
    }

    .item-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .item-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 25px;
    }

    .scroll-track {
        width: 250px;
    }
}

@media (max-width: 576px) {
    .showcase-header {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .main-heading {
        font-size: 0.9rem;
    }

    .sub-heading {
        font-size: 1.5rem;
    }

    .filter-item {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .showcase-item {
        flex: 0 0 260px;
        height: 300px;
    }

    .item-content {
        padding: 20px;
    }

    .display-container {
        padding: 0 15px;
    }

    .scroll-track {
        width: 200px;
    }
}

@media (max-width: 400px) {
    .filter-track {
        padding: 5px;
    }

    .filter-item {
        padding: 7px 12px;
        font-size: 0.8rem;
        border-radius: 30px;
    }

    .showcase-item {
        flex: 0 0 240px;
        height: 280px;
    }

    .item-title {
        font-size: 1.2rem;
    }

    .item-description {
        font-size: 0.95rem;
    }
}

/* تحسين التمرير للجوال */
@media (max-width: 768px) {
    .scrollable-area {
        -webkit-overflow-scrolling: touch;
    }

    /* جعل الفلتر قابل للتمرير أفقيًا على الشاشات الصغيرة */
    .filter-container::-webkit-scrollbar {
        height: 4px;
    }

    .filter-container::-webkit-scrollbar-track {
        background: rgba(73, 125, 191, 0.1);
        border-radius: 2px;
    }

    .filter-container::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
}

/* تحسين عرض الفلتر على جميع الشاشات */
@media (min-width: 769px) {
    .filter-track {
        width: 100%;
    }

    .filter-options {
        justify-content: center;
    }

    .filter-item {
        min-width: 140px;
    }
}



/* قسم آراء العملاء المعدل */
/* .testimonials-section-updated {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonials-header-updated {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 1s ease-out;
    padding: 0 20px;
}

.testimonials-main-title-updated {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'El Messiri', sans-serif;
}

.testimonials-subtitle-updated {
    font-size: 2rem;
    font-weight: 600;
    color: var(--light-color);
}

.testimonials-subtitle-updated span {
    color: var(--primary-color);
}

/* حاوية الكروت مع Scroll مخفي */
.testimonials-container-updated {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-cards-wrapper-updated {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 60px 50px;
    width: 100%;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* إخفاء شريط التمرير في Firefox */
}

/* إخفاء شريط التمرير في Chrome و Safari */
.testimonials-cards-wrapper-updated::-webkit-scrollbar {
    display: none;
}

/* تصميم كروت آراء العملاء - أكبر حجماً */
.testimonial-card-updated {
    flex: 0 0 600px;
    /* زيادة العرض بشكل كبير */
    background: #F5F5F5;
    border-radius: 25px;
    padding: 50px 40px;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: testimonialFadeInUpdated 0.6s ease forwards;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.testimonial-card-updated:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card-updated:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card-updated:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-card-updated:nth-child(4) {
    animation-delay: 0.4s;
}

.testimonial-card-updated:nth-child(5) {
    animation-delay: 0.5s;
}

.testimonial-card-updated:nth-child(6) {
    animation-delay: 0.6s;
}

.testimonial-card-updated:nth-child(7) {
    animation-delay: 0.7s;
}

.testimonial-card-updated:nth-child(8) {
    animation-delay: 0.8s;
}

@keyframes testimonialFadeInUpdated {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card-updated:hover {
    transform: translateY(-15px);
}

.testimonial-content-updated {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.quote-icon-updated {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(73, 125, 191, 0.3);
    z-index: 2;
}

.testimonial-text-updated {
    color: var(--dark-color);
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 1.2rem;
    text-align: right;
    flex-grow: 1;
    padding-top: 15px;
}

/* الحاوية الجديدة للنجوم والتقييم */
.rating-container-updated {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.rating-stars-updated {
    display: flex;
    gap: 8px;
}

.rating-stars-updated i {
    color: #FFD700;
    font-size: 1.8rem;
}

.rating-score-updated {
    display: flex;
    align-items: baseline;
}

.score-large-updated {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1;
}

.score-small-updated {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-right: 5px;
}

.client-info-updated {
    text-align: center;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    padding-top: 25px;
    margin-top: auto;
}

.client-name-updated {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.client-position-updated {
    font-size: 1.1rem;
    color: var(--light-color);
    margin: 0;
}

/* أنيميشن للقسم بأكمله */
@keyframes sectionSlideInUpdated {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonials-section-updated {
    animation: sectionSlideInUpdated 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تصميم متجاوب */
@media (max-width: 1200px) {
    .testimonial-card-updated {
        flex: 0 0 550px;
        padding: 45px 35px;
        min-height: 360px;
    }

    .testimonials-cards-wrapper-updated {
        gap: 35px;
        padding: 25px 50px 45px;
    }
}

@media (max-width: 992px) {
    .testimonials-section-updated {
        padding: 80px 0;
    }

    .testimonials-main-title-updated {
        font-size: 2.5rem;
    }

    .testimonials-subtitle-updated {
        font-size: 1.2rem;
    }

    .testimonial-card-updated {
        flex: 0 0 500px;
        padding: 40px 30px;
        min-height: 340px;
    }

    .testimonials-cards-wrapper-updated {
        gap: 30px;
        padding: 20px 40px 40px;
    }

    .score-large-updated {
        font-size: 2.2rem;
    }

    .quote-icon-updated {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .testimonial-card-updated {
        flex: 0 0 450px;
        padding: 35px 25px;
        min-height: 320px;
    }

    .testimonials-cards-wrapper-updated {
        gap: 25px;
        padding: 20px 30px 35px;
    }

    .score-large-updated {
        font-size: 2rem;
    }

    .rating-container-updated {
        flex-direction: column;
        gap: 15px;
    }

    .quote-icon-updated {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        top: -15px;
        left: -15px;
    }

    .rating-stars-updated i {
        font-size: 1.5rem;
    }

    .testimonial-text-updated {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .testimonials-section-updated {
        padding: 60px 0;
    }

    .testimonials-main-title-updated {
        font-size: 2.2rem;
    }

    .testimonials-subtitle-updated {
        font-size: 1rem;
    }

    .testimonial-card-updated {
        flex: 0 0 380px;
        padding: 30px 20px;
        min-height: 300px;
    }

    .testimonials-cards-wrapper-updated {
        padding: 15px 20px 30px;
    }

    .score-large-updated {
        font-size: 1.8rem;
    }

    .client-name-updated {
        font-size: 1.3rem;
    }

    .testimonial-text-updated {
        font-size: 1rem;
    }

    .rating-stars-updated i {
        font-size: 1.3rem;
    }
} */



/* قسم العداد الجديد */
.counter-new-section {
    margin-top: 50px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-new-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.counter-new-number {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: 'Tajawal', sans-serif;
    line-height: 1;
    transition: all 0.5s ease;
}

.counter-new-main-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'El Messiri', sans-serif;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.3s;
}

.counter-new-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-color);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.5s;
}

/* أنيميشن ظهور القسم */
.counter-new-section.animate-in .counter-new-main-title,
.counter-new-section.animate-in .counter-new-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* تأثيرات hover */
.counter-new-number:hover {
    transform: scale(1.05);
    text-shadow: 0 8px 25px rgba(73, 125, 191, 0.3);
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .counter-new-section {
        padding: 100px 0;
        min-height: 70vh;
    }

    .counter-new-number {
        font-size: 6rem;
    }

    .counter-new-main-title {
        font-size: 2rem;
    }

    .counter-new-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .counter-new-section {
        padding: 80px 0;
        min-height: 60vh;
    }

    .counter-new-number {
        font-size: 4.5rem;
    }

    .counter-new-main-title {
        font-size: 1.8rem;
    }

    .counter-new-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .counter-new-section {
        padding: 60px 0;
    }

    .counter-new-number {
        font-size: 3.5rem;
    }

    .counter-new-main-title {
        font-size: 1.5rem;
    }

    .counter-new-subtitle {
        font-size: 0.95rem;
    }
}




/* ------------------------------------------------------ */
/* ===== أنماط قسم الحلول الإبداعية ===== */
.creative-solutions-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-top: 60px;
}

.creative-content-wrapper {
    position: relative;
    z-index: 10;
    padding: 0 80px;
}

.creative-text-content {
    max-width: 800px;
}

.creative-header {
    margin-bottom: 30px;
}

.creative-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: 'El Messiri', sans-serif;
    line-height: 1.2;
}

.creative-sub-title {
    font-size: 1.3rem;
    color: var(--light-color);
    line-height: 1.8;
    margin-top: 30px;
    max-width: 600px;
}

.creative-start-project-btn {
    background: #497dbf;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(73, 125, 191, 0.3);
    font-family: 'Tajawal', sans-serif;
    margin-top: 20px;
}

.creative-start-project-btn:hover {
    background: #3a6ba5;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(73, 125, 191, 0.4);
}

.creative-start-project-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.creative-start-project-btn:hover i {
    transform: translateX(-5px);
}

/* ===== قسم البانر المستقل ===== */
.creative-banner-section {
    width: 100%;
    min-height: 200px;
    background: transparent;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.creative-banner-container {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.creative-banner-img {
    width: 100%;
    max-width: 1718px;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    transform-origin: center;
    transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
}

/* كلاس الأنيميشن عند السكرول */
.creative-banner-img.expanded {
    height: 750px !important;
}

/* تأثيرات إضافية للصورة */
.creative-banner-img:hover {
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

/* ===== البوب أب لنموذج المشروع ===== */
.creative-project-popup {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.creative-project-popup.active {
    display: block;
    opacity: 1;
}

.creative-popup-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.creative-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: creativePopupAppear 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes creativePopupAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.creative-popup-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.creative-popup-close:hover {
    background: #497dbf;
    color: white;
    transform: rotate(90deg);
}

.creative-popup-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.creative-popup-header h3 {
    color: #497dbf;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.creative-popup-header p {
    color: #666;
    font-size: 1rem;
}

.creative-project-form {
    padding-top: 20px;
}

.creative-project-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.creative-project-form .input-group {
    position: relative;
    margin-bottom: 30px;
    flex: 1;
}

.creative-project-form input,
.creative-project-form select,
.creative-project-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Tajawal', sans-serif;
}

.creative-project-form input:focus,
.creative-project-form select:focus,
.creative-project-form textarea:focus {
    border-color: #497dbf;
    box-shadow: 0 0 0 3px rgba(73, 125, 191, 0.1);
}

.creative-project-form label {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #fff;
    padding: 0 8px;
    border-radius: 4px;
}

.creative-project-form input:focus+label,
.creative-project-form input:not(:placeholder-shown)+label,
.creative-project-form select:focus+label,
.creative-project-form select:not([value=""])+label,
.creative-project-form textarea:focus+label,
.creative-project-form textarea:not(:placeholder-shown)+label {
    top: -10px;
    right: 12px;
    font-size: 12px;
    color: #497dbf;
    font-weight: 600;
}

.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-code-select {
    flex: 0 0 140px;
}

.country-code-select select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 16px;
    padding-left: 40px;
    padding-right: 15px;
}

.phone-input-group input {
    flex: 1;
}

.creative-submit-btn {
    width: 100%;
    padding: 16px;
    background: #497dbf;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(73, 125, 191, 0.3);
}

.creative-submit-btn:hover {
    background: #3a6ba5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(73, 125, 191, 0.4);
}

/* ===== تصميم متجاوب ===== */
@media (max-width: 1718px) {
    .creative-banner-container {
        padding: 0 20px;
    }

    .creative-banner-img {
        width: 100%;
        max-width: 100%;
    }

    .creative-banner-img.expanded {
        height: 750px !important;
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .creative-main-title {
        font-size: 3rem;
    }

    .creative-content-wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .creative-solutions-section {
        min-height: 40vh;
        padding: 40px 0;
    }

    .creative-content-wrapper {
        padding: 0 20px;
    }

    .creative-text-content {
        margin: 0 auto;
        text-align: center;
    }

    .creative-main-title {
        font-size: 2.5rem;
    }

    .creative-sub-title {
        font-size: 1.2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .creative-banner-img.expanded {
        height: 600px !important;
        width: 100%;
    }

    .creative-project-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .creative-main-title {
        font-size: 2rem;
    }

    .creative-sub-title {
        font-size: 1.1rem;
    }

    .creative-start-project-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .creative-banner-img.expanded {
        height: 500px !important;
        width: 100%;
    }

    .creative-popup-content {
        padding: 30px 20px;
        width: 95%;
    }

    .phone-input-group {
        flex-direction: column;
        gap: 15px;
    }

    .country-code-select {
        flex: 0 0 auto;
    }
}

@media (max-width: 576px) {
    .creative-solutions-section {
        padding: 30px 0;
        min-height: 30vh;
    }

    .creative-main-title {
        font-size: 1.8rem;
    }

    .creative-sub-title {
        font-size: 1rem;
    }

    .creative-banner-img.expanded {
        height: 400px !important;
        width: 100%;
    }
}




/* قسم الخدمات الجديد - التعديل فقط */
.services-new-section {
    padding: 50px 0;
    background: #F5F5F5;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
    margin: 80px auto;
}

.services-new-section.animated {
    opacity: 1;
    transform: translateY(0);
}

.services-new-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
    animation: newFadeInDown 1s ease-out 0.3s both;
}

@keyframes newFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-new-main-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'El Messiri', sans-serif;
}

.services-new-subtitle {
    font-size: 2rem;
    color: var(--light-color);
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
}

.services-new-subtitle span {
    color: var(--primary-color);
}

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

/* رابط الخدمة */
.service-new-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-new-item-link::after {
    content: '';
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 60%;
    height: 1px;
    background: var(--light-color);
}

.service-new-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    padding: 25px 0;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
    cursor: pointer;
    min-height: 120px;
}

.service-new-item:nth-child(even) {
    transform: translateX(50px);
}

.service-new-item.animated {
    opacity: 1;
    transform: translateX(0);
}

.service-new-left {
    flex: 1;
    max-width: 600px;
    padding-left: 40px;
    animation: newSlideInLeft 0.8s ease-out;
    padding-top: 10px;
}

@keyframes newSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تعديل على الرقم لجعله بجانب الاسم */
.service-new-number-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.service-new-number {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-left: 12px;
    line-height: 1;
    transition: all 0.3s ease;
}

.service-new-item:hover .service-new-number {
    color: var(--primary-color);
    transform: scale(1.05);
}

.service-new-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.service-new-description {
    font-size: 0.9rem;
    color: var(--dark-color);
    line-height: 1.5;
    max-width: 500px;
    position: relative;
    z-index: 2;
    margin-top: 8px;
}

.service-new-right {
    flex: 1;
    max-width: 500px;
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: end;
    animation: newSlideInRight 0.8s ease-out;
}

@keyframes newSlideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-new-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(73, 125, 191, 0.3);
}

.service-new-circle:hover {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(30deg);
    box-shadow: 0 8px 20px rgba(73, 125, 191, 0.4);
}

.service-new-circle i {
    transition: transform 0.4s ease;
}

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

/* التعديل: جعل الحاوية بأكملها تتحرك مع الماوس والصورة ثابتة داخلها */
.service-new-image-container {
    position: absolute;
    width: 220px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    pointer-events: none;
    /* تحديد موقع ثابت للصورة داخل الحاوية */
    top: 0;
    right: 0;
    left: auto;
}

.service-new-item:hover .service-new-image-container {
    opacity: 1;
    visibility: visible;
    transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) scale(1);
}

.service-new-hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* جعل الصورة ثابتة داخل الحاوية */
    transform: translate(0, 0) !important;
}

.service-new-divider {
    position: absolute;
    bottom: 0;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 102, 102, 0.2), transparent);
    opacity: 0.15;
}

.service-new-item:last-child .service-new-divider {
    display: none;
}

/* تصميم متجاوب */
@media (max-width: 1200px) {
    .service-new-item {
        flex-direction: column;
        gap: 25px;
        padding: 20px 0;
        min-height: 100px;
    }

    .service-new-left,
    .service-new-right {
        max-width: 100%;
        width: 100%;
    }

    .service-new-left {
        padding-left: 0;
        padding-right: 0;
        padding-top: 5px;
    }

    .service-new-right {
        height: 130px;
    }

    .service-new-image-container {
        width: 200px;
        height: 130px;
        right: 50%;
        transform: translateX(50%) scale(0.8);
    }
    
    .service-new-item:hover .service-new-image-container {
        transform: translate(calc(50% + var(--mouse-x, 0px)), var(--mouse-y, 0px)) scale(1) !important;
    }
}

@media (max-width: 768px) {
    .service-new-image-container {
        width: 180px;
        height: 120px;
    }
}

@media (max-width: 576px) {
    .service-new-image-container {
        width: 150px;
        height: 100px;
    }
}




/* قسم التكنولوجيا الجديد */
.tech-section-new {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.tech-section-new.animated {
    opacity: 1;
    transform: translateY(0);
}

.tech-headers {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInDownTech 1s ease-out 0.3s both;
}

@keyframes fadeInDownTech {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-main-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: 'El Messiri', sans-serif;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.tech-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--light-color);
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
    opacity: 0.9;
}

.tech-subtitle span {
    color: var(--primary-color);
}

/* تصميم الدوائر */
.tech-circles-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.tech-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tech-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: circleAppear 0.6s ease forwards;
}

/* توقيت ظهور الدوائر */
.tech-circle-item:nth-child(1) {
    animation-delay: 0.1s;
}

.tech-circle-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-circle-item:nth-child(3) {
    animation-delay: 0.3s;
}

.tech-circle-item:nth-child(4) {
    animation-delay: 0.4s;
}

.tech-circle-item:nth-child(5) {
    animation-delay: 0.5s;
}

.tech-circle-item:nth-child(6) {
    animation-delay: 0.6s;
}

.tech-circle-item:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes circleAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tech-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(73, 125, 191, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.tech-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(73, 125, 191, 0.1) 0%, rgba(73, 125, 191, 0) 100%);
    border-radius: 50%;
    z-index: 1;
}

.tech-logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.tech-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
    transition: all 0.4s ease;
    margin-top: 5px;
}

/* تأثير Hover على الدوائر */
.tech-circle-item:hover .tech-circle {
    transform: translateY(-15px) scale(1.1);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(73, 125, 191, 0.3);
}

.tech-circle-item:hover .tech-logo {
    color: white;
    transform: scale(1.2) rotate(10deg);
}

.tech-circle-item:hover .tech-name {
    color: var(--primary-color);
    transform: translateY(5px);
    font-weight: 700;
}

/* تأثير إضافي عند Hover */
.tech-circle-item:hover {
    transform: translateY(-10px);
}

/* تأثيرات إضافية للدوائر */
.tech-circle-item:nth-child(odd) .tech-circle {
    animation: floatOdd 3s ease-in-out infinite;
}

.tech-circle-item:nth-child(even) .tech-circle {
    animation: floatEven 3s ease-in-out infinite 0.5s;
}

@keyframes floatOdd {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatEven {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* تصميم متجاوب */
@media (max-width: 1200px) {
    .tech-row {
        gap: 40px;
    }

    .tech-circle {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 992px) {
    .tech-section-new {
        padding: 80px 0;
    }

    .tech-main-title {
        font-size: 2.2rem;
    }

    .tech-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .tech-row {
        gap: 30px;
        margin-bottom: 40px;
    }

    .tech-circle {
        width: 120px;
        height: 120px;
    }

    .tech-logo {
        font-size: 2.2rem;
    }

    .tech-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .tech-section-new {
        padding: 60px 0;
    }

    .tech-main-title {
        font-size: 1.8rem;
    }

    .tech-row {
        gap: 25px;
        margin-bottom: 30px;
    }

    .tech-circle {
        width: 110px;
        height: 110px;
    }

    .tech-logo {
        font-size: 2rem;
    }

    .tech-name {
        font-size: 1rem;
    }

    .tech-circle-item {
        width: 150px;
    }
}

@media (max-width: 576px) {
    .tech-section-new {
        padding: 50px 0;
    }

    .tech-main-title {
        font-size: 1.6rem;
    }

    .tech-subtitle {
        font-size: 1rem;
    }

    .tech-row {
        gap: 20px;
        margin-bottom: 25px;
    }

    .tech-circle {
        width: 100px;
        height: 100px;
    }

    .tech-logo {
        font-size: 1.8rem;
    }

    .tech-name {
        font-size: 0.9rem;
    }

    .tech-circle-item {
        width: 120px;
    }
}

/* تأثيرات خلفية */
.tech-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tech-section-new .container {
    position: relative;
    z-index: 1;
}



/* قسم البانر الجديد */
.modern-banner-section {
    padding: 100px 0;
    background: #F5F5F5;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.modern-banner-section.animated {
    opacity: 1;
    transform: translateY(0);
}

.modern-banner-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.modern-left-part {
    flex: 1;
    animation: modernFadeInLeft 1s ease-out 0.3s both;
}

.modern-image-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.modern-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.modern-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

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

.modern-right-part {
    flex: 1;
    animation: modernFadeInRight 1s ease-out 0.5s both;
}

.modern-content {
    padding: 20px;
}

.modern-main-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1.3;
    font-family: 'El Messiri', sans-serif;
    position: relative;
    padding-bottom: 20px;
}

.modern-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-color);
    margin-bottom: 40px;
    line-height: 1.6;
}

.modern-features-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modern-feature-item {
    padding: 20px 0;
    position: relative;
}

.modern-feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modern-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-feature-item:hover .modern-feature-icon {
    transform: rotate(15deg) scale(1.1);
}

.modern-feature-title {
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 700;
    margin: 0;
    transition: all 0.3s ease;
}

.modern-feature-item:hover .modern-feature-title {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.modern-feature-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-right: 37px;
    transition: all 0.3s ease;
}

.modern-feature-item:hover .modern-feature-desc {
    color: #555;
    transform: translateX(-3px);
}

.modern-feature-divider {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    opacity: 0.3;
}

.modern-feature-item:last-child .modern-feature-divider {
    display: none;
}

/* أنيميشن مخصصة */
@keyframes modernFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes modernFadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تأثيرات إضافية عند التمرير */
.modern-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(73, 125, 191, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.modern-banner-wrapper {
    position: relative;
    z-index: 2;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .modern-banner-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .modern-left-part,
    .modern-right-part {
        width: 100%;
    }

    .modern-main-title {
        font-size: 2rem;
    }

    .modern-subtitle {
        font-size: 1.1rem;
    }

    .modern-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .modern-feature-title {
        font-size: 1.1rem;
    }

    .modern-feature-desc {
        margin-right: 65px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .modern-banner-section {
        padding: 70px 0;
    }

    .modern-main-title {
        font-size: 1.8rem;
    }

    .modern-subtitle {
        font-size: 1rem;
    }

    .modern-feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .modern-feature-desc {
        margin-right: 0;
    }

    .modern-feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .modern-banner-section {
        padding: 50px 0;
    }

    .modern-main-title {
        font-size: 1.6rem;
    }

    .modern-subtitle {
        font-size: 0.95rem;
    }

    .modern-feature-title {
        font-size: 1rem;
    }

    .modern-feature-desc {
        font-size: 0.9rem;
    }
}




/* إضافات جديدة بأسماء كلاسات جديدة ومختلفة */
.presentation-section-block {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: white;
    text-align: center;
    box-shadow: 0 15px 35px rgba(13, 71, 161, 0.2);
    z-index: 1;
}

.presentation-section-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<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,0 L100,0 L100,100" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    opacity: 0.2;
    z-index: -1;
}

.core-headline-element {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    opacity: 1;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.supporting-description-element {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    opacity: 1;
    max-width: 800px;
    line-height: 1.6;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.contact-redirect-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: linear-gradient(90deg, #00bcd4 0%, #2196f3 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 2;
    direction: ltr;
    /* لجعل المحتوى يبدأ من اليسار */
}

.contact-redirect-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.4);
    background: linear-gradient(90deg, #2196f3 0%, #00bcd4 100%);
}

.contact-redirect-link:active {
    transform: translateY(0);
}

.contact-redirect-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.contact-redirect-link:hover::after {
    transform: translateX(100%);
}

.link-direction-indicator {
    margin-left: 10px;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    order: 2;
    /* لجعل الأيقونة تظهر بعد النص */
}

.contact-redirect-link-text {
    order: 1;
    /* لجعل النص يظهر قبل الأيقونة */
}

.contact-redirect-link:hover .link-direction-indicator {
    transform: translateX(6px);
}

.ornamental-background-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    pointer-events: none;
    z-index: 0;
}

.pattern-ornament-piece {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.pattern-ornament-piece:nth-child(1) {
    width: 70px;
    height: 70px;
    top: 15%;
    right: 8%;
}

.pattern-ornament-piece:nth-child(2) {
    width: 100px;
    height: 100px;
    bottom: 12%;
    left: 8%;
}

.pattern-ornament-piece:nth-child(3) {
    width: 50px;
    height: 50px;
    top: 55%;
    right: 15%;
}

/* تأثيرات استجابة */
@media (max-width: 992px) {
    .presentation-section-block {
        width: 95%;
        padding: 50px 30px;
    }

    .core-headline-element {
        font-size: 2.4rem;
    }

    .supporting-description-element {
        font-size: 1.2rem;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .presentation-section-block {
        padding: 40px 25px;
        margin: 30px auto;
    }

    .core-headline-element {
        font-size: 2rem;
    }

    .supporting-description-element {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .contact-redirect-link {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .presentation-section-block {
        width: 90%;
        padding: 30px 20px;
        margin: 25px auto;
        border-radius: 15px;
    }

    .core-headline-element {
        font-size: 1.7rem;
    }

    .supporting-description-element {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }

    .contact-redirect-link {
        padding: 12px 28px;
        font-size: 0.95rem;
        flex-direction: row;
        direction: ltr;
    }

    .pattern-ornament-piece:nth-child(1),
    .pattern-ornament-piece:nth-child(2),
    .pattern-ornament-piece:nth-child(3) {
        display: none;
    }
}



/* ==========================================
   أنماط مخصصة لصفحة الخدمات
   ========================================== */

/* Navbar مخصص لصفحة الخدمات */
.navbar.services-page {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(150px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    opacity: 1 !important;
    transition: none !important;
}

.navbar.services-page .navbar-brand .logo {
    filter: brightness(0) invert(0) !important;
    height: 55px !important;
    transition: none !important;
}

.navbar.services-page .nav-link {
    color: rgba(0, 0, 0, 0.85) !important;
    font-weight: 500;
    margin: 0 2px !important;
    padding: 4px 10px !important;
    border-radius: 4px;
    position: relative;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem !important;
    transition: color 0.3s ease !important;
}

.navbar.services-page .nav-link:hover,
.navbar.services-page .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(73, 125, 191, 0.1);
    transform: translateY(-2px);
}

.navbar.services-page .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 50%;
    transform: translateX(50%);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
}

.navbar.services-page .menu-icon,
.navbar.services-page .close-icon {
    color: var(--dark-color) !important;
    transition: none !important;
}

/* التأكد من أن الزر يبقى كما هو */
.navbar.services-page .navbar-btn {
    background: var(--primary-color) !important;
    border: none !important;
    padding: 6px 20px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(73, 125, 191, 0.3) !important;
    font-family: 'Tajawal', sans-serif !important;
    color: white !important;
    margin-right: 15px !important;
}

.navbar.services-page .navbar-btn:hover {
    background: #3a6ba5 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(73, 125, 191, 0.4) !important;
    color: white !important;
}

/* تحسين Navbar Collapse في الجوال لصفحة الخدمات */
@media (max-width: 992px) {
    .navbar.services-page .navbar-collapse {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        padding: 15px !important;
        border-radius: 10px !important;
        margin-top: 10px !important;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15) !important;
    }

    .navbar.services-page .nav-link {
        color: rgba(0, 0, 0, 0.85) !important;
        text-align: center !important;
        margin: 5px 0 !important;
        padding: 8px 12px !important;
    }

    .navbar.services-page .navbar-btn {
        margin-top: 10px !important;
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* ==========================================
   أنماط محتوى صفحة الخدمات
   ========================================== */

/* قسم البانر للخدمات */
.services-hero-section {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-top: 0;
}

.services-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'El Messiri', sans-serif;
}

.services-description {
    font-size: 1.2rem;
    color: var(--dark-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* قسم تفاصيل الخدمات */
.services-details-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'El Messiri', sans-serif;
}

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

.service-card-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card-item:hover .service-icon {
    transform: rotate(15deg) scale(1.1);
    background: #3a6ba5;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card-item h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* قسم كيفية العمل */
.how-we-work-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.work-step {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    font-family: 'Tajawal', sans-serif;
}

.work-step h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.work-step p {
    color: #666;
    line-height: 1.6;
}

/* قسم CTA */
.services-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a6ba5 100%);
    color: white;
    text-align: center;
}

.services-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'El Messiri', sans-serif;
}

.services-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.services-cta-section .btn-lg {
    padding: 12px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
    font-weight: 600;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .services-hero-section {
        padding: 130px 0 60px;
    }

    .services-main-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card-item {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .services-hero-section {
        padding: 120px 0 50px;
        text-align: center;
    }

    .services-main-title {
        font-size: 2rem;
    }

    .services-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .services-hero-section {
        padding: 110px 0 40px;
    }

    .services-main-title {
        font-size: 1.8rem;
    }

    .service-card-item {
        padding: 20px 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .service-card-item h3 {
        font-size: 1.2rem;
    }
}





/* ------------------------------------------------- */
/* ===== ملف أنماط البانر الإبداعي ===== */
/* تم إنشاء هذا الملف بأسماء كلاسات جديدة تمامًا */

/* تصميم القسم الرئيسي - بدون خلفية */
.web-design-display {
    padding: 50px 25px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    max-width: 1200px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2a2a2a;
    overflow: hidden;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none !important;
    position: relative;
}

/* إزالة أي تأثيرات خلفية */
.web-design-display::before,
.web-design-display::after {
    display: none;
}

/* تصميم منطقة المحتوى النصي - محاذاة لليسار */
.design-content-area {
    text-align: right;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(25px);
    animation: contentAppear 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.4s;
    position: relative;
    z-index: 1;
}

.design-primary-heading {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.1;
    position: relative;
    display: inline-block;
    text-align: right;
    width: 100%;
}

.design-secondary-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--light-color);
    max-width: 1150px;
    margin: 0 0 35px 0;
    padding: 0;
    text-align: right;
}

/* تصميم الوسوم المميزة - محاذاة لليسار */
.design-feature-tags {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    direction: rtl;
}

.design-tag-element {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    color: #2c5282;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.design-tag-element:hover {
    transform: translateY(-5px);
    border-color: #3498db;
    box-shadow: 0 8px 15px rgba(52, 152, 219, 0.2);
    color: #1a365d;
}

/* تصميم حاوية الصورة - تعديل: إزالة تأثير الاختفاء الأولي */
.design-visual-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    /* إزالة الأنيميشن الأولي للاختفاء */
    opacity: 1;
    /* بدلاً من opacity: 0 */
    transform: translateY(0);
    /* بدلاً من translateY(25px) */
    /* إزالة سطر الأنيميشن التالي */
    /* animation: contentAppear 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.7s; */
    transition: transform 0.5s ease;
    z-index: 1;
}

.design-visual-container:hover {
    transform: translateY(-8px);
}

.design-banner-visual {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.design-visual-container:hover .design-banner-visual {
    transform: scale(1.05);
}

/* تصميم المحتوى العلوي على الصورة */
.design-overlay-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgba(26, 58, 95, 0.85) 0%, transparent 100%);
    color: #ffffff;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s ease;
}

/* تأثيرات التحريك */
@keyframes contentAppear {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 20px 45px rgba(52, 152, 219, 0.2);
    }
}

/* تأثير النبض عند المرور */
.design-visual-container:hover {
    animation: glowPulse 2s infinite;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .design-primary-heading {
        font-size: 2.8rem;
    }

    .design-secondary-text {
        font-size: 1.15rem;
    }

    .design-banner-visual {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .web-design-display {
        padding: 35px 20px;
        margin: 20px;
    }

    .design-primary-heading {
        font-size: 2.4rem;
        text-align: center;
    }

    .design-secondary-text {
        font-size: 1.1rem;
        padding: 0 15px;
        text-align: center;
    }

    .design-banner-visual {
        height: 320px;
    }

    .visual-main-text {
        font-size: 1.7rem;
    }

    .design-feature-tags {
        justify-content: center;
        gap: 12px;
    }

    .design-tag-element {
        padding: 8px 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .web-design-display {
        padding: 25px 15px;
        margin: 15px;
    }

    .design-primary-heading {
        font-size: 2rem;
        text-align: center;
    }

    .design-secondary-text {
        font-size: 1rem;
        padding: 0 10px;
        text-align: center;
    }

    .design-banner-visual {
        height: 250px;
    }

    .design-overlay-content {
        padding: 25px 20px;
    }

    .visual-main-text {
        font-size: 1.5rem;
    }

    .visual-sub-text {
        font-size: 0.95rem;
    }

    .design-feature-tags {
        justify-content: center;
        flex-direction: row;
        align-items: center;
    }

    .design-tag-element {
        width: auto;
        text-align: center;
    }
}




/* ==========================================
   أنماط القسم الجديد بأسماء كلاسات جديدة
   ========================================== */

/* القسم الرئيسي */
.new-content-section {
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.new-content-section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* عناوين رئيسية */
.main-heading-wrapper {
    text-align: right;
    margin-bottom: 40px;
    animation: fadeInRight 0.8s ease-out;
}

.primary-heading-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'El Messiri', sans-serif;
    position: relative;
}

.primary-description-text {
    font-size: 1rem;
    color: var(--light-color);
    line-height: 1.8;
    max-width: 1150px;
}

.small-spacing {
    height: 30px;
    width: 100%;
    display: block;
}

/* العناوين الفرعية */
.sub-section-container {
    /* margin-bottom: 40px; */
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.sub-heading-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: 'Tajawal', sans-serif;
    padding-right: 15px;
    border-right: 4px solid var(--primary-color);
}

/* تخطيط النقاط */
.points-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

/* تصميم النقطة */
.point-item-box {
    display: flex;
    align-items: flex-start;
    border-radius: 15px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: pointItemAppear 0.6s ease forwards;
}

.point-item-box:nth-child(1) {
    animation-delay: 0.1s;
}

.point-item-box:nth-child(2) {
    animation-delay: 0.2s;
}

.point-item-box:nth-child(3) {
    animation-delay: 0.3s;
}

.point-item-box:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes pointItemAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.point-icon-wrapper {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.point-content-area {
    flex: 1;
}

.point-mini-title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-color);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.point-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* تأثيرات hover للنقاط */
.point-item-box:hover {
    transform: translateY(-8px);
}

.point-item-box:hover .point-icon-wrapper {
    transform: rotate(15deg) scale(1.1);
}

.point-item-box:hover .point-mini-title {
    color: var(--primary-color);
}

/* حاوية الصورة */
.image-display-container {
    margin: 50px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
}

.featured-display-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.image-display-container:hover .featured-display-image {
    transform: scale(1.05);
}

/* العنوان بعد الصورة */
.main-heading-wrapper.after-image {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

/* أنيميشنات مخصصة */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثيرات إضافية للقسم */
.new-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(73, 125, 191, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.new-content-section .container {
    position: relative;
    z-index: 2;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .points-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .primary-heading-title {
        font-size: 2rem;
    }

    .sub-heading-title {
        font-size: 1.5rem;
    }

    .featured-display-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .new-content-section {
        padding: 60px 0;
    }

    .point-item-box {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .point-icon-wrapper {
        margin-left: 0;
        margin-bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .primary-heading-title {
        font-size: 1.8rem;
    }

    .sub-heading-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .new-content-section {
        padding: 40px 0;
    }

    .primary-heading-title {
        font-size: 1.6rem;
    }

    .sub-heading-title {
        font-size: 1.2rem;
    }

    .featured-display-image {
        height: 200px;
    }

    .section-spacing {
        height: 40px;
    }

    .small-spacing {
        height: 20px;
    }
}



/* تنسيقات خاصة بصفحة تفاصيل الخدمات */
body.services-details-page .navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(150px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    opacity: 1 !important;
    transition: none !important;
}

body.services-details-page .navbar .navbar-brand .logo {
    filter: brightness(0) invert(0) !important;
    height: 55px !important;
}

body.services-details-page .navbar .nav-link {
    color: rgba(0, 0, 0, 0.85) !important;
}

body.services-details-page .navbar .nav-link:hover,
body.services-details-page .navbar .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(73, 125, 191, 0.1);
}

body.services-details-page .navbar .menu-icon,
body.services-details-page .navbar .close-icon {
    color: var(--dark-color) !important;
}

/* لمنع تأثير التمرير */
body.services-details-page .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* تحسينات للجوال */
@media (max-width: 992px) {
    body.services-details-page .navbar-collapse {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px) !important;
    }
}





/* -------------------------------------------------------------------- */
/* CSS جديد للقسم - أضف في نهاية ملف CSS الحالي */

/* قسم البانر الجديد */
.portfolio-banner-section {
    padding: 100px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.portfolio-banner-section.section-animated {
    opacity: 1;
    transform: translateY(0);
}

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

.portfolio-content-wrapper {
    max-width: 800px;
}

.portfolio-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-family: 'El Messiri', sans-serif;
    animation: portfolioTitleFade 1s ease-out 0.3s both;
}

@keyframes portfolioTitleFade {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-description {
    font-size: 1.2rem;
    color: var(--light-color);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: portfolioDescFade 1s ease-out 0.5s both;
}

@keyframes portfolioDescFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-stats {
    margin-bottom: 50px;
    animation: portfolioStatsFade 1s ease-out 0.7s both;
}

@keyframes portfolioStatsFade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portfolio-start-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(73, 125, 191, 0.3);
    font-family: 'Tajawal', sans-serif;
    animation: portfolioBtnFade 1s ease-out 0.9s both;
}

@keyframes portfolioBtnFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-start-btn:hover {
    background: #3a6ba5;
    transform: translateY(5px);
    box-shadow: 0 8px 25px rgba(73, 125, 191, 0.4);
}

.portfolio-start-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.portfolio-start-btn:hover i {
    transform: translateX(5px);
}

/* Popup النموذج */
.portfolio-popup {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-popup.active {
    display: block;
    opacity: 1;
}

.portfolio-popup-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.portfolio-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: portfolioPopupAppear 0.4s ease;
}

@keyframes portfolioPopupAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.portfolio-popup-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.portfolio-popup-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.portfolio-popup-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.portfolio-popup-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.portfolio-popup-header p {
    color: #666;
    font-size: 1rem;
}

.portfolio-project-form {
    padding-top: 20px;
}

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

.portfolio-input-group {
    position: relative;
    margin-bottom: 30px;
    flex: 1;
}

.portfolio-input-group.full-width {
    width: 100%;
}

.portfolio-project-form input,
.portfolio-project-form select,
.portfolio-project-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Tajawal', sans-serif;
}

.portfolio-project-form input:focus,
.portfolio-project-form select:focus,
.portfolio-project-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(73, 125, 191, 0.1);
}

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

.portfolio-project-form label {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #fff;
    padding: 0 8px;
    border-radius: 4px;
}

.portfolio-project-form input:focus+label,
.portfolio-project-form input:not(:placeholder-shown)+label,
.portfolio-project-form select:focus+label,
.portfolio-project-form select:not([value=""])+label,
.portfolio-project-form textarea:focus+label,
.portfolio-project-form textarea:not(:placeholder-shown)+label {
    top: -10px;
    right: 12px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.portfolio-phone-group {
    display: flex;
    gap: 10px;
}

.portfolio-phone-group select {
    flex: 0 0 140px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 16px;
    padding-left: 40px;
    padding-right: 15px;
}

.portfolio-phone-group input {
    flex: 1;
}

.portfolio-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(73, 125, 191, 0.3);
}

.portfolio-submit-btn:hover {
    background: #3a6ba5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(73, 125, 191, 0.4);
}

.portfolio-submit-btn i {
    transition: transform 0.3s ease;
}

.portfolio-submit-btn:hover i {
    transform: translateX(-5px);
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .portfolio-main-title {
        font-size: 2.5rem;
    }

    .portfolio-description {
        font-size: 1.1rem;
    }

    .portfolio-form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .portfolio-banner-section {
        padding: 80px 0;
    }

    .portfolio-main-title {
        font-size: 2rem;
    }

    .portfolio-description {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .portfolio-start-btn {
        padding: 14px 35px;
        font-size: 1rem;
    }

    .portfolio-popup-content {
        padding: 30px 20px;
        width: 95%;
    }

    .portfolio-phone-group {
        flex-direction: column;
        gap: 15px;
    }

    .portfolio-phone-group select {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .portfolio-banner-section {
        padding: 60px 0;
    }

    .portfolio-main-title {
        font-size: 1.8rem;
    }

    .stat-item {
        padding: 15px 30px;
    }

    .stat-number {
        font-size: 2rem;
    }
}





/* قسم البورتفوليو النظيف بدون خلفية */
.clean-portfolio-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'El Messiri', sans-serif;
}

.portfolio-subtitle {
    font-size: 2rem;
    color: var(--light-color);
    font-weight: 600;
}

.portfolio-subtitle span {
    color: var(--primary-color);
}

/* منطقة التمرير - بدون شريط */
.portfolio-scroll-area {
    width: 100%;
    overflow-x: hidden;
    /* تغيير من auto إلى hidden */
    scroll-behavior: smooth;
    padding: 20px 0 40px;
    cursor: grab;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* إخفاء شريط الـscroll تماماً */
.portfolio-scroll-area::-webkit-scrollbar {
    display: none;
}

.portfolio-scroll-area {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.portfolio-scroll-area.grabbing {
    cursor: grabbing;
    user-select: none;
}

/* حاوية البطاقات */
.cards-container {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0 20px;
    transition: transform 0.1s ease-out;
    /* لإضافة أنيمشن للسحب */
}

/* تصميم البطاقات */
.portfolio-card {
    flex: 0 0 860px;
    height: 557px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    user-select: none;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(73, 125, 191, 0.1);
}

/* حاوية الصورة */
.card-image-container {
    height: 60%;
    position: relative;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Overlay للصورة */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    z-index: 1;
}

/* دائرة View More */
.view-more-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 120px;
    height: 120px;
    background-color: rgba(73, 125, 191, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    /* لمنع التداخل مع السحب */
}

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

.portfolio-card:hover .image-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover .view-more-circle {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
    /* تفعيل النقر عند الـhover فقط */
}

/* محتوى البطاقة */
.card-content {
    padding-bottom: 30px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.card-header {
    margin: 20px;
}

.card-project-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-project-category {
    font-size: 0.9rem;
    color: #497DBF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* الخط الفاصل */
.content-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 15px 0;
}

/* تفاصيل المشروع */
.project-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 30px 0 30px;
}

.project-date {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.project-year {
    font-size: 1rem;
    color: #497DBF;
    font-weight: 600;
}

/* رابط البطاقة */
.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card-link:hover {
    text-decoration: none;
}

/* إظهار شريط التقدم للسحب */
.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(73, 125, 191, 0.1);
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.scroll-indicator-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

/* أنيميشن ظهور البطاقات */
@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.portfolio-card {
    opacity: 0;
    transform: translateX(50px);
}

.portfolio-card.card-visible {
    animation: cardSlideIn 0.6s ease forwards;
}

/* تصميم متجاوب */
@media (max-width: 1400px) {
    .portfolio-card {
        flex: 0 0 700px;
        height: 450px;
    }
}

@media (max-width: 1200px) {
    .portfolio-title {
        font-size: 2.4rem;
    }

    .cards-container {
        gap: 25px;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .clean-portfolio-section {
        padding: 60px 0;
        margin: 40px 0;
    }

    .portfolio-header {
        margin-bottom: 40px;
    }

    .portfolio-title {
        font-size: 2rem;
    }

    .portfolio-subtitle {
        font-size: 1.1rem;
    }

    .portfolio-card {
        flex: 0 0 550px;
        height: 380px;
    }

    .card-content {
        padding: 20px;
    }

    .card-project-name {
        font-size: 1.3rem;
    }

    .view-more-circle {
        width: 100px;
        height: 100px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .clean-portfolio-section {
        padding: 40px 0;
    }

    .portfolio-title {
        font-size: 1.8rem;
    }

    .portfolio-subtitle {
        font-size: 1rem;
    }

    .portfolio-card {
        flex: 0 0 450px;
        height: 320px;
    }

    .view-more-circle {
        width: 80px;
        height: 80px;
        font-size: 12px;
    }

    .card-project-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .clean-portfolio-section {
        padding: 30px 0;
        margin: 30px 0;
    }

    .portfolio-title {
        font-size: 1.6rem;
    }

    .portfolio-subtitle {
        font-size: 0.9rem;
    }

    .portfolio-card {
        flex: 0 0 320px;
        height: 250px;
    }

    .view-more-circle {
        width: 60px;
        height: 60px;
        font-size: 10px;
    }

    .card-content {
        padding: 15px;
    }

    .card-project-name {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .card-project-category {
        font-size: 0.8rem;
    }

    .content-divider {
        margin: 10px 0;
    }

    .project-details {
        margin-top: 10px;
    }

    .project-date,
    .project-year {
        font-size: 0.9rem;
    }
}

/* تحسينات لللمس */
@media (hover: none) and (pointer: coarse) {
    .portfolio-scroll-area {
        cursor: default;
    }

    .portfolio-card:hover {
        transform: translateY(-5px);
    }

    .view-more-circle {
        pointer-events: auto;
    }
}




/* --------------------------------------- */
/* قسم المقالات الجديد بأسماء كلاسات جديدة */
.articles-section {
    margin-top: 10%;
    position: relative;
    overflow: hidden;
}

.articles-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.articles-section.animated .articles-header {
    opacity: 1;
    transform: translateY(0);
}

.articles-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'El Messiri', sans-serif;
}

.articles-subtitle {
    font-size: 1.2rem;
    color: var(--light-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* تنسيقات الكروت */
.articles-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* تصميم الكرد */
.articles-card-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    animation: cardAppear 0.6s forwards;
}

.articles-section.animated .articles-card-item {
    animation-delay: calc(var(--card-index) * 0.1s);
}

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* الصورة */
.article-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

.articles-card-item:hover .article-image-container img {
    transform: scale(1.05);
}

/* التفاصيل */
.article-details {
    padding: 25px;
    background: transparent;
    padding-top: 20px;
    /* تقليل البادنج الأعلى قليلاً */
}

/* نوع الخبر ووقت النزول */
.article-meta-info {
    position: absolute;
    top: 38%;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 10px;
    z-index: 2;
    margin-bottom: 0;
    border-bottom: none;
}

.article-type {
    background-color: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-right: 10px;
    /* مسافة صغيرة بين النوع والوقت */
}

.article-time {
    color: var(--text-color);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 4px 12px;
    border-radius: 15px;
}

.article-time i {
    font-size: 0.9rem;
}

/* عنوان الخبر */
.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.articles-card-item:hover .article-title {
    color: var(--primary-color);
}

/* تفاصيل صغيرة عن الخبر */
.article-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3px;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* زر اقرأ المزيد */
.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.article-read-more:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateX(-5px);
}

.article-read-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.article-read-more:hover i {
    transform: translateX(-5px);
}

/* تصميم متجاوب */
@media (max-width: 1200px) {
    .articles-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .articles-section {
        padding: 60px 0;
    }

    .articles-main-title {
        font-size: 2rem;
    }

    .articles-subtitle {
        font-size: 1.1rem;
    }

    .articles-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-image-container {
        height: 240px;
    }

    .article-meta-info {
        top: 10px;
        left: 10px;
        right: 10px;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .articles-section {
        padding: 40px 0;
    }

    .articles-main-title {
        font-size: 1.8rem;
    }

    .articles-subtitle {
        font-size: 1rem;
    }

    .article-details {
        padding: 20px;
    }

    .article-title {
        font-size: 1.2rem;
    }

    .article-image-container {
        height: 200px;
    }

    .article-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .article-time {
        align-self: flex-end;
    }
}





/* ----------------------------------------------------------- */
/* تنسيقات القسم الجديد بأسماء classes جديدة تمامًا */
.main-showcase {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
    animation: main-entrance 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes main-entrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.showcase-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

.showcase-center-content {
    text-align: center;
    width: 100%;
}

.primary-display-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: 'El Messiri', sans-serif;
    animation: title-emerge 1.2s ease-out 0.4s both;
    letter-spacing: -0.5px;
}

@keyframes title-emerge {
    from {
        opacity: 0;
        transform: translateY(-40px) rotateX(90deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.secondary-display-subtitle {
    font-size: 2rem;
    color: var(--light-color);
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.7;
    animation: subtitle-reveal 1s ease-out 0.7s both;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.secondary-display-subtitle span {
    color: var(--primary-color);
}

@keyframes subtitle-reveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.display-visual-container {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    animation: visual-appear 1.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s both;
    border-radius: 30px;
    overflow: hidden;
    border-radius: 20px;
}

@keyframes visual-appear {
    from {
        opacity: 0;
        transform: scale(0.7) rotate(-5deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.central-visual-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
}

.display-visual-container:hover .central-visual-image {
    transform: scale(1.08) rotate(0.5deg);
}

/* تأثيرات إضافية للقسم */
.main-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.main-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #3a6ba5, var(--primary-color));
    animation: shimmer-line 3s infinite linear;
}

@keyframes shimmer-line {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.showcase-center-content {
    position: relative;
    z-index: 2;
}

/* تأثيرات نص إضافية */
@keyframes line-expand {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 200px;
        opacity: 1;
    }
}

/* تصميم متجاوب */
@media (max-width: 1200px) {
    .primary-display-title {
        font-size: 3.3rem;
    }

    .secondary-display-subtitle {
        font-size: 1.9rem;
    }

    .display-visual-container {
        max-width: 900px;
    }
}

@media (max-width: 992px) {
    .main-showcase {
        padding: 80px 0;
        min-height: 90vh;
    }

    .primary-display-title {
        font-size: 2.8rem;
    }

    .secondary-display-subtitle {
        font-size: 1.6rem;
        margin-bottom: 60px;
    }

    .display-visual-container {
        max-width: 85%;
        border-width: 6px;
    }
}

@media (max-width: 768px) {
    .primary-display-title {
        font-size: 2.3rem;
    }

    .secondary-display-subtitle {
        font-size: 1.3rem;
        margin-bottom: 50px;
        padding: 0 15px;
    }

    .display-visual-container {
        max-width: 92%;
        border-width: 4px;
        border-radius: 25px;
    }

    .main-showcase::after {
        height: 3px;
    }
}

@media (max-width: 576px) {
    .main-showcase {
        padding: 60px 0;
        min-height: 80vh;
    }

    .primary-display-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .secondary-display-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
        line-height: 1.6;
    }

    .showcase-wrapper {
        padding: 0 20px;
    }

    .display-visual-container {
        border-width: 3px;
        border-radius: 20px;
    }

    .primary-display-title::after {
        height: 3px;
        margin: 15px auto;
    }
}




/* هذه أنماط موجودة بالفعل في ملف CSS الأصلي - لن يتم تعديلها */
.jobs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.job-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.job-icon {
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

/* ============ CSS الجديد (إضافات فقط) ============ */

/* الأنيميشن للقسم الجديد */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* قسم الوظائف الجديد */
.careers-section {
    /* padding: 60px 20px; */
    animation: fadeInUp 0.8s ease-out;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.main-heading {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 12px;
}

.sub-heading {
    color: #7f8c8d;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.sub-heading span{
    color: var(--primary-color);
}

.section-description {
    color: #5d6d7e;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* تصميم الكروت الجديد - أصغر حجمًا */
.vacancies-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* تصميم كروت الوظائف الجديدة - بحجم أصغر */
.vacancy-card {
    background: #F9F9F9;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vacancy-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to left, #3498db, #2ecc71);
}

.vacancy-card:hover {
    transform: translateY(-5px);
    border-color: #d6eaf8;
}

/* الأيقونات الجديدة - بحجم أصغر */
.vacancy-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #e3f2fd, #f1f8e9);
    color: #2c3e50;
    font-size: 24px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* أنواع الوظائف الجديدة - بحجم أصغر */
.vacancy-type {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(to right, #e8f5e9, #e3f2fd);
    color: #27ae60;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid rgba(39, 174, 96, 0.2);
    align-self: flex-start;
}

.vacancy-type.remote {
    background: linear-gradient(to right, #fff3e0, #ffebee);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.2);
}

.vacancy-type.part-time {
    background: linear-gradient(to right, #e3f2fd, #f3e5f5);
    color: #9b59b6;
    border-color: rgba(155, 89, 182, 0.2);
}

.vacancy-type.from-home {
    background: linear-gradient(to right, #e0f7fa, #e8f5e9);
    color: #16a085;
    border-color: rgba(22, 160, 133, 0.2);
}

.vacancy-title {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.vacancy-summary {
    color: #5d6d7e;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* زر التفاصيل الإضافي */
.vacancy-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 15px;
    background-color: #f8f9fa;
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    margin-top: auto;
    align-self: flex-start;
}

.vacancy-details-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: #3498db;
}

/* صفحة التفاصيل الجديدة */
.vacancy-details-page {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow-y: auto;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.details-content {
    background-color: white;
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-details {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #7f8c8d;
    transition: all 0.3s ease;
    border: none;
    z-index: 10;
}

.close-details:hover {
    background-color: #e74c3c;
    color: white;
    transform: rotate(90deg);
}

.details-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 10px;
}

.details-title {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.details-body {
    line-height: 1.7;
    color: #34495e;
    font-size: 0.95rem;
}

.details-body h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f2f6;
}

.details-body ul {
    padding-right: 20px;
    margin-bottom: 20px;
}

.details-body li {
    margin-bottom: 6px;
    position: relative;
}

.details-body li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 5px;
}

/* التجاوب مع الشاشات المختلفة */
@media (max-width: 992px) {
    .vacancies-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-heading {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .vacancies-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .careers-section {
        padding: 40px 15px;
    }

    .main-heading {
        font-size: 1.7rem;
    }

    .details-content {
        padding: 25px 15px;
        width: 95%;
        margin: 20px auto;
    }

    .details-title {
        font-size: 1.5rem;
    }
}

/* تحسين للشاشات الكبيرة جدًا */
@media (min-width: 1400px) {
    .careers-section {
        max-width: 1300px;
    }

    .vacancies-container {
        gap: 25px;
    }
}

