/* ==========================================================================
   NEERAJ AMBULANCE SERVICES – HYDERABAD
   Master Responsive Stylesheet - Mobile-First Architecture
   Tested across:
   - Small mobile: 320px–374px
   - Standard mobile: 375px–430px
   - Large mobile: 431px–767px
   - Tablet: 768px–1023px
   - Laptop: 1024px–1365px
   - Desktop: 1366px–1919px
   - Large desktop & TV: 1920px–2560px+
   ========================================================================== */

/* -------------------------------------------------------------
   1. CSS VARIABLES & SYSTEM CONSTANTS
   ------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --primary: #102A43;             /* Deep Navy Blue: Header, footer, headings */
  --primary-dark: #0A1B2D;        /* Darker Navy for bottom bar */
  --primary-light: #183D61;       /* Medium Navy gradient stop */
  --primary-subtle: #EAF4FB;      /* Light Blue tint */

  --secondary: #1479C9;           /* Secondary Medical Blue: Buttons, links, highlights */
  --secondary-hover: #0F63A8;
  --secondary-light: #EAF4FB;

  --accent: #16A6A1;              /* Healthcare Teal: Icons, highlights, badges */
  --accent-hover: #128884;
  --accent-light: #E8F7F6;

  --emergency-red: #E53935;       /* Emergency Red: Call buttons & alerts */
  --emergency-hover: #C62828;
  --emergency-light: #FEECEB;

  --bg-white: #FFFFFF;            /* Pure White: Main website background */
  --bg-light: #EAF4FB;            /* Light Blue Background: Alternate sections, service cards */
  --bg-card: #EAF4FB;             /* Service cards: #EAF4FB */
  --bg-alt: #EAF4FB;

  --text-main: #334155;           /* Text Dark Slate: Paragraphs and descriptions */
  --text-muted: #475569;
  --text-light: #64748B;
  --text-inverse: #FFFFFF;

  --border-light: #D5E5F2;
  --border-medium: #CBD5E1;

  --shadow-sm: 0 1px 3px rgba(16, 42, 67, 0.08);
  --shadow-md: 0 4px 14px rgba(16, 42, 67, 0.12);
  --shadow-lg: 0 10px 30px rgba(16, 42, 67, 0.16);
  --shadow-emergency: 0 4px 18px rgba(229, 57, 53, 0.42);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Fluid Layout System */
  --max-width: 1200px;
  --header-height: 76px;
  --container-padding: clamp(12px, 3.5vw, 24px);
  --section-padding: clamp(3rem, 6vw, 5.5rem);
}

/* -------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES (MOBILE-FIRST)
   ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  font-size: clamp(15px, 0.9rem + 0.2vw, 16px);
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  background-color: var(--bg-white);
  padding-bottom: 64px; /* Space for mobile floating bar on < 1024px */
  position: relative;
}

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

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  word-break: break-word;
}

a:hover {
  color: var(--primary);
}

ul, ol {
  padding-left: 1.25rem;
}

/* Typography with Fluid clamp() */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 {
  font-size: clamp(1.75rem, 4.5vw + 0.5rem, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw + 0.4rem, 2.15rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw + 0.3rem, 1.45rem);
}

p {
  margin-bottom: 1.15rem;
  color: var(--text-main);
  font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1.05rem);
  line-height: 1.68;
  overflow-wrap: break-word;
}

/* -------------------------------------------------------------
   3. LAYOUT & UTILITIES
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
  background-color: var(--bg-white);
  width: 100%;
  overflow: hidden;
}

.section-light {
  background-color: var(--bg-light); /* #EAF4FB */
}

.section-dark {
  background-color: var(--primary); /* #102A43 */
  color: var(--text-inverse);
}

.section-dark h2, .section-dark h3, .section-dark p {
  color: var(--text-inverse);
}

.text-center {
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--bg-light);
  color: var(--secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  max-width: 100%;
  white-space: normal;
  line-height: 1.3;
}

.section-badge.emergency {
  background-color: var(--emergency-light);
  color: var(--emergency-red);
  border-color: #FCDAD8;
}

.section-badge.teal {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: #CCEFEE;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
}

.section-intro p {
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.15rem);
  color: var(--text-main);
}

/* -------------------------------------------------------------
   4. BUTTONS & TOUCH TARGETS (48px+ MIN TOUCH HEIGHT)
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  min-height: 48px; /* Accessible Touch Target */
  font-size: clamp(0.875rem, 1vw + 0.5rem, 0.975rem);
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  touch-action: manipulation;
}

.btn-primary {
  background-color: var(--secondary);
  color: #FFFFFF !important;
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(20, 121, 201, 0.35);
}

.btn-emergency {
  background-color: var(--emergency-red);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-emergency);
  animation: pulse-emergency 2.5s infinite;
}

.btn-emergency:hover {
  background-color: var(--emergency-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
}

@keyframes pulse-emergency {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(229, 57, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
  }
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF !important;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  border-color: var(--secondary);
  color: var(--secondary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: #FFFFFF !important;
}

.btn-white {
  background: #FFFFFF;
  color: var(--secondary) !important;
  font-weight: 800;
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  min-height: 52px;
  font-size: clamp(0.95rem, 1vw + 0.6rem, 1.05rem);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  min-height: 40px;
  font-size: 0.85rem;
}

/* -------------------------------------------------------------
   5. HEADER & NAVIGATION
   ------------------------------------------------------------- */
.top-bar {
  display: none; /* Hidden on mobile; shown via media query at 1024px+ */
  background-color: var(--primary-dark);
  color: #FFFFFF;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #CBD5E1;
}

.top-bar-location svg {
  color: var(--accent);
}

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

.top-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #FFFFFF;
  font-weight: 700;
  background: var(--emergency-red);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  transition: background 0.2s;
}

.top-bar-phone:hover {
  background: var(--emergency-hover);
  color: #FFFFFF;
}

.header {
  position: sticky;
  top: 0;
  background-color: var(--primary); /* Deep Navy Blue #102A43 */
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  width: 100%;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(10, 27, 45, 0.35);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 0.5rem;
}

/* Brand Logo Container */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 1;
}

.brand-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.brand-logo img {
  height: clamp(42px, 8vw, 68px);
  width: auto;
  max-width: clamp(140px, 40vw, 250px);
  object-fit: contain;
  display: block;
}

/* Mobile Drawer Nav (Default Mobile-First) */
.nav-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary);
  flex-direction: column;
  align-items: stretch;
  padding: 1.75rem 1.25rem 3rem 1.25rem;
  gap: 0.5rem;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  list-style: none;
}

.nav-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  padding: 0.85rem 0.5rem;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

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

.nav-dropdown {
  position: static;
  box-shadow: none;
  border: none;
  padding: 0.25rem 0 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  display: none;
  list-style: none;
  margin-top: 0.25rem;
}

.nav-item-dropdown.open .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.925rem;
  color: #EAF4FB;
  border-left: 2px solid transparent;
}

.nav-dropdown li a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}

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

.header-actions .btn-whatsapp {
  display: none; /* Hidden on mobile; in floating bar */
}

.header-actions .btn-emergency {
  padding: 0.5rem 0.75rem;
  font-size: 0.825rem;
  min-height: 42px;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #FFFFFF;
  min-width: 44px;
  min-height: 44px;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* -------------------------------------------------------------
   6. HERO SECTION
   ------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: #102A43;
  color: #FFFFFF;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  width: 100%;
}

/* Home Page Hero Banner: Full Background Ambulance Photo + Light Thin Black Overlay */
.hero-home-banner {
  position: relative;
  background-color: #0b1a29;
  background-image: url('../images/hero-ambulance.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(4rem, 8vw, 7.5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  width: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Light thin black overlay with subtle navy vignette for authentic clarity */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(16, 42, 67, 0.62) 65%,
    rgba(0, 0, 0, 0.72) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 1;
  pointer-events: none;
}

.hero-content-centered {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content-centered .section-badge.emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: rgba(229, 57, 53, 0.28);
  color: #FFCDD2;
  border: 1px solid rgba(229, 57, 53, 0.6);
  padding: 0.45rem 1.25rem;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(229, 57, 53, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pulse-indicator {
  width: 10px;
  height: 10px;
  background-color: #E53935;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(229, 57, 53, 0.8);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.85);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(229, 57, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
  }
}

.hero-content-centered h1 {
  font-size: clamp(2.1rem, 5.2vw + 0.5rem, 3.85rem);
  line-height: 1.15;
  margin-bottom: 1.35rem;
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-content-centered h1 span {
  color: #16A6A1;
  background: linear-gradient(135deg, #38BDF8 0%, #16A6A1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(22, 166, 161, 0.5));
}

.hero-content-centered .hero-lead {
  font-size: clamp(1.05rem, 1.2vw + 0.4rem, 1.25rem);
  color: #F1F5F9;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content-centered .hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 2.75rem;
}

.hero-content-centered .hero-actions .btn {
  min-width: 260px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content-centered .hero-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.hero-content-centered .hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.trust-pill {
  background: rgba(16, 42, 67, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  padding: 0.55rem 1.15rem;
  font-size: clamp(0.85rem, 0.4vw + 0.65rem, 0.95rem);
  font-weight: 600;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.trust-pill:hover {
  background: rgba(16, 42, 67, 0.95);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.trust-pill svg {
  width: 16px;
  height: 16px;
  color: #16A6A1;
  flex-shrink: 0;
}

/* Fallback & Grid Compatibility */
.hero .section-badge.emergency {
  background-color: rgba(229, 57, 53, 0.22);
  color: #FFA4A2;
  border-color: rgba(229, 57, 53, 0.45);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4.5vw, 3rem);
  align-items: center;
  text-align: center;
}

.hero-content {
  order: 1;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(1.85rem, 5.5vw + 0.3rem, 3.35rem);
  line-height: 1.18;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.hero-content h1 span {
  color: var(--secondary);
}

.hero-lead {
  font-size: clamp(1rem, 1vw + 0.6rem, 1.2rem);
  color: #E2E8F0;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-actions .btn {
  width: 100%;
}

.hero-trust-row,
.hero-trust-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(0.85rem, 0.5vw + 0.65rem, 0.95rem);
  font-weight: 600;
  color: #EAF4FB;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-image {
  order: -1; /* Mobile view: keep banner image starting only */
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: rgba(255, 255, 255, 0.05);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* -------------------------------------------------------------
   7. QUICK EMERGENCY BAR
   ------------------------------------------------------------- */
.quick-emergency-bar {
  background: var(--secondary);
  color: #FFFFFF;
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.quick-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.quick-bar-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.quick-bar-info svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #FFFFFF;
}

.quick-bar-text h3 {
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  font-size: clamp(1.1rem, 2vw + 0.3rem, 1.3rem);
}

.quick-bar-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.quick-bar-actions {
  width: 100%;
  display: flex;
  justify-content: center;
}

.quick-bar-actions .btn {
  width: 100%;
  max-width: 340px;
}

/* -------------------------------------------------------------
   8. SERVICES GRID & CARDS
   ------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  width: 100%;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.service-card-media {
  position: relative;
  height: clamp(190px, 35vw, 240px);
  background-color: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

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

.service-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.service-card-body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  font-size: clamp(1.15rem, 2vw + 0.3rem, 1.35rem);
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.service-card-body p {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  gap: 0.5rem;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  min-height: 40px;
}

.read-more-link svg {
  color: var(--accent);
}

/* Service Detail Featured Media */
.service-featured-media {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
  max-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  width: 100%;
}

.service-featured-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* -------------------------------------------------------------
   9. DEEP DIVE & WHY CHOOSE US
   ------------------------------------------------------------- */
.deep-dive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.specialized-card {
  background: #FFFFFF;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.feature-box {
  background: #FFFFFF;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease;
  width: 100%;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-wrapper svg {
  color: var(--accent);
}

.feature-icon-wrapper.red {
  background: var(--emergency-light);
  color: var(--emergency-red);
}

.feature-icon-wrapper.red svg {
  color: var(--emergency-red);
}

.feature-icon-wrapper.teal {
  background: var(--accent-light);
  color: var(--accent);
}

.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.feature-box p {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* -------------------------------------------------------------
   10. STEPS & PILLARS
   ------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.step-card {
  background: var(--bg-card);
  padding: clamp(1.75rem, 3vw, 2.25rem) 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
}

.pillar-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--secondary);
  width: 100%;
}

/* -------------------------------------------------------------
   11. HYDERABAD COVERAGE
   ------------------------------------------------------------- */
.coverage-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
}

.coverage-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem 0;
  width: 100%;
}

.coverage-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  text-decoration: none;
  transition: all 0.25s ease;
}

a.coverage-chip:hover {
  background-color: var(--bg-light);
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.coverage-chip svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.location-card-link {
  transition: all 0.2s ease;
}

.location-card-link:hover {
  background-color: var(--bg-light) !important;
  border-color: var(--secondary) !important;
  color: var(--secondary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.badge-link:hover {
  background-color: #1479C9 !important;
  color: #FFFFFF !important;
  border-color: #1479C9 !important;
}

/* -------------------------------------------------------------
   12. FAQ ACCORDION
   ------------------------------------------------------------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2.5vw, 1.5rem);
  min-height: 52px;
  font-size: clamp(0.95rem, 1vw + 0.3rem, 1.05rem);
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  line-height: 1.35;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--secondary);
}

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

.faq-answer {
  display: none;
  padding: 0 clamp(1rem, 2.5vw, 1.5rem) 1.25rem clamp(1rem, 2.5vw, 1.5rem);
  color: var(--text-main);
  font-size: 0.975rem;
  line-height: 1.68;
}

.faq-item.active .faq-answer {
  display: block;
}

/* -------------------------------------------------------------
   13. TESTIMONIALS
   ------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.testimonial-card {
  background: #FFFFFF;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: #F59E0B;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--primary);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* -------------------------------------------------------------
   14. CONTACT LAYOUT & FORM (PREVENT IOS AUTO-ZOOM: 16px INPUTS)
   ------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  width: 100%;
}

.contact-info-panel {
  background: var(--primary);
  color: #FFFFFF;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.contact-info-panel h2, .contact-info-panel h3, .contact-info-panel p {
  color: #FFFFFF;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
}

.contact-method-details h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-method-details a, .contact-method-details p {
  color: #E2E8F0;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-method-details a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.contact-form-panel {
  background: #FFFFFF;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.form-group {
  margin-bottom: 1.25rem;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 16px; /* 16px minimum prevents iOS zoom on focus */
  color: var(--text-main);
  background-color: var(--bg-light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  min-height: 48px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(20, 121, 201, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

.form-success-message {
  display: none;
  padding: 1.5rem;
  background-color: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  color: var(--accent-hover);
  margin-top: 1rem;
  text-align: center;
}

/* -------------------------------------------------------------
   15. BREADCRUMBS
   ------------------------------------------------------------- */
.breadcrumb-wrapper {
  background: var(--bg-light);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  font-size: clamp(0.8rem, 1vw, 0.875rem);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
}

.breadcrumbs li a {
  color: var(--secondary);
  font-weight: 500;
}

.breadcrumbs li.current {
  color: var(--primary);
  font-weight: 700;
}

/* -------------------------------------------------------------
   16. INNER SERVICE DETAIL & ARTICLE LAYOUT
   ------------------------------------------------------------- */
.service-header-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  padding: clamp(3.5rem, 6vw, 4.5rem) 0;
  width: 100%;
}

.service-header-hero h1 {
  color: #FFFFFF;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.service-header-hero p {
  color: #E2E8F0;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.15rem);
  max-width: 800px;
  line-height: 1.65;
}

.service-content-layout, .article-body-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  width: 100%;
}

.service-main-article, .article-content {
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
  line-height: 1.75;
  color: var(--text-main);
  width: 100%;
  min-width: 0; /* Prevents CSS grid blowouts */
}

.service-main-article h2, .article-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.5vw + 0.3rem, 1.7rem);
  color: var(--primary);
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 0.5rem;
}

.service-main-article h3, .article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 1.5vw + 0.3rem, 1.3rem);
  color: var(--secondary);
}

.info-callout {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: clamp(1.25rem, 3vw, 1.5rem);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.info-callout.emergency {
  border-left-color: var(--emergency-red);
  background: var(--emergency-light);
}

.info-callout h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Responsive Table Wrapper (Prevents Horizontal Scroll) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.table-responsive table {
  min-width: 540px;
  width: 100%;
  border-collapse: collapse;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.sidebar-widget h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-light);
  color: var(--primary);
}

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

.sidebar-service-links li {
  margin-bottom: 0.6rem;
}

.sidebar-service-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 44px;
}

.sidebar-service-links a:hover, .sidebar-service-links a.active {
  background: var(--secondary);
  color: #FFFFFF;
}

.sidebar-emergency-card {
  background: linear-gradient(135deg, var(--emergency-red) 0%, #B71C1C 100%);
  color: #FFFFFF;
  border: none;
  text-align: center;
}

.sidebar-emergency-card h3, .sidebar-emergency-card p {
  color: #FFFFFF;
}

.sidebar-emergency-card .btn {
  margin-top: 1rem;
  width: 100%;
}

/* -------------------------------------------------------------
   17. BLOG CARDS & ARTICLE
   ------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  width: 100%;
}

.blog-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.blog-card-media {
  height: clamp(190px, 35vw, 240px);
  background-color: var(--bg-light);
  overflow: hidden;
}

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

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

.blog-card-body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-category-tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card-body h3 {
  font-size: clamp(1.15rem, 2vw + 0.3rem, 1.3rem);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.blog-card-body p {
  color: var(--text-main);
  font-size: 0.925rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.article-header {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 900px;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-featured-img {
  margin: 1.5rem 0 2.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.article-featured-img img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.article-inline-image {
  margin: 2.25rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
}

.article-inline-image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.article-inline-image figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-style: italic;
  line-height: 1.5;
}

/* -------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------- */
.footer {
  background-color: var(--primary); /* Deep Navy Blue #102A43 */
  color: #FFFFFF;
  margin-top: auto;
  border-top: 4px solid var(--secondary);
  width: 100%;
}

.footer-top {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  width: 100%;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

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

.footer-logo-wrap {
  display: inline-block;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.footer-logo-wrap:hover {
  transform: translateY(-2px);
}

.footer-logo-wrap img {
  height: clamp(48px, 6vw, 62px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  color: #CBD5E1;
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: #CBD5E1;
  font-size: 0.925rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #CBD5E1;
  font-size: 0.925rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #FFFFFF;
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  background-color: var(--primary-dark);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-links a {
  color: #94A3B8;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

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

/* -------------------------------------------------------------
   19. FLOATING MOBILE ACTION BAR (< 1024px)
   ------------------------------------------------------------- */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
  z-index: 9999;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  min-height: 48px;
  touch-action: manipulation;
}

.mobile-action-call {
  background-color: var(--emergency-red);
  color: #FFFFFF !important;
}

.mobile-action-wa {
  background-color: #25D366;
  color: #FFFFFF !important;
}

/* =============================================================
   20. PROGRESSIVE RESPONSIVE BREAKPOINTS
   ============================================================= */

/* -------------------------------------------------------------
   BREAKPOINT 1: Small Mobile (320px–374px)
   ------------------------------------------------------------- */
@media (max-width: 374px) {
  :root {
    --header-height: 70px;
    --container-padding: 10px;
  }

  .brand-logo {
    padding: 3px 6px;
  }

  .brand-logo img {
    height: 38px;
    max-width: 125px;
  }

  .header-actions .btn-emergency {
    padding: 0.4rem 0.55rem;
    font-size: 0.75rem;
    min-height: 38px;
  }

  .mobile-toggle {
    min-width: 38px;
    min-height: 38px;
    padding: 0.25rem;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }

  .hero-actions .btn {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }

  .mobile-action-bar {
    gap: 4px;
    padding: 4px 6px;
  }

  .mobile-action-btn {
    font-size: 0.85rem;
    padding: 0.65rem 0.25rem;
  }

  .service-card-media {
    height: 175px;
  }

  .contact-form-panel {
    padding: 1.25rem 0.85rem;
  }
}

/* -------------------------------------------------------------
   BREAKPOINT 2: Standard Mobile (375px–430px)
   ------------------------------------------------------------- */
@media (min-width: 375px) and (max-width: 430px) {
  :root {
    --header-height: 74px;
    --container-padding: 14px;
  }

  .brand-logo img {
    height: 44px;
    max-width: 155px;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
  }

  .coverage-list {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   BREAKPOINT 3: Large Mobile (431px–767px)
   ------------------------------------------------------------- */
@media (min-width: 431px) and (max-width: 767px) {
  :root {
    --header-height: 78px;
    --container-padding: 18px;
  }

  .brand-logo img {
    height: 50px;
    max-width: 180px;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1 1 200px;
  }

  .hero-trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .coverage-list {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* -------------------------------------------------------------
   BREAKPOINT 4: Tablet (768px–1023px)
   Tailored 2-Column Responsive Layout - Not Just Stretched Mobile
   ------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --header-height: 84px;
    --max-width: 960px;
  }

  .brand-logo img {
    height: 54px;
    max-width: 200px;
  }

  /* Tablet Hero: 2-Column Balanced Grid */
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    text-align: left;
    gap: 2rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-content-centered .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-trust-row,
  .hero-trust-bar {
    grid-template-columns: 1fr 1fr;
    justify-content: flex-start;
  }

  .hero-content-centered .hero-trust-row {
    display: flex;
    justify-content: center;
  }

  /* Tablet Quick Bar */
  .quick-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .quick-bar-info {
    flex-direction: row;
    text-align: left;
  }

  .quick-bar-actions .btn {
    width: auto;
  }

  /* Tablet Services: Exactly 2 Columns */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .deep-dive-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.25rem;
  }

  .coverage-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .coverage-list {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Tablet Service Detail & Article: Sidebar in 2-Col Grid Row */
  .service-content-layout, .article-body-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .sidebar-widget.sticky {
    position: static;
  }
}

/* -------------------------------------------------------------
   BREAKPOINT 5: Laptop & Desktop Foundation (1024px+)
   ------------------------------------------------------------- */
@media (min-width: 1024px) {
  body {
    padding-bottom: 0; /* Remove mobile action bar buffer */
  }

  :root {
    --header-height: 94px;
  }

  .top-bar {
    display: block; /* Top helpline visible */
  }

  .mobile-action-bar {
    display: none !important; /* Hide floating bar on desktop */
  }

  .mobile-toggle {
    display: none;
  }

  .header-actions .btn-whatsapp {
    display: inline-flex;
  }

  .header-actions .btn-emergency {
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
    min-height: 48px;
  }

  .brand-logo {
    padding: 6px 14px;
  }

  .brand-logo img {
    height: 64px;
    max-width: 240px;
  }

  /* Desktop Navbar: Horizontal Row */
  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    padding: 0;
    gap: 1.5rem;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    overflow-y: visible;
  }

  .nav-link {
    font-size: 0.975rem;
    padding: 0.5rem 0.25rem;
    border-bottom: none;
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
  }

  .nav-item-dropdown {
    position: relative;
  }

  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 290px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1001;
  }

  .nav-item-dropdown:hover .nav-dropdown,
  .nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
  }

  .nav-dropdown li a {
    color: var(--primary);
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
  }

  .nav-dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--secondary);
    border-left-color: var(--accent);
  }

  /* Desktop Hero */
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    text-align: left;
    gap: 3rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-content-centered .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-trust-row,
  .hero-trust-bar {
    grid-template-columns: repeat(3, auto);
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .hero-content-centered .hero-trust-row {
    display: flex;
    justify-content: center;
  }

  /* Quick Bar Desktop */
  .quick-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .quick-bar-info {
    flex-direction: row;
    text-align: left;
  }

  .quick-bar-actions .btn {
    width: auto;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .deep-dive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .coverage-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .coverage-list {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .service-content-layout, .article-body-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2rem;
  }

  .sidebar {
    display: flex;
    flex-direction: column;
  }

  .sidebar-widget.sticky {
    position: sticky;
    top: 110px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }

  .footer-bottom-inner {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .service-content-layout, .article-body-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 2.75rem;
  }
}

/* -------------------------------------------------------------
   BREAKPOINT 6: Desktop Standard (1366px–1919px)
   ------------------------------------------------------------- */
@media (min-width: 1366px) {
  :root {
    --max-width: 1320px;
    --header-height: 96px;
  }

  .brand-logo img {
    height: 68px;
    max-width: 250px;
  }

  .service-content-layout, .article-body-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 3.5rem;
  }

  .footer-logo-wrap img {
    height: 62px;
    max-width: 230px;
  }
}

/* -------------------------------------------------------------
   BREAKPOINT 7: Large Desktop & TV (1920px and above / 2560px 4K)
   Centered, Balanced, Graceful Scale - Prevents Endless Stretching
   ------------------------------------------------------------- */
@media (min-width: 1920px) {
  :root {
    --max-width: 1560px;
    --header-height: 104px;
    --section-padding: clamp(4.5rem, 5vw, 6.5rem);
  }

  html {
    font-size: 17.5px; /* Clean proportional upscale for 4K / TV distance viewing */
  }

  .brand-logo img {
    height: 74px;
    max-width: 270px;
  }

  .hero-image {
    max-width: 760px;
  }

  /* 4-column balanced service layout on wide screens */
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.25rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .service-content-layout, .article-body-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 4rem;
  }

  .sidebar-widget.sticky {
    top: 124px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 4rem;
  }
}

/* -------------------------------------------------------------
   21. ACCESSIBILITY & PRINT PREPARATION
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
