* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    /* jarak antara logo dan teks */
}

.logo-img {
    width: 40px;
    /* ukuran logo */
    height: 40px;
    object-fit: contain;
    /* biar proporsional */
    border-radius: 50%;
    border: 2px solid white;
}

.logo-text {
    font-size: 1.3rem;
    color: white;
}

.logo-text span {
    color: #e0f0ff;
}

body {
    background: #000000;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

/* ==== NAVBAR ==== */
.navbar {
  background: #0078ff;
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 120, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 25px;
}

/* ==== LOGO ==== */
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo span {
  color: #fff;
  font-weight: 700;
}

/* Hover efek untuk logo */
.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* ==== LINK NAVIGATION ==== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding: 5px 0;
}

/* Efek underline animasi */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d6eaff;
  transition: width 0.3s ease;
}

/* Saat hover */
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(214, 234, 255, 0.9);
}

/* Tambahan efek sticky scroll */
.navbar.scrolled {
  background: #006de0;
  box-shadow: 0 4px 12px rgba(0, 120, 255, 0.4);
}


/* HERO */
/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(135deg, #000000, #0078ff);
  color: white;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Efek glow bergerak di background */
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at center, rgba(0, 120, 255, 0.15), transparent 70%);
  animation: moveGlow 8s linear infinite;
  z-index: 0;
}

/* Gambar profil */
.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(0, 120, 255, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 1;
  position: relative;
}

.profile-pic:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(0, 120, 255, 0.7);
}

/* Judul */
.hero h1 {
  font-size: 2.5rem;
  margin-top: 20px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  z-index: 1;
  position: relative;
  animation: fadeInUp 1s ease-in-out;
}

/* Subjudul */
.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #e0e0e0;
  z-index: 1;
  position: relative;
  animation: fadeInUp 1.2s ease-in-out;
}

/* Tombol utama */
.btn {
  display: inline-block;
  margin-top: 30px;
  background: white;
  color: #0078ff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  z-index: 1;
  position: relative;
}

.btn:hover {
  background: #0078ff;
  color: white;
  border-color: white;
  box-shadow: 0 0 20px rgba(0, 120, 255, 0.7);
  transform: translateY(-3px);
}

/* Animasi halus */
@keyframes moveGlow {
  0% { transform: translate(0, 0); }
  50% { transform: translate(20px, 20px); }
  100% { transform: translate(0, 0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* SECTION PAGES */
section {
    padding: 60px 0;
}

section h2 {
    color: #0078ff;
    margin-bottom: 20px;
}

section h3 {
    color: #005bb5;
    margin-bottom: 15px;
}

section p {
    max-width: 700px;
    margin: auto;
}

/* ABOUT ME */

/* ==== BAGIAN TENTANG SAYA ==== */
.about-page {
    padding: 80px 20px;
    background: linear-gradient(160deg, );
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

/* Animasi muncul */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animasi glow background */
@keyframes moveGlow {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10%, 10%);
    }

    100% {
        transform: translate(0, 0);
    }
}


/* ==== BAGIAN KONTAK ==== */
.contact-page {
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}


/* Kotak info kontak */
.contact-info {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(0, 198, 255, 0.1);
  border-radius: 18px;
  padding: 35px 25px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.08);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}



.contact-info:hover::after {
  left: 100%;
}

.contact-info:hover {
  transform: scale(1.02);
  border-color: rgba(0, 198, 255, 0.4);
  box-shadow: 0 0 25px rgba(0, 198, 255, 0.3);
}

/* Teks */
.contact-info p {
  font-size: 1.05rem;
  color: #cfcfcf;
  margin: 10px 0;
  position: relative;
  transition: color 0.3s ease;
}

/* Tautan */
.contact-info a {
  color: #00c6ff;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.contact-info a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00c6ff;
  transition: 0.3s;
}

.contact-info a:hover::after {
  width: 100%;
}

.contact-info a:hover {
  color: #00eaff;
  text-shadow: 0 0 8px rgba(0, 198, 255, 0.7);
}

/* Animasi masuk & glow */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moveGlow {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10%, 10%);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Experience */
.experience-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.experience-card {
    position: relative;
    background: #0e0e0e;
    /* 🔥 warna dasar hitam elegan */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 25px;
    color: #fff;
    transition: all 0.4s ease;
    transform: translateY(15px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.05);
}

.experience-card:nth-child(2) {
    animation-delay: 0.2s;
}

.experience-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(0, 198, 255, 0.15), transparent 70%);
    transform: rotate(25deg);
    transition: 1s;
}

.experience-card:hover::before {
    transform: rotate(385deg);
}

.experience-card:hover {
    transform: translateY(-8px) scale(1.03);
    background: linear-gradient(135deg, #0d1a2b, #000);
    box-shadow: 0 8px 20px rgba(0, 198, 255, 0.3);
    border-color: rgba(0, 198, 255, 0.4);
}

.experience-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00c6ff;
    margin-bottom: 15px;
}

.experience-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #cfcfcf;
    transition: all 0.3s ease;
}

.experience-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00c6ff;
    font-size: 1.2rem;
    line-height: 1;
}

.experience-card ul li:hover {
    color: #00c6ff;
    transform: translateX(5px);
}

/* animasi muncul halus dari bawah */
@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Animasi muncul halus dari bawah */
@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* FOOTER */
footer {
    background: #0078ff;
    color: white;
    padding: 15px;
    font-size: 0.9rem;
}

/* Education */
.education-section {
    display: grid;
    gap: 20px;
    max-width: 500px;
    margin: 40px auto;
}

.edu-card {
    background: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #00c6ff;
    padding: 15px 20px;
    border-radius: 12px;
    color: white;
    transition: all 0.4s ease;
    transform: translateY(10px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.edu-card:nth-child(2) {
    animation-delay: 0.2s;
}

.edu-card:nth-child(3) {
    animation-delay: 0.4s;
}

.edu-card:nth-child(4) {
    animation-delay: 0.6s;
}

.edu-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg, #000000, #0078ff);
    box-shadow: 0 6px 15px rgba(0, 198, 255, 0.3);
}

/* animasi masuk dari bawah */
@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.edu-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00c6ff;
}

.edu-card p {
    margin-top: 5px;
    color: #e0f0ff;
    font-size: 0.95rem;
}

/* ==== Section Keahlian ==== */
.skills-page {
    padding: 70px 20px;
    background: radial-gradient(circle at top, #0d1a2b, );
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.skills-list ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
}

.skills-list ul li {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(0, 198, 255, 0.1);
    margin: 15px 0;
    padding: 18px 20px;
    border-radius: 15px;
    font-size: 1rem;
    color: #cfcfcf;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.skills-list ul li::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 198, 255, 0.15), transparent);
    transition: 0.5s;
}

.skills-list ul li:hover::before {
    left: 100%;
}

.skills-list ul li:hover {
    color: #00c6ff;
    border-color: rgba(0, 198, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.3);
    transform: translateX(10px) scale(1.03);
}

/* ==== Section Proyek ==== */
.projects-page {
    padding: 70px 20px;
    background: linear-gradient(135deg, );
    text-align: center;
    animation: fadeIn 1.2s ease-in-out;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 25px;
    color: #fff;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.05);
}

.project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(0, 198, 255, 0.15), transparent);
    transition: 0.7s;
}

.project-card:hover::after {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.04);
    background: linear-gradient(135deg, #0d1a2b, #000);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.3);
    border-color: rgba(0, 198, 255, 0.4);
}

.project-card h3 {
    font-size: 1.3rem;
    color: #00c6ff;
    margin-bottom: 10px;
    text-shadow: 0 0 6px rgba(0, 198, 255, 0.5);
}

.project-card p {
    color: #cfcfcf;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==== Animasi Muncul ==== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}