*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f7f8fc;
    color:#333;
    line-height:1.7;
}

.container{
    width:min(1200px,90%);
    margin:auto;
}

.services{
    padding:150px 0;
}

.heading{
    max-width:760px;
    margin:0 auto 50px;
    text-align:center;
}

.heading h1{
    font-size:42px;
    margin-bottom:20px;
    color:#111827;
}

.heading p{
    font-size:17px;
    color:#6b7280;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
    display:flex;
    flex-direction:column;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.service-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.service-content{
    padding:25px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.service-content h3{
    font-size:24px;
    margin-bottom:12px;
    color:#111827;
}

.service-content p{
    color:#6b7280;
    margin-bottom:24px;
    flex:1;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    background:#2563eb;
    color:#fff;
    padding:14px 22px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#1d4ed8;
    color:#fff;
}

/* ===========================
   Desktop Besar (1400px+)
=========================== */
@media (min-width:1400px){

    .container{
        max-width:1300px;
    }

    .service-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

/* ===========================
   Laptop (992px - 1199px)
=========================== */
@media (max-width:1199px){

    .services{
        padding:120px 0;
    }

    .heading h1{
        font-size:38px;
    }

    .service-grid{
        grid-template-columns:repeat(3,1fr);
        gap:24px;
    }

    .service-card img{
        height:200px;
    }

}

/* ===========================
   Tablet (768px - 991px)
=========================== */
@media (max-width:991px){

    .services{
        padding:130px 0;
    }

    .heading{
        margin-bottom:40px;
    }

    .heading h1{
        font-size:34px;
        line-height:1.3;
    }

    .heading p{
        font-size:16px;
    }

    .service-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .service-card img{
        height:190px;
    }

    .service-content{
        padding:20px;
    }

    .service-content h3{
        font-size:22px;
    }

    .service-content p{
        font-size:15px;
        margin-bottom:20px;
    }

    .btn{
        width:100%;
        padding:13px;
    }

}

/* ===========================
   Mobile (<768px)
=========================== */
@media (max-width:767px){

    .container{
        width:92%;
    }

    .services{
        padding:100px 0;
    }

    .heading{
        margin-bottom:35px;
    }

    .heading h1{
        font-size:28px;
        line-height:1.35;
        margin-bottom:15px;
    }

    .heading p{
        font-size:15px;
    }

    .service-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .service-card{
        border-radius:14px;
    }

    .service-card img{
        height:180px;
    }

    .service-content{
        padding:18px;
    }

    .service-content h3{
        font-size:20px;
        margin-bottom:10px;
    }

    .service-content p{
        font-size:14px;
        margin-bottom:18px;
    }

    .btn{
        width:100%;
        padding:12px;
        font-size:15px;
    }

}

/* ===========================
   Mobile Kecil (<480px)
=========================== */
@media (max-width:480px){

    .services{
        padding:100px 0;
    }

    .heading h1{
        font-size:24px;
    }

    .heading p{
        font-size:14px;
    }

    .service-card img{
        height:170px;
    }

    .service-content{
        padding:16px;
    }

    .service-content h3{
        font-size:18px;
    }

    .btn{
        font-size:14px;
        padding:11px;
    }

}