/*=====================================
COMMON CHALLENGES
======================================*/

.challenges{
    padding:120px 0;
    background:var(--bg);
}

/*=====================================
SECTION TITLE
======================================*/

.challenges .section-title{
    text-align:center;
    max-width:760px;
    margin:0 auto 70px;
}

.challenges .section-title span{
    display:inline-block;
    color:var(--primary);
    font-size:13px;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
    margin-bottom:16px;
}

.challenges .section-title h2{
    color:#fff;
    font-size:56px;
    font-weight:800;
    line-height:1.15;
    margin-bottom:20px;
}

.challenges .section-title p{
    color:var(--text);
    font-size:18px;
    line-height:1.8;
}

/*=====================================
GRID
======================================*/

.challenge-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

/*=====================================
CARD
======================================*/

.challenge-card{

    background:#14141b;
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;

    padding:40px 28px;

    text-align:center;

    transition:.35s ease;

}

.challenge-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 20px 45px rgba(255,79,135,.18);

}

/*=====================================
ICON
======================================*/

.challenge-card .icon{

    width:80px;
    height:80px;

    margin:0 auto 25px;

    border-radius:22px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(
        135deg,
        rgba(255,79,135,.22),
        rgba(255,79,135,.08)
    );

    color:var(--primary);

    font-size:34px;

    transition:.35s;

}

.challenge-card:hover .icon{

    transform:rotate(-6deg) scale(1.08);

}

/*=====================================
TITLE
======================================*/

.challenge-card h3{

    color:#fff;

    font-size:26px;

    font-weight:700;

    margin-bottom:16px;

}

/*=====================================
TEXT
======================================*/

.challenge-card p{

    color:var(--text);

    font-size:16px;

    line-height:1.8;

}

/*=====================================
RESPONSIVE
======================================*/

/* Laptop */
@media(max-width:1200px){

    .challenge-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/* Tablet */
@media(max-width:992px){

    .challenges{

        padding:90px 0;

    }

    .challenges .section-title{

        margin-bottom:55px;

    }

    .challenges .section-title h2{

        font-size:42px;

    }

    .challenge-grid{

        grid-template-columns:1fr;

    }

    .challenge-card{

        padding:35px 25px;

    }

}

/* Mobile */
@media(max-width:768px){

    .challenges{

        padding:80px 0;

    }

    .challenges .section-title h2{

        font-size:34px;

    }

    .challenges .section-title p{

        font-size:16px;

    }

    .challenge-card{

        padding:30px 22px;

    }

    .challenge-card .icon{

        width:70px;
        height:70px;

        font-size:30px;

    }

    .challenge-card h3{

        font-size:22px;

    }

    .challenge-card p{

        font-size:15px;

    }

}

/* Small Mobile */
@media(max-width:480px){

    .challenges .section-title h2{

        font-size:28px;

    }

    .challenge-card{

        padding:25px 18px;

    }

    .challenge-card .icon{

        width:64px;
        height:64px;

        font-size:26px;

    }

}