:root {
    --primary-yellow: #ffc107;
    --dark-grey: #333;
    --light-grey: #f8f9fa;
    --text-color: #2d2d2d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', sans-serif;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: var(--primary-yellow);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    color: var(--text-color);
    padding-top: 108px;
}

/* Smooth Scroll Animations */
.eq-card,
.service-item,
.content-box,
.hero-text,
.hero-image,
.equipment-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.eq-card {
    transition-delay: calc(var(--animation-order) * 0.08s);
}

.service-item {
    transition-delay: calc(var(--animation-order) * 0.1s);
}

.hero-text {
    transform: translateX(40px);
}

.hero-image {
    transform: translateX(-40px);
}

.eq-card.animate-in,
.service-item.animate-in,
.content-box.animate-in,
.hero-text.animate-in,
.hero-image.animate-in,
.equipment-header.animate-in {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Top Bar */
.top-bar {
    background: #222;
    color: white;
    font-size: 12px;
    padding: 5px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.top-bar .contact-info a i {
    font-size: 18px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: fixed;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.logo img {
    max-width: 180px;
    height: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-grey);
    margin-left: 15px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #d4a52e;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #d4a52e;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #d4a52e;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-buttons .btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-buttons .btn-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
}

.nav-buttons .btn-icon:first-child svg {
    transform: scale(0.8);
}

.nav-buttons .btn-icon:last-child svg {
    transform: scale(0.8);
}

.nav-buttons .btn-icon:first-child {
    background: var(--primary-yellow);
    color: var(--dark-grey);
}

.nav-buttons .btn-icon:first-child:hover {
    background: #e0a800;
}

.nav-buttons .btn-icon:last-child {
    background: var(--primary-yellow);
    color: var(--dark-grey);
}

.nav-buttons .btn-icon:last-child:hover {
    background: #e0a800;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-grey);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-image: url('bg-slider.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.hero-text .subtitle {
    color: #888;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.hero-text .hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-yellow.large {
    display: inline-block;
    padding: 12px 35px;
    font-size: 18px;
    background: var(--primary-yellow);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark-grey);
}

.btn-yellow.large:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* Stats Section */
.stats {
    padding: 50px 0;
    display: flex;
    justify-content: center;
}

.stats .container {
    justify-content: space-around;
    width: 100%;
}

.stat-item {
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 15px;
}

.stat-item h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
}

.whatsapp-float img {
    width: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        margin: 0;
        border-bottom: 1px solid #eee;
        text-align: right;
    }

    .hero-text h1 {
        font-size: 32px;
    }
}


.about-us-section {
    display: flex;
    min-height: 500px;
    direction: rtl;
    width: 100%;
    overflow: hidden;
}

/* التنسيق المشترك للصناديق */
.why-us, .who-we-are {
    position: relative;
    flex: 1;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

/* خلفيات الصور */
.why-us {
    background-image: url('about-1.jpeg');
    color: #000;
}

.who-we-are {
    background-image: url('about-2.jpeg');
    color: #fff;
}

/* طبقات الألوان الشفافة (Overlays) */
.overlay-yellow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 193, 7, 0.85);
    z-index: 1;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(33, 37, 41, 0.8);
    z-index: 1;
}

.content-box {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

/* تنسيق النصوص */
.content-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.content-box p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.subtitle {
    display: block;
    color: #ffc107;
    margin-bottom: 10px;
}

/* شبكة الخدمات في الجزء الأصفر */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.service-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: right;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    width: 100%;
}

.service-item:hover {
    transform: translateX(-3px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 1.2rem;
    color: #ffc107;
    background: rgba(255, 193, 7, 0.15);
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.service-item span {
    color: #333;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.3;
    flex: 1;
}

/* زر انضم إلينا */
.btn-join {
    background-color: #ffc107;
    border: none;
    padding: 10px 30px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    color: #000;
}

/* قسم المعدات والآلات */
.equipment-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.equipment-item {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.equipment-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #ffc107;
}

.equipment-item i {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 20px;
    display: block;
}

.equipment-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.equipment-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* توافق الشاشات الصغيرة */
@media (max-width: 992px) {
    .about-us-section {
        flex-direction: column;
    }

    .equipment-section {
        padding: 50px 0;
    }

    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}
:root {
    --gold: #C5A059; /* لون ذهبي مطفي فخم */
    --dark-bg: #1A1A1A; /* خلفية داكنة راقية */
    --text-main: #2D2D2D;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
}

.premium-equipment {
    padding: 100px 0;
    background-color: #FAFAFA; /* خلفية رمادية فاتحة جداً لنظافة التصميم */
    direction: rtl;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-intro {
    text-align: center;
    margin-bottom: 70px;
}

.tagline {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.title {
    font-size: 36px;
    color: var(--dark-bg);
    font-weight: 800;
}

.divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto;
}

/* تصميم الشبكة والكروت */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 0px; /* الحواف الحادة تعطي طابعاً رسمياً وفخماً أكثر */
    border: 1px solid #EAEAEA;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--gold);
}

/* حركة الخط الذهبي عند التمرير */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: 0.4s;
}

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

.icon-wrapper {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 25px;
    transition: 0.3s;
}

.card:hover .icon-wrapper {
    transform: scale(1.1);
}

.card h3 {
    font-size: 19px;
    color: var(--dark-bg);
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* استجابة الشاشات */
@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .title {
        font-size: 28px;
    }
}

:root {
    --golden-orange: #E69B00; /* اللون الأصفر المذهب المائل للبرتقالي */
    --dark-text: #1a1a1a;
    --light-bg: #fdfdfd;
    --border-color: #f0f0f0;
}

.fleet-section-full {
    width: 100%;
    padding: 80px 40px;
    background-color: var(--light-bg);
    direction: rtl;
}

.container-fluid {
    width: 100%;
    max-width: 100%; /* Full Width */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.gold-tag {
    color: var(--golden-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 30px;
    color: var(--dark-text);
    font-weight: 800;
}

/* نظام الـ 4 أعمدة col-4 */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 أعمدة */
    gap: 20px;
}

.fleet-card {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.fleet-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

.fleet-card i {
    font-size: 20px; /* حجم صغير وراقي */
    color: var(--golden-orange);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 155, 0, 0.05);
    border-radius: 50%;
}

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

.text-content p {
    font-size: 12.5px;
    color: #888;
    margin: 0;
}

/* توافق الشاشات */
@media (max-width: 1200px) {
    .fleet-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 576px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    .fleet-section-full {
        padding: 50px 20px;
    }
}

/* قسم المعدات الاحترافي */
.equipment-modern {
    padding: 50px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    direction: rtl;
    position: relative;
    overflow: hidden;
}

.equipment-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    background-image:
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.25'%3E%3Cpath d='M60 10 L110 60 L60 110 L10 60 Z' fill='none' stroke='%23d4a52e' stroke-width='1.2'/%3E%3Ccircle cx='60' cy='60' r='35' fill='none' stroke='%23d4a52e' stroke-width='1'/%3E%3Cline x1='60' y1='25' x2='60' y2='95' stroke='%23d4a52e' stroke-width='0.6' opacity='0.4'/%3E%3Cline x1='25' y1='60' x2='95' y2='60' stroke='%23d4a52e' stroke-width='0.6' opacity='0.4'/%3E%3Ccircle cx='60' cy='60' r='4' fill='%23d4a52e' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 150px 150px;
    background-position: 0 0, 75px 75px;
    pointer-events: none;
    z-index: 0;
}

.equipment-modern::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 165, 46, 0.08) 0%, rgba(201, 148, 26, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

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

.equipment-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.equipment-header {
    text-align: center;
    margin-bottom: 30px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 165, 46, 0.08);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.filter-btn:hover {
    border-color: #d4a52e;
    color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 46, 0.15);
}

.filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.filter-btn.active {
    background: linear-gradient(135deg, #d4a52e 0%, #c9941a 100%);
    border-color: #d4a52e;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(212, 165, 46, 0.25);
}

.filter-btn.active::before {
    display: none;
}

/* Card hide/show animation */
.eq-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.eq-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

@media (max-width: 768px) {
    .filter-tabs {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

.equipment-badge {
    display: inline-block;
    background: rgba(217, 164, 6, 0.08);
    color: #d4a52e;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.equipment-title {
    font-size: 32px;
    color: #1f2937;
    font-weight: 800;
    margin-bottom: 12px;
}

.equipment-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d4a52e 0%, #c9941a 100%);
    margin: 0 auto;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.equipment-header.animate-in .equipment-divider {
    animation: expandDivider 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes expandDivider {
    0% {
        width: 0;
    }
    100% {
        width: 50px;
    }
}

/* شبكة البطاقات */
.equipment-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* تصميم البطاقة */
.eq-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.eq-card.hidden {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
}

.eq-card.filtering-out {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 1, 1);
}

.eq-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #d4a52e 0%, #c9941a 100%);
    transition: height 0.4s ease;
}

.eq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(212, 165, 46, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d4a52e;
}

.eq-card:hover::before {
    height: 100%;
}

/* أيقونة المعدة */
.eq-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.eq-card:hover .eq-icon {
    transform: scale(1.1);
}

.eq-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* محتوى البطاقة */
.eq-content {
    flex: 1;
}

.eq-content h3 {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
}

.eq-content p {
    font-size: 11px;
    color: #777;
    line-height: 1.4;
    margin: 0;
}

/* استجابة الشاشات */
@media (max-width: 768px) {
    .equipment-modern {
        padding: 40px 0;
    }

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

    .equipment-title {
        font-size: 24px;
    }

    .equipment-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .eq-card {
        padding: 15px 10px;
        flex-direction: column;
        text-align: center;
    }

    .eq-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }

    .eq-icon img {
        width: 55px;
        height: 55px;
    }

    .eq-content h3 {
        font-size: 12px;
    }

    .eq-content p {
        font-size: 10px;
    }
}

/* ====== Lab Section ====== */
.lab-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    direction: rtl;
    position: relative;
    overflow: hidden;
}

/* الخلفية الهندسية الثابتة */
.lab-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.8'%3E%3Cpath d='M50 5 L95 50 L50 95 L5 50 Z' fill='none' stroke='%23d4a52e' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23d4a52e' stroke-width='0.8'/%3E%3Cline x1='50' y1='20' x2='50' y2='80' stroke='%23d4a52e' stroke-width='0.5' opacity='0.5'/%3E%3Cline x1='20' y1='50' x2='80' y2='50' stroke='%23d4a52e' stroke-width='0.5' opacity='0.5'/%3E%3Ccircle cx='50' cy='50' r='3' fill='%23d4a52e' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
    pointer-events: none;
    z-index: 0;
}

/* الخلفية الهندسية المتحركة */
.lab-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%23d4a52e' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='%23d4a52e' stroke-width='1' stroke-dasharray='8,4'/%3E%3Ccircle cx='100' cy='100' r='40' fill='none' stroke='%23c9941a' stroke-width='1'/%3E%3Cline x1='100' y1='20' x2='100' y2='180' stroke='%23d4a52e' stroke-width='0.8' opacity='0.5'/%3E%3Cline x1='20' y1='100' x2='180' y2='100' stroke='%23d4a52e' stroke-width='0.8' opacity='0.5'/%3E%3Cline x1='35' y1='35' x2='165' y2='165' stroke='%23d4a52e' stroke-width='0.5' opacity='0.4'/%3E%3Cline x1='165' y1='35' x2='35' y2='165' stroke='%23d4a52e' stroke-width='0.5' opacity='0.4'/%3E%3Cpolygon points='100,30 130,85 100,85 130,170 70,85 100,85 70,30' fill='none' stroke='%23d4a52e' stroke-width='1' opacity='0.4'/%3E%3Crect x='60' y='60' width='80' height='80' fill='none' stroke='%23c9941a' stroke-width='1' opacity='0.3' transform='rotate(45 100 100)'/%3E%3Ccircle cx='100' cy='100' r='8' fill='%23d4a52e' opacity='0.4'/%3E%3Ccircle cx='100' cy='30' r='4' fill='%23d4a52e' opacity='0.3'/%3E%3Ccircle cx='100' cy='170' r='4' fill='%23d4a52e' opacity='0.3'/%3E%3Ccircle cx='30' cy='100' r='4' fill='%23d4a52e' opacity='0.3'/%3E%3Ccircle cx='170' cy='100' r='4' fill='%23d4a52e' opacity='0.3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 300px 300px;
    pointer-events: none;
    z-index: 0;
    animation: lab-pattern-rotate 80s linear infinite;
}

@keyframes lab-pattern-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.lab-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.lab-section .section-intro {
    text-align: center;
    margin-bottom: 50px;
}

.lab-section .section-intro .gold-tag {
    display: inline-block;
    background: rgba(212, 165, 46, 0.1);
    color: #d4a52e;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.lab-section .section-intro .title {
    font-size: 36px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 15px;
}

.lab-section .section-intro .small-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Lab Gallery Grid */
.lab-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.lab-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.3'%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='25' fill='none' stroke='%23ffffff' stroke-width='0.8' stroke-dasharray='4,3'/%3E%3Cline x1='50' y1='15' x2='50' y2='85' stroke='%23ffffff' stroke-width='0.5' opacity='0.5'/%3E%3Cline x1='15' y1='50' x2='85' y2='50' stroke='%23ffffff' stroke-width='0.5' opacity='0.5'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23ffffff' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: center;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.4s ease;
    animation: lab-overlay-rotate 30s linear infinite paused;
}

.lab-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 165, 46, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.lab-item:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.lab-item:hover::after {
    opacity: 1;
}

@keyframes lab-overlay-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.lab-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lab-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 165, 46, 0.25);
}

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

/* Lab Section Mobile */
@media (max-width: 992px) {
    .lab-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

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

    .lab-section .container-fluid {
        padding: 0 15px;
    }

    .lab-section .section-intro .title {
        font-size: 28px;
    }

    .lab-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .lab-item {
        border-radius: 8px;
    }
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 46, 0.3), transparent);
    margin: 60px 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #d4a52e;
    border-radius: 50%;
}

/* Asphalt Section */
.asphalt-intro {
    margin-top: 0;
    margin-bottom: 40px;
}

.asphalt-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.asphalt-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.asphalt-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.asphalt-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 40px 30px 30px;
    display: flex;
    justify-content: flex-start;
}

.asphalt-stats {
    display: flex;
    gap: 30px;
}

.asphalt-stats .stat {
    text-align: center;
    background: rgba(212, 165, 46, 0.15);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(212, 165, 46, 0.3);
    backdrop-filter: blur(5px);
}

.asphalt-stats .stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #d4a52e;
    line-height: 1;
    margin-bottom: 5px;
}

.asphalt-stats .stat-label {
    display: block;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

/* Asphalt Mobile */
@media (max-width: 768px) {
    .section-divider {
        margin: 40px 0;
    }

    .asphalt-showcase {
        max-width: 100%;
    }

    .asphalt-image {
        border-radius: 12px;
    }

    .asphalt-overlay {
        padding: 30px 20px 20px;
    }

    .asphalt-stats .stat {
        padding: 12px 20px;
    }

    .asphalt-stats .stat-value {
        font-size: 28px;
    }

    .asphalt-stats .stat-label {
        font-size: 12px;
    }
}

/* ====== Lab Lightbox ====== */
.lab-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lab-lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: #d4a52e;
    border-color: #d4a52e;
    transform: rotate(90deg);
}

.lightbox-close i {
    font-size: 24px;
    color: #ffffff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: #d4a52e;
    border-color: #d4a52e;
}

.lightbox-nav i {
    font-size: 22px;
    color: #ffffff;
}

.lightbox-nav.prev {
    right: 30px;
}

.lightbox-nav.next {
    left: 30px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    transition: opacity 0.15s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 25px;
    border-radius: 30px;
    direction: ltr;
}

/* Lightbox Mobile */
@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }

    .lightbox-close i {
        font-size: 20px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-nav i {
        font-size: 18px;
    }

    .lightbox-nav.prev {
        right: 15px;
    }

    .lightbox-nav.next {
        left: 15px;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 8px 20px;
    }
}

/* قسم من أعمالنا - تصميم احترافي جديد */
.our-works {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    direction: rtl;
    position: relative;
    overflow: hidden;
}

/* الخلفية الهندسية الذهبية الفخمة - غنية بالتفاصيل */
.our-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    background-image:
        /* نمط شبكة معقد */
        url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='smallGrid' width='15' height='15' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 15 0 L 0 0 0 15' fill='none' stroke='%23d4a52e' stroke-width='0.3' opacity='0.2'/%3E%3C/pattern%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Crect width='60' height='60' fill='url(%23smallGrid)'/%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='%23d4a52e' stroke-width='0.8' opacity='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='300' height='300' fill='url(%23grid)'/%3E%3Cg opacity='0.5'%3E%3C!-- دوائر متعددة --%3E%3Ccircle cx='150' cy='150' r='120' fill='none' stroke='%23d4a52e' stroke-width='2.5' stroke-dasharray='10,5'/%3E%3Ccircle cx='150' cy='150' r='100' fill='none' stroke='%23d4a52e' stroke-width='2'/%3E%3Ccircle cx='150' cy='150' r='80' fill='none' stroke='%23c9941a' stroke-width='1.5' stroke-dasharray='5,3'/%3E%3Ccircle cx='150' cy='150' r='60' fill='none' stroke='%23d4a52e' stroke-width='1.5'/%3E%3Ccircle cx='150' cy='150' r='40' fill='none' stroke='%23c9941a' stroke-width='1' stroke-dasharray='3,2'/%3E%3C!-- خطوط شعاعية --%3E%3Cline x1='150' y1='30' x2='150' y2='270' stroke='%23d4a52e' stroke-width='1' opacity='0.4'/%3E%3Cline x1='30' y1='150' x2='270' y2='150' stroke='%23d4a52e' stroke-width='1' opacity='0.4'/%3E%3Cline x1='45' y1='45' x2='255' y2='255' stroke='%23d4a52e' stroke-width='0.8' opacity='0.3'/%3E%3Cline x1='255' y1='45' x2='45' y2='255' stroke='%23d4a52e' stroke-width='0.8' opacity='0.3'/%3E%3Cline x1='150' y1='60' x2='245' y2='150' stroke='%23c9941a' stroke-width='0.6' opacity='0.3'/%3E%3Cline x1='245' y1='150' x2='150' y2='240' stroke='%23c9941a' stroke-width='0.6' opacity='0.3'/%3E%3Cline x1='150' y1='240' x2='55' y2='150' stroke='%23c9941a' stroke-width='0.6' opacity='0.3'/%3E%3Cline x1='55' y1='150' x2='150' y2='60' stroke='%23c9941a' stroke-width='0.6' opacity='0.3'/%3E%3C!-- أشكال هندسية معقدة --%3E%3Cpolygon points='150,40 210,110 190,190 110,190 90,110' fill='none' stroke='%23d4a52e' stroke-width='2' opacity='0.6'/%3E%3Cpolygon points='150,70 185,125 170,170 130,170 115,125' fill='none' stroke='%23c9941a' stroke-width='1.5' opacity='0.5'/%3E%3Cpath d='M150,50 L220,150 L150,250 L80,150 Z' fill='none' stroke='%23d4a52e' stroke-width='2.5' stroke-dasharray='8,4' opacity='0.4'/%3E%3C!-- نجمة ثمانية --%3E%3Cpath d='M150,80 L165,135 L220,150 L165,165 L150,220 L135,165 L80,150 L135,135 Z' fill='none' stroke='%23d4a52e' stroke-width='1.5' opacity='0.5'/%3E%3C!-- دوائر صغيرة في النقاط الرئيسية --%3E%3Ccircle cx='150' cy='150' r='12' fill='%23d4a52e' opacity='0.5'/%3E%3Ccircle cx='150' cy='150' r='6' fill='%23c9941a' opacity='0.7'/%3E%3Ccircle cx='150' cy='40' r='6' fill='%23d4a52e' opacity='0.5'/%3E%3Ccircle cx='150' cy='260' r='6' fill='%23d4a52e' opacity='0.5'/%3E%3Ccircle cx='40' cy='150' r='6' fill='%23d4a52e' opacity='0.5'/%3E%3Ccircle cx='260' cy='150' r='6' fill='%23d4a52e' opacity='0.5'/%3E%3Ccircle cx='60' cy='60' r='4' fill='%23c9941a' opacity='0.4'/%3E%3Ccircle cx='240' cy='60' r='4' fill='%23c9941a' opacity='0.4'/%3E%3Ccircle cx='60' cy='240' r='4' fill='%23c9941a' opacity='0.4'/%3E%3Ccircle cx='240' cy='240' r='4' fill='%23c9941a' opacity='0.4'/%3E%3C!-- مثلثات صغيرة --%3E%3Cpolygon points='150,90 160,110 140,110' fill='%23d4a52e' opacity='0.3'/%3E%3Cpolygon points='150,210 160,190 140,190' fill='%23d4a52e' opacity='0.3'/%3E%3Cpolygon points='90,150 110,140 110,160' fill='%23d4a52e' opacity='0.3'/%3E%3Cpolygon points='210,150 190,140 190,160' fill='%23d4a52e' opacity='0.3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 500px 500px;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
    animation: rotatePattern 80s linear infinite;
}

@keyframes rotatePattern {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* التوهج الذهبي */
.our-works::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(212, 165, 46, 0.15) 0%,
        rgba(201, 148, 26, 0.08) 30%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.our-works .container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.our-works .section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.our-works .gold-tag {
    display: inline-block;
    background: rgba(212, 165, 46, 0.1);
    color: #d4a52e;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.our-works .title {
    font-size: 36px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Works Filter Tabs */
.works-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.works-filter-btn {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.works-filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 165, 46, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.works-filter-btn:hover {
    border-color: #d4a52e;
    color: #374151;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 46, 0.2);
}

.works-filter-btn:hover::before {
    width: 400px;
    height: 400px;
}

.works-filter-btn.active {
    background: linear-gradient(135deg, #d4a52e 0%, #c9941a 100%);
    border-color: #d4a52e;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(212, 165, 46, 0.35);
    transform: translateY(-2px);
}

.works-filter-btn.active::before {
    display: none;
}

/* Swiper Container */
.mySwiper {
    width: 100%;
    padding-bottom: 60px !important;
    padding-top: 10px;
}

/* بطاقة المشروع */
.work-card {
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: grab;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* الطبقة الداكنة */
.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 0;
    transition: all 0.5s ease;
}

.work-card:hover .work-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

/* محتوى الوصف */
.work-desc {
    padding: 35px 40px;
    transform: translateY(0);
    transition: all 0.5s ease;
    width: 100%;
}

.work-card:hover .work-desc {
    transform: translateY(-5px);
}

.work-desc h3 {
    color: #d4a52e;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.work-card:hover .work-desc h3 {
    color: #e6b82e;
    transform: translateX(-3px);
}

.work-desc p {
    color: #f0f0f0;
    font-size: 15px;
    line-height: 1.8;
    max-width: 600px;
    opacity: 0.95;
    font-weight: 400;
}

/* أزرار التنقل */
.swiper-button-next,
.swiper-button-prev {
    width: 55px !important;
    height: 55px !important;
    background: #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #d4a52e !important;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(212, 165, 46, 0.35);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 22px !important;
    font-weight: 900;
    color: #d4a52e;
    transition: all 0.3s ease;
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #ffffff;
}

/* نقاط التنقل */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #d4a52e !important;
    width: 35px;
    border-radius: 6px;
}

/* استجابة الموبايل */
@media (max-width: 768px) {
    .our-works {
        padding: 60px 0 80px;
    }

    .our-works .container-fluid {
        padding: 0 20px;
    }

    .our-works .title {
        font-size: 28px;
    }

    .works-filter-tabs {
        gap: 8px;
        margin-bottom: 35px;
    }

    .works-filter-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .work-card {
        height: 450px;
        border-radius: 12px;
    }

    .work-desc {
        padding: 25px 25px;
    }

    .work-desc h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .work-desc p {
        font-size: 14px;
        line-height: 1.6;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 45px !important;
        height: 45px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px !important;
    }
}



:root {
    --gold-primary: #E69B00;
}

.clients-marquee-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    overflow: hidden;
    direction: rtl;
    border-top: 1px solid #f0f0f0;
    position: relative;
}

/* خلفية هندسية بسيطة وفخمة */
.clients-marquee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.25;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='simpleGrid' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='%23d4a52e' stroke-width='0.5' opacity='0.4'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='200' height='200' fill='url(%23simpleGrid)'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23d4a52e' stroke-width='1.5' opacity='0.3'/%3E%3Ccircle cx='100' cy='100' r='50' fill='none' stroke='%23c9941a' stroke-width='1' stroke-dasharray='4,4' opacity='0.25'/%3E%3Cline x1='100' y1='30' x2='100' y2='170' stroke='%23d4a52e' stroke-width='0.5' opacity='0.2'/%3E%3Cline x1='30' y1='100' x2='170' y2='100' stroke='%23d4a52e' stroke-width='0.5' opacity='0.2'/%3E%3Ccircle cx='100' cy='100' r='5' fill='%23d4a52e' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 300px 300px;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
    animation: rotatePatternSlow 120s linear infinite;
}

@keyframes rotatePatternSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.clients-marquee-section .container-fluid {
    position: relative;
    z-index: 1;
}

.clients-marquee-section .section-intro {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.clients-marquee-section .section-intro .gold-tag {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #d4a52e, #c9941a);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(212, 165, 46, 0.3);
}

.clients-marquee-section .section-intro .title {
    font-size: 38px;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.clients-marquee-section .small-desc {
    color: #666;
    font-size: 15px;
    margin-top: 10px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* حاوية الشريط المتحرك */
.marquee-wrapper {
    width: 100%;
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); /* تلاشي الأطراف لفخامة أكثر */
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 30px;
    padding: 20px 0;
    animation: scroll-left 35s linear infinite;
}

/* إيقاف الحركة عند تمرير الفأرة */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* تأثير التوهج الذهبي */
.client-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d4a52e, #c9941a, #d4a52e);
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.client-logo img {
    height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}

.client-logo span {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

/* تأثير عند المرور */
.client-logo:hover {
    transform: translateY(-8px);
    border-color: #d4a52e;
    box-shadow: 0 12px 35px rgba(212, 165, 46, 0.25);
}

.client-logo:hover::before {
    opacity: 1;
}

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

.client-logo:hover span {
    color: #d4a52e;
}

/* تعريف الحركة */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%); /* يتحرك بنصف القائمة المكررة */
    }
}

/* عبارة إضافية */
.additional-clients {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.additional-clients .intro-text {
    font-size: 18px;
    color: #666;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 20px;
    display: block;
}

.company-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(212, 165, 46, 0.05);
    border-radius: 8px;
    display: inline-flex;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.company-names span {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.company-names span:not(.separator):hover {
    color: #d4a52e;
}

.company-names .separator {
    color: #d4a52e;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.6;
}

/* ====== CTA Section ====== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: #f5f5f5;
    overflow: hidden;
    direction: rtl;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.cta-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.18;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0L93.3 25V75L50 100L6.7 75V25L50 0z' fill='none' stroke='%23d4a52e' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 150px 150px;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-section .gold-tag {
    display: inline-block;
    background: #d4a52e;
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 30px;
    line-height: 1.4;
}

.cta-text {
    font-size: 19px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Projects Intro */
.projects-intro {
    text-align: center;
    margin: 40px 0 30px;
    position: relative;
}

.projects-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

/* السهم الملوي */
.projects-subtitle::after {
    content: '';
    position: absolute;
    left: -80px;
    top: 50%;
    width: 60px;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 50' fill='none'%3E%3Cpath d='M55 5 C40 5, 30 15, 25 25 C20 35, 15 45, 5 45' stroke='%23d4a52e' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M12 38 L5 45 L5 37' stroke='%23d4a52e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    animation: arrow-bounce 2s ease-in-out infinite;
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-5px);
    }
}

.projects-note {
    font-size: 16px;
    color: #777;
    font-style: italic;
    margin: 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-item {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.project-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(212, 165, 46, 0.2);
}

.project-item i {
    font-size: 20px;
    color: #d4a52e;
    min-width: 20px;
    transition: all 0.3s ease;
}

.project-item:hover i {
    transform: scale(1.15);
}

.project-item span {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    font-weight: 500;
}

.project-item.hidden {
    display: none;
}

/* Show All Button */
.show-all-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 40px;
    background: #d4a52e;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(212, 165, 46, 0.3);
}

.show-all-btn:hover {
    background: #c49628;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 46, 0.4);
}

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

.cta-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    position: relative;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #d4a52e;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #666666;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #d4a52e;
    opacity: 0.3;
}

/* استجابة الموبايل لقسم CTA */
@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }

    .cta-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .cta-text {
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 35px;
    }

    .projects-subtitle {
        font-size: 22px;
    }

    .projects-subtitle::after {
        display: none;
    }

    .projects-note {
        font-size: 14px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-item {
        padding: 12px 15px;
    }

    .project-item i {
        font-size: 18px;
    }

    .project-item span {
        font-size: 13px;
    }

    .cta-stats {
        gap: 25px;
    }

    .stat-item {
        padding: 15px 20px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 14px;
    }

    .stat-divider {
        display: none;
    }

    .cta-background-pattern {
        background-size: 100px 100px;
    }
}

/* استجابة الموبايل لقسم العملاء */
@media (max-width: 768px) {
    .clients-marquee-section {
        padding: 70px 0;
    }

    .clients-marquee-section::before {
        background-size: 300px 300px;
        opacity: 0.3;
    }

    .clients-marquee-section .section-intro .title {
        font-size: 28px;
    }

    .clients-marquee-section .small-desc {
        font-size: 14px;
        padding: 0 20px;
    }

    .client-logo {
        min-width: 160px;
        padding: 20px;
    }

    .client-logo img {
        height: 45px;
    }

    .client-logo span {
        font-size: 12px;
    }

    .marquee-content {
        gap: 30px;
        animation-duration: 20s;
    }

    .additional-clients .intro-text {
        font-size: 15px;
        padding: 0 20px;
    }

    .company-names {
        padding: 15px 20px;
        gap: 10px;
    }

    .company-names span {
        font-size: 13px;
    }

    .company-names .separator {
        font-size: 16px;
    }

    .additional-clients {
        margin-top: 30px;
        padding: 0 15px;
    }

    .additional-clients p {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Footer بسيط */
.contact-section {
    background: #2d2d2d;
    padding: 30px 20px;
    direction: rtl;
    border-top: 1px solid rgba(212, 165, 46, 0.15);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-logo img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.contact-info-grid {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: #d4a52e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 16px;
    color: #2d2d2d;
}

.contact-text p {
    font-size: 13px;
    color: #cccccc;
    margin: 0;
    white-space: nowrap;
}

.contact-footer p {
    font-size: 13px;
    color: #888888;
    font-weight: 400;
    margin: 0;
}

/* استجابة الموبايل */
@media (max-width: 992px) {
    .contact-section {
        padding: 25px 15px;
    }

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

    .contact-logo img {
        max-width: 100px;
    }

    .contact-info-grid {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .contact-info-item {
        gap: 8px;
        justify-content: center;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
    }

    .contact-icon i {
        font-size: 14px;
    }

    .contact-text p {
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }

    .contact-footer p {
        font-size: 11px;
        text-align: center;
    }
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.project-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-content {
    background: #ffffff;
    max-width: 900px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.4s ease;
    direction: rtl;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.modal-close i {
    font-size: 20px;
    color: #2d2d2d;
}

.modal-images {
    position: relative;
    background: #000;
}

.modal-images img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: none;
}

.modal-images img.active {
    display: block;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-nav:hover {
    background: #d4a52e;
}

.image-nav i {
    font-size: 18px;
    color: #2d2d2d;
}

.image-nav.prev {
    right: 15px;
}

.image-nav.next {
    left: 15px;
}

.image-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.image-indicator {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-indicator.active {
    background: #d4a52e;
    width: 24px;
    border-radius: 4px;
}

.modal-body {
    padding: 30px 40px;
}

.modal-title {
    font-size: 28px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 15px;
}

.modal-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-item i {
    font-size: 18px;
    color: #d4a52e;
}

.detail-item span {
    font-size: 14px;
    color: #555;
}

/* Modal Mobile */
@media (max-width: 768px) {
    .project-modal {
        padding: 10px;
    }

    .modal-content {
        border-radius: 8px;
    }

    .modal-images img {
        height: 300px;
    }

    .modal-body {
        padding: 20px 20px;
    }

    .modal-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .modal-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .modal-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detail-item {
        padding: 10px;
    }

    .detail-item i {
        font-size: 16px;
    }

    .detail-item span {
        font-size: 13px;
    }

    .image-nav {
        width: 40px;
        height: 40px;
    }

    .image-nav i {
        font-size: 16px;
    }
}