/* ==========================================================================
   Color Taxi Modern Design System - Distilled & Production Crafted
   ========================================================================== */

:root {
  --ct-primary: #FF8C00;
  --ct-primary-hover: #E67A00;
  --ct-primary-tint: #FFF4E6;
  --ct-on-primary: #1E1E1E;
  --ct-dark: #1E1E1E;
  --ct-bg: #F8F9FA;
  --ct-surface: #FFFFFF;
  --ct-border: #E5E7EB;
  --ct-border-light: #F3F4F6;
  --ct-text: #121212;
  --ct-text-muted: #6B7280;
  --ct-whatsapp: #25D366;
  --ct-whatsapp-hover: #1EBE5D;
  --ct-radius-sm: 8px;
  --ct-radius: 12px;
  --ct-radius-lg: 16px;
  --ct-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --ct-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --ct-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08);
}

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

html {
  font-family: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ct-text);
  background-color: var(--ct-bg);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

body.ct-nav-locked {
  overflow: hidden;
  touch-action: none;
}

.ct-nav-drawer-actions {
  display: none;
}

/* Responsive Grid Helpers */
.ct-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ct-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #F1F1F1;
}
::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ct-primary);
}

.ct-container {
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3.5vw, 48px);
  padding-right: clamp(16px, 3.5vw, 48px);
  box-sizing: border-box;
}

/* Prevent Flex & Grid children from blowing out container width */
.ct-container,
.ct-hero-grid,
.ct-hero-content,
.ct-booking-box,
.ct-hero-vehicle-card,
.ct-hero-vehicle-meta,
.ct-hero-checklist li,
.ct-hero-checklist li span,
.ct-service-grid,
.ct-service-card,
.ct-tour-grid,
.ct-tour-card,
.ct-fleet-grid,
.ct-fleet-card,
.ct-why-grid,
.ct-compare-box,
.ct-footer-grid,
.ct-contact-grid,
.ct-about-grid {
  min-width: 0;
  max-width: 100%;
}

/* Top Bar */
.ct-top-bar {
  background-color: var(--ct-dark);
  color: #D1D5DB;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ct-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ct-top-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ct-top-info a, .ct-top-address {
  color: #D1D5DB;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ct-top-info a:hover {
  color: var(--ct-primary);
}
.ct-top-whatsapp {
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
}
.ct-top-whatsapp:hover {
  text-decoration: underline;
}

/* Header */
.ct-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--ct-border);
}
.ct-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.ct-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.ct-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.ct-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.ct-nav-links a {
  text-decoration: none;
  color: var(--ct-text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.ct-nav-links a:hover {
  color: var(--ct-primary-hover);
}

.ct-header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--ct-radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  font-family: inherit;
}
.ct-btn-primary {
  background-color: var(--ct-primary);
  color: var(--ct-on-primary); /* WCAG 7.1:1 AAA contrast */
}
.ct-btn-primary:hover {
  background-color: var(--ct-primary-hover);
}
.ct-btn-whatsapp {
  background-color: var(--ct-whatsapp);
  color: #FFFFFF;
}
.ct-btn-whatsapp:hover {
  background-color: var(--ct-whatsapp-hover);
}
.ct-btn-outline {
  background: transparent;
  color: var(--ct-dark);
  border: 1px solid var(--ct-border);
}
.ct-btn-outline:hover {
  border-color: var(--ct-primary);
  background: var(--ct-primary-tint);
}
.ct-btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}
.ct-btn-lg {
  padding: 13px 22px;
  font-size: 1rem;
}

.ct-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ct-dark);
}

/* Hero Section */
.ct-hero {
  position: relative;
  background-color: #FFFFFF;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 250, 244, 0.90) 100%),
                    url('../img/slider-bg.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: clamp(36px, 4vw, 56px) 0 clamp(48px, 5.5vw, 70px) 0;
  border-bottom: 1px solid var(--ct-border);
  overflow: hidden;
}
.ct-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-image: url('../img/city-skiline.png');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 65px;
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
}
.ct-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 460px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}
.ct-hero-content {
  display: flex;
  flex-direction: column;
  animation: ctHeroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

/* Live Dispatch Indicator */
.ct-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  width: fit-content;
}
.ct-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  display: inline-block;
  animation: ctPulseDot 1.8s infinite cubic-bezier(0.45, 0, 0.2, 1);
}

.ct-hero-title {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ct-dark);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.ct-hero-title span {
  color: #C75D00; /* WCAG 3.2:1 contrast against white */
}
.ct-hero-desc {
  font-size: clamp(1rem, 1.12vw, 1.15rem);
  color: var(--ct-text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 68ch;
  overflow-wrap: break-word;
}

/* Grounded Hero Features List */
.ct-hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
}
.ct-hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ct-text);
  font-weight: 500;
  width: 100%;
  min-width: 0;
}
.ct-hero-checklist li svg {
  color: var(--ct-primary);
  flex-shrink: 0;
  margin-top: 3px;
}
.ct-hero-checklist li span {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Hero Vehicle Showcase Banner */
.ct-hero-vehicle-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #FFF9F2 0%, #FFFFFF 100%);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: var(--ct-radius);
  padding: 12px 16px;
  box-shadow: var(--ct-shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  animation: ctCarDriveIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ct-hero-vehicle-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ct-shadow);
  border-color: var(--ct-primary);
}
.ct-hero-car-preview {
  width: 95px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-hero-car-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ct-hero-vehicle-card:hover .ct-hero-car-img {
  transform: scale(1.06) translateX(4px);
}
.ct-hero-vehicle-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.ct-hero-vehicle-meta strong {
  font-size: 0.9rem;
  color: var(--ct-dark);
  font-weight: 800;
  overflow-wrap: break-word;
}
.ct-hero-vehicle-meta span {
  font-size: 0.78rem;
  color: var(--ct-text-muted);
  line-height: 1.35;
  overflow-wrap: break-word;
}

/* Hero Booking Box */
.ct-booking-box {
  background: #FFFFFF;
  border-radius: var(--ct-radius);
  padding: 24px;
  border: 1px solid var(--ct-border);
  box-shadow: var(--ct-shadow);
  animation: ctBoxSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ct-booking-header {
  margin-bottom: 18px;
}
.ct-booking-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ct-dark);
}
.ct-booking-header p {
  font-size: 0.85rem;
  color: var(--ct-text-muted);
  margin-top: 3px;
}

/* Service Tabs */
.ct-service-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #F3F4F6;
  padding: 5px;
  border-radius: var(--ct-radius-sm);
  gap: 6px;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ct-border);
}
.ct-tab-btn {
  width: 100%;
  padding: 10px 4px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--ct-border);
  color: #4B5563;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  min-width: 0;
  white-space: normal;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ct-tab-btn:hover {
  background: #F9FAFB;
  color: var(--ct-dark);
  border-color: #D1D5DB;
}
.ct-tab-btn.active {
  background: var(--ct-primary) !important;
  color: #1E1E1E !important;
  font-weight: 800 !important;
  border-color: #D97706 !important;
  box-shadow: 0 3px 10px rgba(255, 140, 0, 0.45) !important;
  transform: translateY(-1px);
}

/* Autocomplete Dropdown */
.ct-autocomplete-wrap {
  position: relative;
  width: 100%;
}
.ct-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  display: none;
  margin: 0;
  padding: 4px 0;
  list-style: none;
}
.ct-autocomplete-dropdown.show {
  display: block;
}
.ct-autocomplete-item {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  font-size: 0.88rem;
  color: var(--ct-dark);
  border-bottom: 1px solid var(--ct-border-light);
}
.ct-autocomplete-item:last-child {
  border-bottom: none;
}
.ct-autocomplete-item:hover, .ct-autocomplete-item.selected {
  background-color: var(--ct-primary-tint);
  color: #B85D00;
}
.ct-autocomplete-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-autocomplete-text {
  display: flex;
  flex-direction: column;
}
.ct-autocomplete-name {
  font-weight: 700;
  font-size: 0.88rem;
}
.ct-autocomplete-sub {
  font-size: 0.75rem;
  color: var(--ct-text-muted);
}

/* Route Group (Pickup & Drop Visual Indicator) */
.ct-route-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.ct-route-line {
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 38px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--ct-primary) 0, var(--ct-primary) 4px, transparent 4px, transparent 8px);
  z-index: 2;
  pointer-events: none;
}
.ct-input-icon-wrap {
  position: relative;
  width: 100%;
}
.ct-input-icon-wrap .ct-form-input {
  padding-left: 38px;
}
.ct-input-pin {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}
.ct-pin-pickup {
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}
.ct-pin-drop {
  background: var(--ct-primary);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.25);
}

/* Redesigned "Ride Now" vs "Schedule" Segmented Switcher */
.ct-time-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.ct-time-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--ct-border);
  border-radius: var(--ct-radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  text-align: left;
}
.ct-time-opt:hover {
  border-color: #CBD5E1;
  background: #FAFAFA;
}
.ct-time-opt.active {
  border-color: var(--ct-primary);
  background: #FFF9F2;
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.18);
}
.ct-time-opt-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  background: #FFFFFF;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}
.ct-time-opt.active .ct-time-opt-radio {
  border-color: var(--ct-primary);
  background: var(--ct-primary);
}
.ct-time-opt.active .ct-time-opt-radio::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ct-time-opt-text {
  display: flex;
  flex-direction: column;
}
.ct-time-opt-text strong {
  font-size: 0.88rem;
  color: var(--ct-dark);
  font-weight: 700;
}
.ct-time-opt.active .ct-time-opt-text strong {
  color: #B85D00;
}
.ct-time-opt-text span {
  font-size: 0.74rem;
  color: var(--ct-text-muted);
  margin-top: 1px;
}

/* Now Live Dispatch Badge */
.ct-now-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 10px 14px;
  border-radius: var(--ct-radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
}

/* Schedule Picker Box */
.ct-schedule-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: ctFadeInPicker 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes ctFadeInPicker {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.ct-schedule-input-wrap {
  position: relative;
  width: 100%;
}
.ct-schedule-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ct-primary);
  pointer-events: none;
}
.ct-schedule-input {
  padding-left: 38px !important;
  font-weight: 600;
  cursor: pointer;
}
.ct-schedule-note {
  font-size: 0.74rem;
  color: var(--ct-text-muted);
  line-height: 1.35;
}

/* Google Places Autocomplete Styling */
.pac-container {
  font-family: 'Sora', system-ui, -apple-system, sans-serif !important;
  border-radius: var(--ct-radius-sm) !important;
  border: 1px solid var(--ct-border) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14) !important;
  margin-top: 4px !important;
  z-index: 10005 !important;
  background-color: #FFFFFF !important;
  padding: 4px 0 !important;
}
.pac-item {
  padding: 10px 14px !important;
  font-size: 0.88rem !important;
  color: var(--ct-dark) !important;
  cursor: pointer !important;
  border-top: 1px solid var(--ct-border-light) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1.4 !important;
}
.pac-item:first-child {
  border-top: none !important;
}
.pac-item:hover, .pac-item-selected {
  background-color: var(--ct-primary-tint) !important;
}
.pac-item-query {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: var(--ct-dark) !important;
}
.pac-matched {
  color: var(--ct-primary-hover) !important;
  font-weight: 800 !important;
}
.pac-icon {
  margin-top: 0 !important;
}

/* Booking Form Elements */
.ct-form-group {
  margin-bottom: 12px;
}
.ct-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ct-dark);
  margin-bottom: 5px;
}
.ct-form-input, .ct-form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--ct-text);
  background-color: #FFFFFF;
  transition: border-color 0.15s;
}
.ct-form-input:focus, .ct-form-select:focus {
  outline: none;
  border-color: var(--ct-primary);
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ct-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* Sections Common */
.ct-section {
  padding: 64px 0;
}
.ct-section-alt {
  background-color: #FFFFFF;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 245, 0.92) 100%),
                    url('../img/bg-1.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid var(--ct-border);
  border-bottom: 1px solid var(--ct-border);
}
.ct-section-header {
  max-width: 780px;
  margin-bottom: 36px;
}
.ct-section-title {
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  font-weight: 800;
  color: var(--ct-dark);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.ct-section-subtitle {
  font-size: 1rem;
  color: var(--ct-text-muted);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Service Showcase Tabs */
.ct-showcase-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  background: #FFFFFF;
  padding: 6px;
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-border);
  width: fit-content;
}
.ct-showcase-tab {
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--ct-radius-sm);
  background: transparent;
  border: none;
  color: var(--ct-text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ct-showcase-tab:hover {
  color: var(--ct-dark);
}
.ct-showcase-tab.active {
  background: var(--ct-primary-tint);
  color: #B85D00;
}
.ct-showcase-panel {
  display: none;
}
.ct-showcase-panel.active {
  display: block;
  animation: ctTabPanelIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Service Cards Grid */
.ct-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ct-service-card {
  background: #FFFFFF;
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}
.ct-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ct-shadow-lg);
  border-color: var(--ct-primary);
}
.ct-service-card.ct-card-featured {
  border-color: var(--ct-primary);
  box-shadow: var(--ct-shadow);
}

/* Service Card Image Banner */
.ct-card-img {
  height: 160px;
  position: relative;
  overflow: hidden;
  background-color: var(--ct-bg);
}
.ct-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ct-service-card:hover .ct-card-img img {
  transform: scale(1.05);
}
.ct-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(30, 30, 30, 0.82);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.ct-service-body {
  padding: 22px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ct-service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ct-dark);
  margin-bottom: 8px;
}
.ct-service-card-desc {
  font-size: 0.9rem;
  color: var(--ct-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  text-wrap: pretty;
}
.ct-service-features {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-service-features li {
  font-size: 0.88rem;
  color: var(--ct-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ct-service-features li svg {
  color: #10B981;
  flex-shrink: 0;
}
.ct-service-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--ct-border-light);
}
.ct-price-tag {
  display: flex;
  flex-direction: column;
}
.ct-price-tag span {
  font-size: 0.75rem;
  color: var(--ct-text-muted);
  font-weight: 600;
}
.ct-price-tag strong {
  font-size: 1.15rem;
  color: var(--ct-dark);
  font-weight: 800;
}

/* Tour Packages */
.ct-tour-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ct-tour-card {
  background: #FFFFFF;
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}
.ct-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ct-shadow-lg);
  border-color: var(--ct-primary);
}
.ct-tour-img {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: var(--ct-bg);
}
.ct-tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ct-tour-card:hover .ct-tour-img img {
  transform: scale(1.05);
}
.ct-tour-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #FFFFFF;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
}
.ct-tour-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ct-tour-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ct-dark);
  margin-bottom: 4px;
}
.ct-tour-route {
  font-size: 0.82rem;
  color: var(--ct-text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.ct-tour-btn {
  margin-top: auto;
  width: 100%;
}

/* Fleet */
.ct-fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ct-fleet-card {
  background: #FFFFFF;
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-border);
  padding: 24px 20px 20px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}
.ct-fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ct-shadow-lg);
  border-color: var(--ct-primary);
}
.ct-fleet-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--ct-primary-tint);
  color: #B85D00;
}
.ct-fleet-img {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ct-fleet-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}
.ct-fleet-card:hover .ct-fleet-img img {
  transform: scale(1.08) translateY(-3px);
}
.ct-fleet-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ct-dark);
  margin-bottom: 3px;
}
.ct-fleet-models {
  font-size: 0.8rem;
  color: var(--ct-text-muted);
  margin-bottom: 10px;
}
.ct-fleet-specs {
  display: flex;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--ct-dark);
  font-weight: 600;
  background: var(--ct-bg);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

/* Comparison */
.ct-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.ct-compare-box {
  background: #FFFFFF;
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-border);
  overflow: hidden;
}
.ct-compare-table {
  width: 100%;
  border-collapse: collapse;
}
.ct-compare-table th {
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
  border-bottom: 2px solid var(--ct-border);
}
.ct-compare-table th.ct-col-highlight {
  background: var(--ct-primary-tint);
  color: #B85D00;
}
.ct-compare-table td {
  padding: 12px 18px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--ct-border-light);
}
.ct-compare-table td.ct-col-highlight {
  background: rgba(255, 140, 0, 0.04);
  font-weight: 700;
  color: var(--ct-dark);
}

/* FAQs */
.ct-faq-wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ct-faq-item {
  background: #FFFFFF;
  border-radius: var(--ct-radius-sm);
  border: 1px solid var(--ct-border);
  overflow: hidden;
}
.ct-faq-question {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: none;
  border: none;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ct-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.ct-faq-answer {
  padding: 0 20px 16px 20px;
  font-size: 0.9rem;
  color: var(--ct-text-muted);
  line-height: 1.6;
  max-width: 68ch;
  text-wrap: pretty;
  display: none;
}
.ct-faq-item.active .ct-faq-answer {
  display: block;
}
.ct-faq-item.active .ct-faq-question svg {
  transform: rotate(180deg);
}

/* Footer */
.ct-footer {
  background-color: var(--ct-dark);
  color: #D1D5DB;
  padding: 56px 0 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ct-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.ct-footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.ct-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ct-footer-links a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 0.88rem;
}
.ct-footer-links a:hover {
  color: var(--ct-primary);
}
.ct-footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ct-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: #9CA3AF;
}
.ct-footer-contact a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}
.ct-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #9CA3AF; /* 4.5:1 contrast against #1E1E1E */
}

/* Sticky Mobile Conversion Bar */
.ct-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  padding: 10px 16px;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
  border-top: 1px solid var(--ct-border);
}
.ct-mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Toast */
.ct-toast {
  display: none;
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
  padding: 10px 14px;
  border-radius: var(--ct-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
}

/* Responsive System */
@keyframes ctNavSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet Landscape & Below (1024px) */
@media (max-width: 1024px) {
  .ct-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    width: 100%;
  }
  .ct-hero-title {
    font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  }
  .ct-service-grid, .ct-tour-grid, .ct-fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .ct-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .ct-why-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* Tablet Portrait & Mobile (768px) */
@media (max-width: 768px) {
  .ct-top-bar {
    display: none;
  }
  .ct-header-inner {
    height: 64px;
  }
  .ct-desktop-call {
    display: none !important;
  }
  .ct-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--ct-radius-sm);
    border: 1px solid var(--ct-border);
    background: #FFFFFF;
    color: var(--ct-dark);
    padding: 0;
  }
  .ct-mobile-toggle.ct-active {
    background: var(--ct-primary-tint);
    border-color: var(--ct-primary);
    color: #B85D00;
  }

  /* Backdrop Overlay */
  .ct-nav-backdrop {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .ct-nav-backdrop.ct-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Slide-Down Mobile Drawer */
  .ct-nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 12px 20px 24px 20px;
    border-bottom: 1px solid var(--ct-border);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    z-index: 999;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .ct-nav-links.ct-open {
    display: flex;
    animation: ctNavSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .ct-nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--ct-border-light);
  }
  .ct-nav-links li:last-child {
    border-bottom: none;
  }
  .ct-nav-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ct-dark);
  }
  .ct-nav-links li a:active {
    color: var(--ct-primary);
  }
  .ct-nav-drawer-actions {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0 4px 0 !important;
    border-bottom: none !important;
  }

  /* Hero Mobile Refinement */
  .ct-hero {
    padding: 24px 0 40px 0;
  }
  .ct-hero-title {
    font-size: clamp(1.5rem, 5.2vw, 2.05rem);
    line-height: 1.22;
    margin-bottom: 14px;
    text-wrap: normal;
    letter-spacing: -0.015em;
  }
  .ct-hero-desc {
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.55;
  }
  .ct-hero-checklist {
    gap: 10px;
    margin-bottom: 20px;
  }
  .ct-hero-checklist li {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  /* Service Showcase Tabs - Horizontal Swipe Rail */
  .ct-showcase-tabs {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px;
    gap: 6px;
    margin-bottom: 22px;
  }
  .ct-showcase-tabs::-webkit-scrollbar {
    display: none;
  }
  .ct-showcase-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  /* Grids & Cards */
  .ct-service-grid, .ct-tour-grid, .ct-fleet-grid, .ct-why-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .ct-contact-grid, .ct-about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  /* Comparison Box - Native Touch Horizontal Scroll */
  .ct-compare-box {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .ct-compare-table {
    min-width: 480px;
  }

  /* Coimbatore Coverage Banner */
  .ct-coimbatore-strip {
    padding: 38px 0;
    text-align: center;
  }
  .ct-coimbatore-strip-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
  .ct-coimbatore-strip h2 {
    text-align: center;
    font-size: 1.7rem;
  }
  .ct-coimbatore-strip p {
    text-align: center;
    font-size: 0.95rem;
  }
  .ct-coimbatore-strip-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .ct-coimbatore-strip-actions .ct-btn {
    width: 100%;
  }

  /* Footer */
  .ct-footer {
    padding: 44px 0 24px 0;
  }
  .ct-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 32px;
  }
  .ct-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Sticky Bottom Conversion Bar */
  .ct-mobile-sticky-bar {
    display: block;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}

/* Phone Breakpoint (540px and below) */
@media (max-width: 540px) {
  .ct-container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .ct-section {
    padding: 44px 0;
  }
  .ct-section-title {
    font-size: 1.55rem;
  }
  .ct-section-subtitle {
    font-size: 0.9rem;
  }

  /* Hero Vehicle Showcase Banner */
  .ct-hero-vehicle-card {
    padding: 10px 12px;
    gap: 10px;
  }
  .ct-hero-car-preview {
    width: 70px;
  }
  .ct-hero-vehicle-meta strong {
    font-size: 0.84rem;
  }
  .ct-hero-vehicle-meta span {
    font-size: 0.72rem;
  }

  /* Quick Ride Booking Box */
  .ct-booking-box {
    padding: 16px 12px;
    border-radius: var(--ct-radius);
  }
  .ct-booking-header h2 {
    font-size: 1.15rem;
  }
  
  /* 2x2 Grid of Tabs on Mobile: Fits all 4 categories with ZERO overflow! */
  .ct-service-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 5px;
    margin-bottom: 14px;
  }
  .ct-tab-btn {
    padding: 10px 6px;
    font-size: 0.8rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ct-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .ct-form-input, .ct-form-select {
    font-size: 16px; /* Prevents iOS Safari unwanted auto-zoom */
    min-height: 46px;
    padding: 10px 12px;
  }
  .ct-actions-stack .ct-btn {
    min-height: 48px;
    font-size: 0.95rem;
  }

  /* FAQs */
  .ct-faq-question {
    padding: 14px 16px;
    font-size: 0.92rem;
  }
  .ct-faq-answer {
    padding: 0 16px 14px 16px;
    font-size: 0.88rem;
  }
}

/* Why Us Driver Trust Card */
.ct-driver-trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  padding: 16px 20px;
  margin-top: 24px;
  box-shadow: var(--ct-shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.ct-driver-trust-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ct-shadow);
  border-color: var(--ct-primary);
}
.ct-driver-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ct-primary);
  flex-shrink: 0;
  background: var(--ct-bg);
}
.ct-driver-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.ct-driver-trust-info {
  display: flex;
  flex-direction: column;
}
.ct-driver-trust-info strong {
  font-size: 0.95rem;
  color: var(--ct-dark);
}
.ct-driver-trust-info span {
  font-size: 0.82rem;
  color: var(--ct-text-muted);
}

/* Motion & Authored Animations */
@keyframes ctHeroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctBoxSlideIn {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ctCarDriveIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ctPulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes ctTabPanelIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Coimbatore Coverage Strip */
.ct-coimbatore-strip {
  position: relative;
  background-color: #1E1E1E;
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.88) 0%, rgba(30, 30, 30, 0.85) 100%),
                    url('../img/service-3.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ct-coimbatore-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ct-coimbatore-strip h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.ct-coimbatore-strip p {
  color: #D1D5DB;
  font-size: 1.02rem;
  max-width: 60ch;
  line-height: 1.5;
}
.ct-coimbatore-strip-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Scroll Fade In Animation System */
.ct-fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.ct-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays for Grid Elements */
.ct-delay-1 { transition-delay: 0.08s; }
.ct-delay-2 { transition-delay: 0.16s; }
.ct-delay-3 { transition-delay: 0.24s; }
.ct-delay-4 { transition-delay: 0.32s; }

/* Reduced Motion Override (A11y Floor) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ct-fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}
