﻿/* =====================================================
   WHY SECTION
===================================================== */

.why-section {
    padding: 70px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* =========================================
   HEADING
========================================= */

.why-heading {
    max-width: 760px;
    margin: 0 auto 45px;
}

    .why-heading h2 {
        font-size: 42px;
        font-weight: 800;
        color: var(--accent);
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .why-heading p {
        font-size: 16px;
        color: var(--text-light);
        line-height: 1.8;
        margin-bottom: 0;
    }

/* =========================================
   CARD
========================================= */

.why-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    height: 100%;
    position: relative;
    border: 1px solid var(--border-orange);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

    /* TOP BORDER */

    .why-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient-accent);
    }

    /* HOVER */

    .why-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
    }

/* =========================================
   ICON
========================================= */

.why-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border-radius: 22px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(255,107,0,0.22);
    transition: var(--transition);
}

    .why-icon i {
        font-size: 30px;
        color: var(--text-white);
    }

.why-card:hover .why-icon {
    transform: rotate(-5deg) scale(1.05);
}

/* =========================================
   TITLE
========================================= */

.why-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 14px;
}

/* =========================================
   TEXT
========================================= */

.why-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 0;
}

/* ================================================================================================================
   TRUST / STATS SECTION
===================================================== */

.trust-section {
    padding: 20px 0 70px;
    background: var(--bg-light);
}

/* =========================================
   WRAPPER
========================================= */

.trust-wrapper {
    background: var(--bg-white);
    border-radius: 30px;
    padding: 45px 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-blue);
    overflow: hidden;
    position: relative;
}

    /* TOP BORDER */

    .trust-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--gradient-primary);
    }

/* =========================================
   BOX
========================================= */

.stats-box {
    text-align: center;
    padding: 10px 15px;
    transition: var(--transition);
}

    .stats-box:hover {
        transform: translateY(-4px);
    }

    /* =========================================
   NUMBER
========================================= */

    .stats-box h3 {
        font-size: 42px;
        font-weight: 800;
        color: var(--primary);
        margin-bottom: 10px;
        line-height: 1;
    }

    /* =========================================
   LABEL
========================================= */

    .stats-box p {
        font-size: 16px;
        color: var(--text-light);
        margin-bottom: 0;
        line-height: 1.6;
        font-weight: 500;
    }

/* =========================================
   DESKTOP DIVIDER
========================================= */

@media (min-width: 992px) {

    .stats-box {
        border-right: 1px solid rgba(0,0,0,0.06);
    }

    .col-lg-3:last-child .stats-box {
        border-right: none;
    }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .why-section {
        padding: 60px 0;
    }

    .trust-section {
        padding: 10px 0 60px;
    }

    .why-heading h2 {
        font-size: 34px;
    }

    .why-card {
        padding: 30px 22px;
    }

    .trust-wrapper {
        padding: 35px 20px;
    }

    .stats-box h3 {
        font-size: 36px;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .why-section {
        padding: 50px 0;
    }

    .trust-section {
        padding: 0 0 50px;
    }

    .why-heading {
        margin-bottom: 35px;
    }

        .why-heading h2 {
            font-size: 28px;
        }

        .why-heading p {
            font-size: 15px;
        }

    .why-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .why-icon {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }

        .why-icon i {
            font-size: 26px;
        }

    .why-card h4 {
        font-size: 20px;
    }

    .why-card p {
        font-size: 14px;
    }

    .trust-wrapper {
        border-radius: 22px;
        padding: 30px 15px;
    }

    .stats-box {
        padding: 15px 10px;
    }

        .stats-box h3 {
            font-size: 30px;
        }

        .stats-box p {
            font-size: 14px;
        }
}
