/* =========================================================
   TrypKart brand system v3 — refined indigo-night + sunset
   gradient identity. Same brand direction as before, elevated
   execution: deeper contrast, tighter type scale, real
   elevation system, a signature "flight path" motif, and
   consistent color-coding for every travel vertical.
   ========================================================= */

:root {
  /* Core ink + neutrals */
  --tk-ink: #12142b;
  --tk-ink-deep: #090a1a;
  --tk-ink-soft: #2b2f57;
  --tk-light: #f7f6f2;
  --tk-surface: #ffffff;
  --tk-text: #1d2038;
  --tk-muted: #6b7092;
  --tk-line: #e9e8e2;

  /* Sunset accent (primary CTA identity) */
  --tk-sunset-1: #ff6a3d;
  --tk-sunset-2: #ff3d77;
  --tk-sunset-tint: #fff1ea;

  /* Category accent colors — each vertical keeps its own identity everywhere */
  --tk-c-flights: #3f7dff;
  --tk-c-flights-tint: #eaf1ff;
  --tk-c-hotels: #ff6a3d;
  --tk-c-hotels-tint: #fff1ea;
  --tk-c-buses: #1ea968;
  --tk-c-buses-tint: #e7f8ef;
  --tk-c-packages: #9146e0;
  --tk-c-packages-tint: #f3ebfd;

  /* Elevation scale — soft, warm-tinted shadows instead of flat grey */
  --tk-shadow-sm: 0 2px 8px rgba(18, 20, 43, 0.06);
  --tk-shadow-md: 0 10px 26px rgba(18, 20, 43, 0.10);
  --tk-shadow-lg: 0 20px 44px rgba(18, 20, 43, 0.18);
  --tk-shadow-glow: 0 10px 24px rgba(255, 61, 119, 0.24);

  /* Radius + motion rhythm */
  --tk-r-sm: 10px;
  --tk-r-md: 14px;
  --tk-r-lg: 20px;
  --tk-ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy aliases so nothing else breaks */
  --tk-primary: var(--tk-ink);
  --tk-primary-dark: var(--tk-ink-deep);
  --tk-primary-tint: #eaeaf5;
  --tk-accent: var(--tk-sunset-1);
  --tk-accent-dark: var(--tk-sunset-2);
  --tk-accent-tint: var(--tk-sunset-tint);
  --tk-blue: var(--tk-ink);
  --tk-blue-dark: var(--tk-ink-deep);
  --tk-orange: var(--tk-sunset-1);
  --tk-orange-dark: var(--tk-sunset-2);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--tk-light);
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--tk-text);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--tk-sunset-1);
  color: #fff;
}

h1, h2, h3, h4, h5, h6, .display-font,
.navbar-brand, .price-tag, .btn-trypkart {
  font-family: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
}

h1 { letter-spacing: -0.01em; }
h4, h5 { font-weight: 700; color: var(--tk-ink); }

a { color: var(--tk-ink); }
a:hover { color: var(--tk-sunset-2); }

/* Consistent, visible keyboard focus everywhere (buttons, links, inputs) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--tk-sunset-1);
  outline-offset: 2px;
}

/* ---- Bootstrap form control re-skin (cascades to every form on the site) ---- */
.form-control, .form-select {
  border: 1.5px solid var(--tk-line);
  border-radius: var(--tk-r-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  color: var(--tk-text);
  background-color: var(--tk-surface);
  transition: border-color 0.15s var(--tk-ease), box-shadow 0.15s var(--tk-ease);
}

.form-control:focus, .form-select:focus {
  border-color: var(--tk-sunset-1);
  box-shadow: 0 0 0 4px var(--tk-sunset-tint);
}

.form-control-sm, .form-select-sm {
  border-radius: 8px;
  padding: 7px 12px;
}

.form-label {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--tk-ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

/* ---- Navbar ---- */
.navbar-trypkart {
  background: var(--tk-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 24px rgba(9,10,26,0.28);
}

.navbar-trypkart .navbar-brand-logo {
  background: #fff;
  border-radius: 10px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s var(--tk-ease);
}

.navbar-trypkart .navbar-brand-logo:hover {
  transform: translateY(-1px);
}

.navbar-trypkart .navbar-brand-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.navbar-trypkart .nav-link {
  color: #b7bbe4 !important;
  font-weight: 500;
  border-radius: 8px;
  padding: 8px 12px !important;
  transition: color 0.15s var(--tk-ease), background 0.15s var(--tk-ease);
}

.navbar-trypkart .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.06);
}

/* ---- Hero ---- */
.hero-section {
  background:
    linear-gradient(180deg, rgba(9,10,26,0.55) 0%, rgba(9,10,26,0.72) 100%),
    url('https://picsum.photos/seed/trypkart-hero-main/1800/900');
  background-size: cover;
  background-position: center;
  padding: 56px 0 128px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Signature motif: a dashed "flight path" seam where the hero meets the page,
   echoing a route line on a map — the one deliberate flourish on the site. */
.hero-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.55) 0 10px, transparent 10px 20px);
  background-size: 20px 2px;
  opacity: 0.5;
}

.hero-section.hero-photo-flights {
  background-image:
    linear-gradient(180deg, rgba(9,10,26,0.55) 0%, rgba(18,20,43,0.72) 100%),
    url('https://picsum.photos/seed/trypkart-hero-flights/1800/900');
}

.hero-section.hero-photo-hotels {
  background-image:
    linear-gradient(180deg, rgba(9,10,26,0.55) 0%, rgba(18,20,43,0.72) 100%),
    url('https://picsum.photos/seed/trypkart-hero-hotels/1800/900');
}

.hero-section.hero-photo-buses {
  background-image:
    linear-gradient(180deg, rgba(9,10,26,0.55) 0%, rgba(18,20,43,0.72) 100%),
    url('https://picsum.photos/seed/trypkart-hero-buses/1800/900');
}

.hero-section.hero-photo-packages {
  background-image:
    linear-gradient(180deg, rgba(9,10,26,0.55) 0%, rgba(18,20,43,0.72) 100%),
    url('https://picsum.photos/seed/trypkart-hero-packages/1800/900');
}

.hero-section h1 {
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  position: relative;
}

.hero-section .lead {
  color: #d7d9f0;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: #ffb18c;
  border: 1px solid rgba(255,106,61,0.55);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-stats-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.hero-stat-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(120deg, #fff, #ffd7c2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat-label {
  font-size: 0.76rem;
  color: #b7bbe4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
}

/* ---- Editorial deal cards ---- */
.deal-card {
  position: relative;
  border-radius: var(--tk-r-lg);
  overflow: hidden;
  height: 320px;
  display: block;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--tk-shadow-md);
  transition: box-shadow 0.2s var(--tk-ease), transform 0.2s var(--tk-ease);
}

.deal-card:hover {
  box-shadow: var(--tk-shadow-lg);
  transform: translateY(-3px);
}

.deal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--tk-ease);
}

.deal-card:hover img {
  transform: scale(1.06);
}

.deal-card:hover {
  color: #fff;
}

.deal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9,10,26,0.92) 0%, rgba(9,10,26,0.04) 58%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.deal-card-tag {
  align-self: flex-start;
  background: linear-gradient(120deg, var(--tk-sunset-1), var(--tk-sunset-2));
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: auto;
}

.deal-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.deal-card-meta {
  font-size: 0.85rem;
  opacity: 0.92;
}

/* ---- Popular route chips ---- */
.route-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.route-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--tk-line);
  border-radius: var(--tk-r-sm);
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tk-text);
  text-decoration: none;
  transition: border-color 0.15s var(--tk-ease), transform 0.15s var(--tk-ease), box-shadow 0.15s var(--tk-ease);
}

.route-chip:hover {
  border-color: var(--tk-sunset-1);
  transform: translateY(-2px);
  box-shadow: var(--tk-shadow-sm);
  color: var(--tk-text);
}

.route-chip .route-price {
  color: var(--tk-sunset-2);
  font-weight: 700;
}

/* ---- Result badges ---- */
.result-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 6px;
}

.result-badge-cheapest {
  background: var(--tk-c-buses-tint);
  color: var(--tk-c-buses);
}

.result-badge-fastest {
  background: var(--tk-c-flights-tint);
  color: var(--tk-c-flights);
}

.airline-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tk-c-flights-tint);
  color: var(--tk-c-flights);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: #fff;
  border-radius: var(--tk-r-md);
  padding: 24px;
  box-shadow: var(--tk-shadow-sm);
  height: 100%;
  border: 1px solid var(--tk-line);
  transition: box-shadow 0.2s var(--tk-ease), transform 0.2s var(--tk-ease);
}

.testimonial-card:hover {
  box-shadow: var(--tk-shadow-md);
  transform: translateY(-2px);
}

.testimonial-quote-icon {
  color: var(--tk-sunset-1);
  font-size: 1.6rem;
  opacity: 0.5;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tk-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---- Search card ---- */
.search-card {
  background: #fff;
  border-radius: var(--tk-r-lg);
  box-shadow: var(--tk-shadow-lg);
  margin-top: -86px;
  padding: 24px;
  position: relative;
  z-index: 3;
}

/* Standalone variant: used on pages with no hero photo above it (search
   results pages), so it doesn't get pulled up under the navbar. */
.search-card-standalone {
  margin-top: 0 !important;
}

/* ---- Category icon strip ---- */
.category-strip {
  background: #fff;
  border-radius: var(--tk-r-lg) var(--tk-r-lg) 0 0;
  padding: 20px 24px 16px 24px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
}

.category-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--tk-text);
  text-decoration: none;
  min-width: 76px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #fbfaf8;
  border: 2px solid transparent;
  border-radius: var(--tk-r-md);
  transition: transform 0.15s var(--tk-ease), border-color 0.15s var(--tk-ease), background 0.15s var(--tk-ease);
}

.category-strip-item:not(.disabled):hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--tk-shadow-sm);
}

.category-strip-item .icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #eef0f5;
  color: #9297b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: transform 0.15s var(--tk-ease);
}

.category-strip-item:not(.disabled):hover .icon-circle {
  transform: scale(1.08);
}

.category-strip-item.c-flights .icon-circle { background: var(--tk-c-flights-tint); color: var(--tk-c-flights); }
.category-strip-item.c-hotels .icon-circle { background: var(--tk-c-hotels-tint); color: var(--tk-c-hotels); }
.category-strip-item.c-buses .icon-circle { background: var(--tk-c-buses-tint); color: var(--tk-c-buses); }
.category-strip-item.c-packages .icon-circle { background: var(--tk-c-packages-tint); color: var(--tk-c-packages); }

.category-strip-item.active {
  border-color: currentColor;
  background: #fff;
}

.category-strip-item.c-flights.active { color: var(--tk-c-flights); }
.category-strip-item.c-hotels.active { color: var(--tk-c-hotels); }
.category-strip-item.c-buses.active { color: var(--tk-c-buses); }
.category-strip-item.c-packages.active { color: var(--tk-c-packages); }

.category-strip-item.disabled {
  color: #c2c5d6;
  cursor: not-allowed;
}

.category-strip-item.disabled .icon-circle {
  background: #f2f2f5;
  color: #c2c5d6;
}

/* ---- Trip type toggle ---- */
.trip-type-toggle {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--tk-ink);
}

.trip-type-toggle label {
  cursor: pointer;
}

/* ---- Trust strip ---- */
.trust-strip {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 8px 0 20px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tk-line);
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--tk-muted);
}

.trust-strip-item i {
  color: var(--tk-sunset-2);
  width: 20px;
  text-align: center;
}

.trust-strip-item strong {
  color: var(--tk-text);
  display: block;
  font-size: 0.84rem;
}

/* ---- Swap button ---- */
.swap-btn-wrapper {
  position: relative;
}

.swap-btn {
  position: absolute;
  top: 32px;
  left: -18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tk-sunset-1), var(--tk-sunset-2));
  border: 3px solid #fff;
  box-shadow: var(--tk-shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s var(--tk-ease);
}

.swap-btn:hover {
  transform: rotate(180deg);
}

/* ---- Buttons ---- */
.btn-trypkart {
  background: linear-gradient(120deg, var(--tk-sunset-1), var(--tk-sunset-2));
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 11px 30px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 61, 119, 0.22);
  transition: filter 0.15s var(--tk-ease), transform 0.15s var(--tk-ease), box-shadow 0.15s var(--tk-ease);
}

.btn-trypkart:hover {
  filter: brightness(1.06);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--tk-shadow-glow);
}

.btn-trypkart:active {
  transform: translateY(0);
}

.btn-outline-primary {
  color: var(--tk-ink);
  border-color: var(--tk-ink-soft);
}

.btn-outline-primary:hover {
  background: var(--tk-ink);
  border-color: var(--tk-ink);
}

/* ---- Result cards ---- */
.result-card {
  background: #fff;
  border-radius: var(--tk-r-md);
  box-shadow: var(--tk-shadow-sm);
  padding: 20px;
  margin-bottom: 16px;
  transition: transform 0.18s var(--tk-ease), box-shadow 0.18s var(--tk-ease), border-color 0.18s var(--tk-ease);
  border-left: 4px solid transparent;
  border-top: 1px solid var(--tk-line);
  border-right: 1px solid var(--tk-line);
  border-bottom: 1px solid var(--tk-line);
}

.result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tk-shadow-md);
  border-left-color: var(--tk-sunset-1);
}

.price-tag {
  color: var(--tk-ink);
  font-weight: 800;
  font-size: 1.4rem;
}

.confirmation-box {
  background: #fff;
  border-radius: var(--tk-r-lg);
  box-shadow: var(--tk-shadow-lg);
  padding: 40px;
  text-align: center;
}

/* ---- Footer — now consistent with the ink/sunset brand instead of the old teal ---- */
.footer-trypkart {
  background: linear-gradient(160deg, var(--tk-ink) 0%, var(--tk-ink-deep) 100%);
  color: #c3c6e8;
  padding: 52px 0 0 0;
  margin-top: 64px;
  position: relative;
}

.footer-logo-badge {
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  display: inline-block;
  margin-bottom: 14px;
}

.footer-logo-badge img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-tagline {
  color: #a7abd6;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s var(--tk-ease), transform 0.15s var(--tk-ease);
}

.footer-social a:hover {
  background: linear-gradient(120deg, var(--tk-sunset-1), var(--tk-sunset-2));
  transform: translateY(-2px);
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #c3c6e8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s var(--tk-ease);
}

.footer-links a:hover {
  color: #ffb18c;
}

.footer-connect {
  color: #c3c6e8;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.footer-connect i {
  width: 20px;
  color: var(--tk-sunset-1);
}

.footer-connect a {
  color: #c3c6e8;
  text-decoration: none;
}

.footer-connect a:hover {
  color: #ffb18c;
}

.footer-bottom {
  background: rgba(0,0,0,0.22);
  color: #8f93bf;
  font-size: 0.84rem;
  padding: 18px 0;
  margin-top: 40px;
}

/* ---- WhatsApp float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
  z-index: 1000;
  transition: transform 0.2s var(--tk-ease);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* ---- Homepage category tiles ---- */
.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px auto;
  border-radius: 18px;
  background: var(--tk-primary-tint);
  color: var(--tk-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform 0.2s var(--tk-ease), box-shadow 0.2s var(--tk-ease);
}

.row .col-md-3:nth-child(1) .category-icon { background: var(--tk-c-flights-tint); color: var(--tk-c-flights); }
.row .col-md-3:nth-child(2) .category-icon { background: var(--tk-c-hotels-tint); color: var(--tk-c-hotels); }
.row .col-md-3:nth-child(3) .category-icon { background: var(--tk-c-buses-tint); color: var(--tk-c-buses); }
.row .col-md-3:nth-child(4) .category-icon { background: var(--tk-c-packages-tint); color: var(--tk-c-packages); }

.row .col-md-3 a:hover .category-icon {
  transform: translateY(-4px);
  box-shadow: var(--tk-shadow-md);
}

/* ---- Alerts: soften Bootstrap defaults to match brand ---- */
.alert {
  border-radius: var(--tk-r-sm);
  border: none;
  font-size: 0.88rem;
}

.alert-success { background: var(--tk-c-buses-tint); color: #146840; }
.alert-warning { background: #fff6e0; color: #8a6300; }
.alert-danger { background: #fdeaea; color: #a11d1d; }
.alert-secondary { background: #f0f0f4; color: var(--tk-ink-soft); }

/* =========================================================
   Page-level components — dashboards, search results, checkout
   ========================================================= */

/* ---- Stat cards (dashboards) ---- */
.stat-card {
  background: #fff;
  border-radius: var(--tk-r-md);
  box-shadow: var(--tk-shadow-sm);
  border: 1px solid var(--tk-line);
  padding: 22px 20px;
  text-align: center;
  transition: box-shadow 0.2s var(--tk-ease), transform 0.2s var(--tk-ease);
}

.stat-card:hover {
  box-shadow: var(--tk-shadow-md);
  transform: translateY(-2px);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin: 0 auto 12px auto;
}

.stat-icon.c-flights { background: var(--tk-c-flights-tint); color: var(--tk-c-flights); }
.stat-icon.c-hotels { background: var(--tk-c-hotels-tint); color: var(--tk-c-hotels); }
.stat-icon.c-buses { background: var(--tk-c-buses-tint); color: var(--tk-c-buses); }
.stat-icon.c-packages { background: var(--tk-c-packages-tint); color: var(--tk-c-packages); }
.stat-icon.c-warn { background: #fff6e0; color: #a6740b; }
.stat-icon.c-danger { background: #fdeaea; color: #a11d1d; }

.stat-label {
  font-size: 0.8rem;
  color: var(--tk-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

/* ---- Tables ---- */
.table-responsive {
  background: #fff;
  border-radius: var(--tk-r-md);
  border: 1px solid var(--tk-line);
  box-shadow: var(--tk-shadow-sm);
  overflow: hidden;
}

.table {
  margin-bottom: 0;
  color: var(--tk-text);
}

.table > :not(caption) > * > * {
  padding: 12px 16px;
  border-bottom-color: var(--tk-line);
}

.table thead th {
  background: #fbfaf8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tk-muted);
  border-bottom: 1px solid var(--tk-line);
}

.table tbody tr {
  transition: background 0.12s var(--tk-ease);
}

.table tbody tr:hover {
  background: #fbfaf8;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* Plain (non-.table-responsive-wrapped) receipt-style tables, e.g. checkout summary */
.confirmation-box .table {
  font-size: 0.92rem;
}

.confirmation-box .table td {
  padding: 10px 4px;
  border-bottom: 1px dashed var(--tk-line);
  color: var(--tk-muted);
}

.confirmation-box .table tr.fw-bold td {
  border-bottom: none;
  border-top: 2px solid var(--tk-ink);
  padding-top: 14px;
  color: var(--tk-text);
  font-size: 1.05rem;
}

/* ---- Badges: recolor Bootstrap defaults to match brand tints ---- */
.badge.bg-success { background: var(--tk-c-buses-tint) !important; color: #146840 !important; font-weight: 600; }
.badge.bg-warning { background: #fff6e0 !important; color: #8a6300 !important; font-weight: 600; }
.badge.bg-danger { background: #fdeaea !important; color: #a11d1d !important; font-weight: 600; }
.badge.bg-secondary { background: #eef0f5 !important; color: var(--tk-ink-soft) !important; font-weight: 600; }
.badge.bg-primary { background: var(--tk-c-flights-tint) !important; color: var(--tk-c-flights) !important; font-weight: 600; }

.badge {
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
}

.badge.rounded-pill {
  border-radius: 999px;
}

/* ---- List groups ---- */
.list-group {
  border-radius: var(--tk-r-md);
  overflow: hidden;
  box-shadow: var(--tk-shadow-sm);
}

.list-group-item {
  border-color: var(--tk-line);
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: background 0.12s var(--tk-ease);
}

.list-group-item:hover {
  background: #fbfaf8;
}

/* ---- Input group (e.g. referral link copy field) ---- */
.input-group .form-control {
  border-right: none;
}

.input-group .btn-outline-secondary {
  border: 1.5px solid var(--tk-line);
  border-left: none;
  color: var(--tk-ink-soft);
  font-weight: 600;
}

.input-group .btn-outline-secondary:hover {
  background: var(--tk-ink);
  border-color: var(--tk-ink);
  color: #fff;
}

/* ---- Outline buttons: consistent radius + motion with the rest of the system ---- */
.btn-outline-primary, .btn-outline-secondary, .btn-outline-danger {
  border-radius: var(--tk-r-sm);
  font-weight: 600;
  transition: all 0.15s var(--tk-ease);
}

.btn-outline-danger {
  color: #a11d1d;
  border-color: #f0c9c9;
}

.btn-outline-danger:hover {
  background: #a11d1d;
  border-color: #a11d1d;
}

/* ---- Distributor dashboard: read-only commission rate display ---- */
.commission-rate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.commission-rate-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: #fbfaf8;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-r-sm);
  padding: 12px 14px;
}

.commission-rate-item i {
  color: var(--tk-muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.commission-rate-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--tk-ink);
  line-height: 1.1;
}

/* ---- Route line between source/destination on result cards ---- */
.result-card .fa-arrow-right {
  color: var(--tk-sunset-1);
  margin: 0 6px;
}

/* ---- Mock/test-mode payment notices ---- */
.confirmation-box .alert {
  text-align: left;
}

/* ---- Corporate hero variant (flights/hotels/buses/packages category pages) ----
   Solid ink gradient with a subtle route-dot pattern instead of a big photo —
   reads as an authoritative OTA header rather than a travel-blog banner. */
.hero-corporate {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,106,61,0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(63,125,255,0.14) 0%, transparent 45%),
    linear-gradient(135deg, var(--tk-ink) 0%, var(--tk-ink-deep) 100%);
  padding: 46px 0 108px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-corporate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-corporate::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.5) 0 10px, transparent 10px 20px);
  background-size: 20px 2px;
  opacity: 0.45;
}

.hero-corporate .container { position: relative; z-index: 1; }

.hero-corporate h1 {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.hero-corporate .lead {
  color: #c3c6e8;
  font-size: 1rem;
}

.hero-crumb {
  font-size: 0.8rem;
  color: #9297c2;
  margin-bottom: 14px;
}

.hero-crumb a { color: #c3c6e8; text-decoration: none; }
.hero-crumb a:hover { color: #fff; }
.hero-crumb i { font-size: 0.65rem; margin: 0 6px; opacity: 0.6; }

/* ---- Trust / benefits strip shown under the search card on category pages ---- */
.benefit-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 28px 0 44px 0;
}

.benefit-item {
  flex: 1 1 200px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-r-md);
  padding: 16px;
  transition: box-shadow 0.2s var(--tk-ease), transform 0.2s var(--tk-ease);
}

.benefit-item:hover {
  box-shadow: var(--tk-shadow-sm);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: var(--tk-sunset-tint);
  color: var(--tk-sunset-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.benefit-item h6 {
  font-weight: 700;
  margin-bottom: 3px;
  font-size: 0.88rem;
  color: var(--tk-ink);
}

.benefit-item p {
  font-size: 0.8rem;
  color: var(--tk-muted);
  margin: 0;
}

/* ---- Section heading pattern used across category pages ---- */
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.section-heading h4 {
  font-weight: 700;
  margin: 0;
}

.section-heading .section-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tk-sunset-2);
  text-decoration: none;
}

.section-heading .section-link:hover {
  color: var(--tk-sunset-1);
}

/* ---- Destination / route grid cards (used on hotels landing, packages) ---- */
.dest-card {
  display: block;
  text-decoration: none;
  color: var(--tk-text);
  border-radius: var(--tk-r-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tk-line);
  box-shadow: var(--tk-shadow-sm);
  transition: box-shadow 0.2s var(--tk-ease), transform 0.2s var(--tk-ease);
}

.dest-card:hover {
  color: var(--tk-text);
  box-shadow: var(--tk-shadow-md);
  transform: translateY(-3px);
}

.dest-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--tk-ease);
}

.dest-card:hover img {
  transform: scale(1.05);
}

.dest-card-body {
  padding: 14px 16px;
}

.dest-card-body strong {
  display: block;
  margin-bottom: 4px;
}

/* =========================================================
   MakeMyTrip-style search widget — boxed field strip with
   big bold values, trip-type pills, and a large centered CTA.
   ========================================================= */

/* ---- Trip type pills ---- */
.trip-type-toggle {
  display: inline-flex;
  gap: 4px;
  background: #f1f0eb;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 20px;
}

.trip-type-toggle label {
  position: relative;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tk-muted);
  cursor: pointer;
  transition: background 0.15s var(--tk-ease), color 0.15s var(--tk-ease);
}

.trip-type-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trip-type-toggle input:checked + label,
.trip-type-toggle label:has(input:checked) {
  background: #fff;
  color: var(--tk-ink);
  box-shadow: var(--tk-shadow-sm);
}

/* ---- Field strip: the boxed MMT-style search bar ---- */
.field-strip {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  border: 1.5px solid var(--tk-line);
  border-radius: var(--tk-r-md);
  overflow: visible;
  background: #fff;
}

.field-box {
  flex: 1 1 0;
  min-width: 150px;
  padding: 12px 20px;
  position: relative;
  border-right: 1px solid var(--tk-line);
}

.field-box:last-child {
  border-right: none;
}

.field-box-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tk-muted);
  margin-bottom: 4px;
}

.field-box input.field-input,
.field-box select.field-input {
  border: none;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tk-ink);
  font-family: 'Poppins', sans-serif;
  width: 100%;
  background: transparent;
  box-shadow: none !important;
}

.field-box input.field-input::placeholder {
  color: #b6b9d1;
  font-weight: 600;
}

.field-box input.field-input[type="date"] {
  cursor: pointer;
}

.field-box:focus-within {
  background: var(--tk-sunset-tint);
}

.field-box:first-child { border-radius: var(--tk-r-md) 0 0 var(--tk-r-md); }
.field-box:last-child { border-radius: 0 var(--tk-r-md) var(--tk-r-md) 0; }

/* Swap button sits on the border between From/To boxes */
.field-strip .swap-btn {
  top: 50%;
  left: auto;
  right: -17px;
  transform: translateY(-50%);
}
.field-strip .swap-btn:hover { transform: translateY(-50%) rotate(180deg); }

/* Travellers dropdown button, restyled to match field-box look */
.field-box button.field-travellers-btn {
  border: none;
  background: transparent;
  padding: 0;
  width: 100%;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--tk-ink);
  font-family: 'Poppins', sans-serif;
}

/* ---- Big centered search CTA below the strip ---- */
.search-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.search-cta {
  background: linear-gradient(120deg, var(--tk-sunset-1), var(--tk-sunset-2));
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 14px 64px;
  border-radius: var(--tk-r-md);
  box-shadow: 0 10px 24px rgba(255, 61, 119, 0.32);
  transition: filter 0.15s var(--tk-ease), transform 0.15s var(--tk-ease), box-shadow 0.15s var(--tk-ease);
}

.search-cta:hover {
  filter: brightness(1.05);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 61, 119, 0.4);
}

/* ---- Trending / suggestion chips inside the widget ---- */
.trending-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 0.85rem;
}

.trending-row .trending-label {
  font-weight: 700;
  color: var(--tk-ink-soft);
}

.suggestion-chip {
  background: #f1f0eb;
  border: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tk-text);
  text-decoration: none;
  transition: background 0.15s var(--tk-ease), color 0.15s var(--tk-ease);
}

.suggestion-chip:hover {
  background: var(--tk-ink);
  color: #fff;
}

/* ---- Special fare pills (flights) ---- */
.fare-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.fare-pill {
  border: 1.5px solid var(--tk-line);
  border-radius: var(--tk-r-sm);
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tk-text);
  cursor: pointer;
  transition: border-color 0.15s var(--tk-ease), background 0.15s var(--tk-ease);
  background: #fff;
}

.fare-pill:hover, .fare-pill.active {
  border-color: var(--tk-sunset-1);
  background: var(--tk-sunset-tint);
}

/* ---- Mobile: stack field boxes ---- */
@media (max-width: 767px) {
  .field-strip { flex-direction: column; }
  .field-box { border-right: none; border-bottom: 1px solid var(--tk-line); }
  .field-box:last-child { border-bottom: none; }
  .field-box:first-child { border-radius: var(--tk-r-md) var(--tk-r-md) 0 0; }
  .field-box:last-child { border-radius: 0 0 var(--tk-r-md) var(--tk-r-md); }
  .field-strip .swap-btn { top: auto; bottom: -17px; right: 20px; transform: none; }
  .field-strip .swap-btn:hover { transform: rotate(180deg); }
  .search-cta-row { margin-top: 16px; }
  .search-cta { width: 100%; }
}

/* ---- Mobile refinements ---- */
@media (max-width: 767px) {
  .hero-section { padding: 44px 0 96px 0; }
  .search-card { margin-top: -60px; padding: 18px; }
  .hero-stats-bar { gap: 24px; }
  .swap-btn { left: auto; right: -10px; top: -10px; }
}

/* ---- Mobile: dashboards (stat cards, referral link, data tables) ---- */
@media (max-width: 767px) {
  .stat-card { padding: 16px 14px; }
  .price-tag { font-size: 1.3rem; }

  /* Long referral URL: shrink text and let it truncate instead of
     pushing the Copy button off-screen or forcing horizontal scroll. */
  .referral-link-group .form-control {
    font-size: 0.78rem;
    text-overflow: ellipsis;
  }
  .referral-link-group .btn-outline-secondary {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Data tables (bookings, commissions): smaller type + tighter cells
     so rows fit without an awkward horizontal scrollbar on narrow
     phones. .table-responsive still scrolls if content still overflows. */
  .table-responsive .table { font-size: 0.82rem; white-space: nowrap; }
  .table > :not(caption) > * > * { padding: 10px 10px; }
}

@media (max-width: 400px) {
  .commission-rate-value { font-size: 1.1rem; }
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
