
/* =========================================================
   AJEEB EXPRESS — HOME PAGE
   Unified CSS | Hero + Tracking + Marketplaces
========================================================= */

/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    padding: 128px var(--side-padding) 120px;
    overflow: hidden;
    box-sizing: border-box;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        radial-gradient(circle at 8% 12%, rgba(202, 76, 78, .19), transparent 31%),
        radial-gradient(circle at 92% 20%, rgba(214, 111, 113, .16), transparent 32%),
        linear-gradient(180deg, #f6f4f4, #f7f6f6 60%, var(--bg) 100%);
}

html[data-theme="dark"] .hero::before {
    background:
        radial-gradient(circle at 8% 12%, rgba(189, 30, 32, .20), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(189, 30, 32, .12), transparent 32%),
        linear-gradient(180deg, #17181b, #111215);
}

/* Background glow */

.hero-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(189, 30, 32, .16);
    filter: blur(75px);
    z-index: -2;
    pointer-events: none;
    animation: glowMove 7s ease-in-out infinite alternate;
}

.glow-left {
    left: -190px;
    top: 120px;
}

.glow-right {
    right: -200px;
    top: 130px;
    animation-delay: -3s;
}

/* =========================================================
   HERO LAYOUT
========================================================= */

.hero-inner {
    width: min(100%, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: stretch;
    gap: 64px;
    box-sizing: border-box;
    direction: ltr;
}

html[dir="rtl"] .hero-inner {
    direction: rtl;
}

.hero-content,
.hero-visual {
    position: relative;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    z-index: 3;
    width: 100%;
    max-width: 570px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
    animation: fadeUp .8s var(--ease) both;
}

.eyebrow {
    margin: 0 0 13px;
    color: #965255;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .34em;
    line-height: 1.4;
}

html[dir="rtl"] .eyebrow {
    letter-spacing: .05em;
}

.hero h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(48px, 4.7vw, 70px);
    line-height: .96;
    letter-spacing: -.05em;
    font-weight: 800;
}

html[dir="rtl"] .hero h1 {
    letter-spacing: -.02em;
    line-height: 1.06;
}

.hero-accent {
    color: var(--primary);
}

.hero-description {
    width: 100%;
    max-width: 540px;
    margin: 18px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================================
   HERO VISUAL + SHIP IMAGE
========================================================= */

.hero-visual {
    width: 100%;
    min-width: 0;
    margin: 0 0 105px;
    padding: 0;
    display: flex;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 430px;
    min-width: 0;
    margin: 0;
    overflow: visible;
    border-radius: 27px;
    background: #d9dde1;
    box-shadow: 0 25px 65px rgba(25, 25, 25, .08);
    animation: imageReveal .9s .12s var(--ease) both;
}

.hero-image-container > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 27px;
    transform: scale(1.02);
    transition: transform 1.2s var(--ease);
}

.hero-image-container:hover > img {
    transform: scale(1.055);
}

/* =========================================================
   LOCATION CARDS
========================================================= */

.location-card {
    position: absolute;
    z-index: 5;
    min-width: 165px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 15px;
    background: rgba(41, 42, 45, .62);
    color: #fff;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    box-sizing: border-box;
}

.location-card small {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .62);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .24em;
}

.location-card strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
}

.location-from {
    top: 21px;
    inset-inline-start: 22px;
}

.location-to {
    inset-inline-end: 18px;
    bottom: 28px;
}

/* =========================================================
   TRACKING CARD
========================================================= */

.hero-tracking-card {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: -105px;
    transform: translateX(-50%);
    width: calc(100% - 44px);
    max-width: 650px;
    padding: 25px 27px 21px;
    border: 1px solid var(--border);
    border-radius: 23px;
    background: var(--surface-glass);
    color: var(--text);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-sizing: border-box;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

/* =========================================================
   TRACKING HEADER
========================================================= */

.tracking-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tracking-head h3 {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.025em;
}

.live {
    height: 26px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    border: 1px solid rgba(189, 32, 36, .18);
    border-radius: 999px;
    background: rgba(189, 32, 36, .05);
    color: #a43c40;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .2em;
}

.live span {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #bd2024;
    box-shadow: 0 0 0 4px rgba(189, 32, 36, .08);
}

/* =========================================================
   TRACKING DESCRIPTION
========================================================= */

.tracking-description {
    max-width: 600px;
    margin: 10px 0 0;
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.55;
}

/* =========================================================
   TRACKING FORM
========================================================= */

.tracking-form {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 105px;
    gap: 12px;
    margin-top: 17px;
}

.tracking-input-wrap {
    --tracking-color: var(--primary);
    position: relative;
    width: 100%;
    min-width: 0;
    border-radius: 14px;
    isolation: isolate;
}

/* Animated input border */

@property --tracking-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.tracking-input-wrap::before {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--tracking-angle, 0deg),
        transparent 0deg,
        transparent 270deg,
        color-mix(in srgb, var(--tracking-color) 20%, transparent) 300deg,
        var(--tracking-color) 335deg,
        transparent 360deg
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
    transition: opacity .3s ease;
}

@keyframes tracking-border-spin {
    to {
        --tracking-angle: 360deg;
    }
}

.tracking-input-wrap.is-animating::before {
    opacity: .9;
    animation: tracking-border-spin 5s linear infinite;
}

.tracking-input-wrap:focus-within::before {
    opacity: .9;
}

.tracking-input-wrap.has-value {
    --tracking-color: var(--success);
}

.tracking-input-wrap.has-value::before {
    opacity: 1;
    animation: tracking-border-spin 5s linear infinite;
}

/* Input */

.tracking-input {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 19px;
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    letter-spacing: .04em;
    caret-color: var(--tracking-color, var(--primary));
    box-sizing: border-box;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.tracking-input::placeholder {
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: .06em;
    opacity: 1;
}

.tracking-input:focus {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 10%, transparent);
}

.tracking-input::selection {
    background: rgba(177, 25, 23, .16);
}

.tracking-input-wrap.has-value .tracking-input {
    border-color: var(--success);
    caret-color: var(--success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 10%, transparent);
}

html[data-theme="dark"] .tracking-input {
    background: var(--surface);
    color: var(--text);
}

html[data-theme="dark"] .tracking-input::placeholder {
    color: var(--text-light);
}

/* =========================================================
   TRACK BUTTON
========================================================= */

.track-submit {
    height: 48px;
    min-width: 0;
    padding-inline: 12px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #c52227, #b8191e);
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 9px 20px rgba(189, 32, 36, .25);
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.track-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(189, 32, 36, .32);
}

.track-submit span + span {
    margin-inline-start: 0;
}

.track-submit.is-loading {
    opacity: .85;
    cursor: wait;
    pointer-events: none;
}

.track-button-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: track-spin .7s linear infinite;
}

@keyframes track-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   TRACKING FOOTER + WHATSAPP
========================================================= */

.tracking-footer {
    margin-top: 16px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 9px;
}

.whatsapp {
    min-height: 29px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(37, 190, 91, .11);
    color: #21a957;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.whatsapp-icon {
    font-size: 10px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 110px;
    }

    .hero-inner {
        gap: 45px;
    }

    .hero-content {
        max-width: 540px;
    }

    .hero h1 {
        font-size: clamp(44px, 5.6vw, 68px);
    }

    .hero-description {
        max-width: 520px;
        font-size: 13px;
    }

    .hero-visual {
        margin-bottom: 100px;
    }

    .hero-tracking-card {
        bottom: -95px;
        width: calc(100% - 40px);
    }

    .hero-image-container {
        height: 380px;
    }
}

/* =========================================================
   TABLET / MOBILE
   Text above image in both languages
========================================================= */

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 120px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
        width: 100%;
        max-width: var(--container);
    }

    .hero-content {
        width: 100%;
        max-width: 760px;
        margin-inline: auto;
        justify-content: flex-start;
        text-align: center;
    }

    .hero-description {
        max-width: 650px;
        margin-inline: auto;
    }

    .hero-visual {
        width: 100%;
        max-width: 760px;
        margin: 0 auto 100px;
        padding: 0;
    }

    .hero-image-container {
        height: auto;
        aspect-ratio: 16 / 10;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
    .hero {
        padding-top: 75px;
        padding-bottom: 110px;
    }

    .hero-inner {
        gap: 12px;
    }

    .hero-content {
        width: 100%;
        max-width: 760px;
        margin-inline: auto;
        text-align: center;
    }

    .hero h1 {
        margin-bottom: 14px;
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.08;
    }

    html[dir="rtl"] .hero h1 {
        line-height: 1.08;
    }

    .hero-description {
        max-width: 650px;
        margin: 0 auto;
        font-size: 12px;
        line-height: 1.65;
    }

    /* The visual's bottom margin reserves room for the card */
    .hero-visual {
        position: relative;
        display: block;
        width: 100%;
        min-height: 0;
        height: auto;
        margin: 0 0 125px;
        padding: 0;
    }

    .hero-image-container {
        width: 100%;
        height: 330px;
        aspect-ratio: auto;
        border-radius: 21px;
    }

    .hero-image-container > img {
        border-radius: 21px;
    }

    .location-card {
        min-width: 135px;
        padding: 12px;
        border-radius: 12px;
    }

    .location-card small {
        margin-bottom: 4px;
        font-size: 7px;
    }

    .location-card strong {
        font-size: 10px;
    }

    .location-from {
        top: 12px;
        inset-inline-start: 12px;
    }

    .location-to {
        inset-inline-end: 12px;
        bottom: 12px;
    }

    /* Tracking card: preserve its original compact design */
    .hero-tracking-card {
        left: 50%;
        bottom: -125px;
        transform: translateX(-50%);
        width: calc(100% - 20px);
        max-width: 650px;
        padding: 20px 16px 18px;
        border-radius: 19px;
    }

    .tracking-head {
        gap: 10px;
    }

    .tracking-head h3 {
        font-size: 15px;
    }

    .live {
        height: 24px;
        padding-inline: 9px;
        font-size: 8px;
    }

    .tracking-description {
        font-size: 10px;
        line-height: 1.55;
    }

    /* Keep the original mobile button layout */
    .tracking-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
        margin-top: 14px;
    }

    .tracking-input {
        height: 46px;
        padding-inline: 14px;
        font-size: 12px;
    }

    .track-submit {
        width: 100%;
        height: 46px;
        padding-inline: 12px;
        font-size: 12px;
    }

    /* Footer and WhatsApp stay visible */
    .tracking-footer {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-direction: column;
        gap: 12px;
        margin-top: 14px;
        padding-top: 14px;
    }

    .whatsapp {
        min-height: 29px;
    }

    /* Marketplaces spacing */
    .marketplaces {
        position: relative;
        z-index: 1;
        margin-top: 0;
        padding-top: 15px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {
    .hero {
        padding-top: 68px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-inner {
        gap: 12px;
    }

    .hero-image-container {
        height: 300px;
    }

    .hero-tracking-card {
        width: calc(100% - 14px);
        padding: 18px 12px 16px;
    }

    .tracking-head h3 {
        font-size: 14px;
    }

    .tracking-description {
        font-size: 10px;
    }

    .tracking-footer {
        gap: 10px;
    }
}

/* =========================================================
   MARKETPLACES
========================================================= */

.marketplaces {
    position: relative;
    padding: 42px 0 62px;
    background: var(--bg);
}

.marquee {
    position: relative;
    width: 105%;
    margin-inline-start: -2.5%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-black {
    z-index: 2;
    color: #fff;
    background: #171719;
    transform: rotate(-1deg);
}

.marquee-red {
    z-index: 3;
    margin-top: -4px;
    color: #fff;
    background: var(--primary);
    transform: rotate(1.5deg);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    width: max-content;
    min-width: max-content;
    padding: 13px 0;
    animation: marquee 22s linear infinite;
    will-change: transform;
}

.marquee-red .marquee-track {
    animation-direction: reverse;
    animation-duration: 25s;
}

.marquee-item {
    font-size: clamp(19px, 2.3vw, 29px);
    font-weight: 800;
}

.marquee-star {
    color: var(--primary);
}

.marquee-red .marquee-star {
    color: #fff;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .tracking-input-wrap.is-animating::before,
    .tracking-input-wrap.has-value::before {
        animation: none;
    }

    .marquee-track {
        animation: none;
    }

    .hero-glow,
    .hero-content,
    .hero-image-container {
        animation: none;
    }
}
/* =========================================================
   TRUSTED ACROSS BORDERS
========================================================= */

.trust-section {
    padding-block: var(--section-padding, 80px);
    background: var(--bg, #f8f9fb);
}

#trust .section-head {
    margin-bottom: 34px;
}

#trust .section-head h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: .98;
    letter-spacing: -.045em;
    color: var(--text, #17202d);
}

html[dir="rtl"] #trust .section-head h2 {
    letter-spacing: -.015em;
}

#trust .section-head p {
    max-width: 390px;
    margin: 13px 0 0;
    color: var(--text-secondary, #747d89);
    font-size: 13px;
    line-height: 1.65;
}

/* =========================================================
   STATISTICS CARDS
========================================================= */

#trust .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

#trust .stat-card {
    position: relative;
    min-width: 0;
    min-height: 115px;
    padding: 20px;

    border: 1px solid var(--border, #e5e7eb);
    border-radius: 15px;
    background: var(--surface, #fff);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, .035));

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

#trust .stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(177, 25, 23, .25);
    box-shadow: var(--shadow-md, 0 8px 22px rgba(0, 0, 0, .07));
}

#trust .stat-label {
    display: block;
    color: var(--text-secondary, #747d89);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.6;
}

html[dir="rtl"] #trust .stat-label {
    letter-spacing: 0;
}

#trust .stat-number {
    margin-top: 15px;
    color: var(--text, #17202d);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

#trust .stat-number span {
    color: var(--primary, #B11917);
    font-size: .65em;
}

/* =========================================================
   MAP CARD
========================================================= */

#trust .map-card {
    position: relative;
    width: 100%;
    height: clamp(340px, 42vw, 480px);

    overflow: hidden;
    isolation: isolate;

    border: 1px solid var(--border, #e5e7eb);
    border-radius: 17px;
    background: #e9edf0;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, .035));
}

#trust .ajeeb-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #e9edf0;
}

#trust .ajeeb-map .leaflet-container {
    width: 100%;
    height: 100%;
    background: #e9edf0;
    font-family: var(--font, Arial, sans-serif);
    outline: none;
}

#trust .ajeeb-map .leaflet-pane {
    z-index: 1;
}

#trust .ajeeb-map .leaflet-control {
    z-index: 400;
}

/* Zoom controls */

#trust .ajeeb-map .leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .09) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .09);
}

#trust .ajeeb-map .leaflet-control-zoom a {
    width: 31px;
    height: 31px;
    line-height: 30px;
    color: #17202d;
    background: #fff;
    border-bottom: 1px solid #e7e9ed;
}

#trust .ajeeb-map .leaflet-control-zoom a:hover {
    color: #B11917;
    background: #f8f8f8;
}

/* Map attribution */

#trust .ajeeb-map .leaflet-control-attribution {
    padding: 2px 5px;
    color: #555;
    background: rgba(255, 255, 255, .88);
    font-size: 9px;
}

#trust .ajeeb-map .leaflet-control-attribution a {
    color: #444;
}

/* =========================================================
   PULSING CITY MARKERS
========================================================= */

#trust .ajeeb-location-marker {
    position: relative;
    width: 24px;
    height: 24px;
    overflow: visible;
}

#trust .ajeeb-location-marker .marker-pulse {
    position: absolute;
    inset: 2px;

    border: 1.5px solid #B11917;
    border-radius: 50%;
    background: rgba(177, 25, 23, .13);

    animation: ajeeb-location-pulse 2s ease-out infinite;
}

#trust .ajeeb-location-marker .marker-core {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 9px;
    height: 9px;

    border: 2px solid #fff;
    border-radius: 50%;
    background: #B11917;

    box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
    transform: translate(-50%, -50%);
}

@keyframes ajeeb-location-pulse {
    0% {
        transform: scale(.65);
        opacity: .95;
    }

    70% {
        transform: scale(1.5);
        opacity: .25;
    }

    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

/* =========================================================
   CITY LABELS
========================================================= */

#trust .ajeeb-map .leaflet-tooltip.ajeeb-city-label {
    padding: 5px 8px;

    color: #17202d;
    background: rgba(255, 255, 255, .96);

    border: 1px solid rgba(177, 25, 23, .18);
    border-radius: 6px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .10);

    font-family: var(--font, Arial, sans-serif);
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

#trust .ajeeb-map .ajeeb-city-label::before {
    display: none;
}

/* Popup */

#trust .ajeeb-map .leaflet-popup-content-wrapper {
    color: #17202d;
    background: #fff;
    border-radius: 9px;
}

#trust .ajeeb-map .leaflet-popup-content {
    margin: 11px 14px;
    font-family: var(--font, Arial, sans-serif);
    font-size: 12px;
    line-height: 1.6;
}

#trust .ajeeb-map .leaflet-popup-tip {
    background: #fff;
}

/* =========================================================
   MAP LEGEND
========================================================= */

#trust .map-legend {
    position: absolute;
    z-index: 500;
    inset-inline-end: 15px;
    bottom: 15px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    max-width: calc(100% - 30px);
    padding: 10px 13px;

    color: var(--text-secondary, #747d89);
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 9px;

    box-shadow: 0 3px 15px rgba(0, 0, 0, .09);
    font-size: 9px;
    line-height: 1.5;
}

#trust .map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#trust .legend-pulse {
    position: relative;
    display: inline-block;
    flex-shrink: 0;

    width: 7px;
    height: 7px;

    background: #B11917;
    border-radius: 50%;
}

#trust .legend-pulse::after {
    content: "";
    position: absolute;
    inset: -4px;

    border: 1px solid rgba(177, 25, 23, .5);
    border-radius: 50%;

    animation: ajeeb-legend-pulse 1.8s ease-out infinite;
}

@keyframes ajeeb-legend-pulse {
    0% {
        transform: scale(.6);
        opacity: .9;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

#trust .map-legend-divider {
    width: 1px;
    height: 13px;
    background: var(--border, #e5e7eb);
}

/* =========================================================
   DARK MODE
========================================================= */

html.dark #trust .ajeeb-map,
body.dark #trust .ajeeb-map,
[data-theme="dark"] #trust .ajeeb-map {
    background: #171c24;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    #trust .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #trust .stat-card {
        min-height: 105px;
    }

    #trust .stat-number {
        font-size: clamp(29px, 5vw, 38px);
    }

    #trust .map-card {
        height: 390px;
    }
}

@media (max-width: 600px) {
    .trust-section {
        padding-block: 48px;
    }

    #trust .section-head {
        margin-bottom: 25px;
    }

    #trust .section-head h2 {
        font-size: clamp(31px, 9vw, 42px);
    }

    #trust .section-head p {
        font-size: 12px;
    }

    #trust .stats-grid {
        gap: 9px;
        margin-bottom: 15px;
    }

    #trust .stat-card {
        min-height: 100px;
        padding: 15px 13px;
        border-radius: 12px;
    }

    #trust .stat-label {
        font-size: 8px;
    }

    #trust .stat-number {
        margin-top: 12px;
        font-size: 30px;
    }

    #trust .map-card {
        height: 350px;
        border-radius: 13px;
    }

    #trust .ajeeb-map .leaflet-control-zoom a {
        width: 28px;
        height: 28px;
        line-height: 27px;
    }

    #trust .ajeeb-map .leaflet-tooltip.ajeeb-city-label {
        padding: 4px 6px;
        font-size: 9px;
    }

    #trust .map-legend {
        inset-inline-end: 9px;
        bottom: 9px;
        gap: 8px;
        padding: 8px 10px;
        font-size: 8px;
    }
}

/* Respect the visitor's motion preference */

@media (prefers-reduced-motion: reduce) {
    #trust .ajeeb-location-marker .marker-pulse,
    #trust .legend-pulse::after {
        animation: none !important;
    }

    #trust .stat-card {
        transition: none;
    }
}


/* =========================================================
   SERVICES
========================================================= */
.services-section {
    padding-block: var(--section-padding);
    background: var(--bg);
}
.services-title {
    max-width: 710px;
    margin: 0 auto 46px;
    text-align: center;
}
.services-eyebrow {
    color: #965255;
    margin: 0 0 14px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .35em;
}
html[dir="rtl"] .services-eyebrow {
    letter-spacing: .04em;
}
.services-title h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 55px);
    line-height: 1;
    letter-spacing: -.045em;
}
.services-title p {
    max-width: 680px;
    margin: 16px auto 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.service-card {
    position: relative;
    min-height: 245px;
    padding: 76px 27px 25px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(189, 30, 32, .22);
}
.service-icon {
    position: absolute;
    top: 22px;
    inset-inline-start: 24px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 10px 22px rgba(189, 30, 32, .28);
}
.service-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}
.service-card h3 {
    margin: 0 0 11px;
    font-size: 18px;
    letter-spacing: -.025em;
}
.service-card p {
    margin: 0;
    min-height: 66px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.55;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    transition: gap var(--transition);
}
.service-card:hover .service-link {
    gap: 14px;
}

/* =========================================
   SERVICES MOBILE SLIDER
========================================= */

/* Hidden on desktop */
#services .services-slider-dots {
    display: none;
}

@media (max-width: 700px) {

    #services .services-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;

        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;

        margin: 0;
        padding: 4px 2px 10px;

        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;

        touch-action: pan-x pan-y;
    }

    #services .services-grid::-webkit-scrollbar {
        display: none;
    }

    #services .service-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;

        scroll-snap-align: center;
        scroll-snap-stop: always;

        /* Keep the existing service-card design */
        min-height: 245px;

        transition:
            box-shadow 220ms ease,
            border-color 220ms ease;
    }

    /* Avoid desktop hover movement on touch screens */
    #services .service-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    #services .service-card:hover .service-link {
        gap: 9px;
    }

    /* Slider dots */
    #services .services-slider-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 9px;

        width: 100%;
        margin: 16px 0 0;
        padding: 0;
    }

    #services .services-slider-dot {
        appearance: none;
        -webkit-appearance: none;

        display: block;
        width: 7px;
        height: 7px;
        flex: 0 0 7px;

        padding: 0;
        border: 0;
        border-radius: 50%;

        background: var(--text-light);
        opacity: 0.4;
        cursor: pointer;

        transition:
            width 220ms ease,
            flex-basis 220ms ease,
            background-color 220ms ease,
            opacity 220ms ease;
    }

    #services .services-slider-dot.is-active {
        width: 23px;
        flex-basis: 23px;
        border-radius: 10px;

        background: var(--primary);
        opacity: 1;
    }

    #services .services-slider-dot:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #services .services-grid {
        scroll-behavior: auto;
    }

    #services .services-slider-dot {
        transition: none;
    }
}
/* =========================================================
   CUSTOMER SOLUTIONS
========================================================= */
.customer-solutions {
    padding-block: var(--section-padding);
    background: var(--bg);
}
.customer-solutions-inner {
    width: min(calc(100% - (var(--side-padding) * 2)),
            var(--container));
    margin-inline: auto;
}
.customer-solutions-head {
    text-align: center;
    margin-bottom: 34px;
}
.customer-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 30px;
}
.customer-tab {
    border: 0;
    border-radius: 14px;
    padding: 13px 20px;
    background: var(--surface);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}
.customer-tab:hover {
    transform: translateY(-2px);
}
.customer-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.customer-panel {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr);
    gap: 36px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}
.customer-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border-radius: 22px;
    background: #d7d9dc;
}
.customer-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.customer-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(to top,
            rgba(108, 32, 33, .72),
            transparent);
}
.customer-image-top {
    position: absolute;
    z-index: 2;
    top: 16px;
    inset-inline-start: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(189, 30, 32, .65);
    color: #fff;
    font-size: 8px;
    letter-spacing: .22em;
}
.customer-image-bottom {
    position: absolute;
    z-index: 2;
    inset-inline: 22px;
    bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    color: #fff;
}
.customer-image-bottom strong {
    font-size: 25px;
}
.customer-image-bottom small {
    font-size: 8px;
    letter-spacing: .18em;
}
.customer-content {
    min-width: 0;
    padding: 25px 12px 20px;
}
.customer-content h3 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
}
.customer-content>p {
    margin: 16px 0 0;
    color: var(--text-secondary);
    line-height: 1.65;
}
.customer-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}
.customer-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
    padding: 15px;
    border-radius: 14px;
    background: color-mix(in srgb,
            var(--surface) 86%,
            var(--bg));
    border: 1px solid var(--border);
}
.customer-number {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}
.customer-point p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}
.customer-cta {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 24px;
}
.text-cta {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}
/* =========================================================
   SHIPPING CALCULATOR
========================================================= */
.shipping-calculator {
    padding-block: var(--section-padding);
    background: var(--bg);
}
.shipping-calculator-inner {
    width: min(calc(100% - (var(--side-padding) * 2)),
            var(--container));
    margin-inline: auto;
}
.shipping-calculator-head {
    text-align: center;
}
.shipping-calculator-head .section-copy {
    max-width: 680px;
    margin: 14px auto 0;
    color: var(--text-secondary);
    line-height: 1.45;
    font-size: 13px;
}
.calc-main-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 34px 0 16px;
}
.calc-main-tab {
    min-height: 42px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}
.calc-main-tab:hover {
    transform: translateY(-2px);
}
.calc-main-tab.active {
    border-color: transparent;
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.calc-tab-icon {
    font-size: 13px;
}
.calc-info-bar {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.calc-info-bar p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 9px;
    line-height: 1.5;
}
.calc-info-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}
.calc-info-actions button {
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 9px;
    font-weight: 700;
    transition: background var(--transition);
}
.calc-info-actions button:hover {
    background: rgba(189, 30, 32, .06);
}
.calc-panel {
    display: none;
    grid-template-columns:
        minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: stretch;
    gap: 28px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}
.calc-panel.active {
    display: grid;
    animation: calcFade .35s var(--ease);
}
@keyframes calcFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.calc-left {
    min-width: 0;
    padding: 2px 0;
}
.calc-label-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 11px;
    border: 1px solid rgba(189, 30, 32, .22);
    border-radius: 999px;
    background: rgba(189, 30, 32, .07);
    color: #975154;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .2em;
}
.calc-left h3 {
    margin: 18px 0 0;
    font-size: clamp(23px, 2.3vw, 32px);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.calc-left>p {
    max-width: 520px;
    margin: 12px 0 0;
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 11px;
}
.calc-fields-grid {
    display: grid;
    gap: 10px;
}
.calc-fields-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 27px;
}
.weight-extra {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 50%;
    margin-top: 10px;
}
.calc-field {
    min-width: 0;
}
.calc-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 9px;
}
.calc-field input,
.calc-field select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    outline: 0;
    background: color-mix(in srgb,
            var(--surface) 72%,
            var(--bg));
    color: var(--text);
    font-size: 11px;
    transition:
        border var(--transition),
        box-shadow var(--transition);
}
.calc-field input:focus,
.calc-field select:focus {
    border-color: rgba(189, 30, 32, .3);
    box-shadow: 0 0 0 3px rgba(189, 30, 32, .06);
}
.input-unit-wrap {
    position: relative;
}
.input-unit-wrap input {
    padding-inline-end: 45px;
}
.input-unit-wrap span {
    position: absolute;
    top: 50%;
    inset-inline-end: 12px;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 7px;
    letter-spacing: .12em;
}
.calc-formula {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 8px;
    letter-spacing: .05em;
}
/* =========================================================
   CALCULATOR RESULT
========================================================= */
.calc-result-card {
    min-width: 0;
    padding: 22px 20px;
    border: 1px solid rgba(189, 30, 32, .22);
    border-radius: 21px;
    background: rgba(189, 30, 32, .10);
}
html[data-theme="dark"] .calc-result-card {
    background: rgba(189, 30, 32, .13);
}
.instant-badge {
    width: max-content;
    min-height: 24px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    color: #975154;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .2em;
}
html[data-theme="dark"] .instant-badge {
    background: rgba(255, 255, 255, .06);
}
.instant-badge span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}
.result-small-title {
    margin: 23px 0 0;
    color: #9b4245;
    font-size: 10px;
}
.result-big {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 4px;
}
.result-big strong {
    font-size: clamp(46px, 4vw, 61px);
    line-height: .95;
    letter-spacing: -.055em;
}
.result-big span {
    color: var(--text-secondary);
    font-size: 25px;
    font-weight: 600;
}
.result-divider {
    width: 100%;
    height: 1px;
    margin: 21px 0 16px;
    background: rgba(189, 30, 32, .11);
}
.calc-result-card p {
    margin: 6px 0;
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1.45;
}
.result-check {
    color: var(--text-secondary) !important;
}
.result-check::first-letter {
    color: var(--primary);
}
.result-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
    color: #8e1719;
    font-size: 10px;
    font-weight: 800;
}
/* =========================================================
   SEA / AIR TOGGLE
========================================================= */
.freight-toggle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 23px;
    overflow: hidden;
    border: 1px solid rgba(189, 30, 32, .20);
    border-radius: 11px;
}
.freight-option {
    min-height: 39px;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 10px;
    transition:
        background var(--transition),
        color var(--transition);
}
.freight-option.active {
    background: rgba(189, 30, 32, .09);
    color: var(--primary);
    font-weight: 800;
}
.freight-fields {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.freight-fields.active {
    display: grid;
}
/* =========================================================
   WHY AJEEB
========================================================= */
.why-section {
    padding-block: var(--section-padding);
    background: var(--bg);
}
.why-inner {
    width: min(calc(100% - (var(--side-padding) * 2)),
            var(--container));
    margin-inline: auto;
}
.why-head {
    max-width: 740px;
    margin: 0 auto 46px;
    text-align: center;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.why-card {
    min-width: 0;
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.why-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 14px;
    background: rgba(189, 30, 32, .08);
    border: 1px solid rgba(189, 30, 32, .18);
    color: var(--primary);
    font-size: 22px;
}
.why-card h3 {
    margin: 0;
    font-size: 18px;
}
.why-card p {
    margin: 12px 0 0;
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 12px;
}

/* =========================================
   WHY AJEEB - MOBILE SLIDER
========================================= */

#why .why-slider-dots {
    display: none;
}

@media (max-width: 700px) {

    #why .why-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        width: 100%;

        overflow-x: auto;
        overflow-y: hidden;

        margin: 0;
        padding: 4px 2px 10px;

        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x pan-y;
    }

    #why .why-grid::-webkit-scrollbar {
        display: none;
    }

    #why .why-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;

        scroll-snap-align: center;
        scroll-snap-stop: always;

        transition: box-shadow 220ms ease;
    }

    #why .why-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    /* Navigation dots */
    #why .why-slider-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 9px;

        width: 100%;
        margin: 16px 0 0;
        padding: 8px 0;
    }

    #why .why-slider-dot {
        appearance: none;
        -webkit-appearance: none;

        display: block;
        flex: 0 0 7px;
        width: 7px;
        height: 7px;

        padding: 0;
        border: 0;
        border-radius: 50%;

        background: var(--text-light);
        opacity: 0.45;
        cursor: pointer;

        transition:
            width 220ms ease,
            flex-basis 220ms ease,
            background-color 220ms ease,
            opacity 220ms ease;
    }

    #why .why-slider-dot.is-active {
        flex: 0 0 23px;
        width: 23px;
        border-radius: 10px;

        background: var(--primary);
        opacity: 1;
    }

    #why .why-slider-dot:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #why .why-grid {
        scroll-behavior: auto;
    }

    #why .why-slider-dot {
        transition: none;
    }
}
/* =========================================================
   CLIENT STORIES
========================================================= */
.stories-section {
    padding-block: var(--section-padding);
    background: var(--bg);
}
.stories-inner {
    width: min(calc(100% - (var(--side-padding) * 2)),
            var(--container));
    margin-inline: auto;
}
.stories-head {
    text-align: center;
    margin-bottom: 52px;
}
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: center;
}
.story-card {
    position: relative;
    min-width: 0;
    min-height: 335px;
    padding: 28px 28px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border);
    border-radius: 22px;
    background:
        linear-gradient(180deg,
            var(--surface) 0%,
            var(--surface) 55%,
            rgba(189, 30, 32, .08) 100%);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}
.story-card:nth-child(1) {
    transform: rotate(-2deg);
}
.story-card:nth-child(3) {
    transform: rotate(1.8deg);
}
.story-card:hover {
    transform: translateY(-7px) rotate(0);
    box-shadow: var(--shadow-md);
}
.story-rating {
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 2px;
}
.story-rating span {
    margin-inline-start: 6px;
    color: var(--text-secondary);
    letter-spacing: 0;
}
.story-arrow {
    position: absolute;
    top: 26px;
    inset-inline-end: 26px;
    color: var(--text-secondary);
}
.story-quote {
    margin: auto 0 24px;
    font-size: 15px;
    line-height: 1.55;
}
.story-person {
    padding-top: 17px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.story-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-red);
    font-size: 12px;
    font-weight: 800;
}
.story-person strong {
    display: block;
    font-size: 12px;
}
.story-person small {
    display: block;
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 10px;
}

/* =========================================
   CLIENT STORIES - MOBILE SLIDER
========================================= */

#stories .stories-slider-dots {
    display: none;
}

@media (max-width: 700px) {

    #stories .stories-grid {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 12px;

        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;

        margin: 0;
        padding: 8px 2px 12px;

        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x pan-y;
    }

    #stories .stories-grid::-webkit-scrollbar {
        display: none;
    }

    #stories .story-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;

        min-height: 335px;

        /* Remove decorative rotation on mobile */
        transform: none;

        scroll-snap-align: center;
        scroll-snap-stop: always;

        transition: box-shadow 220ms ease;
    }

    #stories .story-card:nth-child(1),
    #stories .story-card:nth-child(3) {
        transform: none;
    }

    #stories .story-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    /* Navigation dots */
    #stories .stories-slider-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 9px;

        width: 100%;
        margin: 14px 0 0;
        padding: 8px 0;
    }

    #stories .stories-slider-dot {
        appearance: none;
        -webkit-appearance: none;

        display: block;
        flex: 0 0 7px;
        width: 7px;
        height: 7px;

        padding: 0;
        border: 0;
        border-radius: 50%;

        background: var(--text-light);
        opacity: 0.45;
        cursor: pointer;

        transition:
            width 220ms ease,
            flex-basis 220ms ease,
            background-color 220ms ease,
            opacity 220ms ease;
    }

    #stories .stories-slider-dot.is-active {
        flex: 0 0 23px;
        width: 23px;
        border-radius: 10px;

        background: var(--primary);
        opacity: 1;
    }

    #stories .stories-slider-dot:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #stories .stories-grid {
        scroll-behavior: auto;
    }

    #stories .stories-slider-dot {
        transition: none;
    }
}
/* =========================================================
   TABLET — 1080px
========================================================= */
@media (max-width: 1080px) {
    .desktop-nav {
        display: none;
    }
    .menu-button {
        display: grid;
    }
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .customer-panel {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .customer-content {
        padding-inline: 4px;
    }
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* =========================================================
   TABLET / SMALL DESKTOP — 900px
========================================================= */
@media (max-width: 900px) {
    .customer-panel {
        grid-template-columns: 1fr;
    }
    .customer-image {
        min-height: 340px;
        height: 340px;
    }
    .customer-image img {
        height: 100%;
    }
    .calc-panel {
        grid-template-columns: 1fr;
    }
    .weight-extra {
        max-width: 100%;
    }
    .stories-grid {
        gap: 18px;
    }
}
/* =========================================================
   MOBILE — 720px
========================================================= */
@media (max-width: 720px) {
    :root {
        --side-padding: 15px;
        --section-padding: 76px;
    }
    /* -------------------------------------------------------
       HEADER
    ------------------------------------------------------- */
    .header {
        top: 9px;
    }
    .navbar {
        min-height: 52px;
        padding: 6px 7px 6px 12px;
        border-radius: 13px;
    }
    html[dir="rtl"] .navbar {
        padding: 6px 12px 6px 7px;
    }
    .track-header {
        display: none;
    }
    .logo-main {
        font-size: 15px;
    }
    .icon-button,
    .menu-button {
        width: 31px;
        height: 31px;
    }
    /* -------------------------------------------------------
       HERO
    ------------------------------------------------------- */
    .hero {
        min-height: 100svh;
        padding-top: 111px;
        padding-bottom: 21px;
    }
    .eyebrow {
        margin-bottom: 11px;
        font-size: 6.5px;
        letter-spacing: .22em;
    }
    .hero h1 {
        font-size: clamp(42px, 13vw, 57px);
        line-height: .96;
    }
    .hero-description {
        width: min(93%, 630px);
        font-size: 11px;
        margin-top: 15px;
    }
    .hero-buttons {
        margin-top: 18px;
        gap: 8px;
    }
    .button {
        min-height: 42px;
        padding-inline: 14px;
        font-size: 10px;
    }
    .hero-image-container {
        margin-top: 26px;
        aspect-ratio: 1.3 / 1;
        border-radius: 16px;
    }
    .hero-image-container img {
        object-position: center;
    }
    .location-card {
        min-width: 100px;
        padding: 8px 10px;
        border-radius: 9px;
    }
    .location-card strong {
        font-size: 7px;
    }
    .location-from {
        top: 10px;
        inset-inline-start: 10px;
    }
    .location-to {
        bottom: 10px;
        inset-inline-end: 10px;
    }
    /* -------------------------------------------------------
       MARKETPLACES
    ------------------------------------------------------- */
    .marketplaces {
        padding: 36px 0 54px;
    }
    .marquee-track {
        gap: 25px;
        padding: 11px 0;
    }
    .marquee-item {
        font-size: 18px;
    }
    /* -------------------------------------------------------
       TRUST
    ------------------------------------------------------- */
    .section-head h2 {
        font-size: 38px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }
    .stat-card {
        min-height: 105px;
        padding: 16px;
    }
    .stat-number {
        font-size: 29px;
    }
    .map-card {
        height: 300px;
    }
    /* -------------------------------------------------------
       SERVICES
    ------------------------------------------------------- */
    .services-title {
        margin-bottom: 35px;
    }
    .services-title h2 {
        font-size: 38px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        min-height: 220px;
    }
    /* -------------------------------------------------------
       CUSTOMER SOLUTIONS
    ------------------------------------------------------- */
    .customer-solutions-inner,
    .shipping-calculator-inner,
    .why-inner,
    .stories-inner,
    .final-cta-inner {
        width: calc(100% - (var(--side-padding) * 2));
    }
    .customer-solutions {
        padding-block: 75px;
    }
    .customer-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        margin-bottom: 24px;
        scrollbar-width: none;
    }
    .customer-tabs::-webkit-scrollbar {
        display: none;
    }
    .customer-tab {
        flex: 0 0 auto;
        padding: 11px 16px;
        white-space: nowrap;
    }
    .customer-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 12px;
        border-radius: 20px;
    }
    .customer-image {
        width: 100%;
        height: 300px;
        min-height: 300px;
        border-radius: 17px;
    }
    .customer-content {
        padding: 10px 4px 8px;
    }
    .customer-content h3 {
        font-size: 30px;
    }
    .customer-content>p {
        font-size: 12px;
    }
    .customer-points {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 20px;
    }
    .customer-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    /* -------------------------------------------------------
       SHIPPING CALCULATOR
    ------------------------------------------------------- */
    .shipping-calculator {
        padding-block: 75px;
    }
    .shipping-calculator-head .section-copy br {
        display: none;
    }
    .calc-main-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 2px 2px 7px;
        scrollbar-width: none;
    }
    .calc-main-tabs::-webkit-scrollbar {
        display: none;
    }
    .calc-main-tab {
        flex: 0 0 auto;
    }
    .calc-info-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .calc-info-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .calc-panel {
        grid-template-columns: 1fr;
        padding: 17px;
        gap: 20px;
        border-radius: 19px;
    }
    .calc-fields-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .weight-extra {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .freight-fields {
        grid-template-columns: 1fr;
    }
    .calc-result-card {
        padding: 19px;
        border-radius: 18px;
    }
    /* -------------------------------------------------------
       WHY AJEEB
    ------------------------------------------------------- */
    .why-section {
        padding-block: 75px;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .why-card {
        min-height: auto;
        padding: 22px;
    }
    .why-icon {
        margin-bottom: 20px;
    }
    /* -------------------------------------------------------
       STORIES
    ------------------------------------------------------- */
    .stories-section {
        padding-block: 75px;
    }
    .stories-head {
        margin-bottom: 34px;
    }
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .story-card {
        min-height: 300px;
        padding: 24px 22px 22px;
        transform: none !important;
    }
    .story-card:hover {
        transform: translateY(-5px) !important;
    }
    /* -------------------------------------------------------
       FINAL CTA
    ------------------------------------------------------- */
    .final-cta {
        padding-block: 20px 70px;
    }
    .final-cta-inner {
        min-height: 400px;
        padding: 45px 20px;
        border-radius: 22px;
    }
    .final-cta-inner::after {
        inset: 9px;
        border-radius: 18px;
    }
    .final-cta h2 {
        font-size: clamp(36px, 10vw, 50px);
    }
    .final-cta p {
        font-size: 12px;
        line-height: 1.6;
    }
    .final-cta-buttons {
        flex-direction: column;
        width: min(100%, 320px);
        margin-inline: auto;
    }
    .cta-light,
    .cta-outline {
        width: 100%;
    }
    /* -------------------------------------------------------
       TRACKING MODAL
    ------------------------------------------------------- */
    .modal-overlay {
        padding: 11px;
    }
    .tracking-modal {
        max-height: 91svh;
        padding: 20px 15px 16px;
        border-radius: 17px;
    }
    .tracking-title-row {
        padding-inline-end: 30px;
        flex-wrap: wrap;
    }
    .tracking-form {
        gap: 7px;
    }
    .track-submit {
        min-width: 80px;
        padding-inline: 12px;
    }
    .tracking-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* =========================================================
   SMALL MOBILE — 430px
========================================================= */
@media (max-width: 430px) {
    .hero h1 {
        font-size: 44px;
    }
    .hero-buttons {
        width: 100%;
    }
    .hero-buttons .button {
        flex: 1;
    }
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stat-label {
        font-size: 6px;
    }
    .stat-card {
        padding: 14px 12px;
    }
    .customer-image {
        height: 270px;
        min-height: 270px;
    }
    .customer-image-top {
        max-width: calc(100% - 32px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 7px;
    }
    .customer-image-bottom {
        inset-inline: 16px;
        bottom: 14px;
    }
    .customer-image-bottom strong {
        font-size: 22px;
    }
    .customer-content h3 {
        font-size: 27px;
    }
    .calc-fields-grid.four,
    .weight-extra {
        grid-template-columns: 1fr;
    }
    .calc-main-tab {
        min-height: 40px;
        padding: 0 15px;
        font-size: 10px;
    }
    .result-big strong {
        font-size: 48px;
    }
    .why-card {
        padding: 20px;
    }
    .story-card {
        min-height: 280px;
    }
    .final-cta {
        padding-bottom: 60px;
    }
    .final-cta-inner {
        min-height: 390px;
        padding-inline: 18px;
    }
}
/* =========================================================
   VERY SMALL DEVICES — 360px
========================================================= */
@media (max-width: 360px) {
    :root {
        --side-padding: 12px;
    }
    .hero {
        padding-top: 106px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero-description {
        width: 100%;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .button {
        width: 100%;
    }
    .customer-panel {
        padding: 9px;
    }
    .customer-image {
        height: 245px;
        min-height: 245px;
    }
    .customer-content h3 {
        font-size: 25px;
    }
    .final-cta-inner {
        min-height: 370px;
        padding-inline: 15px;
    }
    .final-cta h2 {
        font-size: 34px;
    }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}
.hero-inner {
    width: min(100%, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    box-sizing: border-box;
}
