/* =========================================================
   مكمداس للشحن الجوي والبري والبحري والخدمات اللوجستية
   MAKMADAS — Brand stylesheet (RTL + LTR)
   ========================================================= */

:root {
    /* ألوان الهوية — مأخوذة من الشعار */
    --navy: #1b3162;
    --navy-700: #22407e;
    --navy-900: #0d1838;
    --navy-950: #081026;
    --cyan: #15b5d5;
    --cyan-600: #0e97b4;
    --cyan-300: #7adcf0;
    --cyan-50: #e8f8fc;
    --ice: #f4f8fc;
    --white: #ffffff;
    --ink: #1d2433;
    --muted: #5d6b82;
    --line: rgba(27, 49, 98, .12);

    --grad-brand: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, var(--cyan-600) 100%);
    --grad-cyan: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-600) 100%);

    --radius: 18px;
    --radius-lg: 26px;
    --shadow-sm: 0 4px 14px rgba(13, 24, 56, .08);
    --shadow: 0 14px 40px rgba(13, 24, 56, .12);
    --shadow-lg: 0 30px 70px rgba(13, 24, 56, .22);
    --ease: cubic-bezier(.22, .8, .25, 1);
    --nav-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: 'Cairo', system-ui, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.85;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: 'Poppins', 'Cairo', system-ui, sans-serif; line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--cyan); color: #fff; }
body.no-scroll { overflow: hidden; }

.container-x { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    display: grid; place-items: center;
    background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-950) 70%);
    transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 1.4rem; }
.preloader img { width: 150px; animation: loaderFloat 1.6s ease-in-out infinite; }
.preloader-bar { width: 160px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 40%; background: var(--grad-cyan); border-radius: 4px; animation: loaderBar 1.1s var(--ease) infinite; }
@keyframes loaderFloat { 50% { transform: translateY(-8px); } }
@keyframes loaderBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(280%); } }
html[dir="rtl"] .preloader-bar span { animation-name: loaderBarRtl; }
@keyframes loaderBarRtl { 0% { transform: translateX(120%); } 100% { transform: translateX(-280%); } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed; inset-inline-start: 0; top: 0; height: 3px; width: 0;
    background: var(--grad-cyan); z-index: 1100; box-shadow: 0 0 10px rgba(21,181,213,.7);
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 1000;
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: background .4s var(--ease), box-shadow .4s, height .4s var(--ease), backdrop-filter .4s;
}
.site-header.scrolled {
    --nav-h: 70px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 6px 30px rgba(13, 24, 56, .1);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; position: relative; height: 54px; }
.brand img { height: 100%; width: auto; transition: opacity .35s, transform .35s var(--ease); }
.brand .logo-dark { position: absolute; inset-inline-start: 0; top: 0; opacity: 0; }
.site-header.scrolled .brand { height: 46px; }
.site-header.scrolled .brand .logo-light { opacity: 0; }
.site-header.scrolled .brand .logo-dark { opacity: 1; }
.brand:hover img { transform: scale(1.04); }

.nav-menu { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a.nav-link {
    position: relative; display: block;
    padding: .55rem .9rem; font-weight: 600; font-size: .98rem;
    color: rgba(255,255,255,.9); border-radius: 10px;
    transition: color .3s;
}
.nav-menu a.nav-link::after {
    content: ''; position: absolute; inset-inline: .9rem; bottom: .2rem; height: 2px;
    background: var(--cyan); border-radius: 2px;
    transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav-menu a.nav-link:hover, .nav-menu a.nav-link.active { color: #fff; }
.nav-menu a.nav-link:hover::after, .nav-menu a.nav-link.active::after { transform: scaleX(1); }
.site-header.scrolled .nav-menu a.nav-link { color: var(--navy); }
.site-header.scrolled .nav-menu a.nav-link:hover,
.site-header.scrolled .nav-menu a.nav-link.active { color: var(--cyan-600); }

.btn-lang {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem 1.05rem; margin-inline-start: .6rem;
    border-radius: 50px; font-weight: 700; font-size: .9rem;
    color: #fff; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    transition: all .3s var(--ease);
}
.btn-lang:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; transform: translateY(-2px); }
.site-header.scrolled .btn-lang { background: var(--navy); border-color: var(--navy); }
.site-header.scrolled .btn-lang:hover { background: var(--cyan); border-color: var(--cyan); }

/* Burger */
.burger {
    display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
    background: rgba(255,255,255,.14); cursor: pointer; position: relative; z-index: 1201;
    transition: background .3s;
}
.burger span {
    position: absolute; inset-inline-start: 12px; width: 22px; height: 2px; border-radius: 2px;
    background: #fff; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease), background .3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; width: 15px; }
.burger span:nth-child(3) { top: 29px; }
.site-header.scrolled .burger { background: var(--cyan-50); }
.site-header.scrolled .burger span { background: var(--navy); }
.menu-open .burger { background: rgba(255,255,255,.14) !important; }
.menu-open .burger span { background: #fff !important; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn-x {
    --bg: var(--grad-cyan);
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 1.9rem; border-radius: 50px; border: 0;
    font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer;
    color: #fff; background: var(--bg);
    box-shadow: 0 10px 28px rgba(21, 181, 213, .35);
    position: relative; overflow: hidden; isolation: isolate;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.btn-x::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-x:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(21, 181, 213, .45); color: #fff; }
.btn-x:hover::before { transform: translateX(120%); }
.btn-x i { transition: transform .35s var(--ease); }
.btn-x:hover i.fa-arrow-left { transform: translateX(-4px); }
.btn-x:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-ghost {
    --bg: transparent; box-shadow: none;
    border: 1.5px solid rgba(255,255,255,.55); color: #fff;
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn-x:disabled { opacity: .7; cursor: wait; transform: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; overflow: hidden;
    color: #fff; background: var(--navy-950);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 1.4s ease;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.hero-slide.active { opacity: 1; }
.hero-slide.active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.18) translate3d(0,0,0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(8,16,38,.55) 0%, rgba(8,16,38,.25) 35%, rgba(8,16,38,.85) 100%),
        linear-gradient(90deg, rgba(13,24,56,.75), rgba(27,49,98,.25));
}
html[dir="rtl"] .hero::before {
    background:
        linear-gradient(180deg, rgba(8,16,38,.55) 0%, rgba(8,16,38,.25) 35%, rgba(8,16,38,.85) 100%),
        linear-gradient(270deg, rgba(13,24,56,.75), rgba(27,49,98,.25));
}

/* speed lines inspired by the logo */
.speed-lines { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.speed-lines i {
    position: absolute; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: .0; animation: speed 4.5s linear infinite;
}
.speed-lines i:nth-child(1) { top: 22%; width: 240px; animation-delay: 0s; }
.speed-lines i:nth-child(2) { top: 38%; width: 160px; animation-delay: 1.3s; }
.speed-lines i:nth-child(3) { top: 61%; width: 300px; animation-delay: 2.4s; }
.speed-lines i:nth-child(4) { top: 78%; width: 200px; animation-delay: 3.3s; }
.speed-lines i:nth-child(5) { top: 12%; width: 130px; animation-delay: 1.9s; }
@keyframes speed {
    0% { transform: translateX(-30vw); opacity: 0; }
    15% { opacity: .9; }
    85% { opacity: .6; }
    100% { transform: translateX(130vw); opacity: 0; }
}
html[dir="rtl"] .speed-lines i { animation-name: speedRtl; right: 0; }
@keyframes speedRtl {
    0% { transform: translateX(30vw); opacity: 0; }
    15% { opacity: .9; }
    85% { opacity: .6; }
    100% { transform: translateX(-130vw); opacity: 0; }
}

/* flying plane on a dashed route */
.flight-path { position: absolute; inset-inline: 0; bottom: 14%; height: 160px; z-index: 2; pointer-events: none; opacity: .55; }
.flight-path svg { width: 100%; height: 100%; }
.flight-path path.route { fill: none; stroke: rgba(122,220,240,.5); stroke-width: 1.5; stroke-dasharray: 6 10; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }

.hero-content { position: relative; z-index: 3; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 7rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .45rem 1rem; border-radius: 50px;
    background: rgba(21,181,213,.16); border: 1px solid rgba(122,220,240,.4);
    color: var(--cyan-300); font-weight: 600; font-size: .92rem;
    backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(21,181,213,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(21,181,213,0); } 100% { box-shadow: 0 0 0 0 rgba(21,181,213,0); } }

.hero h1 {
    font-size: clamp(2.1rem, 5.6vw, 4.4rem); font-weight: 900; line-height: 1.2;
    margin: 1.2rem 0 1rem; max-width: 820px; letter-spacing: -.5px;
}
html[lang="en"] .hero h1 { font-weight: 700; letter-spacing: -1px; }
.hero h1 .accent {
    background: linear-gradient(90deg, var(--cyan-300), var(--cyan), var(--cyan-300));
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p.lead-x { font-size: clamp(1rem, 2vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 640px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* text swap per slide */
.hero-text { display: grid; }
.hero-text > div { grid-area: 1 / 1; }
.hero-text > div .anim { opacity: 0; transform: translateY(26px); }
.hero-text > div.active .anim { animation: heroIn .9s var(--ease) forwards; }
.hero-text > div.active .anim:nth-child(2) { animation-delay: .15s; }
.hero-text > div.active .anim:nth-child(3) { animation-delay: .3s; }
.hero-text > div:not(.active) { pointer-events: none; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-dots { position: absolute; z-index: 4; bottom: 6.5rem; inset-inline-start: 50%; display: flex; gap: .6rem; transform: translateX(-50%); }
html[dir="rtl"] .hero-dots { transform: translateX(50%); }
.hero-dots button {
    width: 34px; height: 5px; border: 0; padding: 0; border-radius: 5px; cursor: pointer;
    background: rgba(255,255,255,.3); overflow: hidden; position: relative;
}
.hero-dots button::after { content: ''; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .hero-dots button::after { transform-origin: right; }
.hero-dots button.active::after { animation: dotFill 6s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

.scroll-down {
    position: absolute; z-index: 4; bottom: 1.8rem; inset-inline-start: 50%; transform: translateX(-50%);
    width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.55); border-radius: 20px;
}
html[dir="rtl"] .scroll-down { transform: translateX(50%); }
.scroll-down::before { content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Modes strip (Air / Land / Sea) ---------- */
.modes { position: relative; z-index: 5; margin-top: -4.5rem; }
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mode-card {
    display: flex; align-items: center; gap: 1.1rem;
    padding: 1.5rem 1.6rem; border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow);
    border-bottom: 3px solid transparent;
    transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.mode-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--cyan); }
.mode-icon {
    flex: none; width: 64px; height: 64px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.6rem; color: #fff;
    background: var(--grad-brand); box-shadow: 0 10px 24px rgba(27,49,98,.3);
    transition: transform .5s var(--ease);
}
.mode-card:hover .mode-icon { transform: rotate(-8deg) scale(1.08); }
.mode-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin: 0 0 .15rem; }
.mode-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    color: var(--cyan-600); font-weight: 700; font-size: .95rem; letter-spacing: .5px; margin-bottom: .6rem;
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; }
.eyebrow::before, .section-head .eyebrow::after { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--cyan); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; color: var(--navy); line-height: 1.3; margin: 0 0 1rem; }
html[lang="en"] .section-title { font-weight: 700; }
.section-title .hl { color: var(--cyan-600); }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.about-media { position: relative; }
.about-media .img-main { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about-media::before {
    content: ''; position: absolute; inset: 18px -18px -18px 18px;
    border: 2px dashed rgba(21,181,213,.45); border-radius: var(--radius-lg); z-index: -1;
}
.float-badge {
    position: absolute; inset-inline-start: -1.5rem; bottom: 2rem;
    display: flex; align-items: center; gap: .9rem;
    padding: 1rem 1.3rem; border-radius: var(--radius);
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    animation: bob 4s ease-in-out infinite;
}
.float-badge .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-cyan); font-size: 1.3rem; }
.float-badge b { display: block; color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.float-badge small { color: var(--muted); }
.float-logo {
    position: absolute; inset-inline-end: -1.2rem; top: -1.6rem;
    width: 120px; padding: .9rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow);
    animation: bob 5s ease-in-out infinite reverse;
}
@keyframes bob { 50% { transform: translateY(-12px); } }
.about-text .lead-x { font-size: 1.15rem; color: var(--navy); font-weight: 600; }
.about-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; }
.checks li { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--navy); }
.checks li i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; color: #fff; background: var(--cyan); flex: none; }

/* ---------- Vision (dark) ---------- */
.section-dark {
    background: radial-gradient(1000px 500px at 85% 0%, rgba(21,181,213,.18), transparent 60%),
                radial-gradient(800px 500px at 0% 100%, rgba(34,64,126,.6), transparent 60%),
                var(--navy-900);
    color: #fff; overflow: hidden;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,.7); }
.section-dark .eyebrow { color: var(--cyan-300); }
.grid-pattern {
    position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.vm-card {
    position: relative; padding: 2.4rem 2rem; border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    transition: transform .5s var(--ease), border-color .5s, background .5s;
    overflow: hidden;
}
.vm-card::before {
    content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
    top: -110px; inset-inline-end: -110px; background: radial-gradient(circle, rgba(21,181,213,.35), transparent 70%);
    transition: transform .6s var(--ease);
}
.vm-card:hover { transform: translateY(-10px); border-color: rgba(122,220,240,.5); }
.vm-card:hover::before { transform: scale(1.5); }
.vm-card .num { position: absolute; top: 1.2rem; inset-inline-end: 1.5rem; font-size: 3.2rem; font-weight: 900; color: rgba(255,255,255,.06); line-height: 1; }
.vm-card .ic { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; background: var(--grad-cyan); margin-bottom: 1.4rem; box-shadow: 0 12px 30px rgba(21,181,213,.35); }
.vm-card h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: .8rem; }
.vm-card p { color: rgba(255,255,255,.75); margin: 0; }

/* ---------- Services ---------- */
.services { background: var(--ice); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
    position: relative; padding: 2.2rem 1.8rem; border-radius: var(--radius-lg);
    background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    overflow: hidden; isolation: isolate;
    transition: transform .5s var(--ease), box-shadow .5s, color .4s;
    transform-style: preserve-3d;
}
.service-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad-brand);
    clip-path: circle(0% at 100% 0%); transition: clip-path .7s var(--ease);
}
html[dir="rtl"] .service-card::before { clip-path: circle(0% at 0% 0%); }
.service-card:hover::before { clip-path: circle(150% at 100% 0%); }
html[dir="rtl"] .service-card:hover::before { clip-path: circle(150% at 0% 0%); }
.service-card:hover { box-shadow: var(--shadow-lg); color: #fff; }
.service-card .s-icon {
    width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center;
    font-size: 1.75rem; color: var(--cyan-600); background: var(--cyan-50);
    margin-bottom: 1.4rem; transition: all .5s var(--ease);
}
.service-card:hover .s-icon { background: rgba(255,255,255,.15); color: #fff; transform: translateY(-4px) rotate(-6deg); }
.service-card h4 { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: .6rem; transition: color .4s; }
.service-card p { color: var(--muted); margin: 0; font-size: .98rem; transition: color .4s; }
.service-card:hover h4 { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,.82); }
.service-card .more {
    position: absolute; bottom: 1.4rem; inset-inline-end: 1.5rem; font-size: 1.1rem; color: var(--cyan);
    opacity: 0; transform: translateY(10px); transition: all .45s var(--ease);
}
.service-card:hover .more { opacity: 1; transform: none; color: var(--cyan-300); }

/* ---------- Activity / process ---------- */
.activity-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
.activity-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.activity-media img { width: 100%; aspect-ratio: 4/3.6; object-fit: cover; transition: transform 1.2s var(--ease); }
.activity-media:hover img { transform: scale(1.06); }
.activity-media .overlay-tag {
    position: absolute; inset-inline: 1.2rem; bottom: 1.2rem;
    display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: var(--radius);
    background: rgba(13,24,56,.72); backdrop-filter: blur(10px); color: #fff;
}
.activity-media .overlay-tag img { width: 46px; aspect-ratio: auto; transform: none !important; }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; position: relative; }
.timeline::before { content: ''; position: absolute; top: 10px; bottom: 10px; inset-inline-start: 25px; width: 2px; background: linear-gradient(var(--cyan), rgba(21,181,213,.1)); }
.timeline li { position: relative; display: flex; gap: 1.1rem; padding: .85rem 0; }
.timeline .t-ic {
    flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: var(--cyan-600); font-size: 1.2rem; border: 2px solid var(--cyan);
    position: relative; z-index: 1; transition: all .4s var(--ease);
}
.timeline li:hover .t-ic { background: var(--cyan); color: #fff; transform: scale(1.1); box-shadow: 0 0 0 8px rgba(21,181,213,.15); }
.timeline h5 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: .3rem 0 .15rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Marquee band ---------- */
.band { background: var(--grad-cyan); color: #fff; padding: 1.1rem 0; overflow: hidden; position: relative; }
.band-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
html[dir="rtl"] .band-track { animation-name: marqueeRtl; }
.band-track span { display: inline-flex; align-items: center; gap: 1rem; padding-inline: 1.5rem; font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.band-track span i { opacity: .7; font-size: .9rem; }
.band:hover .band-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* ---------- Contact ---------- */
.contact { background: var(--ice); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; align-items: stretch; }
.contact-panel {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 2.6rem 2.2rem; color: #fff;
    background: var(--grad-brand);
}
.contact-panel::after { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; bottom: -160px; inset-inline-end: -120px; border: 40px solid rgba(255,255,255,.06); }
.contact-panel h3 { font-weight: 800; font-size: 1.6rem; margin-bottom: .5rem; }
.contact-panel > p { color: rgba(255,255,255,.75); }
.c-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; z-index: 1; }
.c-item:last-of-type { border-bottom: 0; }
.c-item .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 1.15rem; transition: all .35s var(--ease); }
.c-item:hover .ic { background: var(--cyan); transform: scale(1.08) rotate(-6deg); }
.c-item h5 { font-size: .9rem; font-weight: 600; color: var(--cyan-300); margin: 0 0 .2rem; }
.c-item p, .c-item a { margin: 0; font-weight: 700; color: #fff; font-size: 1.02rem; word-break: break-word; }
.c-item a:hover { color: var(--cyan-300); }
.c-item a[dir="ltr"] { unicode-bidi: isolate; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 2.6rem 2.2rem; box-shadow: var(--shadow); }
.form-card h3 { color: var(--navy); font-weight: 800; font-size: 1.6rem; margin-bottom: .4rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 1.35rem 1rem .55rem; padding-inline-start: 2.8rem;
    border: 1.5px solid var(--line); border-radius: 14px; background: var(--ice);
    transition: border-color .3s, background .3s, box-shadow .3s; outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label {
    position: absolute; inset-inline-start: 2.8rem; top: 1rem; color: var(--muted); font-size: 1rem;
    pointer-events: none; transition: all .25s var(--ease);
}
.field > i { position: absolute; inset-inline-start: 1rem; top: 1.2rem; color: var(--cyan-600); transition: color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(21,181,213,.15); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label { top: .3rem; font-size: .78rem; color: var(--cyan-600); font-weight: 600; }
.field.invalid input, .field.invalid textarea { border-color: #e5484d; background: #fff6f6; animation: shake .4s; }
.field.valid input, .field.valid textarea { border-color: #2fb37a; }
.field .err { display: none; color: #e5484d; font-size: .84rem; margin-top: .35rem; }
.field.invalid .err { display: block; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
input[type="tel"], input[type="email"] { direction: ltr; text-align: start; }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"] { text-align: right; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 4.5rem 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { width: 150px; margin-bottom: 1rem; }
.footer h6 { color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .55rem; }
.footer ul a { transition: color .3s, padding .3s; display: inline-flex; align-items: center; gap: .5rem; }
.footer ul a:hover { color: var(--cyan); padding-inline-start: 6px; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: all .35s var(--ease); }
.socials a:hover { background: var(--cyan); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; font-size: .92rem; text-align: center; }

/* ---------- Floating actions ---------- */
.fab-call {
    position: fixed; bottom: 1.4rem; inset-inline-start: 1.4rem; z-index: 900;
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: var(--grad-cyan); color: #fff; font-size: 1.3rem;
    box-shadow: 0 10px 26px rgba(21,181,213,.45);
}
.fab-call::before, .fab-call::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan);
    animation: ring 2.2s ease-out infinite;
}
.fab-call::after { animation-delay: 1.1s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.fab-call:hover { color: #fff; }
.fab-call i { animation: wiggle 2.2s ease-in-out infinite; }
@keyframes wiggle { 0%, 60%, 100% { transform: rotate(0); } 65% { transform: rotate(-18deg); } 75% { transform: rotate(16deg); } 85% { transform: rotate(-10deg); } }

.to-top {
    position: fixed; bottom: 1.4rem; inset-inline-end: 1.4rem; z-index: 900;
    width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--navy); color: #fff; display: grid; place-items: center;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--cyan); }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top svg circle { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-start { transform: translateX(-50px); }
.reveal.from-end { transform: translateX(50px); }
html[dir="rtl"] .reveal.from-start { transform: translateX(50px); }
html[dir="rtl"] .reveal.from-end { transform: translateX(-50px); }
.reveal.zoom { transform: scale(.9); }
.reveal.in, html[dir="rtl"] .reveal.in { opacity: 1; transform: none; }

/* ---------- SweetAlert brand ---------- */
.swal2-popup { font-family: inherit !important; border-radius: 20px !important; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .nav-menu a.nav-link { padding: .5rem .6rem; font-size: .93rem; }
}

@media (max-width: 991px) {
    :root { --nav-h: 72px; }
    .burger { display: block; }
    .brand { height: 42px; }
    .site-header.scrolled .brand { height: 38px; }

    .nav-panel {
        position: fixed; inset: 0; z-index: 1200;
        background: radial-gradient(circle at 80% 10%, rgba(21,181,213,.25), transparent 50%), var(--navy-950);
        display: flex; flex-direction: column; justify-content: center; padding: 6rem 2rem 2rem;
        clip-path: circle(0% at calc(100% - 45px) 36px);
        transition: clip-path .7s var(--ease);
        visibility: hidden;
    }
    html[dir="rtl"] .nav-panel { clip-path: circle(0% at 45px 36px); }
    .menu-open .nav-panel { clip-path: circle(150% at calc(100% - 45px) 36px); visibility: visible; }
    html[dir="rtl"] .menu-open .nav-panel { clip-path: circle(150% at 45px 36px); }
    .nav-menu { flex-direction: column; align-items: stretch; gap: .4rem; }
    .nav-menu li { opacity: 0; transform: translateY(20px); transition: all .5s var(--ease); }
    .menu-open .nav-menu li { opacity: 1; transform: none; }
    .menu-open .nav-menu li:nth-child(1) { transition-delay: .15s; }
    .menu-open .nav-menu li:nth-child(2) { transition-delay: .2s; }
    .menu-open .nav-menu li:nth-child(3) { transition-delay: .25s; }
    .menu-open .nav-menu li:nth-child(4) { transition-delay: .3s; }
    .menu-open .nav-menu li:nth-child(5) { transition-delay: .35s; }
    .menu-open .nav-menu li:nth-child(6) { transition-delay: .4s; }
    .menu-open .nav-menu li:nth-child(7) { transition-delay: .45s; }
    .nav-menu a.nav-link, .site-header.scrolled .nav-menu a.nav-link {
        color: #fff; font-size: 1.45rem; font-weight: 700; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0;
    }
    .nav-menu a.nav-link::after { display: none; }
    .nav-menu a.nav-link.active, .site-header.scrolled .nav-menu a.nav-link.active { color: var(--cyan); }
    .btn-lang, .site-header.scrolled .btn-lang { display: flex; margin: 1.4rem 0 0; justify-content: center; padding: .9rem; font-size: 1rem; background: var(--cyan); border-color: var(--cyan); }
    .nav-panel .panel-logo { width: 130px; margin: 0 auto 2rem; opacity: 0; transition: opacity .5s .2s; }
    .menu-open .nav-panel .panel-logo { opacity: 1; }

    .about-grid, .activity-grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .about-media { max-width: 620px; margin-inline: auto; width: 100%; }
    .activity-media { order: 2; }
    .vm-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .modes-grid { grid-template-columns: 1fr; gap: .9rem; }
    .modes { margin-top: -3.5rem; }
}
@media (min-width: 992px) { .nav-panel .panel-logo { display: none; } }

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 2.5rem; }
    .flight-path { display: none; }
    .hero-content { padding-bottom: 8rem; text-align: center; }
    .hero h1, .hero p.lead-x { margin-inline: auto; }
    .hero-cta { justify-content: center; }
    .hero-dots { bottom: 5.5rem; }
    .float-badge { inset-inline-start: .8rem; bottom: .8rem; padding: .75rem 1rem; }
    .float-logo { width: 90px; inset-inline-end: .5rem; top: -1.2rem; }
    .about-media::before { display: none; }
    .checks { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card, .contact-panel { padding: 2rem 1.4rem; }
}

@media (max-width: 520px) {
    .container-x { width: calc(100% - 2rem); }
    .hero-cta .btn-x { flex: 1 1 100%; }
    .mode-card { padding: 1.2rem; }
    .mode-icon { width: 54px; height: 54px; font-size: 1.35rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .fab-call { width: 52px; height: 52px; bottom: 1rem; inset-inline-start: 1rem; }
    .to-top { width: 48px; height: 48px; bottom: 1rem; inset-inline-end: 1rem; }
    .band-track span { font-size: 1rem; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
html[dir="rtl"] .flight-path svg { transform: scaleX(-1); }

/* ---- overflow & mobile-menu safety ---- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.section, .modes { overflow-x: clip; }
@media (max-width: 991px) {
    /* backdrop-filter would make the fixed menu panel relative to the header */
    .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.98); }
    .reveal.from-start, .reveal.from-end,
    html[dir="rtl"] .reveal.from-start, html[dir="rtl"] .reveal.from-end { transform: translateY(40px); }
    .reveal.in, html[dir="rtl"] .reveal.in { transform: none; }
}
