/* Custom Classes */
.border-grey {
    border-color: #bdbdbd;
}

.btn,
.gradient-bg-color::before,
.gradient-border-color::before {
    border-radius: 0px !important;
}

/* Preloader - Cover everything including header */
.loader-box {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    background-color: #0a0a0f !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Language Dropdown Fix */
.language-dropdown {
    position: relative;
    z-index: 9999 !important;
}

.language-dropdown .dropdown-menu {
    z-index: 10000 !important;
    position: absolute !important;
    pointer-events: auto !important;
}

.language-dropdown .dropdown-menu .dropdown-item {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-dropdown .dropdown-menu .dropdown-item:hover {
    background-color: rgba(var(--primary-color), 0.1);
}

header {
    z-index: 1000 !important;
    position: relative;
    /* Glassmorphism blur effect with cross-browser support */
    background: rgba(10, 10, 15, 0.24) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Fixed header when scrolling - stronger effect */
header.fixed {
    background: rgba(10, 10, 15, 0.315) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    backdrop-filter: blur(20px) saturate(200%);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(12px)) {
    header {
        background: rgba(10, 10, 15, 0.98) !important;
    }

    header.fixed {
        background: rgba(5, 5, 10, 1) !important;
    }
}

body.theme.dark .home-section,
body.theme.dark .ride-screen-section2 {
    background:
        /* Subtle grid pattern */
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        /* Glowing orb - primary color */
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(var(--primary-color), 0.15), transparent),
        /* Glowing orb - secondary accent */
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(var(--secondary-color), 0.1), transparent),
        /* Vignette effect */
        radial-gradient(circle at 50% 50%, rgba(20, 20, 25, 0.8) 0%, #0a0a0f 100%);
    background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%, 100% 100%;
    background-color: #0a0a0f;
    position: relative;
    overflow: hidden;
}

/* Animated floating particles effect */
body.theme.dark .home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(var(--primary-color), 0.08) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(var(--secondary-color), 0.06) 0%, transparent 25%),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 20%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

body.theme.dark .home-section>.container {
    position: relative;
    z-index: 1;
}

@keyframes heroGlow {
    0% {
        opacity: 0.5;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
}

/* Hero Section - New Design */
.home-section {
    padding-top: calc(80px + (100 - 80) * ((100vw - 320px) / (1920 - 320))) !important;
}

.hero-row {
    min-height: calc(100vh - 150px);
    padding-top: 10px;
    padding-bottom: 5px;
}

.hero-content {
    padding: 20px;
}

.hero-title {
    font-size: calc(28px + (48 - 28) * ((100vw - 320px) / (1920 - 320)));
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: calc(14px + (18 - 14) * ((100vw - 320px) / (1920 - 320)));
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6;
}

.hero-features {
    margin-top: 30px;
}

.hero-features .feature-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
}

.hero-features .feature-item i {
    color: rgb(var(--primary-color));
}

/* Google Reviews Badge */
.google-reviews-badge {
    display: inline-block;
}

.google-reviews-badge a {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-reviews-badge a:hover {
    transform: translateY(-3px);
}

.google-reviews-img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

@media screen and (max-width: 991px) {
    .google-reviews-badge {
        margin-top: 20px;
    }

    .google-reviews-img {
        max-width: 160px;
    }
}

/* Booking Form Box - Redesigned */
.home-section .booking-form-box {
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.home-section .map-box {
    margin-top: 20px;
}

.home-section .map-view {
    min-height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
    .hero-row {
        min-height: auto;
        padding-top: 20px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }

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

    .hero-description {
        font-size: 16px;
    }

    .home-section .booking-form-box {
        padding: 20px;
    }

    .home-section .map-view {
        min-height: 200px;
    }
}

@media screen and (min-width: 992px) {
    .hero-row {
        align-items: center;
    }

    .hero-content {
        padding-left: 40px;
    }

    .home-section .map-view {
        min-height: 280px;
    }
}

.theme.dark .booking-form-box {
    background: #00000091;
    color: #FFF !important;
    border-color: #333 !important;
}

body.theme.dark .title p.dark-layout {
    color: unset;
}

.theme.dark .text-muted {
    color: #a5a5a5 !important;
}

.theme.dark input,
.theme.dark input::placeholder,
.theme.dark .stop-btn {
    color: #a5a5a5 !important;
}

.theme.dark input {
    border-color: #4f4f4f !important;
}

/* Custom Classes */

/* Header*/
body.theme:not(.dark) header .top-header .navbar-nav .nav-item .nav-link,
body.theme:not(.dark) header .top-header .header-right .language-dropdown .language-btn {
    color: #fff
}

.theme:not(.dark) header .dark-logo {
    display: none !important;
}

.theme:not(.dark) header .light-logo {
    display: block !important;
}

.theme.dark header .dark-logo {
    display: block !important;
}

.theme.dark header .light-logo {
    display: none !important;
}

header .top-header .navbar-nav .nav-item:hover .nav-link {
    color: rgb(var(--primary-color));
}

/* Header */

/* Primary Colors */
.text-primary {
    color: rgb(var(--primary-color)) !important;
}

.border-primary {
    border-color: rgba(var(--primary-color), 0.8) !important;
}

.btn-outline-primary {
    color: rgb(var(--primary-color));
}

.btn-outline-primary:hover,
.btn-outline-primary:active {
    background-color: rgb(var(--primary-color)) !important;
}

.btn-primary {
    background-color: rgb(var(--primary-color)) !important;
    transition: 0.3s ease-in-out;
}

.btn-primary:hover,
.btn-primary:active {
    background-color: rgba(var(--primary-color), 0.8) !important;
}

.form-check-input:checked {
    background-color: rgba(var(--primary-color), 0.8) !important;
    border-color: rgba(var(--primary-color), 0.8) !important;
}

/* Primary Colors */

/* Booking Form - START */
#bookingForm {
    padding: 1rem;
}

#bookingForm .map-box {
    position: relative;
}

#bookingForm .map-box .active-ride-buttons {
    z-index: 1;
    position: absolute;
    bottom: 20px;
    left: 0;
}

@media screen and (min-width:960px) {
    .home-section {
        padding-top: calc(120px + .06875*(100vw - 320px));
    }

    #bookingForm {
        padding: 3rem !important;
    }

    #bookingForm .inputs-box {
        padding-right: 3rem !important;
    }

    #bookingForm .map-box {
        padding-right: 3rem !important;
        padding-left: 3rem !important;
    }
}

@media screen and (max-width:960px) {
    #bookingForm .map-box {
        min-height: 250px;
    }
}

#rideStops .stop:first-child .remove-stop {
    display: none;
}

#rideStops .stop:not(:last-child) .add-stop {
    display: none;
}

.swap-direction {
    cursor: pointer;
}

.booking-form-box {
    border: 1px solid #bdbdbd;
    background: #ffffff5e;
    backdrop-filter: blur(5px);
    border-radius: 10px;
}

#bookingForm .form-control {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    border-radius: 10px;
    padding: 12px;
}

#bookingForm .map-view {
    border-radius: 10px;
    height: 100%;
}

.location-row {
    position: relative;
}

.stop-btn {
    background: transparent;
    border: 0;
    position: absolute;
    top: 29%;
    right: 13px;
    line-height: 1;
    padding: 0 10px;
    font-size: 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.add-stop span {
    font-size: inherit;
}

#bookingForm .vehicle-types-box {
    border: 1px solid #bdbdbd;
    background: #ffffff5e;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    height: 400px;
    overflow-y: auto;
    position: relative;
}

#bookingForm .vehicle-types-box::-webkit-scrollbar {
    width: 0;
}

#bookingForm .vehicle-types li {
    margin-right: 20px;
}

#bookingForm .vehicle-type {
    background: #ffffff5e;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    cursor: pointer;
    width: 130px;
    transition: 0.25s ease-in-out;
}

#bookingForm input[type=radio]:checked+.vehicle-type,
#bookingForm .vehicle-type.active,
#bookingForm .vehicle-type:hover {
    box-shadow: var(--bs-box-shadow) !important;
    border-color: rgba(var(--primary-color), 0.8) !important;
    transform: scale(1.1);
}

#bookingForm .vehicle-type img {
    padding-bottom: 20px;
    border-bottom: 1px solid #bdbdbd;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

#bookingForm .vehicle-type p {
    color: #000;
    font-size: 16px;
    font-weight: bold;
}

#bookingForm .fare-input {
    position: relative;
}

#bookingForm .fare-input i {
    font-size: calc(20px + .00125*(100vw - 320px));
    color: #171c26b3;
    position: absolute;
    top: calc(6px + 1*(100vw - 320px) / 1600);
    left: calc(10px + .0025*(100vw - 320px));
    z-index: 1;
    width: 17px;
    padding: 0;
    padding-right: calc(30px + 3*(100vw - 320px) / 1600);
}

.theme.dark #bookingForm .fare-input i {
    color: #FFF !important;
}

#bookingForm .fare-input input {
    padding: calc(8px + .00125*(100vw - 320px));
    padding-left: calc(48px + 9*(100vw - 320px) / 1600);
}

#bookingForm .waiting-offers {
    position: absolute;
    top: 50%;
    left: 0;
    text-align: center;
    width: 100%;
}

#bookingForm .driver-card {
    border-radius: 10px;
    border-top: 5px solid #bdbdbd;
    background: #ffffff5e;
    backdrop-filter: blur(5px);
}

#bookingForm .driver-card .driver-photo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
}

#bookingForm .driver-card .btn {
    padding: 12px 30px;
    font-size: 16px;
    width: 48%;
}

#bookingForm .driver-card {
    position: relative;
    overflow: hidden;
    border-top: 0 !important;
}

#bookingForm .timer {
    height: 5px;
    width: 100%;
    background: #bdbdbd;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#bookingForm .timer-body {
    height: 5px;
    width: 70%;
    background: rgb(var(--primary-color));
}

.theme.dark .booking-form-box {
    background: #00000091;
    color: #FFF !important;
    border-color: #333 !important;
}

.theme.dark #bookingForm .driver-card {
    background: #00000000;
    border: 1px solid #bdbdbd;
}

.theme.dark #bookingForm .vehicle-types-box {
    backdrop-filter: unset;
    background: unset;
    border: none;
}

.theme.dark #bookingForm .ride-details {
    color: #000;
}

@media screen and (max-width:1200px) {
    #bookingForm .vehicle-types {
        display: flex;
        overflow: scroll;
    }

    #bookingForm .vehicle-types li {
        margin-right: 10px;
    }

    #bookingForm .inputs-box {
        margin-bottom: 15px;
    }

    #bookingForm .ride-details>span {
        display: block;
    }
}

/* Booking Form - END */

/* Tooltip */
.tooltip-inner p {
    font-size: 13px;
    line-height: 1.25;
}

/* Tooltip */


/* Login Modal Style */
#loginModal .btn-close {
    float: right;
    position: sticky;
    z-index: 1;
}

#loginModal .auth-main {
    margin: 0 auto;
}

#loginModal .auth-card {
    border-radius: 0;
    position: relative;
    padding: calc(15px + 15 * (100vw - 320px) / 1600);
    background-color: #fff;
}

#loginModal .login-img {
    height: auto;
    width: calc(120px + .01875 * (100vw - 320px));
}

#loginModal .welcome {
    border-left: 3px solid #171C26;
    padding: 4px 0 4px calc(10px + .00375 * (100vw - 320px));
    margin: 30px 0;
}

#loginModal .form-group {
    margin-bottom: 24px;
    position: relative;
    align-items: center;
}

#loginModal .form-group .form-control {
    padding: calc(8px + .00125 * (100vw - 320px));
    padding-left: calc(48px + 9 * (100vw - 320px) / 1600);
}

#loginModal .auth-main .auth-card .main i {
    font-size: calc(20px + .00125 * (100vw - 320px));
    color: #171c26b3;
    position: absolute;
    top: calc(4px + 1 * (100vw - 320px) / 1600);
    left: calc(10px + .0025 * (100vw - 320px));
    z-index: 1;
    width: 17px;
    padding: 0;
    padding-right: calc(30px + 3 * (100vw - 320px) / 1600);
}

#loginModal .auth-main .auth-card .main .position-relative .toggle-password {
    position: absolute;
    border: none;
    padding: 0;
    top: calc(5px + 1 * (100vw - 320px) / 1600);
    right: calc(12px + .0025 * (100vw - 320px));
    left: unset;
    cursor: pointer;
}

#loginModal .auth-main .auth-card .welcome h3 {
    font-size: calc(16px + .0025 * (100vw - 320px));
    font-weight: 600;
    color: #171c26;
    margin-bottom: 4px;
}

#loginModal .auth-main .auth-card .welcome p {
    margin-bottom: 0;
    font-size: calc(13px + 1 * (100vw - 320px) / 1600);
    font-weight: 400;
    line-height: calc(18px + .00125 * (100vw - 320px));
    color: #808b97;
}

#loginModal .form-terms {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 6px;
}

/* Login Modal Style */

/* ============================================
   Boeking Page - Beautiful Background Styling
   ============================================ */

/* Base background with enhanced gradient */
.boeking-page-section {
    position: relative;
    min-height: 100vh;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    overflow: hidden;
    background:
        /* Animated mesh gradient */
        radial-gradient(ellipse 100% 80% at 10% 20%, rgba(var(--primary-color), 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 90% 80%, rgba(var(--secondary-color), 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(var(--primary-color), 0.08) 0%, transparent 60%),
        /* Subtle grid overlay */
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        /* Deep gradient base */
        linear-gradient(135deg, #0a0a12 0%, #12121f 25%, #0d0d18 50%, #151520 75%, #0a0a0f 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 50px 50px, 50px 50px, 100% 100%;
    background-color: #0a0a0f;
}

/* Animated glow orbs layer */
.boeking-page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* Floating orb 1 */
        radial-gradient(circle 400px at 15% 30%, rgba(var(--primary-color), 0.15) 0%, transparent 70%),
        /* Floating orb 2 */
        radial-gradient(circle 300px at 85% 70%, rgba(var(--secondary-color), 0.12) 0%, transparent 70%),
        /* Accent orb */
        radial-gradient(circle 250px at 50% 20%, rgba(255, 200, 100, 0.05) 0%, transparent 60%),
        /* Bottom glow */
        radial-gradient(ellipse 80% 30% at 50% 100%, rgba(var(--primary-color), 0.1) 0%, transparent 70%);
    animation: boekingGlow 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

/* Particle effect layer */
.boeking-page-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle 2px at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 100%),
        radial-gradient(circle 2px at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 60% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 100%),
        radial-gradient(circle 2px at 30% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 100%),
        radial-gradient(circle 1px at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 10% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 100%),
        radial-gradient(circle 2px at 90% 40%, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
    animation: particleFloat 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

/* Container needs to be above the background layers */
.boeking-page-section>.container {
    position: relative;
    z-index: 1;
}

/* Glow animation keyframes */
@keyframes boekingGlow {
    0% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.02) rotate(1deg);
    }

    100% {
        opacity: 1;
        transform: scale(1.05) rotate(-1deg);
    }
}

/* Floating particles animation */
@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-15px) translateX(10px);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-5px) translateX(-5px);
        opacity: 0.7;
    }

    75% {
        transform: translateY(-20px) translateX(-10px);
        opacity: 0.85;
    }
}

/* Enhanced booking form card for boeking page */
.boeking-page-section .booking-form-box {
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.95) 0%, rgba(15, 15, 25, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(var(--primary-color), 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

/* Progress steps glow effect on boeking page */
.boeking-page-section .booking-progress {
    background: linear-gradient(135deg, rgba(25, 25, 40, 0.9) 0%, rgba(20, 20, 35, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(var(--primary-color), 0.05);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .boeking-page-section {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }

    .boeking-page-section .booking-form-box {
        padding: 20px;
        border-radius: 16px;
    }

    .boeking-page-section .booking-progress {
        padding: 15px 20px;
    }
}

/* ============================================
   Footer Business Info (KVK & BTW)
   ============================================ */

.business-info {
    margin-bottom: 10px;
}

.business-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.business-badge:hover {
    background: rgba(var(--primary-color), 0.1);
    border-color: rgba(var(--primary-color), 0.3);
    color: rgb(var(--primary-color));
}

.business-badge i {
    font-size: 16px;
    color: rgb(var(--primary-color));
}

@media screen and (max-width: 768px) {
    .business-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    .business-badge i {
        font-size: 14px;
    }
}

/* User Dropdown Menu - Mobile Fix */
@media screen and (max-width: 768px) {
    .user-dropdown .dropdown-menu {
        right: -50px !important;
        left: auto !important;
        transform: none !important;
        min-width: 120px !important;
        margin-top: 8px !important;
        position: absolute !important;
        z-index: 10000 !important;
    }

    .user-dropdown .dropdown-menu .dropdown-item {
        padding: 10px 15px !important;
        font-size: 14px !important;
        white-space: nowrap;
    }

    .user-dropdown .dropdown-menu::before {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .user-dropdown .dropdown-menu {
        right: -70px !important;
        min-width: 110px !important;
    }

    .user-dropdown .dropdown-menu .dropdown-item {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}