/* ============================================
   PREMIUM TAXI BOOKING HERO & FORM DESIGN
   taxikart.in - FastTrack Drop Taxi
   ============================================ */

/* ---- Google Font Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');



/* ============================================
   HERO SECTION - Full Screen Premium
   ============================================ */
html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.taxi-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

/* Animated Light Mesh Background */
.taxi-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    z-index: 0;
}

/* Light Mode Aura Layers */
.taxi-hero-aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.aura-1 {
    width: 600px;
    height: 600px;
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, rgba(254, 60, 60, 0.08) 0%, transparent 70%);
    animation: auraFloat 15s ease-in-out infinite alternate;
}

.aura-2 {
    width: 600px;
    height: 600px;
    bottom: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(255, 200, 0, 0.06) 0%, transparent 70%);
    animation: auraFloat 18s ease-in-out infinite reverse;
}

.aura-3 {
    width: 400px;
    height: 400px;
    top: 30%;
    right: 20%;
    background: radial-gradient(circle, rgba(13, 27, 62, 0.04) 0%, transparent 70%);
    animation: auraFloat 20s ease-in-out infinite;
}

@keyframes auraFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Animated road pattern overlay */
.taxi-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(254, 60, 60, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(254, 200, 0, 0.07) 0%, transparent 60%);
    z-index: 0;
    animation: bgPulse 6s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Floating dots / stars */
.taxi-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 15%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 85% 70%, rgba(254, 60, 60, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 85%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 20% 90%, rgba(255, 200, 0, 0.3) 0%, transparent 100%);
    z-index: 0;
    animation: starsTwinkle 4s ease-in-out infinite alternate;
}

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

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

/* Hero carousel image as background */
.taxi-hero-img-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.taxi-hero-img-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    filter: saturate(0.3) brightness(0.3);
}

/* Hero Content Container */
.taxi-hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 160px 60px 50px;
}

/* ============================================
   HERO TEXT SIDE - LIGHT MODE
   ============================================ */
.taxi-hero-text {
    color: #1a1e26;
    padding-right: 20px;
}

@media (max-width: 991px) {
    .taxi-hero-text {
        text-align: center;
        padding-right: 0;
        margin-bottom: 30px;
    }
}

.taxi-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 60, 60, 0.15);
    border: 1px solid rgba(254, 60, 60, 0.4);
    color: #fe3c3c;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.taxi-hero-badge i {
    font-size: 14px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.taxi-hero-logo {
    margin-bottom: 25px;
    animation: fadeSlideDown 0.8s ease-out forwards;
}

.hero-logo-img {
    max-width: 300px;
    height: auto;
    mix-blend-mode: multiply;
    /* Blends the logo seamlessly into the light theme */
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .hero-logo-img {
        max-width: 240px;
    }
}

.taxi-hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 440px;
}

@media (max-width: 991px) {
    .taxi-hero-subtitle {
        margin-inline: auto;
    }
}

/* Stats Row */
.taxi-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

@media (max-width: 991px) {
    .taxi-stats {
        justify-content: center;
    }
}

.taxi-stat-item {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 14px 20px;
    min-width: 90px;
    transition: all 0.3s ease;
}

.taxi-stat-item:hover {
    background: rgba(254, 60, 60, 0.12);
    border-color: rgba(254, 60, 60, 0.4);
    transform: translateY(-3px);
}

.taxi-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #fe3c3c;
    line-height: 1;
    margin-bottom: 4px;
}

.taxi-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trust badges */
.taxi-trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .taxi-trust-badges {
        justify-content: center;
    }
}

.taxi-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
}

.taxi-trust-badge i {
    color: #fe3c3c;
    font-size: 15px;
}

/* Animations */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

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

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

/* ============================================
   PREMIUM BOOKING FORM CARD
   ============================================ */
.taxi-booking-card {
    background: #fff;
    border-radius: 24px;
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

/* Card top accent bar */
.taxi-booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fe3c3c 0%, #ff6b35 50%, #fe3c3c 100%);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.taxi-booking-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 22px 28px 18px;
    position: relative;
    overflow: hidden;
}

.taxi-booking-header::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(254, 60, 60, 0.15);
    border-radius: 50%;
}

.taxi-booking-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 50px;
    width: 60px;
    height: 60px;
    background: rgba(254, 60, 60, 0.08);
    border-radius: 50%;
}

.taxi-booking-header h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 2;
}

.taxi-booking-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
    position: relative;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
}

.taxi-booking-header .header-icon {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 40px;
    color: rgba(254, 60, 60, 0.8);
    animation: cabAnimate 3s ease-in-out infinite alternate;
}

@keyframes cabAnimate {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    100% {
        transform: translateY(-55%) translateX(-4px);
    }
}

/* Booking form body */
.taxi-booking-body {
    padding: 16px 20px 20px;
    background: #fff;
}

/* Override form fields inside the card - DESIGN ONLY */
.taxi-booking-body .booking-form {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.taxi-booking-body .booking-form .form-control {
    width: 100%;
    height: 48px;
    padding: 0 12px 0 44px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #444;
    background-color: #fff;
    transition: all 0.25s ease;
    outline: none;
    box-shadow: none;
}

.taxi-booking-body .booking-form .form-control:focus {
    border-color: #fe3c3c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(254, 60, 60, 0.1) !important;
    transform: translateY(-1px);
}

.taxi-booking-body .booking-form input::placeholder {
    color: #aaa !important;
    font-weight: 400;
    opacity: 1 !important;
    font-size: 13px;
}

/* Control group with icon */
.taxi-booking-body .booking-form .control-group {
    position: relative;
    margin-bottom: 8px;
}

.taxi-booking-body .booking-form .control-group::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    font-size: 14px;
    color: #fe3c3c;
    pointer-events: none;
}

/* Icon styling matching specific groups */
.taxi-booking-body .booking-form .group-name::before {
    content: '\f007';
    color: #fe3c3c;
}

.taxi-booking-body .booking-form .group-phone::before {
    content: '\f095';
    color: #fe3c3c;
}

.taxi-booking-body .booking-form .group-pickup::before {
    content: '\f3c5';
    color: #f75b05;
}

.taxi-booking-body .booking-form .group-dropoff::before {
    content: '\f3c5';
    color: #f75b05;
}

.taxi-booking-body .booking-form .group-date::before {
    content: '\f073';
    color: #fe3c3c;
}

.taxi-booking-body .booking-form .group-time::before {
    content: '\f017';
    color: #fe3c3c;
}

.taxi-booking-body .booking-form .group-passengers::before {
    content: '\f0c0';
    color: #fe3c3c;
}

/* Custom styling for select dropdowns */
.taxi-booking-body .booking-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    cursor: pointer;
}

/* time */

/* Make drop location field also have padded left */
.taxi-booking-body .booking-form .control-group .form-control[name="dropoff"],
.taxi-booking-body .booking-form .control-group .form-control[name="pickup"] {
    padding-left: 44px;
}


/* Trip Selector redesign - Modern Bicolor */
.taxi-booking-body .trip-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 6px;
}

.taxi-booking-body .trip-selector input[type="radio"] {
    display: none !important;
}

.taxi-booking-body .trip-selector input[type="radio"] {
    display: none !important;
}

.taxi-booking-body .trip-selector label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 700;
    color: #333 !important;
    background: transparent !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.taxi-booking-body .trip-selector input[type="radio"]:checked+label {
    background: #fe3c3c !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(254, 60, 60, 0.2) !important;
}

/* Car type selector */
.taxi-booking-body .cartype {
    margin-bottom: 12px;
}

.taxi-booking-body .cartype .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.taxi-booking-body .tariff-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0 8px;
}

/* On mobile and tablet devices, stack car options vertically */
@media (max-width: 991px) {
    .taxi-booking-body .tariff-options {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 10px;
    }

    .taxi-booking-body .tariff-option {
        width: 100%;
    }

    .taxi-booking-body .tariff-option label {
        display: flex !important;
        width: 100% !important;
        padding: 8px 15px !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start !important;
        gap: 12px;
        min-height: 60px;
        text-align: left !important;
    }

    .taxi-booking-body .tariff-option label span {
        font-size: 14px !important;
        text-align: left;
        white-space: normal;
        line-height: 1.2;
    }
}

.taxi-booking-body .tariff-option {
    flex: 1;
}

.taxi-booking-body .tariff-option label {
    padding: 10px 15px !important;
    gap: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    min-height: 65px;
}

/* Ensure icons are correctly positioned inside grid columns */
.taxi-booking-body .booking-form .control-group::before {
    left: 20px;
    /* Adjusted for column padding */
    top: 24px;
    /* Centered for 48px height input */
    transform: translateY(-50%);
}

.taxi-booking-body .tariff-options::-webkit-scrollbar {
    display: none;
}

.taxi-booking-body .tariff-option input[type="radio"] {
    display: none !important;
}

.taxi-booking-body .tariff-option label {
    padding: 12px 16px !important;
    border-radius: 12px !important;
    border: 1.5px solid #eee !important;
    background: #fff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
    min-height: 70px;
    /* Slight increase for larger icons */
}

.taxi-booking-body .tariff-option label:hover {
    border-color: rgba(254, 60, 60, 0.3);
    background: #fafafa !important;
    transform: translateY(-1px);
}

.taxi-booking-body .tariff-option label span {
    color: #444 !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.taxi-booking-body .tariff-option input[type="radio"]:checked+label {
    background: #fff !important;
    border-color: #fe3c3c !important;
    box-shadow: 0 8px 16px rgba(254, 60, 60, 0.12) !important;
    transform: translateY(-2px);
}

.taxi-booking-body .tariff-option input[type="radio"]:checked+label img {
    transform: scale(1.05);
}

.taxi-booking-body .tariff-option input[type="radio"]:checked+label span {
    color: #fe3c3c !important;
}

/* Book Now Button - Red Rounded Matching Image */
.taxi-booking-body .btn-custom {
    width: 100%;
    height: 54px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    background: #fe3c3c !important;
    box-shadow: 0 6px 20px rgba(254, 60, 60, 0.25) !important;
    border: none !important;
    color: #fff !important;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.taxi-booking-body .btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.4s ease;
}

.taxi-booking-body .btn-custom:hover::before {
    left: 100%;
}

.taxi-booking-body .btn-custom:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(254, 60, 60, 0.5) !important;
    background: linear-gradient(135deg, #ff5555 0%, #fe3c3c 100%) !important;
}

.taxi-booking-body .btn-custom:active {
    transform: translateY(0) !important;
}

/* Phone quick call badge below form */
/* Quick Call - Light Redesign Matching Image */
.taxi-quick-call {
    background: #f7f7f7 !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    border: 1px solid #eee !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.taxi-quick-call:hover {
    background: #efefef !important;
    transform: translateY(-2px);
}

.taxi-quick-call i {
    font-size: 22px;
    color: #fe3c3c;
    margin-right: 15px;
    animation: none !important;
}

.taxi-quick-call-text strong {
    display: block;
    font-size: 19px;
    color: #1a1a1a;
    font-weight: 800;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.taxi-quick-call-text span {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

/* ============================================
   MOVING CAR ANIMATION STRIP
   ============================================ */
.taxi-car-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    overflow: hidden;
    z-index: 8;
    pointer-events: none;
}

.taxi-car-strip::before {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(254, 60, 60, 0.3) 20%, rgba(254, 60, 60, 0.6) 50%, rgba(254, 60, 60, 0.3) 80%, transparent 100%);
}

/* Road dashes - dark for light theme */
.taxi-car-strip::after {
    content: '— — — — — — — — — — — — — — — — — — — — — — — — — — —';
    position: absolute;
    bottom: 14px;
    left: -200px;
    color: rgba(0, 0, 0, 0.05);
    font-size: 18px;
    letter-spacing: 20px;
    font-weight: 900;
    white-space: nowrap;
    animation: roadMove 4s linear infinite;
}

@keyframes roadMove {
    from {
        left: -200px;
    }

    to {
        left: 0px;
    }
}

.taxi-car-anim {
    position: absolute;
    bottom: 8px;
    font-size: 38px;
    animation: carDrive 12s linear infinite;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));

}

@keyframes carDrive {
    from {
        right: -60px;
        left: auto;
    }

    to {
        right: calc(100% + 60px);
        left: auto;
    }
}

/* ============================================
   ABOUT SECTION REDESIGN - Below Hero
   ============================================ */
.taxi-about-section {
    position: relative;
    padding: 70px 0;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

.taxi-about-section .about-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.taxi-feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1.5px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.taxi-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #fe3c3c, #ff8c00);
    border-radius: 2px 0 0 2px;
}

.taxi-feature-card:hover {
    border-color: #fcc;
    box-shadow: 0 12px 40px rgba(254, 60, 60, 0.1);
    transform: translateY(-4px);
}

.taxi-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff0f0, #ffe0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 22px;
    color: #fe3c3c;
}

.taxi-feature-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.taxi-feature-card p {
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   SECTION LABEL STYLE
   ============================================ */
.taxi-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fe3c3c;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.taxi-section-label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 3px;
    background: #fe3c3c;
    border-radius: 2px;
}

.taxi-section-title {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.taxi-section-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    max-width: 520px;
    font-family: 'Poppins', sans-serif;
}

/* ============================================
   RESPONSIVE - Mobile First
   ============================================ */
@media (max-width: 991.98px) {
    .taxi-hero {
        min-height: auto;
        display: block;
        overflow: visible;
    }

    .taxi-hero-content {
        padding: 90px 16px 20px;
    }

    .taxi-hero-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .taxi-hero-subtitle {
        margin: 0 auto 20px;
        font-size: 14px;
    }

    .taxi-booking-card {
        margin: 0 0 30px;
    }
}

@media (max-width: 767.98px) {
    .taxi-hero {
        min-height: auto;
    }

    .taxi-hero-content {
        padding: 100px 20px 30px;
    }

    .taxi-booking-header .header-icon {
        display: none;
    }

    .taxi-booking-body {
        padding: 18px 18px 22px;
    }

    .taxi-booking-header {
        padding: 18px 18px 14px;
    }

    .taxi-booking-header h4 {
        font-size: 17px;
    }

    .taxi-stats {
        gap: 12px;
    }

    .taxi-stat-item {
        padding: 10px 14px;
        min-width: 75px;
    }

    .taxi-stat-num {
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    .taxi-hero-content {
        padding: 60px 16px 20px;
    }

    .taxi-booking-body .booking-form .form-control {
        height: 42px;
        font-size: 13px !important;
    }

    .taxi-booking-body .trip-selector label {
        font-size: 12px !important;
        padding: 8px 10px;
    }

    .taxi-trust-badges {
        gap: 10px;
    }

    .taxi-trust-badge {
        font-size: 12px;
    }
}

/* ============================================
   FLOATING CALL BUTTON (Mobile)
   ============================================ */
.taxi-float-call {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: linear-gradient(135deg, #fe3c3c, #c00);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(254, 60, 60, 0.5);
    animation: floatBounce 2s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

.taxi-float-call i {
    margin-right: 8px;
    animation: callRing 2s ease-in-out infinite;
}

.taxi-float-call {
    display: none !important;
}

/* Hide old floating buttons */
.whatsapp_button,
.mobile_button,
.gif-cons,
.whatsapp-message {
    display: none !important;
}

/* Mobile Floating Action Bar */
@media (max-width: 991px) {
    body {
        padding-bottom: 80px !important;
        /* Prevents content from being hidden behind the bar */
    }

    .taxi-mobile-action-bar {
        display: flex !important;
        bottom: 0 !important;
        padding-bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    }
}

.taxi-mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    /* Increased to ensure it stays on top */
    background: #ffffff;
    padding: 14px 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Performance & stability for fixed elements on mobile */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.taxi-action-btn {
    flex: 1;
    height: 52px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.taxi-action-btn.call-btn {
    background: #111827;
    /* Modern dark navy/black */
}

.taxi-action-btn.whatsapp-btn {
    background: #25d366;
    /* Official WhatsApp Green */
}

.taxi-action-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.taxi-action-btn i {
    font-size: 18px;
}

/* Desktop Floating Actions */
.taxi-desktop-float {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 24px;
    z-index: 9998;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.taxi-desktop-float.call-float {
    left: 40px;
    bottom: 60px;
    background: #fe3c3c;
    /* Using brand red for better visibility on dark backgrounds */
    box-shadow: 0 10px 30px rgba(254, 60, 60, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.taxi-desktop-float.whatsapp-float {
    right: 40px;
    bottom: 60px;
    background: #25d366;
    /* WhatsApp Green */
}

.taxi-desktop-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.float-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #1a1a1a;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.taxi-desktop-float:hover .float-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-15px);
}

.taxi-desktop-float.call-float .float-tooltip {
    left: 80%;
    /* Adjusted for left side position */
}

.taxi-desktop-float.whatsapp-float .float-tooltip {
    left: 20%;
    /* Adjusted for right side position */
}

/* Hide Powered by Google in Autocomplete Globally */
.pac-container:after {
    display: none !important;
    content: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   NAVBAR ENHANCEMENT
   ============================================ */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 15px 25px !important;
}

.navbar.nav-sticky {
    background: #ffffff !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(254, 60, 60, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12) !important;
    padding: 15px 25px !important;
}

/* White navbar — dark nav links */
.navbar .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #222 !important;
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fe3c3c !important;
}

/* Mobile toggler icon color fix for white bg */
.navbar-dark .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280%2C0%2C0%2C0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Top bar stays dark */
.top-bar {
    background: #1a1a1a;
    position: relative;
    z-index: 1001;
}

/* ============================================
   HERO PARTICLES (JS-driven)
   ============================================ */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: particleFly linear infinite;
    opacity: 0;
}

@keyframes particleFly {
    0% {
        opacity: 0;
        transform: translateY(100%) translateX(0) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(var(--drift)) scale(1.5);
    }
}

/* ============================================
   ABOUT SECTION TEXT TWEAKS
   ============================================ */
.hero-about-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.hero-about-text .about-highlight {
    color: #fe3c3c;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

/* ============================================
   TAXI BOOKING HUB (book.php)
   ============================================ */
.taxi-booking-hub {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.taxi-booking-hub::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(254, 60, 60, 0.05) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: 1;
}

.taxi-hub-image-wrapper {
    position: relative;
    padding: 20px;
    z-index: 2;
}

.taxi-hub-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease;
}

.taxi-hub-image:hover {
    transform: scale(1.02);
}

.taxi-hub-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeSlideUp 0.8s ease both 1s;
}

.hub-badge-icon {
    width: 44px;
    height: 44px;
    background: #fff0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fe3c3c;
    font-size: 18px;
}

.hub-badge-text strong {
    display: block;
    font-size: 16px;
    color: #1a1a1a;
}

.hub-badge-text span {
    font-size: 12px;
    color: #777;
}

/* ============================================
   PREMIUM ROUTE CARDS (Image 1 Style)
   ============================================ */
.route-card-premium {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1.5px solid #f2f2f2;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.route-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(254, 60, 60, 0.12);
    border-color: rgba(254, 60, 60, 0.3);
}

.route-card-premium .route-icon-box {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: #fff0f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #fe3c3c;
    font-size: 28px;
    transition: all 0.3s ease;
}

.route-card-premium:hover .route-icon-box {
    background: #fe3c3c;
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.route-card-premium .route-content {
    flex-grow: 1;
}

.route-card-premium .route-title {
    font-size: 17px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.route-card-premium .route-title i.route-arrow {
    color: #fe3c3c;
    font-size: 14px;
    opacity: 0.8;
}

.route-card-premium .view-details {
    font-size: 13px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.route-card-premium:hover .view-details {
    color: #fe3c3c;
}

.route-card-premium .view-details::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

/* ============================================
   THANK YOU PAGE (Success Design)
   ============================================ */
.taxi-thanks-section {
    padding: 40px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.thanks-wrapped {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 40px;
    border-radius: 28px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.thanks-wrapped::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #fe3c3c, #ff8e2b);
}

.success-icon-box {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

/* Success Animation Code */
.success-checkmark {
    width: 80px;
    height: 115px;
    margin: 0 auto;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.success-checkmark .check-icon .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(76, 175, 80, 0.5);
    box-sizing: content-box;
    position: absolute;
}

.success-checkmark .check-icon .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 46px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.thanks-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.thanks-divider {
    width: 60px;
    height: 4px;
    background: #fe3c3c;
    margin: 0 auto 24px;
    border-radius: 2px;
}

.thanks-message {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 35px;
}

.thanks-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-thanks-home,
.btn-thanks-whatsapp {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-thanks-home {
    background: #111827;
    color: #fff !important;
}

.btn-thanks-whatsapp {
    background: #25d366;
    color: #fff !important;
}

.btn-thanks-home:hover,
.btn-thanks-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .thanks-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-thanks-home,
    .btn-thanks-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .thanks-wrapped {
        padding: 40px 25px;
    }
}