/* ═══════════════════════════════════════════════════════════════
   style.css — Yulianto Personal Profile Website
   Font: Playfair Display (serif) + Inter (sans-serif)
   Palette: #1B262C / #0F4C75 / #3282B8 / #BBE1FA (ref palette_bbe1fa.jpg)
═══════════════════════════════════════════════════════════════ */

/* ─── Root variables ─── */
:root {
  --navy-900: #1B262C;
  --navy-800: #0F4C75;
  --gold-400:  #0F4C75;
  --gold-300:  #3282B8;
  --white:     #ffffff;
  --slate-50:  #f8fafc;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-500:  #6b7280;
  --radius-card: 16px;
  --shadow-soft: 0 4px 24px rgba(27, 38, 44, 0.07);
  --shadow-hover: 0 12px 40px rgba(27, 38, 44, 0.14);
  --transition: 300ms ease;
}

/* ─── Global resets & base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; }
img { display: block; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--slate-50); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ─── Section padding ─── */
.section-padding { padding: 96px 0; }
/* Pale blue flat background for sections without imagery (palette #BBE1FA) + glassy depth ala apex */
.section-pale {
  background:
    linear-gradient(to bottom, #BBE1FA 0, rgba(187, 225, 250, 0) 120px),
    linear-gradient(to top, #BBE1FA 0, rgba(187, 225, 250, 0) 120px),
    radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.28), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(15, 76, 117, 0.10), transparent 50%),
    #BBE1FA;
}

/* ═══ NAVBAR ════════════════════════════════════════════════ */
#navbar {
  background: transparent;
  transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(27, 38, 44, 0.80);
  box-shadow: 0 4px 24px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-link {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  border-radius: 8px;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.mobile-nav-link {
  display: block;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: #d1d5db;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: #ffffff; }
.mobile-nav-link:last-child { border-bottom: none; }

/* Deep blue for small text on light backgrounds (AA contrast) */
.text-gold-deep { color: #0F4C75; }

/* Hamburger lines */
.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
#hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open .ham-line:nth-child(2) { opacity: 0; }
#hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ HERO ══════════════════════════════════════════════════ */
.hero-bg-circle {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(50, 130, 184, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 3; /* above bg pseudo-elements, same level as content */
}
.hero-bg-dot {
  position: absolute;
  bottom: 80px;
  left: 80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(27, 38, 44, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}
.hero-photo-wrapper {
  position: relative;
  width: 380px;
  max-width: 100%;
}
.hero-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  border-radius: 120px 120px 80px 80px;
  box-shadow: var(--shadow-hover);
}
.hero-badge {
  position: absolute;
  bottom: -20px;
  right: -24px;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gray-100);
}
.hero-company-tag {
  position: absolute;
  top: 24px;
  left: -24px;
  background: white;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
}

/* ═══ BUTTONS ════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--navy-900);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 38, 44, 0.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--navy-900);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--navy-900);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover {
  background: var(--navy-900);
  color: white;
  transform: translateY(-2px);
}

/* ═══ SECTION TYPOGRAPHY ════════════════════════════════════ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-300));
  border-radius: 2px;
}

/* ═══ ABOUT ══════════════════════════════════════════════════ */
.about-quote-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: 16px;
  padding: 20px 22px;
  max-width: 260px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--gray-100);
}

/* ─── Stat cards ─── */
.stat-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 16px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══ SKILL CARDS ════════════════════════════════════════════ */
.skill-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gray-200);
}
.skill-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.skill-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
}
.skill-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
  flex: 1;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ═══ BADGES ═════════════════════════════════════════════════ */
.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--slate-50);
  color: var(--navy-900);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  letter-spacing: 0.02em;
}
.badge-accent {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(27, 38, 44, 0.06);
  color: var(--navy-900);
  border: 1px solid rgba(27, 38, 44, 0.12);
  border-radius: 20px;
}
.badge-sm {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--slate-50);
  color: #4b5563;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* ═══ DEVICE CARDS ═══════════════════════════════════════════ */
.device-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.device-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.device-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 400ms ease;
}
.device-card:hover .device-img { transform: scale(1.05); }
.device-label {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 10px 12px;
}

/* ═══ CERT CARDS ═════════════════════════════════════════════ */
.cert-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gray-200);
}
/* Center orphan last card (7 cards in 2/3-col grid) */
@media (min-width: 640px) {
  .cert-grid > :last-child:nth-child(2n+1) { grid-column: 1 / -1; max-width: 480px; margin-inline: auto; width: 100%; }
}
@media (min-width: 1024px) {
  .cert-grid > :last-child:nth-child(2n+1) { grid-column: auto; max-width: none; margin-inline: 0; }
  .cert-grid > :last-child:nth-child(3n+1) { grid-column: 2; }
}
.cert-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cert-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.4;
  margin-bottom: 4px;
}
.cert-issuer {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.cert-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(50, 130, 184, 0.12);
  color: #0F4C75;
  border-radius: 20px;
  border: 1px solid rgba(50, 130, 184, 0.3);
}

/* ═══ TIMELINE ═══════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gray-200), var(--gold-400), var(--navy-900));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -31px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-200);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--gray-200);
  transition: background var(--transition), box-shadow var(--transition);
}
.timeline-dot-active {
  background: var(--navy-900) !important;
  box-shadow: 0 0 0 3px rgba(27, 38, 44, 0.2) !important;
}
.timeline-item:hover .timeline-dot {
  background: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.25);
}
.timeline-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}
.timeline-card-active {
  border-color: rgba(27, 38, 44, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.timeline-period {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 8px;
}
.timeline-era-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.timeline-era-sub {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.timeline-desc {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.7;
}

/* ═══ PROJECT CARDS ══════════════════════════════════════════ */
.project-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.project-img-wrap {
  position: relative;
  overflow: hidden;
}
.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 400ms ease;
}
.project-card:hover .project-img { transform: scale(1.06); }
.project-category {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(27, 38, 44, 0.85);
  color: white;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}
.project-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  line-height: 1.3;
}
.project-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 10px;
}
.project-result {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.775rem;
  color: #16a34a;
  font-weight: 500;
  padding: 8px 12px;
  background: #f0fdf4;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
  margin-bottom: 0;
}

/* ═══ CONTACT ════════════════════════════════════════════════ */
#contact-form {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon-wrap {
  width: 42px;
  height: 42px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.form-input {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  color: var(--navy-900);
  background: var(--slate-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-input:focus {
  border-color: var(--navy-900);
  background: white;
  box-shadow: 0 0 0 3px rgba(27, 38, 44, 0.06);
}
.form-input.error {
  border-color: #ef4444;
  background: #fff5f5;
}
.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
  font-weight: 500;
}

/* ═══ BACK TO TOP ════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--navy-900);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(27, 38, 44, 0.3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 40;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--navy-800); }

/* ═══ REVEAL ANIMATION ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid children */
.grid > .reveal:nth-child(2) { transition-delay: 80ms; }
.grid > .reveal:nth-child(3) { transition-delay: 160ms; }
.grid > .reveal:nth-child(4) { transition-delay: 240ms; }
.grid > .reveal:nth-child(5) { transition-delay: 320ms; }
.grid > .reveal:nth-child(6) { transition-delay: 400ms; }
.grid > .reveal:nth-child(7) { transition-delay: 80ms; }
.grid > .reveal:nth-child(8) { transition-delay: 160ms; }
.grid > .reveal:nth-child(9) { transition-delay: 240ms; }
.grid > .reveal:nth-child(10) { transition-delay: 320ms; }

/* ─── Mobile responsive tweaks ─── */
@media (max-width: 768px) {
  .section-padding { padding: 64px 0; }
  .hero-photo { height: 320px; }
  .hero-badge { right: -8px; }
  .hero-company-tag { left: -8px; }
  .about-quote-card { right: -4px; max-width: 200px; }
  .timeline { padding-left: 28px; }
  .timeline-dot { left: -24px; }
}
@media (max-width: 480px) {
  .hero-photo-wrapper { width: 100%; max-width: 300px; }
  .timeline-card { padding: 20px; }
}

/* Certificate thumbnail (right side inside card) */
.cert-thumb {
  width: 104px;
  height: 76px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 480px) {
  .cert-thumb { width: 84px; height: 62px; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION BACKGROUND IMAGES — soft blurred IT/networking imagery
   Technique: ::before pseudo-element carries the bg image + blur,
   layered under a white semi-transparent overlay so content stays
   crisp and readable. The section itself keeps position:relative.
═══════════════════════════════════════════════════════════════ */

/* Shared base for all bg-image sections.
   ::before (image) = z-index 1
   ::after  (overlay) = z-index 2
   .section-content (real content) = z-index 3
   Section has no background-color so nothing blocks the pseudo-elements. */
.section-bg-hero::before,
.section-bg-keahlian::before,
.section-bg-sertifikasi::before,
.section-bg-proyek::before {
  content: '';
  position: absolute;
  inset: -4px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px) brightness(1.02) saturate(0.85);
  z-index: 1;
  pointer-events: none;
}

/* White overlay — dikurangi opacity agar gambar lebih kentara */
.section-bg-hero::after,
.section-bg-keahlian::after,
.section-bg-sertifikasi::after,
.section-bg-proyek::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Content wrapper sits above both pseudo-elements */
.section-content {
  position: relative;
  z-index: 3;
}

/* ── Hero — server rack / data center biru ── */
.section-bg-hero::before {
  background-image: url('assets/bg-hero.jpg');
}
.section-bg-hero::after {
  background:
    linear-gradient(to right, rgba(27,38,44,0.45) 0%, rgba(27,38,44,0) 22%, rgba(27,38,44,0) 78%, rgba(27,38,44,0.45) 100%),
    linear-gradient(
    160deg,
    rgba(255,255,255,0.55) 0%,
    rgba(248,250,252,0.48) 50%,
    rgba(255,255,255,0.55) 100%
  );
}

/* ── Keahlian — kabel jaringan / patch panel ── */
.section-bg-keahlian::before {
  background-image: url('assets/bg-keahlian.jpg');
}
.section-bg-keahlian::after {
  background:
    linear-gradient(to right, rgba(27,38,44,0.45) 0%, rgba(27,38,44,0) 22%, rgba(27,38,44,0) 78%, rgba(27,38,44,0.45) 100%),
    rgba(255, 255, 255, 0.55);
}

/* ── Sertifikasi — server rack LED ── */
.section-bg-sertifikasi::before {
  background-image: url('assets/bg-sertifikasi.jpg');
  filter: blur(2px) brightness(1.05) saturate(0.65);
}
.section-bg-sertifikasi::after {
  background:
    linear-gradient(to right, rgba(27,38,44,0.45) 0%, rgba(27,38,44,0) 22%, rgba(27,38,44,0) 78%, rgba(27,38,44,0.45) 100%),
    rgba(255, 255, 255, 0.58);
}

/* ── Proyek — circuit board / elektronik ── */
.section-bg-proyek::before {
  background-image: url('assets/bg-proyek.jpg');
  filter: blur(2px) brightness(1.04) saturate(0.75);
}
.section-bg-proyek::after {
  background:
    linear-gradient(to right, rgba(27,38,44,0.45) 0%, rgba(27,38,44,0) 22%, rgba(27,38,44,0) 78%, rgba(27,38,44,0.45) 100%),
    rgba(255, 255, 255, 0.55);
}

/* ── Smooth fade antar section (Opsi A) ──
   Foto + overlay dilumerkan di tepi via mask, warna dasar #BBE1FA
   menyambung ke section polos tetangga. Hero hanya bawah (atas = navbar). */
.section-bg-hero,
.section-bg-keahlian,
.section-bg-sertifikasi,
.section-bg-proyek {
  background-color: #BBE1FA;
}
.section-bg-keahlian::before,
.section-bg-keahlian::after,
.section-bg-sertifikasi::before,
.section-bg-sertifikasi::after,
.section-bg-proyek::before,
.section-bg-proyek::after {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}
.section-bg-hero::before,
.section-bg-hero::after {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 120px), transparent 100%);
}


/* ── Fade Kontak (pale) → footer (navy) ── */
footer {
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(27, 38, 44, 0), #1B262C);
  pointer-events: none;
}

/* ── Vignette navy kiri-kanan utk section polos: Tentang, Perangkat, Pengalaman, Kontak ──
   (tumpuk vignette di atas tumpukan .section-pale agar selaras section gambar) */
#tentang,
#kontak,
#perangkat,
#pengalaman {
  background:
    linear-gradient(to right, rgba(27,38,44,0.45) 0%, rgba(27,38,44,0) 22%, rgba(27,38,44,0) 78%, rgba(27,38,44,0.45) 100%),
    linear-gradient(to bottom, #BBE1FA 0, rgba(187, 225, 250, 0) 120px),
    linear-gradient(to top, #BBE1FA 0, rgba(187, 225, 250, 0) 120px),
    radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.28), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(15, 76, 117, 0.10), transparent 50%),
    #BBE1FA;
}
