/* Menghilangkan margin dan padding dari body dan html */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Gaya untuk Header Navigasi yang lebih modern */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #0072ff, #00c6ff); /* Gradasi warna biru */
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Bayangan lembut di bawah header */
    transition: background 0.3s ease; /* Animasi perubahan background */
}
* {
    box-sizing: border-box;
}
/* Gaya ul dan li untuk tata letak */
#header nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#header nav ul li {
    margin: 0 30px; /* Jarak antar tautan lebih lebar */
}

/* Gaya tautan navigasi */
#header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 600;
    padding-bottom: 5px;
    position: relative;
    transition: all 0.3s ease;
}

/* Efek hover dengan garis bawah bergerak */
#header nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0%;
    height: 3px;
    background-color: #FFD700; /* Warna emas */
    transition: width 0.3s ease, left 0.3s ease;
}

#header nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

#header nav ul li a:hover {
    color: #FFD700; /* Warna emas saat hover */
}

/* Menambahkan jarak di bawah header agar konten tidak tertimpa */
body {
    padding-top: 80px;
    margin: 0;
    padding: 0;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    #header nav ul {
        flex-direction: column;
        text-align: center;
    }

    #header nav ul li {
        margin: 10px 0;
    }
}

/* Wrapper mengatur elemen di tengah */
.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #00c6ff, #2600ff);
    background-size: 400% 400%;
    animation: gradientBackground 30s ease infinite;
    padding: 20px;
    width: 100vw;
    overflow: hidden;
    background-attachment: scroll; /* Efek parallax dihilangkan untuk mobile */
}

/* Partikel efek */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* Animasi background */
@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 1;
}

.logo {
    width: 380px;
    height: auto;
    animation: breatheAnimation 3s infinite ease-in-out;
}

/* Container dengan efek glow */
.container {
    margin-top: 100px; /* Atur sesuai kebutuhan */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Kurangi intensitas shadow */
    border-radius: 20px;
    padding: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    animation: scaleAnimation 6s ease-in-out infinite;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    z-index: 1;
}



/* Teks dengan font khusus */
h1, p {
    margin: 0 0 10px;
    color: white;
    font-family: 'Poppins', sans-serif;
    z-index: 1;
}

h1 {
    font-size: 1.8em;
    font-weight: 600;
}

p {
    font-size: 1em;
    font-weight: 400;
}

.download-section h2 {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Tombol dengan efek gradasi dinamis */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Tombol dengan cahaya berputar */
.btn {
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #00c6ff, #0072ff, #00c6ff);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 114, 255, 0.5);
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    background-size: 200% 200%;
    background-position: 0% 50%;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    z-index: 1;
    opacity: 1;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    animation: rotateLight 4s linear infinite;
}



/* Animasi "nafas" untuk logo */
@keyframes breatheAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Media query untuk tampilan mobile */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        max-width: 90%;
        margin: 0 auto;
    }

    h1 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.85em;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}

/* Bagian Cara Download */
#cara-download {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

#cara-download h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
}

/* Grid untuk langkah-langkah cara download */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dua kolom untuk layar besar */
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}


.step-img {
    width: 100%; /* Lebar penuh gambar */
    max-width: 350px; /* Batas lebar gambar */
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

/* Paragraf di bawah gambar */
.step p {
    font-size: 1em;
    color: #555;
    margin-top: 10px;
    text-align: center;
}

/* Responsif untuk layar lebih kecil */
@media (max-width: 768px) {
    #cara-download h2 {
        font-size: 1.5em;
    }

    .steps-grid {
        grid-template-columns: 1fr; /* Kolom menjadi satu di layar kecil */
    }

    .step-img {
        max-width: 300px; /* Lebih kecil di layar mobile */
    }

    .step p {
        font-size: 0.9em; /* Teks lebih kecil untuk mobile */
    }
}


/* Bagian Testimoni dengan latar belakang emas berkilauan */
#testimoni {
    background: linear-gradient(135deg, #FFD700, #DAA520, #FFD700);
    background-size: 400% 400%;
    animation: goldGlow 15s ease infinite;
    padding: 50px 20px;
    text-align: center;
}

@keyframes goldGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Grid untuk menampilkan 3 gambar full di kotak */
/* Bagian Testimoni dengan latar belakang emas berkilauan */
#testimoni {
    background: linear-gradient(135deg, #FFD700, #DAA520, #FFD700);
    background-size: 400% 400%;
    animation: goldGlow 15s ease infinite;
    padding: 50px 20px;
    text-align: center;
}

@keyframes goldGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Grid untuk urutan vertikal */
.testimonials-grid {
    display: flex;
    flex-direction: column; /* Mengubah urutan jadi vertikal */
    gap: 30px; /* Jarak antar elemen testimonial */
    max-width: 600px;
    margin: 0 auto;
}

/* Gaya untuk testimonial dengan efek glowing */
.testimonial {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Agar glowing terlihat di samping */
}

.testimonial:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6); /* Efek glowing emas */
}

/* Gambar full dalam kotak */
.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar memenuhi kotak */
    transition: transform 0.3s ease;
}

.testimonial:hover .testimonial-img {
    transform: scale(1.1); /* Gambar sedikit membesar saat hover */
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .testimonials-grid {
        max-width: 100%; /* Lebar penuh di layar kecil */
    }
}
/* Bagian Testimoni dengan latar belakang emas berkilauan */
/* Gaya untuk judul testimoni besar dengan animasi warna */
#testimoni-title {
    font-size: 3.5em; /* Ukuran font besar */
    font-weight: bold;
    text-align: center;
    color: white; /* Warna awal */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4); /* Efek glowing putih */
    margin-bottom: 40px;
    animation: colorShift 5s infinite alternate; /* Animasi bergantian */
}

/* Animasi perubahan warna dari putih ke emas */
@keyframes colorShift {
    0% {
        color: white;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4); /* Glow putih */
    }
    50% {
        color: #FFD700; /* Warna emas */
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4); /* Glow emas */
    }
    100% {
        color: white; /* Kembali ke putih */
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4); /* Glow putih */
    }
}


#testimoni {
    background: linear-gradient(135deg, #FFD700, #DAA520, #FFD700);
    background-size: 400% 400%;
    animation: goldGlow 15s ease infinite;
    padding: 50px 20px;
    text-align: center;
}

@keyframes goldGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Grid untuk urutan vertikal */
.testimonials-grid {
    display: flex;
    flex-direction: column; /* Mengubah urutan jadi vertikal */
    gap: 30px; /* Jarak antar elemen testimonial */
    max-width: 600px;
    margin: 0 auto;
}

/* Gaya untuk testimonial dengan efek glowing */
.testimonial {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Agar glowing terlihat di samping */
}

.testimonial:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6); /* Efek glowing emas */
}

/* Gambar full dalam kotak */
.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar memenuhi kotak */
    transition: transform 0.3s ease;
}

.testimonial:hover .testimonial-img {
    transform: scale(1.1); /* Gambar sedikit membesar saat hover */
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .testimonials-grid {
        max-width: 100%; /* Lebar penuh di layar kecil */
    }
}
