@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #2E2E2E;
  background-color: #ffffff;
}

header {
    background-color: #00B3B1;
    padding: 10px 20px;
    text-align: center;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  

nav {
  margin-top: 10px;
}

nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffe;
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  font-size: 2em;
  color: #00B3B1;
  text-align: center;
  margin-bottom: 30px;
}

h3 {
  margin-top: 10px;
  color: #2E2E2E;
}

.inicio {
  background-color: #E5F9F9;
  text-align: center;
}

.inicio h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.boton-turno {
  background-color: #00B3B1;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.boton-turno:hover {
  background-color: #019190;
}

.equipo, .servicios {
  background-color: #F9F9F9;
  border-radius: 10px;
  padding: 40px 20px;
}

.doctor {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

ul li {
  background: #00B3B1;
  color: white;
  margin: 10px 0;
  padding: 12px 20px;
  border-radius: 5px;
}

#contacto a {
  color: #00B3B1;
  font-weight: 500;
  text-decoration: none;
}

#contacto a:hover {
  text-decoration: underline;
}

footer {
  background-color: #00B3B1;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}
.doctor img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top; /* 👈 enfoca más arriba */
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.2s ease;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
  }
  
  .whatsapp-float img {
    display: block;
    width: 30px;
    height: 30px;
  }
  section {
    scroll-margin-top: 80px; /* ajusta el valor según el alto de tu header */
  }
  