* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* BODY (SAMA DENGAN INDEX) */
body {
    background: #ffffff;
    color: #333;
    overflow-x: hidden; /* Mencegah scroll menyamping di HP */
}

/* ================= NAVBAR (PAKE YANG SUDAH KAMU PUNYA) ================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* ===== DROPDOWN ===== */
.navbar nav {
    display: flex;
    align-items: center;
    gap: 30px; /* default 20px, tambah jadi 30px */
}

.navbar-logo {
    height: 30px;            /* tinggi navbar tetap */
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;      /* biar logo bisa keluar */
}

/* GAMBAR LOGO */
.navbar-logo img {
    height: 60px;           /* BESARIN LOGO */
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

/* CONTAINER */
.dropdown {
    position: relative;
}

/* BUTTON */
.dropbtn {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

/* ARROW */
.dropbtn::after {
    content: "▾";
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* ROTATE ARROW */
.dropdown:hover .dropbtn::after {
    transform: rotate(180deg);
}

/* DROPDOWN BOX */
.dropdown-content {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    opacity: 0;
    pointer-events: none;

    background: rgba(20,20,20,0.85);
    backdrop-filter: blur(12px);
    min-width: 200px;
    border-radius: 12px;
    overflow: hidden;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255,255,255,0.05);

    transition: all 0.35s ease;
    z-index: 999;
}

/* SHOW */
.dropdown-content.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* ITEM */
.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* SEPARATOR */
.dropdown-content a:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* HOVER EFFECT */
.dropdown-content a:hover {
    background: linear-gradient(90deg, #28a745, #00ff99);
    color: #000;
    padding-left: 26px;
}

/* ================= HERO ================= */
/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* full viewport height */
    overflow: hidden;
    background: #0e0e0e;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 40px;  /* radius bawah kiri */
    border-bottom-right-radius: 40px; /* radius bawah kanan */
    box-shadow: 0 40px 60px rgba(0,0,0,0.3); /* shadow bagian bawah */
    transition: all 0.5s ease;
}

/* OVERLAY Teks */
.hero-overlay {
    position: absolute;
    bottom: 30%;
    left: 10%;
    color: white;
    max-width: 500px;
}

.hero-overlay h1 {
    font-size: 56px;
    margin-bottom: 15px;
}

.hero-overlay p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ================= PROFILE SECTION ================= */
.profile-hero {
    padding: 140px 8% 80px;
    display: flex;
    justify-content: center;
}

/* MAIN CARD (STYLE SAMA SEPERTI CARD NEWS) */
.profile-card {
    display: flex;
    gap: 40px;

    background: #fff;
    border-radius: 22px;
    overflow: hidden;

    box-shadow: 0 30px 60px rgba(0,0,0,.15);
    transition: transform .5s ease, box-shadow .5s ease;

    max-width: 1000px;
    padding: 40px;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,.25);
}

/* PROFILE IMAGE (SAMA STYLE CARD IMAGE INDEX) */
.profile-img img {
    width: 260px;
    aspect-ratio: 3 / 4;   /* INI KUNCI UTAMA */
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    border: 2px solid #28a745;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* TEXT AREA */
.profile-right {
    flex: 1;
}

.profile-right h1 {
    font-size: 42px;
    color: #111;
    margin: 10px 0;
}

.role {
    color: #28a745;
    font-weight: 500;
    margin-bottom: 15px;
}

/* DESCRIPTION */
.desc {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* SOCIAL ICON */
.social {
    margin-top: 15px;
}

.social a {
    color: #333;
    margin-right: 12px;
    font-size: 20px;
    transition: 0.3s;
}

.social a:hover {
    color: #28a745;
}

.btn-primary,
.card-content .see-more,
.dropdown-content a:hover {
    transition: all 0.3s ease;
}

/* PRIMARY BUTTON */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(90deg, #28a745, #00ff99);
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(40,167,69,0.3);
}

/* ================= ABOUT SECTION (SAMA STYLE NEWS TITLE) ================= */
.about-section {
    padding: 80px 8%;
    text-align: center;
    background: #fff;
}

.about-section h2 {
    font-size: 52px;
    color: #111;
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* BOX (SAMA STYLE CARD INDEX) */
.about-box {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.about-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border-color: #28a745;
}

.about-box h3 {
    margin-bottom: 10px;
    color: #111;
}

.about-box p {
    color: #666;
    line-height: 1.6;
}

/* =============================================================
   10. FOOTER MODERN
   ============================================================= */
.footer-modern {
    background: #3c3f41;
    color: #ddd;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 8%;
    flex-wrap: wrap;
}

.footer-left h4, .footer-center h4, .footer-right h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.logo-img {
    width: 120px;
    margin-bottom: 10px;
}

.footer-line {
    width: 60px;
    height: 2px;
    background: #bbb;
    margin: 10px 0 20px;
}

.footer-center ul {
    list-style: none;
    padding: 0;
}

.footer-center ul li {
    margin-bottom: 8px;
}

.footer-center ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
    text-decoration: none;
    border: none;
}

.social-icons a:hover {
    background: #28a745;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #aaa;
}
@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap: 30px; }

    .subscribe-box {
        flex-direction: column;
    }
    .subscribe-box input {
        width: 100%;
    }
}


/* ================= MOBILE NAVBAR (SIDEBAR) ================= */
/* Sembunyikan tombol hamburger di layar besar (Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001; /* Harus di atas sidebar */
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 5px;
}

/* ================= RESPONSIVE (BAGIAN YANG DIPERBAIKI) ================= */
@media (max-width: 768px) {
    /* Atur Navbar Mobile */
    .navbar {
        padding: 15px 30px;
    }
    
    /* Tampilkan tombol hamburger */
    .menu-toggle {
        display: flex;
    }

    /* Ubah navigasi menjadi sidebar */
    .navbar nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 260px; /* Sedikit lebih lebar agar nyaman */
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        
        /* Merapatkan jarak: mulai dari atas, bukan center */
        justify-content: flex-start; 
        padding-top: 100px; /* Jarak dari atas agar tidak tertutup tombol */
        
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .navbar nav.active {
        right: 0; 
    }

    /* Tulisan lebih besar dan jarak rapat */
    .navbar nav a, 
    .navbar nav .dropdown {
        margin: 8px 0; /* Jarak antar menu lebih rapat */
        width: 100%;
        text-align: center;
    }

    .navbar nav a, 
    .navbar nav .dropbtn {
        font-size: 20px; /* Ukuran tulisan lebih besar */
        font-weight: 600;
        letter-spacing: 1px;
        display: block;
        padding: 10px 0;
        color: #ffffff;
    }

    /* Mengatasi About 'ngiri' karena panah */
    .navbar nav .dropbtn {
        padding-left: 20px; /* Memberi kompensasi agar teks About terlihat di tengah */
    }

    /* Isi Dropdown saat terbuka di mobile */
    .navbar nav .dropdown-content {
        position: static;     /* Tetap di dalam aliran dokumen */
        opacity: 0;           /* Awalnya transparan */
        max-height: 0;        /* Awalnya tidak punya tinggi */
        overflow: hidden;     /* Sembunyikan konten yang meluap */
        transform: translateY(-10px); /* Efek sedikit naik saat sembunyi */
        background: rgba(255, 255, 255, 0.05);
        width: 100%;
        transition: all 0.4s ease; /* Durasi animasi */
        pointer-events: none;
    }

    .navbar nav .dropdown-content.active {
        opacity: 1;           /* Muncul perlahan */
        max-height: 200px;    /* Beri tinggi maksimal yang cukup untuk isi */
        transform: translateY(0);    /* Kembali ke posisi asli */
        pointer-events: auto;
        margin: 10px 0;       /* Jarak saat terbuka */
    }

    .navbar nav .dropdown-content a {
        font-size: 18px;      /* Ukuran submenu sedikit lebih kecil dari menu utama */
        padding: 10px 0;
        color: #bbb;
    }

    /* Animasi Hamburger */
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Atur Hero Image Mobile */
    .hero-overlay {
        bottom: 20%;
        left: 5%;
        max-width: 90%;
    }

    .hero-overlay h1 {
        font-size: 36px;
    }

    .hero-overlay p {
        font-size: 16px;
    }

    .hero-img {
        width: 100%;
        height: 100vh;
    }
    
    /* Atur Profile Mobile */
    .profile-hero {
        padding: 100px 5% 50px;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .profile-img img {
        width: 200px;
        height: auto;
        margin: 0 auto;
    }
    
    .profile-right h1 {
        font-size: 28px;
    }

    .about-section h2 {
        font-size: 36px;
    }
    
    .social {
        justify-content: center;
    }

    /* Atur Footer Mobile */
    .footer-container {
        padding-left: 5%;
        padding-right: 5%;
    }

    
    .footer-line {
    width: 60px;
    height: 2px;
    background: #bbb;
    margin: 10px 0 20px;
}
}