/* =========================
   ADVANTAGES SECTION
========================= */

.advantages-section{

    background:linear-gradient(180deg,#ffffff 0%,#f7f7f7 100%);

    padding:110px 0;

    position:relative;

    overflow:hidden;
}


/* BACKGROUND SHAPE */

.advantages-section::before{

    content:'';

    position:absolute;

    top:-120px;

    right:-120px;

    width:320px;

    height:320px;

    background:
    radial-gradient(
    rgba(229,57,53,.12),
    transparent 70%
    );

    border-radius:50%;
}


.advantages-section::after{

    content:'';

    position:absolute;

    bottom:-100px;

    left:-100px;

    width:260px;

    height:260px;

    background:
    radial-gradient(
    rgba(18,61,153,.08),
    transparent 70%
    );

    border-radius:50%;
}


/* =========================
   HEADER
========================= */

.advantages-header{

    position:relative;

    z-index:2;

    max-width:760px;

    margin:auto;
}


/* SUBTITLE */

.advantages-subtitle{

    color:#E53935;

    font-size:14px;

    font-weight:800;

    letter-spacing:3px;

    text-transform:uppercase;

    display:block;

    margin-bottom:16px;
}


/* TITLE */

.advantages-title{

    font-size:58px;

    font-weight:900;

    text-transform:uppercase;

    line-height:1.1;

    color:#111111;

    margin-bottom:20px;
}


/* DIVIDER */

.title-divider{

    width:70px;

    height:4px;

    background:
    linear-gradient(
    90deg,
    #E53935,
    #ff7a00
    );

    border-radius:50px;

    margin:0 auto 24px;
}


/* DESCRIPTION */

.advantages-description{

    font-size:18px;

    line-height:1.9;

    color:#666;

    max-width:680px;

    margin:auto;
}


/* =========================
   CARD
========================= */

.advantage-card{

    position:relative;

    background:#fff;

    border-radius:24px;

    padding:38px 30px;

    height:100%;

    transition:.35s ease;

    box-shadow:
    0 10px 35px rgba(0,0,0,.06);

    border:1px solid rgba(0,0,0,.04);

    overflow:hidden;

    z-index:2;
}


/* TOP BORDER EFFECT */

.advantage-card::before{

    content:'';

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:4px;

    background:#e53935;

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s ease;
}


/* ACTIVE CARD */

.active-card::before{

    transform:scaleX(1);
}


/* HOVER */

.advantage-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 20px 45px rgba(0,0,0,.1);

    border-color:rgba(229,57,53,.15);
}


.advantage-card:hover::before{

    transform:scaleX(1);
}


/* =========================
   ICON
========================= */

.advantage-icon{

    width:68px;

    height:68px;

    background:
    linear-gradient(
    135deg,
    rgba(229,57,53,.12),
    rgba(255,122,0,.12)
    );

    color:#E53935;

    border-radius:20px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:26px;

    margin-bottom:26px;

    transition:.35s ease;
}


/* ICON HOVER */

.advantage-card:hover .advantage-icon{

    background:#e53935;;

    color:#fff;

    transform:
    rotate(-8deg)
    scale(1.05);
}


/* =========================
   TITLE
========================= */

.advantage-card h4{

    font-size:24px;

    font-weight:800;

    color:#111111;

    margin-bottom:16px;

    line-height:1.4;
}


/* TEXT */

.advantage-card p{

    font-size:16px;

    line-height:1.9;

    color:#666;

    margin:0;
}


/* =========================
   RESPONSIVE
========================= */

/* LARGE DESKTOP */

@media (min-width:1600px){

    .advantages-title{

        font-size:68px;
    }

    .advantages-description{

        font-size:20px;
    }

    .advantage-card{

        padding:45px 35px;
    }

}


/* DESKTOP */

@media (max-width:1400px){

    .advantages-title{

        font-size:52px;
    }

}


/* LAPTOP */

@media (max-width:1199px){

    .advantages-title{

        font-size:48px;
    }

    .advantage-card{

        padding:34px 26px;
    }

    .advantage-card h4{

        font-size:22px;
    }

}


/* TABLET */

@media(max-width:991px){

    .advantages-section{

        padding:90px 0;
    }

    .advantages-title{

        font-size:42px;

        line-height:1.2;
    }

    .advantages-description{

        font-size:17px;
    }

    .advantage-card{

        padding:30px 24px;
    }

    .advantage-icon{

        width:62px;

        height:62px;

        font-size:24px;
    }

}


/* MOBILE */

@media(max-width:767px){

    .advantages-section{

        padding:70px 0;
    }

    .advantages-subtitle{

        font-size:12px;

        letter-spacing:2px;
    }

    .advantages-title{

        font-size:32px;

        line-height:1.25;
    }

    .advantages-description{

        font-size:15px;

        line-height:1.8;
    }

    .title-divider{

        width:55px;
    }

    .advantage-card{

        padding:26px 20px;

        border-radius:20px;
    }

    .advantage-card h4{

        font-size:20px;
    }

    .advantage-card p{

        font-size:15px;
    }

    .advantage-icon{

        width:58px;

        height:58px;

        font-size:22px;

        border-radius:16px;
    }

}


/* SMALL MOBILE */

@media(max-width:575px){

    .advantages-section{

        padding:60px 0;
    }

    .advantages-title{

        font-size:28px;
    }

    .advantages-description{

        font-size:14px;
    }

    .advantage-card{

        padding:22px 18px;
    }

    .advantage-card h4{

        font-size:18px;

        margin-bottom:12px;
    }

    .advantage-card p{

        font-size:14px;

        line-height:1.8;
    }

    .advantage-icon{

        width:52px;

        height:52px;

        font-size:20px;

        margin-bottom:18px;
    }

}


/* EXTRA SMALL DEVICES */

@media(max-width:380px){

    .advantages-title{

        font-size:24px;
    }

    .advantages-subtitle{

        font-size:11px;

        letter-spacing:1px;
    }

    .advantage-card{

        text-align:center;
    }

    .advantage-icon{

        margin:0 auto 18px;
    }

}