/* ==========================================================================
   Design System Variables & CSS Tokens
   ========================================================================== */
:root {
  /* Common System Colors */
  --accent: #2563eb; /* Royal/Cobalt Blue */
  --accent-hover: #1d4ed8;
  --accent-light: rgba(37, 99, 235, 0.08);
  --accent-glow: rgba(37, 99, 235, 0.2);
  
  --border-radius-lg: 28px;
  --border-radius-md: 18px;
  --border-radius-sm: 10px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  --container-width: 1280px;

  /* Theme-Dependent Tokens */
  color-scheme: light dark;
}

/* Base Light Theme Tokens */
.section-light {
  --bg-primary: #f8fafc; /* Slate 50 */
  --bg-secondary: #f1f5f9; /* Slate 100 */
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-tertiary: #64748b; /* Slate 500 */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08), 0 4px 8px 0 rgba(0, 0, 0, 0.04);
  --glass-shadow-hover: 0 20px 40px 0 rgba(31, 38, 135, 0.15), 0 8px 16px 0 rgba(0, 0, 0, 0.06);
  --inset-glow: inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
  --border-color: rgba(15, 23, 42, 0.08);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Base Dark Theme Tokens */
.section-dark {
  --bg-primary: #090d16; /* Near Black */
  --bg-secondary: #0f172a; /* Slate 900 */
  --text-primary: #f8fafc; /* Slate 50 */
  --text-secondary: #cbd5e1; /* Slate 300 */
  --text-tertiary: #94a3b8; /* Slate 400 */
  --glass-bg: rgba(15, 23, 42, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  --glass-shadow-hover: 0 20px 40px 0 rgba(0, 0, 0, 0.5), 0 8px 16px 0 rgba(0, 0, 0, 0.3);
  --inset-glow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.08);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: #090d16;
  color: #f8fafc;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
  width: 100%;
}

/* ==========================================================================
   Glassmorphism Utility
   ========================================================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--inset-glow);
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  box-shadow: var(--glass-shadow-hover), var(--inset-glow);
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  position: relative;
  background: linear-gradient(110deg, #5ea3ff 0%, #9b8cff 50%, #5ea3ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50%      { filter: hue-rotate(15deg); }
}


/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.4);
}


.btn-nav-outline {
  margin-right: 0.5rem;
  background: rgba(255,255,255,0.05);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.85rem 1.75rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}
.btn-nav-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.header.scrolled .btn-nav-outline {
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.3);
  background: transparent;
}
.header.scrolled .btn-nav-outline:hover {
  background: rgba(37, 99, 235, 0.05);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
  /* Removed backdrop-filter to keep it perfectly transparent */
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-secondary svg {
  margin-right: 8px;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Background Ambient Blobs (Dark sections only)
   ========================================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
  transition: var(--transition-smooth);
}

.bg-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.8) 0%, rgba(37, 99, 235, 0.05) 80%);
  top: -150px;
  right: -100px;
}

.bg-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.5) 0%, rgba(239, 68, 68, 0.02) 80%);
  bottom: 30%;
  left: -200px;
}

.bg-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(59, 130, 246, 0.02) 80%);
  bottom: -100px;
  right: 15%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-width);
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header.scrolled {
  top: 12px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(20, 22, 36, 0.45);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  padding: 6px 12px 6px 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.65);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.nav-logo.hide-logo {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-10px) !important;
  pointer-events: none !important;
}

.nav-logo .logo-text {
  display: none;
}

.logo-img {
  height: 59px;
  width: auto;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
  filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.6)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.35));
}

.header.scrolled .logo-img {
  height: 44px;
}


.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.logo-text span {
  color: var(--accent);
}

.nav-links {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 16px;
  border-radius: 100px;
  transition: color 0.3s ease;
  background: transparent !important;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown:hover .dropdown-toggle {
  color: #ffffff !important;
}

/* When the nav menu is hovered, do not keep the non-hovered active link text white, since the pill moves to the hovered item */
.nav-links:hover .nav-link.active:not(:hover) {
  color: rgba(255, 255, 255, 0.8) !important;
}

.header.scrolled .nav-link {
  color: #475569;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active,
.header.scrolled .nav-dropdown:hover .dropdown-toggle {
  color: #ffffff !important;
}

/* When scrolled and nav menu is hovered, revert active link to dark text if it is not hovered */
.header.scrolled .nav-links:hover .nav-link.active:not(:hover) {
  color: #475569 !important;
}

/* ==========================================================================
   Navigation Dropdowns
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  color: #f8fafc;
  padding: 6px 16px;
  line-height: inherit;
  font-weight: 600;
  transition: color 0.3s ease;
}

.dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 0.75rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  pointer-events: none;
}

/* Invisible bridge to prevent hover from dropping when moving mouse slowly */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  color: #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background: var(--accent);
  color: #ffffff;
}

.header.scrolled .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.header.scrolled .dropdown-item {
  color: #475569;
}

.header.scrolled .dropdown-item:hover {
  background: var(--accent);
  color: #ffffff;
}

.header.scrolled .dropdown-toggle {
  color: #475569;
}


/* Dynamic sliding indicator pill */
.nav-indicator-pill {
  position: absolute;
  z-index: 1;
  border-radius: 100px;
  background: #1e40af;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header.scrolled .nav-indicator-pill {
  background: #1e40af;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}



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

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  transition: var(--transition-fast);
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 1rem;
  width: 100%;
  text-align: center;
  transition: color 0.3s ease;
  position: relative;
  overflow: hidden;
  display: block;
}

.mobile-dropdown {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-dropdown-toggle svg {
  transition: transform 0.3s ease;
}

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

.mobile-dropdown-menu {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  margin: 0 1rem;
}

.mobile-dropdown-item {
  padding: 0.8rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 100px;
  margin: 2px 0;
  transition: all 0.2s ease;
}

.mobile-dropdown-item:hover,
.mobile-dropdown-item:active {
  color: #fff;
  background: var(--primary);
}

.phone-link:hover {
  color: var(--accent);
}

.header.scrolled .phone-link {
  color: #0f172a;
}

.header.scrolled .phone-link:hover {
  color: var(--accent);
}

.phone-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.header .btn-primary, .header .btn-nav-outline {
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 100px;
}

.header.scrolled .menu-toggle span {
  background-color: #0f172a;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: auto;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.menu-toggle span:nth-child(1) { width: 50%; }
.menu-toggle span:nth-child(2) { width: 100%; }
.menu-toggle span:nth-child(3) { width: 100%; }
.menu-toggle span:nth-child(4) { width: 100%; }



/* Animate hamburger to X when active */
body:has(.mobile-menu.active) .menu-toggle span:nth-child(1) {
  opacity: 0;
  transform: translateY(-5px);
}
body:has(.mobile-menu.active) .menu-toggle span:nth-child(2) {
  transform: translateY(7.5px) rotate(45deg);
  width: 100%;
}
body:has(.mobile-menu.active) .menu-toggle span:nth-child(3) {
  opacity: 0;
  transform: translateX(10px);
}
body:has(.mobile-menu.active) .menu-toggle span:nth-child(4) {
  transform: translateY(-7.5px) rotate(-45deg);
  width: 100%;
}



/* Mobile Navigation Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100dvh;
  background: rgba(9, 13, 22, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8.5rem; /* Space below header */
  padding-bottom: 3rem;
  overflow-y: auto;
  scrollbar-width: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu::-webkit-scrollbar {
  display: none;
}

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

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 85%;
  max-width: 360px;
  margin: 0 auto;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition-fast);
  padding: 4px 0;
}

.mobile-link:hover,
.mobile-link:active {
  color: var(--accent);
}

.mobile-menu-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mobile-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem;
  border-radius: var(--border-radius-md);
  font-family: var(--font-headings);
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition-fast);
}

.mobile-phone-btn svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.mobile-phone-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   Hero Section (Dark)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  padding: 0 !important;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 10, 22, 0.7) 0%, rgba(8, 10, 22, 0.45) 50%, rgba(8, 10, 22, 0.75) 100%);
  z-index: 1;
}

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

/* Hero Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.arrow-left {
  left: 2rem;
}

.arrow-right {
  right: 2rem;
}

/* Slider Dots Indicator */
.slider-dots {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 0.75rem;
}

.slider-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.4s ease, background 0.4s ease, border-radius 0.4s ease;
  overflow: hidden;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
  background: rgba(255, 255, 255, 0.2);
  width: 100px;
  border-radius: 100px;
}

/* Progress bar fill for the active dot */
.slider-dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0s linear;
}

.slider-dot.active::before {
  width: 100%;
  transition: width 11s linear; /* Matches heroSlideDuration of 11000ms */
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-text-content {
  max-width: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px 0 var(--accent);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 2px 5px rgba(0, 0, 0, 0.25);
  perspective: 1000px;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.02em 0.05em;
  margin: -0.1em -0.02em -0.05em;
  line-height: 1.1;
}

.hero-title .word-inner {
  display: inline-block;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}

.hero-title .title-line {
  display: inline-block;
}

.hero-title .gradient-mask {
  display: inline-block;
  overflow: hidden;
  padding: 0.15em 0.05em 0.1em;
  margin: -0.15em -0.05em -0.1em;
  line-height: 1.1;
}

.hero-title .gradient-mask .text-gradient {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

/* Hero stats pill */
.hero-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  margin-top: 1rem;
}

.pill-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pill-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* Hero Chips (The Craft slide) */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 640px;
  margin-top: 1rem;
}

.dark-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.dark-chip svg {
  color: #5ea3ff;
  flex-shrink: 0;
}


.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.trust-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

.trust-divider {
  width: 1px;
  height: 35px;
  background-color: var(--border-color);
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  aspect-ratio: 4/3;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 60%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-glass-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  max-width: 300px;
}

.badge-icon {
  width: 32px;
  height: 32px;
  background-color: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
section {
  padding: 6.5rem 0;
  position: relative;
}

.section-intro {
  margin-bottom: 4.5rem;
  max-width: 700px;
}

.section-intro.align-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

/* Glowing dot in the pill */
.section-subtitle::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Light Section Pill */
.section-light .section-subtitle {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Dark Section Pill */
.section-dark .section-subtitle {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-dark .section-subtitle::before {
  background-color: #38bdf8; /* sky blue glow for dark section badge dots */
  box-shadow: 0 0 8px #38bdf8;
}

.section-title {
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (max-width: 992px) {
  .section-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2.4rem;
  }
}

.section-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 1.5rem auto 0 auto;
}

/* ==========================================================================
   Trust Scorecards (Light)
   ========================================================================== */
.trust-bar-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.scorecard-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.scorecard-card {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  cursor: pointer;
}

.scorecard-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.scorecard-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-bottom: 0.75rem;
}

.scorecard-icon {
  width: auto;
  height: 36px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scorecard-img {
  max-width: 100%;
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scorecard-card:hover .scorecard-icon,
.scorecard-card:hover .scorecard-img {
  transform: scale(1.15) rotate(-3deg);
}

.scorecard-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.brand-name {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-tertiary);
}

.brand-rating {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.scorecard-stat {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Services Section (Light)
   ========================================================================== */
.services-slider-container {
  position: relative;
  width: 100%;
}

.services-slider-wrap {
  overflow: hidden;
  padding: 2.5rem 1rem 3.5rem 1rem;
  margin: -1.5rem -1rem -2.5rem -1rem;
}

.services-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding-right: 1rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  cursor: grab;
}

.service-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  flex: 0 0 360px;
  min-width: 360px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-image-wrapper {
  width: 100%;
  height: 175px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

/* Image shading overlay disabled as requested */
.service-image-wrapper::after {
  display: none;
}

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image {
  transform: scale(1.08) rotate(-0.5deg);
}

/* Elegant Tag/Badge overlay on image */
.service-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--border-radius-sm);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.service-card:hover .service-card-tag {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.25);
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  width: 100%;
}

/* Slider navigation arrows */
.services-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  transition: var(--transition-smooth);
}

.services-slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.services-arrow-left {
  left: -24px;
}

.services-arrow-right {
  right: -24px;
}

/* Completely hide arrows when disabled */
.services-slider-arrow.disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
}

.service-icon-wrap {
  position: absolute;
  top: 3rem;
  left: 1rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.service-card:hover .service-icon-wrap {
  background-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px) rotate(8deg);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  border-color: var(--accent);
}

.service-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.service-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Feature checklist styling */
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

.service-features li .check-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-features li .check-icon {
  transform: scale(1.15);
}

/* Link at bottom with animating arrow */
.service-link {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.85rem 1.5rem;
  background-color: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  text-decoration: none;
}

.service-link .arrow-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-link,
.service-link:hover {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.service-card:hover .service-link .arrow-icon,
.service-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Before / After Portfolio (Dark)
   ========================================================================== */
.portfolio-slider-container {
  position: relative;
  width: 100%;
}

.portfolio-slider-wrap {
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 1rem 3.5rem 1rem;
  margin: -1.5rem -1rem -2.5rem -1rem;
}

.portfolio-track {
  display: flex;
  gap: 2.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Reusable slider container setup */
.portfolio-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 0 0 calc((100% - 5rem) / 3); /* show exactly 3 cards on desktop */
  min-width: 320px;
}

/* Slider navigation arrows */
.portfolio-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.portfolio-slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.portfolio-arrow-left {
  left: -24px;
}

.portfolio-arrow-right {
  right: -24px;
}

/* Completely hide arrows when disabled */
.portfolio-slider-arrow.disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .portfolio-item {
    flex: 0 0 calc((100% - 2.5rem) / 2); /* show 2 cards on tablet */
  }
}

@media (max-width: 768px) {
  .portfolio-item {
    flex: 0 0 100%; /* show 1 card on mobile */
  }
  .portfolio-slider-arrow {
    width: 42px;
    height: 42px;
  }
  .portfolio-arrow-left {
    left: -12px;
  }
  .portfolio-arrow-right {
    right: -12px;
  }
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: ew-resize;
  container-type: inline-size;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.slider-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.img-before {
  width: 100cqi; /* Anchored to container queries to prevent warp */
  height: 100%;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: #ffffff;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.slider-button {
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.slider-badge {
  position: absolute;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-sm);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 5;
}

.badge-before {
  left: 1rem;
}

.badge-after {
  right: 1rem;
}

.portfolio-meta {
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.vehicle-title {
  font-size: 1.25rem;
  color: #ffffff;
}

.category-tag {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.portfolio-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.meta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
}

.meta-detail {
  color: var(--text-tertiary);
}

.btn-zoom {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
}

.btn-zoom:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Instagram Video Carousel Section (Dark)
   ========================================================================== */
.videos-section {
  overflow: hidden;
}

.video-carousel-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 4rem;
}

.video-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.video-carousel-arrow.prev { left: 1rem; }
.video-carousel-arrow.next { right: 1rem; }

@media (min-width: 768px) {
  .video-carousel-arrow.prev { left: 2rem; }
  .video-carousel-arrow.next { right: 2rem; }
}

.video-carousel-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.video-carousel-track::-webkit-scrollbar {
  display: none;
}

.video-card {
  flex: 0 0 280px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  aspect-ratio: 9/16;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.video-preview-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.carousel-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.35s ease;
}

.video-card:hover .carousel-video-element {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  z-index: 5;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 40%);
}

.video-play-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
  color: #ffffff;
  transform: scale(0.9);
  transition: var(--transition-fast);
}

.video-card:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--accent);
  border-color: var(--accent);
}

.video-badge {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #ffffff;
  padding: 0.3rem 0.6rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Three Steps Process (Dark)
   ========================================================================== */
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  position: relative;
  margin-top: 3rem;
}

/* Dim non-hovered sibling steps when row is hovered */
.process-row:hover .process-step:not(:hover) {
  opacity: 0.45;
  transform: scale(0.98);
  filter: blur(0.5px);
}

.process-connector-line {
  position: absolute;
  top: 100px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(37, 99, 235, 0) 0%, 
    rgba(37, 99, 235, 0.1) 20%, 
    #2563eb 50%, 
    rgba(37, 99, 235, 0.1) 80%, 
    rgba(37, 99, 235, 0) 100%
  );
  background-size: 200% 100%;
  animation: flowPulse 4s linear infinite;
  z-index: 1;
}

@keyframes flowPulse {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

.process-step {
  padding: 3.5rem 2.5rem 3rem 2.5rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Cursor-Tracking Spotlight Glow */
.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mouse-x) var(--mouse-y),
    rgba(37, 99, 235, 0.12) 0%,
    transparent 80%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.process-step:hover::before {
  opacity: 1;
}

/* Make sure card contents sit above the glow */
.process-step .step-icon-wrap,
.process-step .step-title,
.process-step .step-text,
.process-step .step-time {
  position: relative;
  z-index: 2;
}

.process-step:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(37, 99, 235, 0.4) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              0 0 25px rgba(37, 99, 235, 0.15);
}

.step-badge {
  position: absolute;
  top: -16px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid #0b0f1a;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
  z-index: 3;
  animation: badgeBreathe 3s ease-in-out infinite;
}

@keyframes badgeBreathe {
  0%, 100% {
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.7);
    transform: scale(1.05);
  }
}

.step-bg-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-headings);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step:hover .step-bg-number {
  color: rgba(37, 99, 235, 0.08);
  transform: translateY(-5px) scale(1.05);
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  background-color: rgba(37, 99, 235, 0.08);
  color: #60a5fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step:hover .step-icon-wrap {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  transform: scale(1.1) rotate(10deg);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.step-icon-wrap svg {
  width: 26px;
  height: 26px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.step-time {
  font-size: 0.75rem;
  color: #f59e0b;
  margin-top: auto;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.3s ease;
}

.process-step:hover .step-time {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.1);
}

/* ==========================================================================
   Testimonials & Photo Reviews (Light) - Premium Redesign
   ========================================================================== */
.photo-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  margin-bottom: 5rem;
}

.photo-review-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: var(--card-bg, #ffffff);
  box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.3);
  border-color: rgba(59, 130, 246, 0.3); /* Premium subtle blue border glow */
}

.review-photo-wrapper {
  position: relative;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.review-user-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-review-card:hover .review-user-photo {
  transform: scale(1.06); /* Luxurious image scale on card hover */
}

.photo-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Glowing green dot for verified client badge */
.badge-glow-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981; /* Emerald green */
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0% {
    transform: scale(0.95);
  }
  70% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.95);
  }
}

.review-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b; /* Amber Gold */
  margin-bottom: 1.25rem;
}

.star-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.2));
}

.review-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Giant elegant background quote marks */
.review-quote::before {
  content: "“";
  position: absolute;
  top: -1.75rem;
  left: -0.75rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

.review-author {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.review-author strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.review-author span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-helpful {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-primary, #ffffff);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.btn-helpful:hover:not(.active) {
  background: var(--bg-secondary, #f8fafc);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.05);
}

.btn-helpful.active {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Reviews Marquee */
.reviews-marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.reviews-marquee-wrap::before, .reviews-marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.reviews-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), rgba(255, 255, 255, 0));
}

.reviews-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), rgba(255, 255, 255, 0));
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 35s linear infinite;
  transition: animation-play-state 0.3s ease;
}

/* Pause scroll animation on hover to allow reading reviews easily */
.reviews-marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-card {
  width: 420px; /* Increased box size */
  padding: 2.25rem 2.5rem; /* Increased padding */
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 
              inset 0 1px 0 rgba(255, 255, 255, 0.6); /* Soft shadow with subtle white top inner border */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08); /* Softer, deep floating shadow on hover */
  border-color: rgba(59, 130, 246, 0.25);
}

.marquee-stars {
  margin-bottom: 1rem;
}

.marquee-text {
  font-size: 0.92rem; /* Increased text size for better legibility */
  line-height: 1.6;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.marquee-author {
  font-size: 0.8rem; /* Increased author text size */
  font-weight: 600;
  color: var(--accent); /* DFW Blue Accent color for brand recall */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Articles Knowledgebase (Light) - Sliding Marquee
   ========================================================================== */
.articles-marquee-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 2.5rem 0;
}

/* Elegant edge-fades to make cards blend into the page margins */
.articles-marquee-wrap::before,
.articles-marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.articles-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.articles-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.articles-marquee-track {
  --marquee-gap: 2.5rem;
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: articles-marquee-scroll 55s linear infinite;
}

/* Pause marquee on hover to allow reading & clicking */
.articles-marquee-wrap:hover .articles-marquee-track {
  animation-play-state: paused;
}

/* Article Card Visual Design */
.article-card {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.article-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--accent);
}

/* Image zoom effect */
.article-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

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

.article-card:hover .article-card-image {
  transform: scale(1.06);
}

/* Content details inside card */
.article-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.35;
  transition: color 0.3s ease;
}

.article-card:hover .article-title {
  color: var(--accent);
}

.article-snippet {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-link {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: auto;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.article-card:hover .article-link {
  color: var(--accent-hover);
  padding-left: 6px;
}

/* Seamless marquee loop calculations */
@keyframes articles-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Translates by exactly half the container width + half a gap spacing to be pixel-perfect */
    transform: translateX(calc(-50% - (var(--marquee-gap) / 2)));
  }
}

/* ==========================================================================
   Quote Lead Form (Dark)
   ========================================================================== */
.contact-section.section-dark {
  position: relative;
  background-image: linear-gradient(rgba(8, 10, 22, 0.7), rgba(8, 10, 22, 0.82)), url('images/hero1.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 7rem 0;
}

.contact-card.glass-panel {
  background: rgba(20, 22, 36, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 2rem !important;
  padding: 4.5rem;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-title {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.contact-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-detail-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateX(6px);
}

.contact-detail-item .item-icon-wrap {
  width: 52px;
  height: 52px;
  background-color: rgba(37, 99, 235, 0.15);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-detail-item:hover .item-icon-wrap {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.35);
  transform: scale(1.05);
}

.item-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.item-text strong {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
}

.item-text span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-form-panel {
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  background: rgba(10, 12, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.form-title {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.form-instructions {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.text-helper-box {
  border-radius: var(--border-radius-md);
  padding: 0.5rem 0 0 0;
}

.step-guide {
  list-style: none;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 0;
  margin-bottom: 2.25rem;
}

.step-guide li {
  position: relative;
  padding-left: 3.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  align-items: center;
  min-height: 2.25rem;
}

.step-guide li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
}

.contact-form-panel:hover .step-guide li::before {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}

.phone-display {
  text-align: center;
  margin-bottom: 2rem;
}

.phone-pill {
  display: inline-block;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.15) 100%);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.phone-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 1.75rem;
  text-align: center;
}

.text-sms-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-sms-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

/* ==========================================================================
   FAQ Accordion (Light)
   ========================================================================== */
.faq-accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.faq-summary {
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon-arrow {
  font-size: 0.8rem;
  color: var(--accent);
  transition: transform 0.35s ease;
}

.faq-item[open] .faq-icon-arrow {
  transform: rotate(90deg);
}

.faq-answer-content {
  padding: 0 2rem 1.75rem 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* ==========================================================================
   Footer Section (Dark)
   ========================================================================== */
.footer-section {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
  background-color: rgba(9, 11, 22, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

/* Footer background slideshow */
.footer-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.footer-bg-slide.active {
  opacity: 1;
}

/* Dark overlay on top of slideshow images */
.footer-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 11, 22, 0.82) 0%, rgba(6, 7, 12, 0.88) 100%);
  z-index: 1;
}

.footer-section > .container {
  position: relative;
  z-index: 2;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 4.5rem;
  margin-bottom: 4.5rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-logo-img {
  height: 74px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.55)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(96, 165, 250, 0.8)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}


.footer-logo .logo-text {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.footer-logo .logo-text span {
  color: var(--accent);
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 2rem;
}

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

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.footer-col-title {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #60a5fa;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #60a5fa;
  transform: translateX(6px);
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.footer-address strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-contact-link:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.footer-disclaimer p {
  margin-bottom: 0.5rem;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-legal-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: #60a5fa;
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.12);
  margin: 0 0.5rem;
  font-size: 0.75rem;
}

.footer-bottom-serving {
  color: var(--text-tertiary);
}

.footer-agency-credit {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.agency-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.credit-logo-link {
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.credit-logo-link:hover {
  transform: scale(1.05) translateY(-1px);
  filter: brightness(1.1);
}

.agency-services-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  max-width: 800px;
}

.agency-pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: var(--text-tertiary);
  transition: all 0.2s ease;
}

.agency-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.15);
}

.credit-logo-img {
  height: 84px;
  width: auto;
  display: block;
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

/* ==========================================================================
   Modals & Lightboxes
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox-modal[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox-content {
  position: relative;
  z-index: 5;
  width: 90%;
  max-width: 900px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border-radius: var(--border-radius-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.contact-modal-content {
  position: relative;
  z-index: 5;
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
}

.contact-close-btn {
  z-index: 10;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.15);
}

.lightbox-stage {
  width: 100%;
}

.lightbox-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lightbox-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.lightbox-details {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   Video Lightbox Modal (Special Reels Layout)
   ========================================================================== */
.video-lightbox-modal .video-modal-content {
  position: relative;
  z-index: 5;
  width: 90%;
  max-width: 860px;
  height: 80vh;
  background: rgba(9, 13, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  padding: 0;
}

.video-player-stage {
  background: #000000;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.modal-video-source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-modal-sidebar {
  background: rgba(15, 23, 42, 0.95);
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow-y: auto;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sidebar-logo {
  height: 40px;
  width: auto;
}

.sidebar-meta {
  display: flex;
  flex-direction: column;
}

.sidebar-meta strong {
  font-size: 0.9rem;
  color: #ffffff;
}

.sidebar-meta span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.sidebar-body {
  flex-grow: 1;
}

.sidebar-caption {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.sidebar-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

/* Modal Navigation Chevron Buttons (Desktop) */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.btn-prev {
  left: 2rem;
}

.btn-next {
  right: 2rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .footer-grid { gap: 2rem; }
}

@media (max-width: 992px) {
  section { padding: 5rem 0; }
  .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-badge, .hero-description, .hero-glass-badge { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-stats-pill { margin-left: auto; margin-right: auto; }
  .hero-chips { justify-content: center; margin-left: auto; margin-right: auto; }
  
  .service-card {
    flex: 0 0 calc(70% - 1.25rem);
    min-width: 320px;
  }
  .services-track {
    gap: 2rem;
  }
  .services-slider-arrow {
    display: none;
  }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .photo-reviews-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto 3rem auto; }
  .photo-review-card { grid-template-columns: 1fr; }
  .review-photo-wrapper { min-height: 200px; }
  .articles-marquee-track {
    --marquee-gap: 1.5rem;
  }
  .article-card {
    width: 300px;
  }
  .article-image-wrapper {
    height: 160px;
  }
  .article-card-body {
    padding: 1.5rem;
  }
  .article-title {
    font-size: 1.15rem;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .process-row { grid-template-columns: 1fr; gap: 3rem; }
  .process-connector-line { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  
  .lightbox-content { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .video-lightbox-modal .video-modal-content { grid-template-columns: 1fr; height: 90vh; max-width: 480px; }
  .video-modal-sidebar { padding: 1.5rem; }
  .modal-nav-btn { display: none; } /* Handled by swiping on mobile */
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none !important; }
  .menu-toggle { display: flex !important; }
  .logo-img { height: 46px; }
  .header.scrolled .logo-img { height: 35px; }
  .nav-container {
    padding: 8px 16px !important;
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .service-card {
    flex: 0 0 85%;
    min-width: 280px;
  }
  .services-track {
    gap: 1.5rem;
  }
  .scorecard-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-actions { 
    flex-direction: column; 
    align-items: stretch; 
  }
  .hero-actions .btn-primary, .hero-actions .btn-secondary {
    width: 100%;
  }

.btn-secondary {
    width: 100%;
  }
  
  /* Optimize Contact Modal for Mobile */
  .contact-modal-content {
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
  .lightbox-modal {
    padding: 0 !important;
  }
  
  .contact-modal-content .contact-card {
    border-radius: 0 !important;
    max-height: 100dvh !important;
    height: 100dvh;
    border: none !important;
    padding: 2rem 1rem 5rem 1rem !important; /* Extra bottom padding for scroll space */
  }
  
  .contact-close-btn {
    top: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.95);
    z-index: 100;
  }
}

/* ==========================================================================
   Article Detail Page Styles
   ========================================================================== */
.article-page {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.article-page > .container {
  max-width: 840px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2.5rem;
  transition: var(--transition-fast);
}

.back-link:hover {
  transform: translateX(-4px);
  color: var(--accent-hover);
}

.article-header {
  margin-bottom: 3.5rem;
  max-width: 800px;
}

.article-main-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.article-meta-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.article-rich-body {
  max-width: 800px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-rich-body h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.article-rich-body h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.article-rich-body p {
  margin-bottom: 1.75rem;
}

.article-rich-body ul, .article-rich-body ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.article-rich-body li {
  margin-bottom: 0.5rem;
}

.article-rich-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin-bottom: 2rem;
  font-style: italic;
}

.article-faq-section {
  margin-top: 5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  max-width: 800px;
}

.article-faq-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.article-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.article-faq-item {
  padding: 1.25rem 1.75rem;
  border-radius: var(--border-radius-md);
}

.article-faq-item[open] {
  border-color: var(--accent);
}

.article-faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  user-select: none;
}

.article-faq-summary::-webkit-details-marker {
  display: none;
}

.article-faq-question {
  flex: 1;
  padding-right: 1.5rem;
}

.article-faq-arrow {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.article-faq-item[open] .article-faq-arrow {
  transform: rotate(90deg);
}

.article-faq-answer {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   Instagram Work Portfolio Gallery
   ========================================================================== */
.portfolio-gallery-section {
  padding: 7rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

/* Bento Box Spans */
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item:nth-child(4) {
  grid-column: span 2;
}
.gallery-item:nth-child(7) {
  grid-column: span 2;
}
.gallery-item:nth-child(10) {
  grid-row: span 2;
}
.gallery-item:nth-child(13) {
  grid-column: span 2;
}
.gallery-item:nth-child(16) {
  grid-column: span 2;
}

/* Media query for responsive Bento Box */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }
  .gallery-item:nth-child(7) {
    grid-column: span 2;
  }
  .gallery-item:nth-child(10) {
    grid-row: span 1;
  }
  .gallery-item:nth-child(13) {
    grid-column: span 2;
  }
  .gallery-item:nth-child(16) {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

/* View More Gallery Box */
.gallery-view-more-box {
  grid-column: span 2 !important;
  grid-row: span 1 !important;
  background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.gallery-view-more-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('images/hero4.webp') center/cover;
  opacity: 0.15;
  mix-blend-mode: overlay;
  transition: transform 0.4s ease;
}

.gallery-view-more-box:hover::after {
  transform: scale(1.05);
}

.gallery-view-more-box .view-more-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.gallery-view-more-box:hover .view-more-content {
  transform: translateX(5px);
}

.gallery-view-more-box h3 {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  margin: 0;
  color: white;
}

/* Hide overflow gallery items on homepage */
.gallery-item.gallery-hidden {
  display: none;
}

/* View Full Gallery button */
.gallery-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.gallery-view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.gallery-view-all-btn svg {
  transition: transform 0.3s ease;
}

.gallery-view-all-btn:hover svg {
  transform: translateX(4px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--accent);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, rgba(15, 23, 42, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.zoom-icon {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  align-self: flex-start;
  background: var(--accent);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-name {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
}

/* Photo Lightbox Modal Styles */
.photo-lightbox-modal .photo-modal-content {
  position: relative;
  z-index: 5;
  width: 90%;
  max-width: 800px;
  height: 80vh;
  background: rgba(9, 13, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.photo-player-stage {
  flex-grow: 1;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.photo-player-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.photo-player-stage img.photo-outgoing {
  z-index: 1;
}

.photo-player-stage img.photo-incoming {
  z-index: 2;
}

/* Photo Modal Thumbnails Container & Layout */
.photo-modal-thumbnails-container {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

.photo-modal-thumbnails {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 3.5rem;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: flex-start;
  align-items: center;
  z-index: 5;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-modal-thumbnails::-webkit-scrollbar {
  display: none;
}

.photo-thumbnail-item {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  opacity: 0.55;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Thumbnail arrows styling */
.thumb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumb-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.thumb-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.thumb-btn-prev {
  left: 0.75rem;
}

.thumb-btn-next {
  right: 0.75rem;
}

.photo-thumbnail-item:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.photo-thumbnail-item.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.35);
  transform: scale(1.05);
}


.photo-modal-caption {
  display: none;
}

.photo-modal-caption strong {
  color: #0f172a;
  font-weight: 700;
}

.photo-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.photo-close-btn:hover {
  background: var(--accent);
}


/* ==========================================================================
   Accessibility Panel & Controls
   ========================================================================== */
.accessibility-trigger {
  position: fixed;
  bottom: 5rem;
  left: 2rem;
  z-index: 1000;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accessibility-trigger.hidden {
  opacity: 0;
  pointer-events: none;
}

.accessibility-trigger:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

.accessibility-trigger.scrolled-down {
  bottom: 2rem;
}

.accessibility-trigger svg {
  display: block;
}

.accessibility-panel {
  position: fixed;
  bottom: 5.5rem;
  left: 2rem;
  z-index: 1001;
  width: 335px;
  border-radius: 1.25rem;
  background: rgba(11, 15, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.acc-panel-header {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc-panel-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.acc-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acc-panel-title h4 {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.acc-panel-title span {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  display: block;
}

.acc-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.acc-close-btn:hover {
  color: #ffffff;
}

.acc-panel-body {
  padding: 1.25rem;
}

.acc-intro {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.acc-section {
  margin-bottom: 1.25rem;
}

.acc-section-title {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.65rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.acc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.acc-option-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
  text-align: left;
  transition: all 0.3s ease;
}

.acc-option-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.acc-btn-icon {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.acc-btn-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.2;
}

.acc-indicator {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.3s ease;
}

/* Option Button Active State */
.acc-option-btn.active {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
}

.acc-option-btn.active .acc-btn-icon,
.acc-option-btn.active .acc-btn-label {
  color: #60a5fa;
}

.acc-option-btn.active .acc-indicator {
  background-color: #60a5fa;
  box-shadow: 0 0 6px #60a5fa;
}

.acc-reset-btn {
  width: 100%;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-headings);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.acc-reset-btn:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Accessibility contrast overrides for dark panel when viewed on light-themed subpages */
.accessibility-panel .acc-panel-title span {
  color: #94a3b8 !important;
}
.accessibility-panel .acc-close-btn {
  color: #cbd5e1 !important;
}
.accessibility-panel .acc-close-btn:hover {
  color: #ffffff !important;
}
.accessibility-panel .acc-intro {
  color: #cbd5e1 !important;
}
.accessibility-panel .acc-section-title {
  color: #94a3b8 !important;
}
.accessibility-panel .acc-btn-icon {
  color: #cbd5e1 !important;
}
.accessibility-panel .acc-btn-label {
  color: #cbd5e1 !important;
}
.accessibility-panel .acc-reset-btn {
  color: #cbd5e1 !important;
}
.accessibility-panel .acc-reset-btn:hover {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}

/* Accessibility Reading Guide */
.acc-reading-guide-bar {
  position: fixed;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(245, 158, 11, 0.45);
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
  transition: top 0.05s linear;
}

/* ==========================================================================
   Accessibility Body Overrides
   ========================================================================== */
body.acc-high-contrast > *:not(#accessibility-widget-root) {
  filter: contrast(1.45) saturate(0) !important;
}
body.acc-high-contrast section,
body.acc-high-contrast footer,
body.acc-high-contrast header {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

body.acc-large-text p,
body.acc-large-text a,
body.acc-large-text button,
body.acc-large-text li,
body.acc-large-text span:not(.logo-text):not(.brand-name):not(.brand-rating),
body.acc-large-text address,
body.acc-large-text td,
body.acc-large-text th {
  font-size: 1.15rem !important;
}
body.acc-large-text h1 { font-size: 3.5rem !important; }
body.acc-large-text h2 { font-size: 2.75rem !important; }
body.acc-large-text h3 { font-size: 1.6rem !important; }

body.acc-line-spacing p,
body.acc-line-spacing li,
body.acc-line-spacing address {
  line-height: 1.9 !important;
}

body.acc-highlight-links a,
body.acc-highlight-links .dropdown-toggle,
body.acc-highlight-links .mobile-dropdown-toggle {
  outline: 2px dashed #f59e0b !important;
  outline-offset: 3px !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  color: #60a5fa !important;
}

body.acc-dyslexia p,
body.acc-dyslexia a,
body.acc-dyslexia button,
body.acc-dyslexia li,
body.acc-dyslexia h1,
body.acc-dyslexia h2,
body.acc-dyslexia h3,
body.acc-dyslexia h4,
body.acc-dyslexia h5,
body.acc-dyslexia span,
body.acc-dyslexia address {
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif !important;
}

body.acc-pause-motion * {
  transition: none !important;
  animation-play-state: paused !important;
}

body.acc-large-cursor {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M0,0 L0,24 L6,18 L12,30 L16,28 L10,16 L18,16 Z' fill='%23ffffff' stroke='%23000000' stroke-width='2'/%3E%3C/svg%3E"), auto !important;
}
body.acc-large-cursor a,
body.acc-large-cursor button,
body.acc-large-cursor select,
body.acc-large-cursor input,
body.acc-large-cursor textarea {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M0,0 L0,24 L6,18 L12,30 L16,28 L10,16 L18,16 Z' fill='%23ffffff' stroke='%23000000' stroke-width='2'/%3E%3C/svg%3E"), pointer !important;
}


/* Articles Carousel Interactive Slider */
.articles-carousel-container {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.articles-carousel-viewport {
  overflow: hidden;
  width: calc(100% + 3rem);
  padding: 4rem 1.5rem;
  margin: -3rem -1.5rem;
}

.articles-carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: max-content;
  cursor: grab;
}

/* Arrow controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  box-shadow: var(--glass-shadow);
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-arrow.prev {
  left: -1rem;
}

.carousel-arrow.next {
  right: -1rem;
}

@media (max-width: 1320px) {
  .carousel-arrow.prev { left: 0.25rem; }
  .carousel-arrow.next { right: 0.25rem; }
  .articles-carousel-container { padding: 0 3.5rem; }
}

@media (max-width: 768px) {
  /* Native smooth scrolling for Knowledgebase on mobile */
  .articles-carousel-container {
    padding: 0;
  }
  .articles-carousel-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 1.5rem;
    margin: 0;
    width: 100%;
    scrollbar-width: none;
  }
  .articles-carousel-viewport::-webkit-scrollbar {
    display: none;
  }
  .articles-carousel-track {
    transform: none !important;
    width: max-content;
    padding-right: 1.5rem;
  }
  .article-card {
    scroll-snap-align: center;
    width: 85vw;
    max-width: 320px;
  }
  .carousel-arrow, .carousel-dots {
    display: none !important;
  }
}

/* Dots indicator */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-tertiary);
  opacity: 0.3;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.2);
}

/* Button stylings for guide button and dedicated page button */
.article-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  background: var(--accent-light);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  width: fit-content;
  margin-top: auto;
}

.article-card:hover .article-btn {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.articles-footer-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transition: var(--transition-fast);
}

.btn-view-all:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

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

/* DFW Coverage Area Section Styles */
.coverage-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

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

@media (max-width: 991px) {
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.coverage-map-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  background: var(--glass-bg);
}

.coverage-map-img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.coverage-map-container:hover .coverage-map-img {
  transform: scale(1.02);
}

.coverage-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.county-card {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 2rem; /* Extra padding on left for accent bar */
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.county-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, rgba(37,99,235,0) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.county-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.county-card:hover::before {
  opacity: 1;
}

.county-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s ease;
}

.county-card:hover .county-accent-bar {
  background: var(--accent);
}

@keyframes radar-ping {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.county-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cities-list {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Enforce nav items, phone numbers, and buttons to never wrap onto multiple lines */
.nav-link,
.phone-link,
.btn-primary {
  white-space: nowrap !important;
}

/* Tablet / Small Laptop Navigation Menu Responsive Overrides */
@media (min-width: 1025px) and (max-width: 1220px) {
  .nav-container {
    padding: 8px 12px 8px 16px !important;
  }
  
  .nav-links {
    gap: 0.45rem !important;
  }
  
  .nav-link {
    font-size: 0.76rem !important;
    padding: 6px 8px !important;
  }
  
  .nav-actions {
    gap: 0.65rem !important;
  }
  
  .phone-link {
    font-size: 0.76rem !important;
  }
  
  .phone-link svg {
    width: 13px !important;
    height: 13px !important;
  }
  
  .header .btn-primary, .header .btn-nav-outline {
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
  }
  
  .logo-img {
    height: 70px !important;
  }
}

/* Featured Image styling for Article Detail pages */
.article-featured-image {
  width: 100%;
  max-width: 800px;
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .article-featured-image {
    height: 250px;
    margin-bottom: 2rem;
  }
}

/* Dedicated DFW Service Locations Section */
.cities-slider-wrapper {
  position: relative;
}

.cities-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cities-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.cities-nav-btn.prev-btn {
  left: -24px;
}

.cities-nav-btn.next-btn {
  right: -24px;
}

.cities-cards-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 2rem;
  margin-top: 3rem;
  padding: 1rem 0.5rem 2rem 0.5rem; /* prevent shadow clipping and leave room for scrollbar */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  cursor: grab;
}

.cities-cards-grid:active {
  cursor: grabbing;
}

/* Premium custom scrollbar for locations carousel */
.cities-cards-grid::-webkit-scrollbar {
  height: 8px;
}
.cities-cards-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}
.cities-cards-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent) 0%, #3b82f6 100%);
  border-radius: 10px;
}
.cities-cards-grid::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #f59e0b 0%, #3b82f6 100%);
}

.city-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 350px; /* fixed size: no grow, no shrink */
  height: 100%;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color var(--transition-fast), box-shadow 0.4s ease;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cities-cards-grid {
    gap: 1.25rem;
    padding-bottom: 1.5rem;
  }
  .city-card {
    flex: 0 0 300px; /* slightly narrower cards on mobile viewports */
  }
}

.city-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(37, 99, 235, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.city-card:hover::before {
  opacity: 1;
}

.city-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(37, 99, 235, 0.15);
}

.city-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.city-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.city-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.85rem;
  z-index: 2;
}

.city-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.city-card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.city-card-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
  margin-top: 0.5rem;
  align-self: flex-start;
}

.city-card-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.city-card:hover .city-card-link {
  color: #3b82f6; /* slightly lighter blue */
  transform: translateX(4px);
}


/* Map Section Fixes */
.map-section {
  padding: 0 !important;
}

.map-container iframe {
  filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* SMS Contact Form Styles */
.sms-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.sms-input, .sms-textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.sms-input::placeholder, .sms-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.sms-input:focus, .sms-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.sms-textarea {
  resize: vertical;
  min-height: 70px;
}

select.sms-input {
  color-scheme: dark;
}

select.sms-input option {
  background-color: #0f172a;
  color: #ffffff;
}

/* Hero Chips Marquee */
.hero-chips-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.4);
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  z-index: 10;
  display: flex;
}

.hero-chips-marquee::-webkit-scrollbar {
  display: none;
}

.hero-chips-marquee .marquee-content {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  /* JS will handle scrolling and dragging */
}

/* Remove hover pause here since JS handles it */

.hero-chips-marquee .dark-chip {
  flex-shrink: 0;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.9rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

@keyframes panImage {
  0% { object-position: 0% 50%; }
  50% { object-position: 100% 50%; }
  100% { object-position: 0% 50%; }
}


/* ==========================================================================
   Mobile Floating Action Bar
   ========================================================================== */
.mobile-fab-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-fab-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-fab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
  }

  .mobile-fab-btn svg {
    width: 20px;
    height: 20px;
  }

  .fab-call {
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .fab-call:active {
    background: rgba(255, 255, 255, 0.05);
  }

  .fab-estimate {
    background: var(--accent);
    color: #fff;
  }

  .fab-estimate:active {
    background: #1d4ed8;
  }

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

  .hero-chips-marquee {
    bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .back-to-top {
    bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .accessibility-trigger {
    bottom: calc(160px + env(safe-area-inset-bottom));
    left: 1rem;
    padding: 0.8rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .accessibility-trigger.scrolled-down {
    bottom: calc(100px + env(safe-area-inset-bottom));
  }
  
  .accessibility-trigger .acc-text-label {
    display: none;
  }
  
  .accessibility-trigger svg {
    margin: 0;
  }
  
  .accessibility-panel {
    bottom: calc(185px + env(safe-area-inset-bottom));
    left: 1rem;
    width: calc(100vw - 2rem);
    max-width: 335px;
  }
}

.services-section, .gallery-section, .locations-section, .coverage-section, .reviews-section, footer {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}
