/* ==========================================================================
   MEDINEEDS HOMECARE SERVICE - MODERN MEDICAL WEBSITE STYLESHEET
   Brand Colors from Business Card:
   - Primary Blue: #103b7b / #1a4f9c
   - Cyan Accent: #009fe3
   - Green Accent: #38b000 / #2b9348
   - Red Cross Accent: #e63946
   - Slate / Light Bg: #f4f7fb
   ========================================================================== */

:root {
  --primary: #0f3d7d;
  --primary-dark: #0a2955;
  --primary-light: #1e5bb0;
  --accent-cyan: #00a0e9;
  --accent-cyan-light: #e1f5fe;
  --accent-green: #2e9b42;
  --accent-green-light: #e8f5e9;
  --accent-green-dark: #1e702e;
  --accent-red: #e53935;
  --accent-red-light: #ffebee;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-white: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #38bdf8;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

/* Ensure flex & grid items respect container bounds */
.hero-grid > *,
.locations-grid > *,
.contact-grid > *,
.footer-grid > *,
.products-grid > *,
.features-grid > *,
.steps-grid > *,
.testimonials-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* ==========================================================================
   TOP EMERGENCY & CONTACT NOTIFICATION BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--accent-cyan);
}

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

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #e2e8f0;
  transition: var(--transition);
  font-weight: 500;
}

.top-bar-link:hover {
  color: #38bdf8;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-icon-svg {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-red);
  text-transform: uppercase;
}

.brand-subtext {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-btn-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface-alt);
  color: var(--primary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.cart-btn-nav:hover {
  background-color: var(--accent-cyan-light);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 61, 125, 0.25);
  transition: var(--transition);
}

.btn-header-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 61, 125, 0.35);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  padding: 0.4rem;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-delivery {
  background-color: #fef08a;
  color: #854d0e;
  border: 1px solid #fde047;
}

.badge-available {
  background-color: var(--accent-green-light);
  color: var(--accent-green-dark);
}

.badge-popular {
  background-color: #fee2e2;
  color: #b91c1c;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 50%, #ffffff 100%);
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-decoration-circle {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 160, 233, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 960px;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 1px solid #bae6fd;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.hero-title span.highlight-cyan {
  color: var(--accent-cyan);
}

.hero-title span.highlight-red {
  color: var(--accent-red);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 820px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.hero-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.hero-feature-chip svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-contact-quick {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.contact-avatar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-quick-info p {
  margin: 0;
}

.contact-quick-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.contact-quick-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-block;
}

.hero-visual-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.hero-banner-image {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.floating-guarantee-badge {
  position: absolute;
  bottom: -15px;
  left: 20px;
  background: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--accent-green);
}

.guarantee-icon {
  width: 36px;
  height: 36px;
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.guarantee-text h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
}

.guarantee-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   URGENT HIGHLIGHT RIBBON
   ========================================================================== */
.urgent-ribbon {
  background-color: #0b2545;
  color: #ffffff;
  padding: 1rem 0;
  border-top: 1px solid #133966;
  border-bottom: 1px solid #133966;
}

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

.urgent-text-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.urgent-icon-beacon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.2);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.urgent-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
}

.urgent-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.urgent-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-bg-alt {
  background-color: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCTS CATALOG & FILTER CONTROLS
   ========================================================================== */
.catalog-controls {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.catalog-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.catalog-search-input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.catalog-search-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0, 160, 233, 0.15);
}

.type-filter-group {
  display: flex;
  background-color: var(--bg-surface-alt);
  padding: 0.25rem;
  border-radius: var(--radius-md);
}

.type-filter-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition);
}

.type-filter-btn.active {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.category-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-pill {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background-color: var(--bg-surface);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}

.category-pill:hover {
  background-color: var(--accent-cyan-light);
  border-color: var(--accent-cyan);
  color: var(--primary);
}

.category-pill.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.product-thumb-wrap {
  position: relative;
  height: 210px;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-thumb-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.05);
}

.product-tag-float {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.delivery-tag-float {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-green-dark);
  box-shadow: var(--shadow-sm);
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-sub {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs-list {
  list-style: none;
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 1rem;
}

.product-specs-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.product-specs-list svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.product-availability-box {
  margin-top: auto;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid #bbf7d0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.availability-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.availability-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-green-dark);
}

.availability-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 155, 66, 0.7);
  animation: pulse-green 2s infinite;
}

.inquiry-rate-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  text-align: center;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.step-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--accent-cyan-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem auto 1.25rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   WHY CHOOSE US / FEATURES
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-box {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-box:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-green);
}

.feature-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-icon-bubble.cyan { background-color: var(--accent-cyan-light); color: var(--accent-cyan); }
.feature-icon-bubble.green { background-color: var(--accent-green-light); color: var(--accent-green-dark); }
.feature-icon-bubble.blue { background-color: #e0e7ff; color: #4338ca; }
.feature-icon-bubble.red { background-color: var(--accent-red-light); color: var(--accent-red); }

.feature-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   LOCATIONS & SERVICE COVERAGE
   ========================================================================== */
.locations-container {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.locations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.locations-grid > * {
  min-width: 0;
  max-width: 100%;
}

.locations-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  word-break: break-word;
}

.locations-desc {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  word-break: break-word;
}

/* Specific Region Coverage Cards */
.region-card {
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: var(--transition);
}

.region-card-bangalore {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(186, 230, 253, 0.6);
}

.region-card-mandya {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(254, 240, 138, 0.5);
  margin-bottom: 0.85rem;
}

.region-card-sub {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  margin-bottom: 0.85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.region-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.region-card-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #bae6fd;
  line-height: 1.3;
  word-break: break-word;
}

.region-card-title-mandya {
  color: #fef08a;
}

.areas-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  width: 100%;
}

.area-chip {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.locations-card-side {
  background: #ffffff;
  color: var(--text-dark);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.delivery-hub-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.delivery-hub-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hub-details-list {
  list-style: none;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.hub-details-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hub-details-list li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stars-rating {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-cyan-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.author-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
}

.faq-icon-arrow {
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT & BOOKING SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #081a33;
  color: #cbd5e1;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 3px solid var(--accent-cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #94a3b8;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--accent-cyan);
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.65rem;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   MODALS (PRODUCT DETAILS & RENTAL INQUIRY / CART)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modal-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-close-btn {
  background: var(--bg-surface-alt);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

.modal-body {
  padding: 1.5rem;
}

/* Forms inside modal */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 160, 233, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Cart drawer / modal item listing */
.cart-items-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.cart-item-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
}

.cart-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (MOBILE & DESKTOP)
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  animation: float-pulse 3s infinite ease-in-out;
}

.float-whatsapp-btn:hover {
  background-color: #1eb956;
  transform: scale(1.05);
  color: #ffffff;
}

@keyframes float-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  z-index: 98;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-bar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .hero-visual-card {
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .locations-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .top-bar-notice {
    font-size: 0.78rem;
    text-align: center;
    justify-content: center;
  }
  .top-bar-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.78rem;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--accent-cyan);
    gap: 0;
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-menu li:last-child {
    border-bottom: none;
  }
  .nav-link {
    display: block;
    padding: 0.75rem 0;
    width: 100%;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-header-call {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .urgent-ribbon-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .urgent-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }
  .urgent-actions .btn {
    width: 100%;
  }
  .floating-actions-container {
    display: none; /* Hide floating WhatsApp icon on mobile to avoid overlapping mobile bottom bar */
  }
  .mobile-bottom-bar {
    display: block;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px)) 1rem;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .locations-container {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
  }
  .locations-card-side {
    padding: 1.5rem 1.25rem;
  }
  .region-card {
    padding: 0.9rem 1rem;
  }
  .catalog-search-row {
    flex-direction: column;
    align-items: stretch;
  }
  .type-filter-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .type-filter-btn {
    text-align: center;
    padding: 0.5rem;
  }
  .category-pills-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .category-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-subtitle {
    font-size: 0.62rem;
  }
  .brand-subtext {
    font-size: 0.58rem;
  }
  .logo-icon-svg {
    width: 38px;
    height: 38px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-title span.highlight-red {
    font-size: 1.1rem !important;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section {
    padding: 2.75rem 0;
  }
  .feature-box, .step-card, .testimonial-card {
    padding: 1.15rem 0.85rem;
  }
  .hero-visual-card {
    padding: 0.85rem;
  }
  /* Locations / Service coverage for 360px phones (Samsung A55, A51, etc.) */
  .locations-container {
    padding: 1.25rem 0.75rem;
    border-radius: 10px;
  }
  .locations-title {
    font-size: 1.35rem;
    line-height: 1.25;
  }
  .locations-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  .region-card {
    padding: 0.75rem 0.65rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
  }
  .region-card-sub {
    padding: 0.75rem 0.65rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
  }
  .region-card-title {
    font-size: 0.88rem;
  }
  .areas-pills-wrap {
    gap: 0.35rem;
    margin-bottom: 0;
  }
  .area-chip {
    font-size: 0.74rem;
    padding: 0.25rem 0.55rem;
  }
  .locations-card-side {
    padding: 1.25rem 0.75rem;
    border-radius: 10px;
  }
  .delivery-hub-card h3 {
    font-size: 1.05rem;
  }
  .delivery-hub-card p {
    font-size: 0.82rem;
  }
  .hub-details-list {
    font-size: 0.8rem;
  }
  /* Mobile unconstrained grids */
  .products-grid,
  .features-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .modal-content {
    margin: 0.5rem;
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
  }
  .modal-body {
    padding: 0.85rem;
  }
  .modal-header {
    padding: 0.85rem;
  }
  .delivery-tag-float {
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
  }
}

