/* ==================================================
   PREMIUM SAAS POLISH (FINAL VERSION)
   Safe • Clean • Professional • No Overlap
================================================== */

.ec-section{
    background:#f8fafc;
}

/* ===============================
   HEADINGS & TEXT
================================ */

.ec-section h3{
    font-weight:700;
    color:#0b2c6d;
}

.ec-section p{
    color:#64748b;
}

/* ===============================
   GRID GAP FIX (CRITICAL)
================================ */

/* Proper spacing between cards */
.ec-section .row{
    row-gap:28px;
}

/* ===============================
   CARD DESIGN
================================ */

.ec-box{
    background:#ffffff;
    border-radius:18px;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
    position:relative;
    overflow:hidden;
    transition:all .35s ease;
}

/* Gradient overlay */
.ec-box::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,#2563eb,#38bdf8);
    opacity:0;
    transition:.35s ease;
    z-index:0;
}

/* Content above overlay */
.ec-box *{
    position:relative;
    z-index:1;
}

/* Hover effect (SAFE lift) */
.ec-box:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 50px rgba(37,99,235,.2);
    border-color:transparent;
}

.ec-box:hover::before{
    opacity:1;
}

.ec-box:hover h4,
.ec-box:hover h5,
.ec-box:hover p{
    color:#ffffff;
}

/* ===============================
   ICON DESIGN (UNIFORM)
================================ */

.ec-icon{
    width:90px;
    height:90px;
    margin:0 auto;
    border-radius:50%;
    background:linear-gradient(135deg,#e0e7ff,#f0f9ff);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all .4s ease;
    flex-shrink:0;
}

.ec-icon img{
    width:42px;
    height:42px;
    object-fit:contain;
    transition:transform .4s ease;
}

.ec-box:hover .ec-icon{
    background:#ffffff;
}

.ec-box:hover .ec-icon img{
    transform:scale(1.15) rotate(6deg);
}

/* ===============================
   PROCESS & TYPOGRAPHY
================================ */

.ec-box h4,
.ec-box h5{
    font-weight:600;
    margin-top:12px;
}

/* ===============================
   WHY CHOOSE SECTION
================================ */

.ec-section .row.mt-5 .ec-box{
    text-align:center;
}

/* ===============================
   CTA SECTION
================================ */

.ec-cta{
    border-radius:26px;
    padding:60px 30px;
}

.ec-cta h3{
    font-weight:700;
    color:#0b2c6d;
}

.ec-cta .btn{
    background:linear-gradient(135deg,#16a34a,#22c55e);
    border:none;
    border-radius:30px;
    font-weight:600;
}

.ec-cta .btn:hover{
    background:linear-gradient(135deg,#15803d,#16a34a);
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */

@media(max-width:768px){

    .ec-section .row{
        row-gap:20px;
    }

    .ec-icon{
        width:70px;
        height:70px;
    }

    .ec-icon img{
        width:34px;
        height:34px;
    }
}
