:root {
    --navy: #001A33;
    --accent: #00D1FF;
    --deep: #000D1A;
    --white: #ffffff;
    --soft-gray: #F8FAFC;
    --text: #64748b;
}

* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.8; color: var(--navy); background-color: var(--white); overflow-x: hidden; }

/* NAVBAR */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 8%; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px); position: fixed; width: 100%; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo { font-weight: 800; font-size: 24px; text-decoration: none; color: var(--navy); letter-spacing: -1px; flex-shrink: 0; }
.logo span { color: var(--accent); }
.btn-nav { background: var(--navy); color: white; padding: 10px 24px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px; transition: 0.3s; white-space: nowrap; }
.btn-nav:hover { background: var(--accent); color: var(--navy); }

/* HERO */
.hero { padding: 160px 8% 100px; text-align: center; background: radial-gradient(circle at top right, #002D5A, var(--deep)); color: white; min-height: 80vh; display: flex; align-items: center; justify-content: center; }
.hero-content { width: 100%; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.2rem; color: #94A3B8; max-width: 750px; margin: 0 auto 40px; }
.btn-hero { background: var(--accent); color: var(--navy); padding: 16px 35px; border-radius: 14px; text-decoration: none; font-weight: 800; transition: 0.3s; display: inline-block; }

/* SECTIONS */
.section-padding { padding: 100px 8%; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); object-fit: cover; }
.bg-soft { background: var(--soft-gray); border-radius: 60px 60px 0 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; font-weight: 800; }
.services-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.card { background: white; padding: 40px; border-radius: 25px; border: 1px solid rgba(0,0,0,0.03); transition: 0.4s; display: flex; flex-direction: column; height: 100%; }
.card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.card i { font-size: 40px; color: var(--accent); margin-bottom: 20px; display: block; }

/* LOCATION BOX */
.location-box { background: var(--navy); color: white; border-radius: 40px; padding: 80px 40px; text-align: center; }
.location-icon { font-size: 50px; color: var(--accent); margin-bottom: 25px; }
.address { font-size: 1.4rem; font-weight: 500; margin-bottom: 25px; }
.badge-time { display: inline-block; background: rgba(0, 209, 255, 0.1); padding: 10px 30px; border-radius: 100px; font-size: 1rem; border: 1px solid var(--accent); color: var(--accent); font-weight: 600; }
.sub-address { margin-top: 20px; opacity: 0.6; font-size: 0.9rem; }

/* FOOTER */
.main-footer { padding: 80px 8% 40px; background: var(--soft-gray); text-align: center; border-top: 1px solid #eef2f6; }
.social-links { margin: 30px 0; }
.social-links a { font-size: 20px; color: var(--navy); margin: 0 15px; text-decoration: none; }
.copyright { margin-top: 40px; font-size: 0.9rem; color: var(--text); }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 1000; text-decoration: none; }

/* --- PERBAIKAN RESPONSIVE (PENTING) --- */
@media (max-width: 768px) {
    .navbar { padding: 10px 5%; }
    .logo { font-size: 18px; }
    .btn-nav { padding: 8px 15px; font-size: 12px; }

    .hero { padding: 120px 5% 60px; }
    .hero h1 { font-size: 2rem; } /* Memperbaiki teks terpotong di HP */
    .hero p { font-size: 1rem; margin-bottom: 30px; }
    
    .section-padding { padding: 60px 5%; }
    .about-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .section-title { font-size: 1.8rem; }
    
    .location-box { padding: 50px 20px; border-radius: 30px; }
    .address { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; } /* Lebih kecil lagi untuk layar iPhone SE */
    .btn-nav { display: block; } /* Memastikan tombol konsultasi tidak hilang tapi rapi */
}

/* --- STYLE PRELOADER --- */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out { opacity: 0; visibility: hidden; }

.loader-icon {
    animation: iconPop 1.2s ease-out forwards;
}

.loader-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 24px; color: #001A33;
    margin-top: 15px; opacity: 0;
    transform: translateY(20px);
    animation: textUp 0.8s ease-out 0.8s forwards;
}

.loader-text span { color: #00D1FF; }

@keyframes iconPop {
    0% { transform: scale(0.5) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes textUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}