/* STERN - Industrial Excellence | Custom Styles */

:root {
  /* Primary Color Palette - Corporate Blue (Trust & Professionalism) */
  --stern-blue: #1D4ED8;
  --stern-blue-light: #3B82F6;
  --stern-blue-dark: #1E40AF;
  --stern-blue-vivid: #2563EB;

  /* Legacy naming for compatibility */
  --stern-gold: #1D4ED8;
  --stern-gold-light: #3B82F6;
  --stern-gold-dark: #1E40AF;

  /* Hero Dark Palette */
  --hero-navy: #0F172A;
  --hero-dark: #1E293B;
  --hero-overlay: rgba(15, 23, 42, 0.85);

  /* Light Theme */
  --stern-white: #FFFFFF;
  --stern-snow: #F8FAFC;
  --stern-light: #F1F5F9;
  --stern-silver: #E2E8F0;
  --stern-gray: #CBD5E1;
  --stern-slate: #64748B;
  --stern-charcoal: #334155;
  --stern-dark: #1E293B;
  --stern-black: #0F172A;

  /* Text Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  /* Accent Colors */
  --stern-navy: #1E3A5F;
  --stern-orange: #F97316;
  --stern-green: #10B981;
  --stern-cyan: #06B6D4;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, var(--stern-blue) 0%, var(--stern-blue-light) 100%);
  --gradient-blue-vivid: linear-gradient(135deg, #1D4ED8 0%, #06B6D4 100%);
  --gradient-light: linear-gradient(180deg, var(--stern-white) 0%, var(--stern-snow) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.75) 40%, rgba(15,23,42,0.85) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(29,78,216,0.15) 0%, rgba(6,182,212,0.1) 100%);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--stern-white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Selection */
::selection {
  background-color: var(--stern-blue);
  color: var(--stern-white);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--stern-blue);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--stern-blue-light);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes borderGlow {
  0%, 100% {
    box-shadow: 0 0 5px var(--stern-gold), 0 0 10px var(--stern-gold), 0 0 15px var(--stern-gold);
  }
  50% {
    box-shadow: 0 0 10px var(--stern-gold), 0 0 20px var(--stern-gold), 0 0 30px var(--stern-gold);
  }
}

/* Animation Classes */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInDown {
  animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.8s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Initial state for animated elements */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.8s; }

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hero-navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.2) saturate(1.1);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.7) 30%,
    rgba(15, 23, 42, 0.6) 50%,
    rgba(15, 23, 42, 0.8) 80%,
    rgba(15, 23, 42, 0.95) 100%
  );
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(29, 78, 216, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  z-index: 2;
}

.hero-grid {
  position: absolute;
  inset: 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: 60px 60px;
  z-index: 2;
  opacity: 0.5;
}

/* Hero accent lines */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue-vivid);
  z-index: 10;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--stern-white) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stern-silver);
  padding: 0.75rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-logo {
  color: var(--stern-black);
}

.navbar.scrolled .nav-link {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-link:hover {
  color: var(--stern-blue);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--stern-white);
  text-decoration: none;
  position: relative;
}

.nav-logo span {
  color: var(--stern-blue-light);
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--stern-blue-light);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--stern-white);
}

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

.nav-link.active {
  color: var(--stern-white);
}

.navbar.scrolled .nav-link.active {
  color: var(--stern-blue);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--stern-blue);
  color: var(--stern-white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.25);
}

.btn-primary::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-primary:hover {
  background: var(--stern-blue-vivid);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(29, 78, 216, 0.35);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--stern-white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid var(--stern-white);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--stern-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Light section button variants */
.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--stern-blue);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid var(--stern-blue);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-dark:hover {
  background: var(--stern-blue);
  color: var(--stern-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(3, 105, 161, 0.3);
}

/* Section Styles */
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--stern-blue);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Service Cards */
.service-card {
  position: relative;
  background: var(--stern-white);
  border: 1px solid var(--stern-silver);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  border-color: var(--stern-blue);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(3, 105, 161, 0.2);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stern-light);
  border: 1px solid var(--stern-silver);
  border-radius: 12px;
  font-size: 2rem;
  color: var(--stern-blue);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--stern-blue);
  color: var(--stern-white);
  border-color: var(--stern-blue);
  transform: scale(1.1);
}

/* Service Card with Image */
.service-card-img {
  position: relative;
  background: var(--stern-white);
  border: 1px solid var(--stern-silver);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-img .service-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-card-img .service-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  transition: all 0.5s ease;
}

.service-card-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.service-card-img .service-content {
  position: relative;
  z-index: 1;
}

.service-card-img:hover {
  border-color: var(--stern-blue);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(3, 105, 161, 0.2);
}

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

.service-card-img:hover .service-bg img {
  opacity: 0.15;
  transform: scale(1.1);
}

.service-card-img:hover .service-icon {
  background: var(--stern-blue);
  color: var(--stern-white);
  border-color: var(--stern-blue);
  transform: scale(1.1);
}

/* Stats Section */
.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--stern-blue);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* Stats on hero (now light bg stats bar) */
.hero-section .stat-number {
  color: var(--stern-blue);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.hero-section .stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-section .stat-item {
  padding: 1.5rem 1rem;
}

/* Stats divider in hero */
.hero-section .glass .divide-x > * {
  border-color: var(--stern-silver);
}

/* Project Cards */
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* Contact Form */
.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--stern-white);
  border: 1px solid var(--stern-silver);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--stern-blue);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230369A1'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5rem;
  padding-right: 3rem;
  cursor: pointer;
}

select.form-input option {
  background: var(--stern-white);
  color: var(--text-primary);
  padding: 0.5rem;
}

/* Footer */
.footer {
  background: var(--stern-black);
  border-top: 1px solid var(--stern-charcoal);
}

.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--stern-blue-light);
}

/* Social Icons */
.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--stern-blue);
  border-color: var(--stern-blue);
  color: var(--stern-white);
  transform: translateY(-3px);
}

/* Light section social icons */
.social-icon-light {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stern-light);
  border: 1px solid var(--stern-silver);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon-light:hover {
  background: var(--stern-blue);
  border-color: var(--stern-blue);
  color: var(--stern-white);
  transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--stern-blue);
  color: var(--stern-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(3, 105, 161, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--stern-blue-dark);
  transform: translateY(-5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--stern-white);
  z-index: 1001;
  padding: 6rem 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

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

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-nav-link {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 0;
  border-bottom: 1px solid var(--stern-silver);
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--stern-blue);
  padding-left: 1rem;
}

/* Decorative Elements */
.line-decoration {
  width: 60px;
  height: 4px;
  background: var(--gradient-gold);
}

.dot-decoration {
  width: 8px;
  height: 8px;
  background: var(--stern-gold);
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    padding: 0 1.5rem;
  }
}

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

  .stat-number {
    font-size: 2.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Utility Classes */
.text-gold { color: var(--stern-blue); }
.text-silver { color: var(--text-secondary); }
.bg-charcoal { background-color: var(--stern-light); }
.bg-slate { background-color: var(--stern-snow); }
.border-gold { border-color: var(--stern-blue); }
.border-gray { border-color: var(--stern-silver); }

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #06B6D4 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero specific gradient text */
.hero-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #93C5FD 50%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Effect - for dark backgrounds */
.glass {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15), 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Stats Glass Override */
.hero-section .glass {
  background: rgba(255, 255, 255, 1);
  border-radius: 20px 20px 0 0;
  border: none;
  border-top: 4px solid var(--stern-blue);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.2);
}

/* Light section styles */
.section-light {
  background: var(--stern-white);
}

.section-light-alt {
  background: var(--stern-snow);
}

/* Image Overlay on Load */
.img-load-overlay {
  position: relative;
  overflow: hidden;
}

.img-load-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--stern-charcoal);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.img-load-overlay.loaded::after {
  transform: scaleX(0);
}
