/*================ WHY CHOOSE ================*/

.why {
    min-height: 100svh;

    display: flex;
    align-items: center;

    padding: 45px 0;

    background: linear-gradient(180deg,
            #ffffff 0%,
            #fffaf4 100%);

    overflow: hidden;
}

/*================ CONTAINER ================*/

.why .container {

    width: 100%;
    max-width: 1180px;
    margin: auto;
}

/*================ TITLE ================*/

.section-title {

    max-width: 850px;

    margin: 0 auto 28px;

    text-align: center;
}

.section-title>span {

    display: inline-block;

    padding: 6px 16px;

    background: #fff;

    color: #ef902d;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: .5px;

    margin-bottom: 10px;
    
    margin-top: 20px;
}

.section-title h2 {

    font-size: clamp(2rem, 3vw, 2.6rem);

    line-height: 1.1;

    letter-spacing: -1px;

    color: #222;

    margin-bottom: 8px;
}

.section-title h2 span {

    display: block;

    margin-top: 5px;

    font-size: clamp(.95rem, 1.2vw, 1.05rem);

    color: #ef902d;

    font-weight: 700;
}

.section-title p {

    max-width: 620px;

    margin: auto;

    font-size: clamp(.95rem, 1vw, 1rem);

    line-height: 1.55;

    color: #666;
}

/*================ GRID ================*/

.why-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

/*================ CARD ================*/

.why-card {

    position: relative;

    background: #fff;

    border-radius: 20px;

    padding: 16px;

    min-height: 145px;

    overflow: hidden;

    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);

    transition: .35s ease;
}

.why-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 22px 45px rgba(239, 144, 45, .18);
}

.why-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #ef902d;

    transform: scaleX(0);

    transform-origin: left;

    transition: .35s;
}

.why-card:hover::before {

    transform: scaleX(1);
}

/*================ HEADER ================*/

.why-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 10px;
}

.why-title {

    display: flex;

    align-items: center;

    gap: 14px;

    flex: 1;
}

/*================ ICON ================*/

.why-icon {

    width: 46px;

    aspect-ratio: 1;

    border-radius: 14px;

    background: linear-gradient(180deg,
            #fff9f4,
            #fff3e8);

    display: flex;

    justify-content: center;

    align-items: center;

    flex-shrink: 0;

    transition: .3s;
}

.why-card:hover .why-icon {

    transform: scale(1.08);
}

.why-icon i {

    font-size: 18px;

    color: #ef902d;
}

/*================ NUMBER ================*/

.why-number {

    font-size: 22px;

    font-weight: 800;

    color: rgba(239, 144, 45, .15);

    line-height: 1;
}

/*================ HEADING ================*/

.why-card h3 {

    margin: 0;

    font-size: clamp(1.05rem, 1.2vw, 1.15rem);

    line-height: 1.3;

    color: #111827;
}

/*================ LINE ================*/

.why-line {

    width: 34px;

    height: 3px;

    background: #ef902d;

    border-radius: 30px;

    margin: 8px 0;
}

/*================ TEXT ================*/

.why-card p {

    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.55;
}

/*================ TABLET ================*/

@media (max-width:991px) {

    .why {

        min-height: auto;

        padding: 45px 0;
    }

    .why-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }

    .section-title {

        margin-bottom: 28px;
    }
}

/*================ MOBILE ================*/

@media (max-width:576px) {

    .why {

        padding: 35px 0;
    }

    .why-grid {

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .section-title {

        margin-bottom: 32px;
    }

    .section-title h2 {

        font-size: 2rem;
    }

    .section-title h2 span {

        font-size: 1rem;
    }

    .section-title p {

        font-size: 14px;
    }

    .why-card {

        padding: 18px;

        text-align: center;
    }

    .why-header {

        display: block;
    }

    .why-title {

        flex-direction: column;

        align-items: center;

        gap: 12px;
    }

    .why-number {

        position: absolute;

        top: 16px;

        right: 18px;

        font-size: 24px;
    }

    .why-icon {

        width: 48px;
    }

    .why-icon i {

        font-size: 20px;
    }

    .why-card h3 {

        text-align: center;
    }

    .why-line {

        margin: 14px auto;
    }

    .why-card p {

        text-align: center;

        line-height: 1.7;
    }
}