:root {
    --main-bg: #FCFCFC;
    --black-color:  #011710;
    --gren-color: #B3E5BE;
    --blue-color: #DCEBF0;
  }

#services{
    margin-top: 0;
}

.hero-services{
    display: flex;
    justify-content: center;
    background-color: var(--black-color);
}

@keyframes slidedown {
    0% {
        transform: scale(0.9);
        margin-top: -2%;
        opacity: 0;
    }

    100%{
        transform: scale(1);
        margin-top: 6%;
        opacity: 1;
    }
  }

.container-hero-services-content{
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    align-items: center;
    color: var(--main-bg);
    margin-bottom: 12%;
    margin-top: -2%;
    animation: slidedown cubic-bezier(0.23, 0.75, 0.31, 0.98) 400ms forwards;
}

.p-banner{
    min-width: 200px;
    max-width: 550px;
    width: 100%;
    opacity: 0;
    animation: fade 1000ms cubic-bezier(0.23, 0.75, 0.31, 0.98) 0.3s forwards;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.p-banner, .pills-banner{
    text-shadow: none;
    box-shadow: none;
}


/********* MAIN  ********/

.container-content-services{
    max-width: 1800px;
    margin: auto;
}

.container-services{
    margin-top: -3%;
    color: var(--black-color);
    margin-bottom: 180px;
    opacity: 0;
    animation: slideup cubic-bezier(0.23, 0.75, 0.31, 0.98) 500ms forwards;
    animation-delay: 0.4s;
}

@keyframes slideup {
    0% {
        margin-top: 24px;
        opacity: 0;
    }

    100%{
        margin-top: -3%;
        opacity: 1;
    }
  }

.card-services{
    background-color: var(--main-bg);
    color: var(--black-color);
    display: flex;
    gap: 64px;
    padding: 16px;
    border: solid 5px var(--black-color);
}

.card-services:hover .card-services-head{
    background-color: var(--black-color);
}

.card-services:hover .sticky{
    filter: invert(1);
}

.card-services-head{
    width: 20%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    transition: cubic-bezier(0.23, 0.75, 0.31, 0.98) .6s;
}

.sticky{
    position: sticky;
    top: 32px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 32px;
    transition: cubic-bezier(0.23, 0.75, 0.31, 0.98) 350ms;
}

.img-card-services{
    width: auto;
    height: 100%;
    max-height: 120px;
}

.number-card{
    margin: 0;
}

.card-services-main{
    width: 80%;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.card-services-main-content{
    display: flex;
    gap: 32px;
    padding: 8px 0;
}

.card-services-main-content-info{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p-title{
    font-size: 23px;
    text-transform: uppercase;
}

.p-card{
    font-size: 20px;
    color: #205746;

}

.content-btn{
    justify-content: flex-end;
}

#audit, #site{
    margin-bottom: 140px;
}

/* RESPONSIVE */

@media screen and (min-width: 1900px) {

    section{
        width: 100%;
    }
}

@media screen and (max-width: 890px) {

    .card-services{
        gap: 48px;
    }
    
    .card-services-main-content{
        flex-direction: column;
    }

    .card-services-main{
        gap: 32px;
    }

    .content-btn{
        margin-top: 32px;
    }
}

@media screen and (max-width: 630px){
    .card-services{
        flex-direction: column;
        gap: 24px;
    }

    .card-services-head, .card-services-main{
        width: 100%;
    }

    .card-services-head{
        padding: 16px 0;
    }

    .img-card-services{
        max-height: 100px;
    }

    #audit, #site{
        margin-bottom: 80px;
    }

}