/* ==========================================================================
   DIAB LOGISTICS - PREMIUM CORPORATE WEB STYLESHEET
   Vanilla CSS Design System & Layout Engine
   ========================================================================== */

:root {
    /* Color System (Derived from DIAB Logo & Logistics Standards) */
    --primary: #0a3370;
    --primary-rgb: 10, 51, 112;
    --primary-light: #16468a;
    --secondary: #8f9aa6;
    --secondary-rgb: 143, 154, 166;
    --accent: #2b76e8;
    --accent-rgb: 43, 118, 232;
    --cyber: #00d2ff;
    --cyber-rgb: 0, 210, 255;

    /* Neutrals */
    --dark-bg: #0b0f19;
    --dark-card: #131926;
    --light-bg: #f8fafc;
    --light-card: #ffffff;
    --text-dark: #0f172a;
    --text-muted-dark: #475569;
    --text-light: #f1f5f9;
    --text-muted-light: #94a3b8;

    /* Semantic Colors */
    --success: #10b981;
    --error: #ef4444;
    --shield: #f59e0b;

    /* Typography */
    --font-en: 'Outfit', 'Inter', sans-serif;
    --font-ar: 'Cairo', 'Tajawal', sans-serif;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --grad-dark: linear-gradient(180deg, #0b0f19 0%, #111726 100%);
    --grad-glow: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    --grad-glass-border: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));

    /* Spacing */
    --container-width: 1240px;

    /* Transitions */
    --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.3);
}

/* ==========================================================================
   RESET & SYSTEM STYLES
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    /* Overridden by JS smooth scroll logic with offset */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: var(--font-en);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 0;
    width: 100%;
    transition: background-color var(--trans-normal), color var(--trans-normal);
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a,
button,
input,
select,
textarea {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Language Switcher Mode Override (Cairo font for Arabic) */
html[lang="ar"] body {
    font-family: var(--font-ar);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Global Selection */
::selection {
    background: var(--accent);
    color: #fff;
}

/* ==========================================================================
   UTILITY & LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
    min-width: 0;
}

section {
    position: relative;
    overflow: hidden;
}

.section-padding {
    padding: clamp(70px, 10vw, 100px) 0;
}

.section-padding-top {
    padding-top: 80px;
}

/* Section Divider Line */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(14, 75, 168, 0.12) 15%, rgba(14, 75, 168, 0.12) 85%, transparent);
    border: 0;
    margin: 0 auto;
    max-width: var(--container-width);
    display: block;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.text-success {
    color: var(--success);
}

.text-accent {
    color: var(--cyber);
}

.text-shield {
    color: var(--shield);
}

.text-light {
    color: var(--text-muted-light);
}

.text-light-alt {
    color: var(--secondary);
}

.title-bar {
    width: 60px;
    height: 4px;
    background: var(--grad-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: inherit;
    letter-spacing: -0.5px;
    margin-top: 5px;
}

.section-title .subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 2px;
}

.section-title .title-desc {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--text-muted-dark);
}

/* ==========================================================================
   BUTTONS SYSTEM
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--trans-fast);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 51, 112, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 51, 112, 0.45);
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lang {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    padding: 8px 18px;
}

.main-header.scrolled .btn-lang {
    color: var(--text-dark);
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
}

.btn-lang:hover {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    padding: 12px;
}

/* ==========================================================================
   LOADING OVERLAY
   ========================================================================== */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--trans-normal), visibility var(--trans-normal);
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.plane-animation {
    position: relative;
    width: 116px;
    height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
}

.loader-logo {
    width: 92px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.2));
}

.plane-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 2px solid var(--cyber);
    opacity: 0;
    animation: pulse 1.6s infinite ease-out;
}

.loader-bar {
    width: 150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.loader-progress {
    width: 40%;
    height: 100%;
    background: var(--grad-primary);
    border-radius: 10px;
    animation: loader-slide 1.2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes loader-slide {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(250%);
    }
}

/* ==========================================================================
   HEADER / NAVIGATION LAYOUT
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--trans-normal);
    background: transparent;
}

.main-header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link img {
    height: clamp(72px, 10vw, 100px);
    transition: height var(--trans-fast);
}

.main-header.scrolled .logo-link img {
    height: clamp(56px, 8vw, 70px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color var(--trans-fast);
    position: relative;
    padding: 5px 0;
}

.main-header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--trans-fast);
}

.nav-link:hover {
    color: var(--cyber);
}

.main-header.scrolled .nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-header.scrolled .btn-primary {
    box-shadow: 0 4px 10px rgba(10, 51, 112, 0.15);
}

/* Mobile Toggle Hamburger Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all var(--trans-fast);
}

.main-header.scrolled .mobile-menu-toggle .bar {
    background-color: var(--text-dark);
}

/* Hamburger active transformation */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (Visual Centerpiece)
   ========================================================================== */
.hero-section {
    min-height: 100svh;
    height: auto;
    padding: 140px 0 90px;
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--dark-bg);
}

.hero-truck-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.05);
    animation: subtle-zoom 20s infinite alternate ease-in-out;
}

@keyframes subtle-zoom {
    0% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
}

.routes-svg {
    width: 100%;
    height: 100%;
}

.route-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-dasharray: 6 4;
    opacity: 0.3;
}

.route-line.line-1 {
    stroke: var(--cyber);
}

.route-line.line-2 {
    stroke: var(--accent);
}

.route-line.line-3 {
    stroke: #fff;
}

.cargo-particle {
    fill: var(--cyber);
    filter: drop-shadow(0 0 6px var(--cyber));
}

.cargo-particle.p-2 {
    fill: var(--accent);
    filter: drop-shadow(0 0 6px var(--accent));
}

.cargo-particle.p-3 {
    fill: #fff;
    filter: drop-shadow(0 0 6px #fff);
}

.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    min-width: 0;
}

.hero-content {
    max-width: 680px;
    min-width: 0;
}

.hero-content .tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cyber);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content .plane-icon {
    transform: rotate(45deg);
    animation: float-plane 4s infinite ease-in-out;
}

@keyframes float-plane {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
    }

    50% {
        transform: rotate(45deg) translate(5px, -5px);
    }
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 40%, var(--secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.6;
    color: var(--text-muted-light);
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    min-width: 0;
}

/* Glassmorphic Floating Widgets */
.hero-widgets {
    position: relative;
    height: 350px;
}

.floating-widget {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: rgba(19, 25, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    min-width: 250px;
    animation: float-widget 6s infinite ease-in-out;
    transition: transform var(--trans-fast);
}

.floating-widget:hover {
    transform: scale(1.03) translateY(-5px);
    border-color: rgba(0, 210, 255, 0.3);
}

.floating-widget.widget-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-widget.widget-2 {
    top: 45%;
    right: 5%;
    animation-delay: 2s;
}

.floating-widget.widget-3 {
    bottom: 5%;
    left: 15%;
    animation-delay: 4s;
}

.widget-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.widget-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.widget-label {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

@keyframes float-widget {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ==========================================================================
   ABOUT US SECTION & TIMELINE
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    min-width: 0;
}

.about-info .lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted-dark);
    margin-bottom: 40px;
    margin-right: clamp(0px, 3vw, 40px);
}

.vision-mission-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    min-width: 0;
}

.vm-card {
    background: var(--light-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--trans-normal);
    margin-right: clamp(0px, 3vw, 40px);
    min-width: 0;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(43, 118, 232, 0.2);
}

.vm-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(43, 118, 232, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.vm-card h3 {
    font-size: 1.25rem;
    font-weight: 750;
    margin-bottom: 12px;
}

.vm-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted-dark);
}

.company-info-card {
    margin-top: 24px;
    margin-right: clamp(0px, 3vw, 40px);
    padding: 26px 28px;
    background: linear-gradient(135deg, rgba(43, 118, 232, 0.08), rgba(0, 188, 212, 0.06));
    border: 1px solid rgba(43, 118, 232, 0.14);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.company-info-card h3 {
    font-size: 1.15rem;
    font-weight: 750;
    margin-bottom: 18px;
}

.company-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

.company-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.company-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(43, 118, 232, 0.12);
}

.company-info-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.company-info-item span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted-dark);
    font-size: 0.85rem;
}

.company-info-item strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
}

/* Overlapping Visuals */
.about-visuals .image-wrapper {
    position: relative;
    width: min(100%, 460px);
    height: clamp(320px, 56vw, 480px);
    margin: 0 auto;
}

.about-visuals .img-large {
    width: min(88%, 360px);
    height: clamp(260px, 42vw, 380px);
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform var(--trans-normal);
}

.about-visuals .img-large:hover {
    transform: scale(1.02);
}

.about-visuals .img-small {
    width: 55%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
    position: absolute;
    bottom: 20px;
    right: 0;
    z-index: 10;
    transition: transform var(--trans-normal);
}

.about-visuals .img-small:hover {
    transform: translateY(-5px);
}

.about-visuals .badge-experience {
    position: absolute;
    top: auto;
    bottom: 8%;
    right: 4%;
    z-index: 5;
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: float-widget 5s infinite alternate ease-in-out;
}

.badge-experience .number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--cyber);
}

.badge-experience .text {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Success Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(10, 51, 112, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 20px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-date {
    position: absolute;
    top: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid #fff;
    color: var(--cyber);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: var(--shadow-md);
    transition: background-color var(--trans-fast), color var(--trans-fast);
}

.timeline-item.left .timeline-date {
    right: -30px;
}

.timeline-item.right .timeline-date {
    left: -30px;
}

.timeline-content {
    padding: 24px 30px;
    background: var(--light-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--trans-normal);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(43, 118, 232, 0.2);
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 750;
    color: var(--primary);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted-dark);
}

.timeline-item:hover .timeline-date {
    background: var(--accent);
    color: #fff;
}

/* Direction aware Timeline layout corrections for RTL */
html[lang="ar"] .timeline::after {
    left: 50%;
}

html[lang="ar"] .timeline-item.left {
    left: 0;
}

html[lang="ar"] .timeline-item.right {
    left: 50%;
}

/* ==========================================================================
   SERVICES HUB SECTION
   ========================================================================== */
.services-hub-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    min-width: 0;
    --primary-blue: #0E4BA8;
    --gold-accent: #C89B3C;
    --bg-light-hub: #F8F9FB;
    --text-dark-hub: #1B1B1B;
}

.services-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 30px;
    min-width: 0;
}

/* Service Card Component Styles */
.service-card {
    background: #ffffff;
    border: 1.5px solid rgba(14, 75, 168, 0.15);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    cursor: pointer;
    overflow: visible;
    z-index: 5;
    outline: none;
    min-width: 0;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-light-hub);
}

/* Title Ribbon / Capsule */
.service-title-capsule {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    border: 1.5px solid var(--gold-accent);
    border-radius: 30px;
    padding: 8px 24px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(14, 75, 168, 0.15);
    white-space: nowrap;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    max-width: calc(100% - 24px);
}

.service-title-capsule h3 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

/* Image Area Placeholder */
.service-image-placeholder {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 180px;
    background: linear-gradient(135deg, rgba(14, 75, 168, 0.02) 0%, rgba(14, 75, 168, 0.08) 100%);
    border: 2px dashed rgba(14, 75, 168, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.3s ease;
}

/* Custom uploaded image support */
.service-image-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

/* Optional Short Description Overlay */
.service-desc-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 16px 20px;
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 8;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-desc-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Hover States for Cards */
.service-card:hover,
.service-card:focus-within {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 36px rgba(14, 75, 168, 0.12), 0 0 15px rgba(14, 75, 168, 0.1);
    border-color: var(--gold-accent);
}

.service-card:hover .service-title-capsule,
.service-card:focus-within .service-title-capsule {
    transform: translateX(-50%) scale(1.03);
    background-color: var(--gold-accent);
    border-color: var(--primary-blue);
}

.service-card:hover .service-image-placeholder,
.service-card:focus-within .service-image-placeholder {
    border-color: rgba(200, 155, 60, 0.4);
}

.service-card:hover .service-image-placeholder img,
.service-card:focus-within .service-image-placeholder img {
    transform: scale(1.08);
}

.service-card:hover .service-desc-overlay,
.service-card:focus-within .service-desc-overlay {
    transform: translateY(0);
}

/* Accessibility Focus Ring override */
.service-card:focus-visible {
    border-color: var(--gold-accent);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.4);
}

/* ==========================================================================
   SERVICES SECTION — Premium svc-grid
   ========================================================================== */
.services-section {
    background: linear-gradient(160deg, #f0f5ff 0%, #f8fafc 50%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background blobs */
.svc-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.svc-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(43, 118, 232, 0.25) 0%, transparent 70%);
    top: -150px;
    left: -100px;
}

.svc-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 51, 112, 0.2) 0%, transparent 70%);
    bottom: -100px;
    right: -80px;
}

/* Row 1: Featured card left + 2 stacked cards right */
.svc-row-1 {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 24px;
}

/* Row 2: 3 equal cards */
.svc-row-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Base card */
.svc-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(10, 51, 112, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
    cursor: default;
}

.svc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(10, 51, 112, 0.13);
    border-color: rgba(43, 118, 232, 0.25);
}

/* Featured card — taller icon area */
.svc-featured .svc-icon-wrap {
    height: 200px;
}

/* Icon area */
.svc-icon-wrap {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.svc-icon-wrap::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.svc-icon-wrap i {
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc-card:hover .svc-icon-wrap i {
    transform: scale(1.2) rotate(-5deg);
}

/* 6 unique card colors */
.svc-color-1 {
    background: linear-gradient(135deg, #0a3370, #2b76e8);
}

.svc-color-2 {
    background: linear-gradient(135deg, #0e5c7a, #00b4d8);
}

.svc-color-3 {
    background: linear-gradient(135deg, #1a5276, #2e86c1);
}

.svc-color-4 {
    background: linear-gradient(135deg, #145a32, #27ae60);
}

.svc-color-5 {
    background: linear-gradient(135deg, #6c3483, #a569bd);
}

.svc-color-6 {
    background: linear-gradient(135deg, #7e5109, #f39c12);
}

/* Body area */
.svc-body {
    padding: 22px 22px 16px;
    flex: 1;
}

.svc-body h3 {
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 10px;
}

.svc-body p {
    font-size: 0.88rem;
    color: var(--text-muted-dark);
    line-height: 1.65;
}

/* Arrow footer */
.svc-arrow {
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    border-top: 1px solid rgba(10, 51, 112, 0.07);
    transition: gap 0.3s ease, color 0.3s ease;
}

.svc-card:hover .svc-arrow {
    gap: 14px;
    color: var(--primary);
}

/* RTL arrow flip */
html[lang="ar"] .svc-arrow i {
    transform: scaleX(-1);
}

/* Responsive */
@media (max-width: 1024px) {
    .svc-row-1 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .svc-featured {
        grid-column: 1 / -1;
    }

    .svc-row-2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .svc-row-1,
    .svc-row-2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .svc-featured {
        grid-column: auto;
    }

    .svc-icon-wrap {
        height: 110px;
        font-size: 2.5rem;
    }

    .svc-featured .svc-icon-wrap {
        height: 140px;
    }
}

/* ==========================================================================

/* ==========================================================================
   WHY CHOOSE US & STATISTICS
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-width: 0;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-point {
    display: flex;
    gap: 20px;
    min-width: 0;
}

.point-content,
.info-text {
    min-width: 0;
}

.point-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(43, 118, 232, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.point-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.point-content h3 {
    font-size: 1.2rem;
    font-weight: 750;
    margin-bottom: 8px;
}

.point-content p {
    font-size: 0.95rem;
    color: var(--text-muted-dark);
}

.why-badges {
    display: flex;
    justify-content: center;
}

.why-badges .badge-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    max-width: 400px;
}

.iso-badge {
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: transform var(--trans-fast);
}

.iso-badge:hover {
    transform: scale(1.05);
}

.glass-infographic {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.glass-infographic h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyber);
    margin-bottom: 6px;
}

.glass-infographic p {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

/* Statistics Counters Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    min-width: 0;
}

.stat-card {
    background: var(--light-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans-fast);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.stat-card .stat-num {
    font-size: 2.5rem;
    font-weight: 850;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted-dark);
}

/* ==========================================================================
   FLEET & OPERATIONS GALLERY
   ========================================================================== */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.2) 70%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 5;
    transition: opacity var(--trans-normal);
    cursor: pointer;
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    transform: translateY(10px);
    transition: transform var(--trans-normal);
}

.gallery-overlay p {
    color: var(--text-muted-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
    transform: translateY(10px);
    transition: transform var(--trans-normal) 0.05s;
}

.view-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cyber);
    color: var(--dark-bg);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(10px);
    transition: transform var(--trans-normal) 0.1s, background-color var(--trans-fast);
}

.view-btn:hover {
    background: #fff;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p,
.gallery-item:hover .view-btn {
    transform: translateY(0);
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */
.partners-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    min-width: 0;
}

.partners-carousel-wrapper::before,
.partners-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--light-bg), transparent);
}

.partners-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, var(--light-bg), transparent);
}

.partners-carousel {
    display: flex;
    width: max-content;
    gap: 50px;
    animation: scroll-marquee 28s linear infinite;
}

.partners-carousel:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100px;
    padding: 5px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all var(--trans-normal);
}

.partner-logo img:hover {
    transform: scale(1.08);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Adjust marquee scroll direction for RTL language so it flows naturally */
html[lang="ar"] .partners-carousel {
    animation: scroll-marquee-rtl 28s linear infinite;
}

html[lang="ar"] .partners-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}


/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    min-width: 0;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
}

.contact-info-block h3,
.contact-form-block h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--primary);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    min-width: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(10, 51, 112, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-text .label {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.info-text .value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.info-text .value a {
    color: inherit;
    text-decoration: none;
    transition: color var(--trans-fast);
}

.info-text .value a:hover {
    color: var(--accent);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Form Styles */
.contact-form-block {
    background: var(--light-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 12px 18px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    color: var(--text-dark);
    transition: all var(--trans-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(43, 118, 232, 0.1);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.02);
}

.form-group .error-msg {
    font-size: 0.75rem;
    color: var(--error);
    margin-top: 4px;
    height: 15px;
}

.form-alert {
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.form-alert.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-alert.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background: #060912;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-top: 80px;
    padding-bottom: 60px;
    min-width: 0;
}

.footer-brand .footer-logo {
    height: 100px;
    margin-bottom: 0px;
}

.footer-brand .desc {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 750;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
}

.social-links-footer {
    display: flex;
    gap: 15px;
}

.social-links-footer a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all var(--trans-fast);
}

.social-links-footer a.facebook-link {
    background-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.social-links-footer a.facebook-link:hover {
    transform: translateY(-3px);
    background-color: #166fe5;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.social-links-footer a.whatsapp-link {
    background-color: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.social-links-footer a.whatsapp-link:hover {
    transform: translateY(-3px);
    background-color: #20ba5a;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.social-links-footer a.linkedin-link {
    background-color: #0a66c2;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.25);
}

.social-links-footer a.linkedin-link:hover {
    transform: translateY(-3px);
    background-color: #0959aa;
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.4);
}

.footer-links h4,
.footer-certifications h4 {
    font-size: 1.1rem;
    font-weight: 750;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--trans-fast);
}

.footer-links a:hover {
    color: var(--cyber);
}

.footer-certifications .badge-row {
    display: flex;
    gap: 15px;
}

.footer-certifications .badge-row img {
    height: 70px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 12px;
}

.footer-bottom {
    background: #04060c;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

.back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--trans-fast);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ==========================================================================
   FLOATING ACTIONS (WhatsApp Widget)
   ========================================================================== */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform var(--trans-fast);
}

.whatsapp-floating:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Text tooltip on hover */
.whatsapp-floating .tooltip {
    position: absolute;
    right: 75px;
    background-color: #1e293b;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--trans-fast), visibility var(--trans-fast);
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.whatsapp-floating:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mirror WhatsApp widget placement for RTL language */
html[lang="ar"] .whatsapp-floating {
    right: auto;
    left: 30px;
}

html[lang="ar"] .whatsapp-floating .tooltip {
    right: auto;
    left: 75px;
}

/* ==========================================================================
   CUSTOM LIGHTBOX OVERLAY
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--trans-normal), visibility var(--trans-normal);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: color var(--trans-fast);
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--cyber);
}

.lightbox-container {
    max-width: 90%;
    max-height: 80%;
    text-align: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform var(--trans-normal);
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 15px;
    color: #fff;
    font-size: 1rem;
}

/* ==========================================================================
   SCROLL REVEAL INITIAL STATES
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--trans-slow), transform var(--trans-slow);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity var(--trans-slow), transform var(--trans-slow);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity var(--trans-slow), transform var(--trans-slow);
}

/* Mirror animations for RTL */
html[lang="ar"] .scroll-reveal-left {
    transform: translateX(40px);
    margin-right: 40px;
    ;
}

html[lang="ar"] .scroll-reveal-right {
    transform: translateX(-40px);
}

.scroll-reveal.active,
.scroll-reveal-left.active,
.scroll-reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);

}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (Breakpoints)
   ========================================================================== */

/* Laptop / Desktop Large Viewports */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Tablet (Portrait / Landscape) */
@media (max-width: 992px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-content .tagline {
        margin-bottom: 20px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-widgets {
        display: none;
    }

    /* Hide floating widgets to prevent overlap */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visuals {
        display: none;
    }

    .timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-date,
    .timeline-item.right .timeline-date {
        left: 0px;
        right: auto;
    }

    /* Reverse mirror for RTL Arabic timeline portrait */
    html[lang="ar"] .timeline::after {
        left: auto;
        right: 30px;
    }

    html[lang="ar"] .timeline-item {
        padding-right: 70px;
        padding-left: 20px;
    }

    html[lang="ar"] .timeline-item.left .timeline-date,
    html[lang="ar"] .timeline-item.right .timeline-date {
        right: 0px;
        left: auto;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-badges {
        display: none;
    }

    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .masonry-gallery .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Devices */
@media (max-width: 1024px) {
    .services-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }

    .scroll-reveal-left,
    .scroll-reveal-right,
    html[lang="ar"] .scroll-reveal-left,
    html[lang="ar"] .scroll-reveal-right {
        margin-right: 0;
        transform: translateY(24px);
    }
}

@media (max-width: 768px) {

    /* Mobile Header Layout */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
    }

    .mobile-menu-toggle .bar {
        width: 26px;
        flex: 0 0 2px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, calc(100vw - 32px));
        height: 100dvh;
        background: #0b0f19;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px 40px;
        gap: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--trans-normal);
        z-index: 1005;
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    /* Toggle slide direction when in Arabic RTL mode */
    html[lang="ar"] .nav-menu {
        right: auto;
        left: -100%;
        transition: left var(--trans-normal);
    }

    html[lang="ar"] .nav-menu.open {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .nav-link {
        color: var(--text-light);
        font-size: 1.1rem;
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .main-header.scrolled .nav-link {
        color: var(--text-light);
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 15px;
    }

    .nav-actions .btn {
        width: 100%;
        min-height: 44px;
    }

    .main-header.scrolled .btn-lang {
        color: var(--text-light);
        border-color: rgba(255, 255, 255, 0.1);
    }

    /* Typo reductions */
    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: clamp(1.6rem, 6vw, 1.8rem);
    }

    .vision-mission-cards {
        grid-template-columns: 1fr;
    }

    .about-info .lead-text,
    .vm-card,
    .company-info-card {
        margin-right: 0;
    }

    .company-info-card {
        padding: 24px 20px;
    }

    .company-info-list {
        grid-template-columns: 1fr;
    }

    .services-hub-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card-inner {
        display: flex;
        flex-direction: column;
    }

    .service-title-capsule {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        display: inline-block;
        width: calc(100% - 24px);
        margin: 12px auto;
        white-space: normal;
        max-width: 100%;
    }

    .service-card:hover .service-title-capsule,
    .service-card:focus-within .service-title-capsule {
        transform: scale(1.03);
    }

    .service-image-placeholder {
        min-height: 160px;
    }

    .service-desc-overlay {
        position: relative;
        transform: none;
    }

    .stats-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .stat-card {
        flex: 0 1 calc(33.33% - 10px);
        min-width: 80px;
        padding: 14px 8px;
        border-radius: 12px;
    }

    .stat-card i {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .stat-card .stat-num {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    .stat-card .stat-label {
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .masonry-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .masonry-gallery .gallery-item.large,
    .masonry-gallery .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contact-form-block {
        padding: 30px 20px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links a,
    .info-text .value a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        min-width: 44px;
    }

    /* Partners Logo Responsive Adjustments */
    .partner-logo {
        width: 150px;
        height: 75px;
    }

    .partners-carousel {
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content .btn-large {
        width: 100%;
        min-height: 48px;
        padding-inline: 22px;
    }

    .floating-widget {
        max-width: min(320px, calc(100vw - 32px));
    }

    .partners-carousel-wrapper::before,
    .partners-carousel-wrapper::after {
        width: 48px;
    }

    .whatsapp-floating .tooltip {
        display: none;
    }
}

@media (max-width: 480px) {


    .section-title h2 {
        font-size: 1.6rem;
    }

    .service-desc-overlay {
        padding: 14px 16px;
    }

    .service-desc-overlay p {
        font-size: 0.8rem;
    }

    .whatsapp-floating {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
        font-size: 1.7rem;
    }

    html[lang="ar"] .whatsapp-floating {
        left: 18px;
        right: auto;
    }
}

/* ==========================================================================
   OPTIMIZATION FOR LARGE DESKTOP SCREENS (1200px+)
   ========================================================================== */
@media (min-width: 1200px) {

    /* Navbar Scaling */
    .main-header {
        padding: 28px 0;
    }

    .main-header.scrolled {
        padding: 16px 0;
    }

    .logo-link img {
        height: 120px;
    }

    .main-header.scrolled .logo-link img {
        height: 85px;
    }

    .nav-menu {
        gap: 55px;
    }

    .nav-list {
        gap: 40px;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .btn-lang {
        font-size: 1.05rem;
        padding: 10px 22px;
    }

    /* Partners Section Scaling */
    .partners-section {
        padding: 140px 0;
    }

    .partners-section .section-title h2 {
        font-size: 2.85rem;
    }

    .partners-section .section-title .title-desc {
        font-size: 1.1rem;
        max-width: 700px;
    }

    .partners-carousel-wrapper {
        padding: 40px 0;
    }

    .partners-carousel {
        gap: 75px;
    }

    .partner-logo {
        width: 270px;
        height: 135px;
        padding: 8px;
    }
}