/* ========================================
   MODERN AI/SAAS DESIGN SYSTEM
   Local Business Search
   ======================================== */

/* ============ VARIABLES ============ */
:root {
  /* Colors */
  --navy: #0A1628;
  --navy-light: #162a47;
  --bright-blue: #0066FF;
  --blue-dark: #0052CC;
  --dark: #1A1A1A;
  --gray-dark: #333333;
  --gray-medium: #666666;
  --gray-light: #CCCCCC;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --blue-tint: #F7FBFF;
  --blue-soft: #E8F4FF;
  --violet: #6366F1;
  --violet-light: #818CF8;
  
  /* Gradients */
  --gradient-blue: linear-gradient(135deg, var(--bright-blue) 0%, var(--blue-dark) 100%);
  --gradient-navy: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  --gradient-violet: linear-gradient(135deg, var(--violet) 0%, var(--violet-light) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 8px 24px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 12px 32px rgba(10, 22, 40, 0.15);
  --shadow-glow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-smooth: 0.35s ease;
}

/* ============ RESET & BASE ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

a {
  color: var(--bright-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--blue-dark);
}

strong {
  font-weight: 600;
  color: var(--navy);
}

/* ============ LAYOUT ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ============ SECTIONS ============ */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-sm {
  padding: var(--spacing-2xl) 0;
}

.section-lg {
  padding: calc(var(--spacing-3xl) * 1.5) 0;
}

.section-light {
  background: var(--blue-tint);
}

.section-soft {
  background: var(--light-gray);
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

/* Section Headers */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--navy);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--gray-medium);
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bright-blue);
  margin-bottom: var(--spacing-sm);
}

/* ============ HEADER ============ */
header {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-base);
}

.logo:hover {
  color: var(--bright-blue);
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

nav a {
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-base);
  position: relative;
}

nav a:hover {
  color: var(--bright-blue);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bright-blue);
  transition: width var(--transition-base);
}

nav a:hover::after {
  width: 100%;
}

/* ============ HERO SECTIONS ============ */
.hero {
  background: var(--gradient-navy);
  color: var(--white);
  padding: calc(var(--spacing-3xl) * 1.5) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Page Hero (for internal pages) */
.page-hero {
  background: var(--gradient-navy);
  color: var(--white);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.page-hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  color: var(--white);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

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

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

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
  height: 100%;
}

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

.card-header {
  margin-bottom: var(--spacing-md);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
}

.section-dark .card-title {
  color: var(--navy);
}

.section-dark .feature-card {
  background: var(--white);
}

.section-dark .feature-card h3 {
  color: var(--navy);
}

.section-dark .feature-card p,
.section-dark .feature-card li {
  color: var(--gray-dark);
}

.card-description {
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bright-blue);
  font-weight: 600;
  transition: gap var(--transition-base);
}

.card-link:hover {
  gap: 0.75rem;
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  border: 2px solid var(--light-gray);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: var(--bright-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

/* ============ GRIDS ============ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

/* ============ STATS SECTION ============ */
.stats-section {
  background: var(--gradient-navy);
  padding: var(--spacing-3xl) 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-2xl);
  margin: var(--spacing-xl) 0;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.stat-card {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  overflow: visible;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.stat-number {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
  padding: 0.5rem;
  word-break: keep-all;
  white-space: nowrap;
  display: block;
  overflow: visible;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

.stat-note {
  font-size: 0.75rem;
  opacity: 0.6;
  font-weight: 400;
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.4;
}

/* ============ SPLIT SECTIONS ============ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.split-content h2 {
  margin-bottom: var(--spacing-md);
}

.split-content p {
  margin-bottom: var(--spacing-md);
}

.split-visual {
  background: var(--blue-soft);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  border: 2px solid var(--bright-blue);
}

/* ============ QUOTE SECTION ============ */
.quote-section {
  background: var(--blue-tint);
  padding: var(--spacing-3xl) 0;
  text-align: center;
}

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

.quote-text {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: var(--spacing-lg);
  font-style: italic;
  position: relative;
}

.quote-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--bright-blue);
  opacity: 0.3;
  position: absolute;
  top: -1rem;
  left: -2rem;
}

.quote-author {
  font-size: 1.125rem;
  color: var(--gray-medium);
  font-weight: 500;
}

.quote-role {
  font-size: 1rem;
  color: var(--gray-light);
}

/* ============ CTA SECTIONS ============ */
.cta-section {
  background: var(--gradient-navy);
  color: var(--white);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  color: var(--white);
}

/* ============ BUSINESS ROLES ============ */
.business-roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.role-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--light-gray);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-smooth);
}

.role-card:hover::before {
  transform: scaleY(1);
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--bright-blue);
}

.role-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-blue);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.role-card h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: var(--spacing-md);
}

.role-problem,
.role-solution,
.role-outcome {
  margin-bottom: var(--spacing-md);
}

.role-problem strong,
.role-solution strong,
.role-outcome strong {
  display: block;
  color: var(--navy);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-xs);
}

.role-problem p {
  color: var(--gray-medium);
  font-style: italic;
  line-height: 1.6;
}

.role-solution ul {
  list-style: none;
  padding: 0;
}

.role-solution li {
  padding: var(--spacing-xs) 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-dark);
  line-height: 1.6;
}

.role-solution li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bright-blue);
  font-weight: 700;
}

.role-outcome {
  color: var(--navy);
  font-weight: 600;
  font-size: 1.0625rem;
  padding-top: var(--spacing-md);
  border-top: 2px solid var(--light-gray);
}

.role-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--spacing-md);
  color: var(--bright-blue);
  text-decoration: none;
  font-weight: 600;
  transition: gap var(--transition-base);
}

.role-link:hover {
  gap: 0.75rem;
}

/* ============ PROCESS STEPS ============ */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--light-gray);
  transition: all var(--transition-base);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bright-blue);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-md);
}

.process-step h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: var(--spacing-md);
}

.process-step p {
  color: var(--gray-dark);
  line-height: 1.6;
  margin: var(--spacing-xs) 0;
}

.step-arrow {
  font-size: 2rem;
  color: var(--bright-blue);
  font-weight: 700;
}

/* ============ SERVICES/FEATURES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.service-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 2px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  text-align: center;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-blue);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--spacing-md);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: var(--spacing-md);
}

.service-card p {
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.service-card a {
  color: var(--bright-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-base);
}

.service-card a:hover {
  gap: 0.75rem;
}

/* ============ INDUSTRIES GRID ============ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.industry-card {
  padding: var(--spacing-xl);
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-smooth);
  display: block;
}

.industry-card:hover {
  border-color: var(--bright-blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--blue-tint);
}

.industry-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: var(--spacing-sm);
}

.industry-card p {
  color: var(--gray-medium);
  font-size: 0.9375rem;
}

/* ============ CASE STUDY CARDS ============ */
.case-study-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  border: 2px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  margin-bottom: var(--spacing-xl);
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bright-blue);
}

.case-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.case-study-card h3 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: var(--spacing-md);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 2px solid var(--light-gray);
}

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

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bright-blue);
  margin-bottom: var(--spacing-xs);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--gray-medium);
}

/* ============ BLOG ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--bright-blue);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--gradient-blue);
}

.blog-card-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .blog-category {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--blue-soft);
  color: var(--bright-blue);
  border-radius: var(--radius-sm);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.blog-card-title {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-base);
}

.blog-card-title a:hover {
  color: var(--bright-blue);
}

.blog-card-excerpt {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.blog-card-meta {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.blog-read-more {
  color: var(--bright-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-base);
  text-decoration: none;
}

.blog-read-more:hover {
  gap: 0.75rem;
}

/* Featured Blog */
.featured-blog {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--bright-blue);
  margin-bottom: var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
}

.featured-blog-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  background: var(--gradient-blue);
}

.featured-blog-content {
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  width: fit-content;
}

/* Blog Article */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-2xl) 0;
}

.blog-article h2 {
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-md);
}

.blog-article h3 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.blog-article p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.blog-article ul,
.blog-article ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.blog-article li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

.blog-article a {
  color: var(--bright-blue);
  text-decoration: underline;
}

.blog-article blockquote {
  border-left: 4px solid var(--bright-blue);
  padding-left: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  font-style: italic;
  color: var(--gray-dark);
}

/* ============ FOOTER ============ */
footer {
  background: var(--navy);
  color: var(--white);
  padding: var(--spacing-3xl) 0;
}

footer p {
  color: rgba(255, 255, 255, 0.8);
}

/* Footer Main Layout */
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.footer-brand {
  max-width: 400px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Footer Navigation Grid */
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-2xl);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: var(--spacing-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  footer {
    padding: var(--spacing-2xl) 0;
  }
  
  .footer-main {
    padding-bottom: var(--spacing-2xl);
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .split-section {
    grid-template-columns: 1fr;
  }
  
  .featured-blog {
    grid-template-columns: 1fr;
  }
  
  .featured-blog-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .hero {
    padding: var(--spacing-2xl) 0;
  }
  
  .process-steps {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .business-roles-grid {
    grid-template-columns: 1fr;
  }
  
  .role-icon {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .container,
  .container-wide,
  .container-narrow {
    padding: 0 var(--spacing-md);
  }
}

/* ============ UTILITY CLASSES ============ */
.text-center {
  text-align: center;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* ============ ENHANCED INDUSTRY PAGE STYLES ============ */
.blog-article h2 {
  text-align: center !important;
  color: var(--navy) !important;
  font-size: 2.25rem !important;
  margin: 3rem auto 2rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 3px solid var(--bright-blue) !important;
  max-width: 700px !important;
}

.blog-article > h2:first-of-type {
  margin-top: 0 !important;
}

.blog-article h3 {
  color: var(--navy) !important;
  font-size: 1.5rem !important;
  margin: 2rem 0 1rem !important;
}

/* Make lists look better */
.blog-article ul li {
  padding: 0.75rem 0 !important;
  line-height: 1.7 !important;
}

/* Add visual separation for sections */
.blog-article hr {
  border: none !important;
  border-top: 2px solid var(--gray-light) !important;
  margin: 3rem 0 !important;
}

/* Style for before/after or problem lists */
.blog-article > ul {
  background: var(--blue-tint);
  padding: 2rem !important;
  border-radius: 0.75rem;
  border-left: 4px solid var(--bright-blue);
  margin: 2rem 0;
}


/* ============ INDUSTRY PAGE MARKDOWN STYLING ============ */
.section.section-light article h2 {
  text-align: center;
  color: var(--navy);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 3rem auto 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--bright-blue);
  max-width: 600px;
}

.section.section-light article h2:first-of-type {
  margin-top: 0;
}

.section.section-light article h3 {
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section.section-light article ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

.section.section-light article ul li {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--bright-blue);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.08);
  line-height: 1.7;
}

.section.section-light article ul li strong {
  color: var(--navy);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.section.section-light article p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin: 1rem 0;
}

.section.section-light article p strong {
  color: var(--navy);
  font-weight: 600;
}

.section.section-light article hr {
  border: none;
  margin: 0;
  padding: 0;
  height: 0;
}

/* Make before/after sections visual */
.section.section-light article h3 + ul {
  background: var(--blue-tint);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 2px solid var(--bright-blue);
}

.section.section-light article h3 + ul li {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.section.section-light article h3 + ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--bright-blue);
  font-weight: 700;
}


/* ============ HEADER CTA BUTTON ============ */
.header-cta-btn {
  padding: 0.625rem 1.5rem;
  background: var(--bright-blue);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}

.header-cta-btn:hover {
  background: var(--blue-dark);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Update header container to use flexbox with space between */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-container nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .header-cta-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}


/* ============ FORM STYLING ============ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: all var(--transition-base);
  background: white;
  color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bright-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group select {
  cursor: pointer;
  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'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-medium);
  opacity: 0.7;
}

/* Form validation states */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #CC0000;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid,
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #00AA00;
}


/* ============ ENHANCED RESPONSIVE HEADER ============ */

/* Header Base */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.05);
  transition: all var(--transition-base);
}

#site-header.scrolled {
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.1);
}

/* Header Container - Updated */
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo - Enhanced */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--transition-base);
  z-index: 1001;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-icon {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bright-blue);
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* Desktop Navigation */
.desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 0;
  margin: 0;
}

.desktop-nav li {
  margin: 0;
}

.desktop-nav a {
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition-base);
  position: relative;
  padding: 0.5rem 0;
}

.desktop-nav a:hover {
  color: var(--bright-blue);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bright-blue);
  transition: width var(--transition-base);
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform var(--transition-base);
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 24px rgba(10, 22, 40, 0.15);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  display: none;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav nav {
  padding: 6rem 2rem 2rem;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin: 0;
  border-bottom: 1px solid var(--gray-light);
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--navy);
  font-weight: 500;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: all var(--transition-base);
}

.mobile-nav a:hover {
  color: var(--bright-blue);
  padding-left: 0.5rem;
}

.mobile-cta-item {
  margin-top: 2rem;
  border-bottom: none !important;
  padding-top: 2rem;
  border-top: 2px solid var(--gray-light);
}

.mobile-cta-btn {
  display: block;
  width: 100%;
  padding: 1rem !important;
  background: var(--bright-blue);
  color: white !important;
  text-align: center;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}

.mobile-cta-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  padding-left: 1rem !important;
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 22, 40, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============ RESPONSIVE BREAKPOINTS ============ */

/* Tablet (iPad) and below - 1024px */
@media (max-width: 1024px) {
  .desktop-nav ul {
    gap: 1.5rem;
  }
  
  .desktop-nav a {
    font-size: 0.875rem;
  }
  
  .logo-text {
    display: none;
  }
  
  .logo-icon {
    font-size: 1.5rem;
  }
}

/* Mobile and Small Tablets - 768px */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem 1.25rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .desktop-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .mobile-nav {
    display: block;
  }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .header-container {
    padding: 0.875rem 1rem;
  }
  
  .mobile-nav {
    width: 100%;
    right: -100%;
  }
  
  .mobile-nav.active {
    right: 0;
  }
}

/* Large Desktop - 1440px+ */
@media (min-width: 1440px) {
  .header-container {
    max-width: 1600px;
  }
  
  .desktop-nav ul {
    gap: 2.5rem;
  }
  
  .desktop-nav a {
    font-size: 1rem;
  }
}


/* Desktop - Hide Mobile Nav Components */
@media (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
  
  .mobile-overlay {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============ DROPDOWN MENU STYLES ============ */

/* Desktop Dropdown */
.desktop-nav .has-dropdown {
  position: relative;
}

.desktop-nav .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform var(--transition-base);
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.12);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 100;
  list-style: none;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 0.5rem);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--blue-tint);
  color: var(--bright-blue);
  padding-left: 2rem;
}

.dropdown-menu a::after {
  display: none;
}

/* Mobile Dropdown */
.mobile-has-dropdown {
  position: relative;
}

.mobile-dropdown-toggle {
  position: relative;
  padding-right: 2rem !important;
}

.mobile-dropdown-toggle::after {
  content: '›';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 1.5rem;
  transition: transform var(--transition-base);
}

.mobile-has-dropdown.active .mobile-dropdown-toggle::after {
  transform: translateY(-50%) rotate(-90deg);
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.mobile-has-dropdown.active .mobile-submenu {
  max-height: 300px;
}

.mobile-submenu li {
  border-bottom: 1px solid rgba(10, 22, 40, 0.05);
}

.mobile-submenu li:last-child {
  border-bottom: none;
}

.mobile-submenu a {
  padding: 0.875rem 1.5rem !important;
  font-size: 0.9375rem !important;
  color: var(--gray-dark) !important;
}

.mobile-submenu a:hover {
  background: white;
  color: var(--bright-blue) !important;
  padding-left: 2rem !important;
}

/* Prevent dropdown arrow from getting underline */
.desktop-nav .has-dropdown > a::after {
  display: none;
}


/* ============ BLOG FILTERS ============ */

.blog-filters {
  margin: 3rem 0;
}

/* Category Filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.category-filter-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  color: var(--gray-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.category-filter-btn:hover {
  border-color: var(--bright-blue);
  color: var(--bright-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.category-filter-btn.active {
  background: var(--bright-blue);
  border-color: var(--bright-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Tag Filters Wrapper */
.tag-filters-wrapper {
  text-align: center;
}

.tag-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  color: var(--gray-medium);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.tag-toggle:hover {
  border-color: var(--bright-blue);
  color: var(--bright-blue);
}

.tag-toggle svg {
  transition: transform var(--transition-base);
}

.tag-toggle.active svg {
  transform: rotate(180deg);
}

/* Tag Filters */
.tag-filters {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 0 1rem;
  background: rgba(245, 245, 245, 0.5);
  border-radius: var(--radius-md);
}

.tag-filters.active {
  max-height: 1000px;
  margin-top: 1rem;
  padding: 1rem;
  overflow: visible;
}

.tag-filter-btn {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  color: var(--gray-dark);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.tag-filter-btn:hover {
  border-color: var(--bright-blue);
  color: var(--bright-blue);
  background: var(--blue-tint);
}

.tag-filter-btn.active {
  background: var(--blue-tint);
  border-color: var(--bright-blue);
  color: var(--bright-blue);
  font-weight: 600;
}

/* Blog Post Item */
.blog-post-item {
  transition: all 0.3s ease;
}

.blog-post-item.hidden {
  display: none;
}

/* No Results Message */
.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--gray-medium);
  background: white;
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.no-results p {
  font-size: 1.125rem;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .category-filters {
    gap: 0.75rem;
  }
  
  .category-filter-btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
  
  .tag-filters {
    gap: 0.5rem;
  }
  
  .tag-filter-btn {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
  }
}


/* Blog Card Meta - Updated for Compact Design */
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-meta-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-medium);
}

.blog-read-more {
  color: var(--bright-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition-base);
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
}

.blog-read-more:hover {
  gap: 0.5rem;
  color: var(--blue-dark);
}

.blog-read-more span {
  transition: transform var(--transition-base);
}

.blog-read-more:hover span {
  transform: translateX(2px);
}


/* ============ LOGO IMAGE STYLES ============ */

/* Logo Container */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-base);
  z-index: 1001;
}

.logo:hover {
  transform: scale(1.02);
}

/* Logo Image */
.logo-image {
  height: 50px;
  width: auto;
  display: block;
  transition: all var(--transition-base);
}

/* Responsive Logo Sizes */
@media (max-width: 1024px) {
  .logo-image {
    height: 45px;
  }
}

@media (max-width: 768px) {
  .logo-image {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 36px;
  }
}


/* ============ UPDATED LOGO LOCKUP STYLES ============ */

/* Logo Lockup Container */
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform var(--transition-base);
  z-index: 1001;
}

.logo-lockup:hover {
  transform: scale(1.02);
}

/* Logo Icon */
.logo-icon-img {
  height: 50px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Logo Text Wrapper */
.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

/* Main Logo Text */
.logo-text-main {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

/* Sub Logo Text */
.logo-text-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

/* Color Classes */
.text-navy {
  color: var(--navy);
}

.text-blue {
  color: var(--bright-blue);
}

/* Responsive Logo Lockup */
@media (max-width: 1024px) {
  .logo-icon-img {
    height: 45px;
  }
  
  .logo-text-main {
    font-size: 1.125rem;
  }
  
  .logo-text-sub {
    font-size: 0.6875rem;
  }
}

@media (max-width: 768px) {
  .logo-lockup {
    gap: 0.75rem;
  }
  
  .logo-icon-img {
    height: 40px;
  }
  
  .logo-text-main {
    font-size: 1rem;
  }
  
  .logo-text-sub {
    font-size: 0.625rem;
  }
}

@media (max-width: 480px) {
  .logo-lockup {
    gap: 0.5rem;
  }
  
  .logo-icon-img {
    height: 36px;
  }
  
  .logo-text-main {
    font-size: 0.875rem;
  }
  
  .logo-text-sub {
    font-size: 0.5625rem;
  }
}

/* Hide text on very small screens if needed */
@media (max-width: 380px) {
  .logo-text-sub {
    display: none;
  }
}


/* ============ HERO LOGO LOCKUP STYLES ============ */

/* Hero Logo Lockup Container */
.hero-logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Hero Logo Icon */
.hero-logo-icon {
  height: 80px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Hero Logo Text Wrapper */
.hero-logo-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
  text-align: left;
}

/* Hero Main Logo Text */
.hero-logo-text-main {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

/* Hero Sub Logo Text */
.hero-logo-text-sub {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

/* Hero Color Classes */
.text-white {
  color: white;
}

.text-blue-bright {
  color: var(--bright-blue);
}

/* Responsive Hero Logo */
@media (max-width: 1024px) {
  .hero-logo-icon {
    height: 70px;
  }
  
  .hero-logo-text-main {
    font-size: 1.75rem;
  }
  
  .hero-logo-text-sub {
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .hero-logo-lockup {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-logo-icon {
    height: 60px;
  }
  
  .hero-logo-text-main {
    font-size: 1.5rem;
  }
  
  .hero-logo-text-sub {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-logo-lockup {
    gap: 0.75rem;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-logo-text-wrapper {
    align-items: flex-start;
    text-align: left;
  }
  
  .hero-logo-icon {
    height: 50px;
  }
  
  .hero-logo-text-main {
    font-size: 1.25rem;
  }
  
  .hero-logo-text-sub {
    font-size: 0.6875rem;
  }
}


/* ============ HOMEPAGE BLOG SECTION ============ */

/* Blog Section Header */
.blog-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.blog-section-header-text {
  width: 100%;
  max-width: 800px;
}

.blog-section-header .section-label,
.blog-section-header .section-title,
.blog-section-header .section-subtitle {
  text-align: center;
}

.blog-section-header .btn {
  flex-shrink: 0;
}

/* Responsive Blog Section Header */
@media (max-width: 768px) {
  .blog-section-header {
    gap: 1.25rem;
  }
  
  .blog-section-header .btn {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
}


/* ============ MINIMAL BLOG CARDS (HOMEPAGE) ============ */

/* Square blog cards with minimal content */
.blog-card {
  aspect-ratio: 1 / 1.2;
  min-height: 360px;
}

/* Adjust content padding */
.blog-card-content {
  padding: 1rem;
  justify-content: flex-start;
}

/* Title styling for minimal cards */
.blog-card-title {
  margin-bottom: 0.75rem;
}

.blog-card-title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive square cards */
@media (max-width: 768px) {
  .blog-card {
    aspect-ratio: auto;
    min-height: auto;
  }
}


/* ============ BLOG CARD TAGS ============ */

/* Blog card tags container */
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
  margin-bottom: auto;
}

/* Individual tag */
.blog-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 102, 255, 0.08);
  color: var(--gray-dark);
  border-radius: var(--radius-sm);
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(0, 102, 255, 0.15);
  transition: all var(--transition-base);
}

.blog-tag:hover {
  background: rgba(0, 102, 255, 0.12);
  border-color: var(--bright-blue);
  color: var(--bright-blue);
}

/* Responsive tags */
@media (max-width: 768px) {
  .blog-card-tags {
    gap: 0.25rem;
  }
  
  .blog-tag {
    font-size: 0.5625rem;
    padding: 0.2rem 0.4rem;
  }
}


/* ============ CLICKABLE BLOG CARDS ============ */

/* Make entire blog card clickable */
.blog-card {
  cursor: pointer;
  transition: all var(--transition-base);
}

/* Prevent nested links from double-triggering */
.blog-card a {
  position: relative;
  z-index: 1;
}

/* Card hover state */
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.15);
}


/* ============ BLOG IMAGE CREDITS ============ */

/* Image credit hover effects */
.blog-article img + p a:hover {
  border-bottom-color: var(--gray-medium) !important;
}


/* ============ INDUSTRY CARDS WITH IMAGES ============ */

/* Update industry card structure */
.industry-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.08);
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Industry image container */
.industry-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--light-gray);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Industry content */
.industry-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.industry-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  transition: color var(--transition-base);
}

.industry-content p {
  color: var(--gray-medium);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Hover effects */
.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.15);
}

.industry-card:hover .industry-image img {
  transform: scale(1.05);
}

.industry-card:hover .industry-content h3 {
  color: var(--bright-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .industry-image {
    height: 160px;
  }
  
  .industry-content {
    padding: 1.25rem;
  }
  
  .industry-content h3 {
    font-size: 1.125rem;
  }
  
  .industry-content p {
    font-size: 0.875rem;
  }
}

