/* ==========================================================================
   Zeo Infinity - SEO Landing Page Design System
   Target Keyword: SEO Services in Uttam Nagar
   Palette: Premium Navy, Electric Blue, Light Blue, Border Gray, Success Green
   ========================================================================== */

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

/* --- Design Tokens / CSS Variables --- */
:root {
  --color-primary: #0067E8;
  --color-primary-dark: #0053BC;
  --color-primary-light: #EEF6FF;
  --color-navy: #0B172B;
  --color-navy-muted: #4B5E7D;
  --color-navy-light: #1A2942;
  --color-white: #FFFFFF;
  --color-border: #DCE5F0;
  --color-border-dark: #B9CADF;
  --color-success: #00C98B;
  --color-success-bg: #E6FDF4;
  --color-error: #FF3B30;
  --color-error-bg: #FFEBEA;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(11, 23, 43, 0.04);
  --shadow-md: 0 10px 30px rgba(11, 23, 43, 0.06);
  --shadow-lg: 0 20px 40px rgba(11, 23, 43, 0.1);
  --shadow-blue-glow: 0 15px 35px rgba(0, 103, 232, 0.12);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
}

.zeo-seo-wrapper {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.zeo-seo-wrapper *, 
.zeo-seo-wrapper *::before, 
.zeo-seo-wrapper *::after {
  box-sizing: inherit;
}

/* --- Layout Utility Classes --- */
.zeo-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.zeo-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--color-border);
}

.zeo-section:last-of-type {
  border-bottom: none;
}

/* --- Spacing --- */
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* --- Typography --- */
.zeo-seo-wrapper h1, 
.zeo-seo-wrapper h2, 
.zeo-seo-wrapper h3, 
.zeo-seo-wrapper h4 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.zeo-seo-wrapper h1 {
  font-size: 48px;
  font-weight: 800;
}

.zeo-seo-wrapper h2 {
  font-size: 36px;
  font-weight: 700;
}

.zeo-seo-wrapper h3 {
  font-size: 22px;
  font-weight: 600;
}

.zeo-seo-wrapper p {
  color: var(--color-navy-muted);
  font-size: 16px;
  margin: 0 0 24px 0;
}

.zeo-seo-wrapper p.lead {
  font-size: 18px;
  line-height: 1.7;
}

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

/* Highlight blue */
.text-highlight {
  color: var(--color-primary);
}

/* Badge / Eyebrow */
.zeo-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 103, 232, 0.1);
}

.zeo-badge-success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(0, 201, 139, 0.1);
}

/* --- Interactive Grids --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Section Header standardizer */
.section-header {
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.section-header.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Interactive UI Elements: Buttons --- */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  outline: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 103, 232, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(0, 103, 232, 0.35);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-border);
}

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

.btn-secondary:active {
  transform: translateY(0);
}

/* Form Submit Button */
.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 103, 232, 0.4);
}

/* --- Hero Section & Dashboard graphic --- */
.hero-section {
  padding: 120px 0 100px 0;
  background: radial-gradient(circle at top right, rgba(0, 103, 232, 0.02) 0%, transparent 60%);
  border-bottom: 1px solid var(--color-border);
}

.hero-section .grid-2 {
  align-items: start;
}

/* Right side pure CSS SEO Dashboard visual mockup */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.seo-dashboard-mock {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Mini KPI metrics */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.dashboard-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(0, 201, 139, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(0, 201, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 201, 139, 0); }
}

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.stat-box {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  background-color: var(--color-primary-light);
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-navy-muted);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-change {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-success);
  display: inline-flex;
  align-items: center;
}

/* Custom Chart Area */
.chart-area {
  height: 120px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  margin-bottom: 20px;
  padding-top: 10px;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-grid-line {
  stroke: var(--color-border);
  stroke-dasharray: 4;
}

.chart-path {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawChart 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.5s;
}

.chart-gradient-fill {
  fill: url(#chart-gradient);
  opacity: 0.12;
  animation: fadeInChartFill 1.5s ease-out forwards 1.8s;
  opacity: 0;
}

@keyframes drawChart {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeInChartFill {
  to { opacity: 0.12; }
}

/* List of queries rankings */
.query-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.query-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  font-size: 13px;
}

.query-keyword {
  font-weight: 600;
  color: var(--color-navy);
}

.query-rank {
  font-weight: 700;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.query-rank-up {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* --- Form Card Component --- */
.form-card-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  align-self: flex-start;
  z-index: 95;
}

.form-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--color-primary);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.form-card:hover {
  box-shadow: var(--shadow-blue-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.form-subtitle {
  font-size: 12px;
  color: var(--color-navy-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.form-group {
  margin-bottom: 12px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.form-label span.required {
  color: var(--color-error);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--color-navy);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 103, 232, 0.1);
}

.form-control.invalid {
  border-color: var(--color-error);
  background-color: rgba(255, 59, 48, 0.01);
}

.form-control.invalid:focus {
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234B5E7D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* Honeypot hidden input (DO NOT display but render) */
.hp-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

.form-footer-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--color-navy-muted);
  text-align: center;
  margin-bottom: 0;
}

.form-card .btn-submit {
  padding: 10px 16px;
  font-size: 13px;
  border-radius: var(--radius-pill);
}

/* Inline Errors */
.error-feedback {
  color: var(--color-error);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-control.invalid + .error-feedback {
  display: block;
}

/* Loading/Sending overlay inside the form card */
.form-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-radius: var(--radius-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 103, 232, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Success & Error States */
.alert-box {
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alert-success {
  background-color: var(--color-success-bg);
  border: 1px solid rgba(0, 201, 139, 0.2);
  color: var(--color-navy);
}

.alert-success h4 {
  color: var(--color-success);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.alert-error {
  background-color: var(--color-error-bg);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: var(--color-navy);
}

.alert-error h4 {
  color: var(--color-error);
  margin-bottom: 4px;
  font-size: 16px;
}

.form-success-container {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.form-success-container.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp var(--transition-normal);
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid rgba(0, 201, 139, 0.15);
}

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

/* --- Trust / Intro Section --- */
.value-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.value-icon {
  margin-bottom: 20px;
  color: var(--color-primary);
  display: inline-flex;
}

.value-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.value-text {
  font-size: 14px;
  color: var(--color-navy-muted);
  margin: 0;
  line-height: 1.6;
}

/* --- Why SEO Matters Section (Local Hook) --- */
.local-seo-section {
  background-color: var(--color-primary-light);
}

.local-map-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.local-hubs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hub-pill {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.hub-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Local search mockup graphic */
.search-mock-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.mock-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  margin-bottom: 20px;
  background-color: #FAFCFF;
}

.mock-search-bar svg {
  color: var(--color-navy-muted);
  flex-shrink: 0;
}

.mock-search-query {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
}

.mock-results-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy-muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.mock-result-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
  background-color: var(--color-white);
}

.mock-result-item:last-child {
  margin-bottom: 0;
}

.mock-result-item.featured {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.mock-item-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  align-items: center;
}

.mock-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
}

.mock-item-label {
  font-size: 10px;
  font-weight: 700;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1px 6px;
  border-radius: 3px;
}

.mock-item-desc {
  font-size: 12px;
  color: var(--color-navy-muted);
}

.mock-item-stars {
  display: flex;
  gap: 2px;
  color: #FFC700;
  margin-top: 6px;
}

/* --- Services Grid Section --- */
.services-section {
  background-color: var(--color-white);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--color-navy-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Who We Serve Section --- */
.who-serve-section {
  background-color: #FAFCFF;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sector-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-fast);
}

.sector-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.sector-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.sector-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.sector-info p {
  font-size: 13px;
  color: var(--color-navy-muted);
  margin: 0;
  line-height: 1.5;
}

/* --- SEO Process Timeline --- */
.process-section {
  background-color: var(--color-white);
  overflow: hidden;
}

.process-timeline {
  display: flex;
  position: relative;
  padding: 40px 0;
  justify-content: space-between;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 76px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-num {
  width: 72px;
  height: 72px;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  color: var(--color-navy-muted);
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.process-step:hover .step-num {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 0 6px var(--color-primary-light);
  transform: scale(1.05);
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.step-desc {
  font-size: 13px;
  color: var(--color-navy-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- Why Choose Us Section --- */
.why-choose-section {
  background-color: #FAFCFF;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.benefit-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

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

.benefit-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.benefit-card:hover .benefit-icon-wrapper {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.benefit-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
  margin: 0;
}

/* --- Split/Middle CTA Section --- */
.middle-cta-section {
  background-color: var(--color-navy);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.middle-cta-section h2 {
  color: var(--color-white);
}

.middle-cta-section p {
  color: #94A8C6;
  font-size: 18px;
}

.cta-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.middle-cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 103, 232, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.cta-content-wrapper * {
  position: relative;
  z-index: 2;
}

/* --- FAQ Section --- */
.faq-section {
  background-color: var(--color-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-border-dark);
}

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

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  padding-right: 16px;
}

.faq-icon {
  color: var(--color-navy-muted);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 24px;
}

.faq-item.active .faq-content {
  /* Dynamic height controlled by JS, fallback style below */
  padding-bottom: 20px;
}

.faq-content p {
  font-size: 14.5px;
  color: var(--color-navy-muted);
  margin: 0;
  line-height: 1.6;
}

/* For keyboard accessibility focus state */
.faq-trigger:focus-visible {
  background-color: var(--color-primary-light);
}

/* --- Final CTA Section --- */
.final-cta-section {
  background-color: var(--color-primary-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */

/* Tablet & Smaller (Max-width: 1024px) */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 20px 0;
  }
  .process-timeline::before {
    display: none; /* Hide horizontal timeline line */
  }
  .process-step {
    width: 100%;
    max-width: 480px;
    padding: 0;
  }
  .step-num {
    margin-bottom: 12px;
  }
}

/* Tablet / Dual Column adjustments (Max-width: 900px) */
@media (max-width: 900px) {
  .zeo-section {
    padding: 80px 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-section {
    padding: 80px 0 60px 0;
  }
  .form-card-wrapper {
    justify-content: center;
    position: relative;
    top: 0;
  }
  .hero-visual-wrapper {
    margin-top: 16px;
  }
  .local-map-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile Devices (Max-width: 600px) */
@media (max-width: 600px) {
  .zeo-section {
    padding: 60px 0;
  }
  
  .zeo-seo-wrapper h1 {
    font-size: 32px;
  }
  
  .zeo-seo-wrapper h2 {
    font-size: 26px;
  }
  
  .zeo-seo-wrapper h3 {
    font-size: 20px;
  }
  
  .zeo-seo-wrapper p.lead {
    font-size: 16px;
  }
  
  .grid-3, .grid-4, .sectors-grid, .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .form-card {
    padding: 24px;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
/* ==========================================================================
   FAQ ACCORDION STYLES
   ========================================================================== */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.faq-item {
  background: var(--color-white, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 12px;
}

.faq-item.active {
  border-color: var(--color-primary, #0067e8);
  box-shadow: 0 4px 16px rgba(0, 103, 232, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  gap: 16px;
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy, #0b1c39);
  line-height: 1.4;
  margin: 0;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-primary, #0067e8);
  transition: transform 0.3s ease;
}

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

.faq-content {
  display: none;
  padding: 0 24px 20px 24px;
  color: var(--color-navy-muted, #4b5e7d);
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-content p {
  margin: 0;
}

/* --- Popup Modal Form Styles --- */
.zeo-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(11, 23, 43, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px !important;
  margin: 0 !important;
}

.zeo-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

.zeo-modal-container {
  background-color: var(--color-white, #ffffff);
  border-radius: 20px !important;
  width: 100% !important;
  max-width: 500px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
  position: relative !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  border: 1px solid var(--color-border, #dce5f0) !important;
  scrollbar-width: thin;
  padding: 0 !important;
  margin: auto !important;
}

.zeo-modal-overlay.active .zeo-modal-container {
  transform: scale(1) translateY(0) !important;
}

.zeo-modal-close-btn {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: rgba(0, 103, 232, 0.08) !important;
  border: none !important;
  color: #0067e8 !important;
  cursor: pointer !important;
  z-index: 110 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.zeo-modal-close-btn:hover {
  background-color: #0067e8 !important;
  color: #ffffff !important;
  transform: rotate(90deg) !important;
}

.zeo-modal-container .form-card {
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 24px 28px !important;
  max-width: 100% !important;
  background: transparent !important;
}

.zeo-modal-container .form-title {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}

.zeo-modal-container .form-subtitle {
  font-size: 0.88rem !important;
  color: #64748b !important;
  margin-bottom: 16px !important;
}

/* ==========================================================================
   COMPREHENSIVE DARK MODE OVERRIDES FOR ZEO LOCATION LANDING PAGES
   ========================================================================== */

/* 1. Root & Wrapper Dark Mode Variables */
html.dark-mode,
body.dark-mode {
  --color-navy: #FFFFFF !important;
  --color-navy-muted: #CBD5E1 !important;
  --color-navy-light: #1E293B !important;
  --color-white: #161B22 !important;
  --color-border: #2D3748 !important;
  --color-border-dark: #4A5568 !important;
  --color-primary-light: rgba(0, 103, 232, 0.15) !important;
  background-color: #0b0f19 !important;
  color: #ffffff !important;
}

/* 2. Main Sections & Wrappers Background Overrides */
html.dark-mode .zeo-seo-wrapper,
body.dark-mode .zeo-seo-wrapper,
html.dark-mode .hero-section,
body.dark-mode .hero-section,
html.dark-mode .zeo-section,
body.dark-mode .zeo-section,
html.dark-mode .local-seo-section,
body.dark-mode .local-seo-section,
html.dark-mode .services-section,
body.dark-mode .services-section,
html.dark-mode .who-serve-section,
body.dark-mode .who-serve-section,
html.dark-mode .process-section,
body.dark-mode .process-section,
html.dark-mode .why-choose-section,
body.dark-mode .why-choose-section,
html.dark-mode .faq-section,
body.dark-mode .faq-section,
html.dark-mode .final-cta-section,
body.dark-mode .final-cta-section,
html.dark-mode .audit-section,
body.dark-mode .audit-section {
  background: #0b0f19 !important;
  background-color: #0b0f19 !important;
  color: #ffffff !important;
}

/* 3. Alternating Sections & Hero Backgrounds */
html.dark-mode .zeo-section-alt,
body.dark-mode .zeo-section-alt,
html.dark-mode .bg-light,
body.dark-mode .bg-light,
html.dark-mode .location-hero,
body.dark-mode .location-hero,
html.dark-mode .tracker-container,
body.dark-mode .tracker-container {
  background: #111827 !important;
  background-color: #111827 !important;
  border-color: #2d3748 !important;
  color: #ffffff !important;
}

/* 4. All Cards, Forms, Boxes, and Containers */
html.dark-mode .card,
body.dark-mode .card,
html.dark-mode .service-card,
body.dark-mode .service-card,
html.dark-mode .feature-card,
body.dark-mode .feature-card,
html.dark-mode .form-card,
body.dark-mode .form-card,
html.dark-mode .form-card-container,
body.dark-mode .form-card-container,
html.dark-mode .form-card-wrapper,
body.dark-mode .form-card-wrapper,
html.dark-mode .value-card,
body.dark-mode .value-card,
html.dark-mode .sector-card,
body.dark-mode .sector-card,
html.dark-mode .benefit-card,
body.dark-mode .benefit-card,
html.dark-mode .stat-box,
body.dark-mode .stat-box,
html.dark-mode .search-mock-card,
body.dark-mode .search-mock-card,
html.dark-mode .seo-dashboard-mock,
body.dark-mode .seo-dashboard-mock,
html.dark-mode .hero-visual-wrapper,
body.dark-mode .hero-visual-wrapper,
html.dark-mode .faq-item,
body.dark-mode .faq-item,
html.dark-mode .local-faq-item,
body.dark-mode .local-faq-item,
html.dark-mode .app-faq-item,
body.dark-mode .app-faq-item,
html.dark-mode .audit-card,
body.dark-mode .audit-card,
html.dark-mode .process-card,
body.dark-mode .process-card,
html.dark-mode .case-card,
body.dark-mode .case-card,
html.dark-mode .result-card,
body.dark-mode .result-card,
html.dark-mode .region-card,
body.dark-mode .region-card,
html.dark-mode .region-item,
body.dark-mode .region-item,
html.dark-mode .keyword-row,
body.dark-mode .keyword-row,
html.dark-mode .pricing-card,
body.dark-mode .pricing-card {
  background: #161b22 !important;
  background-color: #161b22 !important;
  border-color: #2d3748 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

/* 5. Headings & High Contrast Text */
html.dark-mode h1, body.dark-mode h1,
html.dark-mode h2, body.dark-mode h2,
html.dark-mode h3, body.dark-mode h3,
html.dark-mode h4, body.dark-mode h4,
html.dark-mode h5, body.dark-mode h5,
html.dark-mode h6, body.dark-mode h6,
html.dark-mode .section-title, body.dark-mode .section-title,
html.dark-mode .hero-title, body.dark-mode .hero-title,
html.dark-mode .form-title, body.dark-mode .form-title,
html.dark-mode .faq-question, body.dark-mode .faq-question,
html.dark-mode .kw-name, body.dark-mode .kw-name,
html.dark-mode .region-title, body.dark-mode .region-title,
html.dark-mode .stat-value, body.dark-mode .stat-value,
html.dark-mode strong, body.dark-mode strong {
  color: #ffffff !important;
}

/* 6. Body Paragraphs & Descriptions */
html.dark-mode p, body.dark-mode p,
html.dark-mode li, body.dark-mode li,
html.dark-mode .section-subtitle, body.dark-mode .section-subtitle,
html.dark-mode .hero-subtitle, body.dark-mode .hero-subtitle,
html.dark-mode .form-subtitle, body.dark-mode .form-subtitle,
html.dark-mode .lead, body.dark-mode .lead,
html.dark-mode .faq-content, body.dark-mode .faq-content,
html.dark-mode .faq-content p, body.dark-mode .faq-content p,
html.dark-mode .kw-vol, body.dark-mode .kw-vol,
html.dark-mode .stat-label, body.dark-mode .stat-label {
  color: #cbd5e1 !important;
}

/* 7. Form Labels, Inputs, Selects & Textareas */
html.dark-mode .form-label,
body.dark-mode .form-label,
html.dark-mode label,
body.dark-mode label {
  color: #cbd5e1 !important;
}

html.dark-mode .form-control,
body.dark-mode .form-control,
html.dark-mode input[type="text"],
body.dark-mode input[type="text"],
html.dark-mode input[type="email"],
body.dark-mode input[type="email"],
html.dark-mode input[type="tel"],
body.dark-mode input[type="tel"],
html.dark-mode select,
body.dark-mode select,
html.dark-mode textarea,
body.dark-mode textarea {
  background: #111827 !important;
  background-color: #111827 !important;
  border: 1px solid #2d3748 !important;
  color: #ffffff !important;
}

html.dark-mode .form-control:focus,
body.dark-mode .form-control:focus,
html.dark-mode input:focus,
body.dark-mode input:focus,
html.dark-mode select:focus,
body.dark-mode select:focus,
html.dark-mode textarea:focus,
body.dark-mode textarea:focus {
  background: #1e293b !important;
  background-color: #1e293b !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
}

html.dark-mode select.form-control option,
body.dark-mode select.form-control option {
  background: #161b22 !important;
  color: #ffffff !important;
}

/* 8. Inner Icon Containers & Decorative Elements */
html.dark-mode .service-icon-box,
body.dark-mode .service-icon-box,
html.dark-mode .benefit-icon-wrapper,
body.dark-mode .benefit-icon-wrapper,
html.dark-mode .value-icon,
body.dark-mode .value-icon {
  background: rgba(0, 103, 232, 0.15) !important;
  border-color: rgba(0, 103, 232, 0.3) !important;
  color: #60a5fa !important;
}

/* 9. FAQ Accordions */
html.dark-mode .faq-trigger,
body.dark-mode .faq-trigger,
html.dark-mode .faq-header-btn,
body.dark-mode .faq-header-btn,
html.dark-mode .local-faq-header,
body.dark-mode .local-faq-header {
  background: transparent !important;
  color: #ffffff !important;
}

html.dark-mode .faq-item.active,
body.dark-mode .faq-item.active,
html.dark-mode .local-faq-item.active,
body.dark-mode .local-faq-item.active {
  border-color: #2563eb !important;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2) !important;
}

/* 10. Modals */
html.dark-mode .zeo-modal-container,
body.dark-mode .zeo-modal-container {
  background: #161b22 !important;
  background-color: #161b22 !important;
  border: 1px solid #2d3748 !important;
  color: #ffffff !important;
}

html.dark-mode .zeo-modal-close-btn,
body.dark-mode .zeo-modal-close-btn {
  background: #1e293b !important;
  color: #cbd5e1 !important;
}

html.dark-mode .zeo-modal-close-btn:hover,
body.dark-mode .zeo-modal-close-btn:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

/* 11. Badges & Tags */
html.dark-mode .badge,
body.dark-mode .badge,
html.dark-mode .zeo-badge,
body.dark-mode .zeo-badge {
  background: rgba(37, 99, 235, 0.18) !important;
  border-color: rgba(37, 99, 235, 0.4) !important;
  color: #60a5fa !important;
}

