/* =========================
   SERVICES SECTION
========================= */

.services{
    padding:90px 20px;
    background:#f8fbff;
    font-family:'Poppins', sans-serif;
}
.service-card{
    text-decoration:none;
    color:inherit;
    display:block;
    cursor:pointer;
}

.service-card:hover{
    text-decoration:none;
}

/* CONTAINER */
.container{
    max-width:1300px;
    margin:auto;
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:#1f5eff;
    font-weight:600;
    letter-spacing:1px;
    font-size:14px;
    text-transform:uppercase;
}

.section-title h2{
    margin-top:10px;
    font-size:42px;
    color:#111;
    font-weight:700;
    line-height:1.2;
}

.section-title p{
    max-width:720px;
    margin:15px auto 0;
    color:#666;
    line-height:1.8;
    font-size:15px;
}

/* =========================
   GRID
========================= */

.services-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:25px;
}

/* =========================
   CARD
========================= */

.service-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:all .3s ease;
    display:flex;
    flex-direction:column;
}

/* hover effect (minimal & clean) */
.service-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

/* IMAGE */
.service-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;
}

/* image zoom on hover */
.service-card:hover img{
    transform:scale(1.05);
}

/* CONTENT */
.service-content{
    padding:18px 20px 22px;
}

/* TITLE */
.service-content h3{
    font-size:20px;
    margin-bottom:8px;
    color:#111;
    font-weight:600;
    line-height:1.3;
}

/* DESCRIPTION */
.service-content p{
    font-size:14px;
    color:#666;
    line-height:1.6;
}

/* =========================
   FADE ANIMATION
========================= */

.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:all .7s ease;
}

.fade-up.active{
    opacity:1;
    transform:translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1100px){
    .services-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .section-title h2{
        font-size:34px;
    }
}

@media (max-width:768px){
    .services{
        padding:70px 15px;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:28px;
    }

    .section-title p{
        font-size:14px;
    }

    .service-card img{
        height:220px;
    }
}