/* ============================================
   SCA Website - Modern Futuristic Design
   Glassmorphism + Animations + Data Viz
   ============================================ */

:root {
  /* Primary Brand Colors */
  --primary: #1e3a5f;
  --primary-dark: #0f1f33;
  --primary-light: #2a4d7a;
  --primary-rgb: 30, 58, 95;
  
  /* Secondary Brand Colors */
  --secondary: #e5a619;
  --secondary-dark: #c89015;
  --secondary-light: #f5b82e;
  --secondary-rgb: 229, 166, 25;
  
  /* Accent Colors - Brand Only */
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-cyan: #00f3ff; /* New Cyber Accent */
  
  /* Neutral Colors */
  --tertiary: #ffffff;
  --quaternary: #c8d4e3;
  --muted: #f0f4f8;
  --dark-bg: #050a14; /* Darker, deeper blue/black */
  --card-bg: rgba(255, 255, 255, 0.03);
  
  /* Glassmorphism */
  --glass-bg: rgba(15, 31, 51, 0.7); /* Darker glass */
  --glass-border: rgba(229, 166, 25, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  --gradient-hero: radial-gradient(circle at 50% 50%, #1e3a5f 0%, #050a14 100%);
  --gradient-glow: linear-gradient(135deg, rgba(229, 166, 25, 0.3) 0%, rgba(229, 166, 25, 0.0) 100%);
  
  /* Fonts */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-tech: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace; /* New Tech Font */

  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   Global Styles & Animations
   ============================================ */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--primary);
  line-height: 1.75;
  background: var(--muted);
  overflow-x: hidden;
  padding-top: 115px;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.bg-primary h1, .bg-primary h2, .bg-primary h3,
.bg-primary h4, .bg-primary h5, .bg-primary h6,
.text-white h1, .text-white h2, .text-white h3,
.text-white h4, .text-white h5, .text-white h6 {
  color: #fff;
}

/* Tech/Subtitle Font Styling */
.hero-eyebrow, 
.section-subtitle, 
.stat-label,
.hero-badge,
.service-badge,
.top-bar {
  font-family: var(--font-tech);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

a:hover {
  color: var(--secondary);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 130px;
}

/* Selection styling */
::selection {
  background: var(--secondary);
  color: var(--primary-dark);
}

/* ============================================
   Keyframe Animations
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(229, 166, 25, 0.3); }
  50% { box-shadow: 0 0 40px rgba(229, 166, 25, 0.6); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scale-in {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slide-up {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes data-flow {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.5; }
}

/* ============================================
   Custom Button Styles - Futuristic
   ============================================ */
.btn {
  position: relative;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
  letter-spacing: 0.02em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.5);
  background: var(--gradient-primary);
}

.btn-secondary {
  background: var(--gradient-secondary);
  border: none;
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(229, 166, 25, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 166, 25, 0.5);
  background: var(--gradient-secondary);
  color: var(--primary-dark);
}

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

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

.btn-outline-light {
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

/* Glowing CTA Button */
.btn-glow {
  background: var(--gradient-secondary);
  border: none;
  color: var(--primary-dark);
  animation: pulse-glow 2s infinite;
}

.btn-glow:hover {
  animation: none;
  box-shadow: 0 0 40px rgba(229, 166, 25, 0.6);
}

/* ============================================
   Background Colors
   ============================================ */
.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.bg-quaternary {
  background-color: var(--quaternary) !important;
}

.bg-muted {
  background-color: var(--muted) !important;
}

.bg-dark-gradient {
  background: var(--gradient-hero) !important;
}

.bg-mesh {
  background: var(--gradient-mesh), #E1E6EA;
}

/* ============================================
   Text Colors
   ============================================ */
.text-primary {
  color: var(--primary) !important;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Top Bar - Clean Professional
   ============================================ */
.top-bar {
  background: var(--primary-dark);
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.top-bar a {
  color: rgba(255,255,255,0.9);
  transition: all var(--transition-fast);
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--secondary);
}

.top-bar .phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar .phone-link i {
  color: var(--secondary);
}

.top-bar .social-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.top-bar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.top-bar .social-links a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--secondary);
}

/* ============================================
   Navbar - Floating Tech Pill
   ============================================ */
.navbar {
  position: fixed;
  top: 49px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  background: rgba(15, 31, 51, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  transition: all var(--transition-normal);
  z-index: 1000;
}

.navbar.scrolled {
  top: 49px;
  padding: 0.5rem 1.5rem;
  background: rgba(15, 31, 51, 0.95);
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white !important;
}

.navbar-brand .logo-box {
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 0.375rem 0.875rem;
  border-radius: 6px;
  margin-right: 0.5rem;
  box-shadow: 0 0 15px rgba(229, 166, 25, 0.4);
  font-family: var(--font-tech);
  letter-spacing: 0.05em;
}

.navbar-brand span.text-primary {
  color: white !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  padding: 0.625rem 1rem !important;
  position: relative;
  transition: all var(--transition-normal);
  font-size: 0.95rem;
}

.nav-link::before {
  content: '[';
  position: absolute;
  left: 0;
  opacity: 0;
  color: var(--secondary);
  transition: all 0.2s ease;
  transform: translateX(10px);
}

.nav-link::after {
  content: ']'; /* Changed from underline to brackets */
  position: absolute;
  right: 0;
  top: auto;
  bottom: auto; /* Reset bottom/left */
  left: auto;
  width: auto;
  height: auto;
  background: transparent;
  opacity: 0;
  color: var(--secondary);
  transition: all 0.2s ease;
  transform: translateX(-10px);
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
  transform: translateX(5px);
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: translateX(-5px);
}

.nav-link:hover {
  color: white !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Fix dropdown toggle arrow — neutralize Bootstrap's caret border trick, keep our ] bracket */
.navbar .nav-link.dropdown-toggle::after {
  border: none;
  content: ']';
}

/* Glassmorphism Dropdown */
.dropdown-menu {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 31, 51, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 0.75rem;
  margin-top: 1rem;
  animation: scale-in 0.2s ease;
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.625rem 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--secondary);
  padding-left: 1.5rem;
}

.dropdown-item:hover::before {
  content: '>';
  position: absolute;
  left: 0.75rem;
  color: var(--secondary);
  font-family: var(--font-tech);
}

/* ============================================
   Hero Section - Futuristic with Particles
   ============================================ */
.hero-section {
  background: var(--dark-bg); /* Deep dark background */
  padding: 8rem 0 6rem; /* Reduced padding for default */
  position: relative;
  overflow: hidden;
  /* Removed min-height from base class to avoid breaking subpages */
}

.hero-section.hero-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 8rem;
}

/* Animated gradient mesh background */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(30, 58, 95, 0.3) 0%, transparent 60%);
  animation: rotate-slow 60s linear infinite;
  opacity: 0.5;
  z-index: 0;
}

/* Cyber Perspective Grid - Only for home/fullscreen or specifically added */
.hero-fullscreen .hero-grid {
  opacity: 0.3;
  animation: grid-move 20s linear infinite;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
  transform-origin: top center;
  opacity: 0.1; /* Lower opacity for subpages */
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  pointer-events: none;
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 0 1000px; }
}

/* Hero Badge - for page headers */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 166, 25, 0.1);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 0; /* Square/Tech look */
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 6px;
  height: 6px;
  background: var(--secondary);
}

.hero-badge i {
  color: var(--secondary);
}

/* Hero Eyebrow Text */
.hero-eyebrow {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  display: block;
  position: relative;
  padding-left: 20px;
  font-family: var(--font-tech);
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--secondary);
  top: 50%;
  transform: translateY(-50%);
}

/* Hero Title */
.hero-title {
  font-size: 5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-shadow: 0 0 40px rgba(30, 58, 95, 0.5);
}

.hero-title .highlight {
  color: var(--secondary);
  display: inline-block;
  font-family: var(--font-tech); /* Restoring the tech font */
  letter-spacing: -0.02em;
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  font-family: var(--font-main);
}

/* Hero CTA - Clean and Simple */
.hero-cta-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.hero-cta-wrapper .btn-secondary {
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 2px; /* Tech corners */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(229, 166, 25, 0.3);
  position: relative;
  overflow: visible;
}

.hero-cta-wrapper .btn-secondary::before {
  display: none; /* Remove old sweep */
}

.hero-cta-wrapper .btn-secondary::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--secondary);
  opacity: 0.3;
  transition: all 0.3s ease;
}

.hero-cta-wrapper .btn-secondary:hover::after {
  inset: -6px;
  opacity: 0.6;
}

.hero-cta-wrapper .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(229, 166, 25, 0.5);
  background: var(--secondary);
}

.hero-phone {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-family: var(--font-tech);
}

.hero-phone a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.hero-phone a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary);
}

/* Hero Benefits */
.hero-benefits {
  display: flex;
  flex-direction: column; /* Stack vertically on left */
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
}

.hero-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 1rem;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-benefits .benefit-item:hover {
  border-left-color: var(--secondary);
  padding-left: 1.5rem;
  color: white;
  background: linear-gradient(90deg, rgba(229, 166, 25, 0.1) 0%, transparent 100%);
}

.hero-benefits .benefit-item i {
  color: var(--secondary);
}

/* Hero Guarantee */
.hero-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.75rem 1.25rem;
  background: rgba(16, 185, 129, 0.1); /* Green tint */
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 4px;
}

.hero-guarantee i {
  color: var(--accent-green);
  font-size: 1.125rem;
}

.hero-guarantee span {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: var(--font-tech);
}

/* Navbar Mobile Adjustment */
@media (max-width: 991.98px) {
  .navbar {
    top: 49px;
    width: 100%;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-cta-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    text-align: left;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-section.hero-fullscreen {
    min-height: auto;
    align-items: flex-start;
    padding: 5rem 0 2rem;
  }

  .hero-benefits {
    gap: 0.5rem;
  }

  .hero-benefits .benefit-item {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* Wave Divider */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Floating Tech Elements */
.hero-float-element {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-float-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero-float-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.hero-float-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

/* ============================================
   Section Styles - Modern
   ============================================ */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 4px;
  margin: 0 auto 3.5rem;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.section-divider::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}

.section-divider.left {
  margin-left: 0;
}

/* ============================================
   Feature Cards - Glassmorphism & HUD
   ============================================ */
.feature-card {
  background: rgba(30, 58, 95, 0.9); /* Dark Blue Glass */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: white;
}

/* HUD Corners */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--secondary);
  border-left: 2px solid var(--secondary);
  transition: all 0.3s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--secondary);
  border-right: 2px solid var(--secondary);
  transition: all 0.3s ease;
}

.feature-card:hover::before,
.feature-card:hover::after {
  width: 40px;
  height: 40px;
  border-color: var(--accent-cyan); /* Cyber accent on hover */
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(229, 166, 25, 0.3),
    0 0 5px rgba(0, 243, 255, 0.2);
  border-color: rgba(229, 166, 25, 0.4);
  z-index: 10;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover .feature-icon {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.2) rotate(5deg);
  box-shadow: 0 0 15px rgba(229, 166, 25, 0.5);
}

/* ... existing styles ... */

/* Typewriter/Glitch Effect */
.type-effect {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--secondary);
  width: 0;
  animation: 
    typing 2.5s steps(30, end) forwards,
    blink-caret 0.75s step-end infinite;
  animation-delay: 0.5s; /* Wait a bit before starting */
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--secondary) }
}

/* Service Card Aggressive Hover */
.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 
    0 30px 60px rgba(30, 58, 95, 0.2),
    0 0 0 1px rgba(30, 58, 95, 0.1);
}

.service-card.featured:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 
    0 30px 60px rgba(30, 58, 95, 0.4),
    0 0 30px rgba(0, 243, 255, 0.2); /* Cyan glow */
}

/* Testimonial Carousel Controls */
.testimonial-carousel-indicators {
  position: static;
  margin-top: 2rem;
}

.testimonial-carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2) !important;
  border: none;
  margin: 0 6px !important;
  transition: all 0.3s ease;
}

.testimonial-carousel-indicators button.active {
  background-color: var(--secondary) !important;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(229, 166, 25, 0.5);
}

.testimonial-card {
  /* existing styles */
  background: rgba(15, 31, 51, 0.6); /* Glass dark */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255,255,255,0.9);
}

.testimonial-card blockquote {
  color: rgba(255,255,255,0.8);
}

.testimonial-card .author-name {
  color: white;
}


.feature-icon i {
  font-size: 1.75rem;
  color: var(--secondary);
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon i {
  color: var(--primary-dark);
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-main);
  letter-spacing: 0.02em;
  min-height: 3.5rem;
}

.feature-card p,
.feature-card .text-muted,
.feature-card .text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem !important;
  line-height: 1.6;
  flex-grow: 1;
}

/* ============================================
   Custom Google Reviews Slider
   ============================================ */
.google-reviews-slider {
  margin-top: 2rem;
}

#googleReviewsCarousel .carousel-inner {
  min-height: 320px;
}

#googleReviewsCarousel .carousel-item {
  min-height: 320px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 2rem;
}

.location-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: white;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  min-width: 220px;
}

.location-badge:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(229, 166, 25, 0.5);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.loc-badge-google {
  height: 18px;
  width: auto;
  background: white;
  border-radius: 4px;
  padding: 2px 5px;
  flex-shrink: 0;
}

.loc-badge-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

.loc-badge-stars {
  display: flex;
  gap: 2px;
}

.loc-badge-stars i {
  color: #fbbc05;
  font-size: 0.7rem;
}

.loc-badge-name {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.loc-badge-count {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.loc-badge-icon {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.rating-text {
  color: #fff !important;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stars-large {
  display: flex;
  gap: 0.25rem;
}

.stars-large i {
  color: #fbbc05;
  font-size: 1.5rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.review-count {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem;
}

.google-logo img {
  background: white;
  padding: 6px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  height: 35px;
  width: auto;
  box-sizing: content-box; /* Ensures padding doesn't shrink the logo */
}

.google-review-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.google-review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

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

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.reviewer-details p {
  margin: 0;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.review-stars {
  display: flex;
  gap: 0.1rem;
  margin-top: 0.25rem;
}

.review-stars i {
  color: #fbbc05;
  font-size: 0.9rem;
}

.review-date {
  color: #666;
  font-size: 0.85rem;
  white-space: nowrap;
}

.review-text {
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.review-footer {
  text-align: right;
  opacity: 0.7;
}

.review-footer img {
  height: 18px;
  width: auto;
}

/* Carousel controls styling for dark background */
#googleReviewsCarousel .carousel-control-prev,
#googleReviewsCarousel .carousel-control-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

#googleReviewsCarousel .carousel-control-prev:hover,
#googleReviewsCarousel .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

#googleReviewsCarousel .carousel-control-prev-icon,
#googleReviewsCarousel .carousel-control-next-icon {
  filter: invert(1);
}

/* ============================================
   Guarantee Cards - Tech Panels
   ============================================ */
.guarantee-card {
  background: white;
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0,0,0,0.05);
  border-left: 4px solid var(--secondary);
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.guarantee-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(229, 166, 25, 0.15);
  background: #fff;
}

.guarantee-card p {
  margin-bottom: 0;
  color: var(--primary);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* ============================================
   Service Cards - Premium Glassmorphism
   ============================================ */
.service-card {
  background: white;
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Featured Service Card - Dark Tech */
.service-card.featured {
  background: var(--primary);
  border: none;
  position: relative;
  color: white;
}

.service-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.05) 50%, transparent 52%);
  background-size: 20px 20px;
  pointer-events: none;
}

.service-card.featured h4 {
  color: white;
}

.service-card.featured p {
  color: rgba(255,255,255,0.8);
}

.service-card.featured .text-muted {
  color: rgba(255,255,255,0.85) !important;
}

.service-card.featured .service-features li {
  color: rgba(255,255,255,0.9);
}

/* Badge positioned on card border */
.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: auto;
  transform: none;
  display: inline-block;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(229, 166, 25, 0.4);
  z-index: 100;
  font-family: var(--font-tech);
}

.service-card h4 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  font-weight: 700;
  padding-top: 10px;
  min-height: 4.5rem;
}

.service-card p.text-muted.small {
  min-height: 7.5rem;
}

.service-card .service-features {
  flex-grow: 1;
}

.service-card .service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
}

.service-card .service-features i {
  color: var(--secondary);
  margin-top: 0.25rem;
  font-size: 1rem;
}

.service-card.featured .service-features i {
  color: var(--secondary);
}

/* ============================================
   Testimonial Cards - Tech Comment
   ============================================ */
.row > [class*="col"]:has(.testimonial-card) {
  display: flex;
}

.testimonial-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.testimonial-card .quote-icon {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  flex-grow: 1;
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: normal;
  font-family: var(--font-main);
}

.testimonial-card .author {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.25rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .author-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card .author-info {
  flex: 1;
}

.testimonial-card .author-name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.testimonial-card .author-company {
  font-size: 0.8rem;
  color: #64748b;
  font-family: var(--font-tech);
  text-transform: uppercase;
}

/* Star Rating */
.testimonial-card .stars {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

/* ============================================
   Industry Cards - Premium Glass
   ============================================ */
.industry-highlight {
  border-radius: 24px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.industry-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.industry-highlight:hover {
  transform: translateY(-8px);
}

.industry-highlight.business {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 20px 40px rgba(30, 58, 95, 0.3);
}

.industry-highlight.business::before {
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(229, 166, 25, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(229, 166, 25, 0.1) 0%, transparent 50%);
}

.industry-highlight.business:hover::before {
  opacity: 1;
}

.industry-highlight.education {
  background: var(--gradient-secondary);
  color: var(--primary-dark);
  box-shadow: 0 20px 40px rgba(229, 166, 25, 0.3);
}

.industry-highlight > i {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.industry-highlight a i {
  font-size: 1rem;
  margin-bottom: 0;
  display: inline;
}

.industry-highlight.business > i {
  color: var(--secondary);
  filter: drop-shadow(0 4px 8px rgba(229, 166, 25, 0.3));
}

.industry-highlight h3 {
  font-size: 1.625rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.industry-highlight.business h3 {
  color: white;
}

.industry-highlight p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.industry-highlight.business p {
  color: rgba(255,255,255,0.85);
}

.industry-highlight a {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.industry-highlight.business a {
  color: var(--secondary);
}

.industry-highlight.business a:hover {
  color: white;
  gap: 0.75rem;
}

.industry-highlight.education a {
  color: var(--primary-dark);
}

.industry-highlight.education a:hover {
  gap: 0.75rem;
}

/* ============================================
   Stats Section
   ============================================ */

/* Internal Page Hero */
.hero-page {
  background: var(--dark-bg);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-page .hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* Navbar Dark Override for Internal Pages */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: white;
}
/* ============================================
   CTA Section - Futuristic
   ============================================ */
.cta-section {
  background: var(--gradient-hero);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(229, 166, 25, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(229, 166, 25, 0.08) 0%, transparent 50%);
  pointer-events: none;
}


.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
}

/* Glassmorphism CTA Box */
.cta-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 3rem;
}

/* ============================================
   Blog / Articles
   ============================================ */
.blog-content iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* ============================================
   Hero Visual Elements - 3D Tech
   ============================================ */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.tech-ring-1 {
  position: absolute;
  width: 350px;
  height: 350px;
  border: 2px dashed rgba(229, 166, 25, 0.2);
  border-radius: 50%;
  animation: rotate-slow 30s linear infinite;
}

.tech-ring-2 {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(30, 58, 95, 0.5);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: rotate-slow 15s linear infinite reverse;
}

.tech-card {
  position: relative;
  width: 280px;
  background: rgba(15, 31, 51, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: rotateY(-10deg) rotateX(5deg);
  animation: float 6s ease-in-out infinite;
  z-index: 10;
  font-family: var(--font-tech);
}

.tech-header {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-header .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--accent-green);
}

.tech-body {
  padding: 1rem;
}

.tech-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.tech-row:last-child {
  margin-bottom: 0;
}

.tech-row .label {
  color: rgba(255, 255, 255, 0.5);
}

.tech-row .value {
  font-weight: 700;
  text-shadow: 0 0 5px currentColor;
}

.tech-footer {
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
}

.tech-bar {
  height: 100%;
  width: 100%;
  background: var(--secondary);
  animation: shimmer 2s infinite linear;
}

.tech-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px white;
}

.tech-node.n1 { top: 20%; right: 10%; animation: blink 3s infinite; }
.tech-node.n2 { bottom: 30%; left: 0%; animation: blink 4s infinite 1s; }
.tech-node.n3 { top: 80%; right: 20%; animation: blink 2s infinite 0.5s; }

/* Hero Benefits Strip */
.hero-benefits-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-benefits-strip .benefit-item {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-tech);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-benefits-strip .benefit-item i {
  color: var(--secondary);
}

footer {
  background: var(--primary-dark);
  color: white;
  padding: 7rem 0 0;
  position: relative;
  overflow-x: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

footer h5 {
  color: var(--secondary);
  font-size: 1.125rem;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

footer a {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

footer a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

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

footer ul li {
  margin-bottom: 1.1rem;
}

.footer-logo {
  background: var(--gradient-secondary);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(229, 166, 25, 0.3);
}

.footer-contact {
  margin-top: 2rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

.footer-contact i {
  color: var(--secondary);
  width: 22px;
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 0;
  margin-top: 4rem;
  background: rgba(0,0,0,0.2);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  margin: 0;
  font-size: 0.875rem;
}

/* Social Links - Modern */
.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
  padding-left: 0;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 5rem 0 6rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .service-card {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 110px;
  }

  body {
    padding-top: 94px;
  }

  .hero-section {
    padding: 5rem 0 2rem;
    text-align: center !important;
  }

  .hero-section .text-start {
    text-align: center !important;
  }

  .hero-section.hero-fullscreen {
    min-height: auto;
    align-items: flex-start;
    padding: 5rem 0 2rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
  }

  .hero-eyebrow::before {
    display: none;
  }

  .hero-cta-wrapper {
    flex-direction: column;
    align-items: center !important;
    gap: 0.75rem;
  }

  .hero-cta-wrapper .d-flex.flex-wrap {
    flex-direction: column;
    align-items: center !important;
    width: 100%;
  }

  .hero-cta-wrapper .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-guarantee {
    justify-content: center;
  }

  .hero-phone {
    font-size: 0.9rem;
    text-align: center;
  }

  .hero-benefits-strip {
    margin-top: 1.5rem !important;
    padding-top: 1rem !important;
  }

  .hero-benefits-strip .row {
    justify-content: center;
  }

  .hero-benefits-strip .benefit-item {
    font-size: 0.72rem;
    gap: 0.25rem;
  }

  .top-bar {
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .top-bar .social-links {
    display: flex !important;
    justify-content: flex-end;
    width: 100%;
  }

  .top-bar .phone-link {
    white-space: nowrap !important;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .top-bar .phone-link span {
    white-space: nowrap !important;
  }

  .navbar {
    top: 38px;
    padding: 0 !important;
    min-height: 56px;
    display: flex;
    align-items: stretch;
    margin-bottom: 0;
  }

  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 56px;
    padding: 0 1rem;
  }

  .navbar.scrolled {
    top: 38px;
    padding: 0 !important;
  }

  .navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .navbar-brand img {
    display: block;
    max-height: 32px;
  }

  .navbar-toggler {
    margin-top: 0;
    margin-bottom: 0;
    align-self: center;
    padding: 0.15rem 0.35rem;
    font-size: 0.875rem;
  }

  .navbar-collapse {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  section {
    padding: 3rem 0;
  }

  .feature-card,
  .service-card,
  .testimonial-card {
    padding: 1.25rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .location-badges {
    flex-direction: column;
    align-items: center;
  }

  .location-badge {
    width: 100%;
    max-width: 320px;
  }

  #googleReviewsCarousel .carousel-inner,
  #googleReviewsCarousel .carousel-item {
    min-height: 380px;
  }

  .stat-card {
    padding: 1.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .stat-number {
    font-size: clamp(1.5rem, 6vw, 2rem);
    word-break: normal;
    white-space: nowrap;
    margin-bottom: 0.25rem;
  }

  .stat-label {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .service-card h4 {
    min-height: auto;
  }

  .service-card p.text-muted.small {
    min-height: auto;
  }

  .feature-card h4 {
    min-height: auto;
  }

  .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }

  .d-flex.flex-wrap.gap-3 .btn {
    width: 100%;
    text-align: center;
  }

  .wave-divider svg {
    height: 40px;
  }
}

/* ============================================
   Utility Classes - Enhanced
   ============================================ */
.rounded-lg {
  border-radius: 16px !important;
}

.rounded-xl {
  border-radius: 20px !important;
}

.rounded-2xl {
  border-radius: 24px !important;
}

.shadow-lg {
  box-shadow: 0 10px 40px rgba(0,0,0,0.12) !important;
}

.shadow-glow {
  box-shadow: 0 0 40px rgba(229, 166, 25, 0.3) !important;
}

.shadow-glow-primary {
  box-shadow: 0 0 40px rgba(30, 58, 95, 0.3) !important;
}

/* Glassmorphism Utilities */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-light {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
  background: rgba(15, 31, 51, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text - Brand Colors Only */
.gradient-text {
  color: var(--secondary);
}

.gradient-text-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Data Visualization Components
   ============================================ */

/* Stats Counter */
.stat-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9375rem;
  color: #64748b;
  font-weight: 500;
}

/* Dark Stats */
.stat-card.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-card.glass .stat-number {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card.glass .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

.stat-card.glass::before {
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

/* Progress Bars */
.progress-modern {
  height: 8px;
  background: rgba(30, 58, 95, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-modern .progress-bar {
  background: var(--gradient-secondary);
  border-radius: 4px;
  transition: width 1s ease;
}

/* Circular Progress */
.circular-progress {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circular-progress svg {
  transform: rotate(-90deg);
}

.circular-progress circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.circular-progress .bg {
  stroke: rgba(30, 58, 95, 0.1);
}

.circular-progress .progress {
  stroke: url(#gradient);
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  animation: data-flow 2s ease forwards;
}

.circular-progress .value {
  position: absolute;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Info Cards with Icons */
.info-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
}

.info-card:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-card .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(229, 166, 25, 0.2) 0%, rgba(30, 58, 95, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card .icon i {
  font-size: 1.25rem;
  color: var(--primary);
}

.info-card .content h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.info-card .content p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
  transform: translateX(-5px);
  box-shadow: 0 0 0 4px rgba(229, 166, 25, 0.2);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Animated Counter */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Pulse Dot */
.pulse-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-green);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--accent-green);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse-glow 2s infinite;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.status-badge.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.status-badge.warning {
  background: rgba(229, 166, 25, 0.1);
  color: var(--secondary);
}

.status-badge.danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}

.status-badge.info {
  background: rgba(30, 58, 95, 0.1);
  color: var(--primary);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 5px;
  border: 2px solid var(--muted);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* ============================================
   Page-Specific Styles
   ============================================ */

/* Blog Article Styles */
.blog-article {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.blog-article h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  padding-left: 1rem;
}

.blog-article h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.blog-article h3 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
  color: var(--primary);
}

.blog-article p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

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

.blog-article li {
  margin-bottom: 0.75rem;
  color: #475569;
  line-height: 1.7;
}

.blog-article blockquote {
  background: linear-gradient(135deg, rgba(229, 166, 25, 0.1) 0%, rgba(30, 58, 95, 0.05) 100%);
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: var(--primary);
}

/* Contact Form Styles */
.form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(30, 58, 95, 0.1);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-control:focus {
  background: white;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(229, 166, 25, 0.1);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Pricing Table Enhancements */
.pricing-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border: 2px solid var(--secondary);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--gradient-secondary);
  color: var(--primary-dark);
  padding: 0.375rem 3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(45deg);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}

/* Equal Height Row Utility */
.row-eq-height > [class*="col"] {
  display: flex;
  flex-direction: column;
}

.row-eq-height > [class*="col"] > .service-card,
.row-eq-height > [class*="col"] > .feature-card,
.row-eq-height > [class*="col"] > .google-review-card,
.row-eq-height > [class*="col"] > .guarantee-card {
  flex: 1;
}

.row-eq-height > [class*="col"] > a {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.row-eq-height > [class*="col"] > a > .feature-card,
.row-eq-height > [class*="col"] > a > .service-card {
  flex: 1;
}

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-glow {
  transition: box-shadow var(--transition-normal);
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(229, 166, 25, 0.3);
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ============================================
   Smart Call Dropdown
   ============================================ */
.review-location {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-left: auto;
  white-space: nowrap;
}

.review-locations-note {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 0.15rem;
}

.reviewer-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sca-call-dropdown {
  position: fixed;
  z-index: 9999;
  width: 260px;
  background: var(--primary-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  overflow: hidden;
  display: none;
}

.sca-call-dropdown.is-visible {
  display: block;
  animation: scaCallFadeIn 0.18s ease;
}

@keyframes scaCallFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sca-call-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.625rem 1rem;
}

.sca-call-status.open {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

.sca-call-status.closed {
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
}

.sca-call-status i {
  font-size: 0.6rem;
}

.sca-call-header {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  padding: 0.5rem 1rem 0.25rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

.sca-call-options {
  padding: 0.375rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sca-call-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 9px;
  color: white !important;
  text-decoration: none !important;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.15s ease;
}

.sca-call-option:hover {
  background: rgba(255,255,255,0.08);
  padding-left: 0.75rem !important;
}

.sca-call-option-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sca-call-option i {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  flex-shrink: 0;
}

.sca-call-footer {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 0.375rem 1rem 0.625rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Animated Underline Links */
.link-animated {
  position: relative;
  display: inline-block;
}

.link-animated::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition-normal);
}

.link-animated:hover::after {
  width: 100%;
}
