/* ============================================
   BLESSING HOME CARE — Premium Design System
   "Healing Horizons" Theme
   ============================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --primary: #0A2463;
  --primary-light: #1B3A8A;
  --primary-dark: #061845;
  --secondary: #1B8A6B;
  --secondary-light: #25B88A;
  --secondary-dark: #146B53;
  --accent: #00D4AA;
  --accent-glow: #3ECF8E;
  --cta: #FF6B35;
  --cta-hover: #FF8555;
  --cta-dark: #E55A25;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0A2463, #1B8A6B);
  --gradient-accent: linear-gradient(135deg, #00D4AA, #3ECF8E);
  --gradient-cta: linear-gradient(135deg, #FF6B35, #FF8555);
  --gradient-hero: linear-gradient(135deg, #0A1628 0%, #0A2463 40%, #1B8A6B 100%);
  --gradient-dark: linear-gradient(135deg, #0A1628, #112240);
  --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
                    radial-gradient(ellipse at 80% 20%, rgba(27, 138, 107, 0.2) 0%, transparent 50%),
                    radial-gradient(ellipse at 50% 80%, rgba(10, 36, 99, 0.15) 0%, transparent 50%);

  /* Backgrounds */
  --bg-body: #F0F9FF;
  --bg-dark: #0A1628;
  --bg-section-alt: #E8F4FD;
  --bg-white: #FFFFFF;

  /* Text */
  --text-dark: #1A1A2E;
  --text-body: #3D4F6F;
  --text-muted: #7B8DA4;
  --text-light: #F0F9FF;
  --text-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Poppins', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(10, 36, 99, 0.06);
  --shadow-sm: 0 2px 8px rgba(10, 36, 99, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 36, 99, 0.10);
  --shadow-lg: 0 8px 32px rgba(10, 36, 99, 0.14);
  --shadow-xl: 0 16px 48px rgba(10, 36, 99, 0.18);
  --shadow-glow-accent: 0 0 30px rgba(0, 212, 170, 0.35);
  --shadow-glow-primary: 0 0 30px rgba(10, 36, 99, 0.25);
  --shadow-glow-cta: 0 0 30px rgba(255, 107, 53, 0.35);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-full: 50%;
  --radius-pill: 100px;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-bg-strong: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-blur: blur(20px);
  --glass-blur-strong: blur(30px);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
  --transition-bounce: 0.5s var(--ease-bounce);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-preloader: 1000;
}

/* ---------- CSS Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-preloader);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: var(--space-lg);
  letter-spacing: 1px;
}

.preloader-logo span {
  color: var(--accent);
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease-out;
  opacity: 0.5;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--cta);
  opacity: 0.8;
}

/* ---------- Container & Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background-color: var(--bg-section-alt);
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--text-light);
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(27, 138, 107, 0.08));
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.5px;
  margin-bottom: var(--space-lg);
}

.section-dark .section-badge {
  background: rgba(0, 212, 170, 0.15);
  border-color: rgba(0, 212, 170, 0.3);
  color: var(--accent);
}

.section-badge svg {
  width: 16px;
  height: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-normal);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(10, 36, 99, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10, 36, 99, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-sticky);
  padding: var(--space-lg) 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: var(--space-sm) 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.5px;
  z-index: 10;
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-glow-accent);
}

.nav-logo .logo-text-accent {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-menu a {
  position: relative;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  z-index: 10;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 10;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-bottom: 100px; /* Ensure space at the bottom */
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  z-index: 1;
  animation: meshFloat 15s ease-in-out infinite;
}

/* Hero Decorative Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 170, 0.12);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(27, 138, 107, 0.1);
  bottom: -50px;
  left: -50px;
  animation-delay: -3s;
}

.hero-blob-3 {
  width: 250px;
  height: 250px;
  background: rgba(62, 207, 142, 0.08);
  top: 40%;
  right: 20%;
  animation-delay: -6s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: auto auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-text {
  color: var(--text-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-title .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-container {
  display: inline;
}

.typing-text {
  border-right: 3px solid var(--accent);
  animation: blink-caret 0.75s step-end infinite;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 15px;
  animation: fadeInUp 0.8s var(--ease-out) 1s both;
  margin-top: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.trust-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.15);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

.trust-item-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.trust-item-text span {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Hero Right - Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-main {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  animation: floatUp 0.8s var(--ease-out) 0.5s both;
}

.hero-card-main::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.3), transparent, rgba(27, 138, 107, 0.2));
  border-radius: inherit;
  z-index: -1;
  filter: blur(1px);
}

.hero-card-services {
  display: grid;
  gap: 8px;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  color: var(--text-white);
  font-size: 0.95rem;
}

.hero-service-item:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.25);
  transform: translateX(6px);
}

.hero-service-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-service-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Floating mini cards around hero */
.hero-float-card {
  position: absolute;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 15%;
  right: 5%;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  right: 5%;
  animation-delay: -2s;
}

.hero-float-card .float-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.hero-float-card .float-value {
  font-size: 1.3rem;
  color: var(--accent);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s var(--ease-out) 1.2s both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDown 1.5s ease-in-out infinite;
}

/* ============================================
   TRUST MARQUEE
   ============================================ */
.trust-marquee {
  padding: 20px 0;
  background: linear-gradient(90deg, rgba(0,212,170,0.1), rgba(10,36,99,0.05));
  border-top: 1px solid rgba(0, 212, 170, 0.2);
  border-bottom: 1px solid rgba(0, 212, 170, 0.2);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: var(--space-4xl);
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-body);
}

.marquee-item .marquee-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(27, 138, 107, 0.08));
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

.marquee-divider {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: var(--radius-full);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 36, 99, 0.3));
  border-radius: inherit;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #0A2463 0%, #1B8A6B 50%, #00D4AA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: var(--space-lg) var(--space-xl);
  background: var(--gradient-cta);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  font-family: var(--font-heading);
  box-shadow: var(--shadow-glow-cta);
  z-index: 2;
}

.about-experience-badge .badge-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-experience-badge .badge-text {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.about-content h2 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content > p {
  color: var(--text-body);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-body);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.about-feature:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  padding: var(--space-2xl);
  background: var(--bg-white);
  border: 1px solid rgba(10, 36, 99, 0.06);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  cursor: default;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06), transparent);
  border-radius: var(--radius-full);
  transition: all var(--transition-slow);
}

.service-card:hover::after {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12), transparent);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 212, 170, 0.2);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(27, 138, 107, 0.06));
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  font-size: 1.6rem;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--shadow-glow-primary);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--secondary);
  transition: fill var(--transition-fast);
}

.service-card:hover .service-icon svg {
  fill: var(--text-white);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--secondary);
  position: relative;
  z-index: 1;
  transition: all var(--transition-fast);
}

.service-link:hover {
  color: var(--primary);
  gap: var(--space-md);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(0, 212, 170, 0.3);
}

.stat-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow-accent);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-number .stat-suffix {
  color: var(--accent);
}

.stat-label {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.why-content .section-header {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.why-features {
  display: grid;
  gap: var(--space-lg);
}

.why-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: default;
}

.why-item:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.why-item-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-white);
  flex-shrink: 0;
}

.why-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.why-item p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
}

.why-visual {
  position: relative;
}

.why-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.why-image-card {
  padding: var(--space-xl);
  background: var(--bg-white);
  border: 1px solid rgba(10, 36, 99, 0.06);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-normal);
}

.why-image-card:nth-child(2) {
  /* margin-top removed to fix overlap */
}

.why-image-card:nth-child(3) {
  /* margin-top removed to fix overlap */
}

.why-image-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-image-card .card-emoji {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.why-image-card h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.why-image-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--bg-section-alt);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 var(--space-xl);
}

.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-3xl);
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testimonial-inner::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--space-2xl);
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: rgba(0, 212, 170, 0.15);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  color: #FFB800;
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-white);
  background: var(--gradient-primary);
}

.testimonial-info h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.testimonial-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: 40px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  z-index: 10;
}

.slider-btn:hover {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.slider-btn.prev-btn {
  left: 0;
}

.slider-btn.next-btn {
  right: 0;
}

@media (max-width: 768px) {
  .slider-btn {
    display: none; /* Hide on small screens where swipe is better */
  }
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(10, 36, 99, 0.15);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-dot.active {
  width: 36px;
  border-radius: var(--radius-pill);
  background: var(--gradient-accent);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-section {
  padding: var(--space-5xl) 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.4;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-white);
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  justify-content: center;
}

.cta-phone a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  transition: color var(--transition-fast);
}

.cta-phone a:hover {
  color: var(--text-white);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(10, 36, 99, 0.04);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image-placeholder {
  transform: scale(1.08);
}

.blog-content {
  padding: var(--space-xl);
}

.blog-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(27, 138, 107, 0.06));
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-content h3 {
  color: var(--secondary);
}

.blog-content p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-read-more {
  color: var(--secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ============================================
   EMERGENCY STRIP
   ============================================ */
.emergency-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(90deg, #FF6B35, #FF8555, #FF6B35);
  background-size: 200% 100%;
  animation: gradientSlide 4s ease infinite;
  position: relative;
  overflow: hidden;
}

.emergency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  color: var(--text-white);
}

.emergency-pulse {
  width: 16px;
  height: 16px;
  background: var(--text-white);
  border-radius: var(--radius-full);
  animation: pulse 1.5s ease-in-out infinite;
}

.emergency-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.emergency-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.emergency-btn {
  padding: 0.7rem 1.8rem;
  background: var(--text-white);
  color: var(--cta);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.emergency-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-top {
  padding: var(--space-5xl) 0 var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--gradient-accent);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links a::before {
  content: '→';
  font-size: 0.7rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-contact-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-contact-text strong {
  display: block;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-bottom {
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
  position: fixed;
  bottom: var(--space-2xl);
  right: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: var(--z-overlay);
}

.fab {
  width: 56px;
  height: 56px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.fab:hover {
  transform: scale(1.1) translateY(-2px);
}

.fab-whatsapp {
  background: #25D366;
  color: var(--text-white);
  animation: fabPulse 2s ease-in-out infinite;
}

.fab-call {
  background: var(--gradient-cta);
  color: var(--text-white);
  animation: fabPulse 2s ease-in-out infinite 0.3s;
}

.fab-top {
  background: var(--gradient-primary);
  color: var(--text-white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.fab-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Tooltip on hover */
.fab::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + var(--space-md));
  top: 50%;
  transform: translateY(-50%);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.fab:hover::after {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   WAVE SECTION DIVIDER
   ============================================ */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider-top {
  top: 0;
  bottom: auto;
  transform: rotate(180deg);
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-body);
  border: 2px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal.fade-left {
  transform: translateX(-40px);
}

.reveal.fade-right {
  transform: translateX(40px);
}

.reveal.fade-down {
  transform: translateY(-40px);
}

.reveal.fade-scale {
  transform: scale(0.9);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Staggered reveal for children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-out);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.active > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.active > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.active > *:nth-child(9) { transition-delay: 0.45s; }

.reveal-stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(15px, 10px) scale(1.02); }
}

@keyframes meshFloat {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

@keyframes blink-caret {
  from, to { border-color: var(--accent); }
  50% { border-color: transparent; }
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes gradientSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); }
  50% { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(0, 212, 170, 0.1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-subtitle {
    margin: 0 auto var(--space-2xl);
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .why-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-5xl: 5rem;
  }
  
  html {
    font-size: 14.5px;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Navbar Mobile */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: var(--space-3xl);
    gap: var(--space-xs);
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    padding: var(--space-md);
    font-size: 1.05rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  /* Mobile Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-sticky) - 1);
  }

  .nav-overlay.active {
    display: block;
  }

  /* Hero Mobile */
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 10px;
    justify-content: center;
    justify-items: start;
  }
  
  .hero-trust .trust-item-text {
    font-size: 0.85rem;
  }

  .hero-float-card {
    display: none;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Stats Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-item {
    padding: var(--space-lg);
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* Why Choose Us Mobile */
  .why-image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .why-image-card:nth-child(2),
  .why-image-card:nth-child(3) {
    margin-top: 0;
  }

  /* Blog Mobile */
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Emergency Mobile */
  .emergency-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Floating Buttons Mobile */
  .floating-buttons {
    bottom: var(--space-lg);
    right: var(--space-md);
  }

  .fab {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .fab::after {
    display: none;
  }

  /* Custom Cursor - disable on mobile/touch */
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Reduced Motion */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .floating-buttons,
  .scroll-indicator,
  #preloader,
  .cursor-dot,
  .cursor-ring,
  #particleCanvas {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* ============================================
   OVERRIDES FOR MOBILE UI & HEADER
   ============================================ */

/* Floating Buttons Override */
.floating-buttons {
  z-index: 90 !important;
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: var(--space-2xl) !important; /* Move higher to avoid overlapping */
    right: var(--space-md) !important;
  }
  .scroll-indicator {
    display: none !important;
  }
}

/* Site Header & Topbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-sticky);
  transition: all var(--transition-normal);
}

.topbar {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 8px 0;
  font-size: 0.85rem;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.topbar-contact {
  display: flex;
  gap: var(--space-xl);
}

.contact-person {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.contact-person a {
  color: #25D366;
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: 50%;
}

.contact-person a:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.navbar {
  width: 100%;
  padding: var(--space-md) 0 !important;
  background: rgba(10, 22, 40, 0.85) !important;
  backdrop-filter: var(--glass-blur-strong) !important;
  -webkit-backdrop-filter: var(--glass-blur-strong) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-normal);
}

.site-header.scrolled .topbar {
  transform: translateY(-100%);
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.site-header.scrolled .navbar {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .topbar-contact {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
  }
  .topbar-inner {
    justify-content: center;
  }
  .site-header.scrolled .topbar {
    display: none;
  }
}

/* Grid Fixes */
.service-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Sidebar Upgrade */
.mobile-menu-header {
  display: none;
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    left: auto !important;
    width: 85% !important;
    max-width: 350px !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.05) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 30px var(--space-xl) var(--space-xl) !important;
    gap: 0 !important;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
  }

  .nav-menu.active {
    right: 0 !important;
  }

  .mobile-menu-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  .mobile-menu-title {
    color: var(--primary) !important;
    font-size: 1.5rem;
    font-weight: 700;
  }

  .nav-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-dark) !important;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
  }
  
  .nav-close:hover {
    color: var(--accent) !important;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: var(--space-md) 0 !important;
    font-size: 1.2rem !important;
    color: var(--text-dark) !important;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    text-align: left;
    font-weight: 600;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--primary) !important;
    background: transparent !important;
    padding-left: 10px !important;
  }
  
  .nav-menu a::after {
    display: none !important;
  }
}


/* ======== NEW MOBILE MENU STYLES ======== */
.nav-icon {
  display: none; /* Hide on desktop */
}
.mobile-login, .menu-divider, .mobile-menu-footer, .user-profile {
  display: none; /* Hide on desktop */
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    left: auto !important;
    width: 85% !important;
    max-width: 350px !important;
    height: 100vh !important;
    background: #1e2532 !important; /* Dark blue/slate background like screenshots */
    border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    gap: 0 !important;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
  }
  
  .nav-menu.active {
    right: 0 !important;
  }
  
  .mobile-menu-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 25px 20px 20px 20px;
    background: #171d28; /* Slightly darker header */
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .user-profile {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }
  
  .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ffb800; /* Yellow accent */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb800;
  }
  
  .user-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  
  .user-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
  }
  
  .user-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
  }
  
  .nav-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    margin-top: -10px;
  }
  
  .mobile-login {
    display: block !important;
    width: 100%;
    padding: 15px 20px !important;
  }
  
  .mobile-login a {
    color: #ffb800 !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    padding: 0 !important;
    border: none !important;
  }
  
  .menu-divider {
    display: block !important;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 5px 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-icon {
    display: inline-block !important;
    margin-right: 15px;
    font-size: 1.1rem;
    opacity: 0.8;
  }
  
  .nav-menu a {
    display: flex !important;
    align-items: center;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    color: rgba(255,255,255,0.85) !important;
    width: 100%;
    border-bottom: none !important;
    text-align: left;
    font-weight: 500 !important;
  }
  
  .nav-menu a:hover,
  .nav-menu a.active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.05) !important;
    padding-left: 20px !important; /* Remove the old indent */
  }
  
  .nav-menu a.active .nav-icon {
    opacity: 1;
  }
  
  .mobile-menu-footer {
    display: block !important;
    padding: 20px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    margin-top: auto;
    line-height: 1.5;
  }
  
  .mobile-menu-footer strong {
    color: #ffb800;
  }
}

/* ======== COMPACT MOBILE SCALING ======== */
@media (max-width: 768px) {
  html {
    font-size: 14px; /* Scaled down base font size for mobile (from 16px) */
  }
  
  :root {
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
    --space-4xl: 3.5rem;
    --space-5xl: 4rem;
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  h1, .h1 { font-size: 2.2rem !important; }
  h2, .h2 { font-size: 1.8rem !important; }
  h3, .h3 { font-size: 1.5rem !important; }
  h4, .h4 { font-size: 1.25rem !important; }
  
  .card, .service-card, .glass-card {
    padding: var(--space-lg) !important;
  }
}

/* ======== DESKTOP SPECIFIC FIXES ======== */
@media (min-width: 993px) {
  .mobile-only {
    display: none !important;
  }
  .nav-menu {
    gap: 15px !important;
  }
  .nav-menu a {
    padding: 8px 12px !important;
    font-size: 0.95rem !important;
  }
}


/* ======== LALPATHLABS MIX STYLE MOBILE MENU ======== */
@media (max-width: 992px) {
  .nav-menu {
    background: #ffffff !important; /* Light background */
  }
  
  .mobile-menu-header.lalpath-style {
    position: relative;
    background: #185adb !important; /* Deep Blue background */
    padding: 30px 20px 40px 20px !important;
    border-bottom: none !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border-bottom-left-radius: 40% 20px; /* Slight curve effect */
    border-bottom-right-radius: 40% 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    overflow: visible;
  }

  /* Faux Yellow curve under the blue */
  .mobile-menu-header.lalpath-style::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 15px;
    background: #ffb800;
    border-bottom-left-radius: 50% 15px;
    border-bottom-right-radius: 50% 15px;
    z-index: -1;
  }
  
  .lalpath-style .user-profile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
  }
  
  .lalpath-style .user-avatar {
    width: 30px;
    height: 30px;
    border: none;
    color: #ffb800;
  }
  
  .lalpath-style .user-name {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
  }
  
  .lalpath-style .nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffb800;
    color: #000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  .header-action-btn {
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    width: auto;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .header-action-btn a.pill-btn {
    color: #185adb !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    display: inline !important;
  }
  
  .nav-menu a {
    color: #333333 !important; /* Dark grey/black links */
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    padding: 18px 20px !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important; /* Light border between items */
  }
  
  .nav-menu a:hover,
  .nav-menu a.active {
    color: #185adb !important; /* Blue active state */
    background: rgba(24, 90, 219, 0.05) !important;
    padding-left: 20px !important; /* Don't shift */
  }
  
  .nav-menu a .nav-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    opacity: 1; /* full opacity for icons */
  }
}


/* ======== REVISED SHARP & BRAND COLOR MOBILE MENU ======== */
@media (max-width: 992px) {
  .mobile-menu-header.lalpath-style {
    background: var(--primary) !important; /* Use website primary dark blue */
    padding: 25px 20px !important; /* Remove extra padding for the curve */
    border-bottom: 4px solid var(--cta) !important; /* Sharp orange bottom border */
    border-radius: 0 !important; /* Remove any curve */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
  }

  /* Remove the faux curve completely */
  .mobile-menu-header.lalpath-style::after {
    display: none !important;
  }
  
  .lalpath-style .user-avatar {
    color: var(--cta) !important; /* Change icon to brand orange */
  }
  
  .lalpath-style .nav-close {
    background: var(--cta) !important; /* Brand orange close button */
    color: #ffffff !important;
    border-radius: 4px !important; /* Sharp square edge instead of circle */
    width: 32px !important;
    height: 32px !important;
    top: 15px !important;
    right: 15px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
  }
  
  .header-action-btn {
    margin-top: 5px !important;
    border-radius: 4px !important; /* Sharp edges */
  }
  
  .header-action-btn a.pill-btn {
    color: var(--primary) !important; /* Brand blue text */
  }
  
  .nav-menu a {
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--cta) !important; /* Orange active state instead of blue */
    background: rgba(255, 107, 53, 0.05) !important; 
  }
}


/* ======== ULTIMATE PREMIUM MOBILE MENU ======== */
@media (max-width: 992px) {
  .nav-menu {
    background: #ffffff !important;
    border-left: 1px solid rgba(0,0,0,0.05) !important;
  }
  
  .premium-glass {
    position: relative;
    background: var(--gradient-primary) !important;
    padding: 35px 25px 40px 25px !important;
    overflow: hidden;
    border-bottom: 0 !important;
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.2) !important;
    border-bottom-left-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
    margin-bottom: 20px;
    display: block !important;
  }

  .header-bg-shapes {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
  }

  .premium-profile, .header-action-btn, .premium-close {
    position: relative;
    z-index: 2;
  }
  
  .premium-profile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .avatar-ring {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
  }
  
  .user-avatar svg {
    color: #ffffff;
    width: 26px;
    height: 26px;
  }
  
  .user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .greeting {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
  }
  
  .user-name {
    color: #ffffff !important;
    font-size: 1.4rem !important;
    font-weight: 700;
  }
  
  .header-action-btn {
    display: block;
    margin-top: 15px;
  }

  .premium-pill-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    text-transform: none !important;
  }
  
  .premium-close {
    position: absolute;
    top: 25px !important;
    right: 25px !important;
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(5px);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem !important;
    transition: transform 0.3s ease;
  }

  .menu-items-wrapper {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .nav-menu a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    background: transparent !important;
    border-bottom: 0 !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    text-transform: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0 !important;
    width: 100% !important;
  }

  .menu-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .nav-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
    opacity: 0.6;
    transition: all 0.3s ease;
    display: block !important;
  }
  
  .chevron {
    width: 18px;
    height: 18px;
    color: #cbd5e1;
    transition: all 0.3s ease;
    display: block !important;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: #f8fafc !important;
    color: var(--primary) !important;
    padding-left: 20px !important; /* Fixed padding shift */
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
  }

  .nav-menu a:hover .nav-icon,
  .nav-menu a.active .nav-icon {
    color: var(--cta);
    opacity: 1;
    transform: scale(1.15);
  }

  .nav-menu a:hover .chevron,
  .nav-menu a.active .chevron {
    color: var(--cta);
    transform: translateX(4px);
  }
}

@media (min-width: 993px) {
  .nav-menu .nav-icon, .nav-menu .chevron {
    display: none !important;
  }
  .menu-items-wrapper {
    display: contents; /* Allows flex to bypass the wrapper */
  }
}


/* ======== DESKTOP SPECIFIC FIXES (HARD LOCK) ======== */
@media (min-width: 993px) {
  /* Prevent the mobile div structure from breaking desktop links */
  .menu-item-left {
    display: contents !important; 
  }
  
  /* Reset the anchor tag itself to behave like a normal inline link on desktop */
  .nav-menu a {
    display: inline-block !important;
    text-align: center !important;
    justify-content: center !important;
    width: auto !important;
    background: transparent !important;
    color: rgba(255,255,255,0.75) !important;
    padding: 8px 12px !important;
    border-radius: var(--radius-sm) !important;
    transform: none !important;
    box-shadow: none !important;
  }

  /* Desktop active/hover state */
  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--text-white) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    transform: none !important;
    box-shadow: none !important;
  }

  /* Desktop underline effect */
  .nav-menu a::after {
    display: block !important;
    content: '' !important;
  }
}


/* ======== TOPBAR OVERRIDES ======== */
.topbar-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 8px 0 !important;
  font-size: 0.85rem !important;
}

.topbar-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.topbar-location svg {
  color: var(--accent);
}

.topbar-contact {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
}

.topbar-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.topbar-contact a:hover {
  color: var(--accent);
}

.topbar-contact svg {
  color: var(--accent);
}

@media (max-width: 992px) {
  .topbar {
    display: none !important; /* Hide topbar on mobile for cleaner look */
  }
}


/* ======== FIX NAVBAR OVERLAP WITH TOPBAR ======== */
.navbar {
  position: relative !important; /* Override fixed top 0 so it sits below topbar */
  top: auto !important;
}


/* ======== FIX HERO PADDING FOR TALLER HEADER ======== */
.hero, .page-header {
  padding-top: 130px !important; 
}

@media (max-width: 992px) {
  .hero, .page-header {
    padding-top: 90px !important; /* Topbar is hidden on mobile, so less padding needed */
  }
}


/* ======== TOPBAR RED & SMOOTH SCROLL FIX ======== */

/* 1. Red Background & Reduced Height */
.topbar {
  background: #d32f2f !important; /* Red */
}
.topbar-inner {
  padding: 4px 0 !important; /* Reduced height */
}

/* 2. Natural Smooth Scroll (No abrupt JS hide) */
.site-header {
  position: relative !important; /* Let it scroll naturally with page */
  top: 0 !important;
}

.navbar {
  position: sticky !important; /* Sticks when topbar scrolls out of view */
  top: 0 !important;
  z-index: 1000 !important;
}

/* Override any JS that tries to hide the topbar abruptly */
.site-header.scrolled .topbar {
  display: block !important;
  transform: none !important;
  position: relative !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* 3. Reset Hero padding since header is no longer fixed over it */
.hero, .page-header {
  padding-top: 4rem !important; 
}


/* ======== TOPBAR HEIGHT REDUCTION ======== */
.topbar {
  padding: 3px 0 !important; /* Drastically reduce padding */
}

.topbar-inner {
  padding: 0 !important; /* Remove inner padding entirely */
  font-size: 0.8rem !important; /* Slightly smaller text for slim look */
}

.topbar-location, .topbar-contact a {
  line-height: 1.2 !important; /* Reduce line height */
}


/* ======== FINAL TOPBAR HEIGHT & STICKY FIX ======== */

/* Increase Topbar height slightly as requested */
.topbar {
  padding: 8px 0 !important; /* A bit more height */
}

.topbar-inner {
  font-size: 0.85rem !important; /* Restore normal readable font size */
}

/* Fix for position: sticky not working */
body {
  overflow-x: clip !important; /* 'clip' prevents horizontal scroll but ALLOWS sticky! */
}

.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important; /* ensure shadow when sticky */
}


/* ======== BULLETPROOF STICKY NAVBAR FIX ======== */

/* 1. Restore fixed header so it never leaves the screen */
.site-header {
  position: fixed !important; 
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: var(--z-sticky) !important;
}

/* 2. Topbar setup for smooth collapse */
.topbar {
  padding: 8px 0 !important; /* Proper height */
  max-height: 50px !important; /* Arbitrary max-height larger than actual height for transition */
  overflow: hidden !important;
  opacity: 1 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block !important;
  position: relative !important;
  transform: none !important;
}

/* 3. Smooth collapse when scrolled */
.site-header.scrolled .topbar {
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* 4. Fix Navbar */
.navbar {
  position: relative !important; /* It stays inside site-header naturally */
  top: auto !important;
}

/* 5. Ensure Hero has enough padding for the fixed header */
.hero, .page-header {
  padding-top: 140px !important; 
}


/* ======== ULTIMATE PERFORMANT HEADER FIX (NO LAG, NO GAPS) ======== */

/* 1. Header is fixed and uses GPU-accelerated transform for animation */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  transform: translateY(0) !important;
  transition: transform 0.3s ease-in-out !important;
  z-index: 9999 !important;
}

/* 2. Topbar gets a strict, exact height so we can translate exactly that amount */
.topbar {
  height: 38px !important; /* Exact height */
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  max-height: none !important; /* Undo previous max-height trick */
  opacity: 1 !important;
  background: #d32f2f !important;
}

.topbar-inner {
  padding: 0 !important;
  width: 100%;
}

/* 3. Undo any previous scrolled hiding rules for topbar */
.site-header.scrolled .topbar {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
  transform: none !important;
  max-height: none !important;
}

/* 4. Navbar sits normally under topbar */
.navbar {
  position: relative !important;
  top: auto !important;
  margin-top: 0 !important;
}

/* 5. The Magic: Slide the entire header up by EXACTLY the topbar's height (38px) ONLY on desktop */
@media (min-width: 993px) {
  .site-header.scrolled {
    transform: translateY(-38px) !important;
  }
}

@media (max-width: 992px) {
  .site-header.scrolled {
    transform: translateY(0) !important; /* Mobile doesn't have topbar, so no translation */
  }
}

/* 6. Ensure hero isn't hidden under header */
.hero, .page-header {
  padding-top: 130px !important;
}


/* ======== NATIVE SCROLL TOPBAR + FIXED NAVBAR (ZERO LAG) ======== */
/* 1. Header is absolute so it scrolls naturally with the page */
.site-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  transform: none !important;
  transition: none !important;
  background: transparent !important;
}

/* 2. Topbar is completely normal */
.topbar {
  display: flex !important;
  height: auto !important;
  padding: 8px 0 !important;
  opacity: 1 !important;
  transform: none !important;
  position: relative !important;
  max-height: none !important;
  background: #d32f2f !important;
}

/* 3. Navbar is normal initially */
.navbar {
  position: relative !important;
  top: auto !important;
  transform: none !important;
}

/* 4. The Magic: When scrolled, ONLY the Navbar becomes fixed! */
.site-header.scrolled .navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  animation: slideDownNav 0.4s ease-out forwards !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

/* Ensure topbar does NOT hide abruptly or jump around when scrolled */
.site-header.scrolled .topbar {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  max-height: none !important;
  position: relative !important;
}

@keyframes slideDownNav {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* 5. Fix Hero padding to account for the absolute header */
.hero, .page-header {
  padding-top: 130px !important; 
}


/* ======== FIX FOR FIXED NAVBAR NOT STICKING ======== */
/* Previous transform rules broke position: fixed. We must kill them all. */

.site-header.scrolled {
  transform: none !important;
}

@media (min-width: 993px) {
  .site-header.scrolled {
    transform: none !important;
  }
}

@media (max-width: 992px) {
  .site-header.scrolled {
    transform: none !important;
  }
}


/* ======== REMOVE ANIMATION FOR INSTANT STICK ======== */
.site-header.scrolled .navbar {
  animation: none !important;
  transition: none !important; /* ensure no weird fading or jumping */
}


/* ======== ULTIMATE ZERO-LAG STICKY FIX (CSS NATIVE) ======== */

/* 1. Remove absolute positioning and use Native CSS Sticky */
.site-header {
  position: sticky !important;
  top: -31px !important; /* Exactly the height of the topbar */
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
}

/* 2. Force Topbar to be exactly 31px tall so the math is perfect */
.topbar {
  height: 31px !important;
  min-height: 31px !important;
  max-height: 31px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  background: #d32f2f !important;
  opacity: 1 !important;
  transform: none !important;
  position: relative !important;
}

.topbar-inner {
  padding: 0 !important;
  width: 100%;
}

/* 3. Navbar is just normal inside the sticky header */
.navbar {
  position: relative !important;
  top: auto !important;
  transform: none !important;
  animation: none !important; /* Stop all slide down animations */
  transition: none !important;
}

/* 4. Kill all JS-based position changes when scrolling */
.site-header.scrolled .navbar {
  position: relative !important;
  animation: none !important;
  top: auto !important;
  /* Keep box-shadow for style */
  box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

.site-header.scrolled .topbar {
  display: flex !important;
  max-height: 31px !important;
  opacity: 1 !important;
  position: relative !important;
  transform: none !important;
}

/* 5. Mobile override - Topbar is hidden, so header should stick at top: 0 */
@media (max-width: 992px) {
  .site-header {
    top: 0 !important;
  }
}

/* 6. Clean up Hero padding since sticky header takes up normal space */
.hero, .page-header {
  padding-top: 0 !important; 
}


/* ====================================================
   NUCLEAR ZERO-LAG STICKY FIX (NO JS GLITCHES)
   ==================================================== */

/* Force exact dimensions and pure CSS sticky */
.site-header {
  position: sticky !important;
  top: -32px !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.topbar {
  display: flex !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  align-items: center !important;
  overflow: hidden !important;
  background: #d32f2f !important;
  opacity: 1 !important;
  transform: none !important;
  position: relative !important;
  top: 0 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: none !important;
}

.navbar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  transform: none !important;
  animation: none !important; 
  transition: none !important;
  margin: 0 !important;
  /* Permanent soft shadow */
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

/* Mobile override */
@media (max-width: 992px) {
  .site-header {
    top: 0 !important;
  }
}


/* ====================================================
   TOPBAR ONLY ON HOME PAGE
   ==================================================== */
/* By default on all pages (non-home): */
.topbar {
  display: none !important; /* Hide everywhere else */
}
.site-header {
  top: 0 !important; /* No negative top needed if no topbar */
}

/* ONLY on Home Page (body.home): */
body.home .topbar {
  display: flex !important; /* Show on home */
}
@media (min-width: 993px) {
  body.home .site-header {
    top: -32px !important; /* Re-enable the sticky scroll trick only on home */
  }
}


/* =========================================
   PREMIUM UI OVERHAUL (Added via Agent)
   ========================================= */

.service-card, .why-image-card, .testimonial-card, .stats-card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 10px 30px rgba(10, 36, 99, 0.05), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  border-radius: 28px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: visible !important;
}

.service-card:hover, .why-image-card:hover, .testimonial-card:hover, .stats-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 25px 50px rgba(10, 36, 99, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  border-color: rgba(0, 212, 170, 0.3) !important;
}

.service-icon {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(27, 138, 107, 0.15)) !important;
  border: 1px solid rgba(0, 212, 170, 0.2) !important;
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.2) !important;
  transition: all 0.4s ease !important;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg) !important;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.25), rgba(27, 138, 107, 0.25)) !important;
  box-shadow: 0 15px 35px rgba(0, 212, 170, 0.35) !important;
}

.service-title {
  font-weight: 800 !important;
  background: linear-gradient(135deg, #0A2463, #1B8A6B) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Floating Hero Cards Premium Touch */
.hero-float-card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 15px 35px rgba(10, 36, 99, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  animation: floatPremium 6s ease-in-out infinite !important;
  color: #1a202c !important; /* Make text visible on light background */
}

@keyframes floatPremium {
  0% { transform: translateY(0px); box-shadow: 0 15px 35px rgba(10, 36, 99, 0.1); }
  50% { transform: translateY(-15px); box-shadow: 0 25px 45px rgba(10, 36, 99, 0.15); }
  100% { transform: translateY(0px); box-shadow: 0 15px 35px rgba(10, 36, 99, 0.1); }
}

.premium-badge {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(27, 138, 107, 0.15)) !important;
  border: 1px solid rgba(0, 212, 170, 0.3) !important;
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.2) !important;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%) !important;
  position: relative !important;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  color: rgba(0, 212, 170, 0.1);
  font-family: serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-content, .testimonial-author {
  position: relative;
  z-index: 1;
}

.why-image-card {
  text-align: center;
}

.why-image-card .card-emoji {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 133, 85, 0.1)) !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15) !important;
  border: 1px solid rgba(255, 107, 53, 0.2) !important;
  transition: all 0.4s ease !important;
  margin: 0 auto 20px auto !important;
}

.why-image-card:hover .card-emoji {
  transform: scale(1.15) !important;
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3) !important;
}

/* =========================================
   UI FIXES (Added via Agent)
   ========================================= */

.service-card, .why-image-card, .testimonial-card, .stats-card {
  overflow: hidden !important; /* Fix the bleeding background circles */
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.service-card .service-desc {
  flex-grow: 1 !important; /* Pushes the learn more link to the bottom */
}

.service-card .service-link {
  margin-top: auto !important;
}

/* Fix testimonial quote marks */
.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 10px !important;
  right: 30px !important;
  font-size: 8rem !important;
  color: rgba(0, 212, 170, 0.1) !important;
  font-family: Georgia, serif !important;
  line-height: 1 !important;
  z-index: 0 !important;
  transform: none !important;
}

/* Ensure emojis are centered perfectly */
.service-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 16px !important;
  margin-bottom: 20px !important;
}

/* Fix the learn more button alignment in services */
.service-card a {
  display: inline-block;
  margin-top: auto;
}

/* GLOBAL MOBILE OVERFLOW FIX */
html, body {
  max-width: 100vw !important;
  overflow-x: clip !important;
}
* {
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .hero-trust {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* ---------- NEW BLOG STYLES (Grid + Sidebar) ---------- */
.blog-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.blog-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  height: 220px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 15px;
  border-radius: 50px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-title {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 15px;
  font-weight: 700;
}

.blog-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
  margin-top: auto;
}

.blog-read-more svg {
  width: 16px;
  height: 16px;
}

.blog-read-more:hover {
  gap: 12px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.03);
}

.widget-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

/* Search Widget */
.search-form {
  display: flex;
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.search-form input:focus {
  border-color: var(--primary);
}

.search-form button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Categories Widget */
.widget-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-categories li {
  margin-bottom: 12px;
}

.widget-categories li:last-child {
  margin-bottom: 0;
}

.widget-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s, padding-left 0.3s;
}

.widget-categories a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.widget-categories span {
  background: rgba(0,0,0,0.04);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #666;
}

/* Recent Posts Widget */
.recent-post-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-item img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.rp-info {
  display: flex;
  flex-direction: column;
}

.rp-info a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.rp-info a:hover {
  color: var(--primary);
}

.rp-info span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 991px) {
  .blog-sidebar {
    width: 100%;
  }
}

/* =========================================================
   LALPATHLABS STYLE BLOG REDESIGN
========================================================= */

/* Top Trending Section */
.trending-section { margin-top: 80px; }
.trending-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
@media (max-width: 991px) {
  .trending-grid { grid-template-columns: 1fr; }
}

.featured-card:hover { transform: scale(1.02); transition: 0.4s; }

.booking-widget {
  background: white;
  border-radius: 12px;
}
.booking-form input:focus {
  border-color: #4A90E2 !important;
  box-shadow: 0 0 0 3px rgba(74,144,226,0.1);
}

/* Circular Categories */
.circular-categories-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.cat-circle-item { width: 160px; }
.cat-circle:hover { transform: translateY(-10px) !important; box-shadow: 0 20px 30px rgba(0,0,0,0.15) !important; }

/* Horizontal Cards (Recent Articles) */
.horizontal-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 991px) {
  .horizontal-cards-grid { grid-template-columns: 1fr; }
}

.horizontal-card {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: 0.3s;
  height: 200px;
}
.horizontal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.horizontal-card-image {
  flex: 0 0 40%;
  overflow: hidden;
}
.horizontal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.horizontal-card:hover .horizontal-card-image img {
  transform: scale(1.1);
}
.horizontal-card-content {
  flex: 0 0 60%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.horizontal-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.horizontal-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: 0.3s;
}
.horizontal-card-title a:hover { color: #4A90E2; }
.horizontal-card-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 576px) {
  .horizontal-card { flex-direction: column; height: auto; }
  .horizontal-card-image { height: 200px; }
}

/* =========================================================
   CUSTOM PREMIUM BLOG STYLES (Meerut Home Care)
========================================================= */

/* Hero Section additions */
.page-header h1.reveal { animation-delay: 0.2s; }
.page-header p.reveal { animation-delay: 0.4s; }

/* Custom Form Glassmorphism */
.custom-glass-form {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.custom-glass-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}
.custom-glass-form select:focus,
.custom-glass-form input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1) !important;
}

/* Category Circles Custom */
.cat-circle {
  border: 2px solid transparent !important;
}
.cat-circle-item:hover .cat-circle {
  border-color: var(--primary) !important;
  transform: translateY(-15px) !important;
  box-shadow: 0 20px 40px rgba(0, 212, 170, 0.15) !important;
}
.cat-circle-item h4 { transition: color 0.3s; }
.cat-circle-item:hover h4 { color: var(--primary) !important; }

/* Newsletter Banner */
.newsletter-banner input:focus {
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2) !important;
}
.newsletter-banner button:hover {
  background: white !important;
  color: var(--primary-dark) !important;
}

/* Horizontal Cards refinement */
.horizontal-card {
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}
.horizontal-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(0,212,170,0.2);
}
.horizontal-card-title a:hover { color: var(--primary); }

/* =========================================================
   V2 FRESH START BLOG STYLES (Meerut Home Care)
========================================================= */

body { background-color: #fafafa; }
.v2-blog-main { padding-top: 80px; } /* Space for navbar */

/* Global Section Headings */
.v2-section-head { margin-bottom: 40px; text-align: center; }
.v2-section-head h2 { font-size: 2.5rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 10px; }
.v2-section-head p { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }

/* 1. Search Bar */
.v2-search-bar-section { background: white; padding: 20px 0; border-bottom: 1px solid #eaeaea; }
.v2-search-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.v2-search-form { display: flex; align-items: center; background: #f5f7f9; border-radius: 50px; padding: 5px 5px 5px 20px; flex: 1; max-width: 600px; border: 1px solid #eaeaea; transition: 0.3s; }
.v2-search-form:focus-within { background: white; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1); }
.v2-search-form svg { stroke: #888; width: 20px; height: 20px; }
.v2-search-form input { flex: 1; border: none; background: transparent; padding: 12px 15px; outline: none; font-size: 1rem; color: #333; font-family: inherit; }
.v2-search-form button { background: var(--primary); color: white; border: none; padding: 12px 25px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.v2-search-form button:hover { background: var(--primary-dark); }
.v2-quick-links { display: flex; gap: 15px; align-items: center; font-size: 0.9rem; }
.v2-quick-links span { color: #888; font-weight: 600; }
.v2-quick-links a { color: var(--primary-dark); text-decoration: none; font-weight: 500; transition: 0.3s; }
.v2-quick-links a:hover { color: var(--primary); text-decoration: underline; }

@media (max-width: 768px) {
  .v2-search-bar-inner { flex-direction: column; align-items: stretch; }
  .v2-quick-links { overflow-x: auto; padding-bottom: 10px; }
}

/* 2. Mega Hero */
.v2-mega-hero { padding: 40px 0; }
.v2-mega-card { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); display: flex; align-items: flex-end; min-height: 550px; }
.v2-mega-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: 0.8s ease; }
.v2-mega-card:hover .v2-mega-image { transform: scale(1.05); }
.v2-mega-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%); }
.v2-mega-content { position: relative; z-index: 2; padding: 50px; max-width: 800px; }
.v2-mega-badge { display: inline-block; padding: 6px 15px; background: var(--primary); color: white; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 50px; margin-bottom: 20px; }
.v2-mega-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.v2-mega-title a { color: white !important; text-decoration: none; }
.v2-mega-title a:hover { text-decoration: underline; }
.v2-mega-desc { color: rgba(255,255,255,0.9); font-size: 1.15rem; line-height: 1.6; margin-bottom: 30px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v2-mega-author { display: flex; align-items: center; gap: 15px; }
.v2-author-avatar { width: 45px; height: 45px; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1.2rem; border: 1px solid rgba(255,255,255,0.4); }
.v2-author-name { color: white; font-weight: 700; font-size: 1rem; }
.v2-author-date { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

@media (max-width: 768px) {
  .v2-mega-card { min-height: 450px; }
  .v2-mega-content { padding: 30px; }
}

/* 3. Circular Services */
.v2-circular-services { padding: 80px 0; background: white; }
.v2-circles-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.v2-circle-item { text-align: center; width: 150px; cursor: pointer; }
.v2-circle-icon { width: 120px; height: 120px; margin: 0 auto 20px; background: #f8f9fa; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3rem; transition: 0.4s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.03); border: 2px solid transparent; }
.v2-circle-item:hover .v2-circle-icon { background: white; border-color: var(--primary); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 212, 170, 0.15); }
.v2-circle-item h4 { font-weight: 700; color: var(--primary-dark); font-size: 1.1rem; margin-bottom: 5px; transition: 0.3s; }
.v2-circle-item:hover h4 { color: var(--primary); }
.v2-circle-item span { color: #888; font-size: 0.85rem; }

/* 4. Health Videos */
.v2-videos-section { padding: 80px 0; background: #f0f4f8; }
.v2-btn-outline { display: inline-block; padding: 10px 25px; border: 2px solid var(--primary-dark); color: var(--primary-dark); border-radius: 50px; font-weight: 700; text-decoration: none; transition: 0.3s; font-size: 0.9rem; letter-spacing: 1px; }
.v2-btn-outline:hover { background: var(--primary-dark); color: white; }
.v2-videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.v2-video-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; cursor: pointer; }
.v2-video-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.v2-video-thumb { height: 220px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.v2-video-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); transition: 0.3s; }
.v2-video-card:hover .v2-video-thumb::after { background: rgba(0,0,0,0.5); }
.v2-play-btn { width: 60px; height: 60px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.5rem; position: relative; z-index: 2; transition: 0.3s; padding-left: 5px; }
.v2-video-card:hover .v2-play-btn { transform: scale(1.1); background: var(--primary); color: white; }
.v2-video-info { padding: 25px; }
.v2-video-info h4 { font-size: 1.2rem; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; line-height: 1.4; }
.v2-video-info p { color: #666; font-size: 0.95rem; margin: 0; }

@media (max-width: 991px) {
  .v2-videos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .v2-videos-grid { grid-template-columns: 1fr; }
  .v2-section-head { flex-direction: column; align-items: flex-start !important; gap: 20px; }
}

/* 5. Consultation Banner */
.v2-consultation-banner { padding: 0 0 80px 0; background: #fafafa; margin-top: -40px; position: relative; z-index: 10; }
.v2-banner-inner { background: var(--gradient-primary); border-radius: 20px; padding: 50px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; box-shadow: 0 20px 40px rgba(0, 212, 170, 0.2); position: relative; overflow: hidden; }
.v2-banner-inner::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.1); top: -100px; right: -50px; }
.v2-banner-text { position: relative; z-index: 2; max-width: 600px; }
.v2-banner-text h2 { color: white; font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.v2-banner-text p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin: 0; }
.v2-banner-action { position: relative; z-index: 2; }
.v2-btn-solid { display: inline-block; padding: 16px 35px; background: white; color: var(--primary-dark); border-radius: 50px; font-weight: 800; text-decoration: none; font-size: 1.1rem; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.v2-btn-solid:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

/* 6. Recent Articles Masonry */
.v2-recent-articles { padding: 80px 0; background: white; }
.v2-masonry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.v2-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid #eaeaea; transition: 0.4s; display: flex; flex-direction: column; }
.v2-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: transparent; }
.v2-card-img-wrap { position: relative; display: block; overflow: hidden; padding-top: 60%; }
.v2-card-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.v2-card:hover .v2-card-img { transform: scale(1.05); }
.v2-card-badge { position: absolute; top: 15px; left: 15px; background: white; color: var(--primary-dark); padding: 5px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.v2-card-content { padding: 25px; display: flex; flex-direction: column; flex: 1; }
.v2-card-title { font-size: 1.25rem; font-weight: 800; line-height: 1.4; margin-bottom: 12px; }
.v2-card-title a { color: #1a1a1a; text-decoration: none; transition: 0.3s; }
.v2-card-title a:hover { color: var(--primary); }
.v2-card-excerpt { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.v2-card-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eaeaea; padding-top: 15px; margin-top: auto; }
.v2-card-date { color: #999; font-size: 0.85rem; font-weight: 500; }
.v2-card-link { color: var(--primary); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.v2-card-link:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .v2-masonry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .v2-masonry-grid { grid-template-columns: 1fr; }
}

/* Pagination */
.v2-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.v2-pagination .page-btn { width: 45px; height: 45px; border-radius: 50%; border: 1px solid #eaeaea; background: white; color: #555; font-weight: 700; font-size: 1rem; cursor: pointer; transition: 0.3s; }
.v2-pagination .page-btn:hover { border-color: var(--primary); color: var(--primary); }
.v2-pagination .page-btn.active { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 5px 15px rgba(0, 212, 170, 0.3); }



/* =========================================================
   BLOG V3 (Final Clean Layout)
========================================================= */

/* Search Section */
.blog-search-section {
  padding: 120px 0 60px;
  background: var(--bg-body);
}
.search-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}
.search-wrapper input {
  width: 100%;
  padding: 20px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
  background: white;
}
.search-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(10, 36, 99, 0.1);
}
.search-btn {
  position: absolute;
  right: 15px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}
.search-btn:hover {
  background: var(--primary-light);
}
.search-btn svg { width: 20px; height: 20px; }

/* Blog Grid */
.blog-recent-section {
  padding: 0 0 80px;
  background: var(--bg-body);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Blog Card */
.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.blog-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.blog-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-category {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.blog-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 15px;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--secondary); }
.blog-card-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eaeaea;
  padding-top: 15px;
  margin-top: auto;
}
.blog-card-date {
  color: #999;
  font-size: 0.85rem;
  font-weight: 500;
}
.blog-card-readmore {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.blog-card-readmore:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* We Care Like Family Banner */
.we-care-banner-section {
  padding: 60px 0 80px;
  background: var(--bg-body);
}
.we-care-card {
  background: #E8EAF6; /* Light purple/blue similar to screenshot */
  border-radius: 20px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.we-care-content h2 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.we-care-content p {
  color: #555;
  font-size: 1.05rem;
  margin: 0;
}
.we-care-stats {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.we-care-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.we-care-stats .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.we-care-stats .stat-icon.pink-icon { background: #FCE4EC; color: #E91E63; }
.we-care-stats .stat-icon.yellow-icon { background: #FFF9C4; color: #FBC02D; }
.we-care-stats .stat-icon.red-icon { background: #FFEBEE; color: #F44336; }
.we-care-stats .stat-icon svg { width: 24px; height: 24px; }

.we-care-stats .stat-text {
  display: flex;
  flex-direction: column;
}
.we-care-stats .stat-text strong {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}
.we-care-stats .stat-text span {
  color: #666;
  font-size: 0.85rem;
}

/* Post Content Formatting */
.post-content h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 700;
}
.post-content p {
  margin-bottom: 20px;
}
.post-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}
.post-content li {
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .we-care-card { flex-direction: column; text-align: center; }
  .we-care-stats { justify-content: center; }
}

/* ======== ZERO LAG PURE CSS STICKY NAVBAR ======== */
.site-header {
  display: contents !important;
}
.topbar {
  position: relative !important;
  z-index: 1003 !important;
}
.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1004 !important;
}


.navbar {
  transform: none !important;
  animation: none !important;
  transition: background-color 0.3s ease !important;
}


/* ======== ULTIMATE NAVBAR ACTIVE STATE (ALL PAGES) ======== */
@media (min-width: 993px) {
  .nav-menu a.active, .nav-menu a:hover {
    background: rgba(0, 212, 170, 0.2) !important; /* Elegant transparent green pill */
    color: #fff !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    box-shadow: none !important;
  }
  .nav-menu a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(0) !important;
    width: 60% !important;
    height: 3px !important;
    background: #00D4AA !important; /* Bright green underline */
    border-radius: 3px !important;
    transition: transform 0.3s ease !important;
    display: block !important;
    z-index: 10 !important;
  }
  .nav-menu a.active::after, .nav-menu a:hover::after {
    transform: translateX(-50%) scaleX(1) !important;
  }
}




/* Topbar Dropdown Mobile Fixes */
.contact-dropdown-btn { display: none; }
.topbar-contact-links { display: flex; gap: 20px; align-items: center; }

@media (max-width: 768px) {
  .topbar-inner {
    align-items: center;
  }
  .topbar-location {
    white-space: nowrap !important;
  }
  .topbar-contact { 
    position: relative; 
    margin-left: auto; 
    justify-content: flex-end; 
  }
  button.contact-dropdown-btn.desktop-hidden {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
  }
  button.contact-dropdown-btn.desktop-hidden:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.96);
  }
  .topbar-contact-links {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-radius: 12px;
    z-index: 9999;
    margin-top: 0;
    min-width: 240px;
    gap: 15px !important;
  }
  /* The upward arrow */
  .topbar-contact-links::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 25px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0,0,0,0.04);
  }
  
  .topbar-contact-links.show {
    display: flex !important;
  }
  
  .topbar-contact-links a {
    color: #333 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    position: relative !important;
    line-height: 1.5 !important;
  }
  
  .topbar-contact-links a svg {
    color: #d32f2f !important;
    width: 18px !important;
    height: 18px !important;
  }
}

/* Fix Topbar Overflow for Dropdown */
@media (max-width: 768px) {
  .topbar { overflow: visible !important; }
  .topbar-inner { overflow: visible !important; }
  .nav-container { overflow: visible !important; }
  .site-header { overflow: visible !important; }
}


@media (max-width: 768px) {
  .topbar-contact-links a[href^="tel:"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Hero Trust Mobile 2-Column Fix */
@media (max-width: 768px) {
  .hero-trust {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px 5px !important;
    justify-content: center !important;
    justify-items: center !important;
    max-width: 100% !important;
  }
  .hero-trust .trust-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 5px !important;
    align-items: center !important;
    width: 100% !important;
  }
  .hero-trust .trust-item-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }
  .hero-trust .trust-item-text {
    font-size: 0.75rem !important;
  }
  .hero-trust .trust-item-text span {
    font-size: 0.65rem !important;
  }
}

/* Hero Contacts Mobile Fix */
@media (max-width: 768px) {
  .desktop-contact-item { display: none !important; }
  .mobile-contact-names { display: flex !important; margin-top: 10px; }
  .hero-badge { margin: 0 auto 15px auto !important; }
  .hero-contacts { justify-content: center !important; width: 100% !important; text-align: center !important; margin: 0 auto !important; }
}

/* --- Global Search and Call Buttons --- */

/* Desktop Extra Nav Items */
.desktop-nav-extras {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
}

.search-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.3s;
}
.search-icon-btn:hover {
  background: rgba(0,0,0,0.05);
  color: var(--accent);
}

.direct-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366; /* WhatsApp/Call green */
  color: white !important;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}
.direct-call-btn:hover {
  background: #1ebc59;
  transform: translateY(-2px);
}

/* Mobile Nav Extras */
.mobile-nav-extras {
  display: none;
  align-items: center;
  gap: 15px;
  margin-right: 15px;
  margin-left: auto; /* Pushes it to the right next to the toggle button */
}

/* Also make the mobile call icon a green circle to match desktop */
.mobile-call-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25D366;
  color: white !important;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}
.mobile-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-dark);
}

.mobile-nav-extras a, .mobile-nav-extras button {
  color: var(--text-dark);
  display: flex;
  background: transparent;
  border: none;
  padding: 5px;
}

@media (max-width: 992px) {
  .desktop-nav-extras { display: none; }
  .mobile-nav-extras { display: flex; }
}

/* Search Overlay Modal */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  width: 90%;
  max-width: 700px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}

.search-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  gap: 15px;
}

.search-header input {
  flex: 1;
  border: none;
  font-size: 1.1rem;
  font-family: inherit;
  outline: none;
  background: transparent;
}

.search-header button {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}
.search-header button:hover { color: #d32f2f; }

.search-results {
  max-height: 60vh;
  overflow-y: auto;
}

.search-result-item {
  display: block;
  padding: 15px 20px;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.search-result-item:hover {
  background: #fafafa;
}

.search-result-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.search-result-snippet {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}
.search-result-snippet mark {
  background: rgba(0, 212, 170, 0.2);
  color: var(--primary);
  padding: 0 2px;
  border-radius: 2px;
}
.search-loading, .search-no-results {
  padding: 30px;
  text-align: center;
  color: #666;
}

/* --- PERFECT NAV CENTERING --- */
@media (min-width: 993px) {
  .nav-container {
    position: relative;
  }
  .nav-menu {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
  }
}

/* --- PREMIUM DESKTOP NAV EXTRAS --- */
.desktop-nav-extras {
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  z-index: 10; /* Keep above absolute nav-menu if screen gets small */
}

.fake-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 30px !important;
  padding: 8px 16px !important;
  cursor: pointer;
  width: 200px !important;
  transition: all 0.3s ease !important;
}
.fake-search-bar:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.call-icon-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}
.call-icon-btn:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
  color: white !important;
}
.call-icon-btn svg {
  width: 20px;
  height: 20px;
}

/* Prevent nav items from wrapping to two lines */
@media (min-width: 993px) {
  .nav-menu a {
    white-space: nowrap !important;
  }
}

/* --- MOBILE VIEW FIX --- */
@media (max-width: 992px) {
  .desktop-nav-extras {
    display: none !important; /* Force hide desktop elements on mobile */
  }
}

.nav-logo {
  white-space: nowrap !important; /* Prevent logo from wrapping */
}

/* --- OVERRIDE MOBILE ICONS --- */

  .mobile-call-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #25D366 !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3) !important;
  }
  .mobile-search-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
  }

/* --- MOBILE SIDEBAR SCROLL FIX --- */
@media (max-width: 992px) {
  /* backdrop-filter and transform on ancestors break position: fixed for children! */
  .navbar, .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
  }
  
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    height: 100vh !important;
    height: 100dvh !important; /* Better for mobile browsers */
    overflow-y: auto !important; /* Allow scrolling inside the sidebar if content is long */
    overscroll-behavior: contain !important; /* Prevent scrolling the page when sidebar is scrolled */
  }
}

/* --- UTILITY CLASSES --- */
@media (max-width: 992px) {
  .desktop-only {
    display: none !important;
  }
}

.floating-buttons-left {
  position: fixed;
  bottom: var(--space-2xl);
  left: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: var(--z-overlay);
}

@media (max-width: 768px) {
  .floating-buttons-left {
    bottom: var(--space-2xl) !important;
    left: var(--space-md) !important;
  }
}

/* SEO Hidden Elements */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ======== CONTACT DROPDOWN OVERLAP FIX (MOBILE) ======== */
@media (max-width: 768px) {
  .topbar {
    overflow: visible !important;
    z-index: 10001 !important;
    position: relative !important;
  }
  .topbar .nav-container,
  .topbar .topbar-inner,
  .topbar-contact {
    overflow: visible !important;
  }
  .topbar-contact {
    position: relative !important;
    z-index: 10002 !important;
  }
  .topbar-contact-links {
    z-index: 10003 !important;
  }
  .navbar {
    z-index: 10000 !important;
  }
}
