/*=========================================
        WHY CHOOSE US
=========================================*/

.why-section {

    position: relative;
    padding: 100px 0;
 
  background: linear-gradient(
        180deg,
        #DDEAF3 0%,
        #F7FAFC 25%,
        #FFFFFF 100%
    );
    overflow: hidden;

}

.why-section::before {

    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(245, 158, 11, .08);
    top: -180px;
    left: -180px;
    filter: blur(15px);

}

.why-section::after {

    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(11, 46, 89, .06);
    bottom: -180px;
    right: -180px;
    filter: blur(20px);

}

/*=========================================
        HEADING
=========================================*/

.why-section .section-tag {

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 18px;

    border-radius: 30px;

    background: rgba(245, 158, 11, .10);

    color: var(--secondary);

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 18px;

}

.why-section .section-title {

    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;

    color: #0F172A;

    margin-bottom: 20px;

}

.why-section .section-title span {

    display: block;

    color: var(--secondary);

}

.why-section .section-desc {

    font-size: 16px;
    line-height: 1.9;

    color: var(--text);

}

/*=========================================
        CARD
=========================================*/

.why-card {

    position: relative;

    background: #fff;

    border-radius: 24px;

    padding: 35px 28px;

    height: 100%;

    border: 1px solid #0f172a40;

    box-shadow: 0 12px 35px rgba(15, 23, 42, .05);

    transition: .4s;

    overflow: hidden;

}

.why-card::before {

    content: '';

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 4px;

    background: linear-gradient(90deg,
            var(--secondary),
            #ffbf3f);

    transform: scaleX(0);

    transition: .4s;

}

.why-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 22px 55px rgba(15, 23, 42, .12);

}

.why-card:hover::before {

    transform: scaleX(1);

}

/*=========================================
        ICON
=========================================*/

.why-icon {

    width: 75px;

    height: 75px;

    border-radius: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

    font-size: 32px;

    color: var(--white);

    background: linear-gradient(135deg,
            var(--secondary),
            #ffb52e);

    box-shadow: 0 15px 30px rgba(245, 158, 11, .25);

    transition: .35s;

}

.why-card:hover .why-icon {

    transform: rotate(-10deg) scale(1.08);

}

/*=========================================
        CONTENT
=========================================*/

.why-card h4 {

    font-size: 22px;

    font-weight: 700;

    color: #0F172A;

    margin-bottom: 15px;

}

.why-card p {

    margin: 0;

    font-size: 15px;

    color: var(--text);

    line-height: 1.8;

}

/*=========================================
        HOVER
=========================================*/

.why-card:hover h4 {

    color: var(--primary);

}

.why-card:hover p {

    color: #475569;

}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:991px) {

    .why-section {

        padding: 80px 0;

    }

    .why-section .section-title {

        font-size: 38px;

    }

    .section-desc {

        margin-bottom: 0px;

    }

}

@media(max-width:767px) {

    .why-section {

        padding: 65px 0;

    }

    .why-section .section-title {

        font-size: 30px;

    }

    .why-card {

        padding: 28px 22px;

    }

    .why-icon {

        width: 65px;

        height: 65px;

        font-size: 28px;

    }

    .why-card h4 {

        font-size: 20px;

    }

}

@media(max-width:575px) {

    .why-section .section-title {

        font-size: 26px;

    }

    .why-card {
        padding: 22px 7px;
        text-align: center;

    }
    .why-card p {
        line-height: 1.5;
        color: #374150;
    }

    .why-icon {

        margin: 0 auto 20px;

    }
    .why-section .section-desc {
        margin: 0;
    }

}

/*=========================================
        ANIMATION
=========================================*/

.why-card {

    will-change: transform;

    backface-visibility: hidden;

    transform: translateZ(0);

}

