.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.4s ease-out forwards;
}

.animate-scale {
  opacity: 0;
  animation: scaleIn 0.2s ease-out forwards;
}

html {
  scroll-behavior: smooth;
}

.dark {
  color-scheme: dark;
}

.dark body {
  background-color: #171717;
  color: #ffffff;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.navL {
  display: flex;
  align-items: center;
  column-gap: 0.4rem;
  font-weight: 700;
  will-change: opacity;
}

.navL-img {
  width: 1.25rem;
}

.nosotros {
  font-size: 900;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-card {
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.navL,
.hover\:text-orange-400 {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #fb923c;
}

.mobile-menu-transition {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.mobile-menu-transition.active {
  max-height: 1000px;
  opacity: 1;
}

/* Stagger the fade-in animation for navbar items */
.navL {
  animation-delay: 0.1s;
}

.hover\:text-orange-400:nth-child(1) {
  animation-delay: 0.3s;
}

.hover\:text-orange-400:nth-child(2) {
  animation-delay: 0.4s;
}

.hover\:text-orange-400:nth-child(3) {
  animation-delay: 0.5s;
}

.bg-orange-500 {
  transition: all 0.3s ease;
}

.bg-orange-500:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.blur-behind {
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .mobile-menu {
    display: none;
  }
  .mobile-menu.active {
    display: block;
  }
  .navL-img {
    width: 30px;
    height: 30px;
  }
}

/* Custom animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slidefade {
  from {
    opacity: 0;
    transform: translateX(-30px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.animate-slidefade {
  animation: slidefade 1s ease-out forwards;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.lang-btn {
  padding: 4px;
  border-radius: 6px;
  transition: transform 0.2s ease;
}
.lang-btn:hover {
  transform: scale(1.1);
}

.lang-btn img {
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
