body {
  margin: 0;
  padding: 0;
}

.seccion1 {
  position: relative;           /* Necesario para posicionar la máscara */
  height: 100vh;                /* Ocupa toda la altura de la pantalla */
  background-image: url(material/imagenes/doctor-performing-routine-medical-checkup.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

/* Capa gris semitransparente */
.mascara {
  margin: 0%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.852);  /* Ajustá la opacidad a gusto */
  z-index: 1;
}

/* ENCABEZADO GENERAL */
.encabezado {
  height: auto;
  display: flex;
  align-items: center;
  padding: 4px 10px;
  background-color: #ffffff81;
  gap: 15px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Logo */
.encabezado img {
  width: 200px;
}

.boton-usuaario a{
  margin: 10px;
  width: 50px;
  height: 50px;
  background-color: #3D3D6B;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}

/* Menú normal (escritorio) */
.menu {
  display: flex;
  gap: 10px;
  margin-left: auto;
  margin-right: 2%;
  white-space: nowrap;
  align-items: center;
}

/* Botones */
.boton-contacto {
  margin: 5px 0;
  padding: 8px 10px;
  border: none;
  text-decoration: none;
  color: #808285;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  transition: color 0.5s ease;
}

.boton-contacto:hover {
  color: #3D3D6B;
  font-weight: 700;
}

/* Botones turno */
.boton-turno a {
  font-family: "Poppins", sans-serif;
  font-size: smaller;
  margin: 5px 0;
  padding: 8px 10px;
  border: none;
  text-decoration: none;
  color: white;
  background-color: #3D3D6B;
  display: inline-block;
}

/* Ícono hamburguesa oculto por defecto */
.hamburger {
  font-size: 26px;
  color: #3D3D6B;
  cursor: pointer;
  display: none;
  margin-left: auto;
  padding: 30px;
}

/* Checkbox oculto */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; 
    right: 0;
    width: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    padding: 20px 0;
    padding-right: 15px;
    margin-right: 38px;
  }
  .boton-usuaario a{
    margin-left:160px ;
    margin-right: 0px;
    width: 50px;
    height: 50px;
  
  }
  .menu-toggle:checked + .hamburger + .menu {
    display: flex;
  }

  /* Mostrar el icono hamburguesa solo en móvil */
  .hamburger {
    display: block;
  }
}



/*ISOLOGO + TEXTO CENTRADOS*/
.imagen-texto {
  position: relative;
  z-index: 2;   /* Encima de la capa gris */
}
.imagen-texto{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5px;
}
.imagen-texto a{
 color: white;
 background-color: #3D3D6B;
 padding: 10px;
 text-decoration: none;
 font-family: "Poppins", sans-serif;
  font-style: normal;
}
.imagen-texto h3{
  color: #808285;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
}

.ISOLOGO img{
  width: 200px;
}

/*FIN DE ISOLOGO+TEXTO CENTRADOS*/


/*barra de informacion con iconos*/
.barra-iconos {
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-around;  /* Distribuye cuadros a lo largo de la barra */
  align-items: center;
  width: 100%;
  padding: 20px 0;
  box-shadow: 0 -3px 30px rgb(0, 0, 0); /* Sombra superior sutil */
  
}
.fade-in {
  opacity: 0;
  transition: opacity 0.5s;
}
.animar-fade-in {
  animation: fadeIn 1s ease-in-out;
  opacity: 1;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cuadros-info {
  display: flex;
  flex-direction: row;
  align-items: center;   /* Centra verticalmente icono y texto */
  gap: 10px;             /* Separación entre icono y texto */
  max-width: 600px;      /* Limita el ancho de cada bloque */
  text-align: left;
}

.iconos i {
  margin: 15px;
  width: 100px;
  height: 100px;
  background-color: #3D3D6B;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
}

.tituloyparrafo h4{
  color: #3d3d86;
  font-family: "Poppins", sans-serif;
}

.tituloyparrafo p{
  color: #808285;
  font-family: "Poppins", sans-serif, light;
}

/*NUESTRA INSTITUCION IMAGEN Y FOTO*/
.institucion{
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 60px;
}

.institucion img{
  margin-top: 20px;
  max-width: 650px;
  padding: 3px;
}
.texto-institucion h2{
  margin-top: 0%;
  color: #3d3d86;
  font-size: x-large;
  font-family: "Poppins", sans-serif, light;
}
.texto-institucion p{
  color: #808285;
  flex-direction: center;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: medium;
}
.texto-institucion{
  padding: 3px;
  gap: 5px;
  margin: 5px;
   z-index: 1000; /* Por encima de otros elementos */
  
}
/*FIN INSTITUCION*/

.boton-negrita{
  margin: 5px 0;
  padding: 10px 17px;
  border: none;
  background-color: #3D3D6B;
  display: inline-block;
}
.boton-negrita a{
  text-decoration: none;
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: normal;
}



/*TARJETAS DOCTORES*/
.PROFESIONALES{
  padding: 40px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #dddee0;
}
.PROFESIONALES a{
  display: flex;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  color: white;
  background-color:#3D3D6B;
  padding: 13px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 32px;
 
}

.PROFESIONALES h1{
  padding-bottom: 30px;
  margin-top: 80px;
  font-family: "Poppins", sans-serif;
  font-size:xx-large;
  color: #3D3D6B;
}

@media (max-width:600px){
  .PROFESIONALES h1{
    font-size: x-large;
  }
}
.pareja-docs{
  display: flex;
  flex-direction: row;
  gap: 0px;
}
.cuadros-info-docs{
  margin: 20px;
  width: 700px;
  height: 220px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  background-color: white;
  box-shadow: 0 2px 7px rgb(0, 0, 0);
}
.cuadros-info-docs img{
  width: 220px;
}
@media (max-width:480px){
  #contenedor-profesionales p{
  margin-left: 20px;
}
  #contenedor-profesionales h4{
     margin-left: 20px;
  }
}

.tituloyparrafo a{
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  color: white;
  background-color: #808285;
  padding: 10px;
}


/*LOS MEJORES PROFESIONALES*/

.seccion2{
  position: relative;           /* Necesario para posicionar la máscara */
  height: 100vh;                /* Ocupa toda la altura de la pantalla */
  background-image: url(material/imagenes/doc-hablando.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profesionales-texto{
  padding: 3px;
  gap: 5px;
  margin: 5px;
  margin-left: 80px;
   z-index: 1000;
}

@media (max-width:600px){
  .profesionales-texto{
    
    margin: 40px;
    padding: 20px;
  }
  .profesionales-texto h2{
    font-size: large;
  }
  .profesionales-texto p{
    font-size: small;
  }
}

.profesionales-texto h1{
  margin-top: 0%;
  color: #3d3d86;
  font-size: x-large;
  font-family: "Poppins", sans-serif, light;
}
.profesionales-texto p{
  color: #808285;
  flex-direction: center;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: medium;
}
 



/* PIE DE PAGINA*/
footer{
  padding: 15px;
  padding-left: 50px;
  padding-right: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color:#dddee0;
}
.imagen-footer img{
  width: 300px;
  margin-left: 0;
}
.imagen-footer2{
  display: none;
}
.redes{
  justify-content: center;
  align-content: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 35px;
  padding-left: 0;
}
.redes a{
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  color: black;
}
.boton-footer a{
  margin-right: 0px;
  font-family: "Poppins", sans-serif;
  font-size: normal;
  padding: 10px 18px;
  border: none;
  text-decoration: none;
  color: white;
  background-color: #3D3D6B;
  display: inline-block;
}
.botonyredes{
  display: none;
}

@media (max-width:600px){
   .redes {
    display: none;
  }
  .boton-footer{
    display: none;
  }
  .imagen-footer{
    display: none;
  }

  footer{
    padding: 20px;
  }
  .imagen-footer2{
    display: block;
  }
  .botonyredes{
    display: block;
  }
  .botonyredes{
   display: flex;
   flex-direction: column;
   align-items: center;
   padding-right: 0%;
  }
  .imagen-footer2 img{
    width: 220px;
  }
  .boton-footer2 a{
  margin-right: 0px;
  margin-top: 10px;
  font-family: "Poppins", sans-serif;
  font-size: normal;
  padding: 10px 18px;
  border: none;
  text-decoration: none;
  color: white;
  background-color: #3D3D6B;
  display: inline-block;
  }
  .redes2 a{
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  color: black;
  }
  .redes2{
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 40px;
  padding-left: 0;
  padding-bottom: 5px;
  }
}




/*DOCTORES FICHAS COMPLETAS HTML*/
.trayectoria-doc{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 1200px;
  padding: 20px;
  margin: 100px;
  gap: 100px;
}
.imagen-doc img{
  width: 500px;
}
.imagen-doc{
  margin-left: 200px;
  align-items: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 7px rgb(0, 0, 0);
}
.imagen-doc h4{
  font-family: "Poppins", sans-serif;
  font-size: x-large;
  font-weight: 600;
  font-style: normal;
  color: #3D3D6B;
  background-color: white;

}
.texto-doc{
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}
.texto-doc p{
color: #808285;
}
.texto-doc h2{
  color: #3D3D6B;
}


/*FORMULARIO TURNOS*/
.formulario{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  margin: 30px;
  margin-top: 100px;
}
.nombres{
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 2px;
}
.titulo-turno{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #3D3D6B;
  background-color: #d8dbde;
  padding: 100px;
  margin-top: 80px;
}
.titulo-turno h3{
  font-size: x-large;
}
.titulo-turno h1{
  font-size: xxx-large;
}

/*CALENDARIO*/

.calendar-container {
  width: 100%;
  max-width: 650px;
  margin: auto;
  margin-bottom: 40px;
  font-family: Arial, sans-serif;
  text-align: center;
}

@media (max-width:480px) {
  .calendar-container{
    margin-top: 50px;
    max-width: fit-content;
  }
  .calendar-container h2{
    margin-bottom: 20px;
    color: #3D3D6B;
  }
}


#calendar {
  width: 100%;
  border-collapse: collapse;
}

#calendar th, #calendar td {
  padding: 10px;
  border: 1px solid #a4a4a4;
}

#calendar td.occupied {
  background-color: #279fb7;
  color: #0e4a56;
}

#calendar td.available {
  background-color:#f0f0f0;
  color:#3D3D6B;
}

#calendar td.today {
  border: 2px solid #17B0CE;
}
.form-group{
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}
@media (max-width:480px){
  .form-group{
    max-width: 350px;
    margin: 30px;
  }
}

.selected-day {
    background-color: #279fb7;
    color:#e1faff;
}

.calendario-horarios-boton{
  margin-top: 40px;
}

.calendario-horarios-boton button{
  display: flex;
  flex-direction: column;
 margin-left: auto;
 margin-right: 25%;
 padding: 10px;
 border-radius: 15px;
 color: #f8feff;
 background-color:#3d3d86;
 margin-bottom: 60px;
}
@media (max-width:480px){
  .calendario-horarios-boton button{
  display: flex;
  flex-direction: column;
  margin: 0px;
  }
  .qsy{
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  width: 100%;
}
.qsy .formuladio button{
  margin-bottom: 10px;
  margin-top: 10px;
}
.formuladio{
  max-width: 350px;
  align-items: center;
  
}
}

#lista-horarios{
  display: flex;
  flex-direction: column;
}

.Solicitar-turno{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  padding: 20px;
}

.formuladio{
  display: flex;
  flex-direction: column;
  max-width: 500px;
  gap: 10px;
  margin-left: 750px;
  padding-left: 30px;
  margin-right: 0px;

}
@media (max-width:600px){
  .formuladio{
    margin-left: 0;
    margin-right: 10px;
  }
 

}
.formuladio button{
 margin-top: 30px;
 margin-right: 80px;
 margin-bottom: 70px;
}




/*Usuario contrasena pag*/
.login-container{
  font-family: "Poppins", sans-serif;
  margin-top: 150px;
  margin-left: 550px;
  margin-right: 50px;
  padding: 15px;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

@media (max-width:480px) {
  .login-container{
    max-width: fit-content;
    margin-left: 20px;
    margin-right: 20px;
  }
}
.login-container input{
  max-width: 600px;
}
.login-container button{
  max-width: 600px;
}
.login-container h2{
  color: #3D3D6B;
}

.cuadros-completar{
  gap: 10px;
  display: flex;
  flex-direction: column;
}
.cuadros-completar label{
  color: #3d3d86;
  font-size:medium;
  font-weight: 600
}
.cuadros-completar input{
  border-radius: 20px;
  padding: 10px;
}
.login-container button{
  width: 220;
 padding: 10px;
 border-radius: 20px;
 margin-top: 20px;
 color: #f8feff;
 background-color:#3d3d86;
}

/*turnos adm*/
.panel-turnos{
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  padding: 15px;
  font-family: "Poppins", sans-serif;
}
.panel-turnos h1{
  font-weight: 600;
  margin: 0%;
  margin-bottom: 25px;
  padding: 50px;
  align-items: center;
  text-align: center;
  color: #3D3D6B;
  background-color: #d7d5d5;
 
}

.agregarTurno{
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  max-width: 800px;
  margin-left: 40px;
  margin-right: 40px;
}
@media (max-width:480px) {
  .agregarTurno{
  margin-left: 40px;
  margin-right: 40px;}
}

.agregarTurno input{
  border-radius: 20px;
  padding: 10px;
}

.agregarTurno select{
  border-radius: 20px;
  padding: 10px;
}
.agregarTurno button{
  margin-top: 10px;
  background-color: #3d3d86;
  color: #f8feff;
  border-radius: 20px;
  padding: 10px;
}

.panel-ocupados{
  margin-top: 25px;
  margin-left: 40px;
  margin-right: 40px;
  padding: 10px;
  padding-left: 40px;
  padding-bottom: 25px;
  color: #3D3D6B;
  background-color: #d7d5d5;
  border-radius: 15px;
}
.panel-ocupados button{
  margin-top: 30px;
  background-color: #3d3d86;
  color: #f8feff;
  border-radius: 20px;
  padding: 10px;
}

@media (max-width:480px) {
  .panel-ocupados{
  margin-left: 10px;
  margin-right: 10px;
  padding-left: 30px;
  }
}

/*SERVICIOS*/
.titulo-servicio{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #3D3D6B;
  background-color: #d8dbde;
  padding: 90px;
  margin-top: 80px;
  margin-bottom: 50px;
} 
.titulo-servicio2{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color:#0e4a56;
  background-color: #9fdfe981;
  padding: 90px;
  margin-top: 80px;
  margin-bottom: 50px;
}

.titulo-servicio2 h2{
  font-family: "Poppins", sans-serif;
  font-size: xx-large;
  text-align: center;
}

.titulo-servicio h4{
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: large;
  text-align: center;
}
.titulo-servicio h1{
  font-family: "Poppins", sans-serif;
  font-size: 50px;
  margin-bottom: 15px;
}
.servicios-all{
  font-family: "Poppins", sans-serif;
  align-items: center;
  margin: 30px;
  display: flex;
  flex-direction: column;
  padding: 10px;
}
.servicios-cuarteto{
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 10px;
}

@media (max-width:430px){
  .servicios-all .triplete{
    display: flex;
    flex-direction: column;
  }
  .servicios-cuarteto{
    flex-direction: column;
  }

}

.card-body h5{
  color: #3D3D6B;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-body p{
  font-weight: 400;
}
.triplete{
  display: flex;
  flex-direction: row;
  gap: 80px;
  padding: 10px;
}


/* Fuentes Poppins */
.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}



@media (max-width:480px) {

  /*ENCABEZADO Y BOTONES*/
  .encabezado img{
    max-width: 140px;
  }
  .botones-derecha{
    gap: 1px;
    margin-left: 0%;
    padding: 2px;
  }
  .boton-contacto{
    flex-direction: column;
    align-items: right;
    font-size: smaller;
    margin-left: auto;
  }
  .boton-turno{
    display: flex;
    flex-direction: column;
    align-items: right;
    font-size: smaller;
    margin-left: auto;
  }

  /*imagen de fondo*/
  .seccion1{
    background-image: url(material/imagenes/doctor-performing-routine-medical-checkup\ -\ copia.jpg);
     background-position: left;
  }

  /*LINEA CON INFO*/
  .barra-iconos {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  /*institucion*/

  .pareja-docs {
    flex-direction: column;
    align-items: center;
  }
  .cuadros-info-docs {
    flex-direction: column;
    width: 90%;
    height: auto;
  }
  .cuadros-info-docs img {
    width: 100%; /* imagen a full width */
    height: auto;
  }

  

  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  footer img {
    width: 200px; /* más chico en celular */
  }

  .seccion2 .texto-institucion {
    margin: 20px;
    text-align: center;
  }
  .seccion2 .boton-turno {
    flex-direction: column; /* botones uno debajo del otro */
    gap: 10px;
  }

  .botones-derecha {
    flex-wrap: wrap; 
    justify-content: center;
    gap: 5px;
  }
  .trayectoria-doc{
    flex-direction: column;
    padding: 2px;
    width: 350px;
    margin: 50px;
  }
  .imagen-doc img{
    max-width: 300px;
    margin-left: 0%px;

  }
  .imagen-doc{
    margin-left: 0px;
    margin-right: 10px;
    margin-top: 50px;
  }
  .texto-doc{
    max-width: 350px;
  }
  .institucion {
    font-size: small;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .texto-institucion{
    margin-bottom: 5px;
  }
  .imagen-institucion img{
    max-width: 300px;
    width: 100%;
    margin-top: 10px;
  }

  /*footer*/
  footer{
    display: flex;
    flex-direction: row;
    text-align: left;
    font-size: small;
  }
  footer img{
    width: 100px;
  }
}

  


