*{

    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    cursor: url('/img/cursor.png'), auto;

    }
    @font-face {
      font-family: 'American Captain';
      src: url('/fonts/American\ Captain.otf') format('truetype');
      font-weight: normal;
      font-style: normal;
  }

 h3{
   font-weight: 700;
   font-size: 25px;
 }
 p{
   font-family: sans-serif;

 }
 .roedores img:hover{
   animation: pulse 1s infinite;
 }
    body, html {
        margin: 0;
        padding: 0;
        height:auto;
        width: 100%;
        font-family: 'Roboto';
        src: url(./fonts/roboto.woff2) format('woff2');
      
    }/*estilos botones*/
    button{
      width: 30%;
        padding: 8px 5px;
        border-radius: 8px;
        background-color: #00AAFC;
        margin-left: 2%;
    }
    button:hover{
        animation: pulse 1s infinite;
        box-shadow: #00135B;
       
    }
    button a{
        color: #fff;
        font-size: 18px;
        text-decoration: none;
        font-weight: 600;
    }
    footer .navegacion{
      background-color: #00135b;
    }
    footer .navegacion nav a{
      color: #fff;
    }
    footer .navegacion nav a:hover{
      background-color: #fff;
      color: #00135B;
    }
    footer .navegacion .logo img{
      width: 50%;
    }
 header{
    width: 100%;
    height: auto;
    padding: 0;
 }
 .llamanos{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #fff;
 }
 .llama{
   width: 80%;
   display: flex;
   justify-content: center;
  
 }
 p{
   font-family: 'Roboto', sans-serif;
 }
 .redes{
   display: flex;
   justify-content: flex-end;
width: 20%;
height: auto;
padding-right: 3%;

 }
 .redes a{
   width: 15%;
   height: auto;
   margin: 2%;
   display: flex;
   justify-content: center;
 }
 .redes a:hover{
   animation: pulse 1s infinite;
 }
.redes a img{
   width: 85%;
   height: auto;

   max-height: 120px;
}
 .llamanos p{
    font-size: 25px;
    font-weight: 600;
    color:#00AAFC;
 }
 .llamanos p a{
   color:#00AAFC;
    text-decoration: none;
 }
  /*-----------------------------------------------------------------------------------------------------*/
 .roedores{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    background-color:#00135B;
    padding-bottom: 2%;
    padding-top: 2%;
 }
 .roedores img{
    color: #fff;
    height: auto;
    width:auto;

 }
 p{
   font-size: 22px;
 }
  /*-----------------------------------------------------------------------------------------------------*/
 .navegacion{
    display: flex;
    width: 100%;
   margin: 0;
    background-color:#fff;
    padding-top: 1%;
    padding-bottom: 1%;
 }
 .navegacion .logo{
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
 }
header .navegacion .logo img{
    width: 70%;
    height: auto;
    max-height: 200px;
    margin-top: -25%;
 }
 .navegacion nav{
    width: 80%;
    display: flex;
    justify-content:space-evenly;
    align-items: center;
 }
 .navegacion nav a{
    color:#00135B;
    font-size: 24px;
    font-weight: 600;
    padding: 1%;
    text-decoration: none;
 
 }
 .navegacion nav a:hover{
   background-color:#00135B;
   color: #fff;
   border-radius:  10px 10px 0px 0px;
 }
  /*-----------------------------------------------------------------------------------------------------*/
 
 h2{
   color: #00135B;
   font-size: 45px;
 }
 h3{
   color: #00135B;

 }
 .section-inicio h2{
    font-size: 30px;
    padding-left: 5%;
    margin:0;
 }
 .liderimg{
   width: 60%;
   display: flex;
   align-items: center;
   justify-content: center;

   margin-top: 2%;

   
 }
 .liderimg img{
width: 12%;
margin: 2%;
 }
 .lider button{
    margin-left: 15%;
    width: 20%;
    margin-bottom: 2%;
 }
   /*-----------------------------------------------------------------------------------------------------*/
 .home{
   background-image: url(/img/fumigacion-de-plagas-la-ceja.png);
   background-repeat: no-repeat;
   background-size: cover;
   margin: 0;
   width: 100%;
   height: auto;
   display: flex;
   padding-bottom: 20%;
 }
 .fumigamos{
   width: 50%;
   display: flex;
 justify-content: end;
 height: auto;
 margin: 0;
 padding: 0;
 }
 .fumigamos img{
   width: 80%;
   height: auto;
   max-height: 80vh;

   
 }
 .control{
   width: 67%;
   height: auto;
   margin: 0;
   padding: 0;

 }
 .control h1{
   color: #fff;
   width: 60%;
   font-size: 28px;
   padding-left: 10%;
   padding-top: 5%;
   margin-top: 15%;

 }
 .control h1 strong{
   font-size: 50px;
   font-family: 'American Captain', sans-serif;
   letter-spacing: 5px;
 }
 .control button{
   background-color:#fff;
width: 50%;
margin-left: 10%;
 }
 .control button a{
   color:#00135B;
   font-size: 25px;
   font-weight: 600;
 }
 
 /*--------------------------------------------------------------------------------------------------------------*/
 .section-inicio{
   width: 100%;
   height: auto;
   display: flex;
   background-color: #cccccc;
   padding-top: 3%;
 }
 .section-inicio .exterminadores{
   width: 50%;
   height: auto;
 }
 .section-inicio .exterminadores img{
   width: 80%;
   height: auto;
 }
 .section-inicio .especialistas{
   width: 50%;
 }
 .section-inicio .especialistas h2{
   font-size: 35px;
 }

.section-inicio .especialistas p{
   width: 80%;
   padding-right: 5%;
}
  /*-----------------------------------------------------------------------------------------------------*/
 .controlP{
   width: 100%;
   display: flex;
   height: auto;
 }
 .controlP .plagas{
   width: 50%;
   padding: 2%;
 }
 .plagas h2{
   font-family: 'American Captain', sans-serif;
 }

 .controlP .satisfaccion{
   width: 50%;
   height: auto;
  justify-content: end;
   display: flex;
 }
 .controlP .satisfaccion img{
   width: 66%;
   height: auto;

 }
 .plagas h3{
   font-size: 24px;
 }
 /*-----------------------------------------------------------------------------------------------------*/
.industria{
   width: 100%;
   height: auto;
   text-align: center;
   padding:0;
   padding-top: 2%;
   background-repeat: no-repeat;

   margin: 0;
}
.industry{

   background-color:#fff;
   display: flex;
   gap: 10px;
   padding:0;
   justify-content: center;
   margin: 0;
   padding-bottom: 2%;
}
.industria-grid{
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background-color: #fff;
   width: 28%;
   height: auto;
   padding: 2%;
   margin-top: 2%;

}

.industria-grid button{
   width: 60%;
}
.industria-grid h3{
   font-size: 28px;

}
.secundaria{
   width: 18%;
   margin-top: -18%;
}
    @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;
        }
    }
    strong{

        font-weight: 600;
    
    
    }
     /*-----------------------------------------------------------------------------------------------------*/
  
     /*-----------------------------------------------------------------------------------------------------*/
     .tipos{
      width: 100%;
      margin: 0;
      padding: 0;
      height: auto;
      background-color:#fff;
     
     }
     .tipos h2{
      padding-top: 2%;
      text-align: center;
      margin: 0;
      font-size: 35px;

     }
.grid-container{
   display: grid;
   grid-template-columns: repeat(4, 1fr); /* 4 columnas de igual tamaño */
   gap: 2%; /* Espacio entre los elementos */
   padding: 2%;
  
   
}
.grid-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   background-color:#fff; /* Fondo de cada elemento */
   border-radius: 2px; /* Bordes redondeados */
   padding: 20px;
   text-align: center;
   height: auto;
   color: white;
   overflow: hidden; 
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.2);
}

.grid-item img {
   margin-top: 3%;
   width:60%;
height: auto;
    object-fit: cover; /* La imagen cubrirá completamente el contenedor */
   
}
.grid-item img:hover{
   animation: pulse 1s infinite;
}
.grid-item h3 {
   font-size: 25px;
   margin: 0;
   color:#00135B;
 
}



/*botones llamadas*/
.whatsapp-fixed {
   position: fixed;
   right: 1%; /* Ajusta según tus preferencias */
   bottom:42%;/* Distancia desde el fondo para no superponer el footer */
   color: white;
   padding:0;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 4.3%; /* Tamaño del círculo */
   height:auto; /* 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:1%; /* Ajusta según tus preferencias */
   bottom:30%; /* Distancia desde el fondo para no superponer el footer */
   color: white;
   padding:0;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 4.3%; /* Tamaño del círculo */
   height:auto; /* 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);
}
.whatsapp-fixed img{
   width:60px;
   height:auto;
   box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.call-fixed img{
   width:85px;
   height:auto;
}
.call-fixed i {
   font-size: 30px; /* Aumenta el tamaño del ícono del teléfono */
}
.call-fixed:hover{
   animation: pulse 1s infinite; 
}

  /*fORMULARIO----------------------------------------------------------------------------------------------*/
  .formulario{
   width: 100%;
   height: auto;
   background-size: cover;
   background-image: url(/img/tecnicos-especializados-en-fumigacion.png);
   margin: 0;
   padding: 3%;
   display: flex;
   align-items: center;
   justify-content: center;
  }
.contact-form {
background-color: #fff;
  height:auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
   width: 50%; /* O ajusta según la necesidad */
   text-align: center; /* Centrar el texto y los elementos del formulario */
   padding-bottom: 2%;
   border-radius: 10px;


}
form{
   justify-content: center;
   display: flex;
   align-items: center;
   width: 60%;
}

#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: #666666; /* 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: 1px solid  #00135b; /* Borde del color azul característico */
   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 */
}


#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: 0;
   border-radius: 5px; /* Bordes redondeados para los inputs y textarea */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.2);
   box-sizing: border-box; /* El width incluye el padding y border */
}

#contactForm input[type="submit"] {
 
   width: 40%; /* El botón de envío ocupa todo el ancho */
  padding: 2%;
  border-radius: 5px;
   background-color:#00AAFC; /* Color de fondo azul para el botón */
   color: white; /* Texto blanco en el botón */
   border: none; /* Sin bordes */
justify-content: center;
   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: #00135b; /* Color del botón al pasar el cursor por encima */
}


#contactForm input:invalid,
#contactForm textarea:invalid {
   border-color:  #00135b;
   color: #666666;
    /* Color de borde para campos inválidos */
}

.contact-form h2 {
padding:0;
font-size: 35px;
text-align:center;
   color:#00AAFC;
   letter-spacing: 5px;
}
.contact-form h3{
   padding: 2%;
font-size: 25px;
text-align:center;
   color: #fff;
   font-family: 'American Captain', sans-serif;
   letter-spacing: 5px;
}

.contact-form form {
   display: flex;
   flex-direction: column;
}
.g-recaptcha{
   width: 100%;
   height: auto;
display: flex;
justify-content: center;
}

.copyright{text-align: center;
   background-color:#00135B;
}
.copyright a{
   text-decoration: none;
   color: #fff;
}
  @media (max-width: 768px) {
.home{
   flex-direction: column;
   padding: 2%;
   margin: 0;
   width: 100%;
   background-size: cover;
   background-position: top left;
}header .navegacion .logo img {
   margin: 0;
   width: 50%;
}
.home .fumigamos{
   flex-direction: column;
   width: 100%;
   margin: 0;
   padding: 0;
}
.fumigamos img{
   width: 100%;
}
.banner{
   width: 100%;
   padding: 2%;
   font-size: 18px;
}
.info-box{
   width: 100%;
}
.control, .control h1{
   width: 100%;
   padding: 2%;
   font-size: 29px;
}
.section-inicio .cucarachas{
   width: 100%;
}
.section-inicio .especialistas, .section-inicio .liderimg  {
   width: 100%;
   
}
.section-inicio .especialistas p{
   font-size: 20px;
}
.controlP{
   width: 100%;
   flex-direction: column;
}
.controlP .plagas, .controlP .plagas{
   width: 100%;
   text-align: center;
}
.controlP .plagas p{
   font-size: 20px;
}
.controlP .plagas button{
   width: 60%;
}
.controlP .satisfaccion{
   width: 100%;
   display: flex;
   justify-content: center;
}
.controlP .satisfaccion img {
   margin: 0;
}
.industry{
   flex-direction: column;
   padding: 2%;
}
.industria-grid{width: 100%;
padding: 2%;}
.principal{
   width: 90%;
}

.whatsapp-fixed, .call-fixed{
   right: 9%;
}

.liderimg{
   width: 100%;
}
.liderimg img{
   width: 15%;
}
.section-inicio .exterminadores {
   width: 100%;
   display: flex;
   justify-content: center;
}

.section-inicio .especialistas {
   padding: 2%;
}
.section-inicio .especialistas p{
   width: 100%;
   padding-right: 0;
   padding: 2%;
}


   .llamanos, .navegacion{
      flex-direction: column;
      width: 100%;
      }
      .llama{
         width: 100%;
         text-align: center;
      }
   .redes, .navegacion .logo {
      width: 100%;
      justify-content: center;
   }
   .navegacion nav{
      width: 100%;
      flex-direction: column;

   }
   .navegacion nav a{
      font-size: 18px;
   }
   .section-inicio {
      flex-direction: column;
   }
   
      .grid-container {
         display: flex; /* Cambiamos a flexbox */
         overflow-x: scroll; /* Habilitamos el scroll horizontal */
         scroll-snap-type: x mandatory; /* Activamos el snap para que se desplace de item en item */
         -webkit-overflow-scrolling: touch; /* Suaviza el scroll en dispositivos móviles */
         gap: 10px;
     }
 
     .grid-item {
         flex: 0 0 80%; /* Cada item toma el 80% del ancho en móvil */
         scroll-snap-align: center; /* El item se alinea en el centro del viewport al hacer scroll */
     }
     .formulario{
      background-position: center center;
      width: 100%;

     }
    .contact-form form{
      justify-content: center;
      display: flex;

     }
     .contact-form {
      width: 95%;
      justify-content: center;
      background: none;
  }
  #contactForm input:invalid{width: 100%;}
  #contactForm textarea {
   width: 100%;
  }
  .redes a img{
   width: 50%;
  }
  }
  @media (min-width: 1200px) and (max-width: 1400px){
  }
  @media (min-width: 1800px) and (max-width: 2000px){
   
  }
  @media (min-width: 420px) and (max-width: 600px){
   .llamanos .llama p{
      padding: 5%;

   }
}
   @media (min-width: 600px) and (max-width: 900px){
      .redes a img{
         width: 35%;
      }
      .navegacion .logo img{
         width: 30%;
         height: auto;
         max-height: 300px;
      }
   }
      @media (min-width: 400px) and (max-width: 550px){
         .navegacion .logo img{
            width: 40%;
         }
         .redes a img{
            width: 45%;
         }
         .llamanos .llama p{
            width: 80%;
      
         }
         .main-image {
            width: 50%;
         }
      }
   
 
  
  