@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;1,300;1,600&display=swap');
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
}

:root {
    --primary: #78992b;
    --secondary: #F4EBFF;
    --text-primary: #17233a;
    --text-secondary: #667085;
    --badge-bg: #ECFDF3;
    --badge-text: #027A48;
    --white: #fff;
    --dropdown-bg: rgb(252, 253, 251);
    --shadow: rgba(32, 7, 65, 0.14);
    --container: 124rem;
    --nav-height: 7rem;
    --dark-color: #000;
}

html {
    font-family: 'Open Sans', sans-serif;
    font-size: 62.5%;
    font-style: normal;
}

body {
    font-size: 1.8rem;
}

h1{
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 20px;
}

p{
    color: #687186;
    margin-bottom: 15px;
}




.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-img {
    width: 17rem;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    position: relative;
    background: var(--white);
}

.nav_list {
    display: inline-flex;
    gap: 2rem;
    align-items: center;
    margin: 0 1.5rem;
}

.nav_action {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav_link,
.btn {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.btn-primary {
    display: inline-flex;
    color: var(--white);
    background: var(--primary);
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 1.5rem;
}

.nav_toggle {
    cursor: pointer;
    display: none;
}

.nav_toggle ion-icon {
    font-size: 3.5rem;
    color: #000;
}

.dropdown {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--dropdown-bg);
    box-shadow: 0rem 0.2rem 0.5rem var(--shadow);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.5s ease-in;
}

.dropdown-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.nav_list_menu:hover ion-icon {
    transition: all 0.5s ease-in;
    transform: rotate(180deg);
}

.nav_list_menu:hover .dropdown {
    clip-path: polygon(0 0, 100% 0, 100% 102%, 0 102%);
}

.item-list {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

.item-img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
}

.item-list-info {
    position: relative;
    width: 100%;
}

.item-list-info a{
    color: #101828;
}
.item-list-info a:hover{
    color: #027A48;
}

.info-badge {
    position: absolute;
    right: 1rem;
    top: 0;
    background: var(--badge-bg);
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
    color: var(--badge-text);
}


.servicios{
    text-align: center;
    margin-top: 80px;
    justify-content: center;
    align-items: center;
   
    
}

.servicios h1{
    padding: 0 50vh;
}

.servicios-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }

.servicios-img img{
    width: 850px;
    height: 453px;
    border-radius: 12px;
    box-shadow: 4px 4px 7px 0 rgba(20, 20, 20, 0.178);
}

.servicios h1{
    text-transform: capitalize;
}






.proposito{
    padding: 0 45vh;
    
}

.ambiente{
    padding: 0 40vh 0 40vh ;
}

.ambiente-img img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 4px 4px 7px 0 rgba(20, 20, 20, 0.178);
    
}




.oferta {
    padding: 0 45vh;
    
}

.oferta h1{
    margin: 20px 0 20px 0;
    color: #78992b;
}

ul{
    padding: 20px;
    color: #687186;
    
}

li{
    list-style: inside;
    list-style-position: outside;
    margin-bottom: 20px;
    
}

.contenidos{
    padding: 0 45vh;
   
}

.contenidos-img img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 4px 4px 7px 0 rgba(20, 20, 20, 0.178);
}

.contenidos-item li{
    list-style-type: decimal-leading-zero;
}


/* -------MEDIA QUERIES----------- */

    


    

    
    /*------------NAVIGATION MENU ------------*/
    @media screen and (max-width: 1100px){
        
        .servicios-img img{
            justify-content: center;
            align-items: center;
            width: 90%;
            height: 90%;
          }


        .proposito,
        .ambiente,
        .oferta,
        .servicios h1,
        .contenidos
        {
            padding: 0 20px;
        }
    }

    @media (max-width:1008px) {
        .nav_toggle {
            display: block;
        }
        .nav_menu {
            position: absolute;
            top: var(--nav-height);
            left: 0;
            width: 100%;
            background: var(--dropdown-bg);
            display: none;
        }
        .nav_menu.active {
            display: block;
        }
        .nav_list {
            display: block;
            margin: 2rem 0;
            text-align: center;
        }
        .nav_link {
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
        }
        .dropdown {
            top: 0;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
            box-shadow: none;
            height: 0;
            text-align: start;
            transition: all 0.5s ease-in;
        }
        .nav_list_menu:hover .dropdown {
            height: 100%;
            transition: all 0.5s ease-in;
        }


    }
    
    @media (max-width:730px) {
        .nav_toggle {
            display: block;
        }
        .nav_menu {
            position: absolute;
            top: var(--nav-height);
            left: 0;
            width: 100%;
            background: var(--dropdown-bg);
            display: none;
        }
        .nav_menu.active {
            display: block;
        }
        .nav_list {
            display: block;
            margin: 2rem 0;
            text-align: center;
        }
        .nav_link {
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
        }
        .dropdown {
            top: 0;
            position: relative;
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
            box-shadow: none;
            height: 0;
            text-align: start;
            transition: all 0.5s ease-in;
        }
        .nav_list_menu:hover .dropdown {
            height: 100%;
            transition: all 0.5s ease-in;
        }

        .servicios {
            font-size: 1.3rem;
        }

        .servicios-img img{
            justify-content: center;
            align-items: center;
            width: 90%;
            height: 90%;
          }


        .proposito,
        .ambiente,
        .oferta,
        .contenidos
        {
            padding: 0 20px;
        }

        
        
    }

    

@media (max-width:365px) {
    .logo-img {
        width: 18rem;
    }
    .btn,
    .btn-primary {
        padding: 0.4rem 1rem;
    }

    .servicios h1{
        padding: 0 10px;
        font-size: 2.5rem;
    }

    .proposito,
    .ambiente,
    .oferta
    .contenidos
        {
            padding: 0 20px;
        }
}




