/* ==========================================
   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 === */
html, body {
    width: 100%;
    max-width: 100vw;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden; 
    position: relative;
}

img { max-width: 100%; height: auto; }

.bg-white { background-color: var(--white); }
.text-white { color: var(--white) !important; }

/* ==========================================
   2. TOP BAR & NAVBAR (SUDAH DITAMBAH GARIS)
   ========================================== */
.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; }

/* NAVBAR SEKARANG MEMILIKI MOTIF GARIS AGAR MENYATU */
nav { 
    background-color: rgba(255, 255, 255, 0.98); 
    background-image: 
        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);
    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 { 
    max-width: none !important; 
    height: 60px !important; 
    width: auto; 
    object-fit: contain; 
    transform: scale(3.0); 
    transform-origin: left center; 
    margin-left: -90px; 
}

.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)
   ========================================== */
.hero-updated {
    min-height: 85vh;
    background-color: #ffffff; 
    
    background-image: 
        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"),
        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"),
        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);
    
    background-position: top center, top center, center, center;
    background-repeat: no-repeat, no-repeat, repeat, repeat;
    background-size: 100% 200px, 100% 200px, 50px 50px, 50px 50px;
    
    position: relative;
    overflow: hidden;
    padding: 80px 8% 120px;
    display: flex;
    align-items: center;
}

.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; object-fit: contain; z-index: 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; }
.expert-card {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 42, 90, 0.06);
    border: 1px solid rgba(0,0,0,0.03);
    border-top: 5px solid var(--gold); /* Garis emas elegan di bagian atas */
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 42, 90, 0.12);
    border-top: 5px solid var(--navy); /* Garis berubah navy saat disentuh */
}

.expert-card h3 {
    color: var(--hero-navy);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px; /* Jarak ikon dengan teks */
}

/* Trik Ajaib: Memunculkan Ikon Otomatis lewat CSS */
.expert-card:nth-child(1) h3::before {
    content: "\f06e"; /* Ikon Mata untuk Visi */
    font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gold); font-size: 1.8rem;
}
.expert-card:nth-child(2) h3::before {
    content: "\f135"; /* Ikon Roket untuk Misi */
    font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gold); font-size: 1.8rem;
}

.expert-card p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}
/* ==========================================
   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%; 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. LAYANAN UNGGULAN
   ========================================== */
.layanan-container { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto; }
.layanan-left .section-subtitle { color: var(--gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; font-size: 0.9rem; }
.layanan-left h2 { font-size: 2.4rem; color: var(--hero-navy); margin-bottom: 15px; font-weight: 800; line-height: 1.3; }
.layanan-left .layanan-desc { color: var(--text-gray); font-size: 1.1rem; line-height: 1.8; margin-bottom: 25px; }
.layanan-right { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.fitur-box { background: var(--white); padding: 30px 25px; border-radius: 12px; box-shadow: 0 8px 25px rgba(26, 42, 90, 0.06); transition: all 0.3s ease; border-bottom: 4px solid transparent; text-align: left; }
.fitur-box:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(26, 42, 90, 0.12); border-bottom: 4px solid var(--gold); }
.fitur-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.6rem; transition: 0.3s; }

.circle-navy { background-color: rgba(26, 42, 90, 0.08); color: var(--navy); }
.circle-gold { background-color: rgba(197, 160, 89, 0.15); color: var(--gold); }
.fitur-box:hover .circle-navy { background-color: var(--navy); color: var(--white); }
.fitur-box:hover .circle-gold { background-color: var(--gold); color: var(--white); }
.fitur-box h3 { font-size: 1.25rem; color: var(--hero-navy); margin-bottom: 12px; font-weight: 800; }
.fitur-box p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }

/* ==========================================
   7. ALUR PUBLIKASI (12 LANGKAH DENGAN IKON)
   ========================================== */
.alur-grid {
    display: grid;
    /* Membuat 2 kolom untuk PC */
    grid-template-columns: 1fr 1fr; 
    gap: 25px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.alur-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--white);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 5px 20px rgba(26, 42, 90, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.alur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 42, 90, 0.1);
}

.alur-icon {
    font-size: 2.5rem; 
    margin-right: 25px; 
    width: 60px; 
    text-align: center;
    transition: all 0.3s ease;
}

.icon-gold { color: var(--gold); }
.icon-navy { color: var(--navy); }

.alur-card:hover .alur-icon { transform: scale(1.1); }

.alur-num {
    width: 50px; 
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-right: 25px; 
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bg-gold { background: linear-gradient(135deg, #d4af37, var(--gold)); color: var(--white); }
.bg-navy { background: linear-gradient(135deg, #2d3e7a, var(--navy)); color: var(--white); }

.alur-content { text-align: left; }
.alur-content h3 { color: var(--hero-navy); font-size: 1.3rem; margin-bottom: 6px; font-weight: 800; }
.alur-content p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.5; }

/* ==========================================
   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); overflow: hidden; } 
.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. MENGAPA MEMILIH KAMI (PENGGANTI NILAI INTI)
   ========================================== */
.keunggulan-grid {
    display: grid;
    /* Otomatis membagi rata kolomnya. Di PC jadi 4, di Tablet jadi 2 */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.keunggulan-card {
    background: var(--bg-light); /* Latar belakang abu-abu sangat muda */
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}

/* Efek Kotak Timbul saat Disentuh */
.keunggulan-card:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 42, 90, 0.08);
    border-bottom: 4px solid var(--gold);
}

/* Desain Lingkaran Ikon */
.icon-keunggulan {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(197, 160, 89, 0.1); /* Emas transparan */
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: 0.5s ease;
}

/* Trik Visual: Ikon Berputar (Flip) dan Berubah Warna saat Kotak Disentuh */
.keunggulan-card:hover .icon-keunggulan {
    background: var(--navy);
    color: var(--white);
    transform: rotateY(180deg);
}

.keunggulan-card h3 {
    color: var(--hero-navy);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.keunggulan-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}
/* ==========================================
   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; }

/* ==========================================
   PLUGIN WHATSAPP FLOATING
   ========================================== */
.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Hijau khas WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999; /* Memastikan selalu di posisi teratas */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wa-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}
/* ==========================================
   11. PENGATURAN RESPONSIF (UNTUK HP & TABLET)
   ========================================== */
@media (max-width: 992px) { 
    .section { padding: 60px 5%; }
    
    /* 1. MENGATASI GELOMBANG TIPIS & TEKS NABRAK */
    .hero-updated { 
        padding: 130px 5% 40px !important; /* Teks didorong lebih ke bawah */
        /* Tinggi gelombang dinaikkan lagi jadi 120px agar tidak tipis */
        background-size: 200% 120px, 200% 120px, 50px 50px, 50px 50px !important; 
        background-position: top center, top center, center, center !important;
    }
    
    /* Responsif untuk Visi Misi di HP */
    .expert-card { padding: 30px 20px; text-align: left; }
    .expert-card h3 { font-size: 1.4rem; }
    
    /* 2. MENGURUTKAN KEMBALI ALUR PUBLIKASI (1-12) SECARA PAKSA */
    .alur-grid { display: flex; flex-direction: column; gap: 20px; }
    .alur-card:nth-child(1) { order: 1; }   /* Screening */
    .alur-card:nth-child(3) { order: 2; }   /* Pedoman Author */
    .alur-card:nth-child(5) { order: 3; }   /* Editing Template */
    .alur-card:nth-child(7) { order: 4; }   /* Submit */
    .alur-card:nth-child(9) { order: 5; }   /* Review I */
    .alur-card:nth-child(11){ order: 6; }   /* Revisi */
    .alur-card:nth-child(2) { order: 7; }   /* LoA Terbit */
    .alur-card:nth-child(4) { order: 8; }   /* Review II */
    .alur-card:nth-child(6) { order: 9; }   /* Copyediting */
    .alur-card:nth-child(8) { order: 10; }  /* Fiksasi */
    .alur-card:nth-child(10){ order: 11; }  /* Production */
    .alur-card:nth-child(12){ order: 12; }  /* Publish */

    .alur-card { padding: 15px; }
    .alur-num { margin-right: 15px; width: 40px; height: 40px; font-size: 1.2rem; }
    .alur-icon { font-size: 2rem; width: 45px; margin-right: 15px; }
    .alur-content h3 { font-size: 1.15rem; }
    .alur-content p { font-size: 0.9rem; }
    
    /* 3. MENGATASI LOGO KURANG POJOK DI HP */
    .logo-container { overflow: visible; }
    /* Margin kiri dibuat minus (-20px) agar nempel ujung kiri */
    .logo-container img { margin-left: -40px !important; transform: scale(2.3) !important; transform-origin: left center !important; }
    
    .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; }

    /* Layout 1 Kolom */
    .hero-container, .about-container, .layanan-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    
    .layanan-left h2, .section-header h2, .about-text h2 { font-size: 2rem; }
    .hero-main-title { font-size: 2.2rem; }
    .hero-subtext { font-size: 1rem; margin-left: auto; margin-right: auto; }

    /* Anti Bocor Robot HP */
    .hero-image-content img { 
        width: 100%; 
        max-width: 350px; 
        transform: none !important;
        margin: 20px auto 0; 
        display: block;
    }
    
    .about-text { text-align: center; }
    .divider-left { margin-left: auto; margin-right: auto; }
    .legal-list li { text-align: left; }
    
    .fitur-box { text-align: center; padding: 25px 20px; }
    .fitur-icon { margin: 0 auto 20px; } 

    .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; }
}

@media (max-width: 600px) {
    /* Mencegah email panjang bikin layar bocor ke kanan */
    .top-bar-content { flex-direction: column; gap: 8px; text-align: center; }
    .top-bar-content span { margin-left: 0; word-break: break-word; } 
    
    .hero-main-title { font-size: 1.8rem; }
    .cfp-card { flex: 0 0 90%; }
    .layanan-right { grid-template-columns: 1fr; } 
    
    /* Responsif untuk Alur Publikasi di HP Layar Kecil (Ditumpuk ke bawah) */
    .alur-card { flex-direction: column; text-align: center; }
    .alur-content { text-align: center; }
    .alur-num { margin: 0 auto 10px; }
    .alur-icon { margin: 0 auto 10px; }
    /* Responsif HP untuk WA Float */
    .wa-float { width: 50px; height: 50px; bottom: 20px; right: 20px; font-size: 30px; }
}