@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

/* =========================================
   0. VARIABEL WARNA & RESET DASAR
========================================= */
:root {
    --bg-main: #0f172a;
    --bg-base: #080909;
    --text-primary: #ffffff;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #020617;
    --text-hover: #38bdf8;

    --accent-blue: #60a5fa;
    --accent-purple: #a78bfa;
    --accent-cyan: #2dd4bf;
    --accent-1: #06b6d4;
    --accent-2: #3b82f6;
    --accent-3: #8b5cf6;

    --glass-bg: rgba(0, 0, 0, 0.756);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-strong: rgba(255, 255, 255, 0.15);

    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) var(--bg-base);
}

body {
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    background-size: 80px 80px;
}

/* =========================================
   1. SCROLLBAR MEWAH
========================================= */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
    border-left: 1px solid rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    border-radius: 10px;
    border: 3px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #93c5fd 0%, #67e8f9 100%);
}
::-webkit-scrollbar-thumb:active {
    background: var(--accent-cyan);
}

/* =========================================
   2. EFEK BACKGROUND (BLOB & MOUSE TRAIL)
========================================= */
.mouse-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}
.mouse-trail::after {
    content: '';
    position: absolute;
    top: var(--y, 0);
    left: var(--x, 0);
    width: 15px;
    height: 15px;
    background: var(--accent-1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px 10px rgba(6, 182, 212, 0.4), 0 0 80px 20px rgba(6, 182, 212, 0.2);
    opacity: 0.8;
}

.background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob-container {
    width: 100%;
    height: 100%;
    transform: translate(var(--xOffset, 0), var(--yOffset, 0));
    will-change: transform;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: blob-flow infinite alternate-reverse ease-in-out;
}
.blob-1 {
    width: 50vw;
    height: 50vw;
    background: var(--accent-1);
    top: -20%;
    left: -10%;
    animation-duration: 20s;
}
.blob-2 {
    width: 40vw;
    height: 40vw;
    background: var(--accent-2);
    bottom: -10%;
    right: -10%;
    animation-duration: 25s;
}
.blob-3 {
    width: 30vw;
    height: 30vw;
    background: var(--accent-3);
    top: 40%;
    left: 40%;
    opacity: 0.15;
    animation-duration: 30s;
}
.blob-4 {
    width: 45vw;
    height: 45vw;
    background: #ea580c;
    bottom: 40%;
    left: 10%;
    opacity: 0.1;
    animation-duration: 35s;
}

@keyframes blob-flow {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        border-radius: 50%;
    }
    33% {
        transform: scale(1.1) translate(100px, 50px) rotate(120deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    66% {
        transform: scale(0.9) translate(-50px, 100px) rotate(240deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        transform: scale(1) translate(0, 0) rotate(360deg);
        border-radius: 50%;
    }
}

/* =========================================
   3. SCROLL REVEAL ANIMATION
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   4. HEADER & NAVBAR
========================================= */
.header-utama {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.navbar {
    width: 100%;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}
.logo img {
    height: 45px !important;
    width: auto;
}

.badge-ppg {
    font-size: 0.8rem;
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 1px;
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.2);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}
.nav-item:hover {
    color: var(--accent-cyan);
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-item:hover::after {
    width: 100%;
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* Dropdown */
.dropdown {
    position: relative;
}
.dropdown-icon {
    font-size: 0.75rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}
.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 0;
    min-width: 240px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 3px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}
.dropdown:hover .dropdown-menu {
    top: 100%;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}
.dropdown-menu i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
.dropdown-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(45, 212, 191, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
    border-left: 0px solid var(--accent-cyan);
}
.dropdown-menu a:hover {
    color: var(--accent-cyan);
    padding-left: 30px;
}
.dropdown-menu a:hover::before {
    width: 100%;
    border-left: 4px solid var(--accent-cyan);
}

.hamburger {
    display: none;
}

/* =========================================
   5. TOMBOL (BUTTONS) - GLOBAL
========================================= */
.btn-hero {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    color: var(--bg-main);
    border: none;
    padding: 14px 30px;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0px;
    background: var(--accent-cyan);
    border-radius: inherit;
    z-index: -1;
    transition: all 0.4s ease;
}
.btn-primary:hover::after {
    inset: 2px;
    background: #0f172a;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    padding-bottom: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--accent-cyan));
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-primary:hover {
    color: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.6);
    transform: translateY(-4px);
}
.btn-primary:hover::before {
    opacity: 1;
    animation: borderRotate 1.5s linear infinite;
}
.btn-primary i {
    transition: transform 0.3s ease;
}
.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-kontak {
    padding: 14px 35px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-top: auto;
    align-self: flex-start;
}

.btn-outline-cyan {
    background: transparent !important;
    border: 1px solid var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
}
.btn-outline-cyan:hover {
    background: rgba(45, 212, 191, 0.1) !important;
    color: #ffffff !important;
    transform: translateY(-4px);
}

@keyframes borderRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =========================================
   6. KOMPONEN GLOBAL (WRAPPER & CARD DASAR)
========================================= */
.profil-content-wrapper {
    position: relative;
    z-index: 10;
    display: block !important;
    width: 100%;
    margin-top: 65vh;
    padding: 0 5% 50px 5%;
    background: transparent;
    min-height: 100vh;
}

.section-profil {
    padding: 60px 0 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 20;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 600;
}

.glass-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-box:hover {
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateY(-5px);
}

/* =========================================
   7. BANNER PARALLAX DASAR
========================================= */
.profil-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.7) 0%, rgba(15, 23, 42, 0.95) 100%);
    mix-blend-mode: multiply;
    z-index: 0;
}

.banner-text {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
    transform: translateY(-40px);
}
.banner-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.banner-text p {
    font-size: 1.2rem;
    color: var(--text-hover);
    letter-spacing: 1px;
    margin-top: -15px;
}

/* =========================================
  8. FOOTER
========================================= */
.glass-footer {
    background: #020617;
    backdrop-filter: blur(20px);
    border-top: 7px solid var(--accent-cyan);
    box-shadow: 0 -10px 30px rgba(45, 212, 191, 0.15);
    color: var(--text-light);
    padding: 70px 5% 20px 5%;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}
.glass-footer-profil {
    margin-top: 0 !important;
    background: rgba(2, 3, 7, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    color: var(--accent-cyan);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a::before {
    content: "▸";
    color: var(--accent-purple);
    font-size: 1.2rem;
    transition: transform 0.3s;
}
.footer-links a:hover {
    color: var(--text-hover);
    transform: translateX(5px);
}

.map-container {
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}
.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.3);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border-strong);
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}
.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.4s ease;
}
.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: #fff;
}
.social-icon:hover .fa-facebook-f {
    color: #1877F2;
}
.social-icon:hover .fa-instagram {
    color: #E4405F;
}
.social-icon:hover .fa-tiktok {
    color: #00f2ea;
}
.social-icon:hover .fa-youtube {
    color: #FF0000;
}

/* =========================================================
   CSS KHUSUS ISI KONTEN OBSERVASI
========================================================= */

/* --- Pengunci Lebar Konten Rata Footer --- */
.profil-content-wrapper {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
    /* --- Pengunci Lebar Konten Rata Sempurna dengan Footer --- */
    width: 120%
}


/* --- Styling Judul Section --- */
.section-header { text-align: center; margin: 60px 0 40px; width: 100%; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--text-light); margin-bottom: 15px; letter-spacing: 0.5px; }
.title-line { 
    width: 80px; 
    height: 5px; 
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue)); 
    margin: 0 auto; 
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.5); }
.sub-subtitle { 
    padding-top: 24px;
    padding-bottom: 32px;
    max-width: 750px; 
    margin: 0 auto; 
    color: var(--text-muted); 
    font-size: 1rem; 
    line-height: 1.6; 
}
/* --- Grid Bento (Info Atas - 3 Kolom) --- */
.obs-bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 40px; width: 100%; box-sizing: border-box;
}
.bento-item { display: flex; align-items: center; gap: 20px; padding: 25px; }
.icon-wrapper { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.icon-wrapper.blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.icon-wrapper.cyan { background: rgba(45, 212, 191, 0.15); color: #2dd4bf; border: 1px solid rgba(45, 212, 191, 0.3); }
.icon-wrapper.purple { background: rgba(167, 139, 250, 0.15); color: #a78bfa; border: 1px solid rgba(167, 139, 250, 0.3); }
.bento-text label { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 1px; display: block; margin-bottom: 5px; }
.bento-text h3 { font-size: 1.1rem; color: var(--text-light); margin-bottom: 3px; font-weight: 600; }
.bento-text p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.4; }

/* --- Grid Scouting (Analisis - 1 Kolom Menurun) --- */
.scouting-grid {
    display: grid; grid-template-columns: 1fr; gap: 25px; margin-bottom: 40px; width: 100%; box-sizing: border-box;
}
.scout-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, border-color 0.3s ease; }
.scout-card:hover { transform: translateY(-5px); border-color: rgba(45, 212, 191, 0.3); }
.scout-header { padding: 20px 25px; background: rgba(0,0,0,0.2); border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 15px; font-weight: 600; font-size: 1.15rem; }
.scout-list { list-style: none; padding: 25px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.scout-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; }
.scout-list li i { margin-top: 4px; font-size: 1.1rem; }
.scout-list li strong { display: block; color: var(--text-light); margin-bottom: 2px; }
.scout-list li span { color: var(--text-muted); line-height: 1.5; }

/* --- Wadah PDF (Dark Glassmorphism) --- */
.doc-card {
    background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08); padding: 40px; margin-bottom: 40px; border-radius: 24px;
    position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); width: 100%; box-sizing: border-box;
}
.doc-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue)); }
.doc-title { color: var(--text-light); font-size: 1.3rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.dashed-divider { border: none; border-top: 2px dashed rgba(255,255,255,0.15); margin-bottom: 30px; }
.pdf-container { width: 100%; height: 60vh; min-height: 500px; border-radius: 15px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.5); }
.pdf-container iframe { width: 100%; height: 100%; border: none; display: block; background: #ffffff; }

/* --- Tombol Modern --- */
.pdf-actions { display: flex; gap: 20px; margin-top: 35px; }
.btn-modern { padding: 14px 32px; border-radius: 16px; font-weight: 700; font-size: 0.95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; transition: all 0.3s ease; }
.btn-main { background: var(--accent-blue); color: #fff; box-shadow: 0 10px 20px rgba(96, 165, 250, 0.3); }
.btn-main:hover { background: #3b82f6; transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4); }
.btn-sub { background: transparent; color: var(--accent-cyan); border: 2px solid var(--accent-cyan); }
.btn-sub:hover { background: var(--accent-cyan); color: #020617; transform: translateY(-3px); }

/* --- Utility Warna Teks --- */
.text-blue { color: #60a5fa !important; }
.text-cyan { color: #2dd4bf !important; }
.text-purple { color: #a78bfa !important; }
.text-warning { color: #fbbf24 !important; }
.text-danger { color: #ef4444 !important; }

/* --- Responsif Mobile/Tablet --- */
@media (max-width: 992px) {
    .obs-bento-grid { grid-template-columns: 1fr; }
    .doc-card { padding: 25px; }
    .pdf-actions { flex-direction: column; }
    .btn-modern { width: 100%; justify-content: center; }
}
@media (max-width: 768px) {
    .section-title { font-size: 1.6rem; }
    .section-header { margin: 40px 0 30px; }
    .pdf-container { height: 400px; min-height: auto; }
}


/* =========================================
   15. RESPONSIVE BREAKPOINTS
========================================= */
/* --- Tablet (max-width: 1199px) --- */
@media (max-width: 1199px) {
    .glass-grid-container {
        gap: 30px;
    }
    .glass-box-modern {
        padding: 30px;
    }
    .section-title {
        font-size: 2rem;
    }
    .profil-utama-card {
        gap: 40px;
        padding: 40px;
    }
    .profil-image-section {
        flex: 0 0 350px;
        max-width: 350px;
    }
    .banner-text h1 {
        font-size: 3.2rem;
    }
    .hero-name .hello-text {
        font-size: 2.4rem;
    }
    .hero-name .gradient-name {
        font-size: 2.6rem;
    }
}

/* --- Perangkat Mobile Besar / Tablet Potrait (< 992px) --- */
@media (max-width: 992px) {
    .hamburger {
        display: block !important;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 10001;
        color: var(--accent-cyan);
    }
    .nav-links {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 20, 35, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 20px 30px;
        transition: right 0.3s ease;
        z-index: 9999;
        border-left: 2px solid var(--accent-cyan);
        gap: 10px;
    }
    .nav-links.slide-active {
        right: 0;
    }
    .nav-item {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: transparent !important;
        border: none;
        padding-left: 20px;
        box-shadow: none;
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    .dropdown-icon {
        float: right;
    }
    .badge-ppg {
        display: none;
    }

    .profil-utama-card {
        flex-direction: column !important;
        padding: 40px 20px !important;
        gap: 40px !important;
        text-align: center;
    }

    /* === PERBAIKAN FOTO MOBILE === */
    .profil-image-section {
        flex: 0 0 auto !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: block;                /* UBAH KE BLOCK */
    }
    .profil-image-wrapper {
        height: 350px;
        /* Hapus mask sepenuhnya */
        mask: none !important;
        -webkit-mask: none !important;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
    }
    .profil-image-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* ===== Kartu "Pak Nur" & "Mas Guru" di Mobile ===== */
    .hover-float-card {
        display: flex !important;       /* tetap flex agar bisa diatur */
        opacity: 0 !important;         /* sembunyikan dulu */
        pointer-events: none;          /* tidak bisa diklik langsung */
        transform: scale(0.85);
        transition: opacity 0.3s ease;
        backdrop-filter: blur(8px);
        background: rgba(10, 10, 15, 0.8);
    }

    /* Posisi default (sama seperti desktop, tapi kita atur ulang) */
    .card-pak-nur {
        top: auto;
        bottom: 15px;
        left: 15px;
        right: auto;
        transform: none !important;
    }
    .card-mas-guru {
        top: 15px;
        right: 15px;
        left: auto;
        bottom: auto;
        transform: none !important;
    }
    .profil-image-section:hover .card-pak-nur {
        height: 40px;
    }

    /* Tampilkan saat parent (.profil-image-section) memiliki class .hovered */
    .profil-image-section.hovered .hover-float-card {
        opacity: 1 !important;
        pointer-events: auto;
    }
    .profil-text-section,
    .modern-layout {
        padding-left: 0 !important;
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    .hero-bio {
        text-align: center !important;
    }
    .hero-info-tags,
    .hero-actions,
    .hero-socials {
        justify-content: center;
        flex-wrap: wrap;
    }

    .glass-grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .glass-footer {
        padding: 40px 5% 20px;
    }
    .footer-content {
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .card-header-wide {
        flex-direction: column;
        align-items: flex-start;
    }
    .tech-spacer-line {
        display: none;
    }
    .card-meta-wide {
        align-items: flex-start;
        margin-top: 5px;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .card-titles-wide {
        max-width: 100%;
    }
    .profil-content-wrapper {
        margin-top: 70vh;
    }
}

/* --- Perangkat Mobile Kecil (< 768px) --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.9rem;
    }
    .cyan-line-title {
        width: 180px;
    }
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    .origin-narration-modern {
        padding-left: 20px;
    }
    .origin-narration-modern p {
        font-size: 1rem;
        line-height: 1.8;
    }
    .motto-ribbon-wrapper {
        padding: 40px 0;
        margin: 60px 0 80px 0;
    }
    .quote-icon-ribbon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .ribbon-text {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    .ribbon-author {
        flex-direction: column;
        gap: 5px;
    }

    .banner-text h1 {
        font-size: 2.8rem;
    }
    .banner-text p {
        font-size: 1rem;
    }

    .profil-utama-card {
        padding: 30px 15px !important;
    }
    .hero-name .hello-text {
        font-size: 2rem;
    }
    .hero-name .gradient-name {
        font-size: 2.2rem;
    }

    .profil-image-wrapper {
        height: 300px; /* sedikit lebih kecil */
    }

    .timeline-left-layout.wide-timeline {
        padding-left: 40px;
    }
    .timeline-line-left {
        left: 19px;
    }
    .timeline-icon-dot {
        width: 38px;
        height: 38px;
        left: -39px;
        font-size: 1rem;
        top: 25px;
    }
    .timeline-item-left .timeline-card {
        padding: 25px 20px;
    }
    .card-titles-wide h3 {
        font-size: 1.25rem;
    }
    .study-program {
        font-size: 0.95rem;
    }
    .card-year-badge {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
    .card-meta-wide {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .keahlian-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .glass-footer {
        padding: 40px 5% 20px;
    }
    .footer-content {
        gap: 30px;
        grid-template-columns: 1fr;
    }
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* --- Perangkat Sangat Kecil (< 576px) --- */
@media (max-width: 576px) {
    .btn-hero {
        width: 100%;
        font-size: 0.8rem;
        padding: 10px;
        justify-content: center;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .profil-badge {
        right: -10px;
        bottom: -15px;
        width: 100px;
    }
    .profil-badge .badge-year {
        font-size: 20px;
    }
    .profil-badge .badge-text {
        font-size: 10px;
    }
    .footer-col h3 {
        font-size: 1.1rem;
    }
    .map-container iframe {
        height: 120px;
    }
    .banner-text h1 {
        font-size: 2.2rem;
    }
    .profil-content-wrapper {
        margin-top: 75vh;
    }

    .profil-image-wrapper {
        height: 280px;
    }
}

/* =========================================
   TAB NEON (UKURAN BESAR & JARAK LEGA)
========================================= */

.artefak-tabs-container {
    display: flex;
    justify-content: center;
    gap: 60px; 
    
    /* INI YANG DIUBAH: Jaraknya dinaikkan biar nggak terlalu jauh dari Bento */
    margin-top: 30px; 
    
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding-bottom: 0;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    
    /* Font dan padding dibesarkan biar seimbang dengan Bento Box */
    font-size: 1.25rem; 
    font-weight: 600;
    padding: 15px 20px 20px 20px; 
    
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Ukuran ikon di dalam tab ikut dibesarkan */
.tab-btn i {
    font-size: 1.35rem;
}

.tab-btn:hover {
    color: var(--text-light);
}

/* Garis Neon Tersembunyi */
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-cyan);
    transition: all 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.tab-btn:hover::after {
    width: 100%;
    opacity: 0.4;
    box-shadow: 0 -2px 10px rgba(45, 212, 191, 0.3);
}

/* Tab Aktif */
.tab-btn.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(45, 212, 191, 0.4); 
}

.tab-btn.active::after {
    width: 100%;
    opacity: 1;
    box-shadow: 0 -2px 15px rgba(45, 212, 191, 0.6);
}

/* =========================================
   MEKANISME KONTEN TABS (HILANG & MUNCUL)
========================================= */

/* Sembunyikan semua isi tab secara default */
.tab-content {
    display: none; 
    animation: fadeInTab 0.4s ease-in-out;
}

/* Hanya tampilkan isi tab yang punya class 'active' */
.tab-content.active {
    display: block; 
}

/* Animasi halus saat ganti konten */
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   GRID PERFORMA 4 KOLOM JEJER (KHUSUS TAB MODUL AJAR)
========================================================= */
/* =========================================================
   PERBAIKAN TOTAL: KOTAK LUAR & KOTAK JUDUL WAJIB SAMA RATA
========================================================= */

.modul-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch; /* KUNCI 1: Mengunci tinggi seluruh kartu luar */
}

.modul-grid .scout-card {
    height: 100%; 
    display: flex;
    flex-direction: column;
}

/* KUNCI 2: Memaksa KOTAK JUDUL (Header) Punya Tinggi yang Sama */
.modul-grid .scout-header {
    min-height: 95px; /* Mengunci tinggi area judul mengikuti yang 2 baris */
    display: flex;
    align-items: center; /* Judul yang 1 baris otomatis tetep di tengah vertikal */
    padding: 20px 25px;
    width: 100%;
    box-sizing: border-box;
}

/* Mengatur jarak antar baris teks judul agar lebih rapat dan estetik */
.modul-grid .scout-header h3 {
    line-height: 1.3;
    margin: 0;
}

/* Memastikan konten teks di bawahnya ditarik seragam */
.modul-grid .scout-list {
    flex-grow: 1;
}

/* Sedikit tweak ukuran teks header kartu karena ruang 4 jejer cenderung lebih sempit */
.modul-grid .scout-header h3 {
    font-size: 1.05rem !important;
}

/* Membuat teks di dalam kartu modul rata kanan-kiri & putih */
.modul-grid .scout-card p {
    text-align: justify;
    color: #ffffff !important; /* !important memastikan warna abu-abu bawaan tertimpa jadi putih */
}

/* =========================================================
   RESPONSIVE LAYOUT (BIAR KARTU NGGAK GEPEK DI HP/TABLET)
========================================================= */
@media (max-width: 1200px) {
    .modul-grid {
        grid-template-columns: repeat(2, 1fr); /* Di tablet berubah formasi jadi 2x2 */
    }
}

@media (max-width: 768px) {
    .modul-grid {
        grid-template-columns: 1fr; /* Di HP balik jadi 1 kolom jajar ke bawah */
    }
}