/* Variables de color */
:root {
    --yellow: #f7b835;
    --yellowHover:#FFD700;
    --brown: #473108;
    --brownLight: #4A4A4A;
    --brownPastel: #e8e0d4;
    --red:#E91E63;
    --redHover:#C2185B;
    --white:#ffffff;
}


.hero {
    background: url('../img/descolonial.png') no-repeat center center/cover;
}
/* SECCIÓN DE asesorias */
.asesoria {
    text-align: center;
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.asesoria{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contenedor{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.titulo-seccion {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--brown);
}

/* GRID DE DONACIONES */
.grid-asesoria  {
    display: grid;
    gap: 2rem;
}

.tarjeta {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.tarjeta:hover {
    transform: translateY(-5px);
}

.tarjeta img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}


.tarjeta h3 {
    color: var(--brown);
    font-size: 1.5rem;
}


.btn {
    display: inline-block;
    margin-top: 1rem;
    background: var(--yellow);
    color: var(--brown);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: var(--yellowHover);
}


.services {
    width: 100%;
    /* height: 100vh; */
    display:grid;
    place-items: center;
    padding: 4rem 1rem;
    /* margin-top:8rem; */
}

.services .row{
    display: flex;
    flex-wrap:wrap;
}   

.services .column{
     width:100%;
     /* border: 1px solid orange; */
     padding: 0 1em 1em 1em;
     text-align: center;
}

.services .card{
    /* border: 1px solid black; */
    width:100%;
    height: 100%;
    padding: 2em 1.5em;
    background: linear-gradient(#ffffff 50%, var(--yellow) 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 5px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: 0.5s;
}

.services h3{
    font-size: 20px;
    font-weight: 600;
    color: #1f194c;
    margin: 1em 0;
}

.services p{
    color: #575a7b;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
}

.services .row .column .card .info{
    text-decoration: none;
    /* width:80%; */
    /* max-width: 300px; */
    padding: 0.8rem;
    border:0;
    outline: 0;
    border-radius: 5px;
    background:var(--yellow);
    /* background:var(--text-main-color); */
    
    color:#ffffff;
    font-weight: bold;
    cursor: pointer;
    /* margin: 2rem auto; */
    margin-bottom: 1rem;
}

.services .icon-wrapper{
    background-color: var(--yellow);
    position: relative;
    margin: auto;
    font-size: 30px;
    height: 2.5em;
    width: 2.5em;
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: 0.9s;
}

.services .row:nth-child(2) .column:nth-child(1) .card:hover{
    /* background-position: 0 100%; */
    background:linear-gradient(45deg,
                               rgba(247, 184, 53, 0.8)0%,
                               rgba(247, 184, 53,0.8)100%),
                               url('../img/portafolio.png');
    background-size: cover;
}

.services .row:nth-child(2) .column:nth-child(2) .card:hover{
    /* background-position: 0 100%; */
    background:linear-gradient(45deg,
                             rgba(247, 184, 53, 0.8)0%,
                             rgba(247, 184, 53,0.8)100%),
                               url('../img/business.jpg');
    background-size: cover;
}

.services .row:nth-child(2) .column:nth-child(3) .card:hover{
    /* background-position: 0 100%; */
    background:linear-gradient(45deg,
                             rgba(247, 184, 53, 0.8)0%,
                             rgba(247, 184, 53,0.8)100%),
                               url('../img/marketing.png');
    background-size: cover;
}

.services .row:nth-child(2) .column:nth-child(4) .card:hover{
    /* background-position: 0 100%; */
    background:linear-gradient(45deg,
                             rgba(247, 184, 53, 0.8)0%,
                             rgba(247, 184, 53,0.8)100%),
                               url('../img/nft.png');
    background-size: cover;
}

.services .row:nth-child(2) .column:nth-child(5) .card:hover{
    /* background-position: 0 100%; */
    background:linear-gradient(45deg,
                             rgba(247, 184, 53, 0.8)0%,
                             rgba(247, 184, 53,0.8)100%),
                               url('../img/nft.png');
    background-size: cover;
}

.services .row:nth-child(2) .column:nth-child(6) .card:hover{
    /* background-position: 0 100%; */
    background:linear-gradient(45deg,
                             rgba(247, 184, 53, 0.8)0%,
                             rgba(247, 184, 53,0.8)100%),
                               url('../img/nft.png');
    background-size: cover;
}


.services .card:hover .icon-wrapper{
    background-color: #ffffff;
    color: var(--yellow);
}

.services .card:hover h3{
    color:#ffffff;
}

.services .card:hover p{
    color:#ffffff;
}

.services .row .column .card:hover .info{
    background: var(--four-color);
    color:var(--primary-color);
}



/* MOBILE FIRST */
@media (min-width: 768px) {
    .asesoria {
        text-align: center;
        padding: 4rem 7rem;
        background: #f8f9fa;
    }

    .contenedor{
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contenedor .colaboraciones{
        padding: 0 15rem;
    }


    .asesoria .asesoria-text{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 15rem;
        
    }

    .asesoria  p{
        text-align: justify;
        
    }

    .grid-asesoria {
        padding: 0 15rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .services{
        padding: 4rem 7rem;
    }
    .services .row{
        text-align: center;
    }   
    .services h2{
        width:100%;
    }
    .services .row .title p{
        width:50%;
        margin: 0  auto;
        margin-bottom: 2rem;
    }

    .column{
        flex: 0 50%;
        max-width: 50%;
    }

    
}
