:root {
  --primary-color: #D2042D;
  --secondary-color: #2C3E50;
  --background-color: #ECF0F1;
  --content-base: #FFFFFF;
  --text-dark: #2C3E50;
  --text-light: #7F8C8D;
  --border-color: #BDC3C7;
  --success-color: #27AE60;
  --danger-color: #E74C3C;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background-color);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background-color: var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--content-base);
  text-decoration: none;
}

.nav a {
color: var(--content-base);	color: black;
/* ... rest of the code ... */	/* ... rest of the code ... */
}

.nav-link {
  color: var(--content-base);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.main-content {
  min-height: calc(100vh - 200px);
}

.slider-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  text-align: center;
  color: var(--content-base);
  background: rgba(44, 62, 80, 0.8);
  padding: 3rem;
  border-radius: 10px;
  max-width: 600px;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(210, 4, 45, 0.8);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background-color: var(--primary-color);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
  font-weight: 700;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.city-card {
  background: var(--content-base);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.city-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.city-content {
  padding: 1.5rem;
}

.city-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.city-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--content-base);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #B0032A;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--content-base);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #1a252f;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), #B0032A);
  color: var(--content-base);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), #B0032A);
  color: var(--content-base);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
}

.routes-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.route-card {
  background: var(--content-base);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.route-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.route-details {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.route-details span {
  color: var(--text-light);
}

.bg-light {
  background-color: var(--content-base);
}

.no-data {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 2rem;
}

.calculator-card {
  background: var(--content-base);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

.fare-form {
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group small {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.fare-result {
  background: var(--background-color);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 2rem;
}

.fare-result h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.result-item.total {
  border-bottom: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.result-item .label {
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--content-base);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-wrapper {
  background: var(--content-base);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-info {
  background: var(--content-base);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.loading-message {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 1rem;
}

.error-section {
  padding: 4rem 0;
  text-align: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-title {
  font-size: 6rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.error-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer {
  background-color: var(--secondary-color);
  color: var(--content-base);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--content-base);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .route-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* --- Hero Slider & Form Design --- */
.hero-section {
    position: relative;
    height: 600px; /* बैनर की ऊंचाई */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* पीछे घूमने वाला स्लाइडर */
.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-img.active {
    opacity: 1;
}

/* फॉर्म के ऊपर काला शेड */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% काला रंग */
    z-index: 0;
}

/* --- Force Transparent Glass Form (Desktop & Mobile) --- */

/* यह कोड किसी भी @media ब्रैकेट के बाहर होना चाहिए */

.booking-container {
    background: rgba(0, 0, 0, 0.6) !important; /* जबरदस्ती ट्रांसपेरेंट */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border-radius: 12px;
    padding: 40px;
    margin: 20px auto;
    max-width: 900px; /* फॉर्म चौड़ा रहेगा */
    width: 95%;
}

/* इनपुट फील्ड्स */
.hero-form input {
    background: #ffffff !important;
    color: #333 !important;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
}

/* डेस्कटॉप पर फॉर्म को एक लाइन (ग्रिड) में दिखाएं */
@media (min-width: 769px) {
    .hero-form {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr; /* 4 कॉलम एक लाइन में */
        gap: 15px;
        align-items: end;
    }
    
    .hero-form .input-group {
        margin-bottom: 0;
    }
    
    .btn-book {
        height: 50px; /* बटन की हाइट इनपुट के बराबर */
        margin-top: 0;
    }
}
/* --- Mobile View Transparent Fix --- */

@media (max-width: 768px) {
    .booking-container {
        background: rgba(0, 0, 0, 0.6) !important; /* जबरदस्ती ट्रांसपेरेंट */
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        padding: 25px 20px;
        width: 92% !important;
        margin: 20px auto;
    }

    /* मोबाइल पर टेक्स्ट साफ़ दिखे */
    .booking-container h2 {
        color: #ffffff !important;
        font-size: 22px;
        margin-bottom: 5px;
    }

    .booking-container p {
        color: #ddd !important;
        font-size: 13px;
    }

    .hero-form label {
        color: #fff !important;
    }
}
/* Container for all 6 boxes */
.keyword-boxes-container {
    display: flex; /* Boxes को एक लाइन में रखने के लिए */
    flex-wrap: wrap; /* अगर स्क्रीन छोटी हो तो बॉक्सेस को अगली लाइन में भेजने के लिए */
    gap: 20px; /* बॉक्सेस के बीच की दूरी */
    margin-top: 30px;
}

/* Style for each individual box */
.keyword-box {
    flex: 1 1 calc(33.33% - 20px); /* एक लाइन में 3 बॉक्स दिखाने के लिए (33.33%) */
    min-width: 300px; /* सुनिश्चित करता है कि बॉक्स बहुत छोटे न हों */
    padding: 20px;
    border: 1px solid #e0e0e0; /* हल्की बॉर्डर */
    border-radius: 8px; /* गोल कोने */
    background-color: #f9f9f9; /* हल्का ग्रे बैकग्राउंड */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* हल्का बॉक्स शैडो */
    transition: transform 0.3s; /* माउस ले जाने पर हल्का इफ़ेक्ट */
}

/* Hover Effect (Optional) */
.keyword-box:hover {
    transform: translateY(-5px); /* माउस ले जाने पर बॉक्स थोड़ा ऊपर उठेगा */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.keyword-heading {
    color: #1a73e8; /* एक आकर्षक रंग */
    font-size: 18px;
    margin-top: 0;
}

.keyword-description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Mobile View adjustments */
@media (max-width: 768px) {
    .keyword-box {
        flex: 1 1 100%; /* मोबाइल पर एक लाइन में एक ही बॉक्स */
    }
}
/* --- NEW PRICE CARD SECTION STYLES --- */
.price-card-section {
    max-width: 1100px;
    margin: 50px auto 0; /* Content box से ऊपर मार्जिन */
    padding: 0 20px;
    position: relative;
    z-index: 21; /* सुनिश्चित करता है कि यह glass-container और content-box के बीच में दिखे */
}

.price-card-grid {
    display: flex; /* flexbox का उपयोग करके कार्ड को व्यवस्थित करें */
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.cab-card {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.cab-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cab-image-container {
    height: 180px; /* इमेज की निश्चित ऊँचाई */
    overflow: hidden;
    background-color: #f7f7f7;
    border-bottom: 1px solid #eee;
}

.cab-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* इमेज को कंटेनर के अंदर फिट करता है */
    transform: scale(1.05); /* इमेज को थोड़ा बड़ा दिखाने के लिए */
}

.cab-details {
    padding: 20px;
}

.cab-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 5px;
}

.cab-price {
    font-size: 36px;
    font-weight: 800;
    color: #D2042D; /* Red Color */
    margin-bottom: 15px;
}

.cab-price small {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    display: block;
    margin-top: -10px;
}

.cab-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
    display: flex;
    justify-content: space-around;
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

.cab-features li {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.cab-features i {
    color: #004e92;
    margin-right: 5px;
}

.btn-book-card {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #004e92;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-book-card:hover {
    background-color: #D2042D;
}

/* Mobile adjustments for the cards */
@media (max-width: 768px) {
    .price-card-grid {
        gap: 20px;
        margin-bottom: 30px;
    }
    .cab-card {
        max-width: 100%;
    }
    .cab-price {
        font-size: 32px;
    }
}
/* --- Mobile Header/Navigation Toggle CSS --- */
/* Hide or modify header on mobile so form gets space */
@media (max-width: 768px) {
    /* Main Header Container */
    .main-header {
        padding: 10px 15px;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        /* Blur effect for a modern look */
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
    }
    
    /* Navigation Menu (Links) */
    .main-nav {
        position: fixed;
        top: 60px; /* Below the main logo strip */
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        display: none; /* Initially hidden */
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
        z-index: 999;
        transition: transform 0.3s ease-in-out;
    }

    .main-nav.open {
        display: flex; /* Show when open */
    }

    .nav-link, .admin-button {
        padding: 15px 0;
        width: 90%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 18px;
    }

    /* Adjust content position so it's not hidden behind fixed header */
    .hero-section {
        padding-top: 60px; /* Add space below the fixed header */
    }
}
/* --- New Global Layouts --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* --- Available Cities Styles (.city-pill) --- */
.city-pill {
    background: #f0f0f0;
    color: #004e92;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
    border: 1px solid #ddd;
}

.city-pill:hover {
    background: #004e92;
    color: white;
}

.city-pill i {
    margin-right: 5px;
    color: #D2042D; /* Red icon color */
}

.city-pill:hover i {
    color: white;
}

/* --- Popular Routes Styles (.route-pill) --- */
.route-pill {
    background: #fff;
    color: #333;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s, color 0.3s;
    border: 1px solid #eee;
}

.route-pill:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    color: #D2042D;
}

/* --- Why Choose Us (Features Grid) Styles --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 30px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid #004e92;
}

.feature-icon {
    font-size: 40px;
    color: #D2042D;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 0;
}

/* --- About & CTA Section Styles --- */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    color: #004e92;
    margin-bottom: 20px;
}

.about-img {
    flex: 1;
    max-width: 400px;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cta-strip {
    background: linear-gradient(90deg, #D2042D, #004e92);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }
}