/* ==========================================
   1. PENGATURAN DASAR & VARIABEL WARNA
   ========================================== */
:root {
    --navy: #1a2a5a;
    --gold: #c5a059;
    --gold-light: #e0c58e;
    --white: #ffffff;
    --bg-light: #f4f7fa;
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --hero-bg-clean: #ffffff; 
    --hero-navy: #1f2e5a; 
    --hero-btn-grad: linear-gradient(135deg, #c7a14e, #9e7526);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }

/* KUNCI ANTI GESER KANAN ADA DI SINI */
html, body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    max-width: 100%;
    overflow-x: hidden; /* Mengunci layar agar tidak bisa digeser horizontal */
}

.bg-white { background-color: var(--white); }
.text-white { color: var(--white) !important; }

/* ==========================================
   2. TOP BAR & NAVBAR
   ========================================== */
.top-bar { background-color: var(--navy); color: var(--white); padding: 8px 8%; font-size: 0.85rem; display: flex; justify-content: flex-end; position: relative; z-index: 1001; }
.top-bar-content { display: flex; align-items: center; }
.top-bar-content span { margin-left: 20px; }
.top-bar-content i { color: var(--gold); margin-right: 5px; }

nav { background: rgba(255, 255, 255, 0.98); padding: 15px 8%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.logo-container img { height: 60px; width: auto; object-fit: contain; transform: scale(3.0); transform-origin: left center; margin-left: -90px; }

/* Tombol Hamburger (Sembunyi di PC) */
.menu-toggle { display: none; font-size: 1.8rem; color: var(--navy); cursor: pointer; transition: 0.3s; }
.menu-toggle:hover { color: var(--gold); }

.nav-links { display: flex; list-style: none; gap: 35px; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.95rem; transition: 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--gold); transition: 0.3s; }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

/* ==========================================
   3. HERO SECTION (100% HD PURE CSS WAVES)
   ========================================== */
/* ==========================================
   3. HERO SECTION (100% HD PURE CSS WAVES)
   ========================================== */
.hero-updated {
    min-height: 85vh;
    background-color: #ffffff; /* Latar belakang dasar putih bersih */
    
    /* === KODE AJAIB: Salur Gelombang HD + Tekstur Gedung Geometris === */
    background-image: 
        /* 1. Salur Gelombang Emas (Posisi di Belakang) */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23c5a059' d='M0,0 L1440,0 L1440,100 C1000,250 400,-50 0,120 Z'/%3E%3C/svg%3E"),
        
        /* 2. Salur Gelombang Navy (Posisi di Depan) */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%231a2a5a' d='M0,0 L1440,0 L1440,70 C1000,220 400,-80 0,90 Z'/%3E%3C/svg%3E"),
        
        /* 3. Tekstur Jaring Geometris (Sangat halus, elegan seperti tekstur kaca gedung) */
        repeating-linear-gradient(45deg, rgba(26, 42, 90, 0.03) 0px, rgba(26, 42, 90, 0.03) 5px, transparent 5px, transparent 40px),
        repeating-linear-gradient(-45deg, rgba(26, 42, 90, 0.03) 0px, rgba(26, 42, 90, 0.03) 5px, transparent 5px, transparent 40px);
    
    /* Mengatur letak gelombang di atas, dan jaring berulang di seluruh layar */
    background-position: top center, top center, center, center;
    background-repeat: no-repeat, no-repeat, repeat, repeat;
    
    /* Mengatur ketebalan gelombang (200px) dan kerapatan jaring (50px) */
    background-size: 100% 200px, 100% 200px, 50px 50px, 50px 50px;
    
    position: relative;
    overflow: hidden;
    padding: 80px 8% 120px;
    display: flex;
    align-items: center;
}

/* KODE .hero-container DAN LAINNYA TETAP BIARKAN SAMA */

.hero-container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; width: 100%; }
.hero-text-content { color: var(--hero-navy); }
.hero-small-tagline { font-size: 0.9rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 15px; font-weight: 600; }
.hero-main-title { font-size: 3.2rem; line-height: 1.2; color: var(--hero-navy); font-weight: 800; margin-bottom: 25px; }
.hero-subtext { font-size: 1.15rem; line-height: 1.6; color: var(--hero-navy); margin-bottom: 40px; max-width: 550px; }

.hero-pill-btn { display: inline-block; padding: 15px 35px; background: var(--hero-btn-grad); color: white; text-decoration: none; font-weight: 600; border-radius: 50px; transition: 0.3s ease; box-shadow: 0 4px 15px rgba(179, 139, 54, 0.4); border: none; }
.hero-pill-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(179, 139, 54, 0.6); }

.hero-image-content { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-image-content img { width: 120%; max-width: 700px; height: auto; object-fit: contain; z-index: 3; transform: scale(1.3); margin-right: -10%; transition: 0.3s ease; }

/* ==========================================
   4. LAYOUT UMUM & SECTION HEADER
   ========================================== */
.section { padding: 80px 8%; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--navy); margin-bottom: 15px; }
.section-header .divider { width: 80px; height: 3px; background: var(--gold); margin: 0 auto; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* ==========================================
   5. TENTANG KAMI
   ========================================== */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-image img { width: 100%; height: auto; border-radius: 15px; box-shadow: 0 15px 35px rgba(26, 42, 90, 0.1); transition: transform 0.4s ease; }
.about-image img:hover { transform: translateY(-5px); }
.about-text .section-subtitle { color: var(--gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; font-size: 0.9rem; }
.about-text h2 { font-size: 2.4rem; color: var(--hero-navy); font-weight: 800; margin-bottom: 15px; }
.divider-left { width: 80px; height: 4px; background: var(--gold); margin-bottom: 25px; border-radius: 2px; }
.about-desc { color: var(--text-gray); font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }

.legal-list { list-style: none; padding: 0; }
.legal-list li { background: var(--bg-light); margin-bottom: 12px; padding: 15px 20px; border-radius: 8px; color: var(--hero-navy); display: flex; align-items: center; font-size: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.05); }
.legal-list li i { color: var(--gold); font-size: 1.3rem; margin-right: 15px; }

/* ==========================================
   6. KARTU LAYANAN / EXPERT CARD
   ========================================== */
.expert-card { background: white; padding: 40px; border-radius: 8px; transition: 0.4s; border-bottom: 4px solid transparent; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.expert-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-bottom: 4px solid var(--gold); }
.expert-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 25px; }
.expert-card h3 { color: var(--navy); margin-bottom: 15px; font-size: 1.4rem; }
.expert-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

/* ==========================================
   7. ALUR PUBLIKASI (STEP CARD)
   ========================================== */
.step-card { background: var(--bg-light); padding: 40px 20px 30px; border-radius: 8px; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.3s; border-top: 4px solid var(--gold); margin-top: 20px; }
.step-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.step-number { background: var(--navy); color: var(--gold); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: bold; position: absolute; top: -25px; left: 50%; transform: translateX(-50%); border: 4px solid var(--bg-light); }
.step-card i { font-size: 2rem; color: var(--navy); margin: 15px 0; }
.step-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.2rem; }
.step-card p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.6; }

/* ==========================================
   8. CALL FOR PAPER (CAROUSEL)
   ========================================== */
.call-paper-section { background-color: var(--navy); color: white; padding: 80px 5% 100px; }
.call-paper-section .section-header h2 { color: white; }
.cfp-carousel-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 20px; border: 1px solid rgba(197, 160, 89, 0.4); border-radius: 15px; background: rgba(255, 255, 255, 0.02); }
.cfp-track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 15px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) rgba(255,255,255,0.1); }
.cfp-track::-webkit-scrollbar { height: 8px; }
.cfp-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 10px; }
.cfp-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }
.cfp-card { flex: 0 0 calc(33.333% - 14px); scroll-snap-align: start; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.3); transition: transform 0.3s ease; background: white; }
.cfp-card:hover { transform: translateY(-8px); }
.cfp-card img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ==========================================
   9. NILAI INTI (VALUES)
   ========================================== */
.values-section { background-color: var(--navy); color: white; }
.value-box { text-align: center; padding: 30px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; transition: 0.3s; }
.value-box:hover { background-color: rgba(255,255,255,0.05); border-color: var(--gold); }
.value-box h4 { font-size: 3rem; color: var(--gold); margin-bottom: 10px; opacity: 0.5; }

/* ==========================================
   10. FOOTER
   ========================================== */
footer { background: #0f172a; color: #94a3b8; padding: 80px 8% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-about h3 { color: white; margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.footer-links h4 { color: white; margin-bottom: 25px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.contact-info p { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.contact-info i { color: var(--gold); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; }

/* ==========================================
   11. PENGATURAN RESPONSIF (UNTUK HP & TABLET)
   ========================================== */
@media (max-width: 992px) {
    /* Merapikan Jarak Section di HP - Menambah padding-top agar teks turun */
    .section { padding: 60px 5%; }
    .hero-updated { 
        padding: 160px 5% 60px; /* Jarak atas ditambah dari 100px jadi 160px agar teks turun */
        
        /* Optional: Mengurangi tinggi gelombang sedikit di mobile agar lebih proporsional */
        background-size: 100% 150px, 100% 150px, 50px 50px, 50px 50px;
    }

    /* ... (kode top-bar, nav, logo, menu-toggle, nav-links aktif di bawahnya tetap sama) ... */
    .top-bar { justify-content: center; }
    nav { padding: 15px 5%; }
    .logo-container img { margin-left: 0; transform: scale(2); transform-origin: center; }
    .menu-toggle { display: block; }
    .nav-links {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: -100%; width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        text-align: center; padding: 20px 0; gap: 25px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        transition: 0.4s ease-in-out; z-index: 999;
    }
    .nav-links.active { left: 0; }
    .nav-links a::after { display: none; }

    /* Merapikan Susunan Konten Jadi 1 Kolom */
    .hero-container, .about-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    
    /* MENYESUAIKAN UKURAN TEKS DI HP AGAR TIDAK KEBESARAN */
    .hero-main-title { font-size: 2.2rem; }
    .section-header h2, .about-text h2 { font-size: 2rem; }
    .hero-subtext { font-size: 1rem; margin-left: auto; margin-right: auto; }

    /* MERAPIKAN ROBOT AGAR TIDAK KELUAR BATAS LAYAR */
    .hero-image-content img { 
        width: 100%; 
        max-width: 320px; /* Membatasi besarnya robot */
        transform: scale(1.1); /* Skala aman untuk HP */
        margin: 20px auto 0; 
    }
    
    .about-text { text-align: center; }
    .divider-left { margin-left: auto; margin-right: auto; }
    .legal-list li { text-align: left; }
    
    .cfp-card { flex: 0 0 calc(50% - 10px); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .contact-info p { justify-content: center; }
}

/* ... (kode media-query max-width 600px di bawahnya tetap sama) ... */