/* ==========================================================================
   Akshay Home Cleaning - akshayhomecleaning.online
   Mobile-First, Ultra Responsive, Modern Stylesheet
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --accent: #10b981;
  --accent-dark: #059669;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --danger: #ef4444;
  --dark: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 74px; /* Space for mobile sticky bottom bar */
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 6px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo-img {
  height: 40px;
  width: 40px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.brand-subtitle .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 5px 8px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  border: 1px solid rgba(2, 132, 199, 0.25);
  white-space: nowrap;
}

.header-call-btn:hover,
.header-call-btn:active {
  background: var(--primary);
  color: #ffffff;
}

.header-call-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   Scroller Banner / Hero Carousel
   ========================================================================== */

.carousel-section {
  padding: 12px 0 6px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  touch-action: pan-y;
  width: 100%;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  position: relative;
  height: 200px; /* Optimal mobile banner height */
  overflow: hidden;
  background: #0f172a;
}

@media (min-width: 640px) {
  .carousel-slide {
    height: 280px;
  }
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.carousel-slide.active .slide-img {
  transform: scale(1.08);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(15, 23, 42, 0.75) 75%,
    rgba(15, 23, 42, 0.92) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #ffffff;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.slide-badge.badge-green {
  background: rgba(16, 185, 129, 0.95);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.slide-badge.badge-blue {
  background: rgba(2, 132, 199, 0.95);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
}

.slide-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  margin-bottom: 4px;
}

@media (min-width: 640px) {
  .slide-title {
    font-size: 1.6rem;
  }
}

.slide-subtitle {
  font-size: 0.8rem;
  color: #e2e8f0;
  line-height: 1.3;
  margin-bottom: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.slide-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--whatsapp);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s ease;
}

.slide-cta-btn:active {
  transform: scale(0.96);
}

.slide-cta-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Carousel Nav Buttons (Visible on desktop/tablets, hidden on mobile for clean touch swipe) */
.carousel-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
  .carousel-btn {
    display: flex;
  }
}

.carousel-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.carousel-btn.prev {
  left: 8px;
}

.carousel-btn.next {
  right: 8px;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.dot-indicator {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot-indicator.active {
  width: 20px;
  background: var(--whatsapp);
}

/* Quick Trust Pill Banner */
.quick-features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
  gap: 4px;
}

.feature-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.feature-pill .icon {
  font-size: 0.85rem;
}

/* ==========================================================================
   2-by-2 Services Grid Section (Core Requirement)
   ========================================================================== */

.services-section {
  padding: 16px 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 14px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* The 2-by-2 Grid */
.services-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Strict 2-by-2 layout on mobile */
  gap: 12px;
}

@media (min-width: 680px) {
  .services-grid-2x2 {
    gap: 16px;
  }
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

/* Card Image Area */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

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

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

/* Discount Pill Badge */
.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
  letter-spacing: 0.02em;
  z-index: 2;
}

.verified-icon-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  font-size: 0.75rem;
}

/* Card Content Area */
.card-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.22;
  margin-bottom: 4px;
  min-height: 2.5em; /* Ensures equal heights across cards */
  display: flex;
  align-items: center;
  word-break: normal;
}

@media (min-width: 600px) {
  .card-title {
    font-size: 1.05rem;
  }
}

.card-features {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Price Box */
.price-container {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding-top: 4px;
  border-top: 1px dashed var(--border);
}

.actual-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 1.5px;
}

.discount-price {
  font-size: 1.18rem;
  font-weight: 900;
  color: #059669;
  letter-spacing: -0.01em;
}

.save-text {
  font-size: 0.64rem;
  font-weight: 800;
  color: #047857;
  background: #d1fae5;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: auto;
}

/* Extra small mobile screens (e.g. 320px - 360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 8px;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .header-call-btn {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
  .services-grid-2x2 {
    gap: 8px;
  }
  .card-body {
    padding: 8px 6px 10px;
  }
  .card-title {
    font-size: 0.82rem;
    min-height: 2.2em;
  }
  .card-features {
    display: none;
  }
  .price-container {
    gap: 4px;
    margin-bottom: 8px;
  }
  .actual-price {
    font-size: 0.75rem;
  }
  .discount-price {
    font-size: 1.05rem;
  }
  .save-text {
    display: none;
  }
  .btn-book-now {
    font-size: 0.75rem;
    padding: 6px 4px;
    min-height: 36px;
  }
}

/* Book Now Button */
.btn-book-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--whatsapp);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  min-height: 40px;
}

.btn-book-now:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.btn-book-now:active {
  transform: scale(0.97);
}

.btn-book-now svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   Trust / Highlights Section
   ========================================================================== */

.trust-section {
  padding: 10px 0 20px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.trust-heading {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark);
}

.trust-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* ==========================================================================
   How It Works (3 Steps)
   ========================================================================== */

.how-it-works-section {
  padding: 12px 0 20px;
}

.steps-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.steps-header {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.step-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

.step-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Address & Contact Section
   ========================================================================== */

.location-section {
  padding: 10px 0 20px;
}

.location-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.location-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0369a1;
  margin-bottom: 8px;
}

.location-address {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.location-details-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.location-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text);
}

.location-detail-item svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  flex-shrink: 0;
}

.location-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-direction {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid #7dd3fc;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-direction:hover {
  background: #f8fafc;
}

.btn-direction svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 24px 0 16px;
  text-align: center;
  font-size: 0.75rem;
}

.footer-domain {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-tagline {
  color: #cbd5e1;
  margin-bottom: 12px;
}

.footer-contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-contact-link {
  color: #38bdf8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-copy {
  border-top: 1px solid #334155;
  padding-top: 12px;
  color: #64748b;
  font-size: 0.7rem;
}

.footer-credit {
  margin-top: 6px;
  font-size: 0.72rem;
  color: #94a3b8;
}

.footer-credit a {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* ==========================================================================
   Mobile Fixed Bottom Conversion Bar
   ========================================================================== */

.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 999;
}

.mobile-bar-btn {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.mobile-bar-btn:active {
  transform: scale(0.97);
}

.mobile-bar-btn.btn-call {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.mobile-bar-btn.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.mobile-bar-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Floating WhatsApp Pulse Button */
.floating-whatsapp {
  position: fixed;
  bottom: 84px;
  right: 14px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  z-index: 990;
  transition: transform 0.2s ease;
  animation: pulse-green 2.5s infinite;
}

.floating-whatsapp:active {
  transform: scale(0.92);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Hide mobile bottom bar on large screens if desired, or keep as handy floating action */
@media (min-width: 860px) {
  body {
    padding-bottom: 0;
  }
  .mobile-bottom-bar {
    display: none;
  }
  .floating-whatsapp {
    bottom: 24px;
    right: 24px;
  }
}
