/* Importar tipografía */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* Estilos generales */
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  color: #1f2937; /* Gris oscuro */
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  font-weight: 500;
}




/* Hero section */
.hero-gradient {
  background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 50%, #ffffff 100%);
  padding: 4rem 0;
}

/* Sección divisora */
.section-divider {
  background: linear-gradient(90deg, transparent, #4ade80, transparent);
  height: 3px;
  width: 120px;
  margin: 2rem auto;
  border-radius: 2px;
}

/* Cards */
.card-hover {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 24px -6px rgba(0, 0, 0, 0.1),
              0 8px 10px -4px rgba(0, 0, 0, 0.04);
}

/* Footer */
footer {
  background: #ffffff;
  color: #1f2937;
  font-size: 0.9rem;
}

/* Logo circular */
.logo-circle {
  background: radial-gradient(circle at 30% 30%, #4ade80, #22c55e); /* Verde degradado */
  color: #ffffff; /* Letras blancas */
  font-weight: 800;
  font-size: 1.4rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* Fondo circular */
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.logo-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* ==== NAVBAR MENÚ PILL ==== */
.navbar-nav .nav-link {
  font-weight: 600;
  color: #1f2937; /* Gris oscuro */
  margin-left: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 50px; /* forma pill */
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.navbar-nav .nav-link:hover {
  background: #4ade80; /* Verde claro */
  color: #ffffff;
  border: 2px solid #22c55e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #ffffff;
  border: 2px solid #22c55e;
  border-radius: 50px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Opcional: asegurar que no se herede otro color */
.navbar-nav .nav-link.active:link,
.navbar-nav .nav-link.active:visited {
  color: #ffffff;
}

.card-body img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.card-body img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}
