body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    color: #333;
    scroll-behavior: smooth;
}

h1, h2 {
    color: rgb(89, 238, 195);
    font-weight: 600;
    
}


.navbar .nav-link {
    color: #ffffff !important;  /* Blanco puro */
    opacity: 1 !important;      /* Sin transparencia */
}

/* Efecto al pasar el mouse */
.navbar .nav-link:hover {
    color: #c5e8ff !important;  /* Amarillo */
    opacity: 1 !important;
}

/* Más grande en celulares */
@media (max-width: 768px) {
    .navbar.navbar-dark .nav-link {
        font-size: 1.2rem !important;
    }
}

.card-especialidad {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  margin: 20px auto;
  cursor: pointer;
  transition: transform 0.3s;
}

.card-especialidad:hover {
  transform: scale(1.02);
}

.card-especialidad img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-especialidad h3 {
  text-align: center;
  margin: 15px 0;
  color: #19b6eb;
  font-size: 1.3rem;
}

.card-detalle {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0 20px;
  text-align: justify;
}

.card-especialidad.expandida .card-detalle {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 20px;
}

footer {
    width: 100%;
    background-color: rgb(25, 182, 235);
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}

footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;
}

footer .footer-section {
    flex: 1 1 200px;
    max-width: 300px;
}

footer .footer-section h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

footer .footer-section p {
    margin: 5px 0;
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    font-size: 0.9rem;
}
