:root {
    --primary-color:#007aff;
    --secondary-color: #2ea732;
    --accent-color: #f6f6f6;
    --text-dark: #333333;
    --text-light: #666666;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section - Professional Taxi Service Theme */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #0f3460 50%, #1e3c72 75%, #2a5298 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    padding: 50px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(46, 167, 50, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(30, 60, 114, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(46, 167, 50, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.hero-section .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-section h4 {
    color: #fff !important;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.hero-content p.lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature h4 {
    color: #fff;
}

.hero-feature small {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Booking Widget - Framework7 Style */
.booking-widget {
    background: #ffffff;
    padding:15px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.booking-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.booking-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 5px !important;
    color: var(--primary-color) !important;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.booking-widget .text-muted {
    color: #6c757d !important;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
}

.booking-widget .custom-radio {
    margin-right: 12px;
}

/* Segmented Toggle - Framework7 Style */
.segmented-toggle {
    background: #f1f3f5;
    padding: 2px;
    border-radius: 10px;
    display: flex;
}

.segment-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    color: #495057;
    transition: all 0.2s;
}

.segment-btn.active {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(46, 167, 50, 0.3);
}

.form-floating>.form-control {
    height: 48px;
    min-height: 48px;
    padding: 0.8rem 0.75rem;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #333333 !important;
}

.form-floating>label {
    padding: 0.8rem 0.75rem;
    font-size: 0.8rem;
    color: #495057;
}

.form-floating>.form-control:focus {
    border-color: var(--secondary-color);
    background-color: #fff;
    box-shadow: none;
}

.mb-compact {
    margin-bottom: 0.75rem !important;
    z-index: 0;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #1a1a1a;
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Fleet Cards - Tile Layout */
.fleet-card {
    border-radius: 8px !important;
    margin-bottom: 0px !important;
    background: #ffffff !important;
    border: 1px solid #e1e5e9 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    overflow: hidden !important;
    padding: 10px !important;
    height: 100px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.fleet-card:hover {
    border-color: #2ea732 !important;
    box-shadow: 0 2px 8px rgba(46, 167, 50, 0.15) !important;
}

/* Left side - Car image */
.fleet-card .card-left {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 12px !important;
}

.fleet-card img {
    height: 100px !important;
    width: 100px !important;
    object-fit: contain !important;
    padding: 4px !important;
    background: #f8f9fa !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
}

/* Center - Car name and description stacked vertically */
.fleet-card .card-center {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.fleet-card h5 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 4px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.fleet-card .text-muted {
    color: #6c757d !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Right side - Price badge */
.fleet-card .card-right {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.fleet-card .badge {
    background: #2ea732 !important;
    color: white !important;
    border: none !important;
    padding: 10px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.table-custom {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table-custom tr {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.table-custom td {
    padding: 15px;
    background: #fff;
    border: none;
    vertical-align: middle;
    color: var(--text-dark) !important;
}

.table-custom thead th {
    border: none;
    background: transparent;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-light);
}

.table-custom .text-muted {
    color: #6c757d !important;
    opacity: 0.9;
}

.table-custom {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table-custom tr {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.table-custom td {
    padding: 15px;
    background: #fff;
    border: none;
    vertical-align: middle;
    color: var(--text-dark) !important;
}

.table-custom thead th {
    border: none;
    background: transparent;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-light);
}

.table-custom .text-muted {
    color: #6c757d !important;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }

    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}


.animate-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Premium Footer */
.premium-footer {
    background-color: #000;
    color: #fff;
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-logo {
    height: 50px;
    filter: brightness(-1) invert(1);
    margin-bottom: 25px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #999;
    font-size: 0.95rem;
}

.footer-contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--secondary-color);
    color: #fff;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #666;
}

.social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-circle:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}


/* Mobile Framework7 Style Enhancements */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0;
        min-height: 80vh;
        background-size: 200% 200%;
    }

    .hero-section::before,
    .hero-section::after {
        animation-duration: 25s;
    }

    .booking-widget {
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(15px);
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 10;
    }

    .booking-widget h3 {
        font-size: 1.4rem;
        margin-bottom: 8px !important;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-content p.lead {
        font-size: 1.1rem;
    }

    .bg-white .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
    }

    .bg-white h2 {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        margin-bottom: 8px !important;
    }

    .bg-white .text-muted {
        color: #6c757d !important;
        font-size: 0.9rem !important;
        font-weight: 400 !important;
        text-align: center !important;
        margin-bottom: 24px !important;
    }

    /* Fleet Tiles - Mobile Layout */
    .row.g-4 .col-12 {
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin-bottom: 8px !important;
    }

    /* Fleet Tiles - Desktop Grid Layout */
    .row.g-4 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
        margin: 0 -0.75rem;
    }

    .row.g-4 .col-lg-3 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        margin-bottom: 1rem;
    }


    /* Desktop Grid Layout - 4 columns */
    .row.g-4 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
        margin: 0 -0.75rem;
    }

    .row.g-4 .col-md-3 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Framework7-style Popular Routes Section */
    .bg-light .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100%;
    }

    .bg-light h2 {
        font-size: 1.8rem;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 8px;
        text-align: center;
    }

    .bg-light .text-muted {
        color: #666666 !important;
        font-size: 0.95rem;
        font-weight: 500;
        text-align: center;
        margin-bottom: 32px;
    }

    .bg-light .bg-white {
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        overflow: hidden !important;
        margin-bottom: 24px !important;
    }

    .bg-light h4 {
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        margin-bottom: 20px !important;
        text-align: center;
        padding-top: 8px;
    }

    .table-custom {
        margin-bottom: 0 !important;
    }

    .table-custom td {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }

    .table-custom thead th {
        padding: 16px !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .bg-light .btn {
        border-radius: 20px !important;
        font-weight: 600 !important;
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
        transition: all 0.3s ease !important;
    }

    .bg-light .btn-outline-success:hover {
        background: linear-gradient(135deg, #2ea732 0%, #28a745 100%) !important;
        border-color: #28a745 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(46, 167, 50, 0.3);
    }

    .bg-light .btn-outline-primary:hover {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
        border-color: #0056b3 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }

    /* Framework7-style Content Section */
    .py-5.bg-white .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100%;
    }

    .py-5.bg-white h2 {
        font-size: 1.8rem;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 24px;
    }

    .py-5.bg-white .d-flex {
        margin-bottom: 32px;
    }

    .py-5.bg-white .flex-shrink-0 {
        margin-right: 16px;
    }

    .py-5.bg-white .bg-light {
        border-radius: 5px !important;
        padding: 10px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        transition: all 0.3s ease !important;
    }

    .py-5.bg-white .bg-light:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .py-5.bg-white h3 {
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        margin-bottom: 16px !important;
    }

    .py-5.bg-white h5 {
        font-weight: 700 !important;
        margin-bottom: 12px !important;
        font-size: 14px;
    }

    .py-5.bg-white p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .py-5.bg-success {
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(46, 167, 50, 0.2) !important;
        border: 1px solid rgba(46, 167, 50, 0.1) !important;
        margin-top: 40px !important;
        padding: 24px !important;
    }

    .py-5.bg-success h3 {
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        margin-bottom: 16px !important;
    }

    .py-5.bg-success p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }

    .py-5.bg-success .btn {
        border-radius: 24px !important;
        padding: 12px 24px !important;
        font-weight: 600 !important;
        font-size: 1rem !important;
        transition: all 0.3s ease !important;
    }

    .py-5.bg-success .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(46, 167, 50, 0.4);
    }

    .segmented-toggle {
        border-radius: 12px;
    }

    .segment-btn {
        border-radius: 10px;
        padding: 10px 16px;
    }

    .form-floating>.form-control {
        border-radius: 12px;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .btn-primary {
        border-radius: 12px;
        font-weight: 700;
    }
}

/* Content Section Improvements */
.py-5.bg-white .text-muted {
    color: #6c757d !important;
    opacity: 0.8;
}

.py-5.bg-white h2,
.py-5.bg-white h3,
.py-5.bg-white h5 {
    color: var(--text-dark) !important;
}

.py-5.bg-white p {
    color: var(--text-dark) !important;
    opacity: 0.9;
}