
*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'SimplyRounded', sans-serif;
    box-sizing: border-box;
 
 
 
    
}


@font-face {
    font-family: 'SimplyRounded';
    src: url('fonts/SimplyRounded-Regular.woff2') format('woff2'),
         url('fonts/SimplyRounded-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.header-text{
    background-color: #0076C8;
    height:auto;
    height: 7vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-text h1{
    padding: 0;
    color:#FDD47F ;
    text-align: center;
}

nav{
    background: #fff;
    height:19vh;
    width: 100%;
}
.enlace{
    position: absolute;
    padding:0;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.logo{
    height:100%;
    width: 90%;
    padding-bottom: 2px;
 

}
nav ul{
    float: right;
    margin-right: 20px;
    height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    color:#0076C8;
    font-size: 18px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
}
li a.active, li a:hover{
    color: #033375;
    animation: pulse 1s infinite;
  
}
.checkbtn{
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}

@media (max-width: 952px){
    .enlace{
        padding-left: 20px;
    }
    nav ul li a{
        font-size: 16px;
    }
}

@media (max-width: 858px){
    .checkbtn{
        display: block;
        color: #0076C8;
        width: 40px;
     
    }
    ul{
        position: fixed;
        width: 60%;
        height: 5vh;
        background: linear-gradient(#eceff1,#98a9be);
        top:px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        z-index: 2;
    }
    nav ul li{
        display:flex;
        margin: 0px 0;
        line-height: 30px;
        margin-left: -15%;
    }
    nav ul li a{
        font-size: 20px;
     
    }
    li a:hover, li a.active{
        background: none;
        color:#0076C8;
        display: flex;
        flex-direction: column;
    }
    #check:checked ~ ul{
        left:0;
        display: flex;
        flex-direction: column;
    }
}


body, html {
    margin: 0;
    padding: 0;
    font-family: 'Bahnschrift', sans-serif;
    width: 100%;
    height: auto;
}
.enlace{
    width: 20%;
    height:auto;
}


header{
    width: 100%;
    margin: 0;
    padding: 0;
  
}
.button .home{width: 15%;
     color: #fff;
    }
.navbar {
    width: 100%;
    background-color:#fff;
    color:#F0513B;
    display: flex;
    justify-content: space-between;
align-items: center;
padding: 5px;
height: 5rem;
padding-left: 12%;
}

.navbar .logo {
   width: 20%;
   height: auto;
   padding: 3%;
   
}
img .logo{
    width: 100%;
    height: 100%;
}
.navbar .logo img{
    width: 100%;
    height: 4.5rem;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 70%;
}

.nav-links li {
    padding: 0 15px;
}

.nav-links a {
    color: #F0513B;
    text-decoration: none;
    font-size: 22px;
    transition: color 0.3s;
}

.nav-links a:hover {
    background-color: #EBF3F5;
    animation: pulse 1s infinite; 
    color: #033375;  
}


/*home section*/
.home-section{
    background-image: url(/img/especialistas-en-psicologia-infantil.webp);
    background-size: cover;
    height: 89vh;
    display:flex ;
    width: 100%;
    padding: 0;

}
.section-home, .section-vacia{
    width: 50%;
}
.section-home{
    padding-top: 10%;
}
.section-home h1,.nosotros-tex h2 {
    color:#323663 ;
   font-size: 60px;
   font-weight: 800;
   padding-left:0;
}
.section-home p{
    color:#4e4a4a;
    font-weight: 600;
    font-size: 30px;
    width: 79%;
}
.section-home button{
margin-top: 2%;
 background-color:#45C9F3 ;   
 border: 5px solid #86E6FC ;
 width: 30%;
 height: 15%;
 border-radius:25px;
}
.section-home button:hover{
    animation: pulse 1s infinite; 
}
.section-home button a{
    color: #fff;
    font-size: 22px;
    font-weight: 800px;
}

/*NOSOTROS*/
.nosotros-section{
  
    justify-content: space-around;
    background-color:#45C9F3 ;
    height: auto;
    padding-bottom: 5%;
}

.nosotros-tex p{
color: #fff;
font-size: 22px;
width: 90%;
}
.nosotros-contenedor{
    display: flex;
    justify-content: space-around;
    background-image:url(/img/consultorios-psicologicos.webp) ;
    padding-bottom: 5%;
}
.nosotros-tex{
width: 45%;
margin: 0;
padding: 0;
padding-left: 2%;
}
.nosotros-imagen img{
    width: 55%;
    height: auto;
    padding-top: 21%;
    transform: rotate(-12deg); /* Rotar la imagen 45 grados */
}
.nosotros-imagen{
width: 55%;
}
/*ESPECIALIDADES*/
.tittle{
    width: 100%;
    padding: 0;
    margin: 0;
    height:auto;
}
.tittle h1{
    width: 100%;
    text-align: center;
    color:#323663 ;
    font-size: 50px;
    font-weight: 800;
}
.tittle .contactanos{
    display: flex;
    width: 100%;
    height: 10vh;
    justify-content: center;
}
.tittle .contactanos button{

    background-color: #323663;
    color: #FDD47F;
    font-size: 22px;
  
    border-radius: 20px;
    margin-top: 1%;
    width: 15%;
    height: 55%;
}
.tittle .contactanos button:hover{
    animation: pulse 1s infinite;
        cursor: pointer;
}
.especialidades{
    display: flex;
    width: 100%;
    height:auto;
    justify-content: space-around;
}
.grid-item, .grid-elije

{
    text-align: center;
    height: auto;
    width: 25%;
    justify-content: center;
}
.grid-item{
    text-align: center;
    width: 20%;
    margin: 2%;
    padding: 0;

    height: auto;  
}
.grid-item img{

    width: 45%;
    height: 19vh;
}
.grid-item h3{
    text-align: center;
    color:#323663 ;
    font-size: 25px;
    font-weight: 700;
}
.grid-item p{
    color: #fff;
    font-size: 22px;
    text-align: center;
    padding: 5px;
}
/*elijenos*/
.elijenos{
   background-image: url(/img/home-background.webp);
   background-repeat: no-repeat;
   background-size: cover;
   width: 100%;
   margin: 0;
   padding: 0;
   padding-top: 3%;
   padding-bottom: 3%;
}
.elijenos h1{
    width: 100%;
    text-align: center;
    color:#45C9F3 ;
    font-size: 50px;
    font-weight: 800;
    padding-bottom: 3%;
}
.beneficio{
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0;
}
.grid-elije{
    text-align: center;
    width: 20%;
    margin: 2%;
    padding: 0;

    height: auto;
}
.grid-elije h3{
    color: #FDD47F;
    text-align: center;
    font-size: 26px;
}
.grid-elije p{
    color: #fff;
    font-size: 22px;
    text-align: center;

    background-color:#323663 ;
}
/*Testimonios*/
.testimonios{
    width: 100%;
    height: auto;
    display: flex;
    padding-bottom: 5%;
}
.testimonio h1{
    padding-bottom: 2%;

}
.grid-testi{
    text-align: center;
    width: 48%;
    margin: 2%;
    background-color: #fff;
    border-radius: 25px;
    
}

.grid-testi img{
    width: 35%;
    height: auto;
    margin-top: -10%;
}
.grid-testi h3{
    width: 100%;
    color: #323663;
    text-align: center;
}
.grid-testi p{
  font-size: 23px;
  color:#4e4a4a;
  padding: 3%;
  font-style: italic;

}
/*CONTAC*/

.contac{
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    justify-content: center;
}
.form{
    width: 100%;
    display: flex;
    justify-content: center;
}
.contac .formulario{
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*formulariooo*/
.contact-form {
    background-color:#45C9F3;
    display: flex;
    flex-direction: column;
   height:auto;
    width:30%; /* O ajusta según la necesidad */
    box-shadow: none; /* Sombra suave alrededor del formulario */
    text-align: center; /* Centrar el texto y los elementos del formulario */


}
#contactForm label {
    display: block; /* Los labels en su propia línea */
    margin-top: 10px; /* Margen superior */
    margin-bottom: 2px; /* Espaciado antes de cada input */
    color: #fff; /* Color del texto de las etiquetas */
}
#contactForm textarea {
    width: 100%; /* Ocupa todo el ancho del contenedor del formulario */
    height: 130px; /* Ajusta esto según cuánto quieras que sea alto el cuadro de texto */
    padding: 7px; /* Espacio interior alrededor del texto */
    margin-bottom: 15px; /* Espaciado después del textarea */
    border-radius: 6px; /* Bordes redondeados para el textarea */
    box-sizing: border-box; /* El width incluye el padding y border */
    resize: vertical; /* Permite al usuario cambiar el tamaño verticalmente si es necesario */
    color: #fff;
}
input, textarea {
    width: 100%;
    height:7vh;
    padding: 8px;
    margin: 10px 0;
    border-radius: 4px;
    color: #fff;
  }
  .submit-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinea el contenido a la izquierda */
  }
  .submit-container input[type="submit"] {
    margin-right: 10px; /* Espacio entre el botón y el texto */
    cursor: pointer;
  }
  .submit-text {
    color:#fff;
    font-size: 16px;
  }
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm textarea {
    width: calc(100% - 20px); /* Ancho menos el padding */
    padding: 8px; /* Espacio interior para escribir */
    margin-bottom: 15px; /* Espaciado después de cada input */
    border-radius: 2px; /* Bordes redondeados para los inputs y textarea */
    background-color: #fff;
    color: #3f3d3d;
    box-sizing: border-box; /* El width incluye el padding y border */
}

  input::placeholder, textarea::placeholder {
    color: #3f3d3d;
    opacity: 1; /* Asegura que el color sea completamente opaco */
  }

#contactForm input[type="submit"] {
background-color: #323663;
    border: 1px solid #fff;
    margin-left:0;
    width: 80%; /* El botón de envío ocupa todo el ancho */
    padding:2px 2px; /* Espacio interior del botón */
    color: white; /* Texto blanco en el botón */
    border-radius: 2px; /* Bordes redondeados del botón */
    cursor: pointer; /* Cursor de mano al pasar por encima */
    margin-top: 3px; /* Margen superior para separar del último input/textarea */
}

#contactForm input[type="submit"]:hover {
    background-color: #00abfb; /* Color del botón al pasar el cursor por encima */
}

#contactForm input:invalid,
#contactForm textarea:invalid {
    border-color:  #fff;
     /* Color de borde para campos inválidos */
}

.contact-form h2 {
    color: #fff;
    width: 100%;
    padding: 2px;
    align-items: center;
    text-align:center;
}

/*FOOTER SECTION*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.footer {
    width: 100%;
    margin: 0;
    background-color:#45C9F3;
    color: white;
    padding: 0;
}

.footer-container {
    width: 100%;
   display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.footer-container .logo-section{
    padding: 5px;
}

.logo-section{
    height:20vh;
    padding: 0;
    margin: 0;
    width:20%;
    justify-content: center;
    align-items: center;
    display: flex;
   
}
.logo-section img{
    height: 18vh;
    width:80%;
    padding: 0;
    
}
.links-section{
    width: 60%;
    display: flex;
}
.wpp{
    width: 10%;
    justify-content: center;
    align-items: center;
    display: flex;
}
.wpp a img{
width: 100%;
}

.copyright{
    width: 100%;
    font-size: 18px;
    padding: 1%;
    text-align: center;
    color: #fff;
}
.copyright a{
    color: #fff;
    font-size: 18px;
}


.links-section ul li {
    margin: 15px;
    justify-content: space-between;
    

}

.links-section  li a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    text-align: center;
    justify-content: center;
 padding-left:10px ;
 padding-right:10px ;
}

.links-section  li a:hover {
    text-decoration: underline;
    background-color: #0076C8;
}

.links-section{
    align-items: center;
    justify-content:center ;
}



/*END FOOTER*/
.whatsapp-fixed {
    position: fixed;
    right: 3%; /* Ajusta según tus preferencias */
    bottom:34%;/* Distancia desde el fondo para no superponer el footer */
    color: white;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2px; /* Tamaño del círculo */
    height:2px; /* Tamaño del círculo */
    text-decoration: none;
    z-index: 1000; /* Asegúrate que esté sobre otros elementos */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* Opcional: Añade sombra para mejor visibilidad */
}
.whatsapp-fixed:hover{
    animation: pulse 1s infinite; 
}

.call-fixed {
    position: fixed;
    right: 2.5%; /* Ajusta según tus preferencias */
    bottom:25%; /* Distancia desde el fondo para no superponer el footer */
    color: white;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1%; /* Tamaño del círculo */
    height: 1%; /* Tamaño del círculo */
    text-decoration: none;
    z-index: 1000; /* Asegúrate que esté sobre otros elementos */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.call-fixed img{
    width: 6rem;
    height:6rem;
}
.call-fixed i {
    font-size: 30px; /* Aumenta el tamaño del ícono del teléfono */
}
.call-fixed:hover{
    animation: pulse 1s infinite; 
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


/* Animación */
@keyframes slide-in {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/*MEDIA QUERY*/
@media (min-width: 300px) and (max-width:768px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden; /* Oculta el desbordamiento horizontal */
    }
    
    *{
 
        box-sizing: border-box;
    }
    body{display: flex;
    justify-content: space-around;
flex-direction: column;}
.enlace{
    width: 50%;
    padding: 0;
}
.nav{
    width: 100%;
    padding: 0;
    margin: 0;
}
.header-text, .header-text a h1{
    color:#FDD47F ;
    text-align: center;
    font-size: 25px;
    padding: 0;
    height: auto;
    width: 100%;
    margin: 0;
}
.enlace img{
    width: 100%;
}
.section-vacia{
    display: none;
}
.section-home{
    width: 100%;
   
    margin: 0;
}
.section-home h1{
    text-align: center;
    font-size: 28px;
    margin-bottom: 2%;
}
.section-home p{
    color: #fff;

    width: 100%;
    margin-top: 13%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);

}
.section-home button{
    width: 60%;
margin-left: 20%;
margin-right: 20%;
margin-top: 8%;
    height:8vh;
    padding: 3%;
  
}
.nosotros-contenedor, .especialidades, .beneficio, .testimonios{
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    height: auto;
    flex-direction: column;
    justify-content: space-around;
}
.nosotros-tex, .nosotros-tex h2, .nosotros-tex p, .contac{
    width: 100%;
    padding: 0;
    margin: 0;
    padding: 0;
    text-align: center;
}
.nosotros-tex{
    width: 100%;
    margin: 0;
    padding: 2%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.nosotros-tex p{
    width: 100%;
    text-align: justify;
    font-size: 20px;
}
.nosotros-imagen{
    width: 100%;
    margin-top: 5%;
}
.nosotros-imagen img{
    transform: none;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.tittle h1{
    text-align: center;
    font-size: 30px;
}
.especialidades .grid-item, .grid-elije, .grid-testi{
  width: 100%;
  padding: 0;
  margin: 0;
  margin-top: 8.5%;
}
.beneficio .grid-elije h3{
    width: 100%;
    padding: 0;
    margin: 0;  
}
.beneficio .grid-elije img{
    width: 80%;
    padding: 0;
    margin: 0; 
    max-width: 100%;
    height: auto; 
}
.especialidades .grid-item, .beneficio{
    margin: 0;
    width: 100%;
    padding: 3%;
}
.especialidades .grid-item h3{
    width: 100%;
    color: #fff;

background-color:#323663 ;
  padding: 0;
  margin: 0;  
}
.especialidades .grid-item p{
    width: 100%;
  padding: 0;
  margin: 0;  
}
.tittle .contactanos button{
    width: 50%;
    margin-top: 3%;
}
.beneficio{
    width: 100%;
    padding: 0;
    margin: 0;
}
.contac{
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

 .formulario, .form, .contact-form{
    width: 100%;
}

.contact-form h2{
    width: 100%;
    text-align: center;
}
.formulario{
    margin-top: 5%;
}
.map{
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius:0;
    height:30vh;
}
.map{
    display: none;
}

.footer, .footer-container, .links-section{
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.logo-section{
    width: 100%;
}
.wpp{
display: none;
}
.whatsapp-fixed {
    position: fixed;
    right: 15%; /* Ajusta según tus preferencias */
 bottom:24%; /* Distancia desde el fondo para no superponer el footer */
}
.call-fixed{
    position: fixed;
    right: 15.5%; /* Ajusta según tus preferencias */
 bottom:15%; /* Distancia desde el fondo para no superponer el footer */
 padding: 0;
}
}

/* tratamiento de datos*/
.container-politica{
    width: 100%;
    height: auto;
    background-color:#45C9F3;
    padding: 2%;
}

.politic h1 {
    text-align: center;
    color: #fff;

}
.politic h2{
    color: #fff;
}
.politic p {
    color: #fff;
}

section {
    margin-bottom: 20px; /* Espaciado entre secciones */
    padding: 20px; /* Espaciado interno */
    background-color: #f0f8ff; /* Color de fondo suave */
    border: 1px solid #ddd; /* Borde sutil */
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

.politic-tex section h2 {
    font-size: 1.5em;
    color: #0056b3; /* Color del encabezado */
    margin-bottom: 10px; /* Espacio debajo del título */
}

.politic-texsection ul {
    margin: 10px 0;
    padding-left: 20px; /* Sangría para listas */
}

.politic-tex section ul li {
    margin-bottom: 8px; /* Espaciado entre elementos de lista */
}

.politic-tex section p {
    margin-bottom: 10px; /* Espaciado entre párrafos */
    color: #333; /* Color del texto */
    line-height: 1.6; /* Altura de línea para mejor legibilidad */
}