/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  border-bottom: 2px solid #e9ecef;
}

.navbar-brand img {
  border: 2px solid #fff;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: capitalize;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar-nav .nav-link:hover {
  color: #0d6efd;
}

/* Sección Hero */
.hero-section {
  background: url('../Imagenes/img_facturas1.png') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Animaciones Hero */
.animate-title, .animate-subtitle {
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.animate-title {
  font-size: 2.5rem;
  font-weight: bold;
  animation-delay: 0.3s;
}

.animate-subtitle {
  font-size: 1.2rem;
  margin-top: 10px;
  animation-delay: 0.6s;
}

/* Sección Beneficios */
.benefits-section {
  padding: 60px 0;
}

.cards-section .card {
  border-radius: 15px;
  transition: transform 0.5s;
  background-color: #123460 !important;
  color: white;
}

.cards-section .card:hover {
  transform: scale(1.05);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Footer */
footer {
  background-color: #343a40;
  color: #fff;
}

a {
  text-decoration: none;
}

.bg-primary {
  background-color: #123460 !important;
}

.text-primary {
  color: #000080 !important;
}

/* margen extra para las cartas */
.custom-card {
  margin-bottom: 20px; /* Ajusta el valor según sea necesario */
  padding: 15px;
}

.row.g-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.col-md-4 {
  flex: 0 0 calc(33.333% - 20px); /* Ajusta el valor según sea necesario */
  margin-bottom: 20px;
}

/* Botón de WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 40px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

.whatsapp-float a {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
}