/* ==========================================================================
   GREEN OWLS BUSINESS SOLUTIONS PVT. LTD. - MODERN ULTRA-PREMIUM DESIGN SYSTEM
   Modern, Attractive, High-Performance, Dynamic Animations & Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --color-primary: #19381e;          /* Deep Forest Green (Brand primary) */
  --color-primary-dark: #0b1a0e;     /* Deep Obsidian Woodland */
  --color-primary-light: #24522c;    /* Rich Pine */
  --color-emerald: #10b981;          /* High-Tech Emerald Glow */
  --color-emerald-light: #34d399;
  --color-emerald-glow: rgba(16, 185, 129, 0.35);
  --color-emerald-subtle: rgba(16, 185, 129, 0.12);
  --color-amber: #e07a2e;            /* Brand Accent Orange/Amber from Logo */
  --color-amber-hover: #cf691d;
  --color-amber-glow: rgba(224, 122, 46, 0.35);
  --color-amber-subtle: rgba(224, 122, 46, 0.12);

  /* Backgrounds & Neutrals */
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #081109;
  --bg-dark-surface: #0f1f12;
  --bg-dark-card: rgba(15, 31, 18, 0.7);
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;

  /* Typography Colors */
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  /* Borders & Accents */
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-emerald: rgba(16, 185, 129, 0.3);
  --border-glow: 1px solid rgba(16, 185, 129, 0.25);

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(15, 35, 18, 0.08);
  --shadow-lg: 0 16px 32px -6px rgba(15, 35, 18, 0.12);
  --shadow-xl: 0 24px 48px -12px rgba(15, 35, 18, 0.18);
  --shadow-glow: 0 0 35px rgba(16, 185, 129, 0.25);
  --shadow-amber: 0 0 30px rgba(224, 122, 46, 0.25);

  /* Typography Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Dimensions */
  --header-height: 98px;             /* Elevated to give bigger logo plenty of room */
  --border-radius-sm: 10px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  --container-max: 1260px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

img, svg, picture {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
}

/* ==========================================================================
   Modern Typography & Gradients
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(1.85rem, 5vw, 3.85rem); letter-spacing: -0.03em; font-weight: 800; word-break: break-word; }
h2 { font-size: clamp(1.55rem, 3.8vw, 2.85rem); letter-spacing: -0.025em; font-weight: 800; word-break: break-word; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.95rem); letter-spacing: -0.02em; }
h4 { font-size: 1.2rem; font-weight: 700; }

.text-gradient {
  background: linear-gradient(135deg, #19381e 0%, #10b981 55%, #e07a2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #e07a2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-amber { color: var(--color-amber) !important; }
.text-emerald { color: var(--color-emerald) !important; }

/* ==========================================================================
   Layout Containers & Badges
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: var(--text-light-muted);
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--border-radius-full);
  margin-bottom: 1.25rem;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.section-tag.tag-amber {
  background: rgba(224, 122, 46, 0.12);
  color: #b45309;
  border-color: rgba(224, 122, 46, 0.25);
}

.section-tag.tag-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #34d399;
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   Buttons (Modern Shimmer, Glow & Elevation)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.9rem;
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(25, 56, 30, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #1c4523 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(25, 56, 30, 0.45);
  color: #ffffff;
}

.btn-amber {
  background: linear-gradient(135deg, var(--color-amber) 0%, #f59e0b 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(224, 122, 46, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-amber:hover {
  background: linear-gradient(135deg, #f59e0b 0%, var(--color-amber) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224, 122, 46, 0.5);
  color: #ffffff;
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

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

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.3rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Navigation Bar & PROMINENT BIGGER LOGO
   ========================================================================== */
.topbar {
  background: #09140b;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-item i {
  color: var(--color-amber);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(15, 35, 18, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

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

/* BIGGER, PROUD LOGO */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0.25rem 0;
}

.brand-logo img {
  height: 72px;                     /* Significantly enlarged as requested */
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal), filter var(--transition-normal);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}

.brand-logo:hover img {
  transform: scale(1.04);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--color-amber);
  border-radius: var(--border-radius-full);
  transition: width var(--transition-normal);
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-call-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--color-primary);
  background: var(--color-emerald-subtle);
  padding: 0.55rem 1rem;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
  transition: all var(--transition-fast);
}

.nav-call-link:hover {
  background: var(--color-emerald);
  color: #ffffff;
  transform: translateY(-1px);
}

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

/* ==========================================================================
   DYNAMIC MODERN HERO SECTION WITH AMBIENT GLOW
   ========================================================================== */
.hero {
  position: relative;
  padding: 6.5rem 0 7.5rem 0;
  background: radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 85% 75%, rgba(224, 122, 46, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(25, 56, 30, 0.05) 0%, transparent 70%),
              linear-gradient(180deg, #ffffff 0%, #f4f7f5 100%);
  overflow: hidden;
}

/* Ambient animated orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(224, 122, 46, 0.14) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: orbPulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes orbPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(20px, -20px); opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

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

.hero-title {
  margin-bottom: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero-description {
  font-size: 1.175rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 3.25rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(25, 56, 30, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.2);
  background: #ffffff;
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-visual-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 30px 70px -15px rgba(25, 56, 30, 0.35), var(--shadow-glow);
}

.hero-visual-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.floating-pill {
  position: absolute;
  padding: 0.95rem 1.35rem;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.95rem;
  border: 1px solid var(--border-light);
  z-index: 3;
  animation: floatAnim 4.5s ease-in-out infinite;
}

.floating-pill.pill-top {
  top: -24px;
  right: -20px;
}

.floating-pill.pill-bottom {
  bottom: -24px;
  left: -20px;
  animation-delay: 2.25s;
}

.pill-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.pill-icon.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-emerald);
}

.pill-icon.amber {
  background: rgba(224, 122, 46, 0.15);
  color: var(--color-amber);
}

.pill-text h5 {
  font-size: 0.925rem;
  margin-bottom: 0.15rem;
}

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

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   DYNAMIC TICKER / MARQUEE BAR
   ========================================================================== */
.partner-marquee-section {
  background: #0d1a10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.marquee-item i {
  color: var(--color-emerald);
  font-size: 1.15rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   FLAGSHIP TRAVEL CRM - INTERACTIVE TABBED SHOWCASE
   ========================================================================== */
.product-spotlight {
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(224, 122, 46, 0.12) 0%, transparent 45%),
              linear-gradient(180deg, #081109 0%, #0d1e11 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.crm-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.crm-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-full);
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.crm-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.4);
}

.crm-tab-btn.active {
  background: linear-gradient(135deg, var(--color-emerald) 0%, #059669 100%);
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.crm-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 4rem;
}

.crm-grid.reversed {
  grid-template-columns: 1.15fr 0.85fr;
}

.features-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.timeline-item {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
  align-items: flex-start;
}

.timeline-badge {
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
  color: #ffffff;
}

.timeline-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.crm-preview-box {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  background: #000000;
}

.crm-preview-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-smooth);
}

.crm-preview-box:hover img {
  transform: scale(1.02);
}

.crm-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin: 2.25rem 0;
}

.crm-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1rem;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.crm-feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateX(4px);
}

.crm-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--color-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.crm-feature-text h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.crm-feature-text p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES CARDS (MODERN GLASSMORPHISM & HOVER GLOW)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.25rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-emerald), var(--color-amber));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(25, 56, 30, 0.18);
  border-color: rgba(16, 185, 129, 0.4);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-image {
  height: 200px;
  margin: -2.5rem -2.5rem 1.85rem -2.5rem;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.service-card-image .badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(11, 20, 13, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.service-icon-box.green {
  background: var(--color-emerald-subtle);
  color: var(--color-primary);
}

.service-icon-box.amber {
  background: var(--color-amber-subtle);
  color: var(--color-amber);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

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

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

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.section-dark .service-bullets li {
  color: #e2e8f0;
}

.service-bullets li i {
  color: var(--color-emerald);
  font-size: 1.1rem;
  margin-top: 0.22rem;
  flex-shrink: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-top: auto;
}

.card-link i {
  transition: transform var(--transition-fast);
}

.card-link:hover i {
  transform: translateX(5px);
}

/* ==========================================================================
   TRUST / VALUE PROPOSITION SECTION
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.25rem;
}

.value-card {
  padding: 2.25rem;
  border-radius: var(--border-radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.35);
}

.value-icon {
  font-size: 2.25rem;
  color: var(--color-amber);
  margin-bottom: 1.25rem;
}

.value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DYNAMIC CALL TO ACTION BANNER
   ========================================================================== */
.chatbot-cta-banner {
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.25) 0%, transparent 45%),
              linear-gradient(135deg, #091a0c 0%, #16361a 100%);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.chatbot-cta-content h2 {
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.chatbot-cta-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.chatbot-interactive-trigger {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-md);
  padding: 2.25rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   FOOTER (ELEVATED & PROMINENT BRANDING)
   ========================================================================== */
.site-footer {
  background: #060e07;
  color: #cbd5e1;
  padding: 5rem 0 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-about .footer-logo {
  margin-bottom: 1.5rem;
}

.footer-about .footer-logo img {
  height: 68px;                     /* Bigger logo in footer as well */
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--color-amber);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(224, 122, 46, 0.4);
}

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

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

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

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

.footer-links a:hover {
  color: var(--color-emerald-light);
  padding-left: 6px;
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.925rem;
  color: #94a3b8;
}

.footer-contact-info i {
  color: var(--color-amber);
  margin-top: 0.25rem;
  flex-shrink: 0;
  font-size: 1rem;
}

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

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   AI CHATBOT WIDGET (DYNAMIC LEAD ENGINE)
   ========================================================================== */
.chatbot-widget-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: var(--font-body);
}

.chatbot-launcher {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-emerald) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.4);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.chatbot-launcher:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.65);
}

.chatbot-status-ping {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #ffffff;
}

.chatbot-status-ping::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.chatbot-teaser-bubble {
  position: absolute;
  right: 80px;
  bottom: 12px;
  background: #ffffff;
  color: var(--text-dark);
  padding: 0.65rem 1.15rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  animation: fadeInRight 0.4s ease;
}

.chatbot-teaser-bubble i {
  color: var(--color-amber);
}

.chatbot-window {
  position: absolute;
  bottom: 82px;
  right: 0;
  width: 395px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.3), 0 0 1px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 10000;
}

.chatbot-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-header-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-emerald-light);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
}

.chat-info h4 {
  color: #ffffff;
  font-size: 1rem;
  margin: 0;
}

.chat-info span {
  font-size: 0.775rem;
  color: #86efac;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-info span::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.chat-control-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0.4rem;
  font-size: 1.1rem;
  border-radius: 4px;
  transition: color var(--transition-fast);
}

.chat-control-btn:hover {
  color: #ffffff;
}

.chat-body {
  flex: 1;
  padding: 1.15rem;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.chat-msg {
  display: flex;
  gap: 0.65rem;
  max-width: 88%;
  animation: messageIn 0.25s ease;
}

.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }

.msg-bubble {
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  font-size: 0.925rem;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-msg.bot .msg-bubble {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-top-left-radius: 2px;
}

.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  border-top-right-radius: 2px;
}

.msg-time {
  font-size: 0.7rem;
  margin-top: 0.35rem;
  opacity: 0.7;
  text-align: right;
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.chat-chip {
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-chip:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.chat-footer {
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.chat-input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-full);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  outline: none;
  background: #f8fafc;
  transition: border-color var(--transition-fast);
}

.chat-input:focus {
  border-color: var(--color-emerald);
  background: #ffffff;
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-send-btn:hover {
  background: var(--color-emerald);
  transform: scale(1.05);
}

/* ==========================================================================
   PAGE HERO & FORMS (Inner Pages)
   ========================================================================== */
.page-hero {
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
              linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 5.5rem 0 4.5rem 0;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.175rem;
  max-width: 680px;
  margin: 0 auto 1.6rem auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: var(--color-emerald-light);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 2.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  margin: 2.25rem 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-md);
  background: var(--color-emerald-subtle);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-text h5 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-text p, .contact-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  background: #f8fafc;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-emerald);
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* Modal for viewing saved leads */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 840px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.leads-table th, .leads-table td {
  padding: 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.leads-table th {
  background: #f8fafc;
  color: var(--text-dark);
  font-weight: 700;
}

.hub-grid-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.25rem;
  text-align: center;
}

@media (max-width: 768px) {
  .hub-grid-card {
    padding: 2rem 1.25rem;
    gap: 1.75rem;
  }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Engine
   ========================================================================== */

/* --- 1. Tablet Landscape & Medium Desktops (<= 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --header-height: 82px;
  }

  .hero-grid, .crm-grid, .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2.75rem !important;
  }

  .chatbot-cta-banner {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    text-align: center;
  }

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

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
  }
}

/* --- 2. Tablets (Portrait) & Small Screens (<= 992px) --- */
@media (max-width: 992px) {
  :root {
    --header-height: 76px;
  }

  .topbar {
    display: none;
  }

  .brand-logo img {
    height: 52px;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 1.75rem 2.25rem 1.75rem;
    border-bottom: 2px solid var(--border-light);
    box-shadow: 0 25px 50px rgba(15, 35, 18, 0.18);
    gap: 0.5rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 9999;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

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

  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding: 4.5rem 0 5rem 0;
  }
}

/* --- 3. Phablets & Large Phones (<= 768px) --- */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

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

  .brand-logo img {
    height: 48px;
  }

  /* Prevent 3D skew clipping & negative floating pill overflow */
  .hero-visual-card {
    transform: none !important;
    box-shadow: var(--shadow-lg) !important;
  }

  .hero-visual-card img {
    height: 280px;
    object-fit: cover;
  }

  .floating-pill {
    animation: none; /* Disable transform animation on mobile to guarantee zero overflow */
  }

  .floating-pill.pill-top {
    top: 12px;
    right: 12px;
    padding: 0.55rem 0.85rem;
  }

  .floating-pill.pill-bottom {
    bottom: 12px;
    left: 12px;
    padding: 0.55rem 0.85rem;
  }

  .floating-pill h5 {
    font-size: 0.825rem;
  }

  .floating-pill span {
    font-size: 0.725rem;
  }

  .pill-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  /* Compact 3-Column Executive Stats Bar */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding-top: 1.5rem;
    text-align: center;
  }

  .stat-item .stat-num {
    font-size: 1.75rem;
  }

  .stat-item .stat-label {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-top: 0.25rem;
  }

  /* Horizontal Smooth Swipeable CRM Tabs */
  .crm-tabs-nav {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 0.5rem;
    padding: 0.5rem 0.25rem 0.85rem 0.25rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
  }

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

  .crm-tab-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 0.65rem 1.15rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .service-card-image {
    height: 220px !important;
  }

  .contact-form-card, .contact-info-card {
    padding: 2rem 1.35rem;
    border-radius: var(--border-radius-md);
  }

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

  /* Chatbot Widget Mobile Fit */
  .chatbot-widget {
    bottom: 18px;
    right: 18px;
  }

  .chatbot-window {
    position: fixed;
    top: auto;
    bottom: 84px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    height: calc(100dvh - 104px);
    max-height: 560px;
    border-radius: var(--border-radius-md);
  }

  .chatbot-teaser-bubble {
    display: none;
  }

  /* Modal Leads Portal Mobile Fit */
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-content {
    max-height: 90vh;
  }

  .modal-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1rem;
  }

  .leads-table {
    min-width: 580px;
  }
}

/* --- 4. Mobile Phones & Narrow Viewports (<= 600px) --- */
@media (max-width: 600px) {
  :root {
    --header-height: 66px;
  }

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

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

  .nav-cta .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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

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

  .hero {
    padding: 3.25rem 0 3.75rem 0;
  }

  .hero::before, .hero::after {
    display: none; /* Free up GPU memory & eliminate potential edge expansion on mobile */
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .hero-actions .btn, .btn-lg {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .service-card {
    padding: 1.6rem 1.25rem;
  }

  .service-card-image {
    margin: -1.6rem -1.25rem 1.35rem -1.25rem;
    height: 180px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .value-card {
    padding: 1.6rem 1.25rem;
  }

  .chatbot-cta-banner {
    padding: 2.25rem 1.25rem;
    gap: 1.5rem;
  }

  .chatbot-interactive-trigger {
    padding: 1.5rem 1rem;
  }

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

  .footer-about .footer-logo img {
    height: 50px;
  }

  .page-hero {
    padding: 3.5rem 0 3rem 0;
  }

  .page-hero p {
    font-size: 1rem;
  }

  /* Form Elements: Set font-size to 16px to prevent iOS Safari auto-zoom on tap */
  .form-control, input, textarea, select {
    font-size: 16px !important;
    padding: 0.8rem 1rem;
  }
}

/* --- 5. Ultra-Compact Phones (<= 380px) --- */
@media (max-width: 380px) {
  :root {
    --header-height: 62px;
  }

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

  .nav-cta .btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
  }

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

  .stat-item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.6rem;
  }

  .stat-item .stat-num {
    font-size: 1.5rem;
  }

  .floating-pill {
    display: none; /* Hide floating badges on extremely tiny screens to keep image clean */
  }
}

