/* ==========================================================================
   Creative IT Solutions - Healthcare Digital Marketing & Tech Design System
   Brand Colors:
     Primary Cyan / Bright Blue: #08A9E8
     Secondary Royal Blue:       #217ED5
     Deep Healthcare Navy:       #071D32
     Clinical Light Ice Blue:    #EAF6FD
     Clean White:                #FFFFFF
     Charcoal / Dark Slate:      #252A30
     WhatsApp Green:             #25D366
     Success Green:              #10B981
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800;900&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  /* Brand Tokens */
  --primary-cyan: #08A9E8;
  --primary-cyan-hover: #0796ce;
  --secondary-blue: #217ED5;
  --secondary-blue-hover: #1b6cb8;
  --deep-navy: #071D32;
  --navy-surface: #0c253d;
  --navy-card: #102e4c;
  --navy-card-border: rgba(8, 169, 232, 0.22);
  --white: #FFFFFF;
  --charcoal: #252A30;
  --charcoal-light: #3a414b;
  --light-ice: #EAF6FD;
  --light-ice-surface: #f4faff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Functional Accents */
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #20bd5a;
  --success-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #08A9E8 0%, #217ED5 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(8, 169, 232, 0.08) 0%, rgba(33, 126, 213, 0.12) 100%);
  --gradient-navy: linear-gradient(180deg, #071D32 0%, #0c253d 100%);
  --gradient-hero: linear-gradient(135deg, rgba(7, 29, 50, 0.94) 0%, rgba(7, 29, 50, 0.88) 50%, rgba(7, 29, 50, 0.75) 100%);
  --gradient-card-glow: radial-gradient(circle at 50% 0%, rgba(8, 169, 232, 0.16) 0%, transparent 70%);

  /* Typography */
  --font-heading: 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations */
  --shadow-sm: 0 1px 3px rgba(7, 29, 50, 0.08);
  --shadow-md: 0 4px 12px rgba(7, 29, 50, 0.08);
  --shadow-lg: 0 10px 25px -3px rgba(7, 29, 50, 0.1), 0 4px 6px -2px rgba(7, 29, 50, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(7, 29, 50, 0.15), 0 10px 10px -5px rgba(7, 29, 50, 0.04);
  --shadow-cyan-glow: 0 8px 30px rgba(8, 169, 232, 0.32);
  --shadow-card: 0 12px 30px rgba(7, 29, 50, 0.06);

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

  /* Layout */
  --container-max: 1240px;
  --header-height: 84px;
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--deep-navy);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--slate-600);
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-blue);
  text-decoration: none;
  transition: all 0.25s ease;
}

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

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

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  /* Critical: prevent children from causing horizontal scroll */
  min-width: 0;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(8, 169, 232, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0796ce 0%, #1b6cb8 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan-glow);
}

.btn-secondary {
  background: var(--white);
  color: var(--deep-navy);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--light-ice);
  border-color: var(--primary-cyan);
  color: var(--secondary-blue);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--secondary-blue);
  color: var(--white);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
  word-break: break-word;
  background-color: var(--light-ice);
  color: var(--secondary-blue);
  border: 1px solid rgba(8, 169, 232, 0.25);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary-cyan);
}

.badge-illustrative {
  background-color: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Section Common Styling */
.section-py {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

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

.section-bg-navy {
  background: var(--gradient-navy);
  color: var(--white);
}

.section-bg-navy h2,
.section-bg-navy h3,
.section-bg-navy p {
  color: var(--white);
}

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

.section-header .badge {
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--primary-cyan);
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.075rem);
  line-height: 1.6;
}

.section-bg-navy .section-subtitle {
  color: var(--slate-300);
}

/* ==========================================================================
   1. Site Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(7, 29, 50, 0.08);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(7, 29, 50, 0.08);
  height: 74px;
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.nav-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.nav-phone-link:hover {
  color: var(--secondary-blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--deep-navy);
  padding: 0.4rem;
}

.mobile-nav-cta {
  display: none;
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  background-color: var(--deep-navy);
  color: var(--white);
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
}

.hero-glow-effect {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 169, 232, 0.24) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-badge-wrap .badge {
  background: rgba(8, 169, 232, 0.15);
  color: #7dd3fc;
  border-color: rgba(8, 169, 232, 0.35);
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* 4 Core Pillars Grid */
.hero-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.pillar-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(8, 169, 232, 0.25);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  min-width: 0; /* Prevent text overflow in flex */
  overflow: hidden;
}

.pillar-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(8, 169, 232, 0.2);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pillar-caption {
  font-size: 0.775rem;
  color: var(--slate-300);
  margin: 0;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Hero Lead Capture Card */
.hero-form-wrapper {
  width: 100%;
}

.hero-form-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(8, 169, 232, 0.35);
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
  color: var(--deep-navy);
}

.form-header p {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin: 0;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-size: 0.925rem;
  font-family: var(--font-body);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--charcoal);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(33, 126, 213, 0.15);
}

select.form-control {
  cursor: pointer;
  appearance: auto;
}

.form-privacy-note {
  font-size: 0.725rem;
  color: var(--slate-500);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ==========================================================================
   3. Trust & Core Competency Strip
   ========================================================================== */
.trust-strip {
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--light-ice);
  color: var(--secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  line-height: 1.35;
}

/* ==========================================================================
   4. Healthcare Industry Challenges (Slide 2)
   ========================================================================== */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.challenge-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.challenge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 169, 232, 0.4);
  box-shadow: var(--shadow-lg);
}

.challenge-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-cyan);
  background: var(--light-ice);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.challenge-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.challenge-card-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.5;
}

/* The Opportunity Card */
.opportunity-banner {
  background: var(--gradient-navy);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  color: var(--white);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: center;
  box-shadow: var(--shadow-cyan-glow);
  position: relative;
  overflow: hidden;
}

.opportunity-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at right center, rgba(8, 169, 232, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.opportunity-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.opportunity-content h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.opportunity-content p {
  color: #e2e8f0;
  font-size: 1.025rem;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   5. The 7-Step Patient Acquisition Funnel (Slide 3)
   ========================================================================== */
.funnel-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
}

.funnel-step-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.35rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.funnel-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-md);
}

.funnel-step-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--secondary-blue);
  background: var(--light-ice);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.funnel-step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--light-ice-surface);
  color: var(--secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.funnel-step-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 0.4rem;
}

.funnel-step-desc {
  font-size: 0.775rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin: 0;
}

.funnel-highlight-banner {
  background: var(--light-ice);
  border: 1px solid rgba(8, 169, 232, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.funnel-highlight-banner span {
  color: var(--secondary-blue);
}

/* ==========================================================================
   6. Core Healthcare Digital Marketing Services (Slides 4, 5, 6, 13, 14)
   ========================================================================== */
.service-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--secondary-blue);
  border-color: var(--secondary-blue);
  background: var(--light-ice);
}

.tab-btn.active {
  background: var(--gradient-brand);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(8, 169, 232, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.service-tab-info h3 {
  font-size: 1.95rem;
  margin-bottom: 0.85rem;
  color: var(--deep-navy);
}

.service-tab-lead {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0; /* Critical: allow flex child to shrink */
}

.service-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--light-ice);
  color: var(--secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-feature-item strong {
  color: var(--deep-navy);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.service-feature-item p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--slate-600);
}

/* Service Preview Mockup Card */
.service-mockup-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-300);
}

.browser-address {
  margin-left: 0.5rem;
  font-size: 0.775rem;
  color: var(--slate-400);
  background: var(--slate-50);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
  flex-grow: 1;
}

/* ==========================================================================
   7. Healthcare Technology & Communication Suite (Slides 8, 9, 10, 11)
   ========================================================================== */
.tech-suite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.tech-module-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tech-module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 169, 232, 0.4);
  box-shadow: var(--shadow-xl);
}

.tech-module-header {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.tech-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand-subtle);
  color: var(--secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-module-header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.tech-module-header p {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin: 0;
}

/* Interactive WhatsApp Simulator */
.whatsapp-chat-preview {
  background: #e5ddd5;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wa-chat-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #075e54;
  color: white;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.wa-status-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.wa-status-text {
  font-size: 0.675rem;
  opacity: 0.85;
}

.wa-bubble {
  padding: 0.55rem 0.85rem;
  border-radius: 7.5px;
  font-size: 0.825rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  max-width: 85%;
  position: relative;
}

.wa-bubble-patient {
  background: #dcf8c6;
  margin-left: auto;
  color: #111b21;
}

.wa-bubble-bot {
  background: #ffffff;
  margin-right: auto;
  color: #111b21;
}

.wa-button-option {
  display: inline-block;
  background: #ffffff;
  color: #00a884;
  border: 1px solid #00a884;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  margin: 0.2rem 0.2rem 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-button-option:hover {
  background: #00a884;
  color: white;
}

/* CRM Dashboard Simulator */
.crm-preview-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-top: 1rem;
}

.crm-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.crm-stat-tile {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  text-align: center;
}

.crm-stat-label {
  font-size: 0.675rem;
  color: var(--slate-500);
  text-transform: uppercase;
  font-weight: 600;
}

.crm-stat-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.crm-enquiry-list {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.crm-enquiry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.8rem;
}

.crm-enquiry-row:last-child {
  border-bottom: none;
}

.crm-patient-name {
  font-weight: 600;
  color: var(--charcoal);
}

.crm-tag {
  font-size: 0.675rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

.crm-tag-new { background: rgba(8, 169, 232, 0.12); color: var(--secondary-blue); }
.crm-tag-app { background: rgba(16, 185, 129, 0.12); color: var(--success-emerald); }
.crm-tag-flw { background: rgba(245, 158, 11, 0.12); color: #b45309; }

/* Cloud Telephony / IVR Simulator */
.telephony-preview-box {
  background: var(--deep-navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

.telephony-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.telephony-stat {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  text-align: center;
}

.telephony-stat-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

.telephony-stat-lbl {
  font-size: 0.675rem;
  color: var(--slate-300);
}

.ivr-flow-diagram {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ivr-node {
  background: rgba(8, 169, 232, 0.15);
  border: 1px solid rgba(8, 169, 232, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  color: #7dd3fc;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   8. Medical Content Production Gallery (Slide 7)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 169, 232, 0.4);
  box-shadow: var(--shadow-lg);
}

.gallery-thumb-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

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

.gallery-thumb-img-doctor {
  object-position: center 22%;
}

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

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 29, 50, 0.85);
  color: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.gallery-card-body {
  padding: 1.35rem;
}

.gallery-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--deep-navy);
}

.gallery-card-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   9. Advertising Performance & Patient Lead Tracking (Slide 12)
   ========================================================================== */
.analytics-dashboard-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.analytics-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.analytics-metric-box {
  background: var(--light-ice-surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.metric-title {
  font-size: 0.775rem;
  color: var(--slate-500);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--deep-navy);
}

.metric-badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.metric-badge-green { background: rgba(16, 185, 129, 0.15); color: var(--success-emerald); }
.metric-badge-blue  { background: rgba(8, 169, 232, 0.15); color: var(--secondary-blue); }

.analytics-channels-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.channel-bar-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.channel-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

.channel-progress {
  height: 8px;
  background: var(--slate-100);
  border-radius: 4px;
  overflow: hidden;
}

.channel-progress-fill {
  height: 100%;
  border-radius: 4px;
}

/* ==========================================================================
   10. Who We Support Across Indian Healthcare
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary-blue);
  box-shadow: var(--shadow-md);
}

.audience-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--light-ice);
  color: var(--secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  line-height: 1;
}

.audience-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--deep-navy);
}

.audience-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.audience-pill {
  font-size: 0.725rem;
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   11. Why Creative IT Solutions (Slide 15)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
  border-color: var(--primary-cyan);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(8, 169, 232, 0.15);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.why-title {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-desc {
  font-size: 0.875rem;
  color: var(--slate-300);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   12. Contact & Consultation Engine
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-col h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.contact-info-col p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-direct-cards {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.direct-contact-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 0;
}

.direct-contact-item:hover {
  border-color: var(--secondary-blue);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.direct-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--light-ice);
  color: var(--secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-contact-title {
  font-size: 0.775rem;
  text-transform: uppercase;
  color: var(--slate-400);
  font-weight: 700;
}

.direct-contact-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-navy);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   13. Site Footer
   ========================================================================== */
.site-footer {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-top: 1.15rem;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-icon-btn:hover {
  background: var(--secondary-blue);
  color: var(--white);
  border-color: var(--secondary-blue);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--slate-600);
}

.footer-link:hover {
  color: var(--secondary-blue);
  padding-left: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
  font-size: 0.825rem;
  color: var(--slate-500);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--slate-500);
}

.footer-legal-links a:hover {
  color: var(--secondary-blue);
}

/* ==========================================================================
   14. Mobile Sticky Bottom Action Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--slate-200);
  padding: 0.65rem 1rem;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  /* Smooth slide transition */
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform: translateY(0);
  opacity: 1;
}

/* Hidden state when virtual keyboard is open */
.mobile-sticky-bar.hide-on-keyboard {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.mobile-sticky-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--deep-navy);
  color: var(--white);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 0 15px rgba(8, 169, 232, 0.2);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: slideInUp 0.3s ease;
  max-width: 90vw;
}

.toast-success {
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: #071D32;
}

.toast-error {
  border: 1px solid rgba(244, 63, 94, 0.5);
  background: #071D32;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .toast-notice {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px) + 0.85rem);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100% - 2rem);
    text-align: center;
    justify-content: center;
    font-size: 0.825rem;
    padding: 0.7rem 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Legal Pages Styling */
.legal-page {
  background-color: var(--slate-50);
}

.static-header {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.legal-content {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.legal-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-blue);
  background: var(--light-ice);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1rem;
}

.legal-card h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 2.5rem;
}

.legal-card section {
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--deep-navy);
}

.legal-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-card li {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.legal-contact-box {
  background: var(--light-ice);
  border: 1px solid rgba(8, 169, 232, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}

.legal-contact-box p {
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   RESPONSIVE SYSTEM — Full Mobile-First Breakpoints
   ========================================================================== */

/* ── Utility Classes for Responsive Grids ── */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form-h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  color: var(--deep-navy);
}

.contact-form-p {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

.section-cta-wrap {
  text-align: center;
  margin-top: 3.5rem;
}

.section-cta-wrap h3 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Nav backdrop overlay for mobile */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(7, 29, 50, 0.45);
  z-index: 999;
}
.nav-backdrop.active {
  display: block;
}

.mobile-nav-header {
  display: none;
}

/* Mobile Nav Close Button */
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
  line-height: 1;
}


/* ── Global word-wrap guard — prevent any text from overflowing ── */
h1, h2, h3, h4, h5, h6,
p, li, span, a, label, td, th,
.hero-title, .hero-desc, .section-title, .section-desc,
.pillar-title, .pillar-caption, .service-title, .service-desc,
.tech-module-title, .tech-benefit-item,
.form-label, .footer-link, .nav-link {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ── 1300px — Wide Tablet / Small Desktop ── */
@media (max-width: 1300px) {
  .nav-links {
    gap: 1.25rem;
  }
  .nav-phone-link span {
    display: none;
  }
}

/* ── 1100px — Tablet Landscape / Small Laptop ── */
@media (max-width: 1100px) {
  :root {
    --header-height: 76px;
  }

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

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-pillars-grid {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-badge-wrap {
    display: flex;
    justify-content: center;
  }

  .funnel-timeline {
    grid-template-columns: repeat(4, 1fr);
  }

  .tech-suite-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .analytics-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 900px — Tablet Portrait ── */
@media (max-width: 900px) {
  .section-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  /* Reverse order on mobile: mockup below content */
  .service-mockup-card {
    order: 2;
  }

  .service-tab-info {
    order: 1;
  }

  .challenges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .analytics-channels-grid {
    grid-template-columns: 1fr;
  }

  .opportunity-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .opportunity-icon-wrap {
    margin: 0 auto;
  }

  .tech-suite-grid {
    grid-template-columns: 1fr;
  }

  .crm-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-col h2 {
    font-size: 1.9rem;
  }
}

/* ── 768px — Mobile Landscape / Large Phone ── */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
  }

  /* ── Navigation ── */
  .nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(7, 29, 50, 0.6);
    z-index: 1001;
    display: none;
  }

  .nav-backdrop.active {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 320px);
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    padding: 0;
    box-shadow: -6px 0 30px rgba(7, 29, 50, 0.25);
    transform: translateX(105%);
    opacity: 1;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--slate-200);
    background: var(--light-ice-surface);
  }

  .mobile-nav-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--deep-navy);
    font-size: 1rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 0.75rem 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--slate-100);
    width: 100%;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-nav-cta {
    display: block;
    width: 100%;
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-phone-link {
    font-size: 0.8rem;
  }

  .nav-phone-link span {
    display: inline;
  }

  /* ── Hero ── */
  .hero-section {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-glow-effect {
    width: 280px;
    height: 280px;
    right: -20px;
  }

  .hero-title {
    font-size: 1.9rem;
    text-align: center;
  }

  .hero-desc {
    font-size: 1rem;
    text-align: center;
  }

  .hero-pillars-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-ctas .btn {
    justify-content: center;
  }

  .hero-form-card {
    padding: 1.75rem 1.25rem;
  }

  .service-mockup-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  /* ── Trust Strip ── */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* ── Section Typography ── */
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* ── Challenges ── */
  .challenges-grid {
    grid-template-columns: 1fr;
  }

  /* ── Funnel ── */
  .funnel-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .funnel-step-card {
    padding: 1.1rem 0.75rem;
  }

  .funnel-highlight-banner {
    font-size: 0.9rem;
    padding: 1rem 1.25rem;
  }

  /* ── Service Tabs — Scrollable Pill Bar on Mobile ── */
  .service-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding: 0.35rem 0.5rem 0.85rem 0.5rem;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .service-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    padding: 0.65rem 1.15rem;
    font-size: 0.825rem;
    white-space: nowrap;
    border-radius: var(--radius-full);
  }

  .tab-btn span {
    display: inline !important;
  }

  .tab-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .service-tab-grid {
    gap: 2rem;
  }

  .service-tab-info h3 {
    font-size: 1.5rem;
  }

  /* ── Tech Suite ── */
  .tech-module-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .tech-module-card {
    padding: 1.5rem;
  }

  .telephony-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ── Gallery ── */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-thumb-wrap {
    height: 200px;
  }

  /* ── Analytics ── */
  .analytics-dashboard-card {
    padding: 1.5rem 1.25rem;
  }

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

  /* ── Audience ── */
  .audience-grid {
    grid-template-columns: 1fr;
  }

  /* ── Why Grid ── */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* ── Contact ── */
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-direct-cards {
    gap: 0.85rem;
  }

  /* ── Footer ── */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  /* ── Mobile Sticky Bar ── */
  .mobile-sticky-bar {
    display: block;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom, 0.65rem));
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  /* ── Legal Pages ── */
  .legal-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .legal-card h1 {
    font-size: 1.9rem;
  }
}

/* ── 480px — Small Mobile (iPhone SE, Galaxy A) ── */
@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-py {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  /* Hero */
  .hero-title {
    font-size: 1.65rem;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.925rem;
  }

  .hero-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .pillar-card {
    padding: 0.75rem;
  }

  .hero-form-card {
    padding: 1.4rem 1rem;
    border-radius: var(--radius-lg);
  }

  .form-header h3 {
    font-size: 1.2rem;
  }

  /* Trust strip */
  .trust-grid {
    grid-template-columns: 1fr;
  }

  /* Funnel */
  .funnel-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .funnel-step-badge {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  .funnel-step-title {
    font-size: 0.8rem;
  }

  .funnel-step-desc {
    font-size: 0.7rem;
  }

  /* Service Tabs */
  .tab-btn {
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
  }

  /* CRM */
  .crm-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Telephony */
  .telephony-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Analytics */
  .analytics-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .metric-num {
    font-size: 1.5rem;
  }

  /* Why Us */
  .why-card {
    padding: 1.35rem;
  }

  /* Buttons */
  .btn-lg {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Nav phone link */
  .nav-phone-link {
    display: none;
  }

  /* Footer */
  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .footer-social-links {
    gap: 0.5rem;
    justify-content: flex-start;
  }

  /* Mobile sticky */
  .mobile-sticky-grid {
    gap: 0.5rem;
  }

  .mobile-sticky-bar .btn {
    font-size: 0.8rem;
    padding: 0.65rem 0.5rem;
  }

  /* Legal pages */
  .legal-card h1 {
    font-size: 1.6rem;
  }

  .legal-card h2 {
    font-size: 1.15rem;
  }
}

/* ── 560px — Small Tablet / Large Phone Refinements ── */
@media (max-width: 560px) {
  .funnel-timeline {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .funnel-step-card {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.15rem;
  }

  .funnel-step-badge {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .funnel-step-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* ── 360px — Very Small Devices ── */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .funnel-timeline {
    grid-template-columns: 1fr;
  }

  .analytics-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Mobile Precision Refinements — 375px · 390px · 430px
   ========================================================================== */

/* ── Sticky footer clearance so copyright/legal never hide under sticky bar ── */
@media (max-width: 768px) {
  .site-footer {
    padding-bottom: calc(2.5rem + 76px + env(safe-area-inset-bottom, 0px));
  }

  /* Footer-bottom stacks on narrow screens */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

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

/* ── 430px — iPhone Plus / Max / large Android ── */
@media (max-width: 430px) {
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .hero-form-card {
    padding: 1.35rem 0.95rem;
  }

  /* Prevent any card from exceeding viewport */
  .hero-form-card,
  .contact-form-card,
  .analytics-dashboard-card,
  .tech-module-card,
  .service-card,
  .why-card,
  .opportunity-banner {
    max-width: 100%;
    overflow-x: hidden;
  }

  .footer-legal-links a {
    font-size: 0.775rem;
  }
}

/* ── 390px — iPhone 14 / 15 / Pro ── */
@media (max-width: 390px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .hero-form-card {
    padding: 1.25rem 0.9rem;
  }

  .contact-form-card {
    padding: 1.5rem 1rem;
  }

  /* Ensure form rows never overflow */
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  /* Analytics dashboard card on tiny screen */
  .analytics-dashboard-card {
    padding: 1rem 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Ensure no horizontal scroll from container */
  .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  /* Gallery card */
  .gallery-card {
    max-width: 100%;
  }

  .gallery-thumb-wrap {
    height: 170px;
  }

  /* Mobile sticky buttons */
  .mobile-sticky-bar .btn {
    font-size: 0.775rem;
    padding: 0.6rem 0.4rem;
  }
}

/* ── 375px — iPhone SE 3rd gen / iPhone 12 mini ── */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .hero-form-card {
    padding: 1.15rem 0.8rem;
  }

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

  .form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px !important; /* Prevent iOS auto-zoom */
    padding: 0.65rem 0.75rem;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Tab nav pills */
  .tab-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.775rem;
  }

  /* CRM widget */
  .crm-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .crm-stat-tile {
    padding: 0.65rem 0.5rem;
  }

  /* Analytics */
  .analytics-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .analytics-metric-box {
    padding: 0.75rem 0.5rem;
  }

  .metric-num {
    font-size: 1.3rem;
  }

  /* Telephony */
  .telephony-stats-grid {
    gap: 0.5rem;
  }

  .telephony-stat-num {
    font-size: 1.1rem;
  }

  /* Sticky bar */
  .mobile-sticky-grid {
    gap: 0.4rem;
  }

  .mobile-sticky-bar .btn {
    font-size: 0.75rem;
    padding: 0.55rem 0.35rem;
  }

  /* Footer */
  .footer-bottom p {
    font-size: 0.775rem;
  }

  .footer-legal-links a {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   CRITICAL OVERFLOW FIX — Applied globally to prevent horizontal scroll
   on all mobile viewports (375px, 390px, 430px, 480px, 768px)
   ========================================================================== */
@media (max-width: 768px) {

  /* 1. All sections must be contained within viewport width */
  section,
  .hero-section,
  .site-header,
  .site-footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* 2. The hero glow orb must not bleed outside */
  .hero-glow-effect {
    display: none;
  }

  /* 3. Badge in hero — allow text wrapping */
  .badge {
    white-space: normal;
    word-break: break-word;
    text-align: left;
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
  }

  .hero-badge-wrap .badge {
    text-align: center;
    justify-content: center;
    line-height: 1.4;
  }

  /* 4. Buttons — allow wrap on very narrow screens */
  .btn {
    white-space: normal;
    min-width: 0;
    max-width: 100%;
  }

  /* 5. Mobile sticky bar buttons — keep nowrap but shrink text */
  .mobile-sticky-bar .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 6. Tech module body text — ensure wrap */
  .tech-benefit-item,
  .tech-benefit-text,
  .service-desc,
  .service-title,
  .pillar-title,
  .pillar-caption,
  .section-desc,
  .section-lead {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  /* 7. All cards — contained */
  .tech-module-card,
  .service-card,
  .why-card,
  .hero-form-card,
  .contact-form-card,
  .analytics-dashboard-card,
  .crm-preview-card,
  .telephony-preview-box,
  .whatsapp-chat-preview,
  .opportunity-banner,
  .gallery-card,
  .direct-contact-item {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  /* 8. Images — always contained */
  img, svg {
    max-width: 100%;
    height: auto;
  }

  /* 9. Hero content text alignment */
  .hero-content {
    max-width: 100%;
    overflow: hidden;
  }

  /* 10. Hero title — always wraps */
  .hero-title {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* 11. Form inputs full-width */
  .form-control,
  select.form-control,
  textarea.form-control,
  .btn-block {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 12. Mockup dashboard cards — allow horizontal scroll internally */
  .analytics-dashboard-card,
  .crm-preview-card,
  .telephony-preview-box {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 13. No element wider than viewport */
  * {
    max-width: 100%;
  }

  /* Allow overrides for elements that need explicit sizes */
  .hero-glow-effect,
  .ivr-flow-diagram,
  .crm-filter-buttons,
  .wa-button-row {
    max-width: 100% !important;
  }
}
