#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #212325, #080a0e);
    top: 0;
    left: 0;
    z-index: -1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.timeline-container {
    position: relative;
    padding-left: 20px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    width: 2px;
    background: #e9ecef;
    z-index: 1;
}

.timeline-item {
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffc107;
    border: 2px solid white;
    z-index: 2;
}

@media (min-width: 768px) {
    .timeline-container::before {
        left: 25%;
    }
    .timeline-item::after {
        left: calc(25% - 5px);
        top: 10px;
    }
}

.timeline-content-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.card {
    box-shadow: 0 4px 8px rgba(0,0,0,.05);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,.1);
}

/* --- style.css --- */

/* Gaya untuk Kartu Profil */
.profile-card {
    background: linear-gradient(to bottom right, #ffffff, #f0f2f5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gaya untuk Foto Profil */
.profile-img {
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Gaya untuk Header Kartu (Latar Belakang Biru) */
.card-header {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Deeper blue gradient */
    border-bottom: none;
}

/* Gaya untuk Kartu Konten "Tentang Saya" */
.content-card {
    border-left: 5px solid #007bff; /* Accent border */
    transition: all 0.3s ease;
}

/* Efek Hover untuk Kartu Konten */
.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Override Warna Bootstrap */
.text-primary {
    color: #007bff !important;
}

.text-info {
    color: #17a2b8 !important; /* Slightly different info color */
}

.skill-level {
    height: 8px;
    border-radius: 4px;
}

.main-container {
    padding-top: 20px;
}

.section-scroll-anim {
    transition: opacity .6s ease, transform .6s ease;
}

.section-scroll-hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

#custom-navbar {
    box-shadow: none !important;
    background-color: rgba(0, 0, 0, 0.6) !important; 
    border-bottom: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

#custom-navbar .navbar-brand {
    color: #00FFFF !important;
    font-size: 32px; 
    margin-left: 30px; 
    transition: all 0.3s ease;
}

#custom-navbar .navbar-brand:hover {
    opacity: 0.8;
}

#custom-navbar .nav-link {
    padding: 12px 18px !important; 
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500; 
    text-transform: uppercase;
    letter-spacing: 1px; 
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
}

#custom-navbar .nav-link i {
    font-size: 16px; 
    margin-right: 6px; 
    color: rgba(255, 255, 255, 0.6); 
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#custom-navbar .nav-link:hover,
#custom-navbar .nav-link.active {
    color: #00FFFF !important;
    border-bottom: none !important; 
    transform: translateY(-2px); 
}

#custom-navbar .nav-link:hover i,
#custom-navbar .nav-link.active i {
    color: #00FFFF !important; 
}

@media (max-width: 991.98px) {
    #custom-navbar .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9); 
        border-radius: 5px;
        margin-top: 10px;
        padding: 10px 0;
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.2); 
    }
    #custom-navbar .nav-link:hover,
    #custom-navbar .nav-link.active {
        transform: none; 
    }
}

body {
    background-color: #000; 
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.main-container {
    position: relative;
    z-index: 10;
}

/* --- Tambahan untuk style.css --- */

/* ---------------------------------- */
/* Gaya Timeline Riwayat Pendidikan */
/* ---------------------------------- */

.custom-timeline-container {
    border-left: 2px solid #ccc; /* Garis vertikal utama */
    padding-left: 20px;
    margin-left: 10px; /* Sesuaikan jika perlu untuk margin kiri */
}

.timeline-item {
    padding-bottom: 20px;
}

.timeline-dot {
    position: absolute;
    left: -10px; /* Geser dot agar tepat di garis */
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    z-index: 10;
    border: 3px solid #fff; /* Border putih agar terlihat menonjol dari garis */
    transition: all 0.3s ease;
}

.timeline-content-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background-color: #dc3545 !important; /* Ganti warna dot saat hover */
    transform: scale(1.2);
}

.timeline-item:hover .timeline-content-card {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Penyesuaian Responsif untuk Timeline pada layar kecil */
@media (max-width: 767px) {
    .custom-timeline-container {
        padding-left: 35px; /* Tambah padding kiri agar konten tidak menabrak dot */
        margin-left: 0;
    }
    .timeline-item .row > div:first-child {
        text-align: left !important; /* Ratakan teks tanggal ke kiri di mobile */
    }
}


/* ---------------------------------- */
/* Gaya Kartu Pengalaman */
/* ---------------------------------- */

.experience-card {
    border-left: 5px solid #dc3545; /* Aksen merah */
    transition: all 0.3s ease;
    cursor: pointer;
}

.experience-card:hover {
    box-shadow: 0 8px 15px rgba(220, 53, 69, 0.2) !important;
    transform: translateY(-3px);
}

/* --- Tambahan untuk style.css --- */

/* ---------------------------------- */
/* Gaya Kartu Kontak */
/* ---------------------------------- */

.contact-card {
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent; /* Garis bawah default */
}

/* Efek Hover pada Kartu Kontak */
.contact-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px);
}

/* Hover Aksen Warna untuk Setiap Kartu */
.col-md-4:nth-child(1) .contact-card:hover { /* Email */
    border-bottom-color: #007bff; /* Primary Blue */
}

.col-md-4:nth-child(2) .contact-card:hover { /* Instagram */
    border-bottom-color: #dc3545; /* Danger Red/Pink */
}

.col-md-4:nth-child(3) .contact-card:hover { /* WhatsApp */
    border-bottom-color: #28a745; /* Success Green */
}

