
*{
    font-family: 'monserrat', sans-serif; 
}

/* Estilos para el efecto de desplazamiento suave */
html {
  scroll-behavior: smooth; /* Habilita el desplazamiento suave */
  scroll-timeline: 10s; /* Duración del desplazamiento: 1 segundo */
}

/*estilo para primer segmento*/
#onesegment1 {
margin: 10px;
padding: 5px;
font-size: 105%;
text-align:right;
text-decoration: none;
color: #49545f;
}

/*estilo para primer segmento*/
#onesegment2 {
    margin: 10px;
    padding: 5px;
    font-size: 100%;
    text-align:right;
    text-decoration: none;
    color: #49545f;
    }

    /*modificaciones para icono empresarial*/
    #logoempresarial img {
      max-width: 90px; /* Establece el ancho máximo en 100 píxeles */
      height: auto; /* Ajusta automáticamente la altura para mantener la proporción original */
      padding-top : 10px;
      padding-left: 15px;
      border-radius: 5%;
      z-index: 2;
      position: relative;
  }


/* Estilo para los elementos del menú */
header nav ul li {
    display: inline; /* Mostrar elementos del menú en línea (horizontal) */
    margin-right: 20px; /* Espaciado entre elementos del menú */    
}

#ajustemail{
margin-top: 18px;
}

/* para main*/

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 5 columnas */
  gap: 0; /* Espaciado entre imágenes */
  margin-top: 20px; /* Espacio superior */
}
.grid-item {
  position: relative;
  overflow: hidden; /* Asegura que la imagen no se desborde */
  height: 200px; /* Altura fija para cada imagen */
}
.grid-item img {
  width: 100%; /* Las imágenes ocupan el 100% del ancho del contenedor */
  height: 100%; /* Las imágenes ocupan el 100% de la altura del contenedor */
  object-fit: cover; /* Mantiene la relación de aspecto y cubre el contenedor */
}

/* Animación de parpadeo alternado */
@keyframes blink1 {
  0%, 100% {
      opacity: 1; /* Totalmente visible */
  }
  50% {
      opacity: 0.5; /* Semi-transparente */
  }
}
@keyframes blink2 {
  0%, 100% {
      opacity: 1; /* Totalmente visible */
  }
  50% {
      opacity: 0.5; /* Semi-transparente */
  }
}

/* Aplicar animaciones a las imágenes */
.img1, .img3, .img5, .img7, .img9 {
  animation: blink1 2s infinite; /* Animación de parpadeo para imágenes impares */
}
.img2, .img4, .img6, .img8, .img10 {
  animation: blink2 2s infinite; /* Animación de parpadeo para imágenes pares */
  animation-delay: 1s; /* Retraso para alternar */
}

.grid-item:hover img {
  background-color: white; /* Cambiar a fondo blanco al hacer hover */
  opacity: 0.9; /* Opacidad de la imagen al hacer hover */
}

#imagengrupo {

 width: 115%; /* Las imágenes ocupan el 100% del ancho del contenedor */
  height: 100%; /* Las imágenes ocupan el 100% de la altura del contenedor */


}






























/*mejoras del menu principal*/
#menuPrincipal{
  background-color: #84adea;
  padding: 10px;
  margin: -10px;
  font-size: 23px;
  z-index: 1; /* Establece un valor de z-index menor que el de la imagen */

}

#lema{
  font-size: 18px;
  margin: -5px;
  }

  .nav-item {
  margin-top: 20px;}


/* Estilo para los enlaces del menú */
header nav ul li a {
    text-decoration: none; /* Eliminar subrayado de enlaces */
    color: #000; /* Color del texto del menú */
    font-family: 'Gadugi', sans-serif; /* Fuente Gadugi */
    
}

section #cajaflotante{
    
    padding: 1px;
    font-family: 'Gadugi', sans-serif; /* Fuente Gadugi */
    color: white;
    text-align: center;
    opacity: 80%;
    align-items: center;
    z-index: 2;
    
}

#textcajaflotante{
 position: absolute;
 top: 100px;
left: 40px;
background:#535c63;

}

#carouselcss{
  margin-top: 0px;
  z-index: index -1;
  max-width: 100%;
  height: auto;
}


/* Estilos personalizados cards */

nav{
margin-top: 60px;
margin-bottom: 60px;

}


.item {
margin: 10px;
}


.imagine {
  position: relative;
  overflow: hidden;
  width: 100%;

}

.imagine img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}

.imagine .description {
  position: absolute;
  bottom: 0; /* Coloca el texto desde abajo */
  left: 0;
  width: 100%; /* Ocupa todo el ancho de la imagen */
  background-color: rgba(89, 146, 227, 0.8);
  padding: 10px;
  text-align: center; /* Centra el texto horizontalmente */
  opacity: 0;
  transition: opacity 0.3s;
}

.title {
  font-size: 18px; /* Cambia el tamaño de la fuente del nombre del especialista */
  font-weight: bold; /* Hace que el nombre sea negrita */
  text-align: center;
}

.imagine .description p {
  font-size: 14px;
  color: #fff;
  margin-top: 100%; /* Ajusta el margen superior */
  margin-bottom: 50px;
  
}

.imagine .new-btn-d.br-2 {
  background-color: #fff;
  color: #000;
  text-decoration: none;
  display: inline-block;
  padding: 5px 20px;
  border-radius: 5px;
}

.imagine .new-btn-d.br-2:hover {
  background-color: #49545f;
  color: #fff;
}

.imagine:hover img {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0);
}

.imagine:hover .description {
  opacity: 1;
  transform: translateY(-6%); /* Mueve el texto hacia arriba */
  transition: transform 1s; /* Agrega una transición suave */
   
}

.redeSociales{

  color: #fff; /* Color de Facebook */
  font-size: 20px; /* Tamaño del icono */
  margin-left: 10px;
  margin-top: 10px;
}

.redeSociales:hover{
  opacity: 90%;
  color: #49545f;
  border-radius: 30%;
}

/* section main*/
  
 /* Estilo para el pie de página (footer) */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    margin-bottom: 0%;

}


  
  @media (min-width:300px) and (max-width:1199px)
{

.whatsapp-logo {
    position: fixed; /* La posición es fija */
    font-size: 20px;
    top: 80%; /* Centrado verticalmente en la mitad de la ventana */
    right: 0; /* Alineado a la izquierda */
    transform: translateY(-50%); /* Centrado verticalmente */
    padding: 20px;
    z-index: 1000; /* Asegura que esté por encima del contenido de la página */
  }
  .whatsapp-message {
    font-size: 0%; /* Tamaño de fuente del mensaje, ajusta según tus preferencias */
    margin-top: 0px; /* Espacio entre el ícono y el mensaje */
  }
}
/* Estilo para la barra article */


#navbar-example3 {
  background-color: #49545f; /* Color de fondo */
  color: #fff; /* Color del texto */
  border-radius: 40px; /* Bordes redondeados */
  border: 2px solid #84adea; /* Borde */
  margin-bottom: 50px;
  margin-top: -30px;
}



#navbar-example3 a {
  color: #fff; /* Color de los enlaces */
  text-decoration: none; /* Sin subrayado */
  transition: color 0.3s; /* Transición de color en 0.3 segundos */
}

#navbar-example3 a:hover {
  color: #84adea; /* Cambia el color al pasar el mouse */
}

/* Estilo para el contenido de la derecha */
.scrollspy-example-2 {
  padding: 20px; /* Espacio interno */
  
}

/* Estilo para los títulos */
.scrollspy-example-2 h2, .scrollspy-example-2 h4, .scrollspy-example-2 h5 {
  color: #000000; /* Color del texto */
}

/* Estilo para los párrafos */
.scrollspy-example-2 p {
  color: #000000; /* Color del texto */
}

.politicaInstitucional{

margin-bottom: 25px;}


/* Estilo para la clase 'row' */


/* Asegurar que el texto ocupe toda la columna */
.col-9 {
  flex: 1;
  background-color: #b3b3b8;
}

.col-3 {
  flex: 1;
  background-color: #b3b3b8;
  

  align-items: center; /* Alinear los elementos en la columna verticalmente */
  width: 50%; /* Ajusta el ancho según tus necesidades */

}

h2 {
text-align: center;
}

.nav-link {
text-align: center;
color: #000000; /* Color del texto */
margin-top: -20px; /* Elimina el margen superior entre párrafos y títulos */
margin-bottom: 0; /* Elimina el margen inferior entre párrafos y títulos */
}


/* Estilo para el botón */
.buzonsugerencias {
  background-color: #84adea; /* Color de fondo */
  color: #fff; /* Color del texto */
  padding: 10px 20px; /* Espacio interno */
  border-radius: 5px; /* Bordes redondeados */
  text-decoration: none; /* Sin subrayado */
  transition: background-color 0.3s; /* Transición de color de fondo en 0.3 segundos */
  display: inline-block;
  margin-top: 10px;
}



.buzonsugerencias:hover {
  background-color: #49545f; /* Cambia el color de fondo al pasar el mouse */
  text-decoration: none;
  color: #fff; /* Color del texto */
}

/* etiqueta main servicios*/
.seccion {
  text-align: center;
  padding: 20px;
  animation: none;
}

.contenido {
  display: flex;
  justify-content: space-between;
  align-items:center;

}

.izquierda {
  flex: 1;
  text-align: justify;

}
.serviciosofertados{

font-size: 18px;

}

.derecha {
  flex: 1;
}

.sin-subrayado {
  text-decoration: none; /* Sin subrayado predeterminado */
  font-size: 20px;
  color: #000000;
}

.sin-subrayado:hover {
  text-decoration: none; /* Sin subrayado al pasar el ratón */
  scale: 1.2;
 
}

#imagenCambiante {
  max-width: 100%;
    height: auto;
    position: relative;
    left: 15%;
    z-index: 2; /* Imagen debajo del texto */
}

.contenido{
padding: 0%;
margin: 0;
}

/*galeria de imagenes*/


.gallery {
  display: flex;
  flex-wrap: wrap;
}

.image {
  width: 300px;
  height: 200px;
  background-size: cover;
  position: relative;
  overflow: hidden;
  margin: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.image:hover {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.image:hover .overlay {
  opacity: 1;
}

.overlay p {
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}


/* section de fisioterapia*/

.image-container {
  width: 100%;
  text-align: center;
  padding: 20px;
}

#displayedImage {
  max-width: 100%;
  max-height: 400px;
}

.card-body {
  text-align: center;
}



.wraper{
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}

.modulos{
height: 400px;
display: flex;
flex-wrap: nowrap;
justify-content: start;
}

.card{
width: 80px;
border-radius: .75rem;
background-size: cover;
cursor: pointer;
overflow: hidden;
border-radius: 2rem;
margin: 0 10px;
display: flex;
align-items: fex- flex-end;
transition: 0.6s cubic-bezier(.028,-0,03,0,.99);
box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0) ;
}
.card > .row {
  color: white;
  display: flex;
  flex-wrap: nowrap;
}

.card > .row > .icon {
 
  color: white;
  border-radius: 50%;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px;  
}


.card > .row > .description {
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  height: 80px;
  width: 520px;
  opacity: 0;
  transform: translateY(30px);
  transition-delay: .3s;
  transition: all .3s ease;
}

.description p {
  color: #b0b0ba;
  padding-top: 5px;
}

.description h4 {
  text-transform: uppercase;
}

input {
  display: none;
}

input:checked + label {
  width: 600px;
}

input:checked + label .description {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.card[for="c1"] {
  background-image: url('./fondos/1fisio.JPG');
}
.card[for="c2"] {
  background-image: url('./fondos/2fisio.JPG');
}
.card[for="c3"] {
  background-image: url('./fondos/5fisio.JPG');
}
.card[for="c4"] {
  background-image: url('./fondos/7fisio.JPG');
}
.card[for="c5"] {
  background-image: url('./fondos/8fisio.JPG');
}
.card[for="c6"] {
  background-image: url('./fondos/9fisio.JPG');
}
.card[for="c7"] {
  background-image: url('./fondos/4fisio.jpg');
}
.card[for="c8"] {
  background-image: url('./fondos/10fisio.JPG');
}

@media screen and (max-width: 700px) {
  #logoempresarial{
  display: flex;
  justify-content: center;
  }

  #imagenCambiante {
    max-width: 100%;
    height: auto;
    position: relative;
    top: 0%;
    z-index: 2; /* Imagen debajo del texto */
  }



  #onesegment1 {
    display: flex;
  justify-content: center;
  padding-top: -10px;
  }
  #onesegment2 {
    display: flex;
  justify-content: center;
  margin-top: -20px;

  }
  #ajustemail{
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    margin-top: -10px;
   }

   #textcajaflotante{
  
  display: none;
  }

  #menuPrincipal{
    background-color: #84adea;
    padding: 5px;
    margin: -5px;
    font-size: 20px;
    margin-right: 0;
}
.navbar-brand {
    font-size: 18px;
    margin-left: 15px;
}
#lema{
  font-size: 15px;

margin-left: 3px;
}

.textmixwidth700px{
display: none;
}

#nuestros-servicios{
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
}
.sin-subrayado:hover{
  font-weight: bolder;
}

aside{

  margin-top: -70px;
}


}

@media screen and (min-width: 701px) {
.textmaxwidth700px{
  display: none;
}
}

.icono-container {
  border: 4px solid white; /* Color del borde */
  border-radius: 5%; /* Borde redondeado */
  padding: 10px; /* Espacio interior del contenedor */
  margin: 10px; /* Espacio entre los contenedores */
  gap: 20px; /* Define el espacio entre filas y columnas */
 
}

.icono {
  color: #00264d; /* Color azul */
  transition: color 0.3s; /* Transición suave */
}

#imagenCambiante {
  max-width: 100%;
  height: auto;
  position: relative;
  left: 0%;
  z-index: 2; /* Imagen debajo del texto */
}

.icono:hover {
  color: rgb(99, 99, 235); /* Azul oscuro al hacer hover */
 
}

.icono-container:hover{
  box-shadow: 10px 7px 20px  rgb(99, 99, 235);
  background-color: #fff;
  transition: all 0.4s ease;
}


.icono {
  font-size: 75px; /* Aumenta el tamaño de los íconos un 15% */
}

.container h3 {
  font-size: 50px; /* Aumenta el tamaño de los títulos */
  text-align: center;
}

.col-auto{
margin-top: 3px;

}
.icono-container {
  margin-right: 50px; /* Puedes ajustar el valor según el espacio deseado */
}

.icono-container p {
font-size: 14px;
font-weight: bold;  
}

/* modificaciones de especialista*/
#textespecialistas {
font-size: 20px;

}

#nuestros-especialistas{
  font-size: 50px;
  margin-top: 10px;  

}

.services-box {
margin: 50px;
}

/*estilos de menu de fisioterapia*/

.boxfisio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.boxfisio img {
  width: 50%;
  height: auto;
  margin-right: 70px;
}
.boxfisio p {
  margin: 0px;
  margin-right: 50px;
}

#imgderecha {
 margin-right: -50px;}

 .container-fluid.fondofisio {
  height: 500px; /* Altura del banner */
  overflow: hidden; /* Para ocultar cualquier parte de la imagen que exceda el contenedor */
}

.imagen-full {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Para asegurar que la imagen se ajuste al tamaño del contenedor */
}
.container-fluid {
  font-family: 'monserrat', sans-serif; 
}

#titerapia {

  font-size: 50px;
  margin-top: 10px; 
  font-family: 'monserrat', sans-serif; 
}

aside p {
  font-size: 20px;
  margin: 20px;
}
/*redes sociales*/

/* Estilos para el contenedor de WhatsApp y el icono de auriculares */
.headset {
  position: fixed;
  bottom: 60px;
  right: 60px;
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
  text-align: center;
  color: greenyellow; /* Color del icono de auriculares */
  font-size: 40px;
}

/* Estilos para el contenedor de los iconos de redes sociales */
#socialMediaIcons {
  position: absolute;
  bottom: 50px;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Estilos para los iconos de redes sociales específicos */
.social-media-icon-instagram {
  display: block;
  margin-bottom: 10px;
  color: #e4405f; /* Color de Instagram */
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 90%;
  text-align: center;
  line-height: 40px;
}

.social-media-icon-facebook {
  display: block;
  margin-bottom: 10px;
  color: #3b5998; /* Color de Facebook */
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 90%;
  text-align: center;
  line-height: 40px;
}

.social-media-icon-whatsapp {
  display: block;
  margin-bottom: 10px;
  color: #25D366; /* Color de WhatsApp */
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 90%;
  text-align: center;
  line-height: 40px;
}

.social-media-icon-telephone {
  display: block;
  margin-bottom: 10px;
  color: #1da1f2; /* Color de Twitter */
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 90%;
  text-align: center;
  line-height: 40px;
}

/* Estilos para los iconos de redes sociales específicos (hover) */

/* Mostrar los iconos de redes sociales al pasar el ratón sobre el icono de auriculares */
.headset:hover #socialMediaIcons {
  visibility: visible;
  opacity: 1;
}
