:root {
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --soft-shadow: 0 10px 40px -10px rgba(0, 78, 146, 0.1);
  --brand-glow: 0 0 20px rgba(0, 198, 255, 0.4);
  --ege-primary: #0072ff;
  --ege-secondary: #00c6ff;
  --ege-accent: #001f3f;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--ege-primary);
  color: white;
}

.custom-scrollbar::-webkit-scrollbar,
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track,
::-webkit-scrollbar-track {
  background: #f0f9ff;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ege-secondary), var(--ege-primary));
  border-radius: 10px;
  border: 2px solid #f0f9ff;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--soft-shadow);
}

.service-card-pro {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 198, 255, 0.1);
}

.service-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.6s;
  z-index: 10;
}

.service-card-pro:hover::before {
  left: 100%;
}

.service-card-pro:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 114, 255, 0.25);
  border-color: var(--ege-secondary);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.animate-wave {
  animation: wave 4s ease-in-out infinite;
}

@keyframes waterPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(0, 198, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 198, 255, 0); }
}

.btn-pulse {
  animation: waterPulse 2s infinite;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ege-primary) 0%, var(--ege-secondary) 100%);
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
  transform: scale(1);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(0, 114, 255, 0.5);
  transform: translateY(-2px);
}

input, textarea, select {
  border: 1px solid #e0f2fe !important;
  background-color: #f0f9ff !important;
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  background-color: #ffffff !important;
  border-color: var(--ege-primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.1) !important;
  outline: none;
}

.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1h2v2H1V1zm4 0h2v2H5V1zm4 0h2v2H9V1zm4 0h2v2h-2V1zm4 0h2v2h-2V1zM1 5h2v2H1V5zm4 0h2v2H5V5zm4 0h2v2H9V5zm4 0h2v2h-2V5zm4 0h2v2h-2V5zM1 9h2v2H1V9zm4 0h2v2H5V9zm4 0h2v2H9V9zm4 0h2v2h-2V9zm4 0h2v2h-2V9zM1 13h2v2H1v-2zm4 0h2v2H5v-2zm4 0h2v2H9v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2z' fill='%230072ff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.gradient-text {
  background: linear-gradient(135deg, var(--ege-primary), var(--ege-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#mobileMenu {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

details[open] summary ~ * {
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.whatsapp-float {
  animation: float 3s ease-in-out infinite;
  z-index: 1000;
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.1);
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out;
}
@media (min-width: 1024px) {
  .lg\:sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}