/* === COMPONENTS STYLES === */
/* Navigation, Buttons, Cards, Footer, Mobile Menu, Cursor, Animations */

/* === CUSTOM CURSOR === */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cursor.active {
  transform: scale(1.5);
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .cursor {
    display: none;
  }
}

/* === NAVIGATION BAR === */
.nav-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-medium);
}

.nav-wrapper.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 1px 0 var(--color-border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

/* === BRAND CONTAINER === */
.brand-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all var(--transition-medium);
}

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

.logo-image {
  height: 55px;
  width: auto;
  transition: all var(--transition-medium);
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.company-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary-light);
  letter-spacing: -0.02em;
  transition: all var(--transition-medium);
  text-shadow: 0 0 10px rgba(44, 139, 139, 0.3);
}

.company-name:hover {
  color: var(--color-primary);
  text-shadow: 0 0 15px rgba(44, 139, 139, 0.6);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .company-name {
    font-size: 0.95rem;
    margin: 0 auto;
    flex: 1;
    text-align: center;
    background: linear-gradient(
      135deg,
      #3fa5a5 0%,
      #2c8b8b 30%,
      #44c3c3 70%,
      #3fa5a5 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 0 20px rgba(44, 139, 139, 0.3);
    position: relative;
    animation: subtleShimmer 3s ease-in-out infinite;
    /* Enhanced mobile visibility */
    background-size: 200% 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 140px); /* Account for logo and hamburger */
  }

  @keyframes subtleShimmer {
    0%,
    100% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
  }

  .company-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(44, 139, 139, 0.4),
      transparent
    );
  }

  .logo-image {
    height: 48px;
    /* Enhanced mobile optimization */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  }

  .hamburger-menu {
    display: flex;
    /* Enhanced mobile visibility */
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .nav-menu {
    display: none;
  }

  /* Improved brand container layout */
  .brand-container {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .navbar {
    position: relative;
    width: 100%;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  align-items: center;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 400;
  font-size: var(--font-size-sm);
  position: relative;
  transition: all var(--transition-medium);
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary-light),
    transparent
  );
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-primary-light);
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #ffffff;
}

/* === BULLETPROOF HAMBURGER MENU === */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 14px;
  z-index: 1002;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  overflow: hidden;
  /* Ensure it's always clickable */
  pointer-events: auto;
  /* Better touch target for mobile */
  min-height: 50px;
  min-width: 50px;
  -webkit-tap-highlight-color: transparent;
  /* Enhanced visibility for mobile */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  /* Remove default button styles */
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

.hamburger-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(44, 139, 139, 0.15),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}

.hamburger-menu:hover::before {
  left: 100%;
}

.hamburger-menu:hover {
  background: rgba(44, 139, 139, 0.12);
  border-color: rgba(44, 139, 139, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(44, 139, 139, 0.3);
}

/* Enhanced focus and accessibility states */
.hamburger-menu:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
  background: rgba(44, 139, 139, 0.15);
  border-color: rgba(44, 139, 139, 0.5);
}

.hamburger-menu:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

/* Enhanced active/pressed state */
.hamburger-menu:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.hamburger-line {
  width: 22px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  border-radius: 3px;
  position: relative;
  /* Ensure lines are always visible */
  opacity: 1;
  transform-origin: center;
  /* Enhanced visibility */
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
  display: block;
}

.hamburger-menu.active {
  background: rgba(44, 139, 139, 0.18);
  border-color: rgba(44, 139, 139, 0.5);
  transform: scale(1.05);
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--color-primary-light);
}

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

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--color-primary-light);
}

/* === BULLETPROOF MOBILE MENU === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1001;
  padding: 120px 1.5rem 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-30px);
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow-y: auto;
  /* Prevent scrolling issues */
  overscroll-behavior: contain;
  /* Better mobile support */
  -webkit-overflow-scrolling: touch;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 25% 25%,
      rgba(44, 139, 139, 0.05) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(255, 255, 255, 0.02) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, rgba(44, 139, 139, 0.02) 0%, transparent 50%);
  pointer-events: none;
  animation: subtleGlow 8s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 400px;
  margin: 0 auto;
}

.mobile-menu-header {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mobile-menu.active .mobile-menu-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.mobile-menu-title {
  font-size: 1.1rem;
  color: var(--color-primary-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-menu-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

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

.mobile-nav-links li {
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.3s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.4s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.5s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.6s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(5) {
  transition-delay: 0.7s;
}

.mobile-menu.active .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(44, 139, 139, 0.15),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:focus::before {
  left: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  background: rgba(44, 139, 139, 0.12);
  border-color: rgba(44, 139, 139, 0.4);
  color: var(--color-primary-light);
  transform: translateX(10px) scale(1.02);
  text-shadow: 0 0 15px rgba(44, 139, 139, 0.4);
  box-shadow: 0 8px 30px rgba(44, 139, 139, 0.2);
}

.mobile-nav-link:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

/* Add subtle icons or indicators */
.mobile-nav-link::after {
  content: '→';
  position: absolute;
  right: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--color-primary-light);
  font-size: 1.1rem;
}

.mobile-nav-link:hover::after,
.mobile-nav-link:focus::after {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-footer {
  margin-top: auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mobile-menu.active .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.mobile-contact-info {
  margin-bottom: 1.5rem;
}

.mobile-phone {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary-light);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-phone:hover {
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  transform: scale(1.05);
}

.mobile-cta {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--color-primary-light);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.mobile-cta:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
}

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

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

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  color: var(--color-text);
  transform: translateY(-3px) translateZ(10px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--color-primary-light);
}

.btn-primary:active {
  transform: translateY(-1px);
  transition: all var(--transition-fast);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  color: var(--color-primary-light);
  border-color: var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  color: var(--color-text);
  transform: translateY(-3px) translateZ(10px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--color-primary-light);
}

.btn-secondary:active {
  transform: translateY(-1px);
  transition: all var(--transition-fast);
}

/* === CARDS === */
.value-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary-light),
    transparent
  );
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.value-card:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-8px) translateZ(10px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

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

.value-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 400;
}

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

.team-member {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary-light),
    transparent
  );
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.team-member:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-8px) translateZ(10px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.team-member:hover::before {
  opacity: 1;
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  border: 1px solid var(--color-border);
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 400;
}

.member-role {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin-bottom: 1rem;
  font-size: var(--font-size-sm);
}

.member-bio {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: var(--font-size-sm);
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.member-social a {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  transition: color 0.3s ease;
  text-decoration: none;
}

.member-social a:hover {
  color: #ffffff;
}

/* === ENHANCED STAT-ITEM CONTAINERS === */
.stat-item {
  /* Consistent padding and structure */
  padding: var(--space-lg);

  /* Enhanced glassmorphism foundation */
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(44, 139, 139, 0.2);
  border-radius: var(--radius-lg);

  /* Smooth transitions for all interactions */
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;

  /* Ensure consistent text alignment */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* Minimum height for visual consistency */
  min-height: 140px;
}

/* Universal stat-item hover effects */
.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary-light),
    #44c3c3,
    transparent
  );
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  background: rgba(44, 139, 139, 0.08);
  border-color: rgba(44, 139, 139, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(44, 139, 139, 0.25);
}

/* Default stat-number styling (overridden by enhanced styles above) */
.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  color: var(--color-primary-light);
  display: block;
  margin-bottom: var(--space-xs);

  /* Consistent baseline properties */
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-rendering: optimizeLegibility;
}

/* Enhanced stat-label styling */
.stat-label {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;

  /* Better spacing and alignment */
  margin-top: var(--space-xs);
  line-height: 1.3;

  /* Subtle enhancement on parent hover */
  transition: all var(--transition-medium);
}

.stat-item:hover .stat-label {
  color: var(--color-text-secondary);
  transform: translateY(-1px);
}

/* Progressive enhancement for service tier pages */
.hero-stats .stat-item {
  /* Enhanced visual hierarchy for hero sections */
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(44, 139, 139, 0.3);

  /* Better grid alignment */
  min-height: 160px;
  padding: var(--space-xl) var(--space-lg);
}

/* Responsive optimizations for stat containers */
@media (max-width: 768px) {
  .stat-item {
    min-height: 120px;
    padding: var(--space-md);
  }

  .hero-stats .stat-item {
    min-height: 140px;
    padding: var(--space-lg) var(--space-md);
  }

  .stat-label {
    font-size: var(--font-size-xs);
    letter-spacing: 0.03em;
  }
}

@media (max-width: 480px) {
  .stat-item {
    min-height: 100px;
    padding: var(--space-sm) var(--space-md);
  }

  .hero-stats .stat-item {
    min-height: 120px;
  }
}

/* === FOOTER === */
.footer {
  background: #000000;
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: var(--color-primary-light);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
  transform: translateX(3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888888;
}

/* === UNIVERSAL BLUE GLOW HOVER SYSTEM === */
.glow-hover {
  transition: all 0.3s ease;
  position: relative;
}

.glow-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.glow-hover-strong:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
  border-color: rgba(59, 130, 246, 0.6);
}

.glow-hover-accent:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--color-primary-light);
}

.glow-hover-button:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* === SCROLL-TRIGGERED ANIMATIONS JAVASCRIPT === */
/* This CSS provides the base styling for JavaScript-triggered animations */

/* === NUMBER COUNTERS === */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stat-number.counting {
  animation: countUp 0.6s var(--ease-out) forwards;
}

/* === ENHANCED STAT-NUMBER STYLING === */
.stat-number {
  /* Enhanced typography for both animated and static elements */
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Consistent spacing and alignment */
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  word-break: keep-all;
  hyphens: none;

  /* Enhanced glassmorphism for text elements */
  text-shadow: 0 0 20px rgba(44, 139, 139, 0.3);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));

  /* Transition for smooth hover effects */
  transition: all var(--transition-medium);

  /* Ensure proper baseline alignment */
  line-height: 1.1;
  vertical-align: baseline;
}

/* Enhanced styling for non-animated text-based stat numbers */
.stat-number[data-no-animation] {
  /* Ensure identical appearance to animated numbers */
  opacity: 1;
  transform: translateY(0) scale(1);

  /* Enhanced text styling for "Up to X" format */
  font-weight: 600;
  letter-spacing: 0.02em;

  /* Improved text flow for multi-word content */
  word-spacing: 0.1em;
  text-align: center;

  /* Solid color for reliable cross-browser text visibility */
  color: var(--color-primary-light);

  /* Subtle background effect that doesn't interfere with text */
  position: relative;
}

/* Add gradient background effect as pseudo-element for visual interest */
.stat-number[data-no-animation]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--color-primary-light) 0%,
    #44c3c3 50%,
    var(--color-primary-light) 100%
  );
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
  opacity: 0.1;
  z-index: -1;
  animation: subtleBackgroundShimmer 4s ease-in-out infinite;
}

@keyframes subtleBackgroundShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Enhanced hover effects for stat items containing text-based numbers */
.stat-item:hover .stat-number[data-no-animation] {
  text-shadow: 0 0 25px rgba(44, 139, 139, 0.5);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
  transform: scale(1.05);
}

/* Responsive optimizations for stat-number elements */
@media (max-width: 768px) {
  .stat-number {
    /* Improved mobile legibility */
    font-size: var(--font-size-2xl);
    letter-spacing: 0.01em;

    /* Simplified effects for mobile performance */
    text-shadow: 0 0 15px rgba(44, 139, 139, 0.4);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
  }

  .stat-number[data-no-animation] {
    /* Ensure text readability on mobile */
    color: var(--color-primary-light);

    /* Simplified effects for mobile performance */
    animation: none;
  }

  /* Disable background shimmer effect on mobile */
  .stat-number[data-no-animation]::before {
    display: none;
  }

  /* Enhanced mobile hover states */
  .stat-item:hover .stat-number[data-no-animation] {
    color: #44c3c3;
    transform: scale(1.02);
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: var(--font-size-xl);
    letter-spacing: 0;
  }

  .stat-number[data-no-animation] {
    /* Optimal mobile display */
    word-spacing: 0.05em;
    line-height: 1.2;
  }
}

/* === STAGGERED ANIMATIONS === */
.stagger-container .animate-on-scroll:nth-child(1) {
  transition-delay: 0ms;
}
.stagger-container .animate-on-scroll:nth-child(2) {
  transition-delay: 100ms;
}
.stagger-container .animate-on-scroll:nth-child(3) {
  transition-delay: 200ms;
}
.stagger-container .animate-on-scroll:nth-child(4) {
  transition-delay: 300ms;
}
.stagger-container .animate-on-scroll:nth-child(5) {
  transition-delay: 400ms;
}
.stagger-container .animate-on-scroll:nth-child(6) {
  transition-delay: 500ms;
}

/* === ENHANCED MOBILE VISIBILITY & ANTI-SLOTTED-ICONS === */
@media (max-width: 768px) {
  /* Force hamburger menu visibility - prevents "slotted icons" issue */
  .hamburger-menu {
    display: flex !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  /* Enhanced hamburger lines - prevents display issues */
  .hamburger-line {
    display: block !important;
    width: 22px !important;
    height: 3px !important;
    background: #ffffff !important;
    border-radius: 3px !important;
    margin: 3px 0 !important;
    opacity: 1 !important;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    position: relative !important;
    transform-origin: center !important;
  }

  /* Hide desktop navigation on mobile */
  .nav-menu {
    display: none !important;
  }

  /* Force proper mobile menu positioning */
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9998 !important;
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }
}

/* === ADDITIONAL MOBILE ENHANCEMENTS === */
@media (max-width: 480px) {
  .company-name {
    font-size: 0.85rem;
    max-width: calc(100vw - 120px);
  }

  .logo-image {
    height: 44px;
  }

  .hamburger-menu {
    width: 48px !important;
    height: 48px !important;
    padding: 12px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }

  .hamburger-line {
    width: 20px !important;
    height: 2.5px !important;
    margin: 2.5px 0 !important;
  }

  .mobile-menu {
    padding: 100px 1rem 2rem !important;
  }
}

@media (max-width: 320px) {
  .company-name {
    font-size: 0.8rem;
    max-width: calc(100vw - 110px);
  }

  .logo-image {
    height: 40px;
  }

  .hamburger-menu {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .navbar {
    padding: 0.75rem 0;
  }
}

/* === ENHANCED MOBILE MENU ACCESSIBILITY === */
.mobile-menu-content {
  /* Better focus management */
  outline: none;
}

.mobile-nav-link:focus,
.mobile-phone:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Improved mobile menu footer styling */
.mobile-menu-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.mobile-location {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Additional breakpoints for better responsive behavior */
@media (max-width: 480px) {
  .mobile-menu {
    padding: 100px 1rem 2rem;
  }

  .mobile-nav-link {
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
  }

  .hamburger-menu {
    width: 46px;
    height: 46px;
  }

  .company-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .logo-image {
    height: 40px;
  }

  .hamburger-menu {
    width: 44px;
    height: 44px;
  }
}
