/* General reset */
body {

  box-sizing: border-box;
}

       /* The Main Blue Bar */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 10px;
            width: 95%;
            height: 75px;
            border-radius: 50px;
            margin: 25px auto;
            background-color: #008cc9; /* Blue color from image */
            position: relative;
            z-index: 100;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        /* Left Side: White Pill for Logo */
        .navbar-brand {
            background-color: #ffffff;
            height: 55px;
            display: flex;
            align-items: center;
            padding: 0 25px;
            border-radius: 15px;
            margin-left: 5px;
        }

        .navbar-brand img {
            height: 30px;
            width: auto;
            max-width: 300px;
        }

        /* Center Menu Links */
        .navbar-menu ul {
            list-style: none;
            display: flex;
            gap: 25px;
            margin: 0;
            padding: 0;
        }

        .navbar-menu ul li a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            text-transform: capitalize;
            transition: 0.3s;
        }

        /* Active Link Underline (as seen in image) */
        .navbar-menu ul li a.active {
            border-bottom: 2px solid white;
            padding-bottom: 3px;
        }

        .vehicles-menu-item {
            position: relative;
        }

        .vehicles-menu-item::after {
            content: "";
            position: absolute;
            left: -20px;
            right: -20px;
            top: 100%;
            height: 24px;
        }

        .vehicles-dropdown {
            position: absolute;
            top: calc(100% + 22px);
            left: 50%;
            transform: translateX(-50%) translateY(12px);
            width: min(1180px, 88vw);
            background: #ffffff;
            border-radius: 8px;
            padding: 22px 28px 24px;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: 0.25s ease;
            box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
            z-index: 999;
        }

        .vehicles-menu-item:hover .vehicles-dropdown {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }

        .vehicle-category-tabs {
            display: flex;
            align-items: center;
            gap: 18px;
            margin-bottom: 18px;
        }

        .vehicle-category {
            min-width: 130px;
            padding: 10px 18px;
            border: 0;
            border-radius: 8px;
            background: #f3f6f8;
            color: #003b53;
            text-align: center;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
        }

        .vehicle-category.active {
            background: #008cc9;
            color: #ffffff;
        }

        .vehicles-dropdown-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 18px 28px;
        }

        .vehicle-dropdown-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            gap: 8px;
        }

        .vehicle-dropdown-card img {
            width: 100%;
            height: 120px;
            object-fit: contain;
            background: #f4f6f7;
            border-radius: 8px;
            padding: 10px;
            transition: 0.25s ease;
        }

        .vehicle-dropdown-card span {
            display: block;
            width: 100%;
            background: #003b53;
            color: #ffffff;
            border-radius: 6px;
            padding: 7px 8px;
            font-size: 11px;
            font-weight: 700;
            text-align: center;
            line-height: 1.2;
        }

        .vehicle-dropdown-card:hover img {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 59, 83, 0.12);
        }

        /* Right Side: Secondary Logo */
        .brand-secondary {
            /* background-color: rgba(255, 255, 255, 0.15); */
            height: 55px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            border-radius: 40px;
            margin-right: 5px;
        }

        .brand-secondary img {
            height: 60px;
            width: auto;
            /* filter: brightness(0) invert(1);  */
        }

        /* Mobile Toggler Button */
        .navbar-toggler {
            font-size: 28px;
            background: none;
            color: white;
            border: none;
            cursor: pointer;
            display: none; /* Hidden on desktop */
            margin-right: 15px;
        }

        /* SIDEBAR STYLES */
        .sidebar {
            position: fixed;
            top: 0;
            right: -300px; /* Hidden by default */
            height: 100vh;
            width: 260px;
            background-color: #005d85;
            color: white;
            transition: 0.4s ease-in-out;
            z-index: 1000;
            padding: 30px 20px;
            box-shadow: -5px 0 15px rgba(0,0,0,0.3);
            overflow-y: auto;
        }

        .sidebar.active { right: 0; }

        .sidebar ul { list-style: none; padding: 0; margin-top: 40px; }
        .sidebar ul li { margin-bottom: 20px; }
        .sidebar ul li a { color: white; text-decoration: none; font-size: 18px; display: flex; align-items: center; gap: 15px; }

        .mobile-vehicles-toggle {
            width: 100%;
            border: 0;
            background: transparent;
            color: white;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            padding: 0;
            cursor: pointer;
        }

        .mobile-vehicles-toggle span {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .mobile-vehicles-toggle .fa-chevron-down {
            font-size: 13px;
            transition: 0.3s;
        }

        .mobile-vehicles-toggle.active .fa-chevron-down {
            transform: rotate(180deg);
        }

        .mobile-vehicles-dropdown {
            display: none;
            margin-top: 16px;
            padding: 14px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
        }

        .mobile-vehicles-dropdown.active {
            display: block;
        }

        .mobile-vehicle-category-tabs {
            display: grid;
            grid-template-columns: 1fr;
            gap: 8px;
            margin-bottom: 14px;
        }

        .mobile-vehicle-category {
            border: 0;
            border-radius: 8px;
            padding: 10px;
            background: #ffffff;
            color: #003b53;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
        }

        .mobile-vehicle-category.active {
            background: #008cc9;
            color: #ffffff;
        }

        .mobile-vehicles-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            max-height: 360px;
            overflow-y: auto;
            padding-right: 4px;
        }

        .mobile-vehicle-card {
            display: grid !important;
            grid-template-columns: 74px 1fr;
            align-items: center;
            gap: 10px !important;
            padding: 8px;
            background: #ffffff;
            border-radius: 10px;
            color: #003b53 !important;
            font-size: 12px !important;
            font-weight: 700;
        }

        .mobile-vehicle-card img {
            width: 74px;
            height: 54px;
            object-fit: contain;
            background: #f3f6f8;
            border-radius: 8px;
        }

        .mobile-vehicle-card span {
            line-height: 1.25;
        }

        .close-btn {
            font-size: 35px;
            color: white;
            border: none;
            background: none;
            cursor: pointer;
            position: absolute;
            top: 20px;
            right: 20px;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            z-index: 999;
        }
        .overlay.active { display: block; }

        /* RESPONSIVE LOGIC */
        @media screen and (max-width: 1100px) {
            .navbar-menu { display: none; }
            .brand-secondary { display: none; }
            .navbar-toggler { display: block; }
            .navbar { justify-content: space-between; }
            .vehicles-dropdown { display: none; }
        }
