:root {
    --primary: #f2a63d;
    --primary-alt: #e09530;
    --dark: #121212;
    --dark-surface: #1e1e1e;
    --light: #f8f9fa;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Global Styling */
h1,
h2,
h3,
h4,
.playfair {
    font-family: 'Playfair Display', serif;
}

.main-headline {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(242, 166, 61, 0.1);
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.pb-100 {
    padding-bottom: 100px;
}

/* Navbar Optimization */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    position: relative;
    padding: 10px 15px !important;
}

.nav-link-text {
    position: relative;
    z-index: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: calc(100% - 30px);
}

.nav-dot {
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 10px;
}

.lang-btn {
    background: var(--light);
    border-radius: 50px;
    padding: 8px 18px !important;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-cta {
    background: var(--dark);
    color: white !important;
    padding: 12px 28px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(242, 166, 61, 0.3);
}

/* Hero Section Refined */
.hero-main {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45)), url('../img/cab.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    color: var(--dark);
}

/* Booking Forms Enhancement */
.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-control {
    height: 55px;
    border-radius: 12px;
    background: var(--light);
    border: 2px solid transparent;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: none;
}

/* Section Headlines */
.section-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.main-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

/* Service Cards Modernized */
.service-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(242, 166, 61, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.modern-service-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.modern-service-card:hover {
    transform: translateY(-15px);
    background: var(--dark);
    color: white;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.modern-service-card:hover .service-icon-box {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
}

.modern-service-card:hover .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Footer Corporate */
.footer-corporate {
    background: #0a0a0a;
    color: white;
    position: relative;
    z-index: 10;
    padding-top: 120px !important;
}

.footer-logo {
    /* filter: brightness(0) invert(1); */
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.contact-strip {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: rotate(15deg);
}

/* Floating Elements */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-sticky:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
}

/* Language Dropdown Redesign */
.lang-dropdown {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
    padding: 12px 0 !important;
    min-width: 200px !important;
    margin-top: 15px !important;
    background: #fff !important;
}

.lang-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    padding: 14px 24px !important;
    font-weight: 500;
    color: #2d3436;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.lang-dropdown .dropdown-item:hover {
    background-color: #f7f9fb !important;
}

.lang-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag-sm {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

/* Glass Loader Overlay */
.glass-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transition-3d {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.transition-3d:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Journey Visualization */
.route-map-visual {
    position: relative;
    padding-left: 20px;
}

.route-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 0;
}

.route-item.border-start {
    border-left: 2px solid #dee2e6 !important;
    margin-left: -1px;
}

.route-dot {
    position: absolute;
    left: -8px;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #3498db;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.route-dot.end {
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.journey-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.journey-dot.pickup {
    background: #3498db;
}

.journey-dot.drop {
    background: #e74c3c;
}

.fleet-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.fleet-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-img-container img {
    transform: scale(1.1);
}

.fleet-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Modern Form Styling */
.form-control,
.form-select {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    background-color: #fff;
}

.booking-modern-form .input-group-text {
    background: transparent;
    border-radius: 12px 0 0 12px;
}

.booking-modern-form .form-control {
    border-radius: 0 12px 12px 0;
}

/* Google Maps Autocomplete Customization - Enhanced Alignment & Icon */
.pac-container {
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    font-family: 'Outfit', sans-serif;
    margin-top: 8px;
    padding: 10px 0;
    z-index: 9999 !important;
    background-color: #ffffff;
    width: 442px !important;
    /* Matches exactly with the hero card input width */
}

@media (max-width: 575px) {
    .pac-container {
        width: 90vw !important;
        left: 5vw !important;
    }
}

.pac-item {
    padding: 15px 20px;
    font-size: 15px;
    color: #4a5568;
    cursor: pointer;
    border-top: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: #f8fafc;
    color: var(--primary);
    padding-left: 25px;
    /* Subtle slide-in effect */
}

.pac-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 15px;
    background-image: none !important;
    background-color: #f1f5f9;
    border-radius: 10px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pac-item:hover .pac-icon {
    background-color: var(--primary);
}

.pac-icon::before {
    content: "\F3E7";
    /* geo-alt-fill - Pure location/map icon */
    font-family: "bootstrap-icons";
    font-size: 18px;
    color: #64748b;
    position: relative;
}

.pac-item:hover .pac-icon::before {
    color: #ffffff;
}

.pac-item-query {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-right: 8px;
}

.pac-matched {
    color: var(--primary);
}

.pac-item span:last-child {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

/* Custom Scrollbar for Dropdown */
.pac-container::-webkit-scrollbar {
    width: 6px;
}

.pac-container::-webkit-scrollbar-track {
    background: transparent;
}

.pac-container::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.pac-container::-webkit-scrollbar-thumb:hover {
    background: #cbd5e0;
}

.pac-logo::after {
    display: none !important;
}

.hdpi.pac-logo::after {
    display: none !important;
}

/* Why Choose Us Feature Cards */
.feature-card {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    color: var(--dark);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
}

/* Page Transitions */
.page-transition-wrapper {
    animation: slideInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Pricing Table Styling */
.table td,
.table th {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.bg-light-blue {
    background-color: #e3f9ff !important;
}

.text-warning {
    color: #f7a600 !important;
    /* Updated warning color to match Swiss branding */
}

/* Scroll to Top Button - Redesigned */
.btn-back-to-top {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 10px 25px rgba(242, 166, 61, 0.3);
    transition: var(--transition);
}

.btn-back-to-top:hover {
    background: var(--dark);
    transform: translateY(-5px) scale(1.05);
    color: white;
}

.btn-back-to-top.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Booking Success Overlay */
.booking-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-card {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 50px 40px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.success-icon-wrapper {
    width: 100px;
    height: 100px;
    background: #e6fcf5;
    color: #0ca678;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(12, 166, 120, 0.15);
}

.booking-id-tag {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 20px;
    margin: 20px 0;
}

.booking-id-tag small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 5px;
}

/* Custom Browser Scrollbar - Premium Orange */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e69500;
}

/* Policy Page Enhancements */
.policy-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.policy-body p {
    line-height: 1.8;
    color: #4a5568;
    font-size: 1.05rem;
}

.policy-body h4 {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.policy-body .bi {
    font-size: 1.4rem;
}

/* Hover & Overlap Fixes */
.transition-3d {
    transition: var(--transition);
}

.transition-3d:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15) !important;
    position: relative;
    z-index: 10;
}

.fleet-listing {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    position: relative;
    z-index: 1;
}

.search-journey-map {
    position: relative;
    z-index: 5;
    background: white;
    overflow: hidden;
}

.journey-meta-list .meta-item {
    padding: 10px 0;
}

.journey-meta-list .journey-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.journey-meta-list .journey-dot.pickup {
    background: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.journey-meta-list .journey-dot.drop {
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

#searchMap {
    min-height: 350px;
    background-color: #f8f9fa;
}

.page-transition-wrapper {
    min-height: 80vh;
}

@media (max-width: 991px) {
    #searchMap {
        height: 400px;
        min-height: 400px;
        margin-top: 30px;
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .main-headline {
        font-size: 2.5rem;
    }

    .hero-main {
        padding: 80px 0;
    }

    .footer-brand {
        text-align: center;
    }

    .invert-logo-footer {
        margin: 0 auto;
    }
}