/* Estilo del logo y la barra de navegación */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 10px 30px;
}

.logo-img {
  height: 50px;
  margin-right: 20px;
}

.navbar-toggler {
  margin-left: auto;
  margin-right: 20px;
  /* Ajusta esta propiedad para controlar la distancia al logo */
}

.navbar-nav .nav-link {
  color: #443e32;
  font-weight: bold;
  margin-right: 15px;
}

.navbar-nav .nav-link:hover {
  color: #a5a503;
}

.form-inline .form-control {
  width: 150px;
}

.form-inline .btn-outline-success {
  color: #443e32;
  border-color: #443e32;
}

.form-inline .btn-outline-success:hover {
  background-color: #fbc800;
  color: #0f0303;
  border-color: #2b9f3a;
}

@media (max-width: 576px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
  }

  .form-inline {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
}



.blog-section {
  background-color: #f0f8e0;
  padding: 40px 0;
}

.blog-title {
  font-size: 28px;
  color: #d11d8c;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
}

.blog-subtitle {
  font-size: 18px;
  color: #333;
}

.card-text {
  font-size: 14px;
  line-height: 1.4;
}

.blog-card {
  border: none;
  margin: 15px 0;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .blog-title {
    font-size: 24px;
    /* Reducir el tamaño del título en pantallas pequeñas */
  }

  .blog-subtitle {
    font-size: 16px;
    /* Reducir el subtítulo */
  }

  .card-title {
    font-size: 14px;
    /* Ajustar el tamaño del título en las tarjetas */
  }

  .card-text {
    font-size: 12px;
    /* Reducir el tamaño del texto en las tarjetas */
  }
}

/**/
.blog-card,
.health-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  /* Estira las tarjetas al mismo tamaño */
  height: 100%;
  /* Asegura que ocupen el mismo alto */
  min-height: 400px;
  /* Ajusta según tus necesidades */
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card {
  height: 600;
  /* Ajusta la altura para reducir el espacio */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Asegura que los elementos se distribuyan correctamente */
  align-items: stretch;
  /* Estira el contenido para ocupar el ancho */
  text-align: center;
  padding: 10px;
  /* Reduce el padding interno de las tarjetas */
  margin: 0 10px;
  /* Espacio entre tarjetas */
  background-color: #ffffff;
  /* Fondo blanco */
  border-radius: 8px;
  /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Sombra para mejor diseño */
}

.card-img-top {
  width: 100%;
  height: 150px;
  /* Reduce la altura de la imagen */
  object-fit: cover;
  /* Ajusta la imagen al espacio */
  border-radius: 8px 8px 0 0;
  /* Esquinas superiores redondeadas */
}

.col-md-4 {
  margin-bottom: 30px;
  /* Ajusta el espaciado entre filas */
}

.card-text {
  line-height: 1.6;
  /* Aumenta ligeramente el interlineado para mejorar la legibilidad */
}

@media (max-width: 768px) {
  .card-text {
    line-height: 1.4;
    /* Reduce ligeramente el interlineado en pantallas más pequeñas */
  }
}

.card-body {
  flex: 1;
  padding: 10px;
  /* Reduce el espacio interno */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Espaciado uniforme entre título y texto */
}

.card-title {
  font-size: 16px;
  /* Ajusta el tamaño del título */
  font-weight: bold;
  color: #d11d8c;
  margin-bottom: 5px;
  /* Reduce el espacio inferior */
}

.card-text {
  font-size: 14px;
  /* Tamaño del texto */
  color: #333;
  line-height: 1.4;
  /* Mejora la legibilidad */
  overflow: hidden;
  /* Oculta el contenido sobrante */
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  margin-bottom: 0;
  /* Elimina el margen inferior */
}


.blog-card .card-img-top {
  border-radius: 10px;
}

.blog-card .card-title {
  font-size: 20px;
  color: #d11d8c;
}

.blog-card .card-text {
  font-size: 16px;
  color: #333;
}

.card-img-top {
  width: 100%;
  height: 200px;
  /* Define una altura fija, ajusta según tus necesidades */
  object-fit: cover;
  /* Ajusta la imagen para que se recorte y mantenga proporciones */
}

/*esto blog abajo */

.health-benefits-section {
  background-color: #ebebeb;
  padding: 50px 0;
}

.health-benefits-title {
  font-size: 28px;
  color: #d11d8c;
  font-weight: bold;
  margin-bottom: 20px;
}

.health-benefits-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.health-card {
  border: none;
  transition: transform 0.3s ease;
}

.health-card:hover {
  transform: translateY(-5px);
}

.health-card .card-img-top {
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
}

.health-card .card-title {
  font-size: 20px;
  color: #d11d8c;
}

.health-card .card-text {
  font-size: 16px;
  color: #333;
}

@media (max-width: 768px) {
  .health-benefits-title {
    font-size: 24px;
  }

  .health-benefits-subtitle {
    font-size: 14px;
  }

  .health-card .card-title {
    font-size: 18px;
  }

  .health-card .card-text {
    font-size: 14px;
  }
}




/* Estilo general del pie de página */
.footer {
  background-color: #443e32;
  /* Fondo azul oscuro */
  color: #ffffff;
  padding: 40px 0;
  position: relative;
}

.footer h4 {
  color: #ffffff;
  /* Títulos en dorado */
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffd700;
  /* Color dorado en hover */
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.social-icons a {
  color: #ffffff;
  font-size: 1.2rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #3b5998;
  /* Fondo Facebook */
  transition: background-color 0.3s ease;
}

.social-icons a:nth-child(2) {
  background-color: #e70ba5e1;
  /* Fondo LinkedIn */
}

.social-icons a:nth-child(3) {
  background-color: #000000;
  /* Fondo YouTube */
}

.social-icons a:hover {
  background-color: #ffd700;
  color: #003366;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #ffffff;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
}

/* Ícono flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1caa5c;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer h4 {
    font-size: 1rem;
  }

  .footer-links li {
    font-size: 0.9rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}