/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url(../assets/backgorund_2.svg);
    background-position: center center;
    background-repeat: repeat-y;
    background-size: cover;
    background-attachment: fixed;
}

h1 {
    color: #212121;
    font-family: Futuru;
    font-size: 58px;
    font-style: normal;
    font-weight: 900;
    line-height: 60px; /* 103.448% */
}

h2 {
    color: #212121;
    font-family: Futuru;
    font-size: 58px;
    font-style: normal;
    font-weight: 700;
    line-height: 50px; /* 86.207% */
}

h3 {
    color: #ACACAC;
    font-family: Syne;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

header {
    width: 100%;
    background-color: transparent;
    padding: 10px 0;
    position: relative;
}

.navbar {
    max-width: 1200px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-family: "Syne", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

.contact-btn {
    background-color: #A3D68D;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.contact-btn:hover {
    background-color: #8fcf7d;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #000;
}

.section1 {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.section1 img {
    width: 90%;
}

.expandir {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    margin: 2rem 0;
}

.cards {
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: center;
    gap: 32px;
}

.cards div {
    display: flex;
    width: auto;
    height: 220px;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 10px;
    background: #9DDE8B;
    transition: all 0.6s ease;
}

.cards div:hover {
    box-shadow: 0px 10px 12px 10px #9DDE8B;
    transition: all 0.6s ease;    
}

.cards div p {
    color:#374E31;
    text-align: center;
    font-family: Futuru;
    font-size: 38px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.cards div:nth-child(2) {
    background: #E1F5DB;
}

.cards div:hover:nth-child(2) {
    box-shadow: 0px 10px 12px 10px #E1F5DB;
}

.priteria {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 2rem;
}

.priteria div:nth-child(1) {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.priteria div:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 2rem;
}

.priteria img {
    width: 100%;
    max-width: 600px;
}

.priteria li, p {
    color: #ACACAC;
    font-family: Syne;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Efecto de animación del ícono de hamburguesa al abrir el menú */
.hamburger.toggle .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px); /* Ajuste fino para la alineación */
}

.hamburger.toggle .bar:nth-child(2) {
    opacity: 0; /* Ocultar la barra central */
}

.hamburger.toggle .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px); /* Ajuste fino para la alineación */
}


.solution__card{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 0px 20px;
    width: 100%;
}

.solution__card img{
    max-width: 350px; 
}

.solution__title{
    font-weight: 900;
    color: #212121;
    font-size: 3rem;
    line-height: 50px;
    font-family: 'Futuru', sans-serif;
    padding-bottom: 15px;
}

.solution__description{
    color: #ACACAC;
    font-weight: 500;
    font-size: 2rem;
    line-height: 38.4px;
    max-width: 600px;
}

.btn-end{
    color: #374E31;
    line-height: normal;
    font-weight: 700;
    font-size: 3.125rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9DDE8B;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.btn-end:hover{
    filter: brightness(95%);
}
/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: -100%; /* Inicia fuera de la pantalla */
        left: 0;
        width: 100%;
        height: 100vh; /* Ocupa toda la pantalla */
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centra los elementos verticalmente */
        align-items: center; /* Centra los elementos horizontalmente */
        transition: top 0.5s ease; /* Transición suave */
    }

    .nav-links.active {
        top: 0; /* Baja el menú cuando está activo */
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        justify-content: space-between;
    }

    .section1 {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .section1 img {
        display: none;
    }

    .expandir {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .expandir h3 {
        margin-top: 1rem;
    }

    .cards {
        flex-direction: column;
    }
    
    .cards div {
        width: 100%;
        height: 8rem;
    }

    .priteria {
        display: flex;
        flex-direction: column;
        padding: 2rem 3rem;
    }

    .solution__card{
        gap: 10px;
        flex-wrap: wrap;
        text-align: center;
    }
    .solution__card div{
        width: 100%;
    }

    .order-2{
        order: 2;
    }
    
    .order-1{
        order: 1;
    }
}