:root {
  --primary-color: #2563eb;
  --secondary-color: #1e293b;
  --bg-light: #f8fafc;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--secondary-color);
  background-color: #fff;
}

/* Navbar */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-color);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding-top: 80px;
}

/* Foto Profil dengan Animasi Blob */
.hero-img-wrapper {
  width: 100%;
  max-width: 600px;
  height: 600px; /* Penting: Harus persegi agar putarannya presisi */
  position: relative;

  /* Animasi Wrapper: Berputar ke Kanan (CW) + Berubah Bentuk */
  animation: blob-spin-wrapper 20s linear infinite;
}

.hero-img {
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  transition: border-radius 0.5s ease;
  animation: blob-animation 10s ease-in-out infinite alternate;
}

@keyframes blob-animation {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  33% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  66% {
    border-radius: 60% 30% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%;
  }
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Skills Badge */
.skill-badge {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  margin: 5px;
  transition: all 0.3s;
}

.skill-badge:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Section Styling */
section {
  padding: 80px 0;
}

.bg-light-custom {
  background-color: var(--bg-light);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  font-weight: 700;
}

.section-title::after {
  content: "";
  display: block;
  width: 50%;
  height: 4px;
  background: var(--primary-color);
  margin-top: 10px;
  border-radius: 2px;
}
