/* === CSS STYLING & GLASSMORPHISM UI === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #04060f;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    overflow-x: hidden; /* Mencegah screen bocor menyamping di iOS/Android */
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1000px;
    padding: 0 16px; /* Margin aman sisi kiri kanan layar HP */
}

/* Navigasi / Header Glassmorphism */
header {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    flex-wrap: wrap; /* Membungkus nav otomatis jika layar terlalu sempit */
    gap: 15px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
    background: linear-gradient(120deg, #ffd700, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-area i {
    font-size: 1.5rem;
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

nav {
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #b0b5c6;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

nav ul li a.cyan-nav {
    color: #00f0ff;
}

/* Hero Section Card */
.hero-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hero-card .hero-logo {
    font-size: 3.5rem;
    color: #ffd700;
    margin-bottom: 15px;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

.hero-card h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: calc(1.3rem + 1vw); /* Teks membesar/mengecil otomatis secara proporsional */
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-card p {
    color: #00f0ff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

/* Services Section (3 Grid) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Grid fleksibel tanpa media query kasar */
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: #00f0ff;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.4));
}

.service-card h3 {
    font-size: 1.15rem;
    color: #ffd700;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    color: #a0a7b8;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- UPDATE TESTIMONIALS INFINITE SCROLL --- */
.testimonials-section {
    overflow: hidden; /* Menyembunyikan card yang keluar layar */
    width: 100%;
    position: relative;
    padding: 30px 0;
}

/* Container utama pembungkus track */
.testimonials-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

/* Track yang bergerak jalan terus menerus */
.testimonials-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: gulirOtomatis 45s linear infinite;
}

/* Efek Pause saat jari menyentuh / kursor hover di HP/PC */
.testimonials-track:hover {
    animation-play-state: paused;
}

/* Atur ulang ukuran card agar pas dalam barisan horizontal */
.testimonials-track .testi-card {
    width: 300px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: left;
}

/* Animasi Inti Pergeseran */
@keyframes gulirOtomatis {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Geser setengah total panjang duplikasi */
    }
}


.testi-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.testi-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.testi-content i.fa-quote-left {
    font-size: 1.2rem;
    color: #ffd700;
    opacity: 0.7;
    margin-top: 3px;
}

.testi-text-block p {
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.testi-author {
    color: #ffd700;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
    display: block;
}

/* Call To Action & Footer Link */
.cta-area {
    text-align: center;
    margin-bottom: 25px;
    padding: 0 10px;
}

.btn-whatsapp {
    background: rgba(4, 6, 15, 0.6);
    border: 2px solid #00f0ff;
    color: #ffd700;
    font-family: 'Montserrat', sans-serif;
    font-size: calc(0.95rem + 0.3vw);
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 14px 35px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    display: inline-block;
    text-decoration: none;
    width: 100%;
    max-width: 320px; /* Di komputer melebar normal, di HP mengecil otomatis */
}

.btn-whatsapp:hover {
    background: #00f0ff;
    color: #04060f;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.7);
    transform: scale(1.02);
}

.footer-link {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 20px;
}

.footer-link a {
    color: #00f0ff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
    opacity: 0.9;
}

/* Penyelarasan Khusus HP < 480px */
@media (max-width: 480px) {
    header {
        justify-content: center;
        text-align: center;
        padding: 15px 10px;
    }
    nav ul {
        justify-content: center;
        gap: 12px;
    }
    .hero-card {
        padding: 30px 15px;
    }
}
/* Mengecilkan ukuran font sedikit pada judul hero */
#hero-title {
    font-size: 0.9em; /* Kamu bisa mengatur angka ini (misal: 0.85em atau 1.1em) sesuai selera */
}

/* Animasi kursor berkedip */
.typing-cursor {
    font-weight: normal;
    color: #00f0ff; /* Warna kursor cyan, bisa diganti sesuai selera */
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
