body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background 0.5s ease;
}

.hero {
    background: url('img/logo/background.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.cta-button:hover {
    background-color: #0056b3;
}

.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: white;
}

.feature {
    text-align: center;
    max-width: 300px;
    cursor: pointer;
}

.feature img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.feature h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 16px;
}

.cta {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* CSS untuk tampilan desktop sudah ada di atas */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px; /* Ukuran font lebih kecil untuk layar kecil */
    }

    .hero-content p {
        font-size: 14px;
    }

    .cta-button {
        padding: 10px 20px; /* Kurangi padding */
        font-size: 14px;
    }

    .features {
        flex-direction: column; /* Urutkan fitur secara vertikal */
        padding: 20px 10px;
    }

    .feature {
        margin-bottom: 20px; /* Tambahkan margin di antara fitur */
        max-width: 90%; /* Batasi lebar agar tidak terlalu lebar */
    }

    .cta {
        padding: 30px 10px; /* Kurangi padding */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .cta-button {
        font-size: 12px;
    }
}

img {
    max-width: 100%; /* Pastikan gambar tidak melampaui ukuran kotaknya */
    height: auto;
}

@media (max-width: 768px) {
    .features {
        display: flex;
        flex-direction: row; /* Tetap horizontal */
        overflow-x: auto; /* Tambahkan scroll horizontal */
        white-space: nowrap; /* Hindari elemen turun ke baris berikutnya */
        padding: 20px 0;
    }

    .feature {
        flex: 0 0 auto; /* Pastikan elemen tidak mengubah ukuran */
        width: 80%; /* Atur lebar elemen sesuai kebutuhan */
        margin-right: 10px; /* Tambahkan jarak antar elemen */
    }
}

.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: white;
}

@media (max-width: 768px) {
    .features {
        display: flex;
        flex-direction: row; /* Tetap horizontal */
        overflow-x: auto; /* Scroll horizontal */
        white-space: nowrap; /* Hindari turun baris */
        padding: 20px 0;
    }

    .feature {
        flex: 0 0 auto; /* Tetap pada ukuran */
        width: 80%; /* Sesuaikan lebar */
        margin-right: 10px; /* Jarak antar elemen */
    }
}