/* Footer description text – make it lighter */
.footer .footer-section p {
  color: rgba(255, 255, 255, 0.9) !important;
}
/* ==== Contact Section Overrides to fix mobile overflow ==== */
.contact-content {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  overflow: hidden;
}

.contact-info,
.contact-form {
  flex: 1 1 45% !important;
  max-width: 45% !important;
}

/* Гарантируем, что форма не вылазит по ширине */
.contact-form {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 600px !important;
  margin: 0 auto !important;
}

/* Мобильное поведение */
@media (max-width: 768px) {
  .contact-content {
    display: block !important;
  }
  .contact-info,
  .contact-form {
    flex: none !important;
    max-width: 100% !important;
    margin-bottom: 1.5rem;
  }
}
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Link Styles */
a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

a:visited {
  color: rgba(255, 255, 255, 0.85);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  animation: background-flow 300s ease-in-out infinite;
  /* iOS Safari fixes */
  -webkit-background-size: 100% 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

@keyframes background-flow {
  0% {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  }
  25% {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  }
  50% {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  }
  75% {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  }
  100% {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  }
}

  /* Removed duplicate body::before overlay for mobile to prevent double overlay rendering */

@keyframes overlay-flow {
  0% {
    background:
      radial-gradient(
        circle at 20% 80%,
        rgba(59, 130, 246, 0.2) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(37, 99, 235, 0.15) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 40% 40%,
        rgba(79, 70, 229, 0.1) 0%,
        transparent 70%
      );
  }
  25% {
    background:
      radial-gradient(
        circle at 60% 30%,
        rgba(37, 99, 235, 0.18) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 30% 70%,
        rgba(59, 130, 246, 0.2) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 80% 80%,
        rgba(30, 58, 138, 0.12) 0%,
        transparent 70%
      );
  }
  50% {
    background:
      radial-gradient(
        circle at 80% 50%,
        rgba(30, 58, 138, 0.2) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 20% 30%,
        rgba(59, 130, 246, 0.15) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 50% 90%,
        rgba(37, 99, 235, 0.1) 0%,
        transparent 70%
      );
  }
  75% {
    background:
      radial-gradient(
        circle at 40% 20%,
        rgba(59, 130, 246, 0.18) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 90% 60%,
        rgba(30, 64, 175, 0.15) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 10% 50%,
        rgba(79, 70, 229, 0.12) 0%,
        transparent 70%
      );
  }
  100% {
    background:
      radial-gradient(
        circle at 20% 80%,
        rgba(59, 130, 246, 0.2) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(37, 99, 235, 0.15) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 40% 40%,
        rgba(79, 70, 229, 0.1) 0%,
        transparent 70%
      );
  }
}

/* Additional smooth background layer */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 30% 60%,
      rgba(59, 130, 246, 0.05) 0%,
      transparent 80%
    ),
    radial-gradient(
      ellipse at 70% 40%,
      rgba(37, 99, 235, 0.05) 0%,
      transparent 80%
    );
  pointer-events: none;
  z-index: -2;
  animation: subtle-flow 600s ease-in-out infinite;
}

@keyframes subtle-flow {
  0% {
    transform: translateX(0) translateY(0) scale(1);
  }
  25% {
    transform: translateX(-10px) translateY(5px) scale(1.01);
  }
  50% {
    transform: translateX(0) translateY(-8px) scale(1);
  }
  75% {
    transform: translateX(8px) translateY(3px) scale(0.99);
  }
  100% {
    transform: translateX(0) translateY(0) scale(1);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles - Синий Glassmorphism */
.header {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.18),
    rgba(37, 99, 235, 0.28)
  ) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 197, 253, 0.3);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow:
    0 8px 32px rgba(30, 58, 138, 0.4),
    0 -2px 8px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(147, 197, 253, 0.4),
    inset 0 -1px 0 rgba(29, 78, 216, 0.25),
    inset 1px 0 0 rgba(147, 197, 253, 0.2),
    inset -1px 0 0 rgba(29, 78, 216, 0.2),
    0 0 60px rgba(59, 130, 246, 0.15) !important;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0.3rem; /* Reduced from 0.5rem to bring text even closer to logo */
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo .logo-icon {
  height: 4rem;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem; /* Reduced from 0.2rem to bring oleksander and services even closer */
}

.nav-logo .logo-text {
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.nav-logo .logo-oleksander {
  height: 1.8rem;
  width: auto;
  transition: none; /* Remove transition to prevent movement on hover */
}

.nav-logo .logo-services {
  height: 1.6rem;
  width: auto;
  margin-left: 0.4rem; /* Reduced from 0.6rem to move services.svg a bit left */
  transition: none; /* Remove transition to prevent movement on hover */
}

/* Электрический эффект для иконки логотипа */
@keyframes electric-animation {
  0% {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    filter: none;
  }
  10% {
    color: #3b82f6;
    text-shadow:
      0 0 5px #3b82f6,
      0 0 10px #3b82f6,
      0 0 15px #3b82f6,
      0 0 20px #3b82f6,
      0 0 35px #3b82f6,
      0 0 40px #3b82f6;
    filter: brightness(1.5) saturate(2);
  }
  20% {
    color: #ffffff;
    text-shadow:
      0 0 2px #ffffff,
      0 0 5px #ffffff,
      0 0 8px #ffffff;
    filter: brightness(2);
  }
  30% {
    color: #2563eb;
    text-shadow:
      0 0 8px #2563eb,
      0 0 15px #2563eb,
      0 0 25px #2563eb,
      2px 2px 3px #2563eb,
      -2px -2px 3px #2563eb;
    filter: brightness(1.8) contrast(1.5);
  }
  40% {
    color: #ffffff;
    text-shadow:
      0 0 3px #ffffff,
      0 0 6px #ffffff;
    filter: brightness(1.2);
  }
  60% {
    color: #1d4ed8;
    text-shadow:
      0 0 12px #1d4ed8,
      0 0 20px #1d4ed8,
      0 0 30px #1d4ed8,
      1px 1px 2px #1d4ed8;
    filter: brightness(1.6) saturate(1.8);
  }
  80% {
    color: #f59e0b;
    text-shadow:
      0 0 6px #f59e0b,
      0 0 12px #f59e0b,
      0 0 18px #f59e0b;
    filter: brightness(1.4);
  }
  100% {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    filter: none;
  }
}

.nav-logo.rainbow-active i {
  animation: electric-animation 1.2s ease-in-out;
}

.nav-logo span {
  color: #ffffff !important;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 1) !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Force all nav link states to stay white */
.nav-link:link,
.nav-link:visited,
.nav-link:active,
.nav-link.active {
  color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link.active {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 600;
}

/* Maximum specificity override for nav links */
.navbar .nav-menu .nav-link,
.navbar .nav-menu .nav-link:link,
.navbar .nav-menu .nav-link:visited,
.navbar .nav-menu .nav-link:active,
.navbar .nav-menu .nav-link.active,
.header .navbar .nav-menu .nav-link,
.header .navbar .nav-menu .nav-link:link,
.header .navbar .nav-menu .nav-link:visited,
.header .navbar .nav-menu .nav-link:active,
.header .navbar .nav-menu .nav-link.active {
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar .nav-menu .nav-link.active,
.header .navbar .nav-menu .nav-link.active {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 600 !important;
}

.emergency-btn {
  background: rgba(220, 38, 38, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(147, 197, 253, 0.3);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  /* removed extra closing brace */
  box-shadow:
    0 4px 15px rgba(220, 38, 38, 0.4),
    inset 0 1px 0 rgba(147, 197, 253, 0.2);
}

.emergency-btn:hover {
  background: rgba(185, 28, 28, 0.9);
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(220, 38, 38, 0.6),
    inset 0 1px 0 rgba(147, 197, 253, 0.3);
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section - Neomorphism */
.hero {
  padding: 100px 0 80px;
  background: transparent;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  animation: fadeInLeft 0.8s ease;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.btn-primary {
  background: linear-gradient(
    145deg,
    rgba(234, 179, 8, 0.9),
    rgba(245, 158, 11, 0.95)
  );
  color: #1f2937;
  border: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow:
    0 8px 32px rgba(234, 179, 8, 0.5),
    inset 0 1px 0 rgba(255, 215, 0, 0.4),
    inset 0 -1px 0 rgba(180, 83, 9, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(
    145deg,
    rgba(245, 158, 11, 0.95),
    rgba(251, 191, 36, 1)
  );
  transform: translateY(-4px);
  box-shadow:
    0 15px 40px rgba(234, 179, 8, 0.7),
    inset 0 1px 0 rgba(255, 215, 0, 0.5),
    inset 0 -1px 0 rgba(180, 83, 9, 0.4),
    0 0 50px rgba(234, 179, 8, 0.4);
}

.btn-secondary {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.15),
    rgba(37, 99, 235, 0.25)
  );
  color: rgba(240, 249, 255, 0.9);
  border: 1px solid rgba(147, 197, 253, 0.4);
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 32px rgba(30, 58, 138, 0.3),
    inset 0 1px 0 rgba(147, 197, 253, 0.3),
    inset 0 -1px 0 rgba(29, 78, 216, 0.2);
}

.btn-secondary:hover {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.35),
    rgba(37, 99, 235, 0.45)
  );
  color: #f0f9ff;
  transform: translateY(-4px);
  box-shadow:
    0 15px 40px rgba(30, 58, 138, 0.4),
    inset 0 1px 0 rgba(147, 197, 253, 0.4),
    inset 0 -1px 0 rgba(29, 78, 216, 0.3),
    0 0 40px rgba(59, 130, 246, 0.3);
}

.hero-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature i {
  color: #eab308;
  font-size: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-image {
  text-align: center;
  animation: fadeInRight 0.8s ease;
  perspective: 1000px;
}

.image-3d-container {
  position: relative;
  display: inline-block;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  /* Статичная рамка - не двигается */
}

.image-3d-container:hover {
  /* Рамка остается на месте */
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.parallax-image {
  max-width: 100%;
  height: auto;
  display: block;
  transition: all 0.6s ease;
  transform: translateZ(0);
  /* Только картинка двигается в глубину */
}

.image-3d-container:hover .parallax-image {
  transform: translateZ(-50px) scale(1.1);
}

/* Services Section */
.services {
  padding: 80px 0;
  background: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.22)
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 24px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 
        /* Внешние тени */
    0 8px 32px rgba(30, 58, 138, 0.15),
    0 -4px 16px rgba(30, 58, 138, 0.08),
    /* Внутренние блики */ inset 0 1px 0 rgba(147, 197, 253, 0.3),
    inset 0 -1px 0 rgba(29, 78, 216, 0.2),
    /* Боковые блики */ inset 1px 0 0 rgba(147, 197, 253, 0.15),
    inset -1px 0 0 rgba(29, 78, 216, 0.15);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.22),
    rgba(37, 99, 235, 0.32)
  );
  box-shadow: 
        /* Увеличенные внешние тени */
    0 20px 60px rgba(30, 58, 138, 0.25),
    0 -8px 32px rgba(30, 58, 138, 0.12),
    /* Усиленные внутренние блики */ inset 0 1px 0 rgba(147, 197, 253, 0.4),
    inset 0 -1px 0 rgba(29, 78, 216, 0.3),
    /* Усиленные боковые блики */ inset 1px 0 0 rgba(147, 197, 253, 0.25),
    inset -1px 0 0 rgba(29, 78, 216, 0.25),
    /* Дополнительное свечение */ 0 0 100px rgba(30, 58, 138, 0.2);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  pointer-events: none;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(107, 114, 128, 0.8),
    rgba(75, 85, 99, 0.8)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow:
    0 8px 32px rgba(107, 114, 128, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-card ul {
  list-style: none;
}

.service-card li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* About Section */
.about {
  padding: 80px 0;
  background: transparent;
}

.about-content {
  display: flex;
  gap: 3rem;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  box-shadow:
    0 16px 64px rgba(30, 58, 138, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 450px; /* Match image height for perfect alignment */
}

.about-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 450px; /* Match image height exactly */
}

.about-quote {
  background: rgba(59, 130, 246, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin: 0; /* Remove margin for precise top alignment */
  position: relative;
  flex-shrink: 0;
}

.about-quote p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-style: italic;
  text-align: center; /* Center the quote text */
}

.about-quote cite {
  display: block;
  text-align: center; /* Center the citation */
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9) !important; /* White color for the name */
  font-weight: 600;
  font-style: normal;
}

.about-quote cite .position {
  color: #eab308 !important; /* Yellow color from palette for position only */
}

.about-quote cite::before {
  content: "";
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0; /* Remove margin for precise spacing control */
  flex-shrink: 0;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  flex-shrink: 0;
  margin: 0; /* Remove margin for precise bottom alignment */
}

.about-image {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 450px; /* Match the text area minimum height exactly */
}

.about-image .image-3d-container {
  width: 100%;
  height: 100%;
}

.about-image .parallax-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.about-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute content evenly */
  gap: 1rem; /* Reduced gap */
  max-width: 100%;
  height: 100%; /* Take full available height */
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0; /* Remove margin to control spacing precisely */
  align-items: stretch;
}

.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.22)
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 16px;
  box-shadow: 
        /* Внешние тени */
    0 8px 32px rgba(30, 58, 138, 0.15),
    0 -4px 16px rgba(30, 58, 138, 0.08),
    /* Внутренние блики */ inset 0 1px 0 rgba(147, 197, 253, 0.3),
    inset 0 -1px 0 rgba(29, 78, 216, 0.2),
    /* Боковое освещение */ 0 0 60px rgba(59, 130, 246, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.stat:hover {
  transform: translateY(-3px); /* Add subtle lift on hover */
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.22),
    rgba(37, 99, 235, 0.32)
  );
  box-shadow: 
        /* Увеличенные внешние тени */
    0 15px 40px rgba(30, 58, 138, 0.25),
    0 -8px 24px rgba(30, 58, 138, 0.12),
    /* Усиленные внутренние блики */ inset 0 1px 0 rgba(147, 197, 253, 0.4),
    inset 0 -1px 0 rgba(29, 78, 216, 0.3),
    /* Дополнительное свечение */ 0 0 80px rgba(59, 130, 246, 0.2);
}

/* About Quote Styles */
.about-quote {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-quote cite {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-style: normal;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .about-quote {
    margin: 0.75rem 0;
    padding: 1rem;
  }

  .about-quote p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .about-quote cite {
    font-size: 1.3rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 2rem 0 1.5rem 0;
  }

  .stat {
    padding: 1rem 0.5rem;
    min-height: 85px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .about-feature {
    padding: 0.625rem 0.375rem;
    min-height: 45px;
    gap: 0.375rem;
  }

  .about-feature span {
    font-size: 0.7rem;
  }

  .about-feature i {
    font-size: 0.9rem;
  }

  .about-content {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .about-details {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .stat {
    padding: 0.875rem 0.5rem;
    min-height: 75px;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .about-feature {
    padding: 0.75rem 0.5rem;
    min-height: 40px;
  }

  .about-feature span {
    font-size: 0.8rem;
  }
}

/* Neomorphism Effects - Синий Дизайн */
.neomorphism-card {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.15),
    rgba(37, 99, 235, 0.25)
  );
  box-shadow: 
        /* Внешние тени */
    0 8px 32px rgba(30, 58, 138, 0.4),
    0 -8px 32px rgba(30, 58, 138, 0.1),
    /* Внутренние блики */ inset 0 1px 0 rgba(147, 197, 253, 0.4),
    inset 0 -1px 0 rgba(29, 78, 216, 0.3),
    /* Боковые блики */ inset 1px 0 0 rgba(147, 197, 253, 0.2),
    inset -1px 0 0 rgba(29, 78, 216, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.3);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.neomorphism-card:hover {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.25),
    rgba(37, 99, 235, 0.35)
  );
  box-shadow: 
        /* Увеличенные внешние тени */
    0 12px 48px rgba(30, 58, 138, 0.6),
    0 -12px 48px rgba(30, 58, 138, 0.15),
    /* Усиленные внутренние блики */ inset 0 1px 0 rgba(147, 197, 253, 0.6),
    inset 0 -1px 0 rgba(29, 78, 216, 0.4),
    /* Усиленные боковые блики */ inset 1px 0 0 rgba(147, 197, 253, 0.3),
    inset -1px 0 0 rgba(29, 78, 216, 0.3),
    /* Дополнительное свечение */ 0 0 60px rgba(59, 130, 246, 0.3);
}

.neomorphism-button {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.8),
    rgba(37, 99, 235, 0.9)
  );
  box-shadow:
    0 8px 20px rgba(30, 58, 138, 0.4),
    inset 0 1px 0 rgba(147, 197, 253, 0.5),
    inset 0 -1px 0 rgba(29, 78, 216, 0.4);
  border: none;
  border-radius: 16px;
  color: white;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.neomorphism-button:hover {
  background: linear-gradient(
    145deg,
    rgba(37, 99, 235, 0.9),
    rgba(30, 58, 138, 1)
  );
  box-shadow:
    0 12px 30px rgba(30, 58, 138, 0.6),
    inset 0 1px 0 rgba(147, 197, 253, 0.6),
    inset 0 -1px 0 rgba(29, 78, 216, 0.5),
    0 0 40px rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
}

.neomorphism-button:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 15px rgba(30, 58, 138, 0.4),
    inset 0 2px 5px rgba(29, 78, 216, 0.3);
}

/* Финальные неоморфизм дополнения для синего дизайна */
.header {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.18),
    rgba(37, 99, 235, 0.28)
  ) !important;
  box-shadow:
    0 8px 32px rgba(30, 58, 138, 0.4),
    0 -2px 8px rgba(30, 58, 138, 0.1),
    inset 0 1px 0 rgba(147, 197, 253, 0.4),
    inset 0 -1px 0 rgba(29, 78, 216, 0.25),
    inset 1px 0 0 rgba(147, 197, 253, 0.2),
    inset -1px 0 0 rgba(29, 78, 216, 0.2),
    0 0 60px rgba(59, 130, 246, 0.15) !important;
}

.contact-item {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.22)
  ) !important;
  box-shadow:
    0 8px 32px rgba(30, 58, 138, 0.15),
    0 -4px 16px rgba(30, 58, 138, 0.08),
    inset 0 1px 0 rgba(147, 197, 253, 0.3),
    inset 0 -1px 0 rgba(29, 78, 216, 0.2),
    0 0 60px rgba(59, 130, 246, 0.1) !important;
  border-left: 4px solid rgba(59, 130, 246, 0.8) !important;
}

.contact-item:hover {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.22),
    rgba(37, 99, 235, 0.32)
  ) !important;
  box-shadow:
    0 15px 40px rgba(30, 58, 138, 0.25),
    0 -8px 24px rgba(30, 58, 138, 0.12),
    inset 0 1px 0 rgba(147, 197, 253, 0.4),
    inset 0 -1px 0 rgba(29, 78, 216, 0.3),
    0 0 80px rgba(59, 130, 246, 0.2) !important;
}

/* Улучшенные эффекты для элементов формы */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(59, 130, 246, 0.25) !important;
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.2),
    0 8px 32px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(147, 197, 253, 0.3),
    inset 0 -1px 0 rgba(29, 78, 216, 0.2) !important;
}

/* Дополнительные неоморфизм эффекты для мобильных устройств */
@media (max-width: 768px) {
  .service-card,
  .stat,
  .contact-item {
    box-shadow:
      0 6px 24px rgba(30, 58, 138, 0.12),
      0 -3px 12px rgba(30, 58, 138, 0.06),
      inset 0 1px 0 rgba(147, 197, 253, 0.25),
      inset 0 -1px 0 rgba(29, 78, 216, 0.15),
      0 0 40px rgba(59, 130, 246, 0.08) !important;
  }

  .service-card:hover,
  .stat:hover,
  .contact-item:hover {
    box-shadow:
      0 12px 36px rgba(30, 58, 138, 0.18),
      0 -6px 18px rgba(30, 58, 138, 0.09),
      inset 0 1px 0 rgba(147, 197, 253, 0.35),
      inset 0 -1px 0 rgba(29, 78, 216, 0.25),
      0 0 60px rgba(59, 130, 246, 0.15) !important;
  }
}

/* Дополнительные неоморфизм эффекты для кнопок */
.emergency-btn {
  box-shadow:
    0 4px 15px rgba(220, 38, 38, 0.4),
    0 -2px 8px rgba(30, 58, 138, 0.05),
    inset 0 1px 0 rgba(147, 197, 253, 0.2),
    inset 0 -1px 0 rgba(29, 78, 216, 0.15) !important;
}

.emergency-btn:hover {
  box-shadow:
    0 8px 25px rgba(220, 38, 38, 0.6),
    0 -4px 12px rgba(30, 58, 138, 0.08),
    inset 0 1px 0 rgba(147, 197, 253, 0.3),
    inset 0 -1px 0 rgba(29, 78, 216, 0.2),
    0 0 40px rgba(220, 38, 38, 0.3) !important;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.modal-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 2% auto;
  padding: 0;
  border-radius: 24px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.close {
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  line-height: 0.8;
  padding-bottom: 2px;
}

.close:hover {
  color: rgba(220, 38, 38, 0.9);
  background: rgba(254, 242, 242, 0.2);
  transform: scale(1.1);
}

.modal-body {
  padding: 1rem 2rem 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.form-group select {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.form-group select option {
  background: rgba(30, 58, 138, 0.95);
  color: rgba(255, 255, 255, 0.9);
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Универсальная анимация для всех элементов */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-reveal.mobile-lift {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 60px rgba(0, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

/* Плавная последовательная анимация */
.service-card:nth-child(1) {
  transition-delay: 0.1s;
}
.service-card:nth-child(2) {
  transition-delay: 0.15s;
}
.service-card:nth-child(3) {
  transition-delay: 0.2s;
}
.service-card:nth-child(4) {
  transition-delay: 0.25s;
}
.service-card:nth-child(5) {
  transition-delay: 0.3s;
}
.service-card:nth-child(6) {
  transition-delay: 0.35s;
}

.stat:nth-child(1) {
  transition-delay: 0.1s;
}
.stat:nth-child(2) {
  transition-delay: 0.2s;
}
.stat:nth-child(3) {
  transition-delay: 0.3s;
}
.stat:nth-child(4) {
  transition-delay: 0.4s;
}

/* Мобильные улучшения */
@media (max-width: 768px) {
  .scroll-reveal {
    transform: translateY(30px) scale(0.96);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .scroll-reveal.active.mobile-lift {
    transform: translateY(-3px) scale(1.005);
    animation: gentleFloat 3s ease-in-out infinite alternate;
  }
}

@keyframes gentleFloat {
  0% {
    transform: translateY(-3px) scale(1.005);
    box-shadow:
      0 10px 25px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 40px rgba(0, 255, 255, 0.08);
  }
  100% {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 60px rgba(0, 255, 255, 0.12);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Blue background for mobile devices, matching desktop */
  body {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    background-attachment: fixed !important;
    -webkit-background-size: 100% 100% !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    /* Disable animation on mobile for better performance */
    animation: none !important;
  }

  body::before {
    background:
      radial-gradient(
        circle at 20% 80%,
        rgba(59, 130, 246, 0.2) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(37, 99, 235, 0.15) 0%,
        transparent 70%
      ),
      radial-gradient(
        circle at 40% 40%,
        rgba(79, 70, 229, 0.1) 0%,
        transparent 70%
      );
  }

  /* Better spacing for mobile */
  .hero {
    padding: 100px 0 70px;
  }

  .services {
    padding: 70px 0;
  }

  .about {
    padding: 70px 0;
  }

  .contact {
    padding: 70px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero-container {
    padding: 0 20px;
    gap: 3rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  .services-grid {
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-content {
    gap: 3rem;
  }

  .contact-info {
    gap: 1.5rem;
  }

  /* Mobile header styles for dark background */
  .header {
    background: rgba(45, 55, 72, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .nav-logo {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-link:hover {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  }

  .emergency-btn {
    background: rgba(220, 38, 38, 0.8);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(220, 38, 38, 0.6);
  }

  .emergency-btn:hover {
    background: rgba(185, 28, 28, 0.9);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(45, 55, 72, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    border-radius: 0 0 20px 20px;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  /* Enhanced contrast for content sections on mobile */
  .section-header h2 {
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .section-header p {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  }

  .service-card {
    padding: 1rem;
  }

  .service-card h3 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .service-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .service-card ul {
    margin-top: 0.75rem;
  }

  .service-card li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

  /* Better button spacing on mobile */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .feature {
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
  }

  .about .container {
    max-width: 100%;
    padding: 0;
  }

  .about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 20px;
  }

  .about-header {
    order: 1;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .about-image {
    order: 2;
    text-align: center;
    margin: 0 0 0.5rem 0;
  }

  .about-details {
    order: 3;
    text-align: left !important;
  }

  .about-details p,
  .about-details .about-features,
  .about-details .about-feature {
    text-align: left !important;
  }

  .about-text {
    display: contents;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
    margin: 2rem 0 1.5rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 10% auto;
    width: 98%;
  }

  /* Enhanced form styles for dark mobile background */
  .contact-form,
  .modal-body form {
    background: rgba(45, 55, 72, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .form-group label {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(37, 99, 235, 0.6);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
  }

  .form-group input:not(:placeholder-shown),
  .form-group textarea:not(:placeholder-shown),
  .form-group select:not([value=""]) {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
  }

  .modal-content {
    margin: 10% auto;
    width: 98%;
  }

  .modal-header,
  .modal-body {
    padding: 1rem;
  }

  .contact-form h3 {
    font-size: 1.25rem;
  }
}

/* Specific iOS/iPhone fixes for background rendering */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari specific styles */
  body {
    background: #1e3a8a !important;
    background-image: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    background-attachment: scroll !important; /* Fixed attachment causes issues on iOS */
    -webkit-background-size: cover !important;
    background-size: cover !important;
    animation: none !important; /* Disable animation on iOS */
  }
  
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    z-index: -2;
    pointer-events: none;
  }
}

/* iPhone specific targeting */
@media only screen 
  and (device-width: 393px) 
  and (device-height: 852px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: portrait) {
  /* iPhone 14 Pro */
  body {
    background: #1e3a8a !important;
    background-image: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    -webkit-background-size: 100% 100% !important;
    background-size: 100% 100% !important;
    background-attachment: scroll !important;
    animation: none !important;
  }
}

@media only screen 
  and (device-width: 390px) 
  and (device-height: 844px) 
  and (-webkit-device-pixel-ratio: 3) {
  /* iPhone 12/13/14 */
  body {
    background: #1e3a8a !important;
    background-image: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    -webkit-background-size: 100% 100% !important;
    background-size: 100% 100% !important;
    background-attachment: scroll !important;
    animation: none !important;
  }
}

/* General iOS targeting */

@media screen and (-webkit-min-device-pixel-ratio: 2) {
  body {
    background: #1e3a8a !important;
    background-image: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    -webkit-background-size: 100% 100% !important;
    background-size: 100% 100% !important;
    background-attachment: scroll !important;
  }
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: transparent;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.12),
    rgba(37, 99, 235, 0.22)
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 20px;
  border-left: 4px solid rgba(59, 130, 246, 0.8);
  box-shadow:
    0 8px 32px rgba(30, 58, 138, 0.15),
    0 -4px 16px rgba(245, 158, 11, 0.08),
    inset 0 1px 0 rgba(147, 197, 253, 0.3),
    inset 0 -1px 0 rgba(29, 78, 216, 0.2),
    0 0 60px rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.22),
    rgba(37, 99, 235, 0.32)
  );
  box-shadow:
    0 15px 40px rgba(30, 58, 138, 0.25),
    0 -8px 24px rgba(245, 158, 11, 0.12),
    inset 0 1px 0 rgba(147, 197, 253, 0.4),
    inset 0 -1px 0 rgba(29, 78, 216, 0.3),
    0 0 80px rgba(59, 130, 246, 0.2);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.8),
    rgba(59, 130, 246, 0.8)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 8px 32px rgba(30, 58, 138, 0.3),
    inset 0 1px 0 rgba(147, 197, 253, 0.3);
}

.contact-icon i {
  color: white;
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.contact-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-details small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-form {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.15),
    rgba(37, 99, 235, 0.25)
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 197, 253, 0.35);
  padding: 2rem;
  border-radius: 24px;
  box-shadow:
    0 8px 32px rgba(30, 58, 138, 0.15),
    0 -4px 16px rgba(245, 158, 11, 0.08),
    inset 0 1px 0 rgba(147, 197, 253, 0.3),
    inset 0 -1px 0 rgba(29, 78, 216, 0.2),
    inset 1px 0 0 rgba(147, 197, 253, 0.15),
    inset -1px 0 0 rgba(29, 78, 216, 0.15),
    0 0 60px rgba(59, 130, 246, 0.1);
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.98);
  margin-bottom: 1.25rem;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: text;
  transition: all 0.3s ease;
  background: rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.95);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  font-weight: 400;
  cursor: text;
  transition: all 0.3s ease;
  background: rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.9);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(59, 130, 246, 0.25);
  color: rgba(255, 255, 255, 0.98);
  font-weight: 500;
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.2),
    0 8px 32px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(147, 197, 253, 0.3),
    inset 0 -1px 0 rgba(29, 78, 216, 0.2);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #eab308;
  flex-shrink: 0;
}

.checkbox-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

/* Footer */
.footer {
  background: linear-gradient(
    145deg,
    rgba(59, 130, 246, 0.2),
    rgba(37, 99, 235, 0.3)
  );
  backdrop-filter: blur(25px);
  border-top: 1px solid rgba(147, 197, 253, 0.3);
  padding: 3rem 0 1.5rem;
  box-shadow:
    0 -8px 32px rgba(30, 58, 138, 0.3),
    inset 0 1px 0 rgba(147, 197, 253, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-logo {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  gap: 1.5rem;
}

.footer-logo .logo-icon {
  height: 3.5rem;
  width: auto;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.footer-logo .logo-text {
  filter: brightness(0) invert(1);
}

.footer-logo .logo-oleksander {
  height: 1.6rem;
  width: auto;
}

.footer-logo .logo-services {
  height: 1.4rem;
  width: auto;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(147, 197, 253, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* About Features */
.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  flex-shrink: 0;
  margin: 0; /* Remove margin for precise bottom alignment */
  align-items: stretch; /* Ensure all features have same height */
}

.about-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.75rem 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  min-height: 60px; /* Slightly taller for better proportion */
  text-align: center;
  font-size: 0.85rem;
  box-shadow:
    0 4px 16px rgba(30, 58, 138, 0.1),
    inset 0 1px 0 rgba(147, 197, 253, 0.2);
}

.about-feature:hover {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(30, 58, 138, 0.15),
    inset 0 1px 0 rgba(147, 197, 253, 0.3);
}

.about-feature i {
  color: #eab308;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.8rem;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 768px) {
  .about-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .about-feature {
    max-width: none;
    padding: 0.5rem 0.75rem;
  }

  .about-header h2 {
    font-size: 1.8rem;
  }
}

/* Hover effects for SVG logos */
.nav-logo:hover .logo-icon,
.nav-logo:hover .logo-text {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
  transform: none; /* Prevent any movement on hover */
}

/* Electric animation for logo icon */
.nav-logo.rainbow-active .logo-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 12px #fbbf24);
  animation: electric-glow 2s ease-in-out infinite alternate;
}

@keyframes electric-glow {
  0% {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px #3b82f6);
  }
  25% {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px #eab308);
  }
  50% {
    filter: brightness(0) invert(1) drop-shadow(0 0 16px #fbbf24);
  }
  75% {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px #ef4444);
  }
  100% {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px #8b5cf6);
  }
}

/* Responsive styles for SVG logos */
@media (max-width: 768px) {
  .nav-logo .logo-icon {
    height: 2.5rem;
  }

  .nav-logo .logo-oleksander {
    height: 1.2rem;
  }

  .nav-logo .logo-services {
    height: 1rem;
  }

  .footer-logo .logo-icon {
    height: 2.5rem;
  }

  .footer-logo .logo-oleksander {
    height: 1.2rem;
  }

  .footer-logo .logo-services {
    height: 1rem;
  }

  .logo-text-container {
    gap: 0.125rem;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    gap: 0.75rem;
  }

  .nav-logo .logo-icon {
    height: 2rem;
  }

  .nav-logo .logo-oleksander {
    height: 1rem;
  }

  .nav-logo .logo-services {
    height: 0.875rem;
  }

  .logo-text-container {
    gap: 0.1rem;
  }
}

/* Service-specific icon colors */
.service-card:nth-child(1) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.8),
    rgba(37, 99, 235, 0.8)
  );
  box-shadow:
    0 8px 32px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(1) .service-icon i {
  color: white; /* Белая иконка для Refrigerator */
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.9),
    rgba(241, 245, 249, 0.9)
  );
  box-shadow:
    0 8px 32px rgba(148, 163, 184, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(2) .service-icon i {
  color: #000000; /* Черная иконка для Washer & Dryer */
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(240, 240, 240, 0.15)
  );
  box-shadow:
    0 8px 32px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-card:nth-child(3) .service-icon i {
  color: #c0c0c0; /* Серебристая иконка для Dishwasher */
  text-shadow:
    0 0 0 2px rgba(192, 192, 192, 0.3),
    0 0 10px rgba(192, 192, 192, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.service-card:nth-child(4) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.8),
    rgba(220, 38, 38, 0.8)
  );
  box-shadow:
    0 8px 32px rgba(239, 68, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(4) .service-icon i {
  color: white; /* Белая иконка для Oven & Stove */
}

.service-card:nth-child(5) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.8),
    rgba(22, 163, 74, 0.8)
  );
  box-shadow:
    0 8px 32px rgba(34, 197, 94, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(5) .service-icon i {
  color: white; /* Белая иконка для Microwave */
}

.service-card:nth-child(6) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(87, 13, 13, 0.9),
    rgba(127, 29, 29, 0.9)
  );
  box-shadow:
    0 8px 32px rgba(87, 13, 13, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(6) .service-icon i {
  color: white; /* Белая иконка для Wine Cooler */
}
@media (min-width: 769px) {
  .about-parallax-image {
    height: 18em !important;
    width: 18em !important;
  }
}

@media (max-width: 600px) {
  .about-parallax-image {
    height: 12em !important;
    width: 12em !important;
  }
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease-out;
  transition: all 0.3s ease;
}

.notification::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.notification-success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.95));
  color: white;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.notification-success::before {
  background: white;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E") center/12px no-repeat;
}

.notification-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
  color: white;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.notification-error::before {
  background: white;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 18L18 6M6 6l12 12'%3E%3C/path%3E%3C/svg%3E") center/12px no-repeat;
}

.notification-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
  color: white;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.notification-info::before {
  background: white;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z'%3E%3C/path%3E%3C/svg%3E") center/12px no-repeat;
}

.notification-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
  color: white;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.notification-warning::before {
  background: white;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.34 16.5c-.77.833.192 2.5 1.732 2.5z'%3E%3C/path%3E%3C/svg%3E") center/12px no-repeat;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification.fade-out {
  animation: slideOutRight 0.3s ease-in forwards;
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    font-size: 14px;
  }
}

/* Specific contact icon colors */
/* Call Us - Green background */
.contact-item:nth-child(1) .contact-icon {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.8),
    rgba(22, 163, 74, 0.8)
  ) !important;
  border: 1px solid rgba(134, 239, 172, 0.3) !important;
  box-shadow:
    0 8px 32px rgba(34, 197, 94, 0.3),
    inset 0 1px 0 rgba(134, 239, 172, 0.3) !important;
}

/* Email Us - Cyan background like iPhone mail icon */
.contact-item:nth-child(2) .contact-icon {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.8),
    rgba(8, 145, 178, 0.8)
  ) !important;
  border: 1px solid rgba(103, 232, 249, 0.3) !important;
  box-shadow:
    0 8px 32px rgba(6, 182, 212, 0.3),
    inset 0 1px 0 rgba(103, 232, 249, 0.3) !important;
}

/* Service Area - White background with black icon */
.contact-item:nth-child(3) .contact-icon {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 250, 252, 0.95)
  ) !important;
  border: 1px solid rgba(203, 213, 225, 0.5) !important;
  box-shadow:
    0 8px 32px rgba(148, 163, 184, 0.3),
    inset 0 1px 0 rgba(241, 245, 249, 0.8) !important;
}

.contact-item:nth-child(3) .contact-icon i {
  color: #1f2937 !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

/* Business Hours - Leather brown background */
.contact-item:nth-child(4) .contact-icon {
  background: linear-gradient(
    135deg,
    rgba(120, 53, 15, 0.8),
    rgba(92, 40, 11, 0.8)
  ) !important;
  border: 1px solid rgba(180, 83, 9, 0.3) !important;
  box-shadow:
    0 8px 32px rgba(120, 53, 15, 0.3),
    inset 0 1px 0 rgba(180, 83, 9, 0.3) !important;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.8),
    rgba(59, 130, 246, 0.8)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 8px 32px rgba(30, 58, 138, 0.3),
    inset 0 1px 0 rgba(147, 197, 253, 0.3);
}

.contact-icon i {
  color: white;
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}