:root {
  --pink: #FF49C1;
  --purple: #6A1452;
  --peach: #FFB3AE;
}

/* GLOBAL */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #222;
  background: linear-gradient(135deg, #ffffff 60%, #fff0f8);
}

/* BACKGROUND GLOW */
body::before {
  content: "";
  position: fixed;
  width: 300px;
  height: 300px;
  background: var(--pink);
  filter: blur(120px);
  opacity: 0.15;
  top: 10%;
  left: 5%;
  z-index: -1;
}

/* PARTICLE */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  padding: 20px 60px;

  background: rgba(255, 255, 255, 0.6); /* transparan */
  backdrop-filter: blur(12px); /* efek blur */
  -webkit-backdrop-filter: blur(12px); /* safari */

  border-bottom: 1px solid rgba(255,255,255,0.3);
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
nav.scrolled {
  box-shadow: 0 5px 20px rgba(255,73,193,0.15);
}

.logo {
  color: var(--pink);
  font-weight: 600;
}

.menu a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.menu a:hover {
  color: var(--pink);
  transform: translateY(-2px);
}

/* SECTION */
.section {
  padding: 100px 80px;
}

.alt {
  background: #fafafa;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;
  padding: 120px;
  position: relative;
}

/* HERO GLOW */
.hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,73,193,0.15), transparent);
  top: -100px;
  right: 100px;
  z-index: -1;
}

/* FOTO */
.photo-wrap {
  position: relative;
}

.photo-wrap::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,73,193,0.25), transparent);
  border-radius: 50%;
  top: -10px;
  left: -10px;
  z-index: -1;
}

.photo {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.15),
    0 0 0 8px rgba(255,73,193,0.1),
    0 0 30px rgba(255,73,193,0.3);
  transition: 0.4s;
}

.photo:hover {
  transform: scale(1.05);
}

/* TEXT */
.right {
  max-width: 600px;
  line-height: 1.8;
}

h1 {
  font-size: 45px;
}

h1 span {
  color: var(--pink);
  text-shadow: 0 0 10px rgba(255,73,193,0.4);
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--purple);
}

/* BUTTON */
.btn {
  padding: 12px 25px;
  border-radius: 30px;
  margin-right: 10px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.main {
  background: var(--pink);
  color: white;
  box-shadow: 0 10px 30px rgba(255,73,193,0.3);
}

.main:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--pink);
}

.outline {
  border: 2px solid var(--pink);
  background: transparent;
  color: var(--pink);
}

.outline:hover {
  background: var(--pink);
  color: white;
}

/* GRID */
.grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* PROJECT CARD */
.project-card {
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  text-decoration: none;
  color: inherit;

  /* TIMBUL */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);

  transition: 0.4s;
  position: relative;
}

/* IMAGE */
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.4s;
}

/* TEXT */
.project-info {
  padding: 20px;
}

/* GLOW DALAM */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(255,73,193,0.2), transparent);
  opacity: 0;
  transition: 0.4s;
}

/* HOVER */
.project-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 
    0 25px 60px rgba(0,0,0,0.15),
    0 0 40px rgba(255,73,193,0.25);
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover h3 {
  color: var(--pink);
}

/* ACTIVITY */
.activity-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

/* biar selang-seling */
.activity-item.reverse {
  flex-direction: row-reverse;
}

/* GAMBAR */
.activity-item img {
  width: 420px;
  border-radius: 20px;
  object-fit: cover;
}

/* TEXT */
.activity-text {
  max-width: 500px;
}

.activity-text h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--purple);
}

.activity-text p {
  color: #555;
  line-height: 1.7;
}
.activity-item img {
  transition: 0.3s;
}

.activity-item img:hover {
  transform: scale(1.03);
}
/* TIMELINE CONTAINER */
.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
}

/* GARIS TENGAH */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--pink);
  transform: translateX(-50%);
}

/* ITEM */
.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 50px 0;
}

/* TAHUN */
.timeline-year {
  width: 40%;
  text-align: right;
  font-weight: 600;
}

/* TITIK */
.timeline-dot {
  width: 18px;
  height: 18px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pink);
  z-index: 1;
}

/* CARD */
.timeline-content {
  width: 40%;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: 0.3s;
}

/* HOVER */
.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.15),
    0 0 25px rgba(255,73,193,0.2);
}
.timeline-dot {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 5px var(--pink); }
  50% { box-shadow: 0 0 20px var(--pink); }
  100% { box-shadow: 0 0 5px var(--pink); }
}
/* GRID */
.cert-grid {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 20px 10px;

  scroll-snap-type: x mandatory;
}

/* biar ga kepencet */
.cert-card {
  min-width: 260px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
/* SCROLLBAR BIAR KECE */
.cert-grid::-webkit-scrollbar {
  height: 8px;
}

.cert-grid::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 10px;
}

/* CARD */
.cert-card {
  display: block;
  text-decoration: none;
  color: inherit;

  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;

  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: 0.4s;
}

/* WRAP GAMBAR */
.cert-img {
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.cert-img img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: 0.4s;
  display: block;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: 0.4s;
}

/* TEXT VIEW PDF */
.overlay span {
  background: var(--pink);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;

  box-shadow: 0 0 20px var(--pink);
}

/* TEXT */
.cert-card h3 {
  padding: 15px 15px 5px;
  font-size: 16px;
}

.cert-card p {
  padding: 0 15px 15px;
  font-size: 13px;
  color: #555;
}

/* HOVER EFFECT */
.cert-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.15),
    0 0 30px rgba(255,73,193,0.25);
}

/* IMAGE ZOOM */
.cert-card:hover img {
  transform: scale(1.1);
}

/* OVERLAY MUNCUL */
.cert-card:hover .overlay {
  opacity: 1;
}
/* CONTAINER */
.contact-container {
  text-align: center;
  max-width: 600px;
  margin: auto;
}

/* DESKRIPSI */
.contact-desc {
  margin-bottom: 30px;
  color: #555;
}

/* LIST */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

/* ITEM */
.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: white;
  padding: 15px;
  border-radius: 15px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

/* ICON */
.contact-item span {
  font-size: 20px;
}

/* HOVER */
.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.12),
    0 0 20px rgba(255,73,193,0.2);
}

/* BUTTON */
.contact-btn .btn {
  padding: 14px 30px;
  font-size: 16px;
}
/* FOOTER */
.footer {
  text-align: center;
  padding: 50px 20px;
}

/* ICON */
.socials a {
  font-size: 26px;
  margin: 0 12px;
  color: #555;
  transition: 0.3s;
}

/* HOVER */
.socials a:hover {
  color: var(--pink);
  transform: translateY(-6px) scale(1.2);
  filter: drop-shadow(0 0 10px var(--pink));
}

/* COPYRIGHT */
.footer p {
  margin-top: 15px;
  font-size: 14px;
  color: #777;
}
/* CONTAINER KHUSUS (INI KUNCI) */
.cert-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* GRID SCROLL */
.cert-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 40px; /* kasih ruang biar arrow ga nabrak */
}

/* HIDE SCROLLBAR */
.cert-grid::-webkit-scrollbar {
  display: none;
}

/* CARD FIX WIDTH */
.cert-card {
  min-width: 280px;
  flex-shrink: 0;
}

/* ARROW */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;

  background: white;
  color: var(--pink);
  font-size: 20px;
  cursor: pointer;

  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 5;

  transition: 0.3s;
}

/* POSISI FIX (INI YANG KAMU MAU) */
.arrow.left {
  left: 0;
}

.arrow.right {
  right: 0;
}

/* HOVER */
.arrow:hover {
  background: var(--pink);
  color: white;
  transform: translateY(-50%) scale(1.1);
}
/* Container untuk menjejarkan ikon */
.social-icons {
    display: flex;
    gap: 15px; /* Jarak antar ikon */
    margin-top: 25px; /* Jarak dari teks di atasnya */
}

/* Styling dasar ikon (bentuk bulat, border pink) */
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: transparent;
    border: 2px solid #ff4dcb; /* Warna pink disesuaikan dengan portofoliomu */
    border-radius: 50%;
    font-size: 20px;
    color: #ff4dcb;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Efek saat kursor diarahkan ke ikon (hover) */
.social-icons a:hover {
    background: #ff4dcb;
    color: white;
    transform: translateY(-5px); /* Ikon sedikit melayang ke atas */
    box-shadow: 0 5px 15px rgba(255, 77, 203, 0.4); /* Ada efek bayangan pink (opsional) */
}
/* --- FORMULIR KONTAK TEMA PINK --- */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #1e1e24; /* Tetap pertahankan background gelap biar tulisan pink nyala */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff; /* Label tetap putih biar terbaca jelas */
    margin-bottom: 8px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #2a2a35; /* Isian gelap */
    border: 1px solid #3f3f4e; /* Border default */
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Teks placeholder (bayangan) jadi pink muda */
.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #ffb6c1; /* Light Pink */
}

/* 🔥 Efek saat kolom diketik/diklik: Border jadi Pink Cerah 🔥 */
.input-group input:focus,
.input-group textarea:focus {
    border-color: #ff4785; /* Pink aksen utama */
    box-shadow: 0 0 0 3px rgba(255, 71, 133, 0.2); /* Bayangan pink halus */
}

/* 🔥 Tombol Kirim Pesan: Ganti jadi Pink 🔥 */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #ff4785; /* Warna pink utama kamu */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #e03e72; /* Pink yang sedikit lebih gelap saat di-hover */
    transform: translateY(-2px);
}

/* --- FOOTER STYLE --- */
.footer {
    text-align: center;
    padding: 40px 20px 20px; /* Jarak atas dilonggarkan biar tidak nempel dengan Contact */
    position: relative; 
    z-index: 10; 
    pointer-events: auto; 
}

.footer-icons {
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 15px; /* Jarak ideal antar icon */
    margin-bottom: 20px;
}

/* Membentuk icon menjadi lingkaran rapi */
.footer-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px; 
    height: 45px; 
    background: #ffffff; /* Background icon putih */
    color: #ff4785; /* Warna icon pink */
    font-size: 20px;
    border-radius: 50%; /* Membuatnya bulat sempurna */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Bayangan tipis yang elegan */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ffe6ef; /* Garis tepi pink sangat muda */
}

/* Efek keren saat icon disentuh kursor */
.footer-icons a:hover {
    background: #ff4785; /* Background berubah pink */
    color: #ffffff; /* Icon berubah putih */
    transform: translateY(-5px); /* Efek ngambang */
    box-shadow: 0 8px 15px rgba(255, 71, 133, 0.2); /* Bayangan pink */
}

.footer p {
    color: #888;
    font-size: 14px;
    margin: 0;
}
/* --- BUNGKUS UTAMA PROJECT --- */
.project-list {
    display: flex !important;
    flex-wrap: nowrap !important; /* Paksa banget biar gak turun ke bawah */
    overflow-x: auto !important;  /* Paksa munculin scroll horizontal */
    gap: 20px;
    padding: 20px 10px 40px 10px; /* Padding bawah dilebarin dikit buat tempat scrollbar */
    width: 100%;
    max-width: 100vw;
    
    /* Biar gesernya enak */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Biar mulus di HP */
}

/* --- KARTU PROJECT --- */
.project-card {
    flex: 0 0 320px !important; /* Lebar kartu DIPAKSA 320px, gak boleh nyusut */
    min-height: 350px; /* Tinggi minimal kartu */
    scroll-snap-align: start;
    
    /* --- (Desain warna/shadow kamu masukkan lagi di sini) --- */
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- SCROLLBAR CANTIK TEMA PINK --- */
.project-list::-webkit-scrollbar {
    height: 8px;
}
.project-list::-webkit-scrollbar-track {
    background: #ffe6ef; 
    border-radius: 10px;
}
.project-list::-webkit-scrollbar-thumb {
    background: #ff4785; 
    border-radius: 10px;
}
/* --- ISI KARTU EDUCATION --- */
.edu-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.edu-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: #ffe6ef; /* Pink sangat muda */
    color: #ff4785; /* Pink utama */
    font-size: 20px;
    border-radius: 50%;
    flex-shrink: 0; /* Biar icon gak gepeng */
}

.edu-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.edu-location {
    margin: 0;
    font-size: 13px;
    color: #ff4785; /* Bikin nama kampus jadi warna pink biar kontras */
    font-weight: 500;
}

.edu-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

/* --- EDU TAGS (Label Skill) --- */
.edu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.edu-tags span {
    background: #ffffff;
    color: #ff4785;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #ffb6c1; /* Border pink tipis */
    transition: all 0.3s ease;
}

.edu-tags span:hover {
    background: #ff4785;
    color: #ffffff;
    cursor: default;
}
/* --- BUNGKUS TIMELINE (Pakai Flexbox biar langsung sejajar) --- */
.timeline-container {
    display: flex; /* Ini kuncinya biar sejajar kiri-kanan */
    align-items: flex-start; /* Biar sejajar di bagian atas */
    position: relative;
    max-width: 1000px; /* Areanya dilonggarin biar kotak gak sempit */
    margin: 0 auto;
    padding: 20px 0;
}

/* Garis tengah pink */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #ff4785;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

/* --- PENGATURAN KARTU (KIRI & KANAN) --- */
/* 1. Lebarin bungkus utamanya (Ubah max-width jadi 1100px atau 1200px) */
.timeline-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    max-width: 1150px; /* 🔥 Asalnya 1000px, kita besarin biar areanya makin luas */
    margin: 0 auto;
    padding: 20px 0;
}

/* 2. Kurangi jarak kartu ke garis tengah biar kartunya bisa lebih melar ke dalam */
.timeline-item.left {
    padding-right: 20px; /* 🔥 Asalnya 40px, kita kurangi */
}

.timeline-item.right {
    padding-left: 20px; /* 🔥 Asalnya 40px, kita kurangi */
}
.timeline-content {
    background: #ffffff;
    padding: 35px; /* 🔥 Asalnya 30px, dibikin 35px biar makin lega napasnya */
    /* ... (biarkan sisa kode di bawahnya tetap sama) ... */
}


/* --- DESAIN KOTAK KONTEN (Biar Lega) --- */
.timeline-content {
    background: #ffffff;
    padding: 30px; /* Kotaknya dilebarin biar teksnya gak antre panjang */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #ffe6ef;
    position: relative;
    z-index: 2; 
    text-align: left; /* Teks rata kiri biar lebih enak dibaca */
}

/* --- RESPONSIF HP (Penting biar di HP tetep bisa dibaca) --- */
@media screen and (max-width: 768px) {
    .timeline-container {
        flex-direction: column; /* Kalau di layar sempit/HP, biarkan numpuk ke bawah */
    }
    .timeline-container::after {
        left: 20px; 
    }
    .timeline-item {
        width: 100%; 
        padding-left: 50px !important;
        padding-right: 0 !important;
        margin-bottom: 30px;
    }
    .timeline-item.left::after, .timeline-item.right::after {
        left: 9px; 
        right: auto;
    }
}
#particles-js {
  pointer-events: none;
}
nav {
  position: relative;
  z-index: 10;
}