/* RESET DAN FONT DASAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ==================================== */
/* 1. UTILITIES & CONTAINER */
/* ==================================== */
.container {
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
}

section {
    padding: 60px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #004c99;
}

/* TOMBOL DASAR */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
    text-align: center;
    cursor: pointer;
}

.btn.primary {
    background-color: #007bff; 
    color: white;
    /* Jarak internal: Tambah padding agar tombol lebih berisi */
    padding: 8px 18px; 
    /* Bulatkan sudut sedikit */
    border-radius: 8px; 
    /* Tambah shadow tipis agar tombol timbul */
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn.primary:hover {
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
    opacity: 1; /* Pastikan tidak buram saat di hover */
}

.btn.secondary {
    background-color: #6c757d; 
    color: white;
}

.btn.large {
    padding: 12px 25px;
    font-size: 1.1em;
}

.btn:hover {
    opacity: 0.9;
}


/* ==================================== *//* ==================================== */
/* 2. HEADER & NAVIGASI (FINAL FIX ALIGNMENT) */
/* ==================================== */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    /* Kunci: Pastikan semua item di tengah vertikal, ini yang membuat sejajar */
    align-items: center; 
    padding: 15px 0;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #007bff;
    flex-shrink: 0; 
}

.nav-links {
    list-style: none;
    display: flex;
    margin-left: auto; 
    /* Kunci: Tambahkan ini untuk memastikan list ini sendiri sejajar dengan container nav */
    align-items: center; 
}


.nav-links li {
    /* Jarak standar antar item menu (Layanan, Keunggulan, Harga) */
    margin-left: 20px; 
}

/* **TAMBAHKAN KELAS KHUSUS DI HTML (lihat langkah 2) */
.nav-links li.btn-link { 
    /* Jarak lebih besar untuk tombol agar terpisah dari tautan */
    margin-left: 40px; 
}
 

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    /* Hapus margin/padding vertikal yang mungkin menggeser tautan dari tengah */
    padding: 0; 
    margin: 0;
}

/* Tombol Hubungi Kami (yang ada di dalam <li>) sudah menggunakan kelas .btn dan akan di-align secara otomatis oleh align-items: center di nav. */

/* Mobile Menu (Burger Icon) */
.burger {
    display: none;
    cursor: pointer;
}
/* ... (lanjutkan dengan CSS burger dan bagian lain) ... */



.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* ==================================== */
/* 2. HERO SECTION */
/* ==================================== */

.hero {
    background-color: #eaf6ff; /* Warna yang sama seperti di header/logo */
    padding: 80px 0 60px 0;
    text-align: left; /* Mengatur ulang agar teks rata kiri dalam kolom */
}

/* Mengatur Hero Wrapper untuk layout 2 kolom */
.hero-wrapper {
    display: flex;
    align-items: center; /* Meratakan konten di tengah secara vertikal */
    gap: 40px; /* Jarak antara teks dan gambar */
}

.hero-content {
    flex: 1; /* Ambil setengah lebar */
    max-width: 55%; /* Pastikan konten teks tidak terlalu lebar */
}

.hero-image {
    flex: 1; /* Ambil setengah lebar */
    max-width: 45%; 
    display: flex;
    justify-content: flex-end; /* Dorong gambar ke kanan */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Opsional: Tambahkan sudut melengkung pada gambar */
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #0d2c5e;
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #4a5568;
}

/* Penyesuaian untuk tampilan mobile (di bawah 768px) */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px 0;
        text-align: center; /* Pindahkan teks kembali ke tengah di mobile */
    }
    .hero-wrapper {
        flex-direction: column; /* Ubah menjadi satu kolom (gambar di bawah teks) */
    }
    .hero-content, 
    .hero-image {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .hero h1 {
        font-size: 2em;
    }
    .hero-image img {
        max-width: 80%; /* Kecilkan sedikit gambar di mobile */
    }
}


/* ==================================== */
/* 4. LAYANAN KAMI */
/* ==================================== */
.grid-layanan {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    justify-content: center;
}

.item-layanan {
    flex-basis: calc(50% - 10px); 
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}


/* ==================================== */
/* 5. KEUNGGULAN KAMI (DIPERBAIKI) */
/* ==================================== */
.keunggulan {
    background-color: #ffffff; 
}

.grid-keunggulan {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.keunggulan-card {
    flex-basis: calc(50% - 10px); 
    background-color: #e9f7ff; 
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.keunggulan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.keunggulan-card h3 {
    color: #007bff;
    font-size: 1.25em;
    margin-bottom: 10px;
}


/* ==================================== */
/* 6. HARGA (MODIFIKASI DESAIN) */
/* ==================================== */
.harga {
    background-color: #f8f8f8; 
}

.grid-harga {
    display: flex;
    flex-wrap: wrap; 
    gap: 25px; 
    justify-content: center;
}

.card-harga {
    flex-basis: calc(33.333% - 17px); 
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); 
    background-color: white;
    transition: all 0.4s ease;
    border: none; 
}

.card-harga:hover {
    transform: translateY(-12px); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); 
}

/* Penyesuaian untuk Kartu POPULAR (Menggunakan Gradien) */
.card-harga.popular {
    background-image: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    transform: scale(1.1); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 5px solid #ffc107; 
    z-index: 10;
}

.card-harga.popular:hover {
    transform: scale(1.15); 
}

.card-harga.popular h3, .card-harga.popular .price, .card-harga.popular .tagline {
    color: white;
}

.card-harga.popular .btn.large {
    background-color: #ffc107; 
    color: #333;
    font-weight: 700;
}

.card-harga h3 {
    font-size: 1.6em;
    margin-bottom: 5px;
    color: #007bff; 
}
.card-harga.popular h3 {
    color: white;
}

.card-harga .tagline {
    font-style: italic;
    color: #777;
    margin-bottom: 15px;
}
.card-harga.popular .tagline {
    color: #e0e0e0;
}

.card-harga .price {
    font-size: 2.8em; 
    font-weight: 700;
    margin: 20px 0;
}

/* DAFTAR FITUR (LIST) YANG RAPI */
.fitur-list {
    list-style: none; 
    padding: 0;
    margin-bottom: 25px;
    text-align: left; 
}

.fitur-list li {
    padding: 12px 0; 
    border-bottom: 1px dashed #e0e0e0; 
    font-size: 1em;
}

.card-harga.popular .fitur-list li {
    border-bottom-color: rgba(255, 255, 255, 0.3); 
}
.fitur-list li:last-child {
    border-bottom: none;
}

/* ==================================== */
/* 6.5 KLIEN KAMI (PORTOFOLIO) */
/* ==================================== */
.klien-kami {
    background-color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.klien-kami .subtitle {
    margin-bottom: 50px;
    font-size: 1.1em;
    color: #666;
}

.grid-klien {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.klien-item {
    flex-basis: 30%; 
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-color: #f9f9f9;
    /* Tambahkan transisi untuk animasi yang halus */
    transition: all 0.3s ease; 
    cursor: default; /* Menandakan item interaktif */
}

/* EFEK HOVER BARU */
.klien-item:hover {
    /* Kartu terangkat sedikit */
    transform: translateY(-5px); 
    /* Bayangan lebih tebal */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
    /* Background sedikit lebih putih */
    background-color: #ffffff; 
}
 

.klien-item .logo-placeholder {
    display: block;
    font-size: 1.2em;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}

.klien-item p {
    font-size: 0.9em;
    color: #888;
}

/* Klien CTA di bawah daftar */
.klien-cta {
    margin-top: 30px;
}


/* MEDIA QUERY KLIEN (Responsiveness) */
@media (max-width: 768px) {
    .klien-kami {
        padding: 40px 0;
    }
    .grid-klien {
        gap: 15px;
    }
    .klien-item {
        flex-basis: 45%; /* 2 item per baris untuk mobile/tablet */
    }
}


/* ==================================== */
/* 7. FOOTER (MODIFIKASI) */
/* ==================================== */
footer {
    background-color: #212529; 
    color: #e9ecef; 
    padding: 50px 0 20px 0;
}

.footer-grid-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #343a40; 
}

.footer-col-1, .footer-col-2, .footer-col-3 {
    flex-basis: calc(33% - 20px); 
    margin-bottom: 25px;
}

.footer-col-1 p {
    font-size: 0.9em;
    line-height: 1.5;
}

footer h3, footer h4 {
    color: #007bff; 
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li a {
    color: #e9ecef;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    font-size: 0.95em;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #ffc107; 
}

.social-icons a {
    font-size: 1.5em;
    margin-right: 15px;
    text-decoration: none;
    color: #e9ecef;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #007bff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85em;
    color: #adb5bd;
}


/* ==================================== */
/* 8. MEDIA QUERIES (RESPONSIVENESS) */
/* ==================================== */
@media (max-width: 768px) {
    /* NAVIGASI MOBILE */
    .nav-links {
        position: fixed; 
        right: 0;
        top: 60px;
        background-color: white;
        display: none; 
        flex-direction: column;
        width: 100%;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
        transition: transform 0.5s ease-in;
        margin-left: 0; /* Penting: Hapus margin-left: auto di mobile */
    }

    /* KELAS AKTIF DARI JAVASCRIPT */
    .nav-active {
        display: flex; 
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links li a {
        margin-left: 0;
        display: block;
        padding: 10px;
        color: #333; 
    }

    .burger {
        display: block; 
    }

    /* ANIMASI IKON BURGER (X) */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* KONTEN RESPONSIF (1 KOLOM) */
    .hero h1 {
        font-size: 2em;
    }

    .grid-layanan, .grid-harga, .grid-keunggulan {
        flex-direction: column; 
    }

    .item-layanan, .card-harga, .keunggulan-card {
        flex-basis: 100%; 
        margin-bottom: 20px;
    }
    
    .card-harga.popular {
        transform: none; 
    }
    
    .footer-col-1, .footer-col-2, .footer-col-3 {
        flex-basis: 100%; 
        text-align: center;
    }
    .footer-col-2, .footer-col-3 {
        padding-top: 15px;
    }
    .footer-links {
        text-align: center; 
    }
}


/* ==================================== */
/* 7xx. NOTIFIKASI SOSIAL PROOF */
/* ==================================== */

.notification-pop-up {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 300px;
    padding: 15px;
    
    /* Mulai dari posisi tersembunyi di bawah */
    transform: translateY(150%); 
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.notification-pop-up.show {
    /* Tampilkan notifikasi di posisi yang benar */
    transform: translateY(0); 
    opacity: 1;
    visibility: visible;
}

.notification-content {
    display: flex;
    flex-direction: column;
}

.notification-content p {
    font-size: 0.9em;
    color: #333;
    margin: 0 0 10px 0;
}

.notification-content a {
    text-decoration: none;
    color: #1e90ff; /* Warna biru primer */
    font-size: 0.8em;
    font-weight: 600;
    align-self: flex-start; /* Meratakan tautan ke kiri */
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: #333;
}

/* Responsif untuk layar sangat kecil */
@media (max-width: 480px) {
    .notification-pop-up {
        width: 90%;
        left: 5%;
        right: 5%;
        bottom: 10px;
    }
}