/* Estilos personalizados */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
}

/* Animaciones suaves */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Estilos para las tarjetas de servicios */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Estilos para los botones */
.btn-primary {
  transition: background-color 0.3s ease, transform 0.2s ease;
  background-color: #2c2c2c;
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background-color: #404040;
}

/* Estilos para la navegación */
.nav-link {
  position: relative;
  color: #2c2c2c;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #2c2c2c;
  transition: width 0.3s ease;
}

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

/* Estilos para las secciones */
section {
  position: relative;
  overflow: hidden;
}

/* Estilos para los iconos */
.service-icon {
  transition: transform 0.3s ease;
  color: #2c2c2c;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* Estilos para el hero section */
.hero-section {
  position: relative;
  background-color: #2c2c2c;
  color: #ffffff;
  min-height: 100vh;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 44, 44, 0.85);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  padding-top: 5rem;
}

/* Estilos para las tarjetas de equipo */
.team-card {
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

/* Estilos para el footer */
footer {
  background-color: #2c2c2c;
  color: #ffffff;
}

/* Estilos para la sección de misión */
#mision .bg-white {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#mision .bg-white:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Estilos para la sección de valores */
#valores .bg-white {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#valores .bg-white:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#valores .text-indigo-600 {
  color: #2c2c2c;
  transition: transform 0.3s ease;
}

#valores .bg-white:hover .text-indigo-600 {
  transform: scale(1.1);
}

/* Estilos para la sección de productos */
#productos .bg-white {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#productos .bg-white:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#productos .fa-robot {
  color: #2c2c2c;
  animation: float 3s ease-in-out infinite;
}

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

/* Estilos para las listas de características */
#productos ul li {
  transition: transform 0.3s ease;
}

#productos ul li:hover {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-link::after {
    display: none;
  }

  #productos .fa-robot {
    animation: none;
  }

  .hero-content {
    text-align: center;
  }
}

/* Navbar */
nav {
  background-color: white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

nav img {
  transition: transform 0.3s ease;
}

nav img:hover {
  transform: scale(1.05);
}

nav a {
  color: #1a1a1a !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #404040 !important;
}
