@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body,p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}  

html, body {
    width: 100%;
    background: #021534;
    overflow-x: hidden; 
    
  }
  

section {
    
  }
  .s1 {
    background-image: url('/assets/images/fondoInicio.png');
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat; 
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .section1 {
    padding: 0 5%;
    color: white;
  }
  .section1 p {
    font-weight: bold;
    margin: 0;
  }
  
  .section1 h3 {
    font-weight: 400;
    margin: 20px 0;
  }
  
  .btnComienza {
    margin-top: 20px;
  }
  
  .btnComienza button {
    background: linear-gradient(to right, #023378, #1576d7);
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 4px rgb(255, 255, 255);
  }

  .btnClientes{
    position: absolute;
    background-image: url('./assets/images/clientes.png');
    bottom: 70px;
    right: 50px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height:12%;
    width: 12%;
  }
  
  .s2 {
    background-image: url('/assets/images/fondoServicios.png');
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat; 
    min-height: 100vh;
    width: 100%;
    display: flex;
  }

  .services-S1 {
    width: 50%;
    padding: 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .services-S2 {
    width: 50%;
    background-image: url('/assets/images/phone.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .s3 {
    color: white;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  
  .beneficios-container {
    width: 100%;
  }
  
  .beneficios-titulo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .beneficios-descripcion {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.5;
  }

  
  
  .s4 {
    color: white;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }
  
  .resultados-titulo {
    font-size: 18px;
    font-weight: 500;
    color: #ccc;
    margin-bottom: 40px;
  }
  
  
  
  .s5 {
    color: white;
    padding: 60px 20px;
    text-align: center;
    min-height: 100vh;
  }
  
  .proyectos-container {
    margin: auto;
  }
  
  .proyectos-titulo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
  }
  
  .proyectos-subgrupo {
    margin-bottom: 40px;
    width: 100%;
  }
  
  .proyectos-subgrupo h3 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
    color: white;
  }
  
  .proyectos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .proyectos-grid img {
    padding: 10px;
    transition: transform 0.3s ease;
  }
  
  .proyectos-grid img:hover {
    transform: scale(1.05);
  }
  
  .webs-grid img {
    border-radius: 16px;
    object-fit: cover;
    background: none;
    padding: 0;
  }
  
  .s6 {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-image: url('/assets/images/fondoServicios.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 40px;
    box-sizing: border-box;
  }
  
  .s6 .form {
    flex: 1;
    padding: 20px 40px;
  }
  
  .contacto-titulo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .formulario-contacto label {
    font-size: 14px;
    margin-bottom: 4px;
  }
  
  .formulario-contacto input,
  .formulario-contacto textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid white;
    padding: 8px 4px;
    color: white;
    font-size: 14px;
    outline: none;
    width: 100%;
  }
  
  .form-doble {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .form-doble div {
    flex: 1;
    min-width: 140px;
  }
  
  .boton-enviar {
    margin-top: 20px;
    background: linear-gradient(to right, #0047AB, #1E90FF);
    color: white;
    font-weight: bold;
    border: none;
    padding: 20px 60px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 4px rgb(255, 255, 255);
    transition: all 0.3s ease;
    align-self: start;
  }
  
  .boton-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3), 0 0 0 2px #999;
  }
  
  .imgForm {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .imgForm img {
    max-width: 100%;
    height: auto;
  }

  .footer-copy {
    background-color: #021534;
    color: #ccc;
    text-align: center;
    font-size: 14px;
    padding: 15px 10px;
  }
  
  
  .main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 50px;
  }
  
  .main-header.scrolled {
    background-color: #021534;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  .main-header .logo img {
    max-height: 120px; /* controla el tamaño visual del logo */
    padding-top: 10px;
    height: auto;
    object-fit: contain;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
  }
  
  /* BOTÓN MENU (HAMBURGUESA) */
  .menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
  }

  /*
  .imgFont{
    background-image: url('assets/images/craft.png');
    position: absolute;
    background-size:contain;
    background-position: center; 
    background-repeat: no-repeat; 
    height: 400vh;
    min-height: 100vh;
    width: 100%;
    top: 110vh;
    z-index: 0;
    right: -500px;
  }*/
  
  .resultados-grid  {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .beneficios-grid{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  } 
  .beneficio-item {
    background-image: url('./assets/images/cuadro.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 220px;
    width: 240px;
    padding: 40px 40px;
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  
  .resultado-box {
    background-image: url('/assets/images/fondoItem.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    width: 250px;
    padding: 20px 30px;
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .resultado-box h3 {
    font-size: 60px;
    font-weight: bold;
    margin: 0;
  }
  
  .resultado-box p {
    font-size: 40px;
    color: white;
    margin: 0;
  }
  
  .proyectos-grids{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
    justify-items: center;
  }
@media (max-width: 479px) {
    
    .section1 {
        width: 100%;
        padding-top: 15vh;
        text-align: center;
      }
    
      .section1 p {
        font-size: 7vw;
        line-height: 1.1;
      }
    
      .section1 h3 {
        font-size: 4vw;
      }
    
      .btnComienza button {
        margin-top: 20px;
        font-size: 4vw;
        padding: 10px 20px;
      }

      .s2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .services-S1, .services-S2 {
        width: 100%;
        display: flex;
        align-items: center;
      }
    
      .services-S2 {
        height: 300px;
        background-size: 60%;
      }
    
      .titulo-servicios {
        font-size: 24px;
      }
    
      .descripcion-servicios {
        font-size: 14px;
      }
    
      .card-servicio {
        margin-top: 20px;
        padding: 15px;
        font-size: 14px;
        width: 80%;
        background: rgb(18, 21, 85);
        border-radius: 20px;
      }
    
      .card-servicio h3 {
        font-size: 16px;
      }
    
      .card-servicio p {
        font-size: 13px;
      }

      .s3 {
        padding: 40px 20px;
      }
    
      .beneficios-titulo {
        font-size: 24px;
      }
    
      .beneficios-descripcion {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 30px;
      }
    
      .s4 {
        padding: 40px 20px;
      }
    
      .resultados-titulo {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 50px;
      }
    
      .resultados-grid {
        grid-template-columns: 1fr;
        
      }

      .s5 {
        padding: 60px 20px;
      }
    
      .proyectos-titulo {
        font-size: 22px;
      }
    
      .proyectos-subgrupo h3 {
        font-size: 18px;
        text-align: center;
      }
    
      .apps-grid img {
        height: 60px;
        width: 60px;
      }
    
      .webs-grid img {
        max-width: 100%;
        border-radius: 12px;
      }

      .s6 {
        flex-direction: column;
        padding: 20px;
      }
    
      .s6 .form {
        padding: 0;
      }
    
      .contacto-titulo {
        font-size: 20px;
        text-align: center;
      }
    
      .formulario-contacto label {
        font-size: 13px;
      }
    
      .formulario-contacto input,
      .formulario-contacto textarea {
        font-size: 13px;
      }
    
      .form-doble {
        flex-direction: column;
      }
    
      .boton-enviar {
        align-self: center;
        font-size: 14px;
        padding: 10px 25px;
      }
    
      .imgForm {
        margin-top: 30px;
      }
    
      .imgForm img {
        width: 70%;
      }

      .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #021534;
        display: none;
      }
    
      .nav-links.active {
        display: flex;
      }
      .nav-links a {
        padding: 15px;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }
    
      .menu-toggle {
        display: block;
        margin-right: 40px;
      }
      
      .beneficio-item{
        width: 120px;
        height: 100px;
        background-size: cover;
        background-position: center;
      }
      .resultado-box {
        width: 140px;
        height: 120px;
        padding: 20px 30px;
        background-size: cover;
        background-position: center;
      }
      
      .resultado-box h3 {
        font-size: 32px;
      }
      
      .resultado-box p {
        font-size: 18px;
      }

      .proyectos-grid img {
        height: 150px;
        width: 150px;
      }
      .webs-grid img {
        width: 80%;
        height: 400px;
        max-width: 420px; /* Reducción para que no se vean enormes */
      }
      
  }
  
  @media (min-width: 480px) and (max-width: 999px) {

    .section1 {
        width: 100%;
        padding-top: 20vh;
      }
    
      .section1 p {
        font-size: 6vw;
        line-height: 1.2;
      }
    
      .section1 h3 {
        font-size: 3vw;
      }
    
      .btnComienza button {
        font-size: 16px;
        padding: 12px 25px;
      }
      .s2 {
        flex-direction: row;
        align-items: center;
      }
    
      .services-S1, .services-S2 {
        width: 100%;
        padding: 30px 40px;
      }
    
      .services-S2 {
        height: 350px;
        background-size: 80%;
      }
    
      .titulo-servicios {
        font-size: 28px;
        text-align: center;
      }
    
      .descripcion-servicios {
        font-size: 15px;
        text-align: center;
      }
    
      .card-servicio {
        margin-top: 25px;
        padding: 20px;
        background: #021534;
        border-radius: 20px;
      }
    
      .card-servicio h3 {
        font-size: 18px;
      }
    
      .card-servicio p {
        font-size: 14px;
      }

      .beneficios-titulo {
        font-size: 28px;
      }
    
      .beneficios-descripcion {
        font-size: 15px;
        margin-bottom: 30px;
      }

      .resultados-titulo {
        font-size: 18px;

      }
    
      .resultados-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .s5 {
        padding: 70px 30px;
      }
    
      .proyectos-titulo {
        font-size: 28px;
      }
    
      .apps-grid img {
        height: 70px;
        width: 70px;
      }
    
      .webs-grid img {
        max-width: 90%;
      }

      .s6 {
        flex-direction: column;
        padding: 30px;
      }
    
      .s6 .form {
        padding: 0;
      }
    
      .form-doble {
        flex-direction: column;
      }
    
      .imgForm {
        margin-top: 40px;
      }
    
      .imgForm img {
        width: 60%;
      }
    
      .boton-enviar {
        font-size: 15px;
        padding: 12px 30px;
        align-self: center;
      }
      .nav-links {
        margin-right: 70px;
      }
    
      .nav-links a {
        font-size: 15px;
      }
    
      .menu-toggle {
        display: none;
      }
      .beneficio-item {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100px;
        font-size: 20px;
      }
      .proyectos-grid img {
        height: 100px;
        width: 100px;
      }
      .webs-grid img {
        width: 100%;
        height: 500px;
        max-width: 420px; /* Reducción para que no se vean enormes */
      }
  }
  
  
  @media (min-width: 1000px) {

    .section1 {
        width: 50%;
        padding-left: 5%;
        padding-top: 25vh;
      }
    
      .section1 p {
        font-size: 4vw;
        line-height: 1.1;
      }
    
      .section1 h3 {
        font-size: 1.5vw;
      }
    
      .btnComienza button {
        font-size: 18px;
        padding: 20px 60px;
      }
      .s2 {
        flex-direction: row;
      }
    
      .services-S1, .services-S2 {
        width: 50%;
      }
    
      .services-S2 {
        height: auto;
        background-size: 70%;
      }
    
      .titulo-servicios {
        font-size: 46px;
        margin-left: 30px;
      }
    
      .descripcion-servicios {
        font-size: 20px;
        margin-left: 30px;
      }
    
      .card-servicio {
        margin-top: 30px;
        padding: 25px;
        background: #021534;
        border-radius: 20px;
        width: 70%;
        margin-left: 30px;
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
    
      .card-servicio h3 {
        margin: 0;
        font-size: 20px;
      }
    
      .card-servicio p {
        
        font-size: 20px;
      }

      .beneficios-titulo {
        font-size: 50px;
      }
    
      .beneficios-descripcion {
        font-size: 20px;
      }
    
      .resultados-titulo {
        font-size: 40px;
        margin-bottom: 60px;
        color: white;
        font-size: bold;
      }


      .proyectos-titulo {
        font-size: 36px;
      }
    
      .proyectos-grid img {
        height: 230px;
      }

    
      .webs-grid img {
        width: 100%;
        height: 500px;
        max-width: 420px; /* Reducción para que no se vean enormes */
      }

      .s6 {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 60px 80px;
      }
    
      .formulario-contacto {
        max-width: 600px;
      }
    
      .imgForm img {
        max-width: 800px;
      }
      .nav-links {
        margin-right: 100px;
      }
      .beneficio-item {
        font-size: 22px;
      }
  }
  