@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Jost:wght@200;300;400;500;600&family=Pacifico&display=swap');

:root {
  --bg-from:       #f5eeff;
  --bg-to:         #e8d8ff;
  --navbar-bg:     rgba(245, 238, 255, 0.75);
  --navbar-border: rgba(180, 140, 240, 0.22);
  --card-bg:       rgba(255, 255, 255, 0.60);
  --card-border:   rgba(200, 170, 255, 0.30);
  --card-shadow:   rgba(24, 4, 53, 0.12);
  --purple:        #7c3aed;
  --purple-lt:     #a855f7;
  --purple-pale:   #ede8ff;
  --purple-glow:   rgba(168, 85, 247, 0.18);
  --text:          #1e1030;
  --text-mid:      #5a4472;
  --text-dim:      #9e8cb2;
  --footer-bg:     rgba(237, 220, 255, 0.7);
}

.dark-mode {
  --bg-from:       #0f0720;
  --bg-to:         #1e0a3c;
  --navbar-bg:     rgba(18, 8, 40, 0.84);
  --navbar-border: rgba(140, 90, 200, 0.25);
  --card-bg:       rgba(255, 255, 255, 0.05);
  --card-border:   rgba(160, 100, 255, 0.20);
  --card-shadow:   rgba(0, 0, 0, 0.38);
  --purple:        #c084fc;
  --purple-lt:     #d8b4fe;
  --purple-pale:   rgba(168, 85, 247, 0.12);
  --purple-glow:   rgba(168, 85, 247, 0.22);
  --text:          #f0e8ff;
  --text-mid:      #ffffff;
  --text-dim:      #fafafa;
  --footer-bg:     rgba(20, 8, 45, 0.85);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  background: linear-gradient(155deg, var(--bg-from) 0%, var(--bg-to) 100%);
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
  padding-top: 72px;
  transition: background 0.5s, color 0.4s;
  font-size: 17.5px;
}

body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9990; opacity: 0.5;
}

.opening-screen {
  position: fixed; inset: 0;
  display: flex; justify-content: center; align-items: center;
  background: linear-gradient(145deg, #2e0657 0%, #6d28d9 55%, #a78bfa 100%);
  z-index: 9999;
  transition: opacity 1.3s ease, visibility 1.3s;
  overflow: hidden;
}

.opening-particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.opening-particles span {
  position: absolute;
  color: rgba(255, 255, 255, 0.25);
  font-size: 18px;
  animation: floatParticle linear infinite;
}
.opening-particles span:nth-child(1) { left: 8%;  top: 15%; font-size: 22px; animation-duration: 8s;  animation-delay: 0s;   }
.opening-particles span:nth-child(2) { left: 80%; top: 10%; font-size: 14px; animation-duration: 11s; animation-delay: 1s;   }
.opening-particles span:nth-child(3) { left: 20%; top: 75%; font-size: 18px; animation-duration: 9s;  animation-delay: 0.5s; }
.opening-particles span:nth-child(4) { left: 70%; top: 70%; font-size: 12px; animation-duration: 13s; animation-delay: 2s;   }
.opening-particles span:nth-child(5) { left: 50%; top: 88%; font-size: 20px; animation-duration: 10s; animation-delay: 1.5s; }
.opening-particles span:nth-child(6) { left: 90%; top: 45%; font-size: 15px; animation-duration: 12s; animation-delay: 0.8s; }

@keyframes floatParticle {
  0%   { transform: translateY(0) rotate(0deg);       opacity: 0.2; }
  50%  { transform: translateY(-22px) rotate(180deg); opacity: 0.5; }
  100% { transform: translateY(0) rotate(360deg);     opacity: 0.2; }
}

.opening-inner {
  text-align: center; padding: 0 28px;
  position: relative; z-index: 1;
  animation: fadeUp 1.1s cubic-bezier(.22,.68,0,1.1) both;
}
.opening-tag {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.58em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 24px;
}
.opening-name {
  font-family: 'Pacifico', cursive;
  font-style: normal; font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  color: #fff; line-height: 1.2;
  letter-spacing: 0.01em; margin-bottom: 28px;
  text-shadow: 0 6px 40px rgba(60, 10, 120, 0.5);
}
.opening-rule {
  display: flex; align-items: center;
  justify-content: center; gap: 12px; margin-bottom: 20px;
}
.opening-rule .line  { width: 52px; height: 1px; background: rgba(255,255,255,0.35); }
.opening-rule .diamond {
  width: 7px; height: 7px;
  border: 1px solid rgba(255,255,255,0.75);
  transform: rotate(45deg);
}
.opening-sub {
  font-family: 'Jost', sans-serif;
  font-size: 13px; font-weight: 300;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.60); margin-bottom: 32px;
}
.opening-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.opening-dots span {
  display: block; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  animation: dotPulse 1.5s ease-in-out infinite;
}
.opening-dots span:nth-child(2) { animation-delay: 0.25s; }
.opening-dots span:nth-child(3) { animation-delay: 0.5s;  }
@keyframes dotPulse {
  0%,100% { transform: scale(1);   opacity: 0.4; }
  50%      { transform: scale(1.5); opacity: 1;   }
}

.opening-countdown {
  font-family: 'Jost', sans-serif;
  font-size: 32px; font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em; min-height: 44px;
  text-shadow: 0 0 20px rgba(200,160,255,0.6);
}
@keyframes countPulse {
  0%   { transform: scale(1.5); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}

.opening-screen.hide { opacity: 0; visibility: hidden; }

.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 72px;
  background: var(--navbar-bg);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--navbar-border);
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.navbar.scroll { box-shadow: 0 4px 32px var(--purple-glow); }

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 400;
  font-size: 23px; color: var(--purple);
  letter-spacing: 0.04em; flex-shrink: 0;
}
.logo-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple-lt); margin-left: 3px; vertical-align: middle;
  position: relative; top: -3px; opacity: 0.7;
}

.menu {
  display: flex; gap: 30px; list-style: none;
  margin-left: auto; align-items: center;
}
.menu a {
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--text-mid);
  position: relative; padding: 4px 0;
  transition: color 0.3s; white-space: nowrap;
}
.menu a::after {
  content: ""; position: absolute; bottom: -1px; left: 50%;
  width: 0; height: 1px;
  background: linear-gradient(to right, var(--purple), var(--purple-lt));
  transition: width 0.35s cubic-bezier(.4,0,.2,1);
  transform: translateX(-50%);
}
.menu a:hover { color: var(--purple); }
.menu a:hover::after { width: 100%; }

.dark-btn-menu {
  all: unset; font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mid); cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 99px;
  border: 1px solid var(--card-border); background: var(--card-bg);
  backdrop-filter: blur(8px); transition: 0.3s; white-space: nowrap;
}
.dark-btn-menu:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-pale); }
.dark-btn-menu i { font-size: 11px; }

.hamburger { display: none; font-size: 20px; cursor: pointer; color: var(--purple); padding: 4px; }

section {
  padding: 110px 52px; text-align: center;
  scroll-margin-top: 72px; position: relative; z-index: 2;
  opacity: 0; transform: translateY(38px);
  transition: opacity 0.9s cubic-bezier(.22,.68,0,1), transform 0.9s cubic-bezier(.22,.68,0,1);
}
section.show { opacity: 1; transform: translateY(0); }
#home { opacity: 1 !important; transform: none !important; }

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--purple); letter-spacing: 0.03em;
  position: relative; display: inline-block; margin-bottom: 10px;
}
.section-title::after {
  content: ""; display: block; width: 55%; height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(to right, transparent, var(--purple-lt), transparent);
}
.dark-mode .section-title { color: var(--purple-lt); }

.project-desc {
  max-width: 560px; margin: 12px auto 36px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.85;
  text-align: center;
}

.home {
  padding: 120px 52px; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.home::before {
  content: ""; position: absolute; width: 340px; height: 340px;
  background: var(--purple-glow); filter: blur(110px); border-radius: 50%;
  top: 18%; left: 54%; z-index: -1; pointer-events: none;
}
.home-content {
  display: flex; align-items: center; justify-content: center;
  gap: 64px; flex-wrap: wrap; max-width: 1000px; width: 100%;
}
.home-text { max-width: 440px; text-align: left; }

.home-eyebrow {
  font-family: 'Jost', sans-serif; font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.52em; text-transform: uppercase;
  color: var(--purple-lt); opacity: 0.8; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
  animation: fadeUp 0.9s ease 0.1s both;
}
.home-eyebrow::before {
  content: ""; display: inline-block; width: 24px; height: 1px;
  background: var(--purple-lt); flex-shrink: 0;
}
.home-text h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.18; color: var(--text); letter-spacing: 0.01em;
  margin-bottom: 14px; animation: fadeUp 0.9s ease 0.25s both;
}
.home-text h1 em { font-style: italic; color: var(--purple); }
.home-text h3 {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  font-size: 1.3rem;
  color: var(--text-mid); margin-bottom: 22px; min-height: 32px;
  animation: fadeUp 0.9s ease 0.4s both;
}
.home-text p {
  font-size: 17px;
  color: var(--text-mid); line-height: 1.9; font-weight: 400;
  text-align: justify; animation: fadeUp 0.9s ease 0.55s both;
}

.home-image { animation: float 4.5s ease-in-out infinite; flex-shrink: 0; position: relative; }
.home-image::before {
  content: ""; position: absolute; inset: -16px; border-radius: 30px;
  border: 1px solid var(--card-border); pointer-events: none;
  animation: framePulse 4s ease-in-out infinite;
}
@keyframes framePulse { 0%,100%{opacity:.4;} 50%{opacity:1;} }
.foto {
  width: 225px; border-radius: 22px; display: block;
  box-shadow: 0 28px 65px var(--card-shadow), 0 0 0 1px var(--card-border);
  transition: 0.4s ease;
}
.foto:hover { transform: scale(1.04) rotate(1deg); }

@keyframes float  { 0%,100%{transform:translateY(0);}    50%{transform:translateY(-13px);} }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px);} to{opacity:1;transform:translateY(0);} }

.about-container {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 52px; margin-top: 36px; flex-wrap: wrap; text-align: left;
}
.about-foto {
  width: 185px; border-radius: 18px;
  border: 1px solid var(--card-border); box-shadow: 0 20px 52px var(--card-shadow);
  flex-shrink: 0; transition: 0.4s;
}
.about-foto:hover { transform: scale(1.03); }

.about-text {
  max-width: 500px;
  font-size: 17px;
  color: var(--text-mid); line-height: 1.95; font-weight: 400;
  text-align: justify;
  hyphens: auto;
}
.about-text p + p { margin-top: 16px; }

.skills-container {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 0;
}
.skill-card {
  width: 175px; padding: 34px 20px; border-radius: 22px; text-align: center;
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(14px); box-shadow: 0 8px 28px var(--card-shadow);
  transition: 0.4s cubic-bezier(.22,.68,0,1.2); position: relative; overflow: hidden;
}
.skill-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--purple-pale), transparent 65%);
  opacity: 0; transition: 0.4s;
}
.skill-card:hover::before { opacity: 1; }
.skill-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: rgba(168,85,247,0.45); box-shadow: 0 26px 65px var(--purple-glow);
}
.skill-card i { font-size: 30px; color: var(--purple); margin-bottom: 14px; display: block; transition: transform 0.35s; }
.skill-card:hover i { transform: scale(1.2) rotate(-8deg); }
.skill-card p {
  font-size: 14px;
  font-weight: 400; color: var(--text-mid); letter-spacing: 0.04em;
}

.pengalaman-container {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 0;
}
.pengalaman-card {
  width: 268px; background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 22px; overflow: hidden; box-shadow: 0 8px 28px var(--card-shadow);
  backdrop-filter: blur(14px); transition: 0.4s cubic-bezier(.22,.68,0,1); text-align: left;
}
.pengalaman-card:hover {
  transform: translateY(-10px);
  border-color: rgba(168,85,247,.40); box-shadow: 0 26px 65px var(--purple-glow);
}
.pengalaman-image { position: relative; overflow: hidden; }
.pengalaman-card img { width: 100%; height: 165px; object-fit: cover; display: block; transition: transform 0.5s; }
.pengalaman-card:hover img { transform: scale(1.07); }
.pengalaman-overlay {
  position: absolute; inset: 0; background: rgba(30,10,60,0.62);
  display: flex; justify-content: center; align-items: center; opacity: 0; transition: 0.35s;
}
.pengalaman-card:hover .pengalaman-overlay { opacity: 1; }
.pengalaman-overlay a {
  width: 42px; height: 42px; background: white; color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 15px; text-decoration: none; transition: 0.25s;
}
.pengalaman-overlay a:hover { background: var(--purple); color: white; transform: scale(1.1); }
.pengalaman-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500; font-size: 19px;
  color: var(--text); padding: 18px 18px 8px; line-height: 1.35;
}
.pengalaman-card p {
  font-size: 15.5px;
  color: var(--text-dim); line-height: 1.8; font-weight: 400;
  padding: 0 18px 22px; text-align: justify;
}

.project-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.project-card {
  position: relative; width: 262px; height: 188px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--card-border); box-shadow: 0 8px 28px var(--card-shadow);
  transition: 0.4s cubic-bezier(.22,.68,0,1);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(25,5,55,0.95) 28%, rgba(90,40,160,0.40));
  color: white; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center; padding: 20px; opacity: 0; transition: 0.4s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover {
  border-color: rgba(168,85,247,0.50); box-shadow: 0 24px 60px var(--purple-glow);
  transform: translateY(-6px);
}
.project-overlay h3 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 17px; margin-bottom: 12px; text-align: center; }
.project-btn { display: flex; gap: 10px; }
.project-btn a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: white; color: var(--purple); border-radius: 50%; font-size: 13px;
  text-decoration: none; transition: 0.25s;
}
.project-btn a:hover { background: var(--purple); color: white; transform: scale(1.12); }
.project-btn a i, .fa-github, .fa-google-drive, .fa-eye { color: var(--purple) !important; }
.project-btn a:hover i { color: white !important; }

.sertifikat-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 0; }
.sertifikat-card {
  position: relative; width: 262px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--card-border); background: var(--card-bg);
  box-shadow: 0 8px 28px var(--card-shadow); backdrop-filter: blur(14px);
  transition: 0.4s cubic-bezier(.22,.68,0,1);
}
.sertifikat-card:hover { transform: translateY(-8px); border-color: rgba(168,85,247,0.42); box-shadow: 0 22px 55px var(--purple-glow); }
.sertifikat-card img { width: 100%; height: 162px; object-fit: cover; display: block; transition: transform 0.5s; }
.sertifikat-card:hover img { transform: scale(1.05); }
.sertifikat-overlay {
  position: absolute; top: 0; left: 0; right: 0; height: 162px;
  background: rgba(30,10,60,0.65);
  display: flex; justify-content: center; align-items: center; gap: 10px; opacity: 0; transition: 0.35s;
}
.sertifikat-card:hover .sertifikat-overlay { opacity: 1; }
.sertifikat-overlay a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: white; color: var(--purple); border-radius: 50%; font-size: 13px;
  text-decoration: none; transition: 0.25s;
}
.sertifikat-overlay a:hover { background: var(--purple); color: white; transform: scale(1.1); }
.sertifikat-overlay a i { color: var(--purple) !important; }
.sertifikat-overlay a:hover i { color: white !important; }
.sertifikat-card p {
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text-mid); line-height: 1.65; text-align: left; font-weight: 400;
}

.edu-modern { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 0; }
.edu-modern-card {
  width: 222px; padding: 34px 22px; text-align: center; border-radius: 26px;
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(14px); box-shadow: 0 8px 28px var(--card-shadow);
  transition: 0.4s cubic-bezier(.22,.68,0,1.2); position: relative; overflow: hidden;
}
.edu-modern-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--purple-lt), transparent);
  transform: scaleX(0); transition: 0.45s; transform-origin: center;
}
.edu-modern-card:hover::after { transform: scaleX(1); }
.edu-modern-card:hover { transform: translateY(-12px) scale(1.03); border-color: rgba(168,85,247,0.42); box-shadow: 0 24px 60px var(--purple-glow); }
.edu-modern-card img { width: 60px; margin-bottom: 16px; filter: saturate(0.9) brightness(0.96); }
.edu-modern-card h3 {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 9px;
}
.edu-modern-card p {
  font-size: 15.5px;
  color: var(--text-mid); line-height: 1.65; font-weight: 400;
}
.edu-modern-card span {
  display: inline-block; margin-top: 10px;
  font-size: 12px;
  color: var(--purple-lt); opacity: 0.7; letter-spacing: 0.10em; font-weight: 400;
}

.contact-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 0; }
.contact-card {
  min-width: 220px; padding: 28px 34px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; color: var(--text-mid);
  border: 1px solid var(--card-border); border-radius: 22px; background: var(--card-bg);
  backdrop-filter: blur(14px); box-shadow: 0 8px 28px var(--card-shadow);
  transition: 0.4s cubic-bezier(.22,.68,0,1);
}
.contact-card i { font-size: 28px; margin-bottom: 12px; color: var(--purple); transition: 0.35s; }
.contact-card p {
  font-size: 16px;
  word-break: break-word; font-weight: 400;
}
.contact-card:hover {
  background: var(--purple); border-color: var(--purple); color: white;
  transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 50px var(--purple-glow);
}
.contact-card:hover i { color: white; transform: scale(1.15) rotate(-8deg); }

footer {
  background: var(--footer-bg); border-top: 1px solid var(--card-border);
  text-align: center; padding: 28px 20px;
  font-size: 12.5px;
  color: var(--text-dim); letter-spacing: 0.14em; text-transform: uppercase;
  font-family: 'Jost', sans-serif; font-weight: 300; position: relative; z-index: 2;
}

.dark-mode .navbar { background: var(--navbar-bg); }
.dark-mode .menu a { color: var(--text-mid); }
.dark-mode .menu a:hover { color: var(--purple); }
.dark-mode .menu { background: var(--navbar-bg); }

@media (max-width: 900px) {
  .menu { gap: 18px; }
  .menu a { font-size: 11px; }
  .navbar { padding: 0 28px; }
  section { padding: 90px 32px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .hamburger { display: block; }

  .menu {
    display: none; flex-direction: column;
    position: absolute; top: 72px; right: 16px; width: 234px;
    background: var(--navbar-bg); border: 1px solid var(--card-border);
    border-radius: 18px; padding: 18px; gap: 4px;
    box-shadow: 0 16px 50px var(--purple-glow); backdrop-filter: blur(22px);
  }
  .menu.show { display: flex; }
  .menu li { width: 100%; justify-content: center; padding: 8px 0; text-align: center; border-bottom: 1px solid var(--card-border); }
  .menu li:last-child { border-bottom: none; }
  .menu a { font-size: 13px; }
  .dark-btn-menu { width: 100%; justify-content: center; }

  .home { padding: 90px 24px 64px; min-height: auto; }
  .home-content { flex-direction: column-reverse; gap: 34px; text-align: center; }
  .home-text { text-align: center; max-width: 100%; }
  .home-text p { text-align: justify; }
  .home-text h1 { font-size: 2.5rem; }
  .home-eyebrow { justify-content: center; }
  .home-image { margin: 0 auto; }
  .foto { width: 185px; }
  .home-image::before { inset: -10px; }
  .home::before { display: none; }

  section { padding: 75px 20px; }
  .section-title { font-size: 2rem; }

  .about-container { flex-direction: column; align-items: center; gap: 28px; }
  .about-foto { width: 160px; }
  .about-text { text-align: justify; max-width: 100%; }

  .pengalaman-card, .project-card, .sertifikat-card { width: 100%; max-width: 340px; }
  .project-card { height: 200px; }
  .edu-modern-card { width: 100%; max-width: 300px; }
  .contact-card { width: 100%; max-width: 320px; }

  .opening-name { font-size: 2.4rem; }
  .opening-particles span { font-size: 12px !important; }

  .project-desc { font-size: 15.5px; padding: 0 8px; }
}

@media (max-width: 400px) {
  .home-text h1 { font-size: 2rem; }
  .section-title { font-size: 1.85rem; }
  .foto { width: 165px; }
}