/**************************************************************************************************************************************/
html {
    scroll-behavior: smooth;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}

.logo {
    width: 200px;
    height: auto;
    max-width: 100%;
}

.logo-esquina {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    height: auto;
    z-index: 10;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/**************************************************************************************************************************************/

body {
    font-family: "open sans";
    
}
/**************************************************************************************************************************************/

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: #4E37C5;
    font-size: 30px;
    text-align: center; 
    margin-bottom: 60px;
}


header {
    position: relative;
    width: 100%;
    height: 600px;
    background: linear-gradient(to left, rgba(78, 55, 197, 0.7), rgba(50, 30, 150, 0.7)), url(../img/Fondo_1.jpg);
    background-size: cover;
    background-attachment: fixed;
}




nav {
    text-align: right;
    padding: 30px 50px 0 0;
}

nav > a {
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    margin-right: 20px;
}

nav > a:hover {
    text-decoration: underline;
}

header .textos-header {
    display: flex;
    height: 350px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1 {
    font-size: 50px;
    color: #fff;
}

.textos-header h2 {
    font-size: 30px;
    font-weight: 300;
    color: #fff;
}


.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-bottom: -1px; 
}


.contenedor-quien-somos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center; 
}


.contenedor-quienes-somos {
    display: flex;
    align-items: center; 
    gap: 20px; 
}

.imagen-logo {
    width: 400px;
    height: auto;
    margin-right: 20px; 
    flex-shrink: 0;
    transition: all 1.5s ease-in-out;
}
  
  .imagen-logo.activo {
    opacity: 1;
   
  }

.contenido-textos {
    flex: 1;
}

.contenido-textos p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: left;
}

.vision-mision {
    display: flex;
    justify-content: space-between;
    gap: 40px; 
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
    transition: transform 0.3s ease; 
  }
  
  .vision, .mision {
    flex: 1; 
    background-color: #4e37c6; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    padding: 20px;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
    cursor: pointer; 
  }
  
  .vision:hover, .mision:hover {
    background: #4d0686; 
    transform: scale(1.05); 
  }
  
  .titulo-seccion {
    font-size: 24px;
    color: #ffffff; 
    margin-bottom: 15px;
    font-weight: bold;
  }
  
  .texto-desplegable {
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.5s ease, padding 0.5s ease; 
  }
  
  .texto-desplegable.abierto {
    max-height: 500px; 
    padding-top: 20px; 
  }
  
  .texto-seccion {
    font-size: 16px;
    color: #eee9f9; 
    line-height: 1.6;
  }
  
  
  @media (max-width: 768px) {
    .vision-mision {
      flex-direction: column; 
      gap: 20px;
    }
  
    .vision, .mision {
      flex: 1 1 100%; 
    }
  }

  

.vista-productos {
    position: relative;
      background: linear-gradient(to left, rgba(78, 55, 197, 0.7), rgba(50, 30, 150, 0.7)), url(../img/Fondo_1.jpg);
      background-size: cover;
      background-attachment: fixed;
      padding: 60px 0; 
      color: #fff; 
  }
  

  .contenedor-productos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex-wrap: wrap; 
  }
  
  
  .carta-producto {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9); 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    padding: 20px;
    min-width: 200px; 
    flex: 1 1 300px; 
    max-width: 400px; 
    transition: transform 0.3s ease; 
  }

  .carta-producto:hover {
    transform: scale(1.05); 
}
  
 
  .imagen-circular {
    width: 120px;
    height: 120px;
    border-radius: 50%; 
    overflow: hidden; 
    margin: 0 auto 15px; 
  }
  
  .imagen-circular img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
  }
  
  
.nombre-producto {
    font-size: 20px; 
    color: #4E37C5; 
    margin: 10px 0; 
    font-weight: bold; 
}

  
  .descripcion-producto {
    font-size: 16px;
    color: #333; 
    margin-top: 10px;
    text-align:center;
  }
  
  
  .logo-centro {
    text-align: center;
    flex: 0 0 150px; 
  }
  
  .logo-centro img {
    max-width: 150px; 
    height: auto;
  }

  
@media (max-width: 768px) {
    .contenedor-productos {
        flex-direction: column; 
        gap: 20px;
    }

    .carta-producto {
        flex: 1 1 100%; 
        max-width: 100%;
    }

    .logo-centro {
        order: -1; 
    }
}


.iconos-redes {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    margin-top: 20px; 
  }
  
  .icono-red {
    width: 32px; 
    height: 32px;
    transition: transform 0.3s ease; 
  }
  
  .icono-red:hover {
    transform: scale(1.1); 
  }


.about-services {
    background: #ffffff;
    padding-bottom: 30px;
}

.servicio-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind {
    width: 28%;
    text-align: center;
}

.servicio-ind img {
    width: 90%;
}

.servicio-ind h3 {
    margin: 10px 0;
}

.servicio-ind p {
    font-weight: 300;
    text-align: justify;
}




@media (max-width: 768px) {
  
    body {
      font-size: 14px; 
    }
  
    .titulo {
      font-size: 24px; 
      margin-bottom: 30px;
    }
  
   
    header {
      height: 400px; 
    }
  
    header .textos-header h1 {
      font-size: 36px; 
    }
  
    header .textos-header h2 {
      font-size: 20px; 
    }
  
    
    nav {
      padding: 10px 20px; 
    }
  
    .nav-menu {
      display: none; 
      flex-direction: column;
      background-color: rgba(78, 55, 197, 0.9); 
      position: absolute;
      top: 60px;
      right: 0;
      width: 100%;
      text-align: center;
    }
  
    .nav-menu.active {
      display: flex; 
    }
  
    .nav-menu li {
      margin: 10px 0; 
    }
  
    .menu-toggle {
      display: block; 
    }
  
  
    .contenedor-quienes-somos {
      flex-direction: column; 
      align-items: center;
      text-align: center;
    }
  
    .imagen-logo {
      width: 200px;
      margin-right: 0;
      margin-bottom: 20px;
    }
  
    .contenido-textos p {
      text-align: center; 
    }
  
  
    .vision-mision {
      flex-direction: column; 
      gap: 20px;
    }
  
    .vision, .mision {
      width: 100%; 
    }
  
 
    .contenedor-productos {
      flex-direction: column; 
      gap: 20px;
    }
  
    .carta-producto {
      width: 100%; 
      max-width: 100%;
    }
  
    .logo-centro {
      order: 0; 
      margin-bottom: 20px;
    }
  
 
    .servicio-cont {
      flex-direction: column; 
      gap: 20px;
    }
  
    .servicio-ind {
      width: 100%; 
    }
  
    
    .form-row {
      flex-direction: column;
    }
  
    .form-group {
      width: 100%; 
      margin-bottom: 15px;
    }
  
   
    .contenedor-footer {
      flex-direction: column; 
      gap: 20px;
      text-align: center;
      align-items: center;
    }
  
    .content-foo {
      width: 100%; 
    }
  
    
    .scroll-top-btn, .whatsapp-btn {
      width: 40px; 
      height: 40px;
    }
  
    .scroll-top-btn img, .whatsapp-btn img {
      width: 20px; 
      height: 20px;
    }
  }
  
  @media (max-width: 480px) {
    
    header .textos-header h1 {
      font-size: 28px; 
    }
  
    header .textos-header h2 {
      font-size: 18px; 
    }
  
    .titulo {
      font-size: 20px; 
    }
  
    .btn-enviar {
      padding: 8px 16px;
    }
  }


