/* =========================================================
   RASEEF LINK
   Main Stylesheet
   assets/css/style.css
========================================================= */

/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --bg-primary: #f5f8fb;
    --bg-secondary: #ffffff;
    --surface: #ffffff;
    --surface-soft: #eef4f8;

    --text-primary: #0b1f3a;
    --text-secondary: #334e68;
    --text-muted: #66788a;

    --border-color: #d9e3ec;

    --primary: #0b1f3a;
    --primary-dark: #061426;
    --blue: #0e6ba8;
    --blue-dark: #083b66;
    --cyan: #16b8d4;

    --orange: #f59e0b;
    --gold: #f4b942;

    --white: #ffffff;
    --success: #16a34a;
    --danger: #dc2626;

    --header-height: 82px;
    --container: 1240px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 4px 14px rgba(11, 31, 58, 0.07);
    --shadow-md: 0 10px 30px rgba(11, 31, 58, 0.10);
    --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.14);

    --transition: 0.25s ease;
}

html.dark {

    --bg-primary: #071421;
    --bg-secondary: #0c1d2d;
    --surface: #0c1d2d;
    --surface-soft: #10283c;

    --text-primary: #f5f9fc;
    --text-secondary: #d3e0ea;
    --text-muted: #9db0c0;

    --border-color: #254158;

    --primary: #f5f9fc;
    --primary-dark: #ffffff;

    --blue: #31a5df;
    --blue-dark: #2b8fc5;
    --cyan: #25c8df;

    --white: #ffffff;

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;

    background: var(--bg-primary);
    color: var(--text-primary);

    font-family: "Cairo", "Inter", Arial, sans-serif;

    line-height: 1.7;

    transition:
        background-color var(--transition),
        color var(--transition);
}

body.ltr {
    font-family: "Inter", "Cairo", Arial, sans-serif;
}

body.rtl {
    font-family: "Cairo", "Inter", Arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
    margin-top: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: var(--bg-secondary);

    border-bottom: 1px solid var(--border-color);

    box-shadow: var(--shadow-sm);

    transition:
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    gap: 20px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    color: var(--text-primary);
}

.brand-logo {
    width: 48px;
    height: 48px;

    object-fit: contain;

    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.2;

    white-space: nowrap;
}

.brand-text strong {
    color: var(--text-primary);

    font-family: "Inter", "Cairo", sans-serif;

    font-size: 17px;
    font-weight: 800;
}

.brand-text small {
    margin-top: 3px;

    color: var(--text-secondary);

    font-size: 10px;
    font-weight: 600;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 4px;

    margin-inline-start: auto;
}

.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 0 11px;

    border-radius: var(--radius-sm);

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 600;

    transition:
        color var(--transition),
        background-color var(--transition);
}

.nav-link:hover {
    color: var(--blue);

    background: var(--surface-soft);
}

.nav-link.active {
    color: var(--blue);

    background: var(--surface-soft);
}

.nav-link.active::after {
    content: "";

    position: absolute;

    bottom: 4px;
    inset-inline: 12px;

    height: 2px;

    background: var(--cyan);

    border-radius: 10px;
}


/* =========================================================
   HEADER CONTROLS
========================================================= */

.header-controls {
    display: flex;
    align-items: center;

    gap: 8px;

    flex-shrink: 0;
}


/* =========================================================
   LANGUAGE
========================================================= */

.language-switcher {
    display: flex;
    align-items: center;

    height: 34px;

    padding: 2px;

    background: var(--surface-soft);

    border: 1px solid var(--border-color);

    border-radius: 9px;
}

.language-btn {
    width: 34px;
    height: 28px;

    padding: 0;

    border: 0;
    border-radius: 7px;

    background: transparent;

    color: var(--text-muted);

    font-family: "Inter", "Cairo", sans-serif;
    font-size: 11px;
    font-weight: 800;

    transition:
        background-color var(--transition),
        color var(--transition);
}

.language-btn:hover {
    color: var(--blue);
}

.language-btn.active {
    background: var(--blue);

    color: var(--white);
}

.language-divider {
    color: var(--border-color);

    font-size: 10px;

    user-select: none;
}


/* =========================================================
   THEME BUTTON
========================================================= */

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    min-width: 36px;
    height: 34px;

    padding: 0 8px;

    border: 1px solid var(--border-color);
    border-radius: 9px;

    background: var(--surface-soft);

    color: var(--text-secondary);

    font-size: 11px;
    font-weight: 700;

    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.theme-toggle:hover {
    color: var(--blue);

    border-color: var(--blue);
}

.theme-toggle [data-theme-icon] {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    font-size: 14px;

    line-height: 1;
}

.theme-toggle [data-theme-label] {
    white-space: nowrap;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    padding: 7px;

    margin-inline-start: auto;

    border: 1px solid var(--border-color);
    border-radius: 9px;

    background: var(--surface-soft);
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 4px 0;

    background: var(--text-primary);

    border-radius: 10px;

    transition: transform var(--transition);
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    overflow: hidden;

    padding: 90px 0 80px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(22, 184, 212, 0.10),
            transparent 32%
        ),
        var(--bg-primary);
}

.hero-grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);

    align-items: center;

    gap: 60px;
}

.hero-content {
    position: relative;

    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    padding: 7px 12px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: 50px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 700;

    box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;

    background: var(--cyan);

    border-radius: 50%;
}

.hero-content h1 {
    max-width: 760px;

    margin-bottom: 22px;

    color: var(--text-primary);

    font-size: clamp(34px, 5vw, 62px);

    font-weight: 800;

    line-height: 1.18;

    letter-spacing: -1px;
}

.hero-description {
    max-width: 700px;

    margin-bottom: 30px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 2;

    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 38px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border: 1px solid transparent;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform var(--transition),
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue);

    color: #ffffff;

    box-shadow: 0 8px 20px rgba(14, 107, 168, 0.20);
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-outline {
    background: transparent;

    border-color: var(--blue);

    color: var(--blue);
}

.btn-outline:hover {
    background: var(--blue);

    color: #ffffff;
}

.btn-light {
    background: #ffffff;

    color: #0b1f3a;
}

.btn-outline-light {
    background: transparent;

    border-color: rgba(255, 255, 255, 0.65);

    color: #ffffff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.10);
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    display: flex;
    align-items: center;

    gap: 35px;
}

.hero-stat {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.hero-stat strong {
    color: var(--text-primary);

    font-family: "Inter", sans-serif;

    font-size: 22px;
    font-weight: 800;
}

.hero-stat span {
    color: var(--text-muted);

    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-map-card {
    position: relative;

    width: 100%;
    max-width: 600px;

    aspect-ratio: 1 / 0.82;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(14, 107, 168, 0.08),
            rgba(22, 184, 212, 0.03)
        ),
        var(--surface);

    border: 1px solid var(--border-color);

    border-radius: 28px;

    box-shadow: var(--shadow-lg);
}

.map-grid,
.route-map-grid {
    position: absolute;
    inset: 0;

    opacity: 0.55;

    background-image:
        linear-gradient(
            rgba(14, 107, 168, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(14, 107, 168, 0.08) 1px,
            transparent 1px
        );

    background-size: 35px 35px;
}


/* =========================================================
   NETWORK NODES
========================================================= */

.network-node {
    position: absolute;

    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 75px;

    color: var(--text-primary);

    text-align: center;
}

.network-node strong {
    font-size: 11px;
    font-weight: 800;
}

.network-node span {
    color: var(--text-muted);

    font-family: "Inter", sans-serif;

    font-size: 8px;
    font-weight: 600;
}

.node-main {
    top: 43%;
    left: 50%;

    transform: translate(-50%, -50%);

    min-width: 120px;
}

.node-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin-bottom: 8px;

    background: var(--blue);

    color: #ffffff;

    border: 4px solid var(--surface);

    border-radius: 50%;

    font-family: "Inter", sans-serif;

    font-size: 15px;
    font-weight: 800;

    box-shadow: 0 0 0 1px var(--border-color),
                0 10px 25px rgba(14, 107, 168, 0.25);
}

.node-point {
    width: 13px;
    height: 13px;

    margin-bottom: 7px;

    background: var(--cyan);

    border: 3px solid var(--surface);

    border-radius: 50%;

    box-shadow: 0 0 0 1px var(--cyan);
}

.node-china {
    top: 9%;
    right: 47%;
}

.node-jeddah {
    top: 25%;
    right: 14%;
}

.node-dubai {
    top: 45%;
    right: 7%;
}

.node-djibouti {
    bottom: 18%;
    right: 25%;
}

.node-yemen {
    bottom: 12%;
    left: 46%;
}

.node-turkiye {
    top: 18%;
    left: 16%;
}


/* =========================================================
   ROUTE LINES
========================================================= */

.route-line {
    position: absolute;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--cyan),
        transparent
    );

    transform-origin: left center;

    opacity: 0.65;
}

.line-jeddah {
    width: 190px;

    top: 35%;
    left: 51%;

    transform: rotate(-20deg);
}

.line-china {
    width: 180px;

    top: 39%;
    left: 50%;

    transform: rotate(-82deg);
}

.line-dubai {
    width: 190px;

    top: 47%;
    left: 51%;

    transform: rotate(-4deg);
}

.line-djibouti {
    width: 180px;

    top: 51%;
    left: 50%;

    transform: rotate(30deg);
}

.line-yemen {
    width: 130px;

    top: 51%;
    left: 50%;

    transform: rotate(88deg);
}

.line-turkiye {
    width: 240px;

    top: 39%;
    left: 43%;

    transform: rotate(190deg);
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card {
    position: absolute;

    z-index: 10;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 10px 13px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: 12px;

    color: var(--text-primary);

    box-shadow: var(--shadow-md);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: var(--text-primary);

    font-family: "Inter", "Cairo", sans-serif;

    font-size: 10px;
}

.floating-card small {
    color: var(--text-muted);

    font-size: 8px;
}

.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    background: var(--surface-soft);

    border-radius: 8px;

    font-size: 14px;
}

.floating-card-one {
    top: 8%;
    left: 6%;
}

.floating-card-two {
    right: 5%;
    bottom: 7%;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 95px 0;
}

.section-heading {
    max-width: 750px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--blue);

    font-family: "Inter", "Cairo", sans-serif;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.6px;
}

.section-heading h2 {
    margin-bottom: 14px;

    color: var(--text-primary);

    font-size: clamp(28px, 4vw, 42px);

    font-weight: 800;

    line-height: 1.25;
}

.section-heading p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================================
   NETWORK SECTION
========================================================= */

.network-section {
    background: var(--bg-secondary);
}

.gateway-grid {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 16px;
}

.gateway-card {
    position: relative;

    min-height: 250px;

    padding: 24px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.gateway-card:hover {
    transform: translateY(-5px);

    border-color: rgba(14, 107, 168, 0.45);

    box-shadow: var(--shadow-md);
}

.gateway-card-highlight {
    background:
        linear-gradient(
            145deg,
            rgba(14, 107, 168, 0.10),
            transparent
        ),
        var(--surface);
}

.gateway-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    margin-bottom: 18px;

    background: var(--surface-soft);

    border-radius: 12px;

    font-size: 20px;
}

.gateway-label {
    display: block;

    margin-bottom: 4px;

    color: var(--text-muted);

    font-family: "Inter", sans-serif;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}

.gateway-card h3 {
    margin-bottom: 8px;

    color: var(--text-primary);

    font-size: 22px;
    font-weight: 800;
}

.gateway-card p {
    min-height: 72px;

    margin-bottom: 18px;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.8;
}

.gateway-route {
    display: inline-block;

    padding: 5px 9px;

    background: var(--surface-soft);

    border-radius: 6px;

    color: var(--blue);

    font-family: "Inter", sans-serif;

    font-size: 8px;
    font-weight: 700;
}


/* =========================================================
   NETWORK HIGHLIGHT
========================================================= */

.network-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 25px;

    padding: 30px;

    background: var(--primary);

    border-radius: var(--radius-lg);

    color: #ffffff;

    box-shadow: var(--shadow-md);
}

.network-highlight-label {
    display: block;

    margin-bottom: 5px;

    color: var(--cyan);

    font-family: "Inter", "Cairo", sans-serif;

    font-size: 10px;
    font-weight: 800;
}

.network-highlight h3 {
    margin: 0;

    color: #ffffff;

    font-size: 23px;
    font-weight: 800;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.service-card {
    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(14, 107, 168, 0.45);

    box-shadow: var(--shadow-md);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 18px;

    background: var(--surface-soft);

    border-radius: 13px;

    font-size: 22px;
}

.service-card h3 {
    margin-bottom: 9px;

    color: var(--text-primary);

    font-size: 19px;
    font-weight: 800;
}

.service-card p {
    min-height: 65px;

    margin-bottom: 18px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.8;
}

.service-link {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    background: var(--bg-secondary);
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.process-card {
    position: relative;

    padding: 30px 25px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.process-number {
    position: absolute;

    top: 18px;
    inset-inline-end: 20px;

    color: var(--border-color);

    font-family: "Inter", sans-serif;

    font-size: 32px;
    font-weight: 800;
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 20px;

    background: var(--surface-soft);

    border-radius: 13px;

    font-size: 22px;
}

.process-card h3 {
    margin-bottom: 9px;

    color: var(--text-primary);

    font-size: 18px;
    font-weight: 800;
}

.process-card p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.9;
}


/* =========================================================
   NETWORK VISUAL
========================================================= */

.network-visual-section {
    background: var(--bg-primary);
}

.network-visual-wrapper {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 55px;

    padding: 45px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: 28px;

    box-shadow: var(--shadow-md);
}

.network-visual-content h2 {
    margin-bottom: 16px;

    color: var(--text-primary);

    font-size: clamp(28px, 4vw, 40px);

    line-height: 1.3;
}

.network-visual-content > p {
    margin-bottom: 25px;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.9;
}

.network-visual-points {
    display: grid;

    gap: 10px;

    margin-bottom: 28px;
}

.visual-point {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 600;
}

.visual-point > span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

    background: rgba(22, 184, 212, 0.12);

    border-radius: 50%;

    color: var(--cyan);

    font-weight: 800;
}


/* =========================================================
   ROUTE MAP
========================================================= */

.route-map {
    position: relative;

    min-height: 430px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(14, 107, 168, 0.07),
            rgba(22, 184, 212, 0.03)
        ),
        var(--surface-soft);

    border: 1px solid var(--border-color);

    border-radius: 22px;
}

.route-node {
    position: absolute;

    z-index: 4;

    display: flex;
    align-items: center;

    gap: 6px;

    color: var(--text-primary);

    font-family: "Inter", "Cairo", sans-serif;

    font-size: 10px;
    font-weight: 700;
}

.route-node span {
    width: 9px;
    height: 9px;

    background: var(--cyan);

    border: 2px solid var(--surface);

    border-radius: 50%;

    box-shadow: 0 0 0 1px var(--cyan);
}

.route-node-main {
    top: 48%;
    left: 48%;

    flex-direction: column;

    transform: translate(-50%, -50%);

    padding: 13px 18px;

    background: var(--blue);

    border-radius: 12px;

    color: #ffffff;

    box-shadow: var(--shadow-md);
}

.route-node-main span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    background: rgba(255, 255, 255, 0.14);

    border: 0;

    color: #ffffff;

    box-shadow: none;

    font-size: 11px;
}

.route-node-main strong {
    color: #ffffff;
}

.route-node-asia {
    top: 18%;
    right: 9%;
}

.route-node-jeddah {
    top: 31%;
    right: 28%;
}

.route-node-dubai {
    top: 43%;
    right: 13%;
}

.route-node-djibouti {
    bottom: 25%;
    right: 27%;
}

.route-node-yemen {
    bottom: 13%;
    left: 46%;
}

.route-node-europe {
    top: 16%;
    left: 12%;
}

.route-path {
    position: absolute;

    z-index: 2;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--cyan),
        transparent
    );

    transform-origin: left center;

    opacity: 0.65;
}

.path-1 {
    width: 230px;

    top: 38%;
    left: 47%;

    transform: rotate(-25deg);
}

.path-2 {
    width: 170px;

    top: 47%;
    left: 49%;

    transform: rotate(-5deg);
}

.path-3 {
    width: 180px;

    top: 52%;
    left: 48%;

    transform: rotate(30deg);
}

.path-4 {
    width: 150px;

    top: 51%;
    left: 48%;

    transform: rotate(88deg);
}

.path-5 {
    width: 260px;

    top: 44%;
    left: 47%;

    transform: rotate(190deg);
}

.route-caption {
    position: absolute;

    bottom: 20px;
    left: 50%;

    transform: translateX(-50%);

    width: max-content;

    padding: 7px 12px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: 8px;

    color: var(--text-secondary);

    font-family: "Inter", sans-serif;

    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   TRACKING
========================================================= */

.tracking-section {
    background: var(--bg-secondary);
}

.tracking-box {
    padding: 45px;

    background:
        linear-gradient(
            135deg,
            rgba(14, 107, 168, 0.08),
            transparent
        ),
        var(--surface);

    border: 1px solid var(--border-color);

    border-radius: 25px;

    box-shadow: var(--shadow-md);
}

.tracking-content h2 {
    margin-bottom: 10px;

    color: var(--text-primary);

    font-size: 34px;
    font-weight: 800;
}

.tracking-content p {
    max-width: 750px;

    margin-bottom: 25px;

    color: var(--text-secondary);

    font-size: 14px;
}

.tracking-form {
    display: flex;

    max-width: 800px;

    gap: 10px;
}

.tracking-form input {
    flex: 1;

    min-height: 48px;

    padding: 0 16px;

    background: var(--bg-secondary);

    border: 1px solid var(--border-color);

    border-radius: 10px;

    outline: none;

    color: var(--text-primary);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.tracking-form input::placeholder {
    color: var(--text-muted);
}

.tracking-form input:focus {
    border-color: var(--blue);

    box-shadow: 0 0 0 3px rgba(14, 107, 168, 0.10);
}

.demo-message {
    margin-top: 15px;

    color: var(--blue);

    font-size: 12px;
}


/* =========================================================
   RFQ
========================================================= */

.rfq-section {
    background: var(--bg-primary);
}

.rfq-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 45px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: 25px;

    box-shadow: var(--shadow-md);
}

.rfq-content h2 {
    margin-bottom: 10px;

    color: var(--text-primary);

    font-size: 32px;

    line-height: 1.3;
}

.rfq-content p {
    max-width: 700px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 14px;
}


/* =========================================================
   FEATURES
========================================================= */

.features-section {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.feature-card {
    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 18px;

    background: var(--surface-soft);

    border-radius: 12px;

    font-size: 20px;
}

.feature-card h3 {
    margin-bottom: 9px;

    color: var(--text-primary);

    font-size: 17px;
    font-weight: 800;
}

.feature-card p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.9;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            #0b1f3a,
            #083b66
        );

    color: #ffffff;
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.final-cta .section-eyebrow {
    color: var(--cyan);
}

.final-cta h2 {
    margin-bottom: 12px;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.3;
}

.final-cta p {
    max-width: 720px;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
}

.final-cta-actions {
    display: flex;

    gap: 10px;

    flex-shrink: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #061426;

    color: #ffffff;

    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.7fr 1fr 1fr 1fr;

    gap: 45px;

    padding-bottom: 45px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 18px;
}

.footer-logo img {
    width: 45px;
    height: 45px;

    object-fit: contain;
}

.footer-logo span {
    display: flex;
    flex-direction: column;

    line-height: 1.2;
}

.footer-logo strong {
    color: #ffffff;

    font-family: "Inter", sans-serif;

    font-size: 16px;
}

.footer-logo small {
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.60);

    font-size: 9px;
}

.footer-brand > p {
    max-width: 420px;

    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 12px;

    line-height: 1.9;
}


/* =========================================================
   SOCIAL
========================================================= */

.social-links {
    display: flex;
    align-items: center;

    gap: 8px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 8px;

    transition:
        background-color var(--transition),
        transform var(--transition);
}

.social-icon:hover {
    background: var(--blue);

    transform: translateY(-2px);
}

.social-icon svg {
    width: 15px;
    height: 15px;

    fill: #ffffff;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 9px;
}

.footer-column h3 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--cyan);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.50);

    font-size: 10px;
}

.footer-legal {
    display: flex;

    gap: 18px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.55);

    font-size: 10px;
}

.footer-legal a:hover {
    color: #ffffff;
}


/* =========================================================
   COOKIE BANNER
========================================================= */

.cookie-banner {
    position: fixed;

    z-index: 2000;

    right: 20px;
    bottom: 20px;
    left: 20px;

    max-width: 900px;

    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 17px 20px;

    background: var(--surface);

    border: 1px solid var(--border-color);

    border-radius: 15px;

    box-shadow: var(--shadow-lg);
}

.cookie-content {
    display: flex;
    align-items: center;

    gap: 12px;
}

.cookie-icon {
    font-size: 22px;
}

.cookie-content h3 {
    margin-bottom: 2px;

    color: var(--text-primary);

    font-size: 13px;
}

.cookie-content p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 10px;
}

.cookie-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.cookie-actions > a {
    color: var(--blue);

    font-size: 10px;
    font-weight: 700;
}

.cookie-actions .btn {
    min-height: 36px;

    padding: 0 15px;

    font-size: 11px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border-color);
    border-radius: 50%;

    background: var(--surface);
    color: var(--primary);

    box-shadow: var(--shadow-md);

    cursor: pointer;

    /* مهم: يبقى فوق جميع عناصر الصفحة */
    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(15px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

/* يظهر أثناء النزول */
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* الوضع الليلي */
html.dark .back-to-top {
    background: var(--surface);
    color: var(--cyan);
    border-color: var(--border-color);
}

html.dark .back-to-top:hover {
    background: var(--cyan);
    color: #071421;
}

/* RTL */
html[dir="rtl"] .back-to-top {
    right: auto;
    left: 24px;
}

/* الهاتف */
@media (max-width: 700px) {

    .back-to-top {
        width: 42px;
        height: 42px;
        right: 16px;
        bottom: 16px;
    }

    html[dir="rtl"] .back-to-top {
        right: auto;
        left: 16px;
    }
}

/* =========================================================
   DARK MODE SPECIFIC FIXES
========================================================= */

html.dark .hero-section {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(22, 184, 212, 0.08),
            transparent 32%
        ),
        var(--bg-primary);
}

html.dark .hero-description,
html.dark .section-heading p,
html.dark .gateway-card p,
html.dark .service-card p,
html.dark .process-card p,
html.dark .feature-card p,
html.dark .tracking-content p,
html.dark .rfq-content p {
    color: var(--text-secondary);
}

html.dark .network-highlight {
    background: #10283c;
}

html.dark .gateway-card,
html.dark .service-card,
html.dark .process-card,
html.dark .feature-card,
html.dark .network-visual-wrapper,
html.dark .tracking-box,
html.dark .rfq-card,
html.dark .hero-map-card {
    background: var(--surface);
}

html.dark .route-map {
    background: var(--surface-soft);
}


/* =========================================================
   RTL / LTR
========================================================= */

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .network-visual-content,
html[dir="rtl"] .tracking-content,
html[dir="rtl"] .rfq-content {
    text-align: right;
}

html[dir="ltr"] .hero-content,
html[dir="ltr"] .section-heading,
html[dir="ltr"] .network-visual-content,
html[dir="ltr"] .tracking-content,
html[dir="ltr"] .rfq-content {
    text-align: left;
}


/* =========================================================
   FOCUS
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(22, 184, 212, 0.35);

    outline-offset: 2px;
}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    background: var(--cyan);

    color: #ffffff;
}

/* =========================================================
   RASEEF LINK — BACK TO TOP ENHANCEMENT
   ========================================================= */

.back-to-top {
    /* رفع الزر عن أسفل الشاشة */
    bottom: 65px;

    /* حجم مناسب */
    width: 48px;
    height: 48px;

    /* خلفية واضحة */
    background: #ffffff;
    color: #0B1F3A;

    /* حدود زرقاء واضحة */
    border: 2px solid #0E6BA8;
    border-radius: 50%;

    /* ظل يساعد على إبراز الدائرة */
    box-shadow:
        0 4px 14px rgba(11, 31, 58, 0.22),
        0 0 0 3px rgba(14, 107, 168, 0.10);

    z-index: 99999;
}

/* عند ظهور الزر */
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* عند تمرير الماوس */
.back-to-top:hover {
    background: #0E6BA8;
    color: #ffffff;
    border-color: #0E6BA8;

    transform: translateY(-4px);

    box-shadow:
        0 7px 20px rgba(14, 107, 168, 0.35);
}

/* الوضع الليلي */
html.dark .back-to-top {
    background: #0B1F3A;
    color: #16B8D4;
    border: 2px solid #16B8D4;

    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.45),
        0 0 0 3px rgba(22, 184, 212, 0.12);
}

html.dark .back-to-top:hover {
    background: #16B8D4;
    color: #071421;
    border-color: #16B8D4;
}

/* الهواتف */
@media (max-width: 700px) {
    .back-to-top {
        bottom: 75px;
        width: 44px;
        height: 44px;
    }
}

/* =========================================================
   ABOUT PAGE — IMAGE CARDS
   ========================================================= */

/* ---------- Top Image ---------- */

.hero-map-card {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
}

.about-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}


/* ---------- Technology Image ---------- */

.route-map {
    width: 100%;
    height: 420px;
    min-height: 420px;
    overflow: hidden;
    border-radius: 20px;
}

.about-technology-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .hero-map-card {
        width: 100%;
        height: 300px;
        min-height: 300px;
    }

    .about-hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    .route-map {
        width: 100%;
        height: 300px;
        min-height: 300px;
    }

    .about-technology-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}