:root {
  --primary-color: #8B0000;
  --secondary-color: #1A2526;
  --accent-color: #ffffff;
  --text-color: #333333;
  --light-bg: #F8F9FA;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-bg);
}

.navbar {
  background: linear-gradient(to right, #8B0000, #2f2f2f);
  top: 0;
  z-index: 1000;
  transition: background-color 0.5s ease;
}
.navbar.scrolled {
  background: #fff;
}
.navbar-brand, .nav-link {
  color: #fff;
  font-weight: 700;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #fff;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}


.hero-slide {
  height: 100vh;
  min-height: 150px;
  position:fixed;
}



.animated-icon {
  animation: iconBounceElegant 2.5s infinite ease-in-out;
  display: inline-block;
  transition: transform 0.3s ease;
}




.btn-primary {
  background: linear-gradient(to right, #8B0000, #2f2f2f);
  border-color: #8B0000;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 15px;
}

.btn-primary:hover {
  background-color: #6B0000;
  border-color: #6B0000;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.section-title {
  font-size: 2.0rem;
  font-weight: 700;
  color: #8B0000;
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 6px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-left-width: 8px;
  cursor: pointer;
}

.service-card i {
  color: var(--primary-color);
  transition: transform 0.4s ease, color 0.4s ease;
  will-change: transform;
}

.service-card:hover i {
  transform: scale(1.15) translateY(-3px);
  color: #B22222; /* tono un poco más claro que el primario para darle contraste en hover */
}

.client-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

footer {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--accent-color);
  padding: 4rem 0;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #FFC107;
}

footer .social-icons a {
  font-size: 1.8rem;
  margin: 0 0.8rem;
  transition: transform 0.3s ease;
}

footer .social-icons a:hover {
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}



@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .navbar-nav {
    text-align: center;
  }

  .nav-link {
    padding: 0.8rem 0;
  }
}