        :root {
            --primary: #4361ee;
            --secondary: #3a0ca3;
            --accent: #f72585;
            --success: #4cc9f0;
            --warning: #f8961e;
            --light: #f8f9fa;
            --dark: #212529;
            --gradient1: linear-gradient(135deg, #4361ee, #3a0ca3);
            --gradient2: linear-gradient(135deg, #f72585, #b5179e);
            --gradient3: linear-gradient(135deg, #4cc9f0, #4895ef);
            --gradient4: linear-gradient(135deg, #f8961e, #f3722c);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 100%);
            color: var(--dark);
            line-height: 1.6;
            min-height: 100vh;
        }
        
        /* Navigation Bar */
        .navbar {
            background: white;
            padding: 1.2rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 20px rgba(67, 97, 238, 0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
        }
        
        /* تنسيق اللوجو الموحد - تم دمج التكرارات هنا */
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.6rem;
            font-weight: 800;
            background: var(--gradient1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        /* تحديد مقاس ثابت للوجو */
        .logo-img {
            width: 70px;
            height: 70px;
            object-fit: contain;
            display: inline-block;
            vertical-align: middle;
            -webkit-text-fill-color: initial; /* لإزالة تأثير التدرج عن الصورة */
        }
        
        .logo-icon {
            font-size: 2rem;
            background: var(--gradient1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .nav-links {
            display: flex;
            gap: 2.5rem;
            align-items: center;
        }
        
        .nav-links a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s;
            padding: 0.5rem 1rem;
            border-radius: 8px;
        }
        
        .nav-links a:hover {
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary);
            transform: translateY(-2px);
        }
        
        .nav-links .login-btn {
            background: var(--gradient1);
            color: white;
            padding: 0.8rem 1.8rem;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
            transition: all 0.3s;
        }
        
        .nav-links .login-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
            background: var(--gradient2);
        }
        
        /* Hero Section */
        .hero {
            padding: 6rem 5% 4rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%234361ee"/></svg>');
            background-size: 100% 100px;
            background-position: bottom;
            background-repeat: no-repeat;
            z-index: -1;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            font-weight: 800;
            background: var(--gradient1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.2;
        }
        
        .hero p {
            font-size: 1.3rem;
            max-width: 700px;
            margin: 0 auto 2.5rem;
            color: #666;
        }
        
        .stats {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-top: 3rem;
            flex-wrap: wrap;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            background: var(--gradient1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .stat-label {
            font-size: 0.9rem;
            color: #666;
            margin-top: 0.5rem;
        }

        /* Hero Slider */
        .hero-slider {
            position: relative;
            height: 90vh;
            min-height: 600px;
            overflow: hidden;
        }

        .slides-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            padding: 0 5%;
        }

        .slide.active {
            opacity: 1;
            z-index: 1;
        }

        .slide-content {
            text-align: center;
            max-width: 900px;
            color: white;
            animation: slideUp 1s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .slide-content h1 {
            font-size: 3.2rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .slide-content p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            line-height: 1.6;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .slide-stats {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin: 2.5rem 0;
            flex-wrap: wrap;
        }

        .slide-stats .stat-item {
            text-align: center;
            min-width: 140px;
        }

        .slide-stats .stat-number,
        .slide-stats .stat-icon {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            color: white;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        .slide-stats .stat-icon i {
            font-size: 2.5rem;
        }

        .slide-stats .stat-label {
            font-size: 1rem;
            color: rgba(255,255,255,0.9);
            font-weight: 500;
        }

        /* CTA Button */
        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: white;
            color: #4361ee;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            margin-top: 1rem;
            transition: all 0.3s;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .cta-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
            background: #f8f9fa;
        }

        /* Slider Navigation */
        .slider-nav {
            position: absolute;
            bottom: 60px;
            left: 0;
            right: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            z-index: 10;
        }

        .nav-btn {
            background: rgba(255,255,255,0.2);
            border: 2px solid rgba(255,255,255,0.4);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            backdrop-filter: blur(5px);
        }

        .nav-btn:hover {
            background: rgba(255,255,255,0.3);
            transform: scale(1.1);
        }

        .dots {
            display: flex;
            gap: 12px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.4);
            cursor: pointer;
            transition: all 0.3s;
        }

        .dot.active {
            background: white;
            transform: scale(1.3);
        }

        /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
            color: white;
            font-size: 1.5rem;
            opacity: 0.7;
            z-index: 10;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }

        /* Responsive */
        @media (max-width: 992px) {
            .slide-content h1 {
                font-size: 2.5rem;
            }
            
            .slide-content p {
                font-size: 1.1rem;
            }
            
            .slide-stats {
                gap: 2rem;
            }
            
            .slide-stats .stat-number {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            .hero-slider {
                height: 80vh;
                min-height: 500px;
            }
            
            .slide-content h1 {
                font-size: 2rem;
            }
            
            .slide-content p {
                font-size: 1rem;
            }
            
            .slide-stats {
                gap: 1.5rem;
            }
            
            .slide-stats .stat-item {
                min-width: 110px;
            }
            
            .cta-button {
                padding: 0.8rem 2rem;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .slide-content h1 {
                font-size: 1.8rem;
            }
            
            .slide-stats {
                flex-direction: column;
                gap: 1rem;
            }
            
            .slider-nav {
                bottom: 20px;
            }
        }
        
        /* Tracking Section */
        .tracking-section {
            background: white;
            padding: 4rem 5%;
            margin: 2rem auto;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(67, 97, 238, 0.1);
            max-width: 1200px;
            position: relative;
            overflow: hidden;
        }
        
        .tracking-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: var(--gradient1);
        }
        
        .form-title {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .form-title h2 {
            color: var(--dark);
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }
        
        .form-title p {
            color: #666;
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .tracking-form {
            max-width: 700px;
            margin: 0 auto;
        }
        
        .input-group {
            margin-bottom: 2rem;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 0.8rem;
            color: var(--dark);
            font-weight: 600;
            font-size: 1rem;
        }
        
        .input-with-icon {
            position: relative;
        }
        
        .input-with-icon input {
            width: 100%;
            padding: 1.2rem 1.2rem 1.2rem 3.5rem;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s;
            background: white;
        }
        
        .input-with-icon input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
            transform: translateY(-2px);
        }
        
        .input-with-icon i {
            position: absolute;
            left: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary);
            font-size: 1.2rem;
        }
        
        .track-btn {
            width: 100%;
            padding: 1.2rem;
            background: var(--gradient1);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow: 0 4px 20px rgba(67, 97, 238, 0.3);
        }
        
        .track-btn:hover {
            background: var(--gradient2);
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(67, 97, 238, 0.4);
        }
        
        /* Tracking Result */
        .tracking-result {
            background: linear-gradient(135deg, #ffffff, #f8faff);
            border-radius: 16px;
            padding: 2.5rem;
            margin-top: 2rem;
            box-shadow: 0 8px 30px rgba(0,0,0,0.06);
            display: none;
            border: 1px solid #e2e8f0;
            animation: slideUp 0.5s ease-out;
        }
        
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .result-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px dashed #e2e8f0;
        }
        
        .tracking-number {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--dark);
        }
        
        .status-badge {
            padding: 0.7rem 1.5rem;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .status-delivered {
            background: linear-gradient(135deg, #38b000, #2d9100);
            color: white;
        }
        
        .status-transit {
            background: linear-gradient(135deg, #4361ee, #3a0ca3);
            color: white;
        }
        
        .status-pending {
            background: linear-gradient(135deg, #f8961e, #f3722c);
            color: white;
        }
        
        .progress-tracker {
            margin: 1.0rem 0;
            position: relative;
        }
        
        .progress-line {
            position: absolute;
            top: 20px;
            left: 10%;
            right: 10%;
            height: 2px;
            background: #e2e8f0;
            z-index: 1;
            border-radius: 3px;
        }
        
        .progress-fill {
            position: absolute;
            top: 20px;
            left: 10%;
            width: 75%;
            height: 2px;
            background: var(--gradient1);
            z-index: 2;
            transition: width 0.8s ease-out;
            border-radius: 3px;
        }
        
        .progress-steps {
            display: flex;
            justify-content: space-between;
            position: relative;
            z-index: 3;
        }
        
        .step {
            text-align: center;
            position: relative;
            z-index: 3;
            margin-bottom: 0;
        }
        
        .step-icon {
            width: 40px;
            height: 40px;
            background: white;
            border: 3px solid #e2e8f0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            color: #94a3b8;
            font-size: 1.2rem;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .step.active .step-icon {
            background: #4361ee !important;
            border-color: #4361ee !important;
            color: white !important;
            animation: blink 1s infinite !important;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.1); }
        }
        
        .step.completed .step-icon {
            background: var(--gradient1);
            border-color: var(--primary);
            color: white;
        }
        
        .step-label {
            font-size: 0.9rem;
            color: var(--dark);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .step-time {
            font-size: 0.8rem;
            color: #94a3b8;
        }
        
        /* Shipment Details Cards */
        .shipment-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.8rem;
            margin-top: 2rem;
        }
        
        .detail-card {
            background: linear-gradient(135deg, #ffffff, #f8faff);
            padding: 1.1rem;
            border-radius: 10px;
            border: 1px solid #e2e8f0;
            transition: all 0.3s;
            min-height: auto;
        }
        
        .detail-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            border-color: var(--primary);
        }
        
        .detail-card h4 {
            color: #64748b;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.5rem;
        }
        
        .detail-card p {
            color: var(--dark);
            font-weight: 600;
            font-size: 1rem;
            line-height: 1.4;
        }
        
        /* Services Section */
        .services {
            padding: 5rem 5%;
            background: white;
            position: relative;
        }
        
        .services h2 {
            text-align: center;
            color: var(--dark);
            margin-bottom: 4rem;
            font-size: 2.5rem;
            font-weight: 700;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .service-card {
            background: white;
            padding: 2.5rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.4s;
            border: 1px solid #e2e8f0;
            position: relative;
            overflow: hidden;
        }
        
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
        }
        
        .service-card:nth-child(1)::before { background: var(--gradient1); }
        .service-card:nth-child(2)::before { background: var(--gradient2); }
        .service-card:nth-child(3)::before { background: var(--gradient3); }
        .service-card:nth-child(4)::before { background: var(--gradient4); }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: white;
            font-size: 2rem;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        
        .service-card:nth-child(1) .service-icon { background: var(--gradient1); }
        .service-card:nth-child(2) .service-icon { background: var(--gradient2); }
        .service-card:nth-child(3) .service-icon { background: var(--gradient3); }
        .service-card:nth-child(4) .service-icon { background: var(--gradient4); }
        
        .service-card h3 {
            color: var(--dark);
            margin-bottom: 1rem;
            font-size: 1.4rem;
            font-weight: 700;
        }
        
        .service-card p {
            color: #64748b;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        /* Footer */
        .footer {
            background: linear-gradient(135deg, #2c3e50, #3498db) !important;
            color: white;
            padding: 4rem 5% 2rem;
            margin-top: 0 !important;
            padding-top: 2rem;
            position: relative;
        }
        
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: var(--gradient1);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
            align-items: start;
        }

        /* للشاشات المتوسطة */
        @media (max-width: 992px) {
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* للجوال */
        @media (max-width: 576px) {
            .footer-content {
                grid-template-columns: 1fr;
            }
        }
        
        .footer-section h3 {
            color: white !important;
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
            border-bottom: 2px solid rgba(255,255,255,0.2);
            padding-bottom: 0.5rem;
        }
        
        .footer-section p {
            opacity: 0.8;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.9) !important;
            text-decoration: none;
            opacity: 0.9;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 5px 0;
        }
        
        .footer-links a:hover {
            color: #4cc9f0 !important;
            opacity: 1;
            transform: translateX(5px);
        }
        
        .contact-info {
            list-style: none;
        }
        
        .contact-info li {
            color: rgba(255,255,255,0.9);
            opacity: 0.9;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .contact-info strong {
            color: white;
        }
        
        .contact-info i {
            color: var(--success);
            margin-top: 3px;
            font-size: 1.1rem;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.15);
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            font-size: 0.9rem;
            opacity: 0.7;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .nav-links {
                display: none;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .stats {
                gap: 2rem;
            }
            
            .progress-steps {
                flex-wrap: wrap;
                gap: 1rem;
            }
        }
        
        /* Demo Alert */
        .demo-alert {
            background: linear-gradient(135deg, #4361ee, #3a0ca3);
            color: white;
            padding: 1rem;
            text-align: center;
            font-size: 0.9rem;
            position: fixed;
            bottom: 20px;
            right: 20px;
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
            z-index: 1000;
            animation: slideInRight 0.5s ease-out;
            max-width: 300px;
        }
        
        @keyframes slideInRight {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        /* تأثير النبض فقط لـ In Transit */
        .step.pulse-step .step-icon {
            animation: shipping-pulse 1.5s infinite;
        }

        @keyframes shipping-pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
            }
            50% {
                transform: scale(1.1);
                box-shadow: 0 8px 25px rgba(67, 97, 238, 0.5);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
            }
        }

        /* البطاقات الخمسة في صف واحد */
        .freight-forwarder .container > div:first-of-type {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1rem;
            justify-content: center;
            align-items: stretch;
        }

        /* تأثير النبض الحصري لأيقونة الشحن (الخطوة الثالثة) */
        /* الخطوة الثالثة فقط (In Transit) تنبض عندما تكون active */
        .step:nth-child(3).active .step-icon {
            background: #4361ee !important;
            border-color: #4361ee !important;
            color: white !important;
            animation: pulse-blue 1s infinite !important;
        }

        @keyframes pulse-blue {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7); }
            70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(67, 97, 238, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); }
        }

        /* الخطوات الأخرى لا تنبض */
        .step.active .step-icon {
            animation: none !important;
        }

        @media (max-width: 1200px) {
            .freight-forwarder .container > div:first-of-type {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .freight-forwarder .container > div:first-of-type {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .freight-forwarder .container > div:first-of-type {
                grid-template-columns: 1fr;
            }
        }