html{height:100%;
margin:0;
padding:0}


body{margin:0;
	font-family: 'Arial', sans-serif;
font-weight:350;
height:90%;
-webkit-font-smoothing:antialiased}


b{font-weight:700}


a{text-decoration:underline;
color:black;
text-underline-offset:3px;
text-decoration-color:#228b22}


a:hover{text-decoration:underline;
color:#228b22;
font-weight: bold;
text-decoration-color:#228b22}


hr{border:0;
height:0;
border-top:1px solid rgba(0,0,0,0.1);
border-bottom:1px solid rgba(255,255,255,0.3)}


#author-name{font-size:30px;
color:#272727;
display:inline-block;
font-weight:700}


.alignable,.pull-left,.pull-right{display:inline-block}

.scroll-box {
	overflow: auto;
	padding: 5px;
  }
  

.pull-left{float:left}


.pull-right{float:right}


.container{font-size:16px;
line-height:150%;
max-width:60%;
margin:auto}


.wrapper{min-height:100%}


.button-pdf{background-color:#7b68ee;
border:none;
border-radius:4px;
color:white;
padding:10 10px;
font-family: "Poppins";
text-align:center;
text-decoration:none;
display:inline-block;
font-size:12px;
text-transform: capitalize;
cursor:pointer}

.button-pdfxx{background-color:#7b68ee;
	border:none;
	border-radius:4px;
	color:white;
	padding:10 10px;
	font-family: "Poppins";
	text-align:center;
	text-decoration:none;
	display:inline-block;
	font-size:12px;
	text-transform: capitalize;
	cursor:pointer}
	

.button-preprint{background-color:#F9EBD1;
border:none;
border-radius:5px;
color:black;
padding:10 12px;
text-align:center;
text-decoration:none;
display:inline-block;
font-size:12px}


.button-workshop{background-color:#d1f3f9;
border:none;
border-radius:5px;
color:black;
padding:10 12px;
text-align:center;
text-decoration:none;
display:inline-block;
font-size:12px}




.button-conference{background-color:#D1F9D7;
border:none;
border-radius:5px;
color:black;
padding:10 12px;
text-align:center;
text-decoration:none;
display:inline-block;
font-size:12px}


.button-journal{background-color:#f9d1f3;
border:none;
border-radius:5px;
color:black;
padding:10 12px;
text-align:center;
text-decoration:none;
display:inline-block;
font-size:12px}


.button-demo{background-color:#d1dff9;
border:none;
border-radius:5px;
color:black;
padding:10 12px;
text-align:center;
text-decoration:none;
display:inline-block;
font-size:12px}




@media (max-width: 800px){.container{max-width:600px;
transition:0.3s ease all}

}

@media (min-width: 1200px){
	.scroll-box {
		height: 400px; 
	}
	#navbar {
		width: 15%;
}
.container{
	margin-left: 18.5%;}
}

@media (max-width: 1200px){
	.scroll-box {
		height: 750px; 
	}
	.container{
		max-width:75%;}
}

@media(max-width: 650px){
	.container{max-width:83%}
.navbar-ul{margin-top:5px}
.substack{
	width: 90%;
}
.github-stats{
	width: 90%;
}
.kaggle-stats{
	width: 29%;
}
.scroll-box {
	height: 875px; 
}
}



@media(max-width: 580px){
	#author-name{display:inline-block}
.substack{
	width: 90%;
}
.github-stats{
	width: 90%;
}
.kaggle-stats{
	width: 29%;
}
.content .profile-picture{margin-top:-5px;
	height:180px;
	width:180px;
}
.scroll-box {
	height: 1250px; 
}
}


table,th,td{border:none;
background-color:white;
text-align:left;
vertical-align:top;
border-spacing:10px}



.content ol{counter-reset:list;counter-set: reversed;}


.content ol>li{list-style-position:none;
position:relative;
list-style:none;
margin-top:1px;
margin-bottom:1px}


.content ul>li{margin:1px 0 1px 0}


.content ul{padding:0 20px 0 20px}


.content ol{padding:0 30px 0 30px}


.content ol>li:before{content:"[" counter(list,decimal) "] ";
counter-increment:list;
position:absolute;
left:-30px}


.content blockquote{border-left:5px solid #333333;
margin:20px 0 20px 0;
padding:2px 8px 2px 8px;
font-style:italic}


.content .profile-picture{height:200px;
width:200px;
position:relative;
margin:-10px 0 20px 20px;
float:right;
border-radius:50%;
transition: border-color 0.5s ease, transform 0.5s ease;}


p .content .profile-picture{padding:0;
margin:0;
transition: border-color 0.5s ease, transform 0.5s ease;}



@media(max-width: 480px){.content .profile-picture img{margin-top:-5px;
	height:150px;
	width:150px;}
	.content .profile-picture{height:150px;
		width:150px;}
}


.content img[alt=default]{text-align:center;
width:100%}


.company{
	font-weight: bold;
}

.single-paper:hover{
	color: #520252;
	margin: 0%;
	padding: 0%;
}

p{
	margin-top: 2px;
	margin-bottom: 2px;
}


p.single-paper{
	margin-top: 1px;
	margin-bottom: 1px;
}

p.single-paper-f{
	margin-top: 12px;
	margin-bottom: 12px;
}
.single-paper-f:hover{
	color: #520252;
	margin: 0%;
	padding: 0%;
}

	
.block-share h5, .block-single h5{
	font-size: 15px;
	font-weight: 600;
}


.block-share .social li{
	display:inline-block;
	margin-bottom:0;
}



/* Gaya untuk navbar */
.navbar-ul {
    display: flex;
    justify-content: center; /* Mengatur elemen di tengah secara horizontal */
    align-items: center; /* Mengatur elemen di tengah secara vertikal */
    background-color: white; /* Warna latar putih */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    list-style: none;
	padding:0;
}

/* Gaya untuk item navbar */
.nav-list {
    margin: 0 15px; /* Memberi jarak antar item */
}

/* Gaya untuk tautan di navbar */
.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-family: 'Arial', sans-serif;
    padding: 5px 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Efek hover */
.nav-list a:hover {
    color: white;
    background-color: #007bff; /* Warna biru modern */
    border-radius: 5px;
}

/* Gaya khusus untuk elemen penekanan */
.nav-list b a {
    font-weight: 700;
    color: #007bff;
}


.hidden-header {
    position: relative;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
}


#wasi-inpub {
	font-weight: bold;
	font-style: oblique;
}

   /* Gaya dasar untuk gambar */
   .image-link img {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek timbul ketika kursor mendekat */
.image-link img:hover {
	transform: scale(1.1); /* Membesar 10% */
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Efek bayangan */
}

/* Media Queries untuk layar kecil (ponsel) */
@media (max-width: 768px) {
    .navbar-ul {
        flex-direction: column; /* Tampilkan elemen secara vertikal */
        max-width: 100%; /* Gunakan seluruh lebar layar */
        padding: 10px; /* Kurangi padding untuk layar kecil */
    }

    .nav-list {
        margin: 10px 0; /* Tambahkan margin antar item */
    }

    .nav-list a {
        padding: 10px 20px; /* Tambahkan ruang untuk klik di layar sentuh */
        font-size: 16px; /* Sesuaikan ukuran font untuk keterbacaan */
    }
}
/* Pembungkus video responsif */
.responsive-video {
    position: relative;
    width: 100%; /* Video menyesuaikan lebar layar */
    padding-bottom: 56.25%; /* Rasio 16:9 (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Pastikan video menyesuaikan lebar pembungkus */
    height: 100%; /* Sesuaikan tinggi berdasarkan rasio */
    border: none;
}


/* styles.css */

/* Navbar styling */
#navbar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: #f8f8f8;
    padding: 5px;
	padding-left: 15px;
	padding-right: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hide the navbar by default */
#navbar {
    display: none;
}

/* Show the navbar on larger screens */
@media (min-width: 1200px) {
    #navbar {
        display: block;
    }
}

/* Navbar title styling */
#navbar h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
}

/* Navbar links styling */
#navbar a {
    display: block;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
}

#navbar a:hover {
    text-decoration: underline;
}

/* Active section styling */
#navbar a.active {
    font-weight: bold;
    color: #007bff;
}


/* ==========================================================
   Modern refresh (2025): layout, typography, and mobile navbar
   ========================================================== */

:root{
  --bg:#f6f7fb;
  --surface:#ffffff;
  --text:#0b1220;
  --muted:#475569;
  --border:rgba(15,23,42,0.12);
  --accent:#2563eb;
  --accent-weak:rgba(37,99,235,0.10);
  --shadow:0 10px 25px rgba(15,23,42,0.10);
  --shadow-sm:0 6px 18px rgba(15,23,42,0.10);
}

*{box-sizing:border-box}

html{height:100%}
body{
  min-height:100%;
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.6;
}

.wrapper{min-height:100%}

/* Container: switch from percentage widths to a modern max-width */
.container{
  width:min(92%, 1100px);
  max-width:1100px;
  margin:0 auto;
  font-size:16px;
  line-height:1.7;
}

/* Content card */
.content{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  padding:28px;
  box-shadow:var(--shadow);
  margin:18px auto 28px;
}
@media (max-width: 760px){
  .content{padding:18px;border-radius:14px}
}

hr{
  border:0;
  height:1px;
  background:var(--border);
  margin:16px 0;
}

/* Links: keep underlines but modernize interaction (no bold-on-hover) */
a{
  color:var(--text);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  text-decoration-color:rgba(37,99,235,0.35);
}
a:hover{
  color:var(--accent);
  text-decoration-color:var(--accent);
  font-weight:inherit;
}

/* ----------------------------------------------------------
   Sticky header + responsive primary nav
   ---------------------------------------------------------- */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(246,247,251,0.85);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width:0;
}

.brand-avatar{
  width:56px;
  height:56px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(255,255,255,0.9);
  box-shadow:0 6px 18px rgba(15,23,42,0.18);
  flex:0 0 auto;
}

.brand-copy{min-width:0}
.brand-name{
  font-weight:700;
  font-size:18px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.brand-tagline{
  font-size:13px;
  color:var(--muted);
  line-height:1.3;
  margin-top:2px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.cv-link{
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.85);
  box-shadow:0 4px 12px rgba(15,23,42,0.08);
  text-decoration:none;
}
.cv-link:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}

.nav-toggle{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.85);
  box-shadow:0 4px 12px rgba(15,23,42,0.08);
  display:none;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  display:block;
  width:18px;
  height:2px;
  background:var(--text);
  border-radius:999px;
  position:relative;
  transition:transform 180ms ease, top 180ms ease, opacity 180ms ease;
}
.nav-toggle-lines::before{position:absolute;top:-6px;left:0}
.nav-toggle-lines::after{position:absolute;top:6px;left:0}

body.nav-open .nav-toggle-lines{transform:rotate(45deg)}
body.nav-open .nav-toggle-lines::before{top:0;transform:rotate(90deg)}
body.nav-open .nav-toggle-lines::after{top:0;opacity:0}

.primary-nav{
  border-top:1px solid var(--border);
  background:rgba(246,247,251,0.85);
}

.primary-nav-list{
  list-style:none;
  display:flex;
  gap:6px;
  justify-content:center;
  align-items:center;
  margin:0;
  padding:10px 0;
}

.primary-nav-list a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  color:var(--text);
}

.primary-nav-list a:hover{
  background:var(--accent-weak);
  color:var(--accent);
}

.primary-nav-list a[aria-current="page"]{
  background:var(--accent-weak);
  color:var(--accent);
}

@media (max-width: 760px){
  .brand-avatar{width:44px;height:44px}
  .brand-name{font-size:16px}
  .brand-tagline{display:none}
  .nav-toggle{display:inline-flex}

  /* Collapsible mobile menu */
  .primary-nav{max-height:0;overflow:hidden;transition:max-height 220ms ease}
  body.nav-open .primary-nav{max-height:340px}
  .primary-nav-list{
    flex-direction:column;
    align-items:stretch;
    padding:10px 0 16px;
  }
  .primary-nav-list li{width:100%}
  .primary-nav-list a{justify-content:flex-start;padding:12px 14px}
}

/* ----------------------------------------------------------
   Components refresh
   ---------------------------------------------------------- */
.scroll-box{
  border:1px solid var(--border);
  background:#f8fafc;
  border-radius:14px;
  padding:12px 14px;
}

#navbar{
  background:rgba(255,255,255,0.92);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow-sm);
}

#navbar a{
  padding:8px 10px;
  border-radius:10px;
}

#navbar a.active{
  background:var(--accent-weak);
  color:var(--accent);
}

/* Buttons: keep your existing semantic colors but improve feel */
.button-pdf,
.button-pdfxx,
.button-preprint,
.button-workshop,
.button-conference,
.button-journal,
.button-demo{
  box-shadow:0 6px 16px rgba(15,23,42,0.10);
  transition:transform 120ms ease, box-shadow 120ms ease;
}

.button-pdf:hover,
.button-pdfxx:hover,
.button-preprint:hover,
.button-workshop:hover,
.button-conference:hover,
.button-journal:hover,
.button-demo:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(15,23,42,0.14);
}

/* ==========================================================
   CV: stronger visibility (header button + floating CTA)
   ========================================================== */

/* Header CV button: icon + label on desktop, icon-only on mobile */
.cv-link{
  width:auto;
  height:44px;
  padding:0 12px;
  gap:8px;
}
.cv-link-text{
  display:inline;
  font-size:13px;
  font-weight:600;
  color:var(--text);
  white-space:nowrap;
}
@media (max-width: 760px){
  .cv-link{width:44px; padding:0;}
  .cv-link-text{display:none;}
}

/* Floating Download CV button */
.cv-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1200;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(37,99,235,0.98), rgba(59,130,246,0.92));
  color:#ffffff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.22);
  box-shadow:0 16px 28px rgba(15,23,42,0.22);
  transform:translateY(0);
  transition:transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
.cv-fab:hover{
  transform:translateY(-2px);
  filter:saturate(1.05);
  box-shadow:0 20px 34px rgba(15,23,42,0.26);
}
.cv-fab .cv-fab-icon{
  width:18px;
  height:18px;
  display:inline-block;
}
.cv-fab .cv-fab-text{
  font-weight:700;
  font-size:13px;
  letter-spacing:0.1px;
}
.cv-fab.pulse{
  animation:cvPulse 2.2s ease-in-out infinite;
}
@keyframes cvPulse{
  0%,100%{transform:translateY(0); box-shadow:0 16px 28px rgba(15,23,42,0.22);}
  50%{transform:translateY(-2px); box-shadow:0 22px 36px rgba(15,23,42,0.28);}
}
@media (max-width: 760px){
  .cv-fab{right:14px; bottom:14px; padding:12px 13px;}
  .cv-fab .cv-fab-text{display:none;}
  .cv-fab{border-radius:16px;}
}

/* ==========================================================
   Welcome toast (animated, includes Download CV CTA)
   ========================================================== */
.welcome-toast{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:1190;
  width:min(92vw, 420px);
  background:rgba(255,255,255,0.92);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 18px 38px rgba(15,23,42,0.22);
  backdrop-filter:saturate(160%) blur(10px);
  padding:14px 14px;
  transform:translateY(18px);
  opacity:0;
  pointer-events:none;
}
.welcome-toast.is-visible{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
  transition:transform 420ms cubic-bezier(.2,.9,.2,1), opacity 420ms ease;
}
.welcome-toast .wt-title{font-weight:800; font-size:14px; margin:0 0 4px 0;}
.welcome-toast .wt-body{font-size:13px; color:var(--muted); margin:0 0 12px 0;}
.welcome-toast .wt-actions{display:flex; gap:10px; flex-wrap:wrap; align-items:center;}
.welcome-toast .wt-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(37,99,235,0.18);
  background:rgba(37,99,235,0.10);
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
  font-size:13px;
}
.welcome-toast .wt-btn:hover{background:rgba(37,99,235,0.14)}
.welcome-toast .wt-close{
  margin-left:auto;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.9);
  border-radius:12px;
  padding:10px 12px;
  font-weight:700;
  cursor:pointer;
}
@media (max-width: 760px){
  .welcome-toast{left:14px; bottom:74px;} /* keep clear of floating CV */
}

/* ==========================================================
   Scroll reveal animations (native: IntersectionObserver)
   ========================================================== */
.reveal{
  opacity:0;
  transform:translateY(12px);
  transition:opacity 580ms ease, transform 580ms cubic-bezier(.2,.9,.2,1);
  transition-delay:var(--delay, 0ms);
}
.reveal[data-reveal="left"]{transform:translateX(-12px)}
.reveal[data-reveal="right"]{transform:translateX(12px)}
.reveal.is-visible{opacity:1; transform:translate(0,0)}

@media (prefers-reduced-motion: reduce){
  .cv-fab, .welcome-toast, .reveal{animation:none !important; transition:none !important;}
  .reveal{opacity:1; transform:none;}
}



/* Academic Activities (with images) */
.activity-list{list-style:none;padding-left:0;margin:0;}
.activity{padding:12px 0;border-bottom:1px solid rgba(0,0,0,.08);}
.activity:last-child{border-bottom:none;}
.activity-meta{font-size:0.98rem;line-height:1.4;}
.activity-date{font-weight:700;}
.activity-media{margin-top:10px;max-width:760px;}
.activity-media img{width:100%;height:auto;border-radius:12px;display:block;}
.activity-caption{font-size:.9rem;opacity:.85;margin-top:6px;}
.activity-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:10px;max-width:860px;}
.activity-gallery figure{margin:0;}
.activity-gallery img{width:100%;height:auto;border-radius:12px;display:block;}
.activity-gallery figcaption{font-size:.85rem;opacity:.85;margin-top:6px;line-height:1.25;}


.floating-cv-btn{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#007bff;
  color:#fff;
  padding:12px 18px;
  border-radius:50px;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
  z-index:999;
}
.floating-cv-btn:hover{background:#0056b3;}
