/* RESET & BODY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #04011a, #0b0356, #01011a);
  color: white;
}




/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
}

.navbar-fixed {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.392);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}


.logo {
  font-size: 40px;
  font-weight: 800;
}
.logo span {
  color: #3ec6ff;
}

.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links li {
  list-style: none;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 30px;
  font-weight: 500;
  margin: 0 15px;
  transition: 0.3s ease;
}
.nav-links a:hover {
  color: #00bfff;
}

.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px 60px;
}
.hero .text {
  flex: 1;
  max-width: 50%;
}
.hero h1 {
  font-size: 70px;
  margin-bottom: 15px;
}
.hero .highlight {
  color: #3ec6ff;
}
.hero p {
  font-size: 35px;
  margin-bottom: 20px;
  color: #ffffff;
}
.sub-desc {
  font-size: 12px;
  color: #aaa;
  max-width: 800px;
  margin: 10px 0 30px 0;
  line-height: 1;
}
.hero .btn, .hero .btn-outline {
  padding: 10px 20px;
  margin-right: 10px;
  text-decoration: none;
  font-weight: bold;
}
.hero .btn {
  background-color: #3ec6ff;
  color: black;
}
.hero .btn-outline {
  border: 2px solid #3ec6ff;
  color: #3ec6ff;
}

/* HERO IMAGE */
.image-glow {
  display: inline-block;
  padding: 30px;
  background: radial-gradient(circle, #3ec6ff33 0%, transparent 60%);
  border-radius: 50px;
}
.image-glow img {
  max-width: 420px;
  border-radius: 60px;
}
.image-glow:hover {
  background: radial-gradient(circle, #3ec6ff55 0%, transparent 70%);
  transform: scale(1.20);
  transition: all 0.3s ease;
}

/* SOCIAL ICONS */
.social-icons {
  margin: 20px 0;
}
.social-icons a {
  display: inline-block;
  margin-right: 15px;
}
.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.2);
}

/* DOWNLOAD BUTTON */
.download-cv {
  display: inline-block;
  margin-top: 15px;
  background-color: #ff4f81;
  color: white;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.download-cv:hover {
  background-color: #e8436c;
}
.download-cv-nav {
  background-color: #ff4f81;
  color: white;
  padding: 8px 14px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}
.download-cv-nav:hover {
  background-color: #e8436c;
}

/* STATS SECTION */
.stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: -20px;
  color: white;
  padding: 20px;
  text-align: center;
}
.stat h2 {
  font-size: 45px;
  color: #00bfff;
  margin-bottom: 5px;
}
.stat p {
  font-size: 35px;
  color: #aaa;
}

.about-section {
  padding-top: 200px;
  background: radial-gradient(to bottom right, #011326, #002477);
  padding: 60px 40px;
  color: white;
  font-family: 'Poppins', sans-serif;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 60px;
}
.about-left {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}
.about-video {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
}
.about-right {
  flex: 1 1 500px;
  color: #f0f0f0;
}
.about-title {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 20px;
}
.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-quote {
  font-style: italic;
  font-weight: bold;
  color: #ffffff;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-left: 4px solid #00bfff;
  border-radius: 6px;
}


/* === PROJECT SECTION STYLING === */
.project-section {
  padding: 100px 40px;
  background: url('KeyPro.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 10px;
  text-align: center;
}

.section-sub {
  margin-bottom: 40px;
  font-style: italic;
  text-align: center;
}

/* === CARD STYLING === */
.project-card {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 18px;
  padding: 32px;
  max-width: 520px;
  width: 90%;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(255, 0, 230, 0.3);
  transition: all 0.3s ease-in-out;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(0, 191, 255, 0.5);
}

.project-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* === Fix Hover Card Overlay === */
.hover-card {
  position: relative;
  overflow: visible;
}
.hover-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 18px;
  overflow: visible;
  max-height: none;
  height: auto;
  font-size: 14px;
  z-index: 10;
}
.hover-card:hover .overlay {
  opacity: 1;
}

/* Glide Bullets - Stylish Big Transparent */
.glide__bullets {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.glide__bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); /* transparan */
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.glide__bullet:hover,
.glide__bullet.glide__bullet--active {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.skill-section {
  background: linear-gradient(to bottom right, #0f172a, #1e293b);
  color: white;
  padding: 100px 40px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #4fd1c5;
  margin-bottom: 10px;
}

.section-sub {
  color: #ccc;
  margin-bottom: 50px;
  font-style: italic;
}

/* EXPERIENCE LIST */
.experience-list {
  margin-bottom: 50px;
  text-align: left;
  max-width: 600px;
  margin-inline: auto;
}

.experience-list h3 {
  font-size: 1.3rem;
  color: #00bfff;
  margin-bottom: 10px;
}

.experience-list ul {
  list-style: none;
  padding: 0;
}

.experience-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #ddd;
}

/* HARD SKILLS */
.skills-wrapper {
  display: flex;
  flex-wrap: nowrap; /* ⛔ jangan wrap ke bawah */
  overflow-x: auto;   /* ✅ bisa geser kalau kepanjangan */
  gap: 40px;
  padding-bottom: 20px;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
}

.skill-chart {
  scroll-snap-align: start;
  flex: 0 0 auto;
}
.skill-chart svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: #1e3a8a;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke: #00bfff;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-dashoffset: 100;
  animation: dash 1.4s ease-out forwards;
}


@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}


.percentage {
  fill: #00bfff;
  font-size: 0.5rem;
  text-anchor: middle;
  transform: rotate(90deg);
  transform-origin: center;
}

.skill-chart p {
  margin-top: 10px;
  font-weight: bold;
}

/* SOFT SKILLS */
.soft-skill-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.soft-skill {
  background: #1e293b;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 0 10px #00bfff40;
  transition: transform 0.3s ease;
}

.soft-skill:hover {
  transform: scale(1.05);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-chart {
  animation: slideUp 0.8s ease forwards;
  opacity: 0; /* default invisible, biar animasi jalan */
}

.services-section {
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: white;
  padding: 80px 40px;
  text-align: center;
}

.service-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 30px 10px;
  scroll-behavior: smooth;
}

.service-card {
  flex: 0 0 300px;
  background: #331646;
  padding: 30px 20px;
  border-radius: 16px;
  scroll-snap-align: center;
  box-shadow: 0 0 15px rgba(0,191,255,0.1);
  transition: transform 0.4s ease, background 0.4s ease;
}

.service-card:hover {
  transform: scale(1.05);
  background: #0ea5e9;
}

.icon-circle {
  font-size: 2rem;
  margin-bottom: 12px;
  background: #0ea5e9;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  display: inline-block;
  color: white;
  box-shadow: 0 0 10px #00bfff50;
}

.section-title {
  font-size: 2.5rem;
  color: #38bdf8;
  margin-bottom: 10px;
}

.section-sub {
  color: #94a3b8;
  margin-bottom: 30px;
  font-style: italic;
}

.contact-section {
  background: linear-gradient(to bottom right, #0f172a, #1e293b);
  color: white;
  padding: 100px 40px;
  text-align: center;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #1e293b;
  padding: 20px 30px;
  border-radius: 16px;
  text-decoration: none;
  color: white;
  box-shadow: 0 0 15px #00bfff40;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  background: #00bfff33;
}

.contact-card img {
  width: 36px;
  height: 36px;
}

.contact-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.contact-card p {
  margin: 0;
  font-size: 0.95rem;
}

.static-card:hover {
  transform: none;
  background: #1e293b;
}

.btn {
  padding: 12px 28px;
  background: #00bfff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: #009dcc;
  box-shadow: 0 0 15px #00bfff88;
  transform: translateY(-3px);
}

/* === MOBILE RESPONSIVE (≤768px) === */
@media screen and (max-width: 768px) {
  body {
    padding: 0 16px;
  }

  .project-card {
    width: 100%;
    padding: 24px;
    margin: 20px auto;
  }

  .skills-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .skill-chart svg {
    width: 100px;
    height: 100px;
  }

  .soft-skill-grid {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .services-carousel {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
  }

  .service-card {
    flex: 0 0 80%;
    max-width: 80%;
  }

  .hover-card .overlay {
    padding: 16px;
    font-size: 0.85rem;
    overflow-y: auto;
  }

  .contact-section {
    padding: 20px;
    text-align: center;
  }

  .contact-section button,
  .contact-section a {
    width: 100%;
    margin-bottom: 12px;
  }

  header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: #000a;
    padding: 12px 16px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

.toast-info {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e3b8a71;
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 1;
  animation: slide-up 0.5s ease-out forwards;
}

@keyframes slide-up {
  from {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* === RESPONSIVE FIX MOBILE (≤768px) === */
@media screen and (max-width: 768px) {
  body {
    padding: 0 16px;
  }

  /* === NAVBAR === */
  nav {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 16px;
    margin-top: 10px;
    border-radius: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
    font-size: 28px;
    cursor: pointer;
  }

  /* === HERO SECTION === */
  .hero {
    flex-direction: column;
    padding: 60px 20px 20px;
    text-align: center;
  }

  .hero .text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .sub-desc {
    font-size: 0.9rem;
  }

  .image-glow {
    margin-top: 30px;
    padding: 16px;
  }

  .image-glow img {
    width: 100%;
    border-radius: 20px;
  }

  /* === STATS SECTION === */
  .stats {
    flex-direction: row;
    gap: 30px;
  }

  .stat h2 {
    font-size: 36px;
  }

  .stat p {
    font-size: 20px;
  }

  /* === ABOUT SECTION === */
  .about-container {
    flex-direction: column;
    padding: 0;
  }

  .about-left,
  .about-right {
    width: 100%;
    text-align: center;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 1rem;
  }
  /* === SKILLS SECTION === */
  .skills-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .skill-chart svg {
    width: 200px;
    height: 120px;
  }

  .soft-skill-grid {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  /* === SERVICES === */
  .service-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
  }

  .service-card {
    flex: 0 0 80%;
    max-width: 80%;
  }

  /* === CONTACT === */
  .contact-grid {
    flex-direction: column;
    gap: 20px;
  }

  .contact-card {
    width: 100%;
    justify-content: flex-start;
  }

  .contact-section button,
  .contact-section a {
    width: 100%;
    margin-bottom: 12px;
  }

.card-link {
  display: inline-block;
  margin-top: 12px;
  background: #00bfff;
  color: white !important; /* penting: timpa warna default */
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none; /* hilangin underline */
  font-weight: 600;
  transition: background 0.3s ease;
}

.card-link:hover {
  background: #009dcc;
  text-decoration: none;
}

  /* === TOAST MOBILE === */
  .toast-info {
  font-size: 7px;
  padding: 10px 14px;
  max-width: 90vw; /* biar ga mentok layar */
  white-space: wrap; /* teksnya biar satu baris */
  overflow: hidden;
  text-overflow: ellipsis; /* tambahin "..." kalau terlalu panjang */
}