/* Import Google Fonts for professional typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* Base Styles & Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
/* Prevent horizontal overflow and right side white space */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Ensure all elements stay inside the viewport */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cb-bg-light);
  color: var(--cb-text-dark);
  overflow-x: hidden;
}

/* Custom Utilities */
.text-cab-cyan {
  color: var(--cb-accent-cyan) !important;
}

.bg-cab-primary {
  background-color: var(--cb-primary) !important;
}

.bg-cab-cyan {
  background-color: var(--cb-accent-cyan) !important;
}

.fw-extrabold {
  font-weight: 800;
}

.brand-green-text {
  color: var(--cb-primary) !important;
}

/* ==========================================================================
   1. CLEAN STICKY NAVBAR
   ========================================================================== */
header#navbar-placeholder {
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Clean Solid White Navbar */
.custom-navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  transition: var(--cb-transition-fast);
}

/* Transparent PNG Logo Styling */
.navbar-logo {
  height: 60px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.2s ease;
}

.navbar-logo:hover {
  transform: scale(1.03);
}

/* Navbar Links */
.custom-navbar .nav-link {
  color: var(--cb-text-dark, #1e293b) !important;
  transition: var(--cb-transition-fast);
  padding: 8px 18px !important;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--cb-primary, #0d6efd) !important;
  background-color: rgba(13, 110, 253, 0.08);
  transform: translateY(-1px);
}

/* Dropdown Animation on Hover */
@media (min-width: 992px) {
  .animated-dropdown {
    display: block;
    opacity: 0;
    transform: translateY(12px);
    transition: var(--cb-transition-smooth);
    pointer-events: none;
    margin-top: 8px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: var(--cb-shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .hover-dropdown:hover .animated-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.dropdown-item {
  color: var(--cb-text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--cb-transition-fast);
  padding: 10px 20px;
}

.dropdown-item:hover {
  background-color: rgba(152, 215, 252, 0.15);
  color: var(--cb-primary);
  padding-left: 25px;
}

/* ==========================================================================
   2. HERO SECTION & ENHANCED BOOKING CARD
   ========================================================================== */
.hero-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1508962914676-134849a727f0?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 100px !important;
}

.hero-overlay {
  position: absolute;
  /* top: 0; */
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(50, 61, 141, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInHero 0.8s ease-out;
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Mobile CTA Alignment Fix */
@media (max-width: 767px) {
  .hero-section h1.display-4 {
    font-size: 1.8rem !important;
  }
  .hero-cta-wrapper {
    flex-direction: column !important; 
    gap: 8px !important; 
  }

  .hero-cta-wrapper .book-demo-link {
    padding-left: 30px !important; 
  }
}

/* Get Taxi / Onboarding Booking Card UI */
.get-taxi-card,
.onboarding-card {
  max-width: 480px;
  margin: 0 auto;
  border-radius: 20px !important;
  background-color: #ffffff;
  border-top: 5px solid var(--cb-accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
  transition: var(--cb-transition-smooth);
}

.get-taxi-card:hover,
.onboarding-card:hover {
  box-shadow: 0 20px 40px rgba(50, 61, 141, 0.25) !important;
}

/* Form Entry Animation (Bottom to Top) */
.animate-form-up {
  animation: slideUpSlow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

@keyframes slideUpSlow {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-call-link:hover {
  color: var(--cb-accent-cyan) !important;
  transition: color 0.2s ease-in-out;
}
/* Form Option Buttons Styling & States */
.option-btn {
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
  border: 1.5px solid #dee2e6;
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.option-btn:hover {
  background-color: #f8f9fa;
  border-color: var(--cb-primary);
  color: var(--cb-primary);
}

.option-btn.active {
  background-color: var(--cb-primary) !important;
  color: #ffffff !important;
  border-color: var(--cb-primary) !important;
  box-shadow: 0 4px 10px rgba(50, 61, 141, 0.25);
}

/* Flatpickr Input Styling */
#demoDateTimePicker {
  cursor: pointer;
  border-radius: 8px;
}

/* General Buttons Styling */
.btn-cab-primary {
  background-color: var(--cb-primary);
  color: #ffffff;
  border: none;
  transition: var(--cb-transition-fast);
}

.btn-cab-primary:hover {
  background-color: var(--cb-primary-dark);
  color: var(--cb-accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--cb-shadow-glow);
}

.btn-cab-cyan {
  background-color: var(--cb-accent-cyan);
  color: var(--cb-text-dark);
  border: none;
  transition: var(--cb-transition-fast);
}

.btn-cab-cyan:hover {
  background-color: var(--cb-accent-cyan-hover);
  color: #000;
  transform: translateY(-2px);
}

/* ==========================================================================
   3. TARIFFS & CARDS ANIMATIONS
   ========================================================================== */
.tariff-card {
  transition: var(--cb-transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.tariff-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--cb-shadow-md) !important;
}

.featured-card {
  border: 2px solid var(--cb-accent-cyan) !important;
  box-shadow: var(--cb-shadow-glow) !important;
}

.tariff-features li {
  font-size: 0.92rem;
  color: var(--cb-text-dark);
}

/* ==========================================================================
   4. FEATURES & BANNER STYLES
   ========================================================================== */
.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  transition: var(--cb-transition-smooth);
}

.feature-box:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  /* background-color: var(--cb-accent-cyan) !important; */
  background-color: #ffffff !important;
  color: var(--cb-primary) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* .border-bottom-cyan {
  position: relative;
  border-bottom: 4px solid var(--cb-accent-cyan);
  transition: var(--cb-transition-smooth);
} */
.border-bottom-cyan {
  position: relative;
  background-color: #ffffff;
  /* border-bottom: none !important;  */
  border-bottom: 4px solid var(--cb-accent-cyan);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.border-bottom-cyan::after {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(111, 66, 193, 0), rgba(100, 30, 180, 0.45));
  /* Rich & Dark Purple tone */
  transition: right 0.4s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

/* Hover Effect: Card lift hoga, bg white, aur strong purple glow/shadow */
.border-bottom-cyan:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(100, 30, 180, 0.28) !important;
  background-color: #ffffff !important;
}

.border-bottom-cyan:hover::after {
  right: 0;
}

.border-bottom-cyan>* {
  position: relative;
  z-index: 2;
}

/* .border-bottom-cyan:hover {
  transform: translateY(-6px);
  box-shadow: var(--cb-shadow-md) !important;
} */

/* Card Hover Zoom Effect for Ecosystem Cards */
.ecosystem-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

/* .ecosystem-card .card-img-top {
  transition: transform 0.5s ease;
}

.ecosystem-card:hover .card-img-top {
  transform: scale(1.08);
}

.object-fit-cover {
  object-fit: cover;
} */

/* Ecosystem Cards Image Fix */
.ecosystem-card .card-img-wrapper {
  height: 200px !important;
  background-color: #f8f9fa;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.ecosystem-card .card-img-top {
  width: 100% !important;
  /* height: 100% !important; */
  object-fit: cover !important;
  transform: scale(1.15) !important; 
  object-position: center !important;

}
@media (max-width: 767px) {
  .ecosystem-card .card-img-wrapper {
    height: 280px !important; 
    padding: 0 !important; 
  }

  .ecosystem-card .card-img-top {
    object-fit: cover !important;
    transform: scale(1) !important; 
    object-position: center main !important; 
  }
  @media (min-width: 1200px) {
  .ecosystem-card .card-img-wrapper {

    height: 460px !important; 
    /* width: 250px !important;     */
    margin: 0 auto !important;
  }
}
/* Direct 70% Zoom Target (Regardless of Resolution) */
@media screen and (max-width: 1920px) and (-webkit-max-device-pixel-ratio: 0.85) {
  .ecosystem-card .card-img-wrapper {
    height: 550px !important; /* Yahan 250px ya 260px jo fit lage rakh lein */
  }

  .ecosystem-card .card-img-top {
    transform: scale(1) !important;
    object-fit: contain !important; /* Zoom-out mein top/bottom cut ko zero kar dega */
  }
}
/* 70% Zoom / Large Desktop Screen (1500px & above) */
@media (min-width: 1500px) {
  .ecosystem-card .card-img-wrapper {
    height: 340px !important; /* Visual balance ke liye height yahan badhegi */
  }

  .ecosystem-card .card-img-top {
    transform: scale(1.05) !important; /* Wide screen par image clean fit dikhegi */
  }
}
/* 150% Zoom / Small Desktop Screens Fix */
@media (min-width: 992px) and (max-width: 1280px) {
  .ecosystem-card .card-img-wrapper {
    height: 340px !important; /* Pehle 200px tha, height barha di hai */
    padding: 0 !important;
  }

  .ecosystem-card .card-img-top {
    transform: scale(1) !important; /* Zoom scale normal kar diya taake top/bottom cut na ho */
    object-position: center top !important; /* Mockup status bar ko view me rakhta hai */
  }
}
}
.card-img-container {
    height: 180px; 
    background: #223f7d; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* Custom CSS Class for image container */
.card-img-container {
    height: 180px; 
    background: #223f7d; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* ==========================================================================
   LIVE COUNTER BACKGROUND SHAPES & ANIMATIONS
   ========================================================================== */
@keyframes counterShape1 {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  50% {
    transform: translate(-42%, -58%) scale(1.15) rotate(180deg);
  }

  100% {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
  }
}

@keyframes counterShape2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-25px, -35px) scale(1.1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.blur-shape {
  animation: counterShape1 14s infinite ease-in-out;
}

.blur-shape-2 {
  animation: counterShape2 10s infinite ease-in-out;
}

.counter-box {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
footer {
  background-color: var(--cb-primary) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.footer-logo-img {
  height: 55px !important;
  width: auto;
  object-fit: contain;
}

/* Footer Links Fix & Visibility */
.footer-links li a,
.footer-links a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.footer-links li a:hover,
.footer-links a:hover {
  color: var(--cb-accent-cyan) !important;
  opacity: 1 !important;
  transform: translateX(4px);
}

/* Footer Social Icons Hover Effect */
.footer-social-btn:hover {
  background-color: var(--cb-accent-cyan) !important;
  border-color: var(--cb-accent-cyan) !important;
  color: var(--cb-primary) !important;
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

/* ==========================================================================
   6. ADVANCED SCROLL ANIMATIONS WITH STAGGER & DEPTH
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Initial States */
.animate-from-left {
  transform: translateX(-100px) scale(0.92) rotate(-1.5deg);
}

.animate-from-right {
  transform: translateX(100px) scale(0.92) rotate(1.5deg);
}

.animate-from-bottom {
  transform: translateY(80px) scale(0.9);
}

/* Active State */
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0deg);
}

/* Stagger Delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.25s;
}

.delay-3 {
  transition-delay: 0.4s;
}

.delay-4 {
  transition-delay: 0.55s;
}

/* Flatpickr Inline Customization for Clean UI */
/* .flatpickr-calendar.inline {
  width: 100% !important;
  box-shadow: none !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 12px !important;
  padding: 10px !important;
  background: #f8f9fa !important;
} */

.flatpickr-calendar.inline .flatpickr-months {
  padding: 5px 0;
}

.flatpickr-time {
  max-height: none !important;
  height: 60px !important;
  line-height: 60px !important;
  font-size: 1.2rem !important;
}

.flatpickr-calendar.inline {
  margin: 0 auto !important;
  float: none !important;
}







/* Normal State: Default border/bg clear */
.custom-toggler-btn {
  background-color: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease-in-out;
}

/* Hover & Active Click State: Sirf tabhi grey highlight show ho */
.custom-toggler-btn:hover,
.custom-toggler-btn:active,
.custom-toggler-btn[aria-expanded="true"] {
  background-color: #e9ecef !important;
  border-color: #ced4da !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1) !important;
}

/* Click ke baad focus ring hata do */
.custom-toggler-btn:focus {
  box-shadow: none !important;
}