/* ================================================================
   DYNAMIC BOOKING – style.css
   Author: Dynamic For Information Technology
   Version: 2.0
================================================================ */

/* ================================================================
   0. LANGUAGE VISIBILITY – Default AR, hide EN
   The JS toggleLang() switches these via [lang] attribute on <html>
================================================================ */

/* Default: Arabic visible, English hidden */
.en-text {
    display: none !important;
}

.ar-text {
    display: inline !important;
}

/* Block-level AR elements */
div.ar-text,
p.ar-text,
li.ar-text,
h1.ar-text, h2.ar-text, h3.ar-text, h4.ar-text {
    display: block !important;
}

/* When HTML lang=en → flip */
html[lang="en"] .ar-text {
    display: none !important;
}

html[lang="en"] .en-text {
    display: inline !important;
}

html[lang="en"] div.en-text,
html[lang="en"] p.en-text,
html[lang="en"] li.en-text,
html[lang="en"] h1.en-text,
html[lang="en"] h2.en-text,
html[lang="en"] h3.en-text,
html[lang="en"] h4.en-text {
    display: block !important;
}

/* Flex containers keep flex display */
html[lang="en"] .flex.en-text,
html[lang="en"] .trust-name.en-text,
html[lang="en"] .trust-desc.en-text {
    display: block !important;
}

/* ================================================================
   1. CSS VARIABLES – Brand Tokens
================================================================ */
:root {
    /* Brand Colors */
    --blue-dark: #1a5fa8;
    --blue-mid: #2272c3;
    --blue-light: #3a8fd1;
    --blue-xlight: #d0e8f8;
    --green-dark: #3d8020;
    --green-main: #5ba832;
    --green-light: #6fc940;
    --green-xlight: #e4f5d8;
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f4f7fb;
    --gray-50: #f8fafc;
    --gray-100: #eef2f7;
    --gray-200: #dde4ed;
    --gray-300: #c5cedb;
    --gray-400: #8e9ab0;
    --gray-500: #65748b;
    --gray-600: #4a5568;
    --gray-700: #374151;
    --gray-800: #1e2a3a;
    --gray-900: #111827;
    /* Shadows */
    --shadow-xs: 0 1px 4px rgba(26,95,168,.08);
    --shadow-sm: 0 2px 10px rgba(26,95,168,.10);
    --shadow-md: 0 6px 24px rgba(26,95,168,.14);
    --shadow-lg: 0 16px 48px rgba(26,95,168,.18);
    --shadow-xl: 0 24px 64px rgba(26,95,168,.22);
    /* Radius */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;
    /* Typography */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Tajawal', sans-serif;
    /* Transitions */
    --t-fast: all .15s ease;
    --t-base: all .25s cubic-bezier(.4,0,.2,1);
    --t-slow: all .4s cubic-bezier(.4,0,.2,1);
}

/* Logo: color version for navbar, white for footer */
.nav-logo .logo-white {
    display: none;
}
/* Footer now uses color logo */
.footer-logo .logo-color {
    display: block;
}


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ar);
    background: var(--white);
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

    /* LTR Mode */
    body.ltr {
        font-family: var(--font-en);
        direction: ltr;
        text-align: left;
    }

        body.ltr .ltr-flip {
            transform: scaleX(-1);
        }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--t-base);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
}

/* ================================================================
   3. LAYOUT UTILITIES
================================================================ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    padding: 0 20px;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.gap-24 {
    gap: 24px;
}

/* Section spacing */
.section-pad {
    padding: 64px 0;
}

.section-pad-sm {
    padding: 48px 0;
}

/* ================================================================
   4. TYPOGRAPHY
================================================================ */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--green-main);
    margin-bottom: 8px;
}

    .section-eyebrow::before,
    .section-eyebrow::after {
        content: '';
        display: block;
        width: 24px;
        height: 2px;
        background: var(--green-main);
        border-radius: 2px;
    }

.section-title {
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1.3;
    margin-bottom: 6px;
}

.section-sub {
    font-size: 14.5px;
    color: var(--gray-400);
    margin-bottom: 36px;
}

/* ================================================================
   5. BUTTONS
================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--r-full);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--t-base);
    white-space: nowrap;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(34,114,195,.32);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(34,114,195,.42);
    }

.btn-green {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--green-main) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(91,168,50,.30);
}

    .btn-green:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(91,168,50,.42);
    }

.btn-outline-blue {
    background: transparent;
    border: 2px solid var(--blue-mid);
    color: var(--blue-mid);
}

    .btn-outline-blue:hover {
        background: var(--blue-mid);
        color: var(--white);
    }

.btn-ghost {
    background: rgba(255,255,255,.1);
    color: white;
    border: 1.5px solid rgba(255,255,255,.25);
}

    .btn-ghost:hover {
        background: rgba(255,255,255,.2);
    }

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 15px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--r-sm);
}

/* ================================================================
   6. TOP BAR
================================================================ */
.topbar {
    background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    color: rgba(255,255,255,.9);
    font-size: 12.5px;
    padding: 9px 0;
    z-index: 1001;
    position: relative;
    overflow: visible;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: visible;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .topbar-contact a {
        display: flex;
        align-items: center;
        gap: 6px;
        color: rgba(255,255,255,.8);
        font-size: 12.5px;
        transition: var(--t-fast);
    }

        .topbar-contact a:hover {
            color: white;
        }

        .topbar-contact a svg {
            width: 13px;
            height: 13px;
            flex-shrink: 0;
        }

.provider-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    color: white;
    padding: 6px 16px;
    border-radius: var(--r-full);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--t-base);
    position: relative;
}

    .provider-btn:hover {
        background: rgba(255,255,255,.24);
    }

    .provider-btn .live-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--green-light);
        box-shadow: 0 0 0 2px rgba(111,201,64,.3);
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(111,201,64,.3);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(111,201,64,.1);
    }
}

/* Provider Wrap */
.provider-wrap {
    position: relative;
}

.provider-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-xl);
    padding: 16px;
    min-width: 240px;
    z-index: 99999;
    border: 1px solid var(--gray-200);
}

body.ltr .provider-dropdown {
    right: auto;
    left: 0;
}

.provider-dropdown.show {
    display: block;
    animation: dropIn .2s ease;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.provider-dropdown-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
    text-align: center;
}

.provider-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: var(--r-sm);
    color: var(--blue-dark);
    font-size: 13.5px;
    font-weight: 700;
    transition: var(--t-fast);
    margin-bottom: 6px;
}

    .provider-option:last-child {
        margin-bottom: 0;
    }

    .provider-option:hover {
        background: var(--off-white);
    }

    .provider-option svg {
        width: 17px;
        height: 17px;
        color: var(--blue-mid);
        flex-shrink: 0;
    }

/* ================================================================
   7. NAVBAR
================================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 1px 0 var(--gray-200), 0 4px 20px rgba(26,95,168,.07);
    transition: var(--t-base);
}

.navbar-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 20px;
}

/* Logo */
.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

    .nav-logo img {
        height: 50px;
        width: auto;
    }

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--r-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--t-fast);
    display: flex;
    align-items: center;
    gap: 5px;
}

    .nav-link svg {
        width: 14px;
        height: 14px;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--blue-dark);
        background: var(--off-white);
    }

    .nav-link.active {
        font-weight: 700;
    }

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-full);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gray-600);
    background: transparent;
    cursor: pointer;
    transition: var(--t-fast);
}

    .lang-btn svg {
        width: 14px;
        height: 14px;
    }

    .lang-btn:hover {
        border-color: var(--blue-mid);
        color: var(--blue-mid);
    }

.login-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: var(--t-base);
}

    .login-link svg {
        width: 16px;
        height: 16px;
    }

    .login-link:hover {
        background: var(--blue-dark);
        color: white;
        border-color: var(--blue-dark);
    }

.register-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: var(--r-full);
    font-size: 13px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--green-light), var(--green-main));
    box-shadow: 0 3px 10px rgba(91,168,50,.28);
    transition: var(--t-base);
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
}

    .register-link svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        display: inline-block;
    }

    .register-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(91,168,50,.38);
    }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    border-radius: var(--r-xs);
}

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--gray-600);
        border-radius: 2px;
        transition: var(--t-base);
    }

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
}

    .mobile-nav.open {
        display: block;
    }

.mobile-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}

.mobile-nav-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: white;
    padding: 24px 20px;
    overflow-y: auto;
    animation: slideIn .3s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.ltr .mobile-nav-drawer {
    right: auto;
    left: 0;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

body.ltr .mobile-nav-drawer {
    animation-name: slideInLtr;
}

@keyframes slideInLtr {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.mobile-nav-close {
    align-self: flex-end;
    background: var(--gray-100);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.mobile-nav-logo {
    margin-bottom: 20px;
}

    .mobile-nav-logo img {
        height: 34px;
    }

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: var(--r-sm);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--gray-700);
    transition: var(--t-fast);
}

    .mobile-nav-link svg {
        width: 17px;
        height: 17px;
        color: var(--blue-mid);
    }

    .mobile-nav-link:hover, .mobile-nav-link.active {
        background: var(--off-white);
        color: var(--blue-dark);
    }

.mobile-nav-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

/* ================================================================
   8. HERO SECTION (compact)
================================================================ */
.hero {
    position: relative;
    background: linear-gradient(150deg, #0d3f75 0%, var(--blue-dark) 45%, #1a6abf 100%);
    overflow: hidden;
    padding: 36px 0 80px;
}

/* Decorative BG */
.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

    .hero-bg-circle.c1 {
        width: 500px;
        height: 500px;
        top: -180px;
        right: -100px;
        background: radial-gradient(circle, rgba(111,201,64,.1) 0%, transparent 70%);
    }

    .hero-bg-circle.c2 {
        width: 350px;
        height: 350px;
        bottom: -120px;
        left: -80px;
        background: radial-gradient(circle, rgba(58,143,209,.12) 0%, transparent 70%);
    }

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: .04;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 28px 28px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
}

/* Hero Text */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(111,201,64,.18);
    border: 1px solid rgba(111,201,64,.35);
    color: #a3f06a;
    padding: 5px 14px;
    border-radius: var(--r-full);
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 16px;
}

    .hero-eyebrow .star {
        font-size: 10px;
    }

.hero-title {
    font-size: clamp(24px, 3.6vw, 42px);
    font-weight: 900;
    color: white;
    line-height: 1.22;
    margin-bottom: 14px;
}

    .hero-title .accent {
        color: var(--green-light);
    }

.hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,.7);
    line-height: 1.75;
    max-width: 440px;
    margin-bottom: 24px;
}

.hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    gap: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.hero-stat-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--green-light);
    line-height: 1;
}

.hero-stat-label {
    font-size: 11.5px;
    color: rgba(255,255,255,.55);
    margin-top: 3px;
}

/* Hero Car Card */
.hero-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-xl);
    padding: 22px;
    position: relative;
}

.hero-card-avail {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-main);
    color: white;
    padding: 5px 16px;
    border-radius: var(--r-full);
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(91,168,50,.4);
    white-space: nowrap;
}

.hero-car-img {
    width: 100%;
    height: 160px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: rgba(255,255,255,.05);
    margin-bottom: 16px;
}

    .hero-car-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-car-name {
    font-size: 17px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.hero-car-specs {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.hero-spec {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255,255,255,.65);
    font-weight: 500;
}

    .hero-spec svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }

.hero-car-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.hero-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--green-light);
}

    .hero-price small {
        font-size: 12px;
        color: rgba(255,255,255,.45);
        font-weight: 500;
    }

/* ================================================================
   9. SEARCH BOX
================================================================ */
.search-section {
    padding: 0 0 48px;
    background: var(--white);
}

.search-card {
    background: var(--white);
    border-radius: var(--r-xl);
    box-shadow: 0 -4px 0 0 var(--blue-dark), var(--shadow-xl);
    padding: 28px 30px 24px;
    margin-top: -48px;
    position: relative;
    z-index: 50;
}

.search-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
}

    .search-card-title svg {
        width: 20px;
        height: 20px;
        color: var(--blue-mid);
    }

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto; /*by Yousef, change 5 to 4 after remove ddlIdentityTypes*/
    gap: 12px;
    align-items: end;
}

.field-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .field-label svg {
        width: 12px;
        height: 12px;
        color: var(--blue-mid);
    }

.field-input {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-sm);
    font-size: 13.5px;
    font-weight: 500;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: var(--t-fast);
    outline: none;
    height: 44px;
    appearance: none;
    -webkit-appearance: none;
}
/* السيليكت يحتاج appearance: auto عشان القائمة تنفتح */
select.field-input {
    appearance: auto;
    -webkit-appearance: auto;
}

.field-input:focus {
    border-color: var(--blue-mid);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(34,114,195,.1);
}

.field-input::placeholder {
    color: var(--gray-300);
}

.field-input:disabled {
    opacity: .42;
    pointer-events: none;
}

select.field-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238e9ab0' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 32px;
    -webkit-appearance: none; /*by Yousef, to hide select default down arrow*/
    -moz-appearance: none; /*by Yousef, to hide select default down arrow*/
}

body.ltr select.field-input {
    background-position: right 12px center;
    padding-left: 13px;
    padding-right: 32px;
}

.search-btn-wrap {
    align-self: flex-end;
}

.search-submit {
    height: 44px;
    padding: 0 28px;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
    color: white;
    border: none;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--t-base);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(34,114,195,.30);
}

    .search-submit svg {
        width: 16px;
        height: 16px;
    }

    .search-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(34,114,195,.40);
    }

.search-same-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: 14px;
    cursor: pointer;
    width: fit-content;
}

    .search-same-loc input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: var(--blue-mid);
        cursor: pointer;
    }

/* ================================================================
   10. TRUST STRIP (Booking.com style)
================================================================ */
.trust-strip {
    background: var(--blue-dark);
    padding: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-left: 1px solid rgba(255,255,255,.1);
    transition: var(--t-base);
}

    .trust-item:last-child {
        border-left: none;
    }

body.ltr .trust-item {
    border-left: none;
    border-right: 1px solid rgba(255,255,255,.1);
}

    body.ltr .trust-item:last-child {
        border-right: none;
    }

.trust-item:hover {
    background: rgba(255,255,255,.05);
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--t-base);
}

    .trust-icon svg {
        width: 22px;
        height: 22px;
        color: var(--green-light);
    }

.trust-item:hover .trust-icon {
    background: var(--green-main);
}

.trust-text {
    color: white;
}

.trust-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.trust-desc {
    font-size: 11.5px;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
}

/* ================================================================
   11. CARS SECTION
================================================================ */
.cars-section {
    background: var(--gray-50);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}

.view-more-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blue-mid);
    white-space: nowrap;
    transition: var(--t-fast);
}

    .view-more-link svg {
        width: 16px;
        height: 16px;
        transition: var(--t-fast);
    }

    .view-more-link:hover {
        color: var(--blue-dark);
    }

        .view-more-link:hover svg {
            transform: translateX(-4px);
        }

body.ltr .view-more-link:hover svg {
    transform: translateX(4px);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Car Card */
.car-card {
    background: var(--white);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
    transition: var(--t-base);
    display: flex;
    flex-direction: column;
}

    .car-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--blue-xlight);
    }

.car-img-wrap {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
}

    .car-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--t-slow);
    }

.car-card:hover .car-img-wrap img {
    transform: scale(1.06);
}

.car-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 700;
    color: white;
    background: var(--green-main);
}

    .car-badge.vip {
        background: #e74c3c;
    }

    .car-badge.hot {
        background: #f39c12;
    }

body.ltr .car-badge {
    right: auto;
    left: 10px;
}

.car-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .car-body .row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.company-name {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1;
    white-space: nowrap;
}

.car-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 3px;
}

.car-type {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
    margin-bottom: 12px;
}

.branch-name {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
    margin-bottom: 12px;
}

.car-specs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--gray-500);
    font-weight: 600;
}

    .car-spec svg {
        width: 13px;
        height: 13px;
        color: var(--blue-mid);
        flex-shrink: 0;
    }

.car-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.car-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--blue-dark);
    line-height: 1;
}

    .car-price small {
        font-size: 11px;
        color: var(--gray-400);
        font-weight: 500;
        display: block;
    }

.car-book-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
    color: white;
    border: none;
    border-radius: var(--r-full);
    font-size: 12.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--t-base);
}

    .car-book-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(26,95,168,.3);
    }

/* ================================================================
   12. PARTNERS SECTION
================================================================ */
.partners-section {
    background: var(--white);
}

.partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.partner-tile {
    width: 130px;
    height: 64px;
    border-radius: var(--r-sm);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--gray-400);
    transition: var(--t-base);
    letter-spacing: -.3px;
}

    .partner-tile:hover {
        border-color: var(--blue-mid);
        color: var(--blue-dark);
        background: var(--off-white);
        transform: scale(1.04);
        box-shadow: var(--shadow-sm);
    }

/* ================================================================
   13. FOOTER
================================================================ */
footer {
    background: var(--gray-900);
    color: rgba(255,255,255,.8);
}

.footer-main {
    padding: 56px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-brand {
}

.footer-logo {
    margin-bottom: 16px;
}

    .footer-logo img {
        height: 34px;
        width: auto;
    }

.footer-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,.55);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-row {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t-base);
}

    .social-link svg {
        width: 16px;
        height: 16px;
    }

    .social-link:hover {
        background: var(--blue-mid);
        border-color: var(--blue-mid);
    }

.footer-col-title {
    font-size: 13.5px;
    font-weight: 800;
    color: white;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--t-fast);
}

    .footer-link svg {
        width: 11px;
        height: 11px;
        color: var(--green-light);
        flex-shrink: 0;
    }

    .footer-link:hover {
        color: white;
        padding-right: 3px;
    }

body.ltr .footer-link:hover {
    padding-right: 0;
    padding-left: 3px;
}

.app-store-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r-sm);
    transition: var(--t-base);
    color: white;
}

    .app-store-btn:hover {
        background: rgba(255,255,255,.12);
    }

    .app-store-btn svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

.app-store-btn-text .sub {
    font-size: 10px;
    color: rgba(255,255,255,.45);
}

.app-store-btn-text .main {
    font-size: 13.5px;
    font-weight: 700;
}

.footer-contact {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
}

    .footer-contact-item svg {
        width: 14px;
        height: 14px;
        color: var(--green-light);
        flex-shrink: 0;
    }

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,.35);
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

    .footer-bottom-links a {
        font-size: 12px;
        color: rgba(255,255,255,.35);
        transition: var(--t-fast);
    }

        .footer-bottom-links a:hover {
            color: rgba(255,255,255,.75);
        }

/* ================================================================
   14. SCROLL REVEAL ANIMATIONS
================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

/* ================================================================
   15. BOTTOM MOBILE NAV BAR (App-style)
================================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 997;
    background: white;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,.1);
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}

.mobile-bottom-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0 8px;
    gap: 4px;
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 4px;
    color: var(--gray-400);
    font-size: 10px;
    font-weight: 600;
    transition: var(--t-fast);
    cursor: pointer;
    text-decoration: none;
}

    .mobile-bottom-item svg {
        width: 20px;
        height: 20px;
    }

    .mobile-bottom-item.active {
        color: var(--blue-dark);
    }

        .mobile-bottom-item.active svg {
            color: var(--blue-dark);
        }

/* Center item — same style as others, no floating circle */
.mobile-bottom-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: static;
    top: auto;
}

.mobile-bottom-center-btn {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

    .mobile-bottom-center-btn svg {
        width: 20px;
        height: 20px;
    }

/* ================================================================
   16. RESPONSIVE – Tablet (max 1024px)
================================================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 340px;
        gap: 30px;
    }

    .cars-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .search-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-left: none;
    }

    .trust-item:nth-child(3) {
        border-left: 1px solid rgba(255,255,255,.1);
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* ================================================================
   17. RESPONSIVE – Mobile (max 768px)
================================================================ */
@media (max-width: 768px) {
    /* ── Container ── */
    .container {
        padding: 0 16px;
    }

    /* ── Topbar ── */
    .topbar {
        padding: 8px 0;
        font-size: 12px;
    }

    .topbar-contact {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .provider-btn {
        font-size: 12px;
        padding: 5px 14px;
    }

    /* ── FIX 1: Navbar – شعار يمين، hamburger + lang يسار ──
     RTL: logo right (natural), actions left → reverse flex order
     LTR: logo left (natural), actions right → normal
  ── */
    .navbar-inner {
        height: 56px;
        /* RTL default: logo is first (right), actions last (left) — perfect */
    }

    .nav-logo img {
        height: 40px;
    }

    .nav-links {
        display: none;
    }
    /* Hide login + register, keep hamburger + lang */
    .nav-actions .login-link,
    .nav-actions .register-link {
        display: none;
    }

    .hamburger {
        display: flex;
    }
    /* Push hamburger + lang to the LEFT (start in RTL = right, so we push to end of flex) */
    .nav-actions {
        gap: 6px;
        /* In RTL the actions are naturally on the left side already
       because flex-direction is row and dir=rtl reverses order */
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

        .lang-btn svg {
            width: 13px;
            height: 13px;
        }
    /* RTL mobile: logo stays right (auto), actions group stays left */
    [dir="rtl"] .navbar-inner {
        flex-direction: row;
    }

    [dir="rtl"] .nav-logo {
        margin-right: 0;
        margin-left: auto;
    }

    [dir="rtl"] .nav-actions {
        margin-right: auto;
        margin-left: 0;
    }
    /* LTR mobile: logo left, actions right */
    [dir="ltr"] .nav-logo {
        margin-left: 0;
        margin-right: auto;
    }

    [dir="ltr"] .nav-actions {
        margin-left: 0;
        margin-right: 0;
    }

    /* ── Hero ── */
    .hero {
        padding: 24px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-card {
        display: none;
    }

    .hero-eyebrow {
        font-size: 11px;
        padding: 4px 12px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-desc {
        font-size: 14px;
    }

    /* ── FIX 2: CTA Row – زرارين في سطر واحد ── */
    .hero-cta-row {
        display: flex;
        flex-direction: row;
        gap: 10px;
        flex-wrap: nowrap;
    }

        .hero-cta-row .btn {
            flex: 1;
            padding: 10px 12px;
            font-size: 13px;
            justify-content: center;
            white-space: nowrap;
        }
            /* Force icon size inside CTA buttons */
            .hero-cta-row .btn svg {
                width: 16px;
                height: 16px;
                flex-shrink: 0;
            }

    /* ── FIX 3: Stats – توسيطهم ── */
    .hero-stats {
        justify-content: center;
        gap: 20px;
        padding-top: 18px;
    }

    .hero-stat-num {
        font-size: 20px;
    }

    .hero-stat-label {
        font-size: 11px;
    }

    .hero-stat {
        text-align: center;
    }

    /* ── Search Card ── */
    .search-section {
        padding: 0 0 32px;
    }

    .search-card {
        padding: 18px 14px;
        border-radius: var(--r-lg);
        margin-top: -36px;
        box-shadow: 0 -3px 0 0 var(--blue-dark), var(--shadow-lg);
    }

    .search-card-title {
        font-size: 15px;
        margin-bottom: 14px;
    }

        .search-card-title svg {
            width: 17px;
            height: 17px;
        }

    .search-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .search-btn-wrap {
        grid-column: 1 / -1;
    }

    .search-submit {
        width: 100%;
        justify-content: center;
        height: 44px;
    }

    .field-input {
        height: 42px;
        font-size: 13px;
        padding: 9px 12px;
    }

    .field-label {
        font-size: 10.5px;
    }

    .search-same-loc {
        font-size: 12px;
    }

    /* ── FIX 4: Trust Strip – 2×2 Grid ── */
    .trust-strip {
        padding: 0;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Remove all borders, add bottom border between rows */
    }

    .trust-item {
        padding: 16px 14px;
        gap: 10px;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
        /* Top two items get right border between them */
        .trust-item:nth-child(1) {
            border-left: 1px solid rgba(255,255,255,.1) !important;
        }

        .trust-item:nth-child(3) {
            border-left: 1px solid rgba(255,255,255,.1) !important;
        }
        /* Bottom two: no bottom border */
        .trust-item:nth-child(3),
        .trust-item:nth-child(4) {
            border-bottom: none;
        }

    .trust-icon {
        width: 38px;
        height: 38px;
    }

        .trust-icon svg {
            width: 18px;
            height: 18px;
        }

    .trust-name {
        font-size: 12.5px;
    }

    .trust-desc {
        font-size: 10.5px;
    }

    /* ── Section Spacing ── */
    .section-pad {
        padding: 40px 0;
    }

    .section-pad-sm {
        padding: 30px 0;
    }

    .section-title {
        font-size: 18px;
    }

    .section-sub {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .section-header {
        margin-bottom: 20px;
    }

    /* ── FIX 5: Cars – 2 columns on mobile ── */
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .car-img-wrap {
        height: 120px;
    }

    .car-body {
        padding: 10px;
    }

    .car-name {
        font-size: 13px;
    }

    .car-type {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .car-specs {
        gap: 6px;
        margin-bottom: 8px;
    }

    .car-spec {
        font-size: 10.5px;
    }

    .car-price {
        font-size: 14px;
    }

    .car-book-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    /* ── Partners ── */
    .partners-grid {
        gap: 10px;
    }

    .partner-tile {
        width: 90px;
        height: 48px;
        font-size: 11.5px;
    }

    /* ── FIX 6: Footer Accordion – روابط سريعة تظهر بـ toggle ── */
    .footer-main {
        padding: 32px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-logo img {
        height: 28px;
    }

    .footer-desc {
        font-size: 12.5px;
        max-width: 100%;
    }
    /* Brand section: no bottom border (the cols have their own borders) */
    .footer-brand {
        padding-bottom: 20px;
        margin-bottom: 0;
    }

    /* Accordion col */
    .footer-col {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    /* border-top على أول footer-col حقيقي — نضيفه عبر footer-brand + sibling */
    .footer-brand + .footer-col {
        border-top: none;
    }

    .footer-col:first-of-type {
        border-top: none;
    }

    .footer-col-title {
        font-size: 13.5px;
        margin-bottom: 0;
        padding: 14px 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        user-select: none;
    }

        /* السهم: يرجع لشكله الأصلي — مربع مائل بسيط */
        .footer-col-title::after {
            display: none;
        }

        .footer-col-title::before {
            content: '';
            display: block;
            width: 8px;
            height: 8px;
            border-right: 2px solid rgba(255,255,255,.5);
            border-bottom: 2px solid rgba(255,255,255,.5);
            transform: rotate(45deg);
            transition: transform .25s ease;
            flex-shrink: 0;
            order: 0;
            position: relative;
            top: -2px;
        }

    html[lang="en"] .footer-col-title::before {
        order: 2;
    }

    .footer-col.open .footer-col-title::before {
        transform: rotate(-135deg);
        top: 2px;
    }

    /* إخفاء الخط فوق شريط الدفع في الموبايل */
    .footer-pay-strip {
        border-top: none;
    }

    .footer-links,
    .footer-contact,
    .app-store-btns {
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease, padding .25s ease;
        padding-bottom: 0;
    }

    .footer-col.open .footer-links,
    .footer-col.open .footer-contact,
    .footer-col.open .app-store-btns {
        max-height: 500px;
        padding-bottom: 16px;
    }
    /* Override: footer-contact inside col */
    .footer-col .footer-contact {
        margin-top: 0;
    }

    .footer-link {
        font-size: 12.5px;
    }

    .footer-bottom {
        padding: 14px 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .footer-copy {
        font-size: 11px;
    }

    /* ── Bottom Nav (show) ── */
    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    /* ── Mobile Drawer ── */
    .mobile-nav-drawer {
        width: 260px;
    }
}

/* ================================================================
   18. RESPONSIVE – Small Mobile (max 480px)
================================================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Hero */
    .hero {
        padding: 20px 0 56px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-desc {
        font-size: 13.5px;
        line-height: 1.65;
    }
    /* Keep 2 buttons in one row even on small screens */
    .hero-cta-row {
        flex-direction: row;
        gap: 8px;
    }

        .hero-cta-row .btn {
            flex: 1;
            padding: 9px 8px;
            font-size: 12px;
            line-height: 1.2;
            justify-content: center;
        }
        /* Override btn-lg size on mobile + lock icon to 16px */
        .hero-cta-row .btn-lg {
            padding: 9px 8px;
            font-size: 12px;
        }

        .hero-cta-row .btn svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

    .hero-stats {
        gap: 10px;
        justify-content: center;
    }

    /* Search: single column */
    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-card {
        padding: 16px 12px;
    }

    /* Trust: stays 2x2 on small mobile too */
    .trust-item {
        padding: 12px 10px;
    }

    .trust-name {
        font-size: 11.5px;
    }

    .trust-desc {
        font-size: 10px;
    }

    /* Cars: 2 columns on small too */
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .car-img-wrap {
        height: 110px;
    }

    .car-body {
        padding: 8px;
    }

    .car-name {
        font-size: 12px;
    }

    .car-specs {
        display: none;
    }

    .car-price {
        font-size: 13px;
    }

    .car-book-btn {
        padding: 6px 8px;
        font-size: 11px;
    }

    /* Section header stack */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Partners */
    .partners-grid {
        gap: 8px;
    }

    .partner-tile {
        width: 80px;
        height: 44px;
        font-size: 11px;
    }

    /* Footer */
    .social-row {
        flex-wrap: wrap;
    }
}

/* ================================================================
   19. RTL OVERRIDES
================================================================ */
[dir="rtl"] .footer-link:hover {
    padding-right: 3px;
    padding-left: 0;
}

[dir="rtl"] select.field-input {
    background-position: left 12px center;
    padding-left: 32px;
    padding-right: 13px;
}

/* ================================================================
   20. SCROLLBAR STYLE
================================================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--blue-mid);
    }

/* ================================================================
   PAGES – Shared page layout styles
================================================================ */

/* Page Hero Banner (small, for inner pages) */
.page-banner {
    background: linear-gradient(150deg, #0d3f75 0%, var(--blue-dark) 50%, #1a6abf 100%);
    padding: 40px 0 36px;
    position: relative;
    overflow: hidden;
}

    .page-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        opacity: .04;
        background-image: radial-gradient(circle, white 1px, transparent 1px);
        background-size: 28px 28px;
    }

.page-banner-inner {
    position: relative;
    z-index: 2;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    margin-bottom: 10px;
}

    .page-breadcrumb a {
        color: rgba(255,255,255,.55);
        transition: var(--t-fast);
    }

        .page-breadcrumb a:hover {
            color: white;
        }

    .page-breadcrumb span {
        color: rgba(255,255,255,.3);
    }

.page-banner-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: white;
}

.page-banner-sub {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    margin-top: 6px;
}

/* Page Content Wrapper */
.page-content {
    padding: 56px 0;
    background: var(--gray-50);
    min-height: 60vh;
}

/* Form Card */
.form-card {
    background: var(--white);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: 36px 40px;
    border: 1px solid var(--gray-200);
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

    .form-grid .full {
        grid-column: 1 / -1;
    }

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 5px;
}

    .form-label .req {
        color: #e74c3c;
    }

    .form-label svg {
        width: 13px;
        height: 13px;
        color: var(--blue-mid);
    }

.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: var(--t-fast);
    outline: none;
}

    .form-input:focus {
        border-color: var(--blue-mid);
        background: white;
        box-shadow: 0 0 0 3px rgba(34,114,195,.1);
    }

    .form-input::placeholder {
        color: var(--gray-300);
    }

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238e9ab0' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 36px;
}

html[lang="en"] select.form-input {
    background-position: right 14px center;
    padding-left: 14px;
    padding-right: 36px;
}

.form-hint {
    font-size: 11.5px;
    color: var(--gray-400);
    margin-top: 2px;
}

/* Password wrapper */
.input-wrap {
    position: relative;
}

    .input-wrap .form-input {
        padding-left: 44px;
    }

html[lang="en"] .input-wrap .form-input {
    padding-left: 14px;
    padding-right: 44px;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    color: var(--gray-400);
    pointer-events: none;
}

html[lang="en"] .input-icon {
    left: auto;
    right: 13px;
}

.input-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 0;
}

html[lang="en"] .input-toggle {
    right: auto;
    left: 13px;
}

.input-toggle svg {
    width: 17px;
    height: 17px;
}

.input-toggle:hover {
    color: var(--blue-mid);
}

/* Form Submit Row */
.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

/* Step Wizard */
.steps-bar {
    display: flex;
    align-items: center;
    margin-bottom: 36px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

    .step:last-child {
        flex: 0;
    }

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    border: 2px solid var(--gray-300);
    color: var(--gray-400);
    background: white;
    transition: var(--t-base);
    z-index: 1;
}

.step.active .step-num {
    border-color: var(--blue-dark);
    color: white;
    background: var(--blue-dark);
    box-shadow: 0 3px 12px rgba(26,95,168,.3);
}

.step.done .step-num {
    border-color: var(--green-main);
    background: var(--green-main);
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
}

.step.active .step-label {
    color: var(--blue-dark);
}

.step.done .step-label {
    color: var(--green-main);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--gray-200);
    margin: 0 8px;
}

.step.done ~ .step-line,
.step.done + .step-line {
    background: var(--green-main);
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .data-table thead th {
        background: var(--blue-dark);
        color: white;
        padding: 13px 16px;
        font-weight: 700;
        font-size: 13px;
        text-align: right;
        white-space: nowrap;
    }

html[lang="en"] .data-table thead th {
    text-align: left;
}

.data-table thead th:first-child {
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.data-table thead th:last-child {
    border-radius: var(--r-sm) 0 0 var(--r-sm);
}

html[lang="en"] .data-table thead th:first-child {
    border-radius: var(--r-sm) 0 0 var(--r-sm);
}

html[lang="en"] .data-table thead th:last-child {
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.data-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    vertical-align: middle;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover td {
    background: var(--off-white);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 700;
}

    .status-badge.confirmed {
        background: var(--green-xlight);
        color: var(--green-dark);
    }

    .status-badge.pending {
        background: #fef3cd;
        color: #856404;
    }

    .status-badge.cancelled {
        background: #fde8e8;
        color: #c0392b;
    }

/* Alert / Info Box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--r-sm);
    background: var(--blue-xlight);
    border: 1px solid rgba(34,114,195,.2);
    font-size: 13.5px;
    color: var(--blue-dark);
    margin-bottom: 20px;
}

    .info-box svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        margin-top: 1px;
    }

/* Checkbox / Radio custom */
.check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--gray-600);
    cursor: pointer;
    line-height: 1.5;
}

    .check-label input {
        accent-color: var(--blue-mid);
        width: 16px;
        height: 16px;
        margin-top: 2px;
        flex-shrink: 0;
    }

/* Responsive page forms */
@media (max-width: 768px) {
    .page-content {
        padding: 32px 0;
    }

    .form-card {
        padding: 24px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

        .form-grid .full {
            grid-column: 1;
        }

    .data-table {
        font-size: 12px;
    }

        .data-table thead th,
        .data-table tbody td {
            padding: 10px 10px;
        }
}

/* ================================================================
   HERO SLIDER
================================================================ */
/* Outer container: just a block wrapper */
.hero-slider-outer {
    width: 100%;
}
/* The image wrap: overflow:hidden for the sliding images + tagline overlay */
.hero-slider-wrap {
    position: relative;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,.1);
    box-shadow: 0 4px 0 rgba(26,95,168,.15);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
}

    .hero-slide.active {
        opacity: 1;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
/* Tagline: overlay on image, gradient from bottom */
.hero-slider-tagline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    padding: 36px 20px 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .4px;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
    pointer-events: none;
}
/* Dots: OUTSIDE the wrap, below the image */
.hero-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 0 12px;
    background: var(--blue-dark);
    border-radius: 0 0 var(--r-xl) var(--r-xl);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: background .3s, transform .3s;
}

    .hero-dot.active {
        background: #fff;
        transform: scale(1.3);
    }

/* ================================================================
   PARTNERS SLIDER
================================================================ */
/* Partners marquee */
.partners-slider-wrap {
    overflow: hidden;
    width: 100%;
    /* نثبت الاتجاه LTR على المستوى الأعلى عشان overflow:hidden يشتغل صح في RTL */
    direction: ltr;
}

.partners-marquee-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    direction: ltr;
}
    /* Fade edges */
    .partners-marquee-wrap::before,
    .partners-marquee-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 80px;
        z-index: 2;
        pointer-events: none;
    }

    .partners-marquee-wrap::before {
        left: 0;
        background: linear-gradient(to right, var(--gray-50,#f8f9fa), transparent);
    }

    .partners-marquee-wrap::after {
        right: 0;
        background: linear-gradient(to left, var(--gray-50,#f8f9fa), transparent);
    }

.partners-marquee {
    display: flex;
    gap: 24px;
    width: max-content;
    /* direction:ltr يضمن ترتيب الـ items دايماً من اليسار للجزء
     وبالتالي translateX(-50%) = حركة من اليمين لليسار في العربي والانجليزي */
    direction: ltr;
    animation: marqueeScroll 38s linear infinite;
    will-change: transform;
}

    .partners-marquee:hover {
        animation-play-state: paused;
    }

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* mobile-booking-cards: hidden on desktop, shown on mobile via @media */
.mobile-booking-cards {
    display: none;
}

/* ── Partner Tile V3 – brand logo + English name ── */
.partner-tile-v3 {
    flex: 0 0 150px;
    min-width: 150px;
    height: 110px;
    background: #fff;
    border: 1px solid var(--gray-200, #e9ecef);
    border-radius: var(--r-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .3s, transform .25s, border-color .3s;
    cursor: default;
    user-select: none;
}

    .partner-tile-v3:hover {
        box-shadow: 0 8px 24px rgba(34,114,195,.14);
        transform: translateY(-5px);
        border-color: var(--blue-mid);
    }

.ptv3-logo {
    width: 120px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ptv3-logo img {
        max-width: 118px;
        max-height: 54px;
        width: auto;
        height: auto;
        object-fit: contain;
        /* grayscale by default, color on hover */
        filter: grayscale(100%) opacity(0.5) contrast(1.1);
        transition: filter .4s ease;
    }

.partner-tile-v3:hover .ptv3-logo img {
    filter: grayscale(0%) opacity(1) contrast(1);
}

.ptv3-name {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--gray-400, #999);
    text-align: center;
    letter-spacing: .5px;
    line-height: 1;
    text-transform: uppercase;
    font-family: 'Cairo', sans-serif;
    transition: color .3s;
}

.partner-tile-v3:hover .ptv3-name {
    color: var(--blue-dark);
}

.partner-tile-v2 {
    flex: 0 0 150px;
    min-width: 150px;
    height: 120px;
    background: white;
    border: 1px solid var(--gray-200, #e9ecef);
    border-radius: var(--r-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: box-shadow .3s, transform .3s;
}

    .partner-tile-v2:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

    .partner-tile-v2 img {
        max-height: 50px;
        max-width: 110px;
        width: auto;
        height: auto;
        object-fit: contain;
        filter: none;
        transition: transform .3s;
    }

    .partner-tile-v2:hover img {
        transform: scale(1.05);
    }

    .partner-tile-v2 span {
        font-size: 11px;
        color: var(--gray-500, #6c757d);
        font-weight: 700;
        text-align: center;
        line-height: 1.3;
        letter-spacing: .2px;
        white-space: nowrap;
    }

/* ================================================================
   FOOTER PAYMENT STRIP
================================================================ */
.footer-pay-strip {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
}

.footer-pay-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-pay-label {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    flex-shrink: 0;
    white-space: nowrap;
}

.footer-pay-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pay-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: .85;
    transition: opacity .3s;
    background: white;
    border-radius: 6px;
    padding: 4px 6px;
}

    .pay-logo:hover {
        opacity: 1;
    }

.footer-logo-img {
    height: 56px !important;
    width: auto;
}

@media (max-width: 768px) {
    .hero-slider-tagline {
        font-size: 12px;
        padding: 10px;
    }

    .partner-tile-v2 {
        flex: 0 0 120px;
        min-width: 120px;
        height: 100px;
    }

    .partner-tile-v3 {
        flex: 0 0 115px;
        min-width: 115px;
        height: 96px;
    }

    .ptv3-logo {
        width: 76px;
        height: 40px;
    }

    .footer-pay-inner {
        justify-content: center;
    }

    .footer-logo-img {
        height: 44px !important;
    }
}

/* ================================================================
   MOBILE: Fix all button icons to 20px
================================================================ */
@media (max-width: 768px) {
    .btn svg,
    button svg,
    .login-submit svg,
    .car-book-btn svg {
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0;
    }
}

/* =================================================================
    SEARCH CITIES SECTION
================================================================= */
.search-section .search-result {
    position: absolute;
    display: none;
    width: 95%;
    background: #FAFBFF; /* second-white-color */
    top: 64%;
    left: 0px;
    margin: 0px 10px;
    padding: 20px 0px;
    border-radius: 5px;
    box-shadow: 0 0 30px #20191929;
    height: fit-content;
    z-index: 55;
    opacity: 1;
}

.search-section .search-result .row {
    /* Ensure the two result columns are laid out side-by-side */
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

/* Left column (divPlaceList) - fixed proportion */
.search-section .search-result #divPlaceList {
    flex: 0 0 40%;
    max-width: 40%;
}

/* Right column (divPlaceMap) - fill remaining space */
.search-section .search-result #divPlaceMap {
    flex: 1 1 60%;
    max-width: 60%;
}

.search-section .search-result .place-list {
    display: block;
    position: relative;
}

.search-section .search-result .place-list ul {
    display: block;
    margin: 0;
    padding: 0px;
    overflow-y: auto;
    height: fit-content;
    max-height: 300px;
}

.search-section .search-result .place-list ul li {
    padding: 6px 10px;
}

.search-section .search-result .place-list ul li a {
    display: block;
}

.search-section .search-result .place-list ul li a:hover .name,
.search-section .search-result .place-list ul li a:focus .name,
.search-section .search-result .place-list ul li a:active .name {
    color: #607dbb; /* second-blue-color */
}

.search-section .search-result .place-list ul li .name {
    display: inline-block;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    line-height: 24px;
    text-transform: capitalize;
    margin: 0px;
}

.search-section .search-result .place-list ul li .branch {
    font-size: 12px;
    line-height: 20px;
    padding: 0px 0px 0px 18px;
    text-transform: capitalize;
    color: #90a4ae; /* light-blue-color */
    font-family: 'Nunito', sans-serif;
    margin: 0px;
}

.search-section .search-result .place-list ul li:hover {
    background: var(--gray-100);
}

.search-section .search-result .place-list ul li span {
    font-size: 14px;
    color: #90a4ae; /* light-blue-color */
    margin-right: 2px;
}

.search-section .search-result .place-list ul::-webkit-scrollbar {
    width: 5px;
}

.search-section .search-result .place-list ul::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
    background: #cccccc; /* dark-gray-color */
}

.search-section .search-result .place-list ul::-webkit-scrollbar-thumb {
    background: #90a4ae; /* light-blue-color */
    border-radius: 10px;
}

.search-section .search-result .place-list ul::-webkit-scrollbar-thumb:hover {
    background: #90a4ae; /* light-blue-color */
}

.search-section .search-result .place-map {
    display: block;
    position: relative;
}

.search-section .search-result .place-map .info {
    display: block;
    text-align: right;
}

.search-section .search-result .place-map .info h2 {
    font-size: 18px;
    line-height: 24px;
    text-transform: capitalize;
    color: #414b61; /* primary-blue-color */
    font-family: 'Nunito', sans-serif;
}

.search-section .search-result .place-map .info p {
    font-size: 14px;
    line-height: 18px;
    text-transform: capitalize;
    color: #414b61; /* primary-blue-color */
    font-family: 'Nunito', sans-serif;
    margin-bottom: 6px;
}

.search-section .search-result .on-map {
    display: flex;
    height: 100%;
}

.search-section .search-result .on-map iframe {
    top: 36%;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 250px;
    max-height: 100%;
}

/* Small screens: stack vertically for usability */
@media (max-width: 768px) {

    .search-section .search-result {
        top: 35%;
    }

    .search-section .search-result .row {
        flex-wrap: wrap;
    }

    .search-section .search-result #divPlaceList,
    .search-section .search-result #divPlaceMap {
        flex: 0 0 100%;
        max-width: 100%;
    }
}