/* LOADING */
#loader3d {
    position: fixed;
    /* Mengunci di semua sisi agar tidak ada celah */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    /* Menggunakan dvh agar tidak terpotong address bar browser mobile */
    height: 100dvh; 
    z-index: 999999;
    background: radial-gradient(circle at top, #e0f2fe, #f8fafc);
    
    /* Kunci Utama: Mencegah scroll dan pergeseran */
    overflow: hidden;
    touch-action: none;
    user-select: none;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Menghilangkan sisa gap display */
    display: block; 
}

.loader-center {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
    /* Mencegah pergeseran konten dalam */
    max-width: 100vw; 
}

.cube {
    width: 90px;
    height: 90px;
    position: relative;
    transform-style: preserve-3d;
    animation: spinSlow 6s linear infinite;
    /* Menjaga agar transformasi 3D tidak membuat overflow horizontal */
    will-change: transform; 
}

.cube span {
    position: absolute;
    width: 90px;
    height: 90px;
    background: rgba(14, 165, 233, .8);
    box-shadow: 0 0 20px rgba(14, 165, 233, .8);
    /* Agar sisi kubus tidak pecah di mobile */
    backface-visibility: visible; 
}

/* Sisi Kubus */
.cube span:nth-child(1){transform:rotateY(0deg) translateZ(45px);}
.cube span:nth-child(2){transform:rotateY(90deg) translateZ(45px);}
.cube span:nth-child(3){transform:rotateY(180deg) translateZ(45px);}
.cube span:nth-child(4){transform:rotateY(-90deg) translateZ(45px);}
.cube span:nth-child(5){transform:rotateX(90deg) translateZ(45px);}
.cube span:nth-child(6){transform:rotateX(-90deg) translateZ(45px);}

@keyframes spinSlow {
    from { transform: rotateX(0) rotateY(0); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes spinFast {
    from { transform: rotateX(0) rotateY(0); }
    to { transform: rotateX(720deg) rotateY(720deg); }
}

.percent {
    margin-top: 25px;
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
}

.status {
    font-size: 14px;
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#content {
    visibility: hidden;
    /* Kunci tambahan agar konten utama tidak mendorong lebar saat loading */
    height: 0;
    width: 100%;
    overflow: hidden;
}
/* AKHIR LOADING */




:root {
  /* Light Mode Colors */
  --primary-grad: linear-gradient(135deg, #00e0ff, #8a2be2);
  --bg-color: #ffffff;
  --text-color: #333333;
  --nav-bg: rgba(255, 255, 255, 0.9);
  --card-bg: #ffffff;
  --soft-purple: #8a2be2;
  --cyan-glow: #00e0ff;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --nav-bg: rgba(15, 23, 42, 0.9);
  --card-bg: #1e293b;
  --primary-grad: linear-gradient(135deg, #00e0ff, #d946ef);
}

/* text */
.text-highlight {
    font-weight: 700;
    color: #8A2BE2; /* Warna ungu Mas Joki */
    position: relative;
    display: inline-block;
}

/* Versi Dark Mode: Biar lebih menyala */
[data-theme="dark"] .text-highlight {
    color: #00e0ff; /* Cyan biar kontras di background gelap */
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.2);
}

/* Efek opsional: Garis bawah tipis biar makin pro */
.text-highlight::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(138, 43, 226, 0.1);
    z-index: -1;
}

p,
h5,
h6,
.text-dark,
span,
.navbar-brand,
li,
.small {
  color: var(--text-color) !important;
}

/* button */
/* --- TOMBOL 1: PRIMARY GRADIENT --- */
.btn-primary-gradient {
    background: linear-gradient(135deg, #8A2BE2, #4B0082); /* Ungu khas Mas Joki */
    border: none;
    color: white !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
    background: linear-gradient(135deg, #9b47eb, #5a0eb3);
    color: white !important;
}

/* --- TOMBOL 2: OUTLINE ADAPTIVE --- */
.btn-outline-adaptive {
    border: 2px solid #333;
    color: #333 !important;
    background: transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline-adaptive:hover {
    background: #333;
    color: white !important;
}

/* --- VERSI DARK MODE --- */
[data-theme="dark"] .btn-outline-adaptive {
    border-color: rgba(255, 255, 255, 0.3);
    color: #cbd5e1 !important;
}

[data-theme="dark"] .btn-outline-adaptive:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white !important;
    backdrop-filter: blur(5px); /* Efek kaca */
}

/* Animasi Icon saat Hover */
.btn-primary-gradient:hover i {
    animation: bounceRight 0.5s infinite alternate;
}

@keyframes bounceRight {
    from { transform: translateX(0); }
    to { transform: translateX(5px); }
}

/* --- BUTTON PREVIEW CERTIFICATE --- */
.btn-cert-preview {
    background: transparent;
    border: 1.5px solid #333;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem; /* Ukuran pas untuk btn-sm */
}

.btn-cert-preview:hover {
    background: #333;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-cert-preview i {
    transition: transform 0.3s ease;
}

.btn-cert-preview:hover i {
    transform: scale(1.2);
}

/* --- DARK MODE VERSION --- */
[data-theme="dark"] .btn-cert-preview {
    border-color: rgba(138, 43, 226, 0.5); /* Pakai warna ungu Mas Joki tapi tipis */
    color: #cbd5e1;
}

[data-theme="dark"] .btn-cert-preview:hover {
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

/* akhir button */

/* Golden Rule untuk mencegah horizontal scroll */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
/* 

/* debug */

/* * {
  outline: 1px solid red !important;
} */

/* Sembunyikan untuk Chrome, Safari dan Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Sembunyikan untuk IE, Edge dan Firefox */
body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Perbaikan untuk elemen Row yang sering bocor */
.row {
  margin-right: 0;
  margin-left: 0;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}


/*INFO*/
    /* 1. STYLING BANNER ERP PREMIUM */
    .erp-banner {
        /* Gradasi warna yang lebih dinamis */
        background: linear-gradient(135deg, #6610f2 0%, #8a2be2 50%, #6610f2 100%);
        background-size: 200% auto;
        animation: gradientShift 5s linear infinite; /* Animasi warna bergerak */
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 38px; /* Sedikit lebih tinggi agar lega */
        z-index: 10000;
        display: flex;
        align-items: center;
        box-shadow: 0 4px 15px rgba(102, 16, 242, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    @keyframes gradientShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .erp-banner .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 2. TEKS & ANIMASI ROCKET */
    .banner-text {
        font-size: 11px;
        color: white !important;
        margin: 0;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    .banner-text i {
        display: inline-block;
        animation: rocketPulse 2s infinite;
    }

    @keyframes rocketPulse {
        0%, 100% { transform: translate(0, 0); opacity: 1; }
        50% { transform: translate(3px, -2px); opacity: 0.8; }
    }

    /* 3. BADGE DENGAN EFEK PULSE */
    .badge-new {
        background: rgba(255, 255, 255, 0.15);
        color: white !important;
        font-size: 9px;
        font-weight: 800;
        padding: 2px 10px;
        border-radius: 6px;
        margin-right: 12px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        position: relative;
    }

    /* 4. TOMBOL LIVE DEMO DENGAN KILAUAN (SHIMMER) */
    .btn-banner-glow {
        background: white;
        color: #6610f2 !important;
        text-decoration: none;
        padding: 4px 16px;
        border-radius: 50px;
        font-size: 10px;
        font-weight: 800;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .btn-banner-glow:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
        background: #fdfdfd;
    }

    /* Efek cahaya lewat (Shimmer) */
    .btn-banner-glow::after {
        content: "";
        position: absolute;
        top: -50%;
        left: -100%;
        width: 50%;
        height: 200%;
        background: linear-gradient(90deg, transparent, rgba(102, 16, 242, 0.1), transparent);
        transform: rotate(20deg);
        animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
        0% { left: -100%; }
        30%, 100% { left: 150%; }
    }
/*AKHIR INFO*/

/* NAVBAR STYLING */
.navbar {
  transition: all 0.3s ease;
  background-color: red;
  padding: 20px 0;
  background: transparent;
  top: 30px !important; 
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-weight: 600;
  color: var(--text-color) !important;
  margin: 0 5px;
  padding: 8px 15px !important;
  transition: 0.3s;
  border-radius: 50px;
}

/* HOVER EFFECT */
.nav-link:hover {
  background: rgba(138, 43, 226, 0.1);
  color: var(--soft-purple) !important;
  transform: translateY(-2px);
}

/* ACTIVE STATE - FLOATING GRADIENT */
.nav-link.active {
  background: var(--primary-grad) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 224, 255, 0.3);
}

/* Dark Mode Toggle Button */
#theme-toggle {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-color);
  margin-left: 15px;
}

.text-gradient {
  background: var(--primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 1. Cegah Goyang: Paksa elemen typing punya tinggi tetap */
.hero-subtitle-container {
  min-height: 1.5em; /* Sesuaikan dengan line-height font kamu */
  display: block;
}

/* 2. Fix Navbar Mobile: Supaya Menu nggak transparan banget & lebih rapi */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    background: var(--nav-bg); /* Pakai variabel warna background kamu */
    margin-top: 15px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.1);
  }

  .nav-link {
    padding: 12px 20px !important;
    margin-bottom: 5px;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }
}

/* Tambahan: Animasi smooth buat toggler mobile */
.navbar-toggler {
  border: none;
  padding: 0;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.active-lang {
  background-color: rgba(138, 43, 226, 0.1) !important;
  color: #8a2be2 !important;
  font-weight: bold;
}

.dropdown-item {
  transition: all 0.2s;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background-color: rgba(138, 43, 226, 0.05);
  padding-left: 1.25rem; /* Efek geser sedikit saat hover */
}

/* akhir navbar */

/* HOME */
/* HERO SECTION */
/* HERO PERSONAL STYLING */
/* Statistik di Hero */
.hero-section {
  padding: 10px 0;
  position: relative;
}
.stat-item h3 {
  font-size: 1.8rem;
}
.stat-item small {
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating Badge di samping Foto */
.floating-badge {
  position: absolute;
  bottom: 15%;
  right: -10px;
  background: var(--card-bg);
  padding: 15px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 5;
  border: 1px solid rgba(138, 43, 226, 0.1);
  animation: float 3s ease-in-out infinite;
}

.badge-text span {
  font-size: 0.9rem;
  color: var(--text-color);
}
.badge-text small {
  color: #64748b;
  font-size: 0.75rem;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
.hero-img-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.personal-photo {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
  transition: 0.5s;
}

.personal-photo:hover {
  transform: scale(1.05);
}

.blob-shape {
  position: absolute;
  width: 120%;
  height: 120%;
  background: var(--primary-grad);
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 1;
  animation: pulse 6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
  100% {
    transform: scale(1);
    opacity: 0.15;
  }
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid rgba(138, 43, 226, 0.1);
  font-size: 1.2rem;
  transition: 0.3s;
  text-decoration: none;
}

.social-btn:hover {
  background: var(--primary-grad);
  color: white;
  transform: translateY(-5px);
}

/* Statistik di Hero */
.stat-item h3 {
  font-size: 1.8rem;
}
.stat-item small {
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating Badge di samping Foto */
.floating-badge {
  position: absolute;
  bottom: 15%;
  right: -10px;
  background: var(--card-bg);
  padding: 15px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 5;
  border: 1px solid rgba(138, 43, 226, 0.1);
  animation: float 3s ease-in-out infinite;
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-grad);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-text span {
  font-size: 0.9rem;
  color: var(--text-color);
}
.badge-text small {
  color: #64748b;
  font-size: 0.75rem;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* AKHIR HOME */

/* ABOUT */
/* ABOUT SECTION */
.about-section {
  padding: 10px 0;
  position: relative;
}

.about-img-container {
  position: relative;
  padding: 20px;
}

.about-img-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  border: 5px solid var(--soft-purple);
  border-radius: 30px;
  z-index: 0;
  opacity: 0.2;
}

.about-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(138, 43, 226, 0.1);
  transition: 0.3s;
}

.about-card:hover {
  transform: translateY(-10px);
  border-color: var(--cyan-glow);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Dark mode adjustment for about */
[data-theme="dark"] .about-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
/* AKHIRABOUT */

/* SKILL */
/* SKILLS SECTION */
.skills-section {
  padding: 10px 0;
  background: var(--bg-color);
}

/* Card Container */
.skill-card-modern {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.skill-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(138, 43, 226, 0.1);
  border-color: rgba(138, 43, 226, 0.2);
}

/* Icon Styling */
.skill-icon-main {
  font-size: 2.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.skill-card-modern:hover .skill-icon-main {
  transform: scale(1.1) rotate(5deg);
}

/* Text Styling */
.skill-level-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #888;
}

/* Progress Bar Custom */
.progress-track {
  height: 6px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: var(--text-gradient, linear-gradient(90deg, #8a2be2, #4b0082));
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.1, 0.42, 0.41, 1);
}

/* Dark Mode */
[data-theme="dark"] .skill-card-modern {
  background: #1e1e1e;
  border-color: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .progress-track {
  background: #333;
}
/* AKHIR SKILL */

/* portofoilio */
/* PORTFOLIO SECTION */
.portfolio-section {
  padding: 10px 0;
  background: var(--bg-color);
}

/* Custom Tabs */
.nav_kat {
  border: none;
  gap: 10px;
}
.nav_kat .nav-link {
  border: 1px solid rgba(138, 43, 226, 0.1);
  border-radius: 50px;
  padding: 10px 25px;
  color: var(--text-color) !important;
  font-weight: 600;
  transition: 0.3s;
}
.nav_kat .nav-link.active {
  background: var(--primary-grad) !important;
  border: none;
  color: white !important;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

/* Timeline Style */
.portfolio-timeline {
  position: relative;
  padding: 20px 0;
}

.portfolio-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary-grad);
  opacity: 0.2;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 5px;
  width: 20px;
  height: 20px;
  background: var(--bg-color);
  border: 4px solid var(--soft-purple);
  border-radius: 50%;
  z-index: 2;
}

.timeline-date {
  display: block;
  font-weight: 700;
  color: var(--soft-purple);
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.timeline-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(138, 43, 226, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
}

.timeline-card:hover {
  transform: translateX(10px);
  border-color: var(--cyan-glow);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.timeline-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 12px;
}
.timeline-title h6 {
  margin: 0;
  font-weight: 800;
  font-size: 1.1rem;
}

.module-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-tag {
  background: rgba(138, 43, 226, 0.05);
  color: var(--soft-purple);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Card Container */
.project-modern-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-modern-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.project-img-container {
  position: relative; /* Wajib ada supaya badge nempel ke container ini */
  overflow: hidden;
  border-radius: 18px;
}

.project-type-badge {
  position: absolute;
  top: 15px; /* Jarak dari atas */
  left: 15px; /* Jarak dari kiri */
  background: rgba(138, 43, 226, 0.85); /* Warna ungu gradasi kamu */
  color: white;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 5; /* Supaya di atas gambar */
  backdrop-filter: blur(4px); /* Efek kaca biar makin keren */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  /* Memastikan tidak hilang saat hover atau sebelum hover */
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Opsional: Efek sedikit pas gambar di-hover, tapi badge tetap ada */
.project-img-container:hover img {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}
/* Feature Box */
.project-features-box {
  background: #fcfaff;
  border: 1px dashed #e2d5f3;
}

/* Button Premium */
.btn-visit-premium {
  background: var(--text-gradient, linear-gradient(135deg, #8a2be2, #4b0082));
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-visit-premium:hover {
  background: var(--text-gradient, linear-gradient(135deg, #8a2be2, #4b0082));
  color: #fff;
  font-weight:bold;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

/* Dark Mode */
[data-theme="dark"] .project-modern-card {
  background: #1a1a1a;
  border-color: #333;
}
[data-theme="dark"] .project-features-box {
  background: #252525;
  border-color: #444;
}
[data-theme="dark"] .project-type-badge {
  background: rgba(0, 0, 0, 0.7);
  color: #bc84ff;
}

/* akhir portofoilio */

/* EXPERIENCE SECTION */
.experience-section {
  padding: 10px 0;
  background: var(--bg-color);
}

.experience-card {
  background: var(--card-bg);
  border-radius: 25px;
  padding: 40px;
  border: 1px solid rgba(138, 43, 226, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
  margin-bottom: 50px;
}

.company-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.company-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: white;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Inner Career Timeline */
.career-path {
  position: relative;
  padding-left: 30px;
}

.career-path::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--soft-purple), transparent);
}

.career-item {
  position: relative;
  padding-bottom: 40px;
}

.career-item:last-child {
  padding-bottom: 0;
}

.career-dot {
  position: absolute;
  left: -35px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 3px solid var(--soft-purple);
  z-index: 2;
}

.career-dot.active {
  background: var(--soft-purple);
  box-shadow: 0 0 10px var(--soft-purple);
}

.role-title {
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.career-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--soft-purple);
  background: rgba(138, 43, 226, 0.05);
  padding: 2px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.experience-list {
  list-style: none;
  padding: 0;
}

.experience-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.85;
}

.experience-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan-glow);
  font-weight: bold;
}

/* Badge for Modules */
.module-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.module-badge {
  font-size: 0.75rem;
  background: rgba(0, 224, 255, 0.05);
  color: #0088cc;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 224, 255, 0.1);
}
/* akhir expreince */

/* sertifikat */
/* ACHIEVEMENT SECTION */
/* --- BADGE TAHUN --- */
.badge-year {
    background: #f8f9fa; /* Warna light grey di mode terang */
    color: #333;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.05);
}

/* --- DARK MODE VERSION --- */
[data-theme="dark"] .badge-year {
    background: rgba(255, 255, 255, 0.1); /* Putih transparan */
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.1);
}
.achievement-section {
  padding: 10px 0;
}

.achievement-card-container {
  background: var(--card-bg);
  border-radius: 30px;
  padding: 20px;
  border: 1px solid rgba(138, 43, 226, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

/* Custom Tabs Achievement */
.nav-achievement {
  border-bottom: 2px solid rgba(138, 43, 226, 0.05);
  margin-bottom: 30px;
}

.nav-achievement .nav-link {
  border: none;
  color: var(--text-color);
  font-weight: 700;
  padding: 15px 25px;
  position: relative;
  transition: 0.3s;
}

.nav-achievement .nav-link.active {
  background: transparent !important;
  color: var(--soft-purple) !important;
}

.nav-achievement .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-grad);
  border-radius: 10px;
}

/* Certificate Card Design */
.cert-card {
  background: var(--card-bg);
  /* border: 1px solid rgba(138, 43, 226, 0.1); */
  border-radius: 20px;
  padding: 25px;
  transition: 0.4s;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--text-color) !important;
}

.cert-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(39, 230, 255, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: 0.5s;
  /* TAMBAHKAN INI */
  pointer-events: none;
  z-index: 1;
}

/* Pastikan konten card berada di atas background glow */
.cert-category,
.cert-title,
.cert-issuer,
.mt-auto {
  position: relative;
  z-index: 2;
}
.cert-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan-glow);
  box-shadow: 0 15px 30px rgba(0, 224, 255, 0.1);
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-category {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--soft-purple);
  background: rgba(138, 43, 226, 0.05);
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 15px;
}

.cert-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cert-issuer {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* akhir sertifikat */

/* CONTACT SECTION */
.contact-section {
  padding: 100px 0;
  background: var(--bg-color);
}

.contact-info-card {
  background: var(--primary-grad);
  border-radius: 30px;
  padding: 40px;
  color: white;
  height: 100%;
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
}

.form-card {
  background: var(--card-bg);
  border-radius: 30px;
  padding: 40px;
  border: 1px solid rgba(138, 43, 226, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* Floating Label Style */
.form-floating > .form-control {
  border: none;
  border-bottom: 2px solid rgba(138, 43, 226, 0.1);
  border-radius: 0;
  background: transparent;
  padding-left: 0;
}

.form-floating > .form-control:focus {
  box-shadow: none;
  border-color: var(--soft-purple);
}

[data-theme="dark"] .form-control {
  color: white;
}

.btn-send {
  background: var(--primary-grad);
  border: none;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  width: 100%;
  transition: 0.3s;
  margin-top: 20px;
}

.btn-send:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.social-icon:hover {
  background: white;
  color: var(--soft-purple);
  transform: scale(1.1);
}

/* .custom-input input:focus,
.custom-input textarea:focus {
  border-color: #00e0ff;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.2);
} */

.custom-input input,
.custom-input textarea {
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px;
  background: var(--bg-color);
  transition: 0.3s;
}

.form-card {
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background: linear-gradient(45deg, #00e0ff, #8a2be2);
  border: none;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

/* akhir contact */

/* modal */
/* Biar gambar di modal ada glow sedikit pas muncul */
.modal-content {
  background: rgba(20, 20, 30, 0.95) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 224, 255, 0.2) !important;
}

.modal-body img {
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.2);
  transition: 0.3s;
}

.modal-body img:hover {
  transform: scale(1.02);
}
/* akhir modal */

/* --- FOOTER SECTION --- */
.footer-section {
  background: rgba(255, 255, 255, 0.7); /* Light Mode */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: relative;
  padding-top: 50px;
  border-top: 1px solid rgba(138, 43, 226, 0.1); /* Tipiskan border biar elegan */
  color: #333;
  transition: all 0.3s ease;
}

/* VERSI DARK MODE (Footer) */
[data-theme="dark"] .footer-section {
  background: rgba(15, 23, 42, 0.8); /* Gelap modern (Slate 900) */
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Judul & Brand */
.footer-brand h3, .footer-section h6 {
  color: #2d3436;
  transition: color 0.3s;
}

[data-theme="dark"] :is(.footer-brand h3, .footer-section h6) {
  color: #f8fafc !important; /* Putih bersih di mode gelap */
}

/* Link Navigasi */
.footer-links li a {
  color: #555;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
  font-weight: 500;
}

[data-theme="dark"] .footer-links li a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #8a2be2;
  padding-left: 8px;
}

/* Social Icons */
.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(138, 43, 226, 0.05);
  color: #8a2be2;
  border-radius: 12px;
  margin-right: 10px;
  transition: 0.4s;
  border: 1px solid rgba(138, 43, 226, 0.1);
}

[data-theme="dark"] .social-link {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: #00e0ff; /* Icon lebih menyala di dark mode */
}

/* Divider & Bottom Area */
.footer-divider {
  background: rgba(0, 0, 0, 0.05);
  height: 1px;
  border: none;
  margin: 30px 0;
}

[data-theme="dark"] .footer-divider {
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  background: rgba(255, 255, 255, 0.4);
  padding: 20px 0;
}

[data-theme="dark"] .footer-bottom {
  background: rgba(0, 0, 0, 0.2);
}

/* Tombol WhatsApp (Cyan) */
.btn-outline-cyan {
  border: 2px solid #00e0ff;
  color: #0097a7;
  font-weight: 600;
  transition: 0.3s;
}

[data-theme="dark"] .btn-outline-cyan {
  color: #00e0ff;
  border-color: rgba(0, 224, 255, 0.5);
}

.btn-outline-cyan:hover {
  background: #00e0ff;
  color: #fff !important;
  box-shadow: 0 5px 15px rgba(0, 224, 255, 0.3);
}
/* akhir footer */

/* floating */
.floating-container {
    position: fixed !important;
    bottom: 30px;
    right: 7px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    

    background: transparent !important; 
    background-color: transparent !important;
    

    border: none !important;
    box-shadow: none !important;
    

    overflow: visible !important; 
}
.btn-floating {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

/* Back to Top Style */
.scroll-top {
  background: #6a11cb;
  opacity: 0; /* Hidden by default */
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* WhatsApp Style */
.whatsapp {
  background: #25d366;
  position: relative;
}

.whatsapp:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.badge-online {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 12px;
  height: 12px;
  background: #00ff00;
  border: 2px solid white;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}
/* akhir floating */


/* IMG */
.img-fluid {
  height: 400px;
  width: 400px;
  /* object-fit: cover; */
  display: block;
  margin: 0 auto;
}
/* AKHIR IMG */
