/*==========================================================
 FEATURES SECTION
 Trade by Ray
==========================================================*/

.features-section{

    position:relative;

    padding:120px 0;

    overflow:hidden;

    background:linear-gradient(
        180deg,
        #F8FAF8 0%,
        #FFFFFF 100%
    );

}

/*====================================
BACKGROUND
====================================*/

.features-section::before{

    content:"";

    position:absolute;

    width:550px;

    height:550px;

    border-radius:50%;

    top:-250px;

    right:-220px;

    background:rgba(15,81,50,.05);

    filter:blur(90px);

}

.features-section::after{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    border-radius:50%;

    left:-180px;

    bottom:-180px;

    background:rgba(212,175,55,.08);

    filter:blur(90px);

}

/*====================================
SECTION HEADING
====================================*/

.section-heading{

    position:relative;

    z-index:2;

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.section-heading h2{

    margin:25px 0;

    font-size:48px;

    line-height:1.2;

    color:var(--text);

    font-weight:700;

}

.section-heading p{

    color:var(--text-light);

    font-size:17px;

    line-height:1.9;

}

/*====================================
GRID
====================================*/

.features-grid{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

/*====================================
CARD
====================================*/

.feature-card{

    position:relative;

    overflow:hidden;

    background:#ffffff;

    border-radius:24px;

    padding:45px 35px;

    transition:.35s;

    border:1px solid rgba(15,81,50,.08);

    box-shadow:

        0 15px 40px rgba(0,0,0,.05);

}

.feature-card:hover{

    transform:translateY(-12px);

    box-shadow:

        0 30px 70px rgba(0,0,0,.12);

}

/*====================================
TOP BORDER
====================================*/

.feature-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

}

/*====================================
NUMBER
====================================*/

.feature-number{

    position:absolute;

    right:28px;

    top:18px;

    font-size:72px;

    font-weight:800;

    line-height:1;

    color:rgba(15,81,50,.05);

    user-select:none;

}

/*====================================
ICON
====================================*/

.feature-icon{

    width:70px;

    height:70px;

    border-radius:20px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:28px;

    font-size:28px;

    color:#ffffff;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:

        0 15px 30px rgba(15,81,50,.20);

}

/*====================================
TITLE
====================================*/

.feature-card h3{

    font-size:24px;

    margin-bottom:18px;

    color:var(--primary);

    font-weight:700;

}

/*====================================
TEXT
====================================*/

.feature-card p{

    color:var(--text-light);

    line-height:1.9;

    font-size:15px;

}

/*====================================
HOVER EFFECT
====================================*/

.feature-card:hover .feature-icon{

    transform:rotate(8deg) scale(1.08);

    transition:.35s;

}

/*====================================
TABLET
====================================*/

@media(max-width:1100px){

.features-grid{

grid-template-columns:repeat(2,1fr);

}

.section-heading h2{

font-size:40px;

}

}

/*====================================
MOBILE
====================================*/

@media(max-width:768px){

.features-section{

padding:80px 0;

}

.section-heading{

margin-bottom:45px;

}

.section-heading h2{

font-size:32px;

}

.section-heading p{

font-size:15px;

}

.features-grid{

grid-template-columns:1fr;

gap:20px;

}

.feature-card{

padding:30px 24px;

}

.feature-card h3{

font-size:22px;

}

.feature-number{

font-size:58px;

}

.feature-icon{

width:60px;

height:60px;

font-size:24px;

margin-bottom:20px;

}

}