:root {
  --primary: #f9fafb;
  --primary-dark: #e5e7eb;
  --accent: #b0b0b0;
  --text: #f4f4f5;
  --muted: #c4c4c4;
  --bg: #080808;
  --panel: #111111;
  --border-radius: 16px;
  --shadow: 0 25px 45px rgba(0, 0, 0, 0.55);
  --blur: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.04), transparent 50%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  transition: background 0.5s ease, color 0.5s ease;
}

body.light-theme {
  --primary: #1f2933;
  --primary-dark: #111827;
  --accent: #6b7280;
  --text: #1f2933;
  --muted: #52606d;
  --bg: #f3f4f6;
  color: var(--text);
  background: radial-gradient(circle at top right, rgba(17, 24, 39, 0.12), transparent 55%),
    radial-gradient(circle at bottom left, rgba(148, 163, 184, 0.25), transparent 45%),
    var(--bg);
}

body.theme-glow {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 45%),
    #0f0f0f;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.site-header {
  background-color: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--muted);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.profile-hero {
  padding: clamp(4rem, 12vw, 6.5rem) 0 4rem;
}

.profile-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  padding: clamp(2rem, 5vw, 3rem);
  background-color: rgba(17, 17, 17, 0.95);
  border-radius: min(28px, 6vw);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: box-shadow 0.35s ease, transform 0.15s ease;
  overflow: hidden;
}

body.theme-glow .profile-card {
  box-shadow: 0 35px 65px rgba(0, 0, 0, 0.65);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.profile-card:hover::before {
  opacity: 1;
}

.profile-image {
  width: clamp(160px, 28vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transform: translateZ(12px);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-content {
  text-align: center;
  max-width: 560px;
  transform: translateZ(18px);
  display: grid;
  gap: 1rem;
}

.greeting {
  font-size: 0.9rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.profile-name {
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  margin: 0;
  line-height: 1.1;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.badge {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.3rem;
}

.cta,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.85rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0b0b0b;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.55);
  animation: pulseGlow 3.5s ease-in-out infinite;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.6);
}

.ghost-btn {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ghost-btn:hover {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.highlight {
  padding: 3.5rem 0 4rem;
  background-color: rgba(18, 18, 18, 0.92);
  text-align: center;
}

.highlight-profile {
  backdrop-filter: blur(var(--blur));
}

.highlight h2 {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  margin: 0;
}

.feature-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.75rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-grid article {
  background: rgba(20, 20, 20, 0.95);
  border-radius: var(--border-radius);
  padding: 1.8rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.55);
}

.feature-grid h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(3.5rem, 10vw, 5rem) 0 3.2rem;
  text-align: center;
  color: var(--text);
}

.biodata-hero {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.55));
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  max-width: 640px;
  margin: 0.5rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.info-sections {
  padding: 3.2rem 0;
}

.info-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.info-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.info-card {
  background-color: rgba(18, 18, 18, 0.95);
  padding: 1.9rem;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 1.1rem;
}

.info-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.info-list li {
  display: grid;
  gap: 0.3rem;
  text-align: left;
}

.label {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.value {
  font-size: 1.05rem;
  color: var(--text);
}

.timeline-section {
  padding: 3.5rem 0 3.8rem;
  background-color: rgba(16, 16, 16, 0.94);
}

.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  margin-bottom: 2.8rem;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  max-width: 760px;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -11px;
  top: 0.2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #cfcfcf);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.timeline-content {
  background-color: rgba(18, 18, 18, 0.96);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.52);
}

.timeline-heading {
  margin: 0;
  font-size: 1.15rem;
}

.timeline-subheading {
  margin: 0.3rem 0 0.6rem;
  color: var(--muted);
  font-weight: 600;
}

.timeline-body {
  margin: 0;
  color: var(--muted);
}

.accordion details {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.8rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion details[open] {
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.48);
}

.accordion summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.bullet-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.progress-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.progress-item {
  display: grid;
  gap: 0.45rem;
}

.progress-label {
  font-weight: 600;
  color: var(--muted);
}

.progress-bar {
  height: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f9fafb, #cfd2d6);
  width: 0%;
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-fill.animate {
  width: var(--progress-target, 75%);
}

.reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.placeholder {
  color: rgba(31, 37, 51, 0.7);
}

.site-footer {
  background-color: rgba(18, 18, 18, 0.95);
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--muted);
  backdrop-filter: blur(14px);
}

body.light-theme .site-header {
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(75, 85, 99, 0.1);
  box-shadow: 0 4px 20px rgba(17, 24, 39, 0.12);
}

body.light-theme .site-nav a:hover,
body.light-theme .site-nav a.active {
  background-color: rgba(156, 163, 175, 0.16);
}

body.light-theme .profile-card {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 25px 45px rgba(17, 24, 39, 0.14);
}

body.light-theme .profile-card::before {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.2), rgba(209, 213, 219, 0.35));
}

body.light-theme .profile-image {
  box-shadow: 0 20px 45px rgba(17, 24, 39, 0.35);
}

body.light-theme .badge {
  background: rgba(156, 163, 175, 0.18);
}

body.light-theme .badge:hover {
  box-shadow: 0 12px 25px rgba(17, 24, 39, 0.18);
}

body.light-theme .cta {
  background: linear-gradient(135deg, #1f2933, #111827);
  color: #ffffff;
  box-shadow: 0 20px 35px rgba(17, 24, 39, 0.35);
}

body.light-theme .cta:hover {
  box-shadow: 0 24px 42px rgba(17, 24, 39, 0.4);
}

body.light-theme .ghost-btn {
  background-color: rgba(156, 163, 175, 0.18);
  color: #111827;
  border: 1px solid rgba(75, 85, 99, 0.35);
}

body.light-theme .ghost-btn:hover {
  background-color: rgba(156, 163, 175, 0.28);
}

body.light-theme .highlight {
  background-color: rgba(255, 255, 255, 0.92);
}

body.light-theme .feature-grid article {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 35px rgba(17, 24, 39, 0.14);
}

body.light-theme .feature-grid article:hover {
  box-shadow: 0 24px 52px rgba(17, 24, 39, 0.22);
}

body.light-theme .info-card {
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.16);
}

body.light-theme .timeline-section {
  background-color: rgba(255, 255, 255, 0.92);
}

body.light-theme .timeline {
  border-left: 2px solid rgba(107, 114, 128, 0.25);
}

body.light-theme .timeline-dot {
  background: linear-gradient(135deg, #111827, #6b7280);
  box-shadow: 0 0 0 6px rgba(156, 163, 175, 0.25);
}

body.light-theme .timeline-content {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 38px rgba(17, 24, 39, 0.16);
}

body.light-theme .accordion details {
  background-color: rgba(156, 163, 175, 0.12);
}

body.light-theme .accordion details[open] {
  background-color: rgba(156, 163, 175, 0.2);
  box-shadow: 0 15px 28px rgba(17, 24, 39, 0.18);
}

body.light-theme .pill {
  background: rgba(156, 163, 175, 0.2);
  color: #111827;
}

body.light-theme .progress-bar {
  background-color: rgba(156, 163, 175, 0.18);
}

body.light-theme .progress-fill {
  background: linear-gradient(135deg, #4b5563, #111827);
}

body.light-theme .site-footer {
  background-color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(75, 85, 99, 0.12);
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.65);
  }
}

@media (max-width: 780px) {
  .profile-card {
    padding: 2.2rem;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .site-nav {
    gap: 0.85rem;
  }

  .profile-card {
    padding: 1.9rem;
  }

  .badge-row {
    gap: 0.5rem;
  }

  .feature-grid {
    margin-top: 2.3rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item {
    padding-left: 1.65rem;
  }
}

