.navbar {

  position: sticky;
  top: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1rem 2rem;

  backdrop-filter: blur(20px);

  background:
    rgba(11,16,32,0.5);

  border-bottom:
    1px solid var(--border);

  z-index: 999;
}

.logo {

  font-family:
    var(--font-heading);

  font-size: 1.2rem;
  font-weight: 700;

  color: var(--primary);
}

nav {

  display: flex;
  gap: 2rem;
}

nav a {

  position: relative;

  color: var(--muted);

  transition: 0.3s;
}

nav a:hover {
  color: var(--primary);
}

.hero {

  min-height: 90vh;

  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 2rem;
}

.hero-tag {

  font-family: var(--font-mono);

  color: var(--primary);

  letter-spacing: 2px;

  font-size: 0.9rem;
}

.hero h1 {

  font-family: var(--font-heading);

  font-size:
    clamp(3rem, 8vw, 6rem);

  max-width: 900px;

  line-height: 1;
}

.hero-desc {

  max-width: 650px;

  color: var(--muted);

  line-height: 1.8;

  font-size: 1.1rem;
}

.hero-buttons {

  display: flex;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {

  padding: 1rem 1.5rem;

  border-radius: 16px;

  transition: 0.3s;
}

.btn-primary {

  background: var(--primary);

  color: black;

  font-weight: 700;

  box-shadow:
    0 0 30px rgba(0,217,255,0.35);
}

.btn-primary:hover {

  transform: translateY(-3px);
}

.btn-secondary {

  border:
    1px solid var(--border);

  background:
    rgba(255,255,255,0.03);
}

.btn-secondary:hover {

  border-color: var(--primary);

  color: var(--primary);
}

.section-header {

  margin-bottom: 4rem;
}

.section-tag {

  color: var(--primary);

  font-family: var(--font-mono);

  letter-spacing: 2px;

  margin-bottom: 1rem;
}

.section-header h2 {

  font-family: var(--font-heading);

  font-size:
    clamp(2rem, 5vw, 4rem);

  max-width: 800px;

  line-height: 1.1;
}

.about-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));

  gap: 2rem;
}

.about-card {

  background:
    rgba(255,255,255,0.03);

  border:
    1px solid var(--border);

  border-radius: 24px;

  padding: 2rem;

  transition: 0.3s;

  backdrop-filter: blur(20px);
}

.about-card:hover {

  transform:
    translateY(-8px);

  border-color:
    rgba(0,217,255,0.3);

  box-shadow:
    0 0 40px rgba(0,217,255,0.08);
}

.about-card h3 {

  font-family:
    var(--font-heading);

  margin-bottom: 1rem;

  color: var(--primary);
}

.about-card p {

  color: var(--muted);

  line-height: 1.8;
}

.project-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

  gap: 2rem;
}

.project-card {

  position: relative;

  overflow: hidden;

  padding: 2rem;

  border-radius: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.02)
    );

  border:
    1px solid var(--border);

  transition: 0.4s;
}

.project-card::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(0,217,255,0.08),
      transparent
    );

  transform:
    translateX(-100%);

  transition: 0.8s;
}

.project-card:hover::before {

  transform:
    translateX(100%);
}

.project-card:hover {

  transform:
    translateY(-10px);

  border-color:
    rgba(0,217,255,0.3);

  box-shadow:
    0 0 50px rgba(0,217,255,0.08);
}

.project-top {

  display: flex;
  justify-content: space-between;

  margin-bottom: 2rem;
}

.project-type,
.project-status {

  font-size: 0.8rem;

  font-family:
    var(--font-mono);

  color: var(--primary);
}

.project-card h3 {

  font-family:
    var(--font-heading);

  font-size: 1.5rem;

  margin-bottom: 1rem;
}

.project-card p {

  color: var(--muted);

  line-height: 1.8;

  margin-bottom: 2rem;
}

.project-tech {

  display: flex;
  flex-wrap: wrap;

  gap: 0.8rem;
}

.project-tech span {

  padding:
    0.5rem 0.8rem;

  border-radius: 999px;

  background:
    rgba(255,255,255,0.05);

  border:
    1px solid var(--border);

  font-size: 0.8rem;
}

.timeline {

  position: relative;

  margin-left: 1rem;

  border-left:
    1px solid rgba(255,255,255,0.08);

  display: flex;
  flex-direction: column;

  gap: 3rem;
}

.timeline-item {

  position: relative;

  padding-left: 3rem;
}

.timeline-dot {

  position: absolute;

  width: 14px;
  height: 14px;

  border-radius: 50%;

  background: var(--primary);

  left: -7px;
  top: 6px;

  box-shadow:
    0 0 20px rgba(0,217,255,0.8);
}

.timeline-content {

  background:
    rgba(255,255,255,0.03);

  border:
    1px solid var(--border);

  border-radius: 24px;

  padding: 2rem;

  backdrop-filter: blur(20px);

  transition: 0.3s;
}

.timeline-content:hover {

  transform:
    translateY(-6px);

  border-color:
    rgba(0,217,255,0.3);
}

.timeline-year {

  font-family:
    var(--font-mono);

  color: var(--primary);

  font-size: 0.8rem;

  letter-spacing: 2px;
}

.timeline-content h3 {

  margin:
    1rem 0;

  font-family:
    var(--font-heading);

  font-size: 1.4rem;
}

.timeline-content p {

  color: var(--muted);

  line-height: 1.8;
}

.achievement-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  gap: 2rem;
}

.achievement-card {

  position: relative;

  overflow: hidden;

  padding: 2rem;

  border-radius: 28px;

  background:
    rgba(255,255,255,0.03);

  border:
    1px solid var(--border);

  transition: 0.4s;
}

.achievement-card::after {

  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(0,217,255,0.08)
    );

  opacity: 0;

  transition: 0.4s;
}

.achievement-card:hover::after {

  opacity: 1;
}

.achievement-card:hover {

  transform:
    translateY(-8px);

  border-color:
    rgba(0,217,255,0.3);

  box-shadow:
    0 0 40px rgba(0,217,255,0.08);
}

.achievement-card h3 {

  position: relative;

  z-index: 2;

  margin-bottom: 1rem;

  color: var(--primary);

  font-family:
    var(--font-heading);
}

.achievement-card p {

  position: relative;

  z-index: 2;

  color: var(--muted);

  line-height: 1.8;
}

.contact {

  display: flex;
  justify-content: center;
}

.contact-box {

  width: 100%;
  max-width: 900px;

  text-align: center;

  padding:
    clamp(3rem, 6vw, 5rem);

  border-radius: 32px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.02)
    );

  border:
    1px solid var(--border);

  position: relative;

  overflow: hidden;
}

.contact-box::before {

  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  background:
    radial-gradient(
      circle,
      rgba(0,217,255,0.15),
      transparent 70%
    );

  top: -200px;
  right: -200px;

  filter: blur(80px);
}

.contact-box h2 {

  position: relative;

  z-index: 2;

  font-size:
    clamp(2.5rem, 6vw, 5rem);

  font-family:
    var(--font-heading);

  margin-bottom: 1.5rem;
}

.contact-desc {

  position: relative;

  z-index: 2;

  color: var(--muted);

  max-width: 650px;

  margin:
    0 auto 3rem;

  line-height: 1.8;
}

.contact-links {

  position: relative;

  z-index: 2;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 1rem;
}

.contact-links a {

  padding:
    1rem 1.5rem;

  border-radius: 999px;

  border:
    1px solid var(--border);

  background:
    rgba(255,255,255,0.03);

  transition: 0.3s;
}

.contact-links a:hover {

  color: black;

  background: var(--primary);

  box-shadow:
    0 0 30px rgba(0,217,255,0.35);
}

.footer {

  padding: 3rem 2rem;

  text-align: center;

  color: var(--muted);

  border-top:
    1px solid rgba(255,255,255,0.05);
}

.hero-container {

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 4rem;

  flex-wrap: wrap;
}

/* Avatar */
.hero-avatar {

  width: 280px;
  height: 280px;

  border-radius: 50%;

  overflow: hidden;

  border: 2px solid rgba(0,217,255,0.4);

  box-shadow:
    0 0 40px rgba(0,217,255,0.2);

  flex-shrink: 0;
}

.hero-avatar img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: contrast(1.1) saturate(1.1);
}

/* Text */
.hero-text {

  max-width: 700px;
}

.hero-avatar {

  position: relative;
}

.hero-avatar::after {

  content: "";

  position: absolute;

  inset: -10px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0,217,255,0.3),
      transparent 60%
    );

  z-index: -1;

  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {

  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.2;
  }
}

@media (max-width: 768px) {

  .hero-container {

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    align-items: center;

    gap: 4rem;
  }

  .hero-avatar-wrapper {

    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* main shape */
  .hero-avatar {

    width: 320px;
    height: 320px;

    border-radius: 50%;

    overflow: hidden;

    position: relative;

    border: 1px solid rgba(0,217,255,0.4);

    box-shadow:
      0 0 60px rgba(0,217,255,0.15);

    background: rgba(255,255,255,0.02);
  }

  /* image */
  .hero-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.05);
  }



}

.hero-avatar {

  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 768px) {

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-avatar {
    width: 220px;
    height: 220px;
  }
}

/* CONTACT SECTION */
.contact {
  padding: 120px 8%;
}

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

/* CARD */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 18px 20px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 200, 0.15);

  backdrop-filter: blur(10px);

  text-decoration: none;
  color: #e5e5e5;

  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* glow effect */
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 255, 200, 0.08),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.5s;
}

.contact-card:hover::before {
  transform: translateX(100%);
}

/* hover state */
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 200, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.15);
}

/* ICON */
.contact-icon {
  font-size: 22px;
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: rgba(0, 255, 200, 0.08);
  border: 1px solid rgba(0, 255, 200, 0.2);
}

/* TEXT */
.contact-info h3 {
  font-size: 14px;
  margin: 0;
  color: #fff;
}

.contact-info span {
  font-size: 12px;
  opacity: 0.7;
}

.contact::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,255,200,0.15), transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(60px);
  z-index: -1;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.hero-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* LEFT TEXT */
.hero-text {
  flex: 1;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 48px;
  margin: 0;
  color: #fff;
}

.hero-desc {
  margin-top: 16px;
  opacity: 0.7;
  max-width: 500px;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

/* RIGHT IMAGE */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* glow behind face */
.image-glow {
  position: absolute;
  width: 340px;
  height: 340px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(0, 255, 200, 0.28),
    transparent 70%
  );

  filter: blur(35px);
  z-index: 0;
}

/* frame image */
.image-frame {
  width: 280px;
  height: 280px;

  border-radius: 50%; /* ini yang bikin bulat */

  overflow: hidden;

  border: 2px solid rgba(0, 255, 200, 0.35);
  box-shadow:
    0 0 25px rgba(0, 255, 200, 0.2),
    inset 0 0 20px rgba(0, 255, 200, 0.1);

  z-index: 1;

  transition: 0.3s ease;
  position: relative;
}

/* image fit tetap aman */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hover effect */
.image-frame:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 45px rgba(0, 255, 200, 0.35),
    inset 0 0 25px rgba(0, 255, 200, 0.15);
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .image-frame {
    width: 220px;
    height: 220px;
  }

  .image-glow {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 768px) {
  .image-frame {
    width: 220px;
    height: 220px;
  }

  .image-glow {
    width: 260px;
    height: 260px;
  }
}


.project-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,255,200,0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0,255,200,0.15);
}

/* IMAGE */
.project-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  cursor: pointer;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.project-image img:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* CONTENT */
.project-content {
  padding: 16px;
}

/* LINKS */
.project-links {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.project-links a {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;

  border: 1px solid rgba(0,255,200,0.3);
  color: #fff;

  transition: 0.2s;
}

.project-links a:hover {
  background: rgba(0,255,200,0.15);
}

.image-modal {
  position: fixed;
  inset: 0;

  display: none;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.95);

  z-index: 99999;

  padding: 40px;
}

.image-modal img {
  width: auto;
  height: auto;

  max-width: 95vw;
  max-height: 95vh;

  object-fit: contain;

  border-radius: 12px;

  box-shadow: 0 0 60px rgba(0, 255, 200, 0.25);

  transform: scale(0.8);
  opacity: 0;

  transition: all 0.25s ease;
}

/* saat aktif */
.image-modal.show {
  display: flex;
}

.image-modal.show img {
  transform: scale(1);
  opacity: 1;
}