.service-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    margin: 0;
    color: #0D4884;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

/* Membuat garis di kiri dan kanan teks "POLESIN" */
.section-header p::before,
.section-header p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background-color: #0D4884;
}

.section-header p::before {
    left: -60px;
}

.section-header p::after {
    right: -60px;
}

.section-header h2 {
    font-size: 36px;
    color: #0D4884;
    margin-top: 5px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Membuat 3 kolom */
    gap: 30px;
}

.service-card {
    border-radius: 15px;
    overflow: hidden; /* Memastikan gambar tidak keluar dari sudut melengkung */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.service-card-content {
    background-color: #0D4884; /* Warna biru tua */
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.arrow-link {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.arrow-link:hover {
    transform: translateX(5px);
}

/* ================================================== */
/* ========= RESPONSIVE STYLES UNTUK MOBILE ========= */
/* ================================================== */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* Menjadi 2 kolom di tablet */
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr; /* Menjadi 1 kolom di mobile */
    }
}
