body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: #000000;
    color: rgb(0, 0, 0);
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 15px;
}

header nav ul li a:hover {
    color: #48ff00;
    text-decoration: underline;
}

section {
    padding: 20px;
}

footer {
    background: #9bdfd6;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 10px 0;
}

.btn {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: yellow;
}

.btn:hover {
    background-color: #ffffff;
}

#about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#about img {
    max-width: 50%;
    border-radius: 10px;
}

#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.cta-button {
    animation: bounce 1.5s infinite;
}


/* Menata header dan logo */
header {
    display: flex;
    align-items: center; /* Untuk menyelaraskan logo dan teks */
    padding: 20px;
    background-color: #0a0000;
}

.logo-text {
    display: flex;
    align-items: left; /* Menjaga logo dan teks rata di tengah */
}

.logo-text img {
    width: 50px; /* Ukuran kecil untuk logo */
    height: auto;
    margin-right: 10px; /* Jarak antara logo dan teks */
}

h1 {
    color: rgb(255, 255, 255);
    font-size: 24px; /* Ukuran teks */
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Memberikan bayangan pada teks */
}

#services {
    text-align: center;
    padding: 50px 20px;
}

.service-item {
    display: inline-block;
    width: 45%;
    margin: 20px;
    box-sizing: border-box;
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.service-item h3 {
    margin: 15px 0;
    font-size: 24px;
}

.service-item p {
    font-size: 16px;
    color: #555;
}

/* Reset default style */
body, ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #9bdfd6;
    color: rgb(0, 0, 0);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Memberikan bayangan pada teks */
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-text img {
    width: 50px;
    margin-right: 10px;
}

.menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    cursor: pointer;
    display: none; /* Akan ditampilkan pada layar kecil */
}

nav ul.menu {
    display: flex;
    gap: 20px;
}

nav ul.menu li a {
    color: rgb(0, 0, 0);
    text-decoration: column;
    font-size: 18px;

    .menu {
        background-color: #444;
        padding: 10px;
        border-radius: 10px;
        border: 2px solid red; /* Debugging: cek apakah menu terlihat */
    }
    
    .menu li {
        border: 1px solid yellow; /* Debugging: lihat setiap item menu */
    }
    
}
.menu {
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}


/* Styling untuk layar kecil (hamburger menu) */
@media (max-width: 768px) {
    .menu-toggle {
        display: table-column;
    }

    nav ul.menu {
        display: none; /* Awalnya tersembunyi */
        flex-direction: column;
        position: flex;
        top: 60px;
        right: 20px;
        background-color: #ffffff;
        padding: 10px;
        border-radius: 8px;
    }

    nav ul.menu li {
        margin-bottom: 10px;
    }

    nav ul.menu li:last-child {
        margin-bottom: 0;
    }

    nav ul.menu.active {
        display: flex; /* Tampilkan menu saat aktif */
    }
}

/* Styling untuk bagian Home */
#home {
    position: relative;
    height: 100vh; /* Tinggi penuh layar */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero img {
    width: 100%;
    height: 100vh;
    object-fit: cover; /* Agar gambar memenuhi area tanpa terdistorsi */
    filter: brightness(70%); /* Memberikan efek gelap agar teks lebih terlihat */
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Memusatkan teks */
    text-align: center;
    color: white;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Memberikan bayangan pada teks */
}

.hero-text h1 {
    font-size: 3rem; /* Ukuran teks utama */
    margin: 0;
}

.hero-text p {
    font-size: 1.2rem; /* Ukuran teks tambahan */
    margin-top: 10px;
}

.hero {
    background-image: url('HOME_resized.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.about {
    padding: 50px 0;
    background-color: #09ff00; /* Warna latar belakang umum */
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
}

.visi-misi {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff; /* Kotak putih */
    padding: 30px;
    border-radius: 10px; /* Biar sudutnya agak melengkung */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Efek bayangan biar keren */
}

.visi, .misi {
    width: 48%; /* Biar dua-duanya sejajar */
}

.visi h3, .misi h3 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.visi p, .misi ul {
    font-size: 16px;
    color: #555;
}

.misi ul {
    list-style-type: none;
    padding: 0;
}

.misi ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.misi ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff5733; /* Warna bullet point */
    font-weight: bold;
}

const port = 3000;

.map-container {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.map-container:hover {
    transform: scale(1.02);
    transition: 0.3s ease-in-out;
}


.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 0%;
    border-radius: 50px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.whatsapp-button span {
    font-size: 16px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    display: none;
}

/* Tampilkan teks di layar besar */
@media screen and (min-width: 768px) {
    .whatsapp-button span {
        display: inline;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 0%;
    right: 0px;
    padding: 0px;
    border-radius: 0%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    z-index: 1000; /* Pastikan tombol selalu di atas */
    animation: float 3s ease-in-out infinite; /* Animasi melayang */
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.whatsapp-button span {
    font-size: 16px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    display: none;
}

/* Tampilkan teks di layar besar */
@media screen and (min-width: 768px) {
    .whatsapp-button span {
        display: inline;
    }
}

/* Animasi tombol melayang */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
#testimoni {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.testimoni-form {
    margin-bottom: 20px;
}

.testimoni-form input, .testimoni-form textarea {
    width: 80%;
    padding: 10px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.testimoni-form button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#testimoni-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimoni-item {
    background: white;
    padding: 15px;
    margin: 10px;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.testimoni-item h4 {
    margin-top: 10px;
    color: #007bff;
}
/* Styling Blog Section */
#blog {
    padding: 50px;
    background-color: #f9f9f9;
    text-align: center;
}

#blog button {
    padding: 10px 15px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.blog-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-post {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    width: 300px;
}

.blog-post h3 {
    margin: 0;
}

.blog-post a {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
}

.blog-post a:hover {
    text-decoration: underline;
}

/* Styling Section About */
.about-container {
    display: column;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Kotak untuk Profil Perusahaan & Visi Misi */
.about-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 100px;
    max-width: 1500px;
    text-align: center; /* Semua isi di dalamnya jadi tengah */
}

/* Pastikan hanya judul yang benar-benar rata tengah */
.about-box h3 {
    text-align: center; /* Judul tetap di tengah */
    margin-bottom: 10px;
}

/* Responsif: Jika layar kecil, tampilkan dalam satu kolom */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
}

