:root {
    --primary-orange: #f28b00;
    --dark-grey: #333;
    --light-grey: #f4f4f4;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, sans-serif; }

body { line-height: 1.6; color: var(--dark-grey); }

nav { background: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 15px 20px; }
.logo { font-size: 2rem; font-weight: bold; color: var(--primary-orange); }
.nav-links a { text-decoration: none; color: var(--dark-grey); margin-left: 20px; font-weight: 600; }
.nav-links a:hover { color: var(--primary-orange); }

/* HERO SECTION */
.hero { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d') center/cover; height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.hero-content h1 { font-size: 4rem; color: var(--white); }
.hero-content h3 { font-size: 2rem; margin-bottom: 10px; }
.hero-content p { font-size: 1.5rem; margin-bottom: 20px; color: var(--primary-orange); font-weight: bold; }

.btn-main { padding: 12px 30px; background: var(--primary-orange); color: var(--white); border: none; font-size: 1.1rem; cursor: pointer; border-radius: 5px; text-decoration: none; display: inline-block; font-weight: bold;}
.btn-main:hover { background: #d67a00; }

/* SECTIONS */
.section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2.2rem; text-transform: uppercase; }

/* FORMS (Booking & Feedback) */
.booking-form-container { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); max-width: 800px; margin: 0 auto; }
.form-row { display: flex; gap: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.form-group { flex: 1; min-width: 250px; margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; }

/* FLEET CARDS */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.car-card { background: #f9f9f9; padding: 20px; border-radius: 8px; text-align: center; border: 1px solid #ddd; }
.car-card h3 { color: var(--primary-orange); margin-bottom: 10px; }

/* CALCULATOR */
.calculator-box { background: var(--light-grey); padding: 30px; border-radius: 10px; border-left: 5px solid var(--primary-orange); max-width: 600px; margin: 0 auto;}
#result { margin-top: 20px; font-weight: bold; font-size: 1.2rem; color: #28a745; }
/* --- NAYA FLEET SECTION CSS --- */
.new-fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.new-car-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.new-car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(242, 139, 0, 0.2); /* Orange glow on hover */
}

.new-car-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-orange);
}

.new-car-info {
    padding: 25px;
    text-align: left;
}

.new-car-info h3 {
    color: #222;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.new-car-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    min-height: 50px;
}

.car-badge {
    display: inline-block;
    background: #fff3e0;
    color: var(--primary-orange);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    border: 1px solid var(--primary-orange);
}

.car-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
}

.car-features i {
    color: var(--primary-orange);
    margin-right: 5px;
}
/* --- CUSTOMER REVIEWS SECTION CSS --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.review-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border-top: 5px solid var(--primary-orange);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.review-stars {
    color: #ffb400; /* Golden Yellow for Stars */
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    min-height: 80px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eaeaea;
    padding-top: 15px;
}

.author-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.author-info h4 {
    margin: 0;
    color: #222;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #777;
    font-weight: 500;
}

/* --- DAILY SERVICES SECTION CSS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.service-card {
    background: #f9f9f9;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 4px solid var(--primary-orange);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    background-color: #ffffff;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.service-card h3 {
    color: #222;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: #555;
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 70px;
}
/* --- WHATSAPP FLOATING BUTTON CSS --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Mouse aane par thoda bada hoga */
    color: #FFF;
}

/* Mobile phone par button thoda side mein aur chota ho jayega */
@media screen and (max-width: 767px){
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}

/* --- DARK MODE BUTTON STYLING --- */
.dark-mode-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-grey);
    cursor: pointer;
    margin-left: 20px;
    vertical-align: middle;
    transition: color 0.3s ease;
}
.dark-mode-btn:hover {
    color: var(--primary-orange);
}

/* --- DARK MODE THEME COLORS --- */
body.dark-mode {
    background-color: #121212 !important; /* Pura background dark */
    color: #f4f4f4 !important; /* Text white */
}

/* Navbar aur Sections ko Dark karna */
body.dark-mode nav {
    background-color: #1e1e1e !important;
    box-shadow: 0 2px 10px rgba(255,255,255,0.05);
}
body.dark-mode .nav-links a, 
body.dark-mode .dark-mode-btn {
    color: #f4f4f4;
}

/* Cards (Fleet, Reviews, Services) ko Dark karna */
body.dark-mode .service-card, 
body.dark-mode .new-car-card, 
body.dark-mode .review-card, 
body.dark-mode .calculator-box, 
body.dark-mode .feedback-form,
body.dark-mode .booking-form-container {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
    color: #f4f4f4 !important;
}

/* Headings aur Text ko light karna */
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode p, 
body.dark-mode label, 
body.dark-mode strong {
    color: #e0e0e0 !important;
}

/* Forms (Inputs) ko Dark karna */
body.dark-mode input, 
body.dark-mode select, 
body.dark-mode textarea {
    background-color: #2c2c2c !important;
    color: #fff !important;
    border-color: #555 !important;
}
/* --- TAXI PRELOADER CSS --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222; /* Dark background */
    z-index: 99999; /* Sabse upar dikhane ke liye */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.taxi-icon {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
    animation: driveTaxi 1.5s infinite ease-in-out;
}

.loader-content h2 {
    font-size: 2rem;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 15px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: #444;
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background-color: var(--primary-orange);
    animation: loading 1s infinite ease-in-out;
}

/* Animations */
@keyframes driveTaxi {
    0% { transform: translateX(-40px) scaleY(1); }
    50% { transform: translateX(40px) scaleY(0.95); } /* Halki si bounce legi */
    100% { transform: translateX(-40px) scaleY(1); }
}

@keyframes loading {
    0% { left: -40%; }
    100% { left: 100%; }
}
/* --- WELCOME POPUP & GLASSMORPHISM CSS --- */
.popup-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Halka kaala rang */
    backdrop-filter: blur(8px); /* Trend: Piche ki website dhundhli (blur) ho jayegi */
    z-index: 100000; /* Sabse upar dikhega */
    display: none; /* Shuru mein chhupa rahega */
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: popIn 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28); /* Bounce animation */
}

/* Dark mode support */
body.dark-mode .popup-content { 
    background: #1e1e1e; 
    color: #fff; 
    border: 1px solid #333; 
}

.close-popup {
    position: absolute; 
    top: 15px; 
    right: 20px;
    font-size: 2rem; 
    color: #999; 
    cursor: pointer; 
    transition: 0.3s;
    line-height: 1;
}

.close-popup:hover { color: #ff0000; }

.coupon-code {
    background: #f9f9f9; 
    border: 2px dashed var(--primary-orange);
    padding: 10px; 
    font-size: 1.2rem; 
    font-weight: bold;
    margin: 20px 0; 
    border-radius: 8px; 
    color: #333;
    letter-spacing: 2px;
}

body.dark-mode .coupon-code { 
    background: #121212; 
    color: #fff; 
}

.coupon-code span { color: var(--primary-orange); }

/* Animation Keyframes */
@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
/* --- SCROLL PROGRESS BAR CSS --- */
.progress-container {
    position: fixed;
    top: 0;
    z-index: 100000;
    width: 100%;
    height: 4px;
    background: transparent;
}
.progress-bar {
    height: 4px;
    background: var(--primary-orange);
    width: 0%;
    box-shadow: 0 0 10px var(--primary-orange); /* Glowing effect */
}

/* --- LIVE BOOKING TOAST CSS --- */
.booking-toast {
    position: fixed;
    bottom: 30px;
    left: -400px; /* Shuru mein screen ke bahar chhupa rahega */
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-orange);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 99998; /* Popup ke theek niche */
    transition: left 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Bouncy slide in */
    min-width: 250px;
}

body.dark-mode .booking-toast {
    background: #1e1e1e;
    border-color: var(--primary-orange);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

body.dark-mode #toast-name { color: #fff !important; }
body.dark-mode #toast-action { color: #bbb !important; }

/* Jab notification show hoga */
.booking-toast.show {
    left: 20px; /* Screen ke andar aa jayega */
}

@media screen and (max-width: 768px) {
    .booking-toast.show {
        left: 10px;
        bottom: 90px; /* Mobile menu ke upar dikhane ke liye */
    }
}

/* ======================================================
   📱 MOBILE RESPONSIVE DESIGN (Fixes for Mobile Phones)
====================================================== */

@media screen and (max-width: 768px) {
    
    /* 1. Navbar Fix: Hide top links on mobile and center the Logo */
    .nav-links {
        display: none !important; /* Hidden because we added the Mobile App bottom menu */
    }
    .nav-container {
        justify-content: center;
        padding: 10px;
    }

    /* 2. Hero Section Fix: Reduce text size and height for mobile screens */
    .hero {
        height: 60vh; /* Reduced height slightly */
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content h3 {
        font-size: 1.2rem;
        height: 30px; /* Space for the Typewriter effect */
    }
    .hero-content p {
        font-size: 1rem;
    }

    /* 3. Booking Form Fix: Stack side-by-side input boxes vertically */
    .form-row {
        display: flex;
        flex-direction: column; /* Stacks items one below the other */
        gap: 15px;
    }
    .form-group {
        width: 100%;
        margin-bottom: 10px;
    }
    .booking-form {
        padding: 20px;
    }

    /* 4. Contact Section Fix: Adjust gaps and stack elements */
    .contact-container {
        flex-direction: column; /* Contact form and details stacked vertically */
        gap: 20px;
    }
    .feedback-form {
        padding: 20px;
    }
    
    /* 5. Sections Padding: Reduce spacing from the edges on small screens */
    .section {
        padding: 40px 15px;
    }

    /* 6. Footer Fix: Leave space at the bottom so the new Bottom Nav Menu doesn't hide it */
    footer {
        padding-bottom: 80px; 
    }

    /* 7. Animated Counters: Show in pairs (2 per row) on mobile */
    .counter-box {
        width: 40%;
        margin: 10px 5px;
    }
}

/* Extra fixes for very small screens (like older/narrow phones) */
@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .counter-box {
        width: 100%; /* Shows one counter per line */
    }
}


/* --- CUSTOMER SERVICE FLOATING BUTTON (LEFT SIDE) --- */
.support-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px; /* Ise Left side mein rakha hai */
    background-color: #007bff; /* Professional Blue color */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s;
    text-decoration: none;
}

.support-float:hover {
    transform: scale(1.1); /* Mouse laane par bada hoga */
    background-color: #0056b3;
    color: #FFF;
}

/* Mobile phone par button ka size aur jagah */
@media screen and (max-width: 768px){
    .support-float {
        width: 50px;
        height: 50px;
        bottom: 80px; /* Mobile menu ke thik upar rahega */
        left: 20px;
        font-size: 25px;
    }
}