/* Estilos personalizados para la sección de servicios */
.service-card {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Smooth scrolling para toda la página */
html {
  scroll-behavior: smooth;
}

/* Animación adicional para navegación */
.scrolly {
  transition: all 0.3s ease;
}

.scrolly:hover {
  transform: translateY(-2px);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
  width: 120px;
  height: 120px;
  background: #2d3748;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-icon i {
  color: white;
  font-size: 36px;
  z-index: 2;
}

.service-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 6px;
  border-radius: 3px;
  z-index: 1;
}

/* Líneas de colores específicas para cada servicio */
.service-innovation::after {
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.service-team::after {
  background: linear-gradient(90deg, #f093fb, #f5576c);
}

.service-results::after {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.service-delivery::after {
  background: linear-gradient(90deg, #fa709a, #fee140);
}

.service-support::after {
  background: linear-gradient(90deg, #a8edea, #fed6e3);
}

.service-security::after {
  background: linear-gradient(90deg, #ff9a9e, #fecfef);
}

.service-title {
  color: #2d3748;
  font-weight: 500;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.service-description {
  color: #718096;
  font-size: 0.9em;
  line-height: 1.5;
}

#four {
  background-color: #f8f9fa !important;
  padding: 80px 0 !important;
}

#four .major h2 {
  color: #333 !important;
  font-weight: 300 !important;
  margin-bottom: 20px !important;
}

/* CSS para desplazamiento suave y animaciones */
html {
  scroll-behavior: smooth;
}

/* Efectos hover para los enlaces de navegación */
.scrolly {
  transition: all 0.3s ease;
  position: relative;
}

.scrolly:hover {
  transform: translateY(-2px);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.scrolly::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #004d7a, #008fb3);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.scrolly:hover::after {
  width: 100%;
}

/* Animación para botones con clase button */
.button {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 77, 122, 0.3);
}

.button::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.6s ease;
}

.button:hover::before {
  left: 100%;
}
