/* ✅ Pastikan halaman tidak bisa digeser ke samping */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    /* Hilangkan scroll horizontal */
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif !important;
}

/* ✅ Navbar agar tetap responsif */
.navbar {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.5s, padding 0.3s;
}

/* ✅ Mengatur container agar tidak melebihi layar */
.container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 15px;
}

/* ✅ Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
}

/* ✅ Menu Navigasi */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    transition: 0.3s;
    border-radius: 5px;
}

.services-section .services-grid h3 {
    font-size: 18px;
    font-weight: bold;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ✅ Responsive untuk Navbar */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger-menu {
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: white;
    }
}

/* ✅ Sembunyikan tombol hamburger di Desktop */
@media (min-width: 1024px) {
    .hamburger-menu {
        display: none !important;
    }
}

/* ✅ Header */
.header-section {
    text-align: center;
    padding: 100px 20px;

}

.header-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* ✅ Grid Responsive untuk Layanan */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

/* ✅ Responsive untuk Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ✅ Responsive untuk Handphone */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ✅ Gaya Kartu Layanan */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
}

/* ✅ Ukuran Gambar dalam Kartu */
.service-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s;
}

.service-card img:hover {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 24px;
    margin-top: 10px;
}

.service-card p {
    font-size: 16px;
    color: #555;
    text-align: justify;
}

.services-grid .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.services-grid .service-card h3 {
    order: 2;
    color: black;

    /* Judul tetap di atas */
}

.services-grid .service-card p {
    order: 2;
    color: black;
    /* Deskripsi tetap di tengah */
}

.services-grid .service-card h4 {
    order: 3;
    /* Harga turun ke bawah */
    font-size: 22px;
    /* Biar lebih besar */
    font-weight: bold;
    margin-top: 10px;
    /* Tambah jarak ke atas */
    color: #d9534f;
    /* Warna merah biar mencolok */
}



/* ✅ Footer Tetap di Bawah */
.footer-section {
    background: #343a40;
    color: white;
    padding: 20px;
    margin-top: auto;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* ✅ Responsive untuk Footer */
.footer-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section hr {
    width: 100%;
    margin-top: 20px;
}

/* ✅ Pastikan halaman tidak bisa bergeser */
body,
html {
    overflow-x: hidden;
}