/* =========================================================
   Why Choose Trisha Web - Ecommerce Development
   Unique Prefix: ecom-dev-why
   ========================================================= */

.ecom-dev-why {
    position: relative;
    padding: 95px 0;
    background: #ffffff;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.ecom-dev-why::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    top: -220px;
    left: -170px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.045);
    pointer-events: none;
}

.ecom-dev-why::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -150px;
    bottom: -160px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.04);
    pointer-events: none;
}

.ecom-dev-why .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   Header
   ========================================================= */

.ecom-dev-why-header {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.ecom-dev-why-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 17px;
    margin-bottom: 17px;
    border: 1px solid rgba(13, 110, 253, 0.15);
    border-radius: 50px;
    background: rgba(13, 110, 253, 0.055);
    color: #0d6efd;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ecom-dev-why-badge i {
    font-size: 13px;
}

.ecom-dev-why-heading {
    margin: 0 0 16px;
    color: #111827;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.ecom-dev-why-description {
    max-width: 760px;
    margin: 0 auto;
    color: #667085;
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   Why Choose Grid
   ========================================================= */

.ecom-dev-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


/* =========================================================
   Card
   ========================================================= */

.ecom-dev-why-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-height: 150px;
    padding: 27px 28px;
    background: #ffffff;
    border: 1px solid #e7ebf2;
    border-radius: 19px;
    box-shadow: 0 12px 35px rgba(16, 24, 40, 0.055);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.ecom-dev-why-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #0d6efd;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.ecom-dev-why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(13, 110, 253, 0.2);
    box-shadow: 0 20px 45px rgba(16, 24, 40, 0.095);
}

.ecom-dev-why-card:hover::before {
    transform: scaleY(1);
}


/* =========================================================
   Icon
   ========================================================= */

.ecom-dev-why-card-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #eef5ff;
    color: #0d6efd;
    font-size: 22px;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.ecom-dev-why-card:hover .ecom-dev-why-card-icon {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   Content
   ========================================================= */

.ecom-dev-why-card-content {
    position: relative;
    z-index: 2;
    padding-right: 25px;
}

.ecom-dev-why-card-content h3 {
    margin: 2px 0 8px;
    color: #1d2939;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 750;
}

.ecom-dev-why-card-content p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   Number
   ========================================================= */

.ecom-dev-why-number {
    position: absolute;
    right: 20px;
    bottom: 13px;
    color: rgba(13, 110, 253, 0.07);
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
    pointer-events: none;
}


/* =========================================================
   CTA
   ========================================================= */

.ecom-dev-why-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 45px;
    padding: 28px 32px;
    border-radius: 20px;
    background: #0d6efd;
    box-shadow: 0 18px 40px rgba(13, 110, 253, 0.18);
}

.ecom-dev-why-cta-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ecom-dev-why-cta-content h3 {
    margin: 0;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 750;
}

.ecom-dev-why-cta-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 10px;
    background: #ffffff;
    color: #0d6efd;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ecom-dev-why-cta-button:hover {
    color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 767.98px) {

    .ecom-dev-why {
        padding: 70px 0;
    }

    .ecom-dev-why-grid {
        grid-template-columns: 1fr;
    }

    .ecom-dev-why-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 575.98px) {

    .ecom-dev-why {
        padding: 60px 0;
    }

    .ecom-dev-why-header {
        margin-bottom: 38px;
    }

    .ecom-dev-why-heading {
        font-size: 30px;
    }

    .ecom-dev-why-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .ecom-dev-why-grid {
        gap: 15px;
    }

    .ecom-dev-why-card {
        gap: 14px;
        min-height: 0;
        padding: 23px 20px;
        border-radius: 16px;
    }

    .ecom-dev-why-card-icon {
        flex: 0 0 50px;
        width: 50px;
        height: 50px;
        border-radius: 13px;
        font-size: 19px;
    }

    .ecom-dev-why-card-content {
        padding-right: 10px;
    }

    .ecom-dev-why-card-content h3 {
        font-size: 16px;
    }

    .ecom-dev-why-card-content p {
        font-size: 13px;
    }

    .ecom-dev-why-number {
        right: 12px;
        bottom: 8px;
        font-size: 32px;
    }

    .ecom-dev-why-cta {
        margin-top: 30px;
        padding: 24px 21px;
        border-radius: 17px;
    }

    .ecom-dev-why-cta-content h3 {
        font-size: 20px;
    }

    .ecom-dev-why-cta-button {
        width: 100%;
        justify-content: center;
    }
}