 :root {
            --primary-color: #3764eb;
            --primary-dark: #2a4fba;
            --primary-light: #e8f0ff;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --info-color: #17a2b8;
            --gray-100: #f8f9fa;
            --gray-200: #e9ecef;
            --gray-300: #dee2e6;
            --gray-600: #6c757d;
            --gray-800: #343a40;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
        }

        /* Mobile Header */
        .mobile-header {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 1030;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 12px 16px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.1);
        }

        /* Mobile Navigation */
        .mobile-nav {
            position: fixed;
            bottom: 0; left: 0; right: 0;
            background: white;
            border-top: 1px solid var(--gray-200);
            z-index: 1030;
            padding: 8px 0;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        }

        .nav-item { text-align: center; flex: 1; }

        .nav-link {
            color: var(--gray-600);
            font-size: 0.75rem;
            padding: 6px 4px;
            transition: all 0.3s;
        }
        .nav-link.active, .nav-link:hover {
            color: var(--primary-color);
            transform: translateY(-2px);
        }
        .nav-link i { display: block; font-size: 1.25rem; margin-bottom: 4px; }
/* Add to your existing styles */
.fullscreen-map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.fullscreen-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
}

.fullscreen-map-container {
    position: relative;
    width: 95%;
    height: 90%;
    margin: 2% auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.fullscreen-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.fullscreen-map-header h5 {
    margin: 0;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.close-fullscreen {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-fullscreen:hover {
    background: rgba(255,255,255,0.2);
}

@media (min-width: 768px) {
    .fullscreen-map-header h5 {
        font-size: 1.2rem;
    }
}

/* Style for the fullscreen button */
.btn-fullscreen-map {
    margin-left: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
}

.btn-fullscreen-map:hover {
    background: var(--primary-color);
    color: white;
}

/* Ensure maps are responsive */
.map-div {
    min-height: 180px;
    width: 100%;
}
        /* Statistics Cards */
        .stat-card {
            background: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            border-left: 4px solid var(--primary-color);
            transition: transform 0.3s, box-shadow 0.3s;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }
        .stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
        .stat-number { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
        .stat-label { color: var(--gray-600); font-size: 0.875rem; font-weight: 500; }
        .stat-card.outstanding-warning { border-left-color: var(--warning-color); background: #fff9e6; }

        /* Cards */
        .card {
            border: none;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            margin-bottom: 20px;
            overflow: hidden;
            transition: box-shadow 0.3s;
        }
        .card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
        .card-header {
            background: white;
            border-bottom: 1px solid var(--gray-200);
            padding: 16px 20px;
            font-weight: 600;
        }

        /* Load Cards */
        .load-card {
            background: #e6e6e6;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 12px;
            border-left: 4px solid var(--primary-color);
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: all 0.3s;
            zoom: 0.8;
        }
        .load-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

        .load-info-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            font-size: 0.875rem;
            margin: 12px 0;
        }
        .info-label {
            font-weight: 600;
            color: var(--gray-600);
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* ===== ROUTE MAP STYLES ===== */
        .route-map-container {
            margin-top: 12px;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--gray-300);
            background: #f0f2f5;
        }

        .route-map-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px;
            background: white;
            border-bottom: 1px solid var(--gray-200);
            font-size: 0.75rem;
        }

        .route-map-header .route-points {
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 600;
            color: var(--gray-800);
            flex: 1;
            min-width: 0;
        }

        .route-map-header .route-points span {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100px;
            font-size: 0.7rem;
        }

        .route-arrow {
            color: var(--primary-color);
            font-size: 0.8rem;
            flex-shrink: 0;
        }

        .route-map-frame {
            width: 100%;
            height: 180px;
            position: relative;
            background: #e8eaf0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .route-map-frame .map-div {
            width: 100%;
            height: 100%;
        }

        .route-map-frame .map-loading {
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: var(--gray-600);
            font-size: 0.75rem;
            pointer-events: none;
            z-index: 1;
        }

        .route-map-frame .map-loading i { display: block; font-size: 1.5rem; margin-bottom: 4px; }

        .route-info-bar {
            display: flex;
            gap: 12px;
            padding: 6px 12px;
            background: white;
            border-top: 1px solid var(--gray-200);
            font-size: 0.7rem;
            color: var(--gray-600);
        }

        .route-info-bar span { display: flex; align-items: center; gap: 4px; }

        .btn-toggle-map {
            font-size: 0.65rem;
            padding: 2px 8px;
            border-radius: 20px;
            background: var(--primary-light);
            color: var(--primary-color);
            border: 1px solid var(--primary-color);
            cursor: pointer;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .btn-toggle-map:hover { background: var(--primary-color); color: white; }
        /* ===== END ROUTE MAP ===== */

        /* Vehicle Cards */
        .vehicle-card {
            background: var(--gray-100);
            border-radius: 12px;
            margin-top: 12px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid var(--gray-200);
        }
        .vehicle-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border-color: var(--primary-color);
        }
        .vehicle-card.assigned { background: var(--primary-light); border-left: 4px solid var(--primary-color); }
        .vehicle-card-inner { display: flex; gap: 16px; padding: 16px; }
        .vehicle-image {
            flex-shrink: 0;
            width: 100px;
            height: auto;
            border-radius: 8px;
            overflow: hidden;
            background: var(--gray-200);
        }
        .vehicle-image img { width: 100%; height: auto; object-fit: cover; }
        .vehicle-details { float: left; gap: 8px; width: 50%; }
        .vehicle-reg { font-size: 1rem; font-weight: 700; color: var(--primary-color); margin: 0; }
        .vehicle-meta { display: flex; gap: 12px; flex-wrap: wrap; }
        .badge-vehicle {
            background: white;
            color: var(--gray-800);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
            border: 1px solid var(--gray-300);
        }
        .vehicle-location { font-size: 0.8rem; color: var(--gray-600); }
        .vehicle-phone a { color: var(--gray-600); text-decoration: none; font-size: 0.85rem; }
        .vehicle-phone a:hover { color: var(--success-color); }
        .vehicle-actions { display: flex; gap: 8px; align-items: center; }
        .btn-whatsapp { background: #25D366; border-color: #25D366; color: white; }
        .btn-whatsapp:hover { background: #128C7E; border-color: #128C7E; color: white; }
        .action-buttons { float: left; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

        /* Desktop Sidebar */
        .desktop-sidebar {
            display: none;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            min-height: 100vh;
            position: fixed;
            width: 280px;
            box-shadow: 2px 0 12px rgba(0,0,0,0.1);
        }
        .desktop-sidebar .logo {
            padding: 30px 20px;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            margin-bottom: 20px;
        }
        .desktop-sidebar .logo img { max-height: 50px; }
        .desktop-sidebar .nav-link {
            color: rgba(255,255,255,0.85);
            padding: 12px 24px;
            margin: 4px 12px;
            border-radius: 12px;
            transition: all 0.3s;
        }
        .desktop-sidebar .nav-link:hover,
        .desktop-sidebar .nav-link.active {
            background: rgba(255,255,255,0.15);
            color: white;
            transform: translateX(4px);
        }
        .desktop-sidebar .nav-link i { width: 24px; margin-right: 12px; }

        .desktop-content { margin-left: 0; padding: 20px; }

        /* Desktop Navbar */
        .navbar-desktop {
            background: white;
            border-radius: 16px;
            padding: 12px 24px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        /* Responsive */
        @media (min-width: 768px) {
            body { padding: 0; }
            .mobile-header, .mobile-nav { display: none; }
            .desktop-sidebar { display: block; }
            .desktop-content { margin-left: 280px; padding: 30px; }
            .stat-number { font-size: 2.2rem; }
            .vehicle-image { width: 120px; height: auto; }
        }

        @media (max-width: 767px) {
            body { padding-top: 60px; padding-bottom: 70px; }
            .desktop-content { padding: 16px; }
            .stat-number { font-size: 1.5rem; }
            .vehicle-image { width: 50%; height: auto; float: left; }
            .vehicle-actions .btn, .vehicle-actions form { width: 100%; }
            .action-buttons { flex-wrap: wrap; }
        }

        /* Utilities */
        .text-primary-custom { color: var(--primary-color); }
        .bg-primary-light { background: var(--primary-light); }
        .cursor-pointer { cursor: pointer; }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .load-card, .stat-card, .card { animation: fadeInUp 0.5s ease-out; }

        .extra-fields-section { margin-top: 20px; border-top: 1px solid #e9ecef; padding-top: 15px; }
        .extra-fields-section h6 { color: var(--primary-color); margin-bottom: 15px; }
:root {
    /* Primary Colors */
    --primary: #3764eb;
    --primary-dark: #2a4fba;
    --primary-light: #5a7eef;
    --secondary: #ff7000;
    --secondary-dark: #e66500;
    --secondary-light: #ff882e;
    
    /* Functional Colors */
    --pickup: #1abc9c;
    --drop: #e74c3c;
    --stop: #f39c12;
    --rental: #3498db;
    --intercity: #9b59b6;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gray: #999;
    --light-bg: #f8f9fa;
    --dark-text: #1a2c3e;
    --light-text: #6c757d;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Typography */
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-heading-weight: 700;
    --font-body-weight: 400;
    --line-height-base: 1.5;
    
    /* Borders & Shadows */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition-base: all 0.2s ease;
}

/* ==========================================================================
   Base Reset & Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: auto;
    position: relative;
}

body {
    font-family: var(--font-base);
    color: var(--dark-text);
    background: #fff;
    background-image: url(logowhite.png);
    background-size: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    line-height: var(--line-height-base);
}

/* Hide scrollbars but keep functionality */
::-webkit-scrollbar {
    width: 6px;
    display: block;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-heading-weight);
    margin-bottom: var(--space-md);
    color: var(--dark-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ==========================================================================
   Layout & App Container
   ========================================================================== */
.app {
    margin: 0 auto;
    background: #fff;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.app-container {
    max-width: 100%;
    margin: 0 auto;
    background: none;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   Header
   ========================================================================== */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: white;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
}

.logo, .header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo img, .header-logo img {
    height: 40px;
}

.brand-text {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--light-text);
    font-style: italic;
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.user-name {
    font-weight: 600;
    color: var(--dark-text);
}

.auth-btn, .btn-logout {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-base);
}

.auth-btn:hover, .btn-logout:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-logout {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
}

/* ==========================================================================
   Tabs Navigation
   ========================================================================== */
.tabs, .app-tabs {
    background: var(--primary);
    padding: 0;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: space-around;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.tabs::-webkit-scrollbar, .app-tabs::-webkit-scrollbar {
    display: none;
}

.tab-link, .tab-item {
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: var(--transition-base);
    white-space: nowrap;
    border-radius: 0;
    color: rgba(255,255,255,0.8);
    background: transparent;
    border: none;
}

.tab-item {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 0.9375rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3125rem;
}

.tab-item i {
    font-size: 1.125rem;
    margin-bottom: 0.1875rem;
}

.tab-item span {
    font-size: 0.75rem;
}

.tab-link.active, .tab-item.active {
    color: white;
    background: var(--secondary);
}

.tab-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.tab-item.active::after {
    width: 70%;
}

.tab-item:hover:not(.active) {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.vehicle-image{
    width:110px;
    height:auto;
}
.tab-content {
    display: none;
    height: 100%;
    position: relative;
    flex-direction: column;
}

.tab-content.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   Map Container & Controls
   ========================================================================== */
.map-container {
    position: relative;
    height: 350px;
    width: 100%;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}


.map-container.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 10000 !important;
    border-radius: 0 !important;
    animation: expandToFullscreen 0.3s ease forwards;
}

@keyframes expandToFullscreen {
    from {
        opacity: 0.9;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#map {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

/* Map Inputs */
.location-inputs, .floating-inputs {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: var(--space-md);
    margin: var(--space-md);
}

.floating-inputs {
    top: 0.3125rem;
    left: 0.3125rem;
    right: var(--space-md);
    width: 90%;
    font-size: 0.625rem;
    border: none;
    box-shadow: 0 4px 15px var(--primary);
}

.location-row {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.9375rem;
    border-bottom: 1px solid #eee;
    position: relative;
    margin: 0;
}

.location-row:last-child {
    border-bottom: none;
}

.location-dot, .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.625rem;
    flex-shrink: 0;
}

.dot-pickup, .dot.pickup { background: var(--pickup); }
.dot-drop, .dot.drop { background: var(--drop); }
.dot-stop, .dot.stop { background: var(--stop); }

.location-input {
    flex: 1;
    font-size: 0.875rem;
    padding: 0.3125rem;
    background: transparent;
    cursor: pointer;
    color: #000;
    width: 100%;
        font-size: 20px;
    border-radius: 30px;
    padding: 10px;
    border:3px solid #333;
}


.location-input input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.9375rem;
    background: transparent;
    cursor: pointer;
    color: #000;
}

.location-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.3125rem;
    font-size: 1rem;
}

.add-stop-btn {
    width: 100%;
    padding: 0.625rem;
    background: var(--light-bg);
    border: none;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3125rem;
}

.stop-container {
    position: relative;
    display: flex;
    align-items: center;
}

.stop-actions {
    display: flex;
    gap: 0.3125rem;
    margin-left: 0.5rem;
}

.remove-stop {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.25rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.drag-handle {
    cursor: grab;
    user-select: none;
    padding: 0.3125rem;
    margin-right: 0.3125rem;
    color: #ccc;
    display: flex;
    align-items: center;
    font-size: 1.125rem;
}

.draggable {
    transition: var(--transition-base);
    border-radius: 4px;
}

.draggable.dragging {
    opacity: 0.5;
    background-color: var(--light-bg);
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}

.drag-over {
    background-color: #f0f8ff;
    border-left: 3px solid var(--primary);
}

/* Map Controls */
.map-controls {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.map-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: var(--transition-base);
}

.map-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.map-btn:active {
    transform: scale(0.95);
}

.fullscreen-close {
    position: fixed;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 10001;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.map-container.fullscreen ~ .fullscreen-close {
    display: flex;
}

/* Suggestions */
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1002;
    display: none;
    font-size: 0.625rem;
}

.suggestion-item {
    padding: 0.625rem 0.9375rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:hover {
    background: var(--light-bg);
}

/* ==========================================================================
   Vehicles Panel
   ========================================================================== */
.vehicles-panel {
    height: 60%;
    background: white;
    border-top: 1px solid #eee;
    overflow-y: auto;
}

.vehicles-header {
    padding: var(--space-md);
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

.vehicles-header h3 {
    font-size: 1.125rem;
    margin: 0;
    color: var(--dark-text);
}

.vehicles-header p {
    color: var(--light-text);
    font-size: 0.8125rem;
    margin: 0.3125rem 0 0;
}



.vehicle-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

  .vehicle-card {
        flex-direction: row;
        align-items: center;
        min-height: 80px;
        padding:0 20% 0 20%;
    }
.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.vehicle-card.selected {
    background: linear-gradient(135deg, rgba(55,100,235,0.05), rgba(255,112,0,0.05));
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.vehicle-image-containers {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: var(--light-bg);
}

.vehicle-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-images {
    transform: scale(1.05);
}

.vehicle-info {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.vehicle-name {
    font-weight: 700;
    margin: 0;
    color: var(--dark-text);
    font-size: 1rem;
}

.vehicle-type {
    color: var(--light-text);
    font-size: 0.8125rem;
    margin: 0;
}

.vehicle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3125rem;
    margin-top: 0.5rem;
}

.feature-tag {
    background: var(--light-bg);
    color: var(--primary);
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 500;
}

.vehicle-price {
    text-align: right;
    margin-top: auto;
    cursor: pointer;
}

.price-amount {
    font-weight: 800;
    font-size: 1.75rem;
    color: #444;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.price-unit {
    color: var(--light-text);
    font-size: 0.75rem;
    display: block;
}

/* ==========================================================================
   Buttons & Forms
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1rem;
    letter-spacing: 0.3px;
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-block {
    width: 100%;
}

.btn-login {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,112,0,0.3);
}

.form-control {
    border: 2px solid #333;
    background: #fff;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-base);
    padding: 0.5rem 0.75rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(55,100,235,0.25);
    outline: none;
    transform: scale(1.02);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-content {
    background: #efefef;
    border-radius: var(--border-radius-lg);
    border: none;
}

#loginModal .modal-content,
#bookingModalBootstrap .modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
}

#loginModal .modal-header,
#bookingModalBootstrap .modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    border: none;
    padding: var(--space-lg);
}

#loginModal .modal-body {
    padding: 2rem;
}

#bookingModalBootstrap .modal-dialog {
    max-width: 800px;
}

.price-summary-card {
    background: var(--light-bg);
    border-left: 4px solid var(--primary);
    padding: var(--space-md);
    border-radius: var(--border-radius-sm);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #dee2e6;
}

.price-total {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
}

/* ==========================================================================
   Load Tracking & History
   ========================================================================== */
.load-ribbon {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 0.75rem 1.25rem;
    margin: 0.625rem 0.9375rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 15px rgba(255,112,0,0.3);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
    border-left: 5px solid var(--primary);
}

.load-ribbon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,112,0,0.4);
}

.load-ribbon i {
    font-size: 1.25rem;
    margin-right: 0.625rem;
}

.load-ribbon .count-badge {
    background: var(--primary);
    color: white;
    padding: 0.1875rem 0.625rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

.load-ribbon .ribbon-arrow {
    transition: transform 0.3s ease;
}

.load-ribbon.expanded .ribbon-arrow {
    transform: rotate(180deg);
}

.load-tracking-container {
    background: white;
    border-radius: var(--border-radius-lg);
    margin: 0.625rem 0.9375rem;
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    display: none;
    border: 1px solid #e9ecef;
    max-height: 400px;
    overflow-y: auto;
}

.load-tracking-container.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.load-item {
    background: var(--light-bg);
    border-radius: var(--border-radius-sm);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    border-left: 4px solid var(--primary);
    transition: var(--transition-base);
}

.load-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.load-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px dashed #dee2e6;
}

.load-id {
    font-weight: bold;
    color: var(--primary);
    font-size: 1rem;
}

.load-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-weight: bold;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-enroute {
    background: #d1ecf1;
    color: #0c5460;
}

.status-accepted {
    background: #d4edda;
    color: #155724;
}

.load-progress {
    margin-top: var(--space-md);
}

.progress-stages {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3125rem;
    font-size: 0.75rem;
    color: var(--light-text);
    position: relative;
}

.stage {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.stage.active {
    color: var(--primary);
    font-weight: bold;
}

.stage.completed {
    color: var(--success);
}

.progress-bar-container {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    position: relative;
    margin: 0.3125rem 0 0.9375rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.load-details {
    background: white;
    padding: 0.625rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid #e9ecef;
    font-size: 0.875rem;
}

.detail-row {
    display: flex;
    margin-bottom: 0.3125rem;
}

.detail-label {
    color: var(--light-text);
    min-width: 100px;
}

.detail-value {
    color: var(--dark-text);
    font-weight: 500;
}

.history-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e9ecef;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.history-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.history-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), rgba(55,100,235,0.7));
    border-radius: 16px 0 0 16px;
}

.history-header {
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.history-header h6 {
    color: var(--dark-text);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.history-header .small {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    color: var(--light-text);
    font-size: 0.85rem;
    align-items: center;
}

.history-footer {
    padding-top: 0.875rem;
    margin-top: 0.875rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-price .fw-bold {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

/* ==========================================================================
   Services & Cards
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 var(--space-md);
}

.service-card {
    background: linear-gradient(145deg, var(--light-bg), #ffffff);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    height: 400px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(55,100,235,0.3), 0 0 30px rgba(255,112,0,0.2);
}

.card-image {
    height: 180px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(55,100,235,0.7), rgba(255,112,0,0.5));
    z-index: 1;
}

.card-image i {
    font-size: 4.5rem;
    color: white;
    z-index: 2;
    position: relative;
    transition: all 0.5s ease;
}

.service-card:hover .card-image i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 5px 15px rgba(255,255,255,0.4));
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    padding: var(--space-md);
    background: #fafafa;
    border-radius: var(--border-radius-sm);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.card-description {
    color: var(--dark-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.card-badge {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-cta {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.card-cta:hover {
    color: var(--primary);
    gap: 0.8rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 2.5rem var(--space-md);
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-header {
    text-align: center;
    margin-bottom: 3.125rem;
    position: relative;
}

.section-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.9375rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.modern-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.modern-card {
    flex: 0 0 calc(29% - 25px);
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 5rem 0 0 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(55,100,235,0.08);
    border: 1px solid rgba(55,100,235,0.1);
    display: flex;
    flex-direction: column;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(55,100,235,0.15);
    border-color: rgba(55,100,235,0.2);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-card:hover::before {
    opacity: 1;
}

.card-number {
    position: absolute;
    top: -5px;
    height: auto;
    background: var(--primary);
    color: white;
    border-radius: var(--border-radius-sm);
    padding: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(55,100,235,0.3);
    z-index: 2;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(55,100,235,0.1), rgba(255,112,0,0.1));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.modern-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(55,100,235,0.15), rgba(255,112,0,0.15));
}

.modern-card .card-content {
    flex: 1;
    position: relative;
    z-index: 1;
    padding: var(--space-md);
}

.modern-card .card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.9375rem;
    color: #2d3748;
}

.modern-card .card-content p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(55,100,235,0.08);
}

.card-link:hover {
    color: var(--secondary);
    background: rgba(55,100,235,0.12);
    gap: 12px;
}

/* Why Choose Section */
.why-choose-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    margin-top: 3.125rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    padding: 2.1875rem 1.5625rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(55,100,235,0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #00c9a7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(55,100,235,0.15);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(55,100,235,0.1) 0%, rgba(0,201,167,0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5625rem;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #00c9a7 100%);
    color: white;
    transform: scale(1.1) rotate(360deg);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.9375rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    margin-top: 3.125rem;
}

.testimonial-card {
    background: #f8faff;
    padding: 1.875rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(55,100,235,0.1);
    transition: var(--transition-base);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(55,100,235,0.1);
    border-color: var(--primary);
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1.25rem;
    right: 1.5625rem;
    font-size: 5rem;
    color: rgba(55,100,235,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-rating {
    color: #ffb800;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.testimonial-text {
    color: #334155;
    line-height: 1.8;
    font-size: 0.9375rem;
    font-style: italic;
    margin-bottom: 1.5625rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.25rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #00c9a7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
}

.author-info strong {
    display: block;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.3125rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.8125rem;
}

/* Stats Banner */
.stats-banner {
    background: white;
    padding: 3.125rem 0;
    border-bottom: 1px solid rgba(55,100,235,0.1);
}

.stat-item {
    text-align: center;
    padding: 1.25rem;
}

.stat-number {
    font-size: 2.625rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.625rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), #00c9a7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background: #0a1a2f;
    color: #fff;
    padding: 4.375rem 0 0;
    position: relative;
    border-top: 5px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 2.5rem;
    margin-bottom: 3.125rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: 1.25rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.footer-description {
    color: #a0b3d9;
    line-height: 1.7;
    margin-bottom: 1.5625rem;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.875rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.app-badges {
    display: flex;
    gap: var(--space-md);
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 0.9375rem;
    border-radius: var(--border-radius-sm);
    color: white;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: var(--transition-base);
}

.app-badge i {
    font-size: 1rem;
}

.app-badge:hover {
    background: var(--primary);
    color: white;
}

.footer-col h5 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5625rem;
    position: relative;
    padding-bottom: 0.625rem;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a0b3d9;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--primary);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    gap: var(--space-md);
    margin-bottom: 1.25rem;
    color: #a0b3d9;
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-info li i {
    width: 20px;
    color: var(--primary);
    font-size: 1rem;
    margin-top: 3px;
}

.contact-info a {
    color: #a0b3d9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary);
}

.footer-newsletter {
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: center;
}

.newsletter-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: white;
}

.newsletter-content p {
    color: #a0b3d9;
    margin: 0;
    font-size: 0.875rem;
}

.newsletter-form .input-group {
    display: flex;
    gap: 0.625rem;
}

.newsletter-form .form-control {
    flex: 1;
    padding: 0.9375rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-sm);
    color: white;
    font-size: 0.875rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .btn {
    padding: 0.9375rem 1.875rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.875rem 0;
    margin-top: 1.875rem;
}

.copyright {
    color: #a0b3d9;
    font-size: 0.8125rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: #a0b3d9;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: #a0b3d9;
    font-size: 0.875rem;
}

.payment-methods i {
    font-size: 1.5rem;
    color: #a0b3d9;
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: white;
}

.payment-badge {
    background: rgba(255,255,255,0.1);
    padding: 0.3125rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.accreditations {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.accreditation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(55,100,235,0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    color: #a0b3d9;
    font-size: 0.8125rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.accreditation-badge i {
    color: var(--primary);
}

/* ==========================================================================
   Utility & Helper Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-muted { color: var(--light-text); }
.bg-white { background: white; }
.bg-light { background: var(--light-bg); }
.rounded { border-radius: var(--border-radius-sm); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.p-0 { padding: 0; }
.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.testimonial-card,
.partner-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.vehicle-card {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.vehicle-card:nth-child(1) { animation-delay: 0.05s; }
.vehicle-card:nth-child(2) { animation-delay: 0.1s; }
.vehicle-card:nth-child(3) { animation-delay: 0.15s; }
.vehicle-card:nth-child(4) { animation-delay: 0.2s; }
.vehicle-card:nth-child(5) { animation-delay: 0.25s; }
.vehicle-card:nth-child(6) { animation-delay: 0.3s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .modern-card {
        flex: 0 0 calc(45% - 25px);
    }
}

@media (max-width: 992px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-newsletter {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 0.625rem;
    }
    .brand-text {
        font-size: 1rem;
    }
    .brand-tagline {
        display: none;
    }
    .tab-item {
        min-width: 90px;
        padding: 0.625rem 0.3125rem;
    }
    .tab-item i {
        font-size: 1rem;
    }
    .tab-item span {
        font-size: 0.6875rem;
    }
   
    .vehicle-card {
        flex-direction: row;
        align-items: center;
        min-height: 80px;
        
        padding:5px;
    }
    .vehicle-features {
        display: none;
    }
    .vehicle-price {
        min-width: 80px;
    }
    .modern-card {
        flex: 0 0 100%;
        max-width: 400px;
    }
    .section-header h1 {
        font-size: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .cta-content h3 {
        font-size: 1.75rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 0.9375rem;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.625rem;
        justify-content: center;
        text-align: center;
    }
    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
    }
    .accreditations {
        justify-content: center;
    }
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .chat-button {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .tab-item {
        min-width: 80px;
    }
    .vehicle-price {
        text-align: center;
        margin-top: 0.625rem;
        margin-right:55px;
    }
    .how-it-works-section {
        padding: 1.875rem 0.9375rem;
    }
    .modern-card {
        padding: 0.3125rem 1.25rem;
        width: 25%;
        float: left;
        zoom: 68%;
    }
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }
    .card-number {
        font-size: 1.3rem;
    }
    .vehicle-name {
        font-size: 0.875rem;
    }
    .vehicle-type {
        font-size: 0.6875rem;
    }
    .price-amount {
        font-size: 1.5625rem;
        max-width: 32%;
    }
    .price-unit {
        font-size: 0.625rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.8125rem;
    }
    .newsletter-form .input-group {
        flex-direction: column;
    }
    .newsletter-form .btn {
        width: 100%;
    }
    .accreditations {
        flex-direction: column;
        align-items: center;
    }
    .accreditation-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Micro-interactions & Accessibility
   ========================================================================== */
.btn:active {
    transform: scale(0.96);
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Additional Fixes & Overrides
   ========================================================================== */
.container::-webkit-scrollbar {
    width: 6px;
    display: block;
}

html {
    scroll-behavior: smooth;
}

/* Prevent text selection on interactive elements */
.app, .tabs, .vehicles-panel {
    user-select: none;
}

/* Ensure fullscreen map inputs appear correctly */
.map-container:fullscreen .location-inputs {
    z-index: 10000;
    position: relative;
}

.map-container:fullscreen .map-controls {
    z-index: 10001;
}

.pac-container {
    z-index: 10002 !important;
}

/* Slide-out menu */
.menu-toggle {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    display: block;
    margin-right: var(--space-md);
    line-height: 1;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--secondary);
}

.slide-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.slide-menu.open {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid #eee;
}

.menu-header h5 {
    margin: 0;
    color: var(--primary);
    font-weight: 600;
}

.menu-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: var(--light-text);
}

.menu-close:hover {
    color: var(--danger);
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    flex: 1;
}

.menu-links li {
    margin: 0;
}

.menu-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9375rem 1.25rem;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.menu-links a i {
    width: 20px;
    color: var(--primary);
}

.menu-links a:hover {
    background: #f0f7ff;
    color: var(--primary);
}

.menu-footer {
    padding: 1.25rem;
    border-top: 1px solid #eee;
}

