/* ==========================================================================
   IMPORTS FIRST (MUST BE AT TOP)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. PREMIUM SAAS VARIABLES & SYSTEM DESIGN (MOBILE FIRST)
   ========================================================================== */

    /* Mobile touch optimization */
    button, a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

:root {
    /* Luxury Color Palette */
    --primary: #008be2;
    --primary-glow: rgba(0, 139, 226, 0.15);
    --primary-premium: linear-gradient(135deg, #009fff 0%, #0062bc 100%);
    --dark-base: #06080c;
    --dark-surface: #0b0f17;
    --dark-card: #111622;
    --light-bg: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    /* Cinematic Glassmorphism System */
    --glass-bg:
        linear-gradient(
        135deg,
        rgba(255,255,255,.08),
        rgba(255,255,255,.03)
); 
    --glass-blur: blur(28px) saturate(210%); 
    --glass-border: 1px solid rgba(255, 255, 255, 0.06);
    --glass-highlight: inset 0 1px 1px rgba(255, 255, 255, 0.08);

    /* Premium Shadow Depth System */
    --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.08), 0 1px 3px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 20px -3px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 25px 40px -10px rgba(0, 0, 0, 0.25), 0 10px 15px -5px rgba(0, 0, 0, 0.15);
    --shadow-cinematic: 0 30px 60px -15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --shadow-blue:  0 10px 35px rgba(0,139,226,.18);

    /* Fluid Typography via Clamp (No Breakpoints Needed) */
    --font-xs: clamp(0.65rem, 0.6rem + 0.2vw, 0.75rem);
    --font-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.95rem);
    --font-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
    --font-lg: clamp(1.15rem, 1.1rem + 0.4vw, 1.35rem);
    --font-xl: clamp(1.4rem, 1.3rem + 0.6vw, 1.8rem);
    --font-hero: clamp(2.2rem, 1.8rem + 1.8vw, 3.8rem);

    /* Flexible Spacing System */
    --space-sm: clamp(10px, 1vh + 5px, 16px);
    --space-md: clamp(20px, 2vh + 10px, 35px);
    --space-lg: clamp(40px, 4vh + 20px, 80px);




    --transition:
        all .35s cubic-bezier(.22,.61,.36,1);


}

/* Global Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    color: var(--text-main);
    background-color: #fff;
    overflow-x: hidden;
}








.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* ==========================================================================
   2. TYPOGRAPHY & HEADER COMPONENT (STRIPE-STYLE)
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-title h2 {
    font-size: var(--font-xl);
    color: var(--dark-base);
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    word-wrap: break-word;
}

.section-title h2::after {
    content: '';
    width: 40px;
    height: 3px;
    background: var(--primary-premium);
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: var(--font-sm);
    margin-top: 18px;
}

.about-tagline {
    color: var(--primary) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: var(--font-sm) !important;
    margin-top: var(--space-sm) !important;
}

/* Premium Header Component */
header {
    background: rgba(6, 8, 12, 0.45) !important; /* لون داكن شفاف ومثالي */
    -webkit-backdrop-filter: blur(30px) saturate(210%) !important; /* إجبار الموبايل وسفاري */
    backdrop-filter: blur(30px) saturate(210%) !important; /* للابتوب */
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4% !important;
    
    /* التعديل السحري: جعل الهيدر يطفو فوق المحتوى تماماً */
    position: fixed !important; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999 !important;
    transition: all 0.4s ease;
}

/* Header Shrink effect when scrolling (Trigger via JS toggling .header-scrolled class) */
header.header-scrolled {
   padding: 10px 4% !important;
    background: rgba(6, 8, 12, 0.75) !important; /* تعتيم سنة عشان القراءة */
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.official-logo-img {
    height: clamp(34px, 4vh, 44px);
    width: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.official-logo-img:hover {
    transform: scale(1.06) rotate(-2deg);
}

.logo-text h2 {
    color: #fff;
    font-size: var(--font-sm);
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

.logo-text span {
    color: var(--primary);
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Navigation Menu */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-sm);
    align-items: center;
}

nav ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-sm);
    padding: 8px 14px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

nav ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 60%;
}

/* Premium Admin Link Button */
.admin-link {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    font-weight: 600;
}

.admin-link:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fff !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

/* Contact Quick Icons inside Nav */
.nav-contact-icons {
    display: flex;
    gap: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: var(--space-sm);
}

.nav-contact-icons a {
    background: rgba(255, 255, 255, 0.03);
    border: var(--glass-border);
    width: clamp(32px, 4vw, 38px);
    height: clamp(32px, 4vw, 38px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #94a3b8 !important;
    font-size: var(--font-sm) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-contact-icons a:hover {
    background: var(--primary-premium);
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* Hamburger Menu Base Structure (Ready for JS toggle) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1010;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s ease;
}

/* ==========================================================================
   3. HERO SECTION - KINETIC DEPTH EFFECTS
   ========================================================================== */
.hero-section {
   
    padding-top: calc(80px + var(--space-lg)) !important; 
    background: radial-gradient(circle at 80% 20%, rgba(0, 139, 226, 0.25) 0%, transparent 60%),
                linear-gradient(rgba(6, 8, 12, 0.75), rgba(11, 15, 23, 0.98)), 
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=1600') no-repeat center center/cover !important;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.hero-content h1 { 
   font-size: var(--font-hero); 
    font-weight: 800; 
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.15;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    color: transparent; 
}

.hero-content p { 
    font-size: var(--font-base); 
    margin-bottom: var(--space-md); 
    color: #94a3b8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Badges System */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.hero-badges .badge-transparent {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-highlight);
    color: #e2e8f0;
    padding: 8px 20px;
    border-radius: 100px; 
    font-size: var(--font-xs);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hero-badges .badge-transparent i { 
    color: var(--primary); 
    font-size: var(--font-sm);
}

.hero-badges .badge-transparent:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Interactive Dashboard CTA Buttons */
.hero-action-buttons { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-excellent {
    background: var(--primary-premium);
    color: white;
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-sm);
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 139, 226, 0.4);
    white-space: nowrap;
    border: none;
}

.tracking-btn-glow {
    animation: pulseGlow 2.5s infinite;
}

.btn-excellent:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 139, 226, 0.6);
    filter: brightness(1.1);
}

.quick-call-hub { 
    display: flex; 
    gap: 12px;
}

.contact-circle-btn {
    width: clamp(44px, 5vh, 54px);
    height: clamp(44px, 5vh, 54px);
    background: rgba(255, 255, 255, 0.04);
    border: var(--glass-border);
    box-shadow: var(--glass-highlight);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-base);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-circle-btn:hover {
    background: #fff;
    color: var(--dark-base);
    transform: scale(1.08) rotate(15deg);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   4. ABOUT US SECTION & FLOATING CARDS SYSTEM
   ========================================================================== */
.about-section { 
    padding: var(--space-lg) 0;
    background: var(--light-bg); 
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr;
    gap: var(--space-md);
    align-items: center;
}

@media (min-width: 868px) {
    .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
}

.about-text p { 
    font-size: var(--font-base); 
    line-height: 1.75; 
    color: var(--text-muted);
    margin-bottom: 24px;
}

.legal-info { list-style: none; }
.legal-info li { 
    margin-bottom: 14px; 
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
    color: var(--text-main);
}
.legal-info i { 
    color: var(--primary); 
    margin-right: 12px; 
    font-size: var(--font-base);
}

/* Floating Clean Cards Blueprint */
.about-stats { 
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: var(--space-sm); 
}

.stat-card { 
    background: white; 
    padding: var(--space-md);
    border-radius: 16px; 
    text-align: center; 
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--primary-premium);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.stat-card:hover::before { opacity: 1; }

.stat-card i { 
    font-size: var(--font-xl); 
    background: linear-gradient(135deg, var(--primary) 0%, #005fa1 100%);
    -webkit-background-clip: text;
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    color: transparent; 
    margin-bottom: 12px; 
}

.stat-card h3 {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--dark-base);
    margin-bottom: 6px;
}
.stat-card p {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

/* ==========================================================================
   5. SAAS TRACKING BOX ENGINE (THE GLASSPEAK)
   ========================================================================== */
.tracking-section { 
    position: relative;
    padding: var(--space-lg) 0;
    background: var(--dark-base); 
    overflow: hidden;
}

/* Cyber Ambient Glow background */
.tracking-section::before {
    content: '';
    position: absolute;
    top: -20%; left: -10%; width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(0, 139, 226, 0.12) 0%, transparent 70%);
    z-index: 1;
}

.animated-track-box {
    position: relative !important;
    z-index: 100 !important;
    background: rgba(17, 24, 39, 0.55) !important; /* ارضية داكنة خفيفة للـ Glass */
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px;
    padding: var(--space-md);
    max-width: 780px;
    margin: 0 auto;
}

.track-header h2 { 
    color: white; 
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: 8px; 
    text-align: center;
}

.track-header p { 
    color: #94a3b8; 
    text-align: center; 
    margin-bottom: var(--space-md); 
    font-size: var(--font-sm);
}

.pulse-icon { 
    color: var(--primary); 
    animation: iconPulse 2s infinite ease-in-out;
}

/* Premium Dashboard Search Bar */
.search-bar { 
    display: flex; 
    background: rgba(15, 23, 42, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 12px; 
    padding: 6px 10px;
    align-items: center; 
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 139, 226, 0.2), inset 0 2px 4px rgba(0,0,0,0.2);
}

.search-icon { 
    color: #475569; 
    font-size: var(--font-base);
    margin-left: 8px;
    margin-right: 8px;
}

.search-bar input { 
    flex: 1;
    background: transparent; 
    border: none; 
    color: white; 
    font-size: var(--font-sm);
    outline: none; 
    padding: 12px 4px; 
}
.search-bar input::placeholder { color: #475569; }

.btn-track-submit { 
    background: var(--primary-premium); 
    color: white; 
    border: none; 
    padding: 12px 28px;
    border-radius: 8px; 
    font-size: var(--font-sm);
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease;
}
.btn-track-submit:hover { 
    filter: brightness(1.15);
    transform: scale(1.02); 
}

/* Internal Dynamic Nodes Output Wrapper */
.tracking-result-container {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* ✅ TRACKING INPUT GROUP */
.tracking-input-group {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ✅ TRACKING INPUT FIELD */
.tracking-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 139, 226, 0.3);
    border-radius: 12px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: var(--font-base);
    transition: all 0.3s ease;
}

.tracking-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 139, 226, 0.4);
}

.tracking-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ✅ TRACKING BUTTON */
.tracking-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, #0059a8 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--font-base);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.tracking-btn:hover {
    background: linear-gradient(135deg, #0059a8 0%, var(--primary) 100%);
    box-shadow: 0 8px 24px rgba(0, 139, 226, 0.4);
    transform: translateY(-2px);
}

.tracking-btn:active {
    transform: translateY(0);
}

/* ✅ MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .tracking-input-group {
        flex-direction: column;
        gap: 12px;
    }

    .tracking-input {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .tracking-btn {
        width: 100%;
        padding: 12px 20px;
        justify-content: center;
    }
}

.track-meta {
    color: var(--primary);
    font-weight: 700;
    font-size: var(--font-base);
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
}
.track-meta span { color: #fff; font-weight: 400; }

.php-rendered-response-wrapper {
    color: #e2e8f0 !important;
    font-size: var(--font-sm);
    line-height: 1.8;
}

/* ==========================================================================
   6. PORTS HUB & INTELLIGENT INTERACTION CARDS
   ========================================================================== */
.ports-section { 
    padding: var(--space-lg) 0;
    background: var(--light-bg); 
}

.ports-wrapper { 
    display: grid; 
    grid-template-columns: 1fr;
    gap: var(--space-md);
    background: white; 
    padding: var(--space-md);
    border-radius: 20px;
    box-shadow: var(--shadow-md); 
}

@media (min-width: 768px) {
    .ports-wrapper { grid-template-columns: 0.9fr 2.1fr; }
}

.ports-list { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px; 
}

/* Modern Minimalist Scrollbar UI */
.ports-list::-webkit-scrollbar, 
.client-pro-grid::-webkit-scrollbar {
    width: 5px;
}
.ports-list::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.port-btn { 
    background: #f1f5f9; 
    border: 1px solid transparent; 
    padding: 14px 18px;
    text-align: left; 
    font-size: var(--font-sm);
    font-weight: 600;
    border-radius: 10px; 
    cursor: pointer; 
    color: var(--text-main); 
    transition: all 0.25s ease;
}

.port-btn i { 
    margin-right: 10px; 
    color: var(--text-muted); 
    transition: color 0.3s;
}

.port-btn:hover {
    background: #e2e8f0;
}

.port-btn.active { 
    background: var(--dark-base); 
    color: white;
    box-shadow: var(--shadow-sm);
}
.port-btn.active i { color: var(--primary); }

/* Cinematic Map Interface Overlay */
.map-container { 
    position: relative;
    border-radius: 14px; 
    overflow: hidden; 
    height: clamp(280px, 40vh, 460px);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.map-container iframe { width: 100%; height: 100%; border: none; }

.port-info-badge { 
    position: absolute; 
    bottom: 20px; left: 20px; 
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--glass-blur);
    color: white;
    padding: 12px 24px;
    border-radius: 8px; 
    font-size: var(--font-sm);
    font-weight: 600; 
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   7. CLIENTS GRID - HIGH INTENSITY ARCHITECTURE
   ========================================================================== */
.clients-section { 
    padding: var(--space-lg) 0;
    background: var(--light-bg); 
}

.clients-pro-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: var(--space-md); 
    margin-top: var(--space-md);
}

.client-pro-card { 
    background: #fff; 
    border: 1px solid #e2e8f0; 
    border-radius: 16px; 
    padding: var(--space-md);
    box-shadow: var(--shadow-sm); 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    position: relative; 
    overflow: hidden;
}

.client-pro-card::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; width: 4px; height: 100%; 
    background: #cbd5e1;
    transition: background 0.3s; 
}

.client-pro-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 139, 226, 0.2); 
}

.client-pro-card:hover::before { 
    background: var(--primary-premium); 
}

/* Premium Active Client variant */
.premium-client { 
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); 
}
.premium-client::before { background: var(--primary-premium); }

.client-card-header { 
    display: flex; 
    align-items: center; 
    gap: 14px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0; 
    padding-bottom: 14px;
}

.client-avatar { 
    width: 42px; height: 42px; 
    background: var(--primary-glow); 
    color: var(--primary); 
    border-radius: 10px;
    display: flex; 
    align-items: center; justify-content: center; 
    font-size: var(--font-base);
    font-weight: 700;
    flex-shrink: 0;
}

.client-card-header h3 { 
    font-size: var(--font-base);
    color: var(--dark-base); 
    font-weight: 700;
}

.client-card-body p { 
    font-size: var(--font-sm);
    color: var(--text-muted); 
    margin-bottom: 10px; 
    display: flex; 
    align-items: center; 
    gap: 10px;
}

.client-card-body p i { 
    color: #94a3b8; 
    width: 16px;
    font-size: var(--font-sm);
}

.client-card-body p span { 
    font-weight: 600; 
    color: var(--text-main);
}







/* ==========================================================================
   8. PREMIUM QUOTE FORM COMPONENT
   ========================================================================== */
.quote-section { 
    padding: var(--space-lg) 0;
    background: #fff; 
}

.quote-wrapper { 
    display: grid; 
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 868px) {
    .quote-wrapper { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;}
}

.quote-info h3 { 
    font-size: var(--font-xl);
    margin-bottom: 15px; 
    color: var(--dark-base); 
    font-weight: 800;
    letter-spacing: -0.5px;
}

.quote-info p {
    font-size: var(--font-base);
    line-height: 1.7;
    color: var(--text-muted);
}

.contact-meta-box { 
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column; 
    gap: 14px; 
}

.meta-item { 
    display: flex; 
    align-items: center; 
    gap: 16px;
    background: var(--light-bg); 
    padding: 16px var(--space-md);
    border-radius: 12px; 
    text-decoration: none; 
    color: inherit; 
    border: 1px solid #e2e8f0; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    flex: 1 1 100%;
}
.meta-item:hover { 
    transform: translateX(6px); 
    background: #f1f7fc; 
    border-color: rgba(0, 139, 226, 0.2);
}

.meta-icon { 
    width: 44px; height: 44px; 
    background: var(--primary-premium); 
    color: white; 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: var(--font-base);
    box-shadow: 0 4px 12px rgba(0, 139, 226, 0.2);
    flex-shrink: 0;
}

.meta-text span { 
    display: block; 
    font-size: var(--font-xs);
    color: var(--text-muted); 
    text-transform: uppercase; 
    font-weight: 700;
    letter-spacing: 0.5px;
}

.meta-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meta-text strong { 
    font-size: var(--font-base);
    color: var(--dark-base);
    font-weight: 600;
}

/* ✅ على الـ Tablet و Desktop: عرض البطاقات تحت بعضها (vertical) */
@media (min-width: 768px) {
    .contact-meta-box {
        flex-direction: column;  /* ✅ تحت بعض بدل جنب بعض */
        justify-content: flex-start;
        gap: 14px;
    }
    
    .meta-item {
        width: 100%;  /* ✅ عرض كامل */
        flex: 1 1 100%;
    }
}

/* على الـ Large Desktop: البطاقات تحت بعض (vertical) */
@media (min-width: 1024px) {
    .contact-meta-box {
        flex-direction: column;  /* ✅ تحت بعض */
        justify-content: flex-start;
        gap: 14px;
    }
    
    .meta-item {
        width: 100%;  /* ✅ عرض كامل */
        flex: 1 1 100%;
    }
}

/* Glass Form Box Blueprint */
.quote-form-box { 
    background: white; 
    padding: var(--space-md);
    border-radius: 20px; 
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-top: 4px solid var(--primary); 
}

.quote-form-box select, 
.quote-form-box input, 
.quote-form-box textarea { 
    width: 100%; 
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0; 
    border-radius: 8px; 
    font-size: var(--font-sm);
    background: #f8fafc; 
    outline: none; 
    color: var(--text-main);
    transition: all 0.25s ease;
}

.quote-form-box select:focus, 
.quote-form-box input:focus, 
.quote-form-box textarea:focus { 
    border-color: var(--primary); 
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 139, 226, 0.12); 
}

/* Shimmer Premium Animated Action Button */
.btn-submit-transparent {
    background: var(--primary-premium) !important;
    color: white !important;
    border: none !important;
    padding: 16px 24px !important;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--font-base);
    width: 100%;
    border-radius: 10px !important;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 6px 24px rgba(0, 139, 226, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.btn-submit-transparent::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}

.btn-submit-transparent:hover { 
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 139, 226, 0.45); 
}
.btn-submit-transparent:hover::after { left: 100%; }

/* ==========================================================================
   9. FOOTER & ADVANCED MICRO-ANIMATIONS
   ========================================================================== */
footer { 
    background: var(--dark-base); 
    color: #64748b; 
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    font-size: var(--font-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
}

/* Animations Hub */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 139, 226, 0.4); }
    70% { box-shadow: 0 0 0 16px rgba(0, 139, 226, 0); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.8; }
}

/* ✅ FIX #2: Real-Time Tracking Timeline (Desktop Styles) */
.modern-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 0 5px;
    gap: 5px;
    width: 100%;
}

.timeline-background-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    z-index: 1;
}

.timeline-progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #2ed573 0%, rgba(46, 213, 115, 0.6) 100%);
    width: 100% !important;
    z-index: 2;
    transition: width 0.5s ease;
}

.timeline-step {
    position: relative;
    z-index: 3;
    text-align: center;
    flex: 1;
    min-width: 60px;
}

.timeline-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #171b22;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    border: 2px solid #262c38;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.timeline-step.completed .timeline-icon-circle {
    background: #2ed573;
    border-color: #2ed573;
    box-shadow: 0 0 12px rgba(46, 213, 115, 0.4);
}

.timeline-step p {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
}

.timeline-step small {
    color: #6c7a89;
    font-size: 0.65rem;
}

/* ==========================================================================
   10. MOBILE RESPONSIVE ADAPTABILITY & PREMIUM FORCE
   ========================================================================== */
@media (max-width: 768px) {
    /* تفعيل الـ Hamburger Menu */
    .menu-toggle { 
        display: flex !important; 
    }
    
    nav {
        position: fixed;
        top: 70px !important; /* ترحيل القائمة تحت الهيدر المطور مباشرة */
        left: -100%; 
        width: 85%; 
        height: calc(100vh - 70px) !important; /* ضبط الارتفاع بناءً على الـ top الجديد */
        background: rgba(6, 8, 12, 0.94);
        backdrop-filter: var(--glass-blur) !important;
        -webkit-backdrop-filter: var(--glass-blur) !important;
        box-shadow: var(--shadow-lg);
        padding: var(--space-md);
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        align-items: flex-start;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    } /* <--- قفلة قوس الـ nav المهمة جداً */

    /* عند فتح القائمة بالـ JS */
    nav.nav-active { 
        left: 0; 
    }
    
    nav ul { 
        flex-direction: column; 
        width: 100%; 
        align-items: flex-start; 
        gap: 16px; 
    }
    nav ul li { 
        width: 100%; 
    }
    nav ul li a { 
        display: block; 
        width: 100%; 
        padding: 12px; 
    }
    
    .nav-contact-icons {
        border-left: none; 
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0; 
        padding-top: 16px; 
        width: 100%; 
        margin-top: var(--space-sm);
    }

    .btn-excellent {
        width: 100%; 
        justify-content: center;
        padding: 16px 28px !important;
        font-size: var(--font-base) !important;
    }

    .hero-action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .quick-call-hub {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .stat-card, .client-pro-card {
        transform: none !important; 
        box-shadow: var(--shadow-md) !important; 
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    .modern-timeline { 
        flex-direction: column !important; 
        gap: 20px;
    }
    .timeline-step { 
        width: 100% !important; 
        margin-bottom: 24px; 
        display: flex;
        align-items: center;
        text-align: left;
        gap: 12px;
    }
    .timeline-background-line {
        display: none !important;
    }
    .timeline-progress-line { 
        display: none !important; 
    }
    .timeline-icon-circle {
        margin: 0;
        flex-shrink: 0;
    }
    .timeline-step p,
    .timeline-step small {
        display: inline;
        margin: 0 4px 0 0;
    }






    /* تظبيط سيكشن الخدمات على الموبايل */
    .services-section {
        padding: 60px 0 !important;
    }
    
    .section-header h2 {
        font-size: 1.9rem !important;
    }
    
    .services-grid {
        gap: 20px !important;
    }
    
    .service-card {
        padding: 30px 20px !important;
    }



} 

/* 🕶️ التأثير البريميوم الفاخر للظهور (شيل القديم وحط ده) */
.reveal-section {
    opacity: 0;
    filter: blur(8px); /* 🌟 بيبدأ وهو مغلوش سنة عشان يدي إيحاء سينمائي */
    transform: translateY(50px); /* 🌟 زودنا المسافة لـ 50px عشان الحركة تبان واضحة وانسيابية */
    
    /* 🧠 سر النعومة: استخدام cubic-bezier مخصص للشغل الـ High-End */
    transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000),
                filter 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000),
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
                
    will-change: opacity, transform, filter; /* حماية الـ FPS على الموبايل عشان ما يحصلش لاج */
}

.reveal-section.active {
    opacity: 1 !important;
    filter: blur(0) !important; 
    transform: translateY(0) !important; 
}

.reveal-section.active .track-box {
    animation: premiumGlow 2s ease-in-out infinite alternate;
}


@keyframes premiumGlow {
    0% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); }
    100% { box-shadow: 0 30px 60px rgba(0, 139, 226, 0.15); }
}






html {
    scroll-behavior: smooth;
}


html:not(.js-ready) {
    scroll-padding-top: 0;
}



/* ==========================================
   🎬 CARGO FLEET PREMIUM GLASS STYLING
   ========================================== */
#fleet {
    padding: 100px 0;
    position: relative;
    background: var(--dark-base);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.fleet-card {
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.fleet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 139, 226, 0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.fleet-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 139, 226, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 139, 226, 0.1);
}

.fleet-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 139, 226, 0.08);
    border: 1px solid rgba(0, 139, 226, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.fleet-card:hover .fleet-icon-wrapper {
    background: var(--primary-premium);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 139, 226, 0.4);
}

.fleet-card:hover .fleet-icon-wrapper svg {
    stroke: #ffffff !important;
    transform: scale(1.1);
}

.fleet-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.fleet-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.fleet-badge {
    display: inline-block;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 100px;
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.05);
}



/* ==========================================
   🎬 CARGO FLEET PREMIUM GLASS STYLING
   ========================================== */
#fleet {
    padding: 100px 0;
    position: relative;
    background: var(--dark-base);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.fleet-card {
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.fleet-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 139, 226, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 139, 226, 0.1);
}

.fleet-icon-wrapper {
    width: 74px;
    height: 74px;
    background: rgba(0, 139, 226, 0.08);
    border: 1px solid rgba(0, 139, 226, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.fleet-card:hover .fleet-icon-wrapper {
    background: var(--primary-premium);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 139, 226, 0.4);
}

.fleet-card:hover .fleet-icon-wrapper svg {
    stroke: #ffffff !important;
    transform: scale(1.1);
}

.fleet-card h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.fleet-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.fleet-badge {
    display: inline-block;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.25);
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 100px;
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.05);
}




.btn-track-fleet {
    background: rgba(0, 139, 226, 0.15);
    border: 1px solid rgba(0, 139, 226, 0.3);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    min-height: auto !important; /* قفل الـ min-height الكبير عشان يطلع متناسق جوة الكارت */
}

.btn-track-fleet:hover {
    background: var(--primary-premium);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 139, 226, 0.4);
    transform: scale(1.05);
}

.btn-track-fleet i {
    font-size: 0.9rem;
}



/* ==========================================================================
   OUR SERVICES SECTION - PREMIUM WHITE CONTRAST (PERFECT GRID)
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background: #ffffff !important; /* خلفية بيضاء ناصعة صريحة */
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative;
}

.services-section .section-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 25px !important;
    box-sizing: border-box !important;
}

.services-section .section-header {
    text-align: center !important;
    margin-bottom: 60px !important;
}

.services-section .subtitle-premium {
    color: #008be2 !important; /* أزرق فلاش كارغو المضيء */
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
}

.services-section .section-header h2 {
    color: #0f172a !important; /* عنوان أسود حاد فخم */
    font-size: 2.6rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.services-section .header-line {
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(135deg, #009fff 0%, #0062bc 100%) !important;
    margin: 15px auto 0 !important;
    border-radius: 10px !important;
}

/* الجريد السحري - يمنع الكروت تتمط طولي ويخليها جنب بعض سيمترية */
.services-section .services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* كارت الخدمة الفاخر */
.services-section .service-card {
    background: #f8fafc !important; /* رمادي خفيف جداً ناعم يكسر بياض الخلفية */
    border: 1px solid rgba(0, 139, 226, 0.1) !important;
    padding: 40px 25px !important;
    border-radius: 20px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02) !important;
    box-sizing: border-box !important;
}

/* الأيقونة المضيئة */
.services-section .service-icon-wrapper {
    width: 55px !important;
    height: 55px !important;
    background: rgba(0, 139, 226, 0.06) !important;
    border: 1px solid rgba(0, 139, 226, 0.15) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 25px !important;
    transition: all 0.3s ease !important;
}

.services-section .service-icon-wrapper i {
    font-size: 1.4rem !important;
    color: #008be2 !important;
}

.services-section .service-card h3 {
    color: #0f172a !important; /* اسم الخدمة أسود */
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0 !important;
    font-family: 'Poppins', sans-serif !important;
}

.services-section .service-card p {
    color: #475569 !important; /* الشرح رمادي مقروء وواضح */
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin: 0 0 25px 0 !important;
    flex-grow: 1 !important; /* توحيد أطوال الكروت أوتوماتيك */
}

/* تنسيق سهم الانطلاق تحت كل خدمة */
.services-section .service-link {
    color: #008be2 !important; /* لون أزرق فلاش كارغو */
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: auto !important; /* يدفعه دايماً يقعد تحت في قاع الكارت بالظبط */
    transition: all 0.3s ease !important;
    min-height: auto !important; /* إلغاء تضخيم الموبايل الافتراضي */
    min-width: auto !important;
}

.services-section .service-link i {
    font-size: 0.85rem !important;
    transition: transform 0.3s ease !important;
}

/* حركة سحرية: لما المستورد يلمس الكارت، السهم يجري لقدام سنة يشجعه يدوس */
.services-section .service-card:hover .service-link {
    color: #0062bc !important;
}

.services-section .service-card:hover .service-link i {
    transform: translateX(5px) !important; /* زقة السهم الفخمة */
}

/* تأثير الـ Hover على الكارت الأبيض */
.services-section .service-card:hover {
    transform: translateY(-8px) !important;
    background: #ffffff !important; /* يقلب أبيض صريح يلمع */
    border-color: rgba(0, 139, 226, 0.4) !important;
    box-shadow: 0 15px 35px rgba(0, 139, 226, 0.08) !important;
}

.services-section .service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, #009fff 0%, #0062bc 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 5px 15px rgba(0, 139, 226, 0.3) !important;
}

.services-section .service-card:hover .service-icon-wrapper i {
    color: #ffffff !important;
}

/* ==========================================================================
   تعديل المونيتور والموبايل (Responsive)
   ========================================================================== */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0 !important;
    }
    .services-section .section-header h2 {
        font-size: 2rem !important;
    }
    .services-section .services-grid {
        grid-template-columns: 1fr !important; /* سطر واحد عمودي للموبايل فقط */
        gap: 20px !important;
    }
    .services-section .service-card {
        padding: 30px 20px !important;
    }
}


/* ===== Responsive ===== */

@media(max-width:1200px){

}

@media(max-width:992px){

}


@media(max-width:576px){

}

/* ==========================================================================
   INTERACTIVE MULTIPLE STARS NETWORK (VIDEO STYLE)
   ========================================================================== */
.tracking-section {
    position: relative !important;
    overflow: hidden !important;
    background: #06080c !important; /* تأمين السواد الفخم في الخلفية */
}

/* رفع محتوى الفورمة فوق شبكة النجوم عشان الأزرار تشتغل عل طول */
.tracking-section .container {
    position: relative !important;
    z-index: 10 !important;
}

.tracking-section .track-box {
    position: relative !important;
    z-index: 11 !important;
}

/* تثبيت لوحة النجوم لتملأ السيكشن بالكامل خلف الصندوق */
#tracking-stars-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important; /* يخلي الماوس شفاف عشان تضغط جوه الصندوق عادي */
    z-index: 2 !important;
}

/* ستايل النجوم الديناميكية التي سيتم خلقها */
.interactive-star {
    position: absolute !important;
    color: #008be2 !important; /* أزرق فلاش كارغو */
    pointer-events: none !important;
    filter: drop-shadow(0 0 6px #008be2) drop-shadow(0 0 15px rgba(0, 159, 255, 0.6)) !important;
    will-change: transform, top, left, opacity;
    display: inline-block !important;
    opacity: 0;
}


/* ==========================================================================
   FLEET SECTION CONSTELATION NETWORK CANVAS
   ========================================================================== */
#fleet {
    position: relative !important;
    overflow: hidden !important;
}

/* رفع كروت ومحتويات الأسطول فوق النجوم عشان تلمسها وتضغط عليها عادي */
#fleet .container {
    position: relative !important;
    z-index: 10 !important;
}

/* تثبيت لوحة نجوم الأسطول في الخلفية */
#fleet-stars-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important; /* يخلي الماوس شفاف عشان تتفاعل مع الكروت عادي */
    z-index: 2 !important;
}





/* ==========================================================================
   SCROLL-TRIGGERED MOBILE ANIMATIONS (MOBILE & TABLET ONLY)
   ========================================================================== */

/* 1️⃣ حل مشكلة الكلام اللامس يمين وشمال في الـ Hero */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px !important;
    }
    .hero-content h1 {
        font-size: 1.9rem !important;
        line-height: 1.3 !important;
    }
    .hero-content p {
        font-size: 0.95rem !important;
        padding: 0 10px !important;
    }
}

/* 2️⃣ حل مشكلة الفول سكرين فيديو */
video:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
video:fullscreen {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}





/* ==========================================================================
   3️⃣ تحديد التفاعل مع الاسكرول للموبايل فقط (حماية كاملة للابتوب)
   ========================================================================== */
@media (max-width: 991px) {
    
    /* تجهيز الكروت في الحالة العادية على الموبايل */
    .stat-card, .service-card, .fleet-card, .client-card, .support-card, .contact-info-box {
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                    box-shadow 0.5s ease, 
                    border-color 0.5s ease, 
                    background 0.5s ease !important;
        will-change: transform, opacity;
    }

    /* كلاس الحركة الفورية مع سكرول الصباع */
    .active-scroll-mobile {
        transform: translateY(-12px) !important;
    }

    /* 1️⃣ تلوين سيكشن About (Fast & Precision) */
    #about .active-scroll-mobile {
        border-top: 3px solid var(--primary) !important;
        box-shadow: 0 15px 30px rgba(0, 139, 226, 0.15) !important;
    }

    /* 2️⃣ تلوين سيكشن Services (تم تصحيح اللون الأبيض إلى كحلي داكن نيون) */
    #services .service-card.active-scroll-mobile {
        background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%) !important; /* لون داكن بريميوم متناسق */
        border: 2px solid #c3def7 !important; 
        box-shadow: 0 15px 35px #ffffff !important; 
        transform: translateY(-12px) !important;
    }

    #services .service-card.active-scroll-mobile .service-icon-wrapper {
        background: linear-gradient(135deg, #009fff 0%, #0062bc 100%) !important;
    }

    #services .service-card.active-scroll-mobile .service-icon-wrapper i {
        color: #ffffff !important;
        background: none !important; /* تنظيف أي خلفية قديمة للأيقونة */
        -webkit-text-fill-color: #ffffff !important;
    }

    /* 3️⃣ تلوين سيكشن Our Cargo Fleet (الأسطول) */
    #fleet .fleet-card.active-scroll-mobile {
        background: #111622 !important;
        border: 1px solid rgba(0, 139, 226, 0.4) !important;
        box-shadow: 0 15px 35px rgba(0, 139, 226, 0.2) !important;
    }
    #fleet .fleet-card.active-scroll-mobile i {
        color: #008be2 !important;
    }


#fleet .fleet-card.active-scroll-mobile .fleet-icon-wrapper {
        background: linear-gradient(135deg, #009fff 30%) !important;
    }



    /* 4️⃣ تلوين سيكشن Our Trusted Clients (العملاء) */
    #clients .client-card.active-scroll-mobile {
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08) !important;
        border-left: 4px solid var(--primary) !important;
    }

    /* 5️⃣ تلوين سيكشن Need Support (الدعم) */
    #support .support-card.active-scroll-mobile,
    #support .contact-info-box.active-scroll-mobile {
        background: rgba(255, 255, 255, 0.07) !important;
        border-color: #008be2 !important;
        box-shadow: 0 10px 25px rgba(0, 139, 226, 0.15) !important;
    }
    #support .support-card.active-scroll-mobile i,
    #support .contact-info-box.active-scroll-mobile i {
        color: #008be2 !important;
        filter: drop-shadow(0 0 8px #008be2) !important;
    }
}



.dark-mode {
  --bg: #020617;
  --text: #f8fafc;
  --card: #0f172a;
}



/* ==========================================================================
   🚀 1. HOVER EFFECTS FOR LAPTOP (تأثيرات الأزرار على اللاب توب)
   ========================================================================== */
@media (min-width: 992px) {
    /* زرار الـ Submit الشفاف في الفورم */
    .btn-submit-transparent {
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }
    .btn-submit-transparent:hover {
        background: var(--primary) !important;
        color: #ffffff !important;
        box-shadow: 0 0 20px rgba(0, 139, 226, 0.6) !important;
        transform: translateY(-3px);
    }

    /* أزرار الـ Track Fleet */
    .btn-track-fleet {
        transition: all 0.3s ease !important;
    }
    .btn-track-fleet:hover {
        background: #0062bc !important;
        box-shadow: 0 5px 15px rgba(0, 139, 226, 0.4) !important;
        transform: translateY(-2px);
    }
}

.menu-toggle {
    display: none; /* مخفي على اللاب توب */
    flex-direction: column !important;
    justify-content: center !important; /* توسيط الشرط عمودياً */
    gap: 4px !important;               /* 🚀 المسافة بين الشرطة والتانية 4 بكسل بالظبط يعني لازقين وقريبين جداً */
    width: 26px !important;
    height: auto !important;           /* سيب الارتفاع يتحدد بالـ gap */
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 1001 !important;
}

.menu-toggle span {
    width: 100% !important;
    height: 2.5px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 🎯 حركة علامة الـ X متظبطة بالملي على الـ gap الجديد */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg) !important;
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg) !important;
}
/* تحويل الهيدر بالكامل على شاشات الموبايل */
@media (max-width: 991px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px !important;
        position: relative;
    }

    .menu-toggle {
        display: flex; /* يظهر على الموبايل فقط */
    }

header nav ul.nav-menu {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 70%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98); 
    backdrop-filter: blur(12px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 40px 0;
    transition: right 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important; 
    z-index: 1000;
}

    header nav ul.nav-menu.active {
        right: 0;
    }

    header nav ul.nav-menu li {
        display: block;
        width: 100%;
        text-align: center;
    }

    header nav ul.nav-menu li a {
        font-size: 1.15rem;
        display: inline-block;
        padding: 10px;
        color: #ffffff !important;
    }

    /* تظبيط صف الأيقونات جوة المنيو على الموبايل */
    .nav-contact-icons {
        display: flex !important;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }
}


/* Tracking Result Badges */
.badge-processing { background: #008be2; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; }
.badge-customs { background: #f59e0b; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; }
.badge-transit { background: #8b5cf6; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; }
.badge-delivered { background: #10b981; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; }
.badge-inbound { background: #64748b; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; }

/* Mobile Animation Fallback class */
.active-scroll-mobile {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    box-shadow: 0 10px 30px rgba(0, 139, 226, 0.2) !important;
    transition: all 0.5s ease-in-out;
}

/* ✅ HIDE OPENSTREETMAP ATTRIBUTION TEXT */
.leaflet-control-attribution {
    display: none !important;
}



