@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;900&display=swap');

/* Style Tokens & Variables (Saudi Green, Midnight Obsidian, & Gold Design System) */
:root {
    --primary: #0F9F59; /* Saudi National Green */
    --primary-dark: #07090E; /* Obsidian Midnight */
    --primary-light: #ECFDF5; /* Soft National Mint */
    --primary-hover: #0B8444;
    --accent: #D4AF37; /* Premium Saudi Gold */
    --mint: #D1FAE5;
    --mint-text: #065F46;
    --text-dark: #0A0F1D; /* Slate 950 */
    --text-muted: #5E6E85; /* Slate 600 */
    --bg-light: #F8FAFC; /* Slate 50 */
    --white: #FFFFFF;
    --shadow-sm: 0 4px 12px rgba(7, 9, 14, 0.02);
    --shadow-md: 0 10px 30px rgba(7, 9, 14, 0.04);
    --shadow-lg: 0 20px 40px rgba(7, 9, 14, 0.06);
    --transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Spring Hover Transition */
    --radius-lg: 24px;
    --radius-md: 16px;
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    font-family: var(--font-ar);
    line-height: 1.6;
    overflow-x: hidden;
}

html[dir="ltr"] body {
    font-family: var(--font-en);
}

/* Ambient Saudi Green Glow Backgrounds */
.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    transition: var(--transition);
}

.glow-1 {
    width: 450px;
    height: 450px;
    background: var(--primary);
    top: -120px;
    left: -120px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: 8%;
    right: -120px;
}

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* National Saudi Badge */
.saudi-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 159, 89, 0.08);
    border: 1px solid rgba(15, 159, 89, 0.2);
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(15, 159, 89, 0.04);
}

/* Header & Glassmorphic Sticky Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    padding: 12px 24px;
}

header .logo-container {
    background: rgba(7, 9, 14, 0.9);
    backdrop-filter: blur(20px);
    padding: 12px 28px;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}

.logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 16px;
    background: rgba(7, 9, 14, 0.9);
    backdrop-filter: blur(20px);
    padding: 12px 28px;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.nav-item {
    color: var(--white);
    opacity: 0.85;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
    opacity: 1;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 8px;
    background: rgba(7, 9, 14, 0.9);
    backdrop-filter: blur(20px);
    padding: 10px 20px;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.lang-btn {
    color: var(--white);
    opacity: 0.7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    transition: var(--transition);
}

.lang-btn:hover, .lang-btn.active {
    opacity: 1;
    color: var(--primary);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: rgba(7, 9, 14, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1001;
}

.menu-toggle:hover {
    color: var(--primary);
    background: #000000;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, #ECFDF5, #FFFFFF);
    z-index: 999;
    padding: 120px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

html[dir="ltr"] .mobile-drawer {
    right: auto;
    left: -100%;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-drawer.open {
    right: 0;
}

html[dir="ltr"] .mobile-drawer.open {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 159, 89, 0.06);
}

/* Hero Section with Riyadh Grid Map */
.hero {
    position: relative;
    z-index: 5;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #111827 100%);
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 159, 89, 0.06) 1.5px, transparent 0), linear-gradient(135deg, var(--primary-dark) 0%, #111827 100%);
    background-size: 28px 28px, 100% 100%;
    color: var(--white);
    padding: 160px 24px 100px;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: var(--white);
    clip-path: ellipse(60% 40px at 50% 40px);
    z-index: 6;
}

.hero .hero-content h1 {
    color: var(--white);
    font-size: 58px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero .hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 19px;
    margin-bottom: 40px;
    max-width: 650px;
}

.hero.centered-hero {
    display: block;
    text-align: center;
    padding: 180px 24px 120px;
}

.hero.centered-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Split Portal Cards */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: -50px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.portal-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 159, 89, 0.08);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.portal-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(15, 159, 89, 0.08);
}

.portal-logo-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 28px;
    border: 2px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.portal-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-card h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
}

.portal-card p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 36px;
    min-height: 80px;
}

/* Custom Buttons */
.btn-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.primary-btn, .smart-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    font-weight: 700;
    padding: 16px 28px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 16px rgba(15, 159, 89, 0.15);
    transition: var(--transition);
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.primary-btn:hover, .smart-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px rgba(15, 159, 89, 0.25);
    opacity: 0.95;
}

.secondary-btn {
    background: var(--primary-light);
    border: 1px solid rgba(15, 159, 89, 0.1);
    color: var(--primary-hover);
    font-weight: 700;
    padding: 16px 28px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 15px;
}

.secondary-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Dividers & Store Buttons */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    width: 100%;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(15, 159, 89, 0.1);
}

.divider:not(:empty)::before { margin-left: 1em; }
.divider:not(:empty)::after { margin-right: 1em; }

.store-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.store-btn {
    background: var(--bg-light);
    border: 1px solid rgba(15, 159, 89, 0.05);
    border-radius: 14px;
    padding: 14px 20px;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    direction: ltr;
}

.store-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
}

.store-btn i { font-size: 26px; color: var(--primary); }
.btn-text { display: flex; flex-direction: column; text-align: left; }
.btn-subtitle { font-size: 10px; color: var(--text-muted); }
.btn-title { font-size: 15px; font-weight: 700; }

/* Download Card in Driver/Customer Pages */
.download-card {
    background: var(--white);
    border: 1px solid rgba(15, 159, 89, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-top: 24px;
    color: var(--text-dark);
}

.download-card h2 {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}

/* Stepper Sections */
.steps-section {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--text-dark);
}

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

.step-item {
    text-align: center;
    background: var(--white);
    border: 1px solid rgba(15, 159, 89, 0.06);
    padding: 40px 24px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary-hover);
    font-size: 26px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-item:hover .step-number {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.step-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Statistics Bar */
.stats-bar {
    background: var(--primary-light);
    border-top: 1px solid rgba(15, 159, 89, 0.05);
    border-bottom: 1px solid rgba(15, 159, 89, 0.05);
    padding: 50px 24px;
    margin-bottom: 80px;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 44px;
    font-weight: 900;
    color: var(--primary-hover);
    margin-bottom: 5px;
}

.stat-item p { color: var(--text-dark); font-weight: 600; font-size: 16px; }

/* Riyadh Focus Section */
.riyadh-banner {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.6), rgba(209, 250, 229, 0.15));
    border: 1px solid rgba(15, 159, 89, 0.08);
    border-radius: 32px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-md);
}

.riyadh-icon {
    font-size: 50px;
    color: var(--primary);
}

.riyadh-text h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.riyadh-text p { color: var(--text-muted); font-size: 16px; }

/* Earnings Calculator */
.calculator-section {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.calculator-card {
    background: var(--white);
    border: 1px solid rgba(15, 159, 89, 0.08);
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.calculator-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.calculator-card p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.slider-container {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--primary-light);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.trips-display { font-size: 20px; font-weight: 700; color: var(--primary-hover); }

.calculator-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.result-box {
    background: var(--bg-light);
    border: 1px solid rgba(15, 159, 89, 0.05);
    border-radius: 20px;
    padding: 20px;
}

.result-box .label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.result-box .value { font-size: 32px; font-weight: 900; color: var(--primary-hover); }
.calc-note { font-size: 12px !important; color: var(--text-muted); }

/* iPhone CSS Mockup */
.iphone-container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.iphone-mockup {
    position: relative;
    width: 290px;
    height: 590px;
    background: #000;
    border-radius: 46px;
    border: 12px solid #1c1c24;
    box-shadow: 0 25px 60px -12px rgba(15, 159, 89, 0.15), inset 0 0 15px rgba(255, 255, 255, 0.2);
    padding: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.iphone-mockup::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 100;
}

.iphone-screen {
    flex: 1;
    background: #0d0d12;
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
}

/* App Screenshot Gallery Grid */
.screenshots-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.screenshot-wrapper {
    width: 240px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: #111;
}

.screenshot-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.screenshot-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services / Features Grid */
.services-section {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(15, 159, 89, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--bg-light);
    box-shadow: var(--shadow-lg);
}

.service-icon { font-size: 36px; color: var(--primary); margin-bottom: 20px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 15px; }

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-card {
    background: var(--white);
    border: 1px solid rgba(15, 159, 89, 0.08);
    border-radius: 20px;
    padding: 24px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-card:hover {
    border-color: var(--primary);
    background: var(--bg-light);
    box-shadow: var(--shadow-lg);
}

.faq-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.faq-card p { color: var(--text-muted); font-size: 15px; }

/* Footer */
footer {
    text-align: center;
    padding: 50px 24px;
    border-top: 1px solid rgba(15, 159, 89, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    background: var(--primary-dark);
}

footer a {
    color: var(--white);
    text-decoration: underline;
}

/* Animations & Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
    header {
        padding: 16px 24px;
    }
    .nav-links {
        display: none;
    }
    .lang-switch {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 120px 24px 60px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .split-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
    }
    .stepper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero .hero-content h1 { font-size: 38px; }
    .hero .hero-content p { font-size: 16px; }
    .stats-container { grid-template-columns: 1fr; gap: 30px; }
    .riyadh-banner { flex-direction: column; text-align: center; padding: 30px 24px; }
    .calculator-results { grid-template-columns: 1fr; }
    .store-buttons { grid-template-columns: 1fr; }
}

/* Saudi Flag SVG Styles */
.saudi-flag-svg {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

html[dir="rtl"] .saudi-flag-svg {
    margin-left: 8px;
}

html[dir="ltr"] .saudi-flag-svg {
    margin-right: 8px;
}

/* Hide Saudi flag on computers (Desktop views) */
@media (min-width: 1025px) {
    .saudi-flag-svg {
        display: none !important;
    }
}

/* Mega Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    min-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 159, 89, 0.08);
    padding: 10px 0;
    z-index: 1001;
    margin-top: 12px;
    animation: fadeInMenu 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html[dir="ltr"] .dropdown-content {
    right: auto;
    left: 0;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Interactive Dashboard Widget (Uber/Bolt Layout) */
.dashboard-widget {
    background: var(--white);
    border: 1px solid rgba(15, 159, 89, 0.08);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    margin: 40px auto;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

.dashboard-widget:hover {
    box-shadow: 0 24px 48px rgba(7, 9, 14, 0.08);
    border-color: rgba(15, 159, 89, 0.15);
}

.dashboard-tabs {
    display: flex;
    background-color: var(--bg-light);
    border-bottom: 1px solid rgba(15, 159, 89, 0.08);
}

.dashboard-tab-btn {
    flex: 1;
    padding: 20px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    transition: var(--transition);
}

.dashboard-tab-btn:hover {
    color: var(--primary);
    background-color: rgba(15, 159, 89, 0.02);
}

.dashboard-tab-btn.active {
    color: var(--primary);
    background-color: var(--white);
}

.dashboard-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

.dashboard-content {
    padding: 36px;
}

.dashboard-pane {
    display: none;
    flex-direction: column;
    gap: 24px;
    animation: fadeInPane 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dashboard-pane.active {
    display: flex;
}

@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard-pane h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.dashboard-pane p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Booking Form Elements */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(15, 159, 89, 0.08);
}

.input-icon {
    position: absolute;
    right: 18px;
    color: var(--primary);
    font-size: 16px;
}

html[dir="ltr"] .input-icon {
    right: auto;
    left: 18px;
}

.input-field {
    width: 100%;
    padding: 16px 48px 16px 18px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

html[dir="ltr"] .input-field {
    padding: 16px 18px 16px 48px;
}

.input-field::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Car Options Grid */
.car-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 480px) {
    .car-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}


.car-option-pill {
    background: var(--bg-light);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 14px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.car-option-pill:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.car-option-pill.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(15, 159, 89, 0.06);
}

.car-icon {
    font-size: 24px;
    color: var(--text-dark);
    transition: var(--transition);
}

.car-option-pill.active .car-icon {
    color: var(--primary);
    transform: scale(1.1);
}

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

.car-price-factor {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Live Fare Box */
.live-fare-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(209, 250, 229, 0.2) 100%);
    border: 1px solid rgba(15, 159, 89, 0.12);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.live-fare-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.live-fare-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--mint-text);
}

.live-fare-amount {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-hover);
}

.live-fare-amount span {
    font-size: 14px;
    font-weight: 700;
    margin-right: 4px;
}

/* Custom Autocomplete Dropdown */
.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border: 1px solid rgba(15, 159, 89, 0.15);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 4px;
    display: none;
    text-align: right;
}

html[dir="ltr"] .autocomplete-dropdown {
    text-align: left;
}

.autocomplete-item {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.autocomplete-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover);
}

.autocomplete-item i {
    color: var(--primary);
    font-size: 13px;
}




