﻿/*==================================================
                    WHY US
==================================================*/

.why-us {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

    .why-us::before {
        content: "";
        position: absolute;
        width: 450px;
        height: 450px;
        border-radius: 50%;
        background: rgba(200,155,60,.05);
        top: -220px;
        right: -180px;
    }

    .why-us::after {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        background: rgba(8,17,31,.03);
        left: -150px;
        bottom: -150px;
    }

    .why-us .section-title {
        text-align: center;
        margin-bottom: 70px;
    }

        .why-us .section-title span {
            display: inline-block;
            color: var(--primary-color);
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .why-us .section-title h2 {
            font-size: 46px;
            font-weight: 800;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }

        .why-us .section-title p {
            max-width: 700px;
            margin: auto;
            color: var(--text-color);
            font-size: 18px;
            line-height: 2;
        }

/*==================================================
                    GRID
==================================================*/

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.why-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    border: 1px solid rgba(200,155,60,.12);
    box-shadow: 0 18px 45px rgba(0,0,0,.05);
    transition: .35s;
    padding: 32px 28px;
    min-height: 260px;
}

    .why-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg,#D8AF58,#B88628);
        transform: scaleX(0);
        transform-origin: left;
        transition: .35s;
    }

    .why-card::after {
        content: "";
        position: absolute;
        top: -120%;
        left: -40%;
        width: 60%;
        height: 260%;
        background: rgba(255,255,255,.28);
        transform: rotate(25deg);
        transition: .8s;
    }

    .why-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 70px rgba(0,0,0,.10);
    }

        .why-card:hover::before {
            transform: scaleX(1);
        }

        .why-card:hover::after {
            left: 150%;
        }
/*==================================================
                    ICON
==================================================*/

.why-icon {
    position: relative;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FBF6EC;
    color: var(--primary-color);
    font-size: 24px;
    overflow: hidden;
    transition: .4s;
    box-shadow: 0 10px 25px rgba(200,155,60,.12);
}

    .why-icon::before {
        content: "";
        position: absolute;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: radial-gradient(rgba(200,155,60,.20),transparent);
        transform: scale(.6);
        transition: .4s;
    }

.why-card:hover .why-icon {
    background: linear-gradient(145deg,#D8AF58,#B88628);
    color: #fff;
    transform: translateY(-4px) rotateY(180deg);
}

    .why-card:hover .why-icon::before {
        transform: scale(1.2);
    }

/*==================================================
                    TEXT
==================================================*/

.why-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

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

.why-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(200,155,60,.12);
    box-shadow: 0 15px 35px rgba(0,0,0,.05);
    padding: 24px 22px;
    min-height: 205px;
    text-align: center;
    transition: all .35s ease;
}

    .why-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg,#D8AF58,#B88628);
        transform: scaleX(0);
        transform-origin: left;
        transition: .35s;
    }

    .why-card::after {
        content: "";
        position: absolute;
        top: -120%;
        left: -40%;
        width: 60%;
        height: 260%;
        background: rgba(255,255,255,.28);
        transform: rotate(25deg);
        transition: .8s;
    }

    .why-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 55px rgba(0,0,0,.10);
    }

        .why-card:hover::before {
            transform: scaleX(1);
        }

        .why-card:hover::after {
            left: 150%;
        }
/*==================================================
                    BUTTON
==================================================*/

.why-bottom {
    margin-top: 60px;
    text-align: center;
}

.why-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 42px;
    border-radius: 60px;
    background: linear-gradient(145deg,#D8AF58,#B88628);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    transition: all .35s ease;
    box-shadow: 0 18px 40px rgba(200,155,60,.30);
}

    .why-btn:hover {
        color: #fff;
        transform: translateY(-5px);
        box-shadow: 0 25px 55px rgba(200,155,60,.40);
    }

    .why-btn i {
        transition: .35s;
    }

    .why-btn:hover i {
        transform: translateX(-6px);
    }

/*==================================================
                    FADE UP
==================================================*/

@keyframes whyFadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-card {
    animation: whyFadeUp .8s ease both;
}

    .why-card:nth-child(1) {
        animation-delay: .10s;
    }

    .why-card:nth-child(2) {
        animation-delay: .20s;
    }

    .why-card:nth-child(3) {
        animation-delay: .30s;
    }

    .why-card:nth-child(4) {
        animation-delay: .40s;
    }

    .why-card:nth-child(5) {
        animation-delay: .50s;
    }

    .why-card:nth-child(6) {
        animation-delay: .60s;
    }

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

@media(max-width:992px) {

    .why-us {
        padding: 90px 0;
    }

    .why-us-grid{
        grid-template-columns: repeat(2,1fr);
    }


    .why-us .section-title h2 {
        font-size: 38px;
    }
}

@media(max-width:768px) {

    .why-us {
        padding: 80px 0;
    }

    .why-card {
        padding: 28px;
    }

    .why-icon {
        width: 72px;
        height: 72px;
        font-size: 26px;
    }

    .why-card h3 {
        font-size: 22px;
    }

    .why-card p {
        font-size: 15px;
    }
}

@media(max-width:576px) {

    .why-us .section-title h2 {
        font-size: 30px;
    }

    .why-us .section-title p {
        font-size: 16px;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-btn {
        width: 100%;
        justify-content: center;
    }
}
