/* ==========================================================================
   KAAM WALE BHAIYA (KWB) - APP BANNERS, PILLAR CARDS & COVERAGE RIBBON
   Matches the Reference Mobile & Web Screens
   ========================================================================== */

/* Top Search Row Wrapper */
.app-search-bar-section {
  background: #FFFFFF;
  padding: 0.65rem 0 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.app-search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
  background: #FFFFFF;
  border: 1.5px solid #DCE3F0;
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  box-shadow: 0 2px 8px rgba(13, 43, 91, 0.04);
  transition: all var(--transition-fast);
}

.app-search-wrapper {
  position: relative;
}

.app-search-clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E2E8F0;
  color: var(--navy-primary);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  cursor: pointer;
}

.app-search-clear-btn.visible {
  display: inline-flex;
}

.app-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1.5px solid #DCE3F0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  max-height: 360px;
  overflow-y: auto;
  display: none;
}

.app-search-dropdown.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  color: var(--text-dark);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #F4F7FC;
}

.search-result-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.search-result-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy-primary);
  background: #EAF2FF;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.app-search-box:focus-within {
  border-color: var(--navy-primary);
  box-shadow: 0 4px 14px rgba(13, 43, 91, 0.08);
}

.app-search-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: transparent;
  font-size: 0.94rem;
  color: var(--text-dark);
}

.app-search-input::placeholder {
  color: #64748B;
}

/* Home Hero Carousel Banner ("Your One Stop Service Partner") */
.hero-showcase-section {
  padding: 1.25rem 0 0.75rem 0;
}

.hero-carousel-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(110deg, #F1F5FA 0%, #FFFFFF 52%, #FFF3D1 100%);
  border: 1px solid #E5ECF6;
}

.hero-slides-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 240px;
  position: relative;
}

.hero-slide.slide-navy {
  background: linear-gradient(115deg, #0D2B5B 0%, #164185 58%, #2563EB 100%);
  color: #FFFFFF;
}

.hero-slide-content {
  padding: 2rem 2.25rem;
  z-index: 2;
  min-width: 0;
}

.hero-slide-title {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.hero-slide.slide-navy .hero-slide-title {
  color: #FFFFFF;
}

.hero-slide.slide-navy .hero-slide-title span {
  color: #FBBF24;
}

.hero-slide-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 480px;
  margin-bottom: 1rem;
}

.hero-slide.slide-navy .hero-slide-desc {
  color: #E2E8F0;
}

.hero-slide-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.hero-slide-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
}

.hero-slide-badge-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FBBF24;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.hero-slide-media {
  height: 100%;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-slide-media img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center top;
}

.hero-priority-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #FBBF24;
  color: var(--navy-primary);
  font-family: var(--font-family-script);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-md);
  transform: rotate(-4deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0;
  background: #FFFFFF;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
  transition: all 0.25s ease;
  cursor: pointer;
}

.carousel-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--navy-primary);
}

/* ==========================================================================
   3 SIGNATURE PILLAR CARDS (Home Appliances, Parker & Movers, Travel Cab)
   Matches reference screenshots 16.41.03 & 16.40.16
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.pillar-card {
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-height: 285px;
  min-width: 0;
  width: 100%;
  box-shadow: var(--shadow-xs);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-card.pillar-blue {
  background: linear-gradient(180deg, #E8F1FF 0%, #F4F8FF 100%);
  border: 1.5px solid var(--pastel-blue-border);
}

.pillar-card.pillar-cream {
  background: linear-gradient(180deg, #FFF2DA 0%, #FFF9ED 100%);
  border: 1.5px solid var(--pastel-cream-border);
}

.pillar-card.pillar-mint {
  background: linear-gradient(180deg, #DDF7EA 0%, #F0FDF6 100%);
  border: 1.5px solid var(--pastel-mint-border);
}

.pillar-visual {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pillar-visual img,
.pillar-visual svg {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.pillar-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.pillar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.pillar-rate-tag {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy-primary);
}

.pillar-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.pillar-card:hover .pillar-arrow-btn {
  transform: translateX(3px);
}

.pillar-blue .pillar-arrow-btn { background: #1E40AF; }
.pillar-cream .pillar-arrow-btn { background: #EA580C; }
.pillar-mint .pillar-arrow-btn { background: #059669; }

/* 4-Item Trust Features Strip (with crisp vertical dividers) */
.trust-strip-card {
  background: #FFFFFF;
  border: 1px solid #E5ECF6;
  border-radius: var(--radius-lg);
  padding: 1rem 0.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.25rem;
  box-shadow: var(--shadow-xs);
}

.trust-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.35rem 0.5rem;
  border-right: 1px solid #E2E8F0;
  min-width: 0;
}

.trust-strip-item:last-child {
  border-right: none;
}

.trust-strip-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #EFF4FF;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.trust-strip-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.25;
}

/* Coverage & Locations Strip */
.coverage-ribbon {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  margin-top: 1.25rem;
}

.coverage-ribbon-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.coverage-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy-primary);
  white-space: nowrap;
}

.coverage-cities-list {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.coverage-cities-list::-webkit-scrollbar {
  display: none;
}

.city-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-main);
  color: var(--navy-primary);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #DCE3F0;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.city-pill-btn:hover, .city-pill-btn.active {
  background: var(--navy-primary);
  color: #FFFFFF;
  border-color: var(--navy-primary);
}

.city-pill-btn .eta-indicator {
  font-size: 0.7rem;
  opacity: 0.8;
}

/* Sub-Hero Feature Banners (Appliances, Travel Cabs, Packers & Movers) */
.feature-hero-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #E2E8F0;
  min-height: 220px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.feature-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 58%;
}

.feature-hero-banner.appliances-banner {
  background: linear-gradient(95deg, #EBF3FF 0%, #EBF3FF 48%, rgba(235, 243, 255, 0.25) 100%);
}

.feature-hero-banner.cabs-banner {
  background: linear-gradient(95deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.85) 45%, rgba(248, 251, 255, 0.1) 100%);
}

.feature-hero-banner.movers-banner {
  background: linear-gradient(95deg, rgba(255, 250, 240, 0.97) 0%, rgba(255, 250, 240, 0.88) 48%, rgba(255, 250, 240, 0.1) 100%);
}

.feature-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

.feature-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.appliances-banner .feature-hero-gradient {
  background: linear-gradient(90deg, #E8F2FF 0%, rgba(232, 242, 255, 0.94) 44%, rgba(232, 242, 255, 0.15) 75%, transparent 100%);
}

.cabs-banner .feature-hero-gradient {
  background: linear-gradient(90deg, #F4F9FF 0%, rgba(244, 249, 255, 0.92) 45%, rgba(244, 249, 255, 0.12) 78%, transparent 100%);
}

.movers-banner .feature-hero-gradient {
  background: linear-gradient(90deg, #FFFBF2 0%, rgba(255, 251, 242, 0.93) 45%, rgba(255, 251, 242, 0.12) 78%, transparent 100%);
}

.feature-banner-title {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--navy-primary);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.feature-banner-title span.yellow {
  color: var(--primary);
}

.yellow-brush-pill {
  display: inline-block;
  background: #FBBF24;
  color: var(--navy-primary);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  transform: rotate(-1deg);
  margin-bottom: 0.65rem;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.25);
}

.navy-brush-pill {
  display: inline-block;
  background: var(--navy-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  transform: rotate(-1deg);
  margin-bottom: 0.65rem;
}

.feature-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-top: 0.5rem;
}
