body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f7f9fc;
  color: #333;
}

header {
  background-color: #1b7f79;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.profile-img {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

nav {
  position: sticky;
  top: 0;
  background-color: #155e58;
  padding: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  background-color: #1b7f79;
  transform: scale(1.1);
}

nav a.casilla {
  color: #d6f1f0;
}

.container {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  color: #1b7f79;
  transition: color 0.3s ease;
}

h2:hover {
  color: #155e58;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service {
  flex: 1 1 300px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  background-color: #f1f1f1;
}

.service img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.service img:hover {
  transform: scale(1.05);
}

.service h3 {
  margin-top: 15px;
  text-align: center;
  transition: color 0.3s ease;
}

.service h3:hover {
  color: #1b7f79;
}

.service p {
  text-align: center;
  margin-top: 10px;
}

.domicilio {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-top: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domicilio:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

footer {
  background-color: #1b7f79;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
}

.social-icons a {
  color: #000;
  margin: 0 10px;
  text-decoration: none;
  font-size: 1.5em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #1b7f79;
  transform: scale(1.2);
}

@media(max-width: 600px) {
  .services {
    flex-direction: column;
  }

  .profile-img {
    width: 90px;
    height: 90px;
  }

  nav {
    flex-wrap: wrap;
  }

  nav a {
    margin: 10px 0;
  }
}

/* Aumentar tamaño de la imagen en el banner (un 30%) */
.banner-content img.profile-img {
  width: 202px; /* 30% más grande */
  height: 202px; /* 30% más grande */
}

/* Aumentar tamaño del texto en el banner */
.banner-content h1 {
  font-size: 3em; /* Aumenta el tamaño de la fuente */
}

.banner-content p {
  font-size: 1.2em; /* Aumenta el tamaño de la fuente */
}

/* Efecto de rebote para el texto "Tu bienestar en movimiento" */
.banner-content p {
  font-size: 1.5em;
  animation: bounceIn 2s ease-out;
}

/* Definir animación de rebote */
@keyframes bounceIn {
  0% {
    transform: translateY(-50%);
    opacity: 0;
  }
  60% {
    transform: translateY(10%);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* WhatsApp Floating Button - Ajustado */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.whatsapp-button img {
  width: 75px; /* Tamaño ajustado */
  height: 75px; /* Tamaño ajustado */
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.whatsapp-button img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

