@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');
@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
  }
  
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }


:root {
    --main-color: #c47b68;
    --alternative-main: rgb(234, 234, 234);
    --card-height: 65vh;
    --card-width: calc(var(--card-height) / 1.5);
}
 body {
    height: auto;
    font-family: 'Roboto', sans-serif;
    background-size: cover;
    color: #333;
}

/* Clase para aplicar la animación */
.animate {
    will-change: opacity, transform;
    opacity: 0; /* Oculta el elemento inicialmente */
    transform: translateY(20px); /* Posición inicial */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Transición suave */
}

.animate.active {
    animation: fadeInUp 0.8s ease forwards;
}

.container {
    height: auto;
    background-size: cover; 
    
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../IMG/solutions3.jpg');
    width: 100%;
    height: 100vh; 
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}
.text {
    font-family: 'Avenir';
    font-size: 1vw;
    margin-top: 23vw;
    color: white;
    text-align: center;
    position: absolute;
    animation: modernFadeZoom 0.7s ease-in-out forwards; /* Nueva animación */
}
/* Texto en pantallas grandes (1024px en adelante) */
@media (min-width: 1024px) {
    .text {
        font-size: 1.1vw; /* Ajusta el tamaño del texto */
        margin-top: 23vw; /* Mantén la posición debajo de la imagen */
    }
}

/* Texto en tablets (pantallas medianas: 768px a 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .text {
        font-size: 1.9vw; /* Aumenta el tamaño del texto para tablets */
        margin-top: 28vw; /* Baja el texto para tablets */
    }
}

/* Texto en móviles (pantallas pequeñas: 480px a 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .text {
        font-size: 2.8vw; /* Texto más grande para móviles */
        margin-top: 40vw; /* Baja el texto aún más para móviles */
    }
}


@media (max-width: 480px) {
    .text {
        font-size: 3vw; /* Texto más grande para pantallas muy pequeñas */
        margin-top: 40vw; /* Baja el texto para pantallas muy pequeñas */
    }
}
.text-top{
    color: white;
    font-size: 5vw;
    font-family: "LostaBonita";
    margin-bottom: 20vw;
    text-align: center;
    animation: modernFadeZoom 0.6s ease-in-out forwards; /* Nueva animación */

}
@media (max-width: 768px) {
    .text-top {
        font-size: 50px;
    }
}

@media (max-width: 480px){
    .text-top {
        margin-bottom: 202px;
        font-size: 3vh;
    }

 
}

@keyframes modernFadeZoom {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95); /* Desplazado hacia abajo y ligeramente reducido */
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1); /* Posición original y tamaño normal */
    }
}

 html {
     font-size: 62.5%;
     font-family: 'Roboto', sans-serif;
 }
 
 li {
     list-style: none;
 }
 
 a {
     text-decoration: none;
 }


 /* aqui empieza el nav */
  
 .header {
     border-bottom: 1px solid #ffffff00;
     background-color: rgba(97, 97, 97, 0.1); /* Color negro con transparencia */
     backdrop-filter: blur(20px);
     position: fixed; /* Cambiar a fijo */
     top: 0; /* Asegura que se quede en la parte superior */
     width: 99vw; /* Ocupa todo el ancho */
     z-index: 1000; /* Asegura que esté por encima de otros elementos */ 
     user-select: none;
     height: 60px;
     

 }


 
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 1.5rem;
    }
    
    .responsive {
        display: none;
    }
    
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: #fff;
    }
    
    .nav-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-item {
        margin-left: 5rem;
    }
    
    .nav-link {
        font-size: 1.4vw;
        font-weight: 400;
        color: #fff;
        position: relative;
        transition: color 0.3s ease-in-out;
    }
   
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        display: block;
        margin-top: 5px;
        right: 0;
        background: #c47b68;
        transition: width 0.3s ease-in-out;
        -webkit-transition: width 0.3s ease-in-out;
    }
   
    .nav-link:hover {
        color: #c47b68;
    }
   
    .nav-link:hover::after {
        width: 100%;
        left: 0;
        background: #c47b68;
    }
    
    .nav-logo {
        font-size: 3rem;
        font-weight: 500;
        color: #fff;
    }
    
    @media only screen and (max-width: 768px) {
        .nav-menu {
            position: fixed;
            left: -100%;
            top: 5rem;
            flex-direction: column;
            background-color: rgba(34, 34, 34, 0.8); 
            backdrop-filter: blur(50px); 
            width: 100%;
            border-radius: 10px;
            text-align: center;
            transition: 0.3s;
            box-shadow:
                0 10px 27px rgba(0, 0, 0, 0.05);
        }
    
        .nav-link {
            color: #ffffff;
            font-size: 4vw;
        }
    
        .nav-menu.active {
            left: 0;
        }
    
        .nav-item {
            margin: 2.5rem 0;
        }
    
        .responsive {
            display: block;
            cursor: pointer;
        }
    
        .responsive.active .bar:nth-child(2) {
            opacity: 0;
        }
    
        .responsive.active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }
    
        .responsive.active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }
    
    }
   

    /* aqui termina el nav */



.box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-bottom: .7vw solid white;
    overflow: hidden;
    animation: anim 2.5s linear forwards;
    z-index: 1; /* Ensure the box is behind the nav menu */
}


.alman-logo {
    object-fit: cover; /* Mantiene la proporción */
    display: block; /* Asegura que se comporte correctamente */
    animation: anim 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;

}

@keyframes anim {
    0% {
        width: 0;
        height: 0;
    }
    20% {
        width: 70vw;
        height: 0;
    }
    40% {
        width: 70vw;
        height: 16vw;
    }
    60% {
        width: 70vw;
        height: 16vw;
    }
    100% {
        width: 70vw;
        height: 16vw;
    }
}





.mision-vision {
    color: white;
    font-size: 2vw;
    font-family: "LostaBonita";
    text-align: center;
}

.nosotros-titulo{
    background-color: var(--main-color);
    height: auto;
}


.nosotros-titulo h1{
    font-family: 'LostaBonita';
    font-size: 3vw;
    padding-top: 3vw;
    color: white;
    text-align: center;
    text-transform: uppercase;    
}
@media (max-width: 768px) {
    .nosotros-titulo h1 {
        font-size: 8vw; 
    }
}
@media (max-width: 480px) {
    .nosotros-titulo h1 {
        font-size: 8vw; 
    }

}


.hyv {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2vw;
    padding: 2vw;
    flex-wrap: wrap;
    background-color: var(--main-color);
  }

  .izquierda {
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 2vw;
  }
  

  .valores {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1vw;
  }
  

  .mision {
    width: 100%;
    margin: 0 auto;
  }
  
  .mision p {
    font-size: 1.5vw;
    color: white;
    font-family: 'Avenir';
    text-align: center;
  }
  

  .vision {
    width: 100%;
    margin: 0 auto;
  }
  
  .vision p {
    font-size: 1.5vw;
    color: white;
    font-family: 'Avenir';
    text-align: center;
  }
  

  .list-anim {
    position: relative;
    width: 100%;
  }
  
  .list-anim h2 {
    text-transform: uppercase;
    font-family: 'LostaBonita';
    text-align: center;
    color: white;
    font-size: 2vw;
    margin-bottom: 2rem;
  }
  
  .list-anim ul {
    width: 100%;
  }
  
  .list-anim ul li {
    position: relative;
    list-style: none;
    border-left: 3px solid white;
    left: 0;
    transition: 0.5s;
    cursor: pointer;
  }
  
  .list-anim ul li span {
    padding: 20px;
    position: relative;
    z-index: 1;
    transition: 0.5s;
    color: #fff;
    display: block;
    font-size: 1.3vw;
    font-family: "Avenir";
  }
  
  .list-anim ul li:hover {
    left: 10px;
  }
  
  .list-anim ul li::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    transform: scaleX(0);
    transition: 0.5s;
    transform-origin: left;
  }
  
  .list-anim ul li:hover::before {
    transform: scaleX(1);
  }
  
  .list-anim ul li:hover span {
    color: var(--main-color);
  }
  

  .divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    margin: 10px 0;
    border: none;
  }

  .historia {
    width: 48%;
    height: auto;
    background: var(--main-color);
  }
  
  .historia h2 {
    text-transform: uppercase;
    font-family: 'LostaBonita';
    text-align: center;
    color: #fff;
    font-size: 2vw;
  }
  
  .historia p {
    font-size: 1.2vw;
    font-family: 'Avenir';
    color: #fff;
  }
  
  .historia a {
    color: white;
    font-style: oblique;
    font-weight: bolder;
  }
  
  .historia a:hover {
    text-decoration: underline white;
  }
  

  @media (max-width: 1023px) {
    .hyv {
      flex-direction: column;
    }
  
    .izquierda,
    .historia {
      width: 100%;
    }
  
    .list-anim h2 {
      font-size: 4vw;
    }
  
    .list-anim ul li span {
      font-size: 3vw;
    }
  
    .historia h2 {
      font-size: 4vw;
    }
  
    .historia p {
      font-size: 2.5vw;
    }
  
    .mision p,
    .vision p {
      font-size: 3vw;
    }
  }
  @media (max-width: 768px) {
    .hyv {
      flex-direction: column;
      padding-top: 10vw;
    }
  .mision-vision{
    font-size: 7vw;
  }
    .izquierda,
    .historia {
      width: 100%;
    }
  
    .list-anim h2 {
      font-size: 5vw;
      padding-top: 10vw;
    }
  
    .list-anim ul li span {
      font-size: 4vw;
    }
  
    .historia h2 {
      font-size: 5vw;
    }
  
    .historia p {
      font-size: 3vw;
    }
  
    .mision p,
    .vision p {
      font-size: 3.5vw;
    }
  }
  
  @media (max-width: 480px) {
    .list-anim ul li span {
      font-size: 4vw;
    }
    
    .historia h2 {
      font-size: 5vw;
    }
  
    .historia p {
      font-size: 3vw;
    }
  
    .mision p,
    .vision p {
      font-size: 3.5vw;
    }
  }
  






/* Aqui empieza el footer */

.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 1rem;
    font-family: 'Roboto', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-about,
.footer-contact,
.footer-social {
    flex: 1 1 300px;
}

.footer-about h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #c47b68;
}

.footer-about p,
.footer-contact p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #ddd;
}

.footer-social .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social .social-icons i {
    font-size: 2vw;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.footer-social .social-icons i:hover {
    transform: scale(1.2);
    color: #c47b68;
}

@media (max-width: 1023px) and (min-width: 768px) {
    .footer-social .social-icons i {
        font-size: 3vw; 
    }
}


@media (max-width: 767px) and (min-width: 480px) {
    .footer-social .social-icons i {
        font-size: 4vw;
    }
}


@media (max-width: 480px) {
    .footer-social .social-icons i {
        font-size: 5vw; 
    }

    .historia p{
        padding: 3vw;
    }
}


.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    border-top: 1px solid #444;
    padding-top: 1rem;
    color: #aaa;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-about,
    .footer-contact,
    .footer-social {
        flex: 1 1 100%;
    }
}

.footer-contact a{

    text-decoration: none;
    
}

.footer-contact a:hover{
    
    text-decoration: underline white;

}


/* aqui termina el footer */


/* Animación de aparición */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px); 
    }
    to {
        opacity: 1;
        transform: translateY(0); 
    }
}

/* Clase para aplicar la animación */
.animate {
    will-change: opacity, transform;
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate.active {
    animation: fadeInUp 0.8s ease forwards;
}



.Nosotros-personas {
    width: 100%;
    height: 50vw;
    background: #ba7463;
    padding-top: 2vw;
    padding-bottom: 2vw;
}
@media (max-width: 768px){
    .Nosotros-personas {
        height: auto;
    }
}
@media (max-width: 480px) {
    .Nosotros-personas {
        height: auto;
    }

    .list-anim ul li:hover::before {
        transform: scaleX(0.97);
      }

      .list-anim {
        position: relative;
        width: 97.6%;
        margin-bottom: 20vw;
      }



}

.Encabezado-Nosotros{
    font-family: 'LostaBonita';
    font-size: 3vw;
    padding-top: 4vw;
    color: white;
    text-align: center;    
}
@media (max-width: 768px) {
    .Encabezado-Nosotros {
        font-size: 6vw; 
    }
}


.card-rol{
    width: 23vw;
}

.Rol1{
    font-family: 'AvenirLight';
    font-weight: lighter;
    font-size: 3vw;
    color: white;
    position: relative;
    display: flex;
    text-align: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .Rol1 {
        margin-top: 10vw;
        font-size: 5vw; 
    }
}
.Rol2{
    font-family: 'Avenir';
    font-weight: lighter;
    font-size: 3vw;
    color: white;
    position: relative;
    display: flex;
    text-align: center;
    justify-content: center;
}

.cartas{
    justify-content: center;
    display: flex;
    gap: 16vw;
    height: auto;
}

@media (max-width: 767px) {
    .cartas {
        flex-direction: column;
        gap: 4vw; 
        height: auto; 
        align-items: center;

    }
}


@media (max-width: 500px) {
    .cartas {
        flex-direction: column; 
        gap: 6vw; 
        height: 300vw;
        align-items: center;

    }
}



.Services {
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../IMG/estudio\ .jpg');
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
@media (max-width: 768px) {
    .Services {
        height: 30vh;  
    }
}

