/*
Theme Name: NextTechPulse
Theme URI: https://nexttechpulse.com
Author: NextTechPulse Team
Author URI: https://nexttechpulse.com
Description: A premium, performance-focused WordPress theme for service-based businesses. Built with Core Web Vitals, accessibility, and modern frontend practices in mind.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexttechpulse
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready

NextTechPulse WordPress Theme, Copyright 2024
NextTechPulse is distributed under the terms of the GNU GPL.
*/

/* ==========================================================================
   CSS Variables - Centralized Color Management
   ========================================================================== */

:root {
  /* ===== MODERN LIGHT THEME WITH NEON ACCENTS ===== */

  /* Primary Background Colors - Light & Clean */
  --color-bg-primary: #ffffff; /* Pure white background */
  --color-bg-secondary: #f8f9fa; /* Light gray for sections */
  --color-bg-tertiary: #f1f3f5; /* Subtle gray for inputs */
  --color-bg-accent: #e9ecef; /* Accent background */

  /* Card Colors - Light & Elevated */
  --color-card-white: #ffffff; /* White cards */
  --color-card-light: #f8f9fa; /* Light cards */
  --color-card-input: #ffffff; /* Form inputs */
  --color-card-hover: #f1f3f5; /* Hover state */

  /* Brand Colors - Vibrant Neon Accents */
  --color-primary: #00ff88; /* Neon green - main accent */
  --color-primary-dark: #00cc6e; /* Darker neon green */
  --color-primary-light: #33ffaa; /* Lighter neon green */
  --color-primary-glow: rgba(0, 255, 136, 0.2); /* Glow effect */

  --color-secondary: #00d4ff; /* Neon cyan - secondary accent */
  --color-secondary-dark: #00a8cc; /* Darker cyan */
  --color-secondary-light: #33ddff; /* Lighter cyan */
  --color-secondary-glow: rgba(0, 212, 255, 0.2); /* Glow effect */

  /* Accent Colors - Additional Neon Palette */
  --color-accent-purple: #b066ff; /* Neon purple */
  --color-accent-pink: #ff66d9; /* Neon pink */
  --color-accent-yellow: #ffd700; /* Bright yellow */
  --color-accent-orange: #ff6b35; /* Vibrant orange */

  /* Status Colors - Bright & Clear */
  --color-success: #00ff88; /* Success green (matches primary) */
  --color-warning: #ffb800; /* Warning yellow */
  --color-error: #ff4757; /* Error red */
  --color-info: #00d4ff; /* Info cyan (matches secondary) */

  /* Text Colors - Dark on Light */
  --color-text-primary: #1a1d29; /* Almost black for headings */
  --color-text-secondary: #4a5568; /* Dark gray for body text */
  --color-text-muted: #718096; /* Muted gray for subtle text */
  --color-text-light: #a0aec0; /* Light gray for disabled/placeholder */
  --color-text-white: #ffffff; /* White text for dark backgrounds */

  /* Border Colors - Subtle & Clean */
  --color-border: #e2e8f0; /* Light border */
  --color-border-light: #edf2f7; /* Lighter border */
  --color-border-dark: #cbd5e0; /* Darker border */
  --color-border-focus: #00ff88; /* Focus border (neon green) */

  /* Gradient Colors - Vibrant Neon Gradients */
  --gradient-primary: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  --gradient-secondary: linear-gradient(135deg, #b066ff 0%, #ff66d9 100%);
  --gradient-accent: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(0, 255, 136, 0.1) 0%,
    rgba(0, 212, 255, 0.1) 100%
  );

  /* Chart/Bar Colors - Performance Indicators */
  --gradient-bar-red: #ff4757;
  --gradient-bar-orange: #ff6b35;
  --gradient-bar-yellow: #ffd700;
  --gradient-bar-green: #00ff88;
  --gradient-bar-bright: #00d4ff;

  /* ===== TYPOGRAPHY ===== */
  --font-primary:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  --font-heading: "Outfit", var(--font-primary);
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  /* Font Sizes */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.5rem; /* 40px */
  --text-5xl: 3rem; /* 48px */

  /* ===== SPACING ===== */
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 0.75rem; /* 12px */
  --space-md: 1rem; /* 16px */
  --space-lg: 1.5rem; /* 24px */
  --space-xl: 2rem; /* 32px */
  --space-2xl: 3rem; /* 48px */
  --space-3xl: 4rem; /* 64px */
  --space-4xl: 5rem; /* 80px */
  --space-5xl: 6rem; /* 96px */

  /* ===== LAYOUT ===== */
  --container-max: 1200px;
  --container-padding: 40px;
  --header-height: 70px;

  /* ===== BORDER RADIUS ===== */
  --radius-sm: 0.375rem; /* 6px */
  --radius-md: 0.5rem; /* 8px */
  --radius-lg: 0.75rem; /* 12px */
  --radius-xl: 1rem; /* 16px */
  --radius-2xl: 1.5rem; /* 24px */
  --radius-full: 9999px; /* Full circle */

  /* ===== SHADOWS - Light Theme Shadows ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-neon-primary: 0 0 20px rgba(0, 255, 136, 0.3);
  --shadow-neon-secondary: 0 0 20px rgba(0, 212, 255, 0.3);

  /* ===== TRANSITIONS ===== */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* ===== Z-INDEX ===== */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 500;
}

/* ==========================================================================
   CSS Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-secondary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--text-5xl);
}
h2 {
  font-size: var(--text-4xl);
}
h3 {
  font-size: var(--text-2xl);
}
h4 {
  font-size: var(--text-xl);
}
h5 {
  font-size: var(--text-lg);
}
h6 {
  font-size: var(--text-base);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

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

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

strong,
b {
  font-weight: 600;
  color: var(--color-text-primary);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.section-lg {
  padding: var(--space-5xl) 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-primary), var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-secondary), var(--shadow-lg);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-neon-primary);
}

.btn-large {
  padding: 16px 32px;
  font-size: var(--text-base);
}

.btn-small {
  padding: 10px 20px;
  font-size: var(--text-xs);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background-color: var(--color-card-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border-light);
}

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

.card-white {
  background-color: var(--color-card-white);
  color: var(--color-text-secondary);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
}

.card-white h1,
.card-white h2,
.card-white h3,
.card-white h4,
.card-white h5,
.card-white h6 {
  color: var(--color-text-primary);
}

/* Icon Cards */
.icon-card {
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.icon-card:hover {
  background-color: var(--color-card-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-lg);
}

label {
  display: block;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--color-card-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

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

/* Checkboxes */
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ==========================================================================
   Grid System
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.text-white {
  color: var(--color-text-primary);
}
.text-gray {
  color: var(--color-text-secondary);
}
.text-muted {
  color: var(--color-text-muted);
}
.text-dark {
  color: var(--color-text-dark);
}

.bg-primary {
  background-color: var(--color-bg-primary);
}
.bg-secondary {
  background-color: var(--color-bg-secondary);
}
.bg-white {
  background-color: var(--color-card-white);
}

/* Spacing utilities */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-sm {
  margin-top: var(--space-sm);
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mt-md {
  margin-top: var(--space-md);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mt-lg {
  margin-top: var(--space-lg);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mt-xl {
  margin-top: var(--space-xl);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}

/* ==========================================================================
   Badge Components
   ========================================================================== */

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-featured {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
   Score Display
   ========================================================================== */

.score-badge {
  background-color: var(--color-card-dark);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   Mobile-First Responsive Design
   ========================================================================== */

/* Base styles are mobile-first (320px+) */

/* Small tablets and large phones (576px and up) */
@media (min-width: 576px) {
  :root {
    --container-padding: 24px;
  }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
  :root {
    --container-padding: 32px;
  }

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

  .main-navigation {
    display: flex !important;
  }

  .mobile-menu-toggle {
    display: none;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  :root {
    --container-padding: 40px;
  }

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

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

/* Large desktop (1280px and up) */
@media (min-width: 1280px) {
  :root {
    --text-5xl: 3.5rem;
    --text-4xl: 2.75rem;
  }
}

/* Mobile-specific styles */
@media (max-width: 767px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
    --space-5xl: 4rem;
    --space-4xl: 3rem;
    --space-3xl: 2.5rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .section-lg {
    padding: var(--space-4xl) 0;
  }

  /* All mobile styles moved to comprehensive responsive section below */
}

/* Tablet-specific adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Accessibility - WCAG 2.2 Level AA Compliance
   ========================================================================== */

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-text-dark);
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Enhanced focus visible styles */
*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Focus within for containers */
.card:focus-within,
.form-group:focus-within {
  box-shadow: 0 0 0 3px rgba(127, 255, 0, 0.2);
}

/* Keyboard navigation indicator */
body.using-keyboard *:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-bg-primary: #000000;
    --color-bg-secondary: #1a1a1a;
    --color-text-primary: #ffffff;
    --color-text-secondary: #e0e0e0;
    --color-border: #666666;
  }

  .btn {
    border: 2px solid currentColor;
  }

  a {
    text-decoration: underline;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Improved color contrast for links */
a {
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Ensure minimum touch target size (44x44px) */
button,
a,
input[type="submit"],
input[type="button"],
.btn {
  min-height: 44px;
  min-width: 44px;
}

/* Improve form accessibility */
label {
  cursor: pointer;
}

input:invalid,
select:invalid,
textarea:invalid {
  border-color: var(--color-error);
}

input:valid,
select:valid,
textarea:valid {
  border-color: var(--color-success);
}

/* Error message styling */
.error-message {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.error-message::before {
  content: "⚠";
  font-size: var(--text-lg);
}

/* Success message styling */
.success-message {
  color: var(--color-success);
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.success-message::before {
  content: "✓";
  font-size: var(--text-lg);
}

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

/* ARIA live regions */
[aria-live="polite"],
[aria-live="assertive"] {
  position: relative;
}

/* Disabled state */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   WordPress Core
   ========================================================================== */

.alignleft {
  float: left;
  margin-right: var(--space-lg);
  margin-bottom: var(--space-md);
}

.alignright {
  float: right;
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
}

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

.wp-post-image {
  border-radius: var(--radius-lg);
}

.wp-post-im.avatar {
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Single Service
   ========================================================================== */

.single-service-section {
  background-color: var(--color-bg-primary);
  position: relative;
  padding-bottom: 120px;
}

.single-service-header {
  margin-bottom: var(--space-5xl);
}

.single-service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-lg);
  background: rgba(127, 255, 0, 0.1);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.single-service-header h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.single-service-excerpt {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.single-service-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.single-service-content-card {
  margin-bottom: var(--space-4xl);
  padding: var(--space-3xl);
}

.single-service-features-card,
.single-service-process-card {
  margin-bottom: var(--space-4xl);
  padding: var(--space-3xl);
}

.single-service-section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.service-features-grid {
  gap: var(--space-md);
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.service-feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(127, 255, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-feature-icon span {
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-sm);
}

.service-feature-text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.service-process-grid {
  gap: var(--space-lg);
}

.service-process-step {
  text-align: center;
}

.service-process-number {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
}

.service-process-text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.single-service-cta {
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-primary) 100%
  );
  border-radius: var(--radius-2xl);
  padding: var(--space-4xl);
  margin-bottom: var(--space-4xl);
}

.single-service-cta h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.single-service-cta-text {
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.btn-service-cta {
  background: var(--color-bg-primary);
  color: var(--color-text-dark);
}

.related-services-section {
  margin-bottom: var(--space-4xl);
}

.related-services-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.related-service-card {
  text-align: center;
}

.related-service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  background: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.related-service-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}

.related-service-link {
  color: var(--color-text-dark);
  text-decoration: none;
}

.related-service-link:hover {
  color: var(--color-primary);
}

.btn-related-service {
  margin-top: var(--space-md);
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
  background-color: #2a2d3e;
  border-bottom: 1px solid #374151;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-navigation a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #ffffff;
}

/* ==========================================================================
   Page Templates
   ========================================================================== */

.page-header {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
  color: var(--color-white);
}

.page-header h1 {
  color: var(--color-white);
}

.page-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.page-image {
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.entry-content {
  font-size: var(--text-lg);
  line-height: 1.8;
}

/* ==========================================================================
   Service Archive
   ========================================================================== */

.services-section {
  background-color: var(--color-bg-primary);
  position: relative;
  padding-bottom: 120px;
}

.services-header {
  margin-bottom: var(--space-5xl);
}

.services-header h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.services-header p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  margin-bottom: var(--space-4xl);
}

.service-card {
  text-align: center;
  position: relative;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.service-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.service-card h3 a {
  color: var(--color-text-dark);
  text-decoration: none;
}

.service-card h3 a:hover {
  color: var(--color-secondary);
}

.service-excerpt {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.service-card .btn {
  width: 100%;
}

.no-services {
  padding: var(--space-5xl) 0;
}

.no-services p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.single-post-section {
  background-color: var(--color-bg-primary);
  position: relative;
  padding-bottom: 120px;
}

.single-post-article {
  max-width: 900px;
  margin: 0 auto;
}

.entry-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.entry-categories {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.entry-categories .badge {
  margin: 0 var(--space-xs);
}

.entry-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  font-family: var(--font-heading);
  text-align: center;
  line-height: 1.2;
}

.entry-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.featured-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-3xl);
}

.entry-content-card {
  padding: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.entry-content-card .entry-content {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: var(--text-lg);
}

.entry-tags {
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--color-border);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tags-list strong {
  color: var(--color-text-dark);
  margin-right: var(--space-sm);
}

.tag-link {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag-link:hover {
  background: var(--color-primary);
  color: var(--color-text-dark);
}

.author-bio-card {
  padding: var(--space-2xl);
  margin-bottom: var(--space-4xl);
}

.author-bio-inner {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.author-avatar {
  flex-shrink: 0;
}

.author-bio h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}

.author-bio p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.post-navigation {
  gap: var(--space-lg);
  margin-bottom: var(--space-4xl);
}

.post-nav-link {
  text-decoration: none;
  display: block;
}

.post-nav-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-nav-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-dark);
}

.post-nav-link:hover .post-nav-title {
  color: var(--color-secondary);
}

/* ==========================================================================
   Comments Section
   ========================================================================== */

.comments-area {
  padding: var(--space-3xl);
}

.comments-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-2xl);
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404-section {
  background-color: var(--color-bg-primary);
  position: relative;
  padding-bottom: 120px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-404-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-404-title {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  font-family: var(--font-heading);
  line-height: 1;
}

.error-404-subtitle {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.error-404-text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.error-404-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.error-404-search {
  max-width: 500px;
  margin: 0 auto var(--space-3xl);
}

.error-404-search h3 {
  margin-bottom: var(--space-md);
}

.search-form-group {
  display: flex;
  gap: var(--space-sm);
}

.search-input {
  flex: 1;
}

.error-404-popular {
  background-color: var(--color-bg-secondary);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
}

.error-404-popular h3 {
  margin-bottom: var(--space-lg);
}

.popular-links {
  text-align: left;
}

.popular-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-bg-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.popular-link:hover {
  transform: translateX(5px);
  background: var(--color-bg-tertiary);
}

.popular-link-icon {
  color: var(--color-primary);
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-section {
  background-color: var(--color-bg-primary);
  position: relative;
  padding-bottom: 120px;
}

.about-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.about-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.about-content-card {
  margin-bottom: var(--space-5xl);
  padding: var(--space-3xl);
}

.values-section,
.expertise-section {
  margin-bottom: var(--space-5xl);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: var(--space-3xl);
  font-family: var(--font-heading);
}

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

.value-card h3,
.expertise-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.value-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.value-icon-primary {
  background: rgba(127, 255, 0, 0.1);
}

.value-icon-secondary {
  background: rgba(14, 165, 233, 0.1);
}

.expertise-grid {
  max-width: 900px;
  margin: 0 auto;
}

.expertise-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.expertise-icon {
  font-size: 1.5rem;
}

.expertise-icon-primary {
  color: var(--color-primary);
}

.expertise-icon-secondary {
  color: var(--color-secondary);
}

.expertise-grid p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-primary) 100%
  );
  border-radius: var(--radius-2xl);
  padding: var(--space-5xl);
}

.cta-section h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.cta-text {
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  opacity: 0.95;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--color-bg-primary);
  color: var(--color-text-dark);
}

.btn-cta-outline {
  border-color: var(--color-bg-primary);
  color: var(--color-bg-primary);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-section {
  background-color: var(--color-bg-primary);
  position: relative;
  padding-bottom: 120px;
}

.contact-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5xl);
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-cards {
  margin-bottom: var(--space-4xl);
}

.contact-info-card {
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.contact-info-icon-primary {
  background: rgba(127, 255, 0, 0.1);
}

.contact-info-icon-secondary {
  background: rgba(14, 165, 233, 0.1);
}

.contact-info-content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.contact-info-content p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.contact-link {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.trust-badges h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.trust-badges-grid {
  gap: var(--space-lg);
}

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

.trust-badge-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.trust-badge-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.trust-badge-value-primary {
  color: var(--color-primary);
}

.trust-badge-value-secondary {
  color: var(--color-secondary);
}

.trust-badge-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.contact-form-card {
  padding: var(--space-3xl);
}

.contact-form-card h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xl);
}

.required {
  color: var(--color-error);
}

.btn-full-width {
  width: 100%;
}

/* Mobile responsive for contact grid */
@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
}

/* ==========================================================================
   Search Page
   ========================================================================== */

.search-header {
  margin-bottom: var(--space-4xl);
}

.search-header h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.search-results-count {
  font-size: var(--text-lg);
  opacity: 0.95;
  color: var(--color-white);
}

.results-list {
  max-width: 900px;
  margin: 0 auto;
}

.search-result-item {
  background-color: var(--color-bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.result-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.result-excerpt {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.no-results {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-4xl) 0;
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

.no-results h2 {
  margin-bottom: var(--space-lg);
}

.no-results-text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.no-results-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.search-results-grid {
  margin-bottom: var(--space-4xl);
}

.search-result-card {
  padding: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.search-result-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}

.search-result-title a {
  color: var(--color-text-dark);
  text-decoration: none;
}

.search-result-title a:hover {
  color: var(--color-secondary);
}

.search-result-excerpt {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.search-result-meta {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Index/Blog Page
   ========================================================================== */

.blog-header {
  margin-bottom: var(--space-4xl);
}

.blog-header h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.blog-posts-grid {
  margin-bottom: var(--space-4xl);
}

.blog-post-card {
  padding: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.blog-post-thumbnail {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.blog-post-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}

.blog-post-title a {
  color: var(--color-text-dark);
  text-decoration: none;
}

.blog-post-title a:hover {
  color: var(--color-secondary);
}

.blog-post-excerpt {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.blog-post-meta {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.blog-section {
  background-color: var(--color-bg-primary);
  position: relative;
  padding-bottom: 120px;
}

.blog-thumbnail-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.no-posts {
  padding: var(--space-5xl) 0;
}

.no-posts p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-section {
  background-color: var(--color-bg-primary);
  position: relative;
  padding-bottom: 120px;
}

.about-header {
  margin-bottom: var(--space-5xl);
}

.about-header h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.about-header p {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.about-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.about-content-card {
  margin-bottom: var(--space-5xl);
  padding: var(--space-3xl);
}

.about-content-card .entry-content {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: var(--text-lg);
}

.values-section {
  margin-bottom: var(--space-5xl);
}

.values-section h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: var(--space-3xl);
  font-family: var(--font-heading);
}

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

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: rgba(127, 255, 0, 0.1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.value-icon.secondary {
  background: rgba(14, 165, 233, 0.1);
}

.value-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.value-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.approach-section {
  margin-bottom: var(--space-5xl);
}

.approach-section h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: var(--space-3xl);
  font-family: var(--font-heading);
}

.approach-grid {
  max-width: 900px;
  margin: 0 auto;
}

.approach-item h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.approach-icon {
  font-size: 1.5rem;
}

.approach-icon.primary {
  color: var(--color-primary);
}

.approach-icon.secondary {
  color: var(--color-secondary);
}

.approach-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-secondary) 0%,
    var(--color-primary) 100%
  );
  border-radius: var(--radius-2xl);
  padding: var(--space-5xl);
}

.cta-section h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-section {
  background-color: var(--color-bg-primary);
  position: relative;
  padding-bottom: 120px;
}

.contact-header {
  margin-bottom: var(--space-5xl);
}

.contact-header h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.contact-header p {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.contact-grid {
  margin-bottom: var(--space-5xl);
}

.contact-form-card {
  padding: var(--space-3xl);
}

.contact-info-card {
  padding: var(--space-3xl);
}

.contact-info-item {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(127, 255, 0, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-xs);
}

.contact-info-content p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}

.contact-info-content a {
  color: var(--color-secondary);
  text-decoration: none;
}

.contact-info-content a:hover {
  text-decoration: underline;
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-copyright {
  margin: 0;
}

.footer-link {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-tagline {
  margin: var(--space-sm) 0 0;
  font-size: var(--text-xs);
}

.footer-social {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.social-link {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comment-list {
  list-style: none;
  padding: 0;
  margin: var(--space-xl) 0;
}

.no-comments {
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-xl);
}

.comment-reply-title {
  margin-bottom: var(--space-lg);
}

.comment-item {
  background-color: var(--color-bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.comment-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.comment-author {
  font-weight: 600;
  color: var(--color-text-dark);
}

.comment-metadata {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.comment-metadata a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.comment-metadata a:hover {
  text-decoration: underline;
}

.comment-metadata .edit-link {
  margin-left: var(--space-sm);
}

.comment-content {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
}

.comment-awaiting-moderation {
  color: var(--color-warning);
  font-size: var(--text-sm);
}

.avatar {
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */

/* Hero Section */
.hero-section {
  background-color: #2a2d3e;
  padding: 80px 0;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
  font-family: "Outfit", sans-serif;
}

.hero-text {
  font-size: 1rem;
  color: #9ca3af;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-btn-primary {
  display: inline-block;
  background: #0ea5e9;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-btn-secondary {
  display: inline-block;
  background: #7fff00;
  color: #1a1d29;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-chart-wrapper {
  text-align: center;
}

.hero-chart-container {
  background: #1f2937;
  border-radius: 16px;
  padding: 40px;
  position: relative;
}

.hero-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  height: 200px;
  margin-bottom: 20px;
}

.hero-bar {
  width: 40px;
  border-radius: 8px 8px 0 0;
}

.hero-bar-red {
  height: 80px;
  background: linear-gradient(to top, #ef4444, #f87171);
}

.hero-bar-orange {
  height: 120px;
  background: linear-gradient(to top, #f59e0b, #fbbf24);
}

.hero-bar-green {
  height: 160px;
  background: linear-gradient(to top, #10b981, #34d399);
}

.hero-bar-lime {
  height: 200px;
  background: linear-gradient(to top, #7fff00, #9fff40);
  position: relative;
}

.hero-score-badge {
  position: absolute;
  top: -40px;
  right: -20px;
  background: #1f2937;
  border: 2px solid #7fff00;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #7fff00;
}

.hero-chart-label {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 600;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.hero-feature-card {
  background: #1f2937;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.hero-feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.hero-feature-text {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}

/* Home Section Base */
.home-section {
  background-color: #2a2d3e;
  padding: 80px 0;
  position: relative;
}

/* Faster Section */
.faster-header {
  text-align: center;
  margin-bottom: 60px;
}

.faster-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: "Outfit", sans-serif;
}

.faster-subtitle {
  font-size: 1rem;
  color: #9ca3af;
}

.faster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.faster-illustration-wrapper {
  text-align: center;
}

.faster-illustration {
  background: #1f2937;
  border-radius: 16px;
  padding: 60px;
  display: inline-block;
}

.why-us-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 32px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-us-card {
  background: #1f2937;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.why-us-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.why-us-text {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
  line-height: 1.4;
}

/* Care Plans Section */
.care-plans-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  font-family: "Outfit", sans-serif;
}

.care-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.care-plan-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
}

.care-plan-featured {
  border: 3px solid #7fff00;
  box-shadow: 0 0 30px rgba(127, 255, 0, 0.3);
}

.care-plan-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #7fff00;
  color: #1a1d29;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.care-plan-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.care-plan-icon-blue {
  background: rgba(59, 130, 246, 0.1);
}

.care-plan-icon-green {
  background: rgba(127, 255, 0, 0.1);
}

.care-plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1d29;
  margin-bottom: 8px;
}

.care-plan-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1d29;
  margin-bottom: 24px;
}

.care-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.care-plan-features li {
  padding: 8px 0;
  color: #6b7280;
  font-size: 0.875rem;
}

.care-plan-btn {
  display: block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.care-plan-btn-blue {
  background: #0ea5e9;
  color: #ffffff;
}

.care-plan-btn-green {
  background: #7fff00;
  color: #1a1d29;
}

.three-pillars {
  margin-top: 60px;
}

.three-pillars-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-bottom: 32px;
}

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

.pillar-item {
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Site Health Section */
.site-health-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.site-health-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: "Outfit", sans-serif;
}

.site-health-subtitle {
  font-size: 1rem;
  color: #9ca3af;
  margin-bottom: 48px;
}

.site-health-mockup {
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mockup-inner {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 40px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-chrome {
  text-align: left;
  width: 100%;
}

.chrome-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.chrome-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.chrome-dot-red {
  background: #ef4444;
}

.chrome-dot-yellow {
  background: #f59e0b;
}

.chrome-dot-green {
  background: #10b981;
}

.mockup-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
}

.mockup-hero {
  height: 120px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  margin-bottom: 16px;
}

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

.mockup-box {
  height: 80px;
  background: #e5e7eb;
  border-radius: 8px;
}

.btn-audit {
  display: inline-block;
  background: #7fff00;
  color: #1a1d29;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
}

/* Audit Form Section */
.audit-form-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 16px;
  font-family: "Outfit", sans-serif;
}

.audit-form-subtitle {
  font-size: 1rem;
  color: #9ca3af;
  text-align: center;
  margin-bottom: 60px;
}

.audit-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.audit-illustration-wrapper {
  text-align: center;
}

.audit-illustration {
  display: inline-block;
  position: relative;
}

.audit-form-card {
  background: #1f2937;
  border-radius: 16px;
  padding: 40px;
}

.audit-form-group {
  margin-bottom: 20px;
}

.audit-form-label {
  display: block;
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.audit-form-input {
  width: 100%;
  padding: 12px 16px;
  background: #374151;
  border: 1px solid #4b5563;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.875rem;
}

.audit-form-checkbox {
  margin-bottom: 16px;
}

.audit-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9ca3af;
  font-size: 0.875rem;
  cursor: pointer;
}

.audit-checkbox {
  width: 18px;
  height: 18px;
}

.audit-form-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.5;
}

.audit-form-submit {
  width: 100%;
  background: #7fff00;
  color: #1a1d29;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  cursor: pointer;
}

/* Health Checklist Section */
.health-checklist-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  font-family: "Outfit", sans-serif;
}

.health-checklist-content {
  max-width: 900px;
  margin: 0 auto;
}

.health-score-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.health-score-circle {
  display: inline-block;
  position: relative;
  width: 180px;
  height: 180px;
}

.health-score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.health-score-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ef4444;
  line-height: 1;
}

.health-score-total {
  font-size: 1.25rem;
  color: #ef4444;
}

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

.health-check-item {
  text-align: center;
}

.health-check-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.health-check-icon-success {
  background: rgba(16, 185, 129, 0.1);
}

.health-check-icon-warning {
  background: rgba(245, 158, 11, 0.1);
}

.health-check-icon-primary {
  background: rgba(127, 255, 0, 0.1);
  color: #7fff00;
}

.health-check-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.health-check-title-success {
  color: #10b981;
}

.health-check-title-warning {
  color: #f59e0b;
}

.health-check-title-primary {
  color: #7fff00;
}

.health-check-text {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.4;
}

.health-checklist-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 600px;
  margin: 0 auto 48px;
}

.health-checklist-cta {
  text-align: center;
}

.btn-health-cta {
  display: inline-block;
  background: #0ea5e9;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
}

/* Mobile Responsive for Homepage */
@media (max-width: 768px) {
  .hero-grid,
  .faster-grid,
  .care-plans-grid,
  .audit-form-grid,
  .health-checklist-grid,
  .health-checklist-bottom {
    grid-template-columns: 1fr !important;
  }

  .hero-features-grid,
  .why-us-grid,
  .three-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

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

  .faster-title,
  .care-plans-title,
  .site-health-title,
  .audit-form-title,
  .health-checklist-title {
    font-size: 1.75rem;
  }
}

/* Final cleanup classes */
.search-page-header {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
  color: var(--color-white);
}

.post-nav-next {
  text-align: right;
}

/* ==========================================================================
   Dynamic Navigation Menus
   ========================================================================== */

/* Header Navigation - Dynamic Menu */
.main-navigation .nav-menu,
.main-navigation .menu {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .nav-menu li,
.main-navigation .menu li {
  margin: 0;
  padding: 0;
}

.main-navigation .nav-menu a,
.main-navigation .menu a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
  display: block;
}

.main-navigation .nav-menu a:hover,
.main-navigation .menu a:hover,
.main-navigation .nav-menu .current-menu-item > a,
.main-navigation .menu .current-menu-item > a {
  color: var(--color-primary);
}

/* Footer Navigation */
.footer-navigation {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.footer-navigation .footer-menu {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-navigation .footer-menu li {
  margin: 0;
  padding: 0;
}

.footer-navigation .footer-menu a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-navigation .footer-menu a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Dynamic Homepage Sections
   ========================================================================== */

/* Section Headers */
.section-header {
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: var(--text-4xl);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  font-weight: 800;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* Services Showcase Section */
.services-showcase-section {
  background-color: var(--color-bg-secondary);
}

.services-showcase-grid {
  margin-bottom: var(--space-2xl);
}

.service-showcase-card {
  text-align: center;
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.service-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-showcase-icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.service-showcase-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.service-showcase-title a {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.service-showcase-title a:hover {
  color: var(--color-primary);
}

.service-showcase-excerpt {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* Case Studies Section */
.case-studies-section {
  background-color: var(--color-bg-primary);
}

.case-studies-grid {
  margin-bottom: var(--space-2xl);
}

.case-study-card {
  overflow: hidden;
  transition: all var(--transition-base);
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.case-study-thumbnail {
  width: 100%;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
}

.case-study-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.case-study-card:hover .case-study-thumbnail img {
  transform: scale(1.05);
}

.case-study-content {
  padding: 0 var(--space-md) var(--space-md);
}

.case-study-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.case-study-title a {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.case-study-title a:hover {
  color: var(--color-primary);
}

.case-study-excerpt {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* Blog Showcase Section */
.blog-showcase-section {
  background-color: var(--color-bg-secondary);
}

.blog-showcase-grid {
  margin-bottom: var(--space-2xl);
}

.blog-showcase-card {
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.blog-showcase-thumbnail {
  width: 100%;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
}

.blog-showcase-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

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

.blog-showcase-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  display: flex;
  gap: var(--space-xs);
}

.blog-showcase-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.blog-showcase-title a {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-showcase-title a:hover {
  color: var(--color-primary);
}

.blog-showcase-excerpt {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-bg-secondary) 0%,
    var(--color-bg-primary) 100%
  );
  padding: var(--space-5xl) 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--text-5xl);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  font-weight: 800;
}

.cta-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.trust-indicators {
  gap: var(--space-2xl);
}

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

.trust-indicator-value {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.trust-indicator-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Archive Pages
   ========================================================================== */

/* Case Studies Archive */
.case-studies-archive-section {
  background-color: var(--color-bg-primary);
}

.case-studies-header {
  margin-bottom: var(--space-4xl);
}

.case-studies-archive-grid {
  margin-bottom: var(--space-3xl);
}

.case-study-archive-card {
  overflow: hidden;
  transition: all var(--transition-base);
}

.case-study-archive-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.case-study-archive-thumbnail {
  width: 100%;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
}

.case-study-archive-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.case-study-archive-card:hover .case-study-archive-thumbnail img {
  transform: scale(1.05);
}

.case-study-archive-content {
  padding: 0 var(--space-md) var(--space-md);
}

.case-study-archive-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.case-study-archive-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.case-study-archive-title a {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.case-study-archive-title a:hover {
  color: var(--color-primary);
}

.case-study-archive-excerpt {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* ==========================================================================
   Single Pages
   ========================================================================== */

/* Single Case Study */
.single-case-study-section {
  background-color: var(--color-bg-primary);
}

.single-case-study-header {
  margin-bottom: var(--space-4xl);
}

.single-case-study-excerpt {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: var(--space-lg) auto;
}

.single-case-study-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}

.single-case-study-featured-image {
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.single-case-study-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-case-study-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.single-case-study-content-card {
  margin-bottom: var(--space-4xl);
}

.single-case-study-cta {
  background-color: var(--color-bg-secondary);
  padding: var(--space-4xl);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4xl);
}

.single-case-study-cta h2 {
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.single-case-study-cta-text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.related-case-studies-section {
  margin-top: var(--space-5xl);
}

.related-case-studies-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.related-case-study-card {
  text-align: center;
  padding: var(--space-xl);
}

.related-case-study-thumbnail {
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.related-case-study-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.related-case-study-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

.related-case-study-link {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.related-case-study-link:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Mobile Responsive for Dynamic Sections
   ========================================================================== */

@media (max-width: 768px) {
  .main-navigation .nav-menu,
  .main-navigation .menu {
    flex-direction: column;
    gap: 0;
  }

  .footer-navigation .footer-menu {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .section-subtitle {
    font-size: var(--text-base);
  }

  .cta-title {
    font-size: var(--text-3xl);
  }

  .cta-subtitle {
    font-size: var(--text-base);
  }

  .cta-buttons {
    flex-direction: column;
  }

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

  .trust-indicator-value {
    font-size: var(--text-2xl);
  }
}

/* ==========================================================================
   Header & Navigation - Enhanced Responsive
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  z-index: var(--z-sticky);
}

.site-logo svg {
  flex-shrink: 0;
}

.site-logo-text {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}

/* Animated Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: var(--z-sticky);
  position: relative;
  width: 40px;
  height: 40px;
}

.hamburger-box {
  width: 24px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  position: absolute;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

/* Hamburger Animation - Transform to X */
.mobile-menu-toggle.active .hamburger-inner {
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
}

/* Desktop Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.main-navigation .nav-menu,
.main-navigation .menu {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .nav-menu li,
.main-navigation .menu li {
  margin: 0;
  padding: 0;
}

.main-navigation .nav-menu a,
.main-navigation .menu a,
.main-navigation > a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
  display: block;
  position: relative;
}

.main-navigation .nav-menu a:hover,
.main-navigation .menu a:hover,
.main-navigation > a:hover,
.main-navigation .nav-menu .current-menu-item > a,
.main-navigation .menu .current-menu-item > a {
  color: var(--color-primary);
}

/* Underline effect on hover */
.main-navigation .nav-menu a::after,
.main-navigation .menu a::after,
.main-navigation > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.main-navigation .nav-menu a:hover::after,
.main-navigation .menu a:hover::after,
.main-navigation > a:hover::after,
.main-navigation .nav-menu .current-menu-item > a::after,
.main-navigation .menu .current-menu-item > a::after {
  width: 100%;
}

/* ==========================================================================
   Mobile Responsive Styles
   ========================================================================== */

@media (max-width: 767px) {
  /* Show hamburger menu */
  .mobile-menu-toggle {
    display: block;
  }

  /* Mobile Navigation */
  .main-navigation {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg-secondary);
    flex-direction: column;
    padding: var(--space-2xl) var(--container-padding);
    overflow-y: auto;
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-xl);
  }

  .main-navigation.active {
    display: flex;
  }

  .main-navigation .nav-menu,
  .main-navigation .menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-navigation .nav-menu a,
  .main-navigation .menu a,
  .main-navigation > a {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-lg);
    width: 100%;
  }

  .main-navigation .nav-menu li:last-child a,
  .main-navigation .menu li:last-child a {
    border-bottom: none;
  }

  /* Remove underline effect on mobile */
  .main-navigation .nav-menu a::after,
  .main-navigation .menu a::after,
  .main-navigation > a::after {
    display: none;
  }

  /* Adjust header height on mobile */
  .header-inner {
    height: 60px;
  }

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

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .main-navigation {
    gap: var(--space-lg);
  }

  .main-navigation .nav-menu,
  .main-navigation .menu {
    gap: var(--space-lg);
  }
}

/* ==========================================================================
   Responsive Grid Improvements
   ========================================================================== */

/* Mobile: Stack all grids */
@media (max-width: 767px) {
  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet: 2 columns for 3 and 4 column grids */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Responsive Typography
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
    --text-xl: 1.125rem;
  }

  h1 {
    font-size: var(--text-4xl);
  }

  h2 {
    font-size: var(--text-3xl);
  }

  h3 {
    font-size: var(--text-xl);
  }
}

/* ==========================================================================
   Responsive Spacing
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --space-5xl: 4rem;
    --space-4xl: 3rem;
    --space-3xl: 2.5rem;
    --space-2xl: 2rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .section-lg {
    padding: var(--space-4xl) 0;
  }

  .card {
    padding: var(--space-lg);
  }
}

/* ==========================================================================
   Responsive Buttons
   ========================================================================== */

@media (max-width: 767px) {
  .btn {
    padding: 12px 24px;
    font-size: var(--text-xs);
  }

  .btn-large {
    padding: 14px 28px;
    font-size: var(--text-sm);
  }

  .btn-full-width {
    width: 100%;
    display: block;
    text-align: center;
  }

  .hero-buttons,
  .cta-buttons,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

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

/* ==========================================================================
   Responsive Images
   ========================================================================== */

@media (max-width: 767px) {
  img {
    max-width: 100%;
    height: auto;
  }

  .featured-image-wrapper img,
  .blog-post-thumbnail img,
  .case-study-thumbnail img,
  .service-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* ==========================================================================
   Responsive Forms
   ========================================================================== */

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-group {
    margin-bottom: var(--space-md);
  }

  input,
  select,
  textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* ==========================================================================
   Responsive Homepage Sections
   ========================================================================== */

@media (max-width: 767px) {
  /* Hero Section */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-text {
    font-size: var(--text-base);
  }

  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .hero-feature-card {
    padding: var(--space-md);
  }

  .hero-feature-icon {
    font-size: 1.5rem;
  }

  .hero-feature-text {
    font-size: var(--text-xs);
  }

  /* Chart adjustments */
  .hero-chart-wrapper {
    max-width: 100%;
  }

  /* Trust Indicators */
  .trust-indicators {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .trust-indicator-value {
    font-size: var(--text-2xl);
  }

  .trust-indicator-label {
    font-size: var(--text-xs);
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ==========================================================================
   Touch Device Optimizations
   ========================================================================== */

@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn {
    min-height: 44px;
    padding: 14px 28px;
  }

  .mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .main-navigation a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Remove hover effects on touch devices */
  .card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .main-navigation,
  .btn,
  .cta-section {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a {
    text-decoration: underline;
    color: #000;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
    color: #000;
  }
}

/* ==========================================================================
   Landscape Mobile Optimizations
   ========================================================================== */

@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
  }

  .main-navigation {
    padding: var(--space-lg) var(--container-padding);
  }

  .main-navigation .nav-menu a,
  .main-navigation .menu a,
  .main-navigation > a {
    padding: var(--space-md) 0;
  }
}

/* ==========================================================================
   High Resolution Displays
   ========================================================================== */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper borders and shadows */
  .card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .site-header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  }
}
