/* Ilayanila Taxi Main Stylesheet - Modern Clean Redesign */
:root {
  --primary-color: #0c2340;   /* Deep Royal Navy */
  --primary-dark: #07162b;    /* Ultra Dark Navy */
  --secondary-color: #ffb703; /* Taxi Gold/Yellow */
  --secondary-hover: #f59e0b;
  --accent-green: #25D366;    /* WhatsApp Green */
  --accent-green-hover: #1eb857;
  --light-bg: #f8fafc;
  --text-dark: #0f172a;       /* Slate 900 */
  --text-slate: #334155;      /* Slate 700 */
  --text-muted: #64748b;      /* Slate 500 */
  --font-heading: 'Work Sans', 'Playfair Display', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  padding-bottom: 70px; /* Space for mobile bottom bar */
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  text-decoration: none;
}

/* Hide duplicate sticky headers/menus */
.sticky-header, .mobile-menu {
  display: none !important;
}

/* Top Header Bar */
.header-top-bar {
  background-color: var(--primary-dark);
  color: #e2e8f0;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 2px solid var(--secondary-color);
}

.header-top-bar .top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-top-bar .top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-top-bar .top-info a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.header-top-bar .top-info a:hover {
  color: var(--secondary-color);
}

.header-top-bar .top-badge {
  background: var(--secondary-color);
  color: #000000;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Main Navbar */
.main-header {
  position: relative;
  width: 100%;
  z-index: 99;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.header-lower {
  padding: 12px 0;
}

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

.outer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-box .brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-box .brand-icon {
  width: 46px;
  height: 46px;
  background: var(--secondary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.4);
}

.logo-box .brand-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-box .brand-sub {
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.navigation {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.navigation li a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
}

.navigation li a:hover, .navigation li.current a {
  background: #f1f5f9;
  color: #d97706;
}

.btn-header-call {
  background: var(--secondary-color);
  color: #000000 !important;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.35);
}

.btn-header-call:hover {
  background: var(--secondary-hover);
}

/* Hero Carousel */
.carousel {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--primary-dark);
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38);
}

/* Hero Caption Overlay */
.carousel-caption-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  z-index: 5;
  color: #ffffff;
}

.carousel-text {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  max-width: 900px;
}

.carousel-subtext {
  font-size: 17px;
  color: #e2e8f0;
  font-weight: 400;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.5;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.hero-highlights {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 850px;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Booking Form Container (Floating Card Style) */
#FormLead {
  margin-top: -65px;
  position: relative;
  z-index: 20;
}

.bookingform-details {
  background: #ffffff !important;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.12);
  padding: 32px;
  border: 1px solid #e2e8f0;
  border-top: 5px solid var(--secondary-color);
  color: var(--text-dark) !important;
}

.booking-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.booking-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

/* Tab buttons for trip type */
.tab-btn-group {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 12px 18px;
  background: #f1f5f9;
  color: var(--text-slate);
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-btn:hover {
  background: #e2e8f0;
}

.tab-btn.active {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.2);
}

/* Form Controls & Labels */
.bookingform-details label {
  color: var(--text-dark) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  margin-bottom: 6px !important;
  display: block;
}

.bookingform-details .form-control {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  height: 46px !important;
  color: var(--text-dark) !important;
  box-shadow: none !important;
  transition: border-color 0.2s;
}

.bookingform-details .form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(12, 35, 64, 0.1) !important;
}

.fare-calc-badge {
  background: #fefce8;
  border: 1px solid #fde047;
  color: #854d0e;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-action-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-action-group .btn {
  flex: 1;
  min-width: 200px;
}

.btn-whatsapp {
  background-color: var(--accent-green) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
  transition: background-color 0.2s ease !important;
}
.btn-whatsapp:hover {
  background-color: var(--accent-green-hover) !important;
  color: #ffffff !important;
}

.btn-call {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.3) !important;
  transition: background-color 0.2s ease !important;
}
.btn-call:hover {
  background-color: var(--primary-dark) !important;
  color: #ffffff !important;
}

/* Section Title Styling */
.sec-title {
  text-align: center;
  margin-bottom: 36px;
}

.sec-title h6 {
  font-size: 13px;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.sec-title h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.25;
}

/* Fleet Cards */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.fleet-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.fleet-img-wrap {
  position: relative;
  height: 190px;
  background: #f1f5f9;
}

.fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--secondary-color);
  color: #000000;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}

.fleet-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fleet-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.fleet-models {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.fleet-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}

.fleet-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-weight: 500;
}

.fleet-price-box {
  background: #eff6ff;
  border: 1px dashed #bfdbfe;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.fleet-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

/* Tour Cards */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tour-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.tour-card-img {
  position: relative;
  height: 200px;
}

.tour-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-duration-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
}

.tour-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.tour-highlights-list {
  font-size: 13px;
  color: #475569;
  list-style: none;
  margin-bottom: 16px;
}

.tour-highlights-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Table */
.table-responsive {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.table-bordered {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  margin: 0;
}

.table-bordered th {
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  font-size: 14px;
}

.table-bordered td {
  vertical-align: middle;
  padding: 12px 14px;
  font-size: 14px;
}

/* Feature Boxes */
.feature-box {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  height: 100%;
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: #fef3c7;
  color: #d97706;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.feature-box h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 50px 20px 20px;
  margin-top: 50px;
}

.footer span {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.district-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 15px 0;
  color: #cbd5e1;
  font-size: 13px;
}

.collapsible {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 10px 16px;
  width: 100%;
  text-align: left;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 30px;
  font-size: 13px;
}

/* Floating Contact Icons (Desktop) */
.contact-icons {
  position: fixed;
  bottom: 85px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.whatsapp-icon, .call-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.whatsapp-icon { background: var(--accent-green); }
.call-icon { background: var(--primary-color); }

.whatsapp-icon:hover, .call-icon:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* Fixed Mobile Bottom Action Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  display: flex;
  z-index: 9999;
  border-top: 1px solid #e2e8f0;
}

.mobile-bottom-bar a {
  flex: 1;
  padding: 14px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.mobile-btn-call {
  background: var(--primary-color);
  color: #ffffff !important;
}

.mobile-btn-whatsapp {
  background: var(--accent-green);
  color: #ffffff !important;
}

/* Autocomplete */
.position-relative-container {
  position: relative;
}

.autocomplete-suggestions {
  position: absolute;
  border: 1px solid #cbd5e1;
  z-index: 999;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
  border-radius: 0 0 8px 8px;
}

.autocomplete-suggestion {
  padding: 10px 14px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  color: #334155;
}

.autocomplete-suggestion:hover {
  background-color: #eff6ff;
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .navigation {
    display: none !important;
  }
  .carousel {
    height: 380px;
  }
  .carousel-text {
    font-size: 28px;
  }
  .carousel-subtext {
    font-size: 15px;
  }
  #FormLead {
    margin-top: -30px;
  }
  .bookingform-details {
    padding: 20px 16px;
  }
}

@media (max-width: 575px) {
  .header-top-bar .top-info {
    font-size: 12px;
    gap: 10px;
  }
  .carousel {
    height: 340px;
  }
  .carousel-text {
    font-size: 22px;
  }
  .carousel-subtext {
    font-size: 13px;
  }
  .hero-tag {
    font-size: 11px;
    padding: 4px 10px;
  }
  .btn-header-call span {
    display: none;
  }
}

/* Extra Helper Utilities */
.bookingform-details {
  background: #ffffff !important;
  color: #0f172a !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.15) !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 5px solid #ffb703 !important;
  padding: 32px;
}

.bookingform-details label {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  margin-bottom: 6px !important;
}

.booking-header h2 {
  color: #0c2340 !important;
}

.Bookingnow {
  color: #d97706 !important;
}

.nav-tabs .nav-link {
  color: #d97706 !important;
}

.nav-tabs .nav-link.active {
  background: #0c2340 !important;
  color: #ffffff !important;
  border: 1px solid #0c2340 !important;
}

#distance {
  color: #854d0e !important;
}

