*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --off-white: #f8f9fc;
  --surface: #f1f4f9;
  --surface-2: #e8ecf4;
  --border: #e2e6f0;
  --border-dark: #c8cfe0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --indigo: #4f46e5;
  --indigo-light: #6366f1;
  --indigo-pale: #eef2ff;
  --indigo-pale-2: #e0e7ff;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-pale: #f0fdfa;
  --slate-800: #1e293b;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-full: 100px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow: 0 4px 16px rgba(15,23,42,0.08), 0 1px 3px rgba(15,23,42,0.05);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.1), 0 4px 12px rgba(15,23,42,0.06);
  --tr: 0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--white); color: var(--text-primary); line-height: 1.7; overflow-x: hidden; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 64px; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.5px;
  color: var(--indigo); text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.nav-links { display: flex; gap: 0.1rem; list-style: none; }
.nav-links a {
  display: block; padding: 0.45rem 0.85rem;
  color: var(--text-secondary); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; border-radius: var(--radius-sm);
  transition: var(--tr);
}
.nav-links a:hover,
.nav-links a.active { color: var(--indigo); background: var(--indigo-pale); }
.nav-links a.laprak-link {
  color: var(--teal); background: var(--teal-pale);
  border: 1px solid rgba(13,148,136,0.15);
}
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--text-primary);
  font-size: 1.2rem; padding: 0.4rem;
}

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 2rem 5rem; background: var(--white);
  position: relative; overflow: hidden;
}
.hero-blob-1 {
  position: absolute; top: -80px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, #e0e7ff 0%, transparent 70%);
  pointer-events: none;
}
.hero-blob-2 {
  position: absolute; bottom: -60px; left: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, #f0fdfa 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 5rem;
  position: relative; z-index: 1;
}
.hero-text { flex: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--indigo-pale); border: 1px solid var(--indigo-pale-2);
  color: var(--indigo); padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 600;
  margin-bottom: 1.5rem; letter-spacing: 0.3px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--indigo-light); animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }
.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -1.5px;
  color: var(--text-primary); margin-bottom: 0.5rem;
}
.hero-text h1 em { font-style: normal; color: var(--indigo); }
.hero-subtitle {
  font-size: 1.15rem; font-weight: 600; color: var(--teal);
  margin-bottom: 1rem; letter-spacing: -0.2px;
}
.hero-text p { color: var(--text-secondary); font-size: 1rem; max-width: 480px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn-primary {
  padding: 0.75rem 1.6rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; font-family: inherit;
  background: var(--indigo); color: #fff;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3); transition: var(--tr);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover {
  background: var(--indigo-light); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,70,229,0.35);
}
.btn-outline {
  padding: 0.75rem 1.6rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; font-family: inherit;
  background: var(--white); color: var(--text-primary);
  border: 1px solid var(--border-dark); text-decoration: none;
  transition: var(--tr); display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--indigo); color: var(--indigo);
  transform: translateY(-2px); background: var(--indigo-pale);
}

.hero-visual { flex-shrink: 0; }
.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 4px solid rgba(255,255,255,0.9);
}
.hero-avatar-wrap { 
  width: 280px; 
  height: 280px; 
  position: relative; 
}
.hero-avatar-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 8px;

  background: linear-gradient(
    145deg,
    var(--indigo) 0%,
    var(--teal) 100%
  );

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 20px 50px rgba(79,70,229,0.25),
    0 10px 30px rgba(13,148,136,0.15);

  overflow: hidden;
  position: relative;
}

.hero-avatar-ring::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(79,70,229,0.35),
    rgba(13,148,136,0.25)
  );
  filter: blur(25px);
  z-index: -1;
}

.hero-avatar-initials {
  display: none;
}
.hero-badge-float {
  position: absolute; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600;
}
.hbf-1 { bottom: 20px; left: -30px; color: var(--indigo); }
.hbf-2 { top: 30px; right: -20px; color: var(--teal); }
.hbf-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-size: 1.7rem; font-weight: 700; color: var(--indigo);
  letter-spacing: -1px; line-height: 1;
}
.hero-stat .lbl { font-size: 0.76rem; color: var(--text-muted); font-weight: 500; margin-top: 3px; }

/* ── SHARED SECTION ── */
section { padding: 6rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; width: 100%; }
hr { border: none; border-top: 1px solid var(--border); }

.section-eyebrow {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--indigo); margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.section-eyebrow::after {
  content: ''; flex: 1; max-width: 40px;
  height: 2px; background: var(--indigo); border-radius: 1px;
}
.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 700;
  letter-spacing: -0.75px; color: var(--text-primary); margin-bottom: 0.75rem;
}
.section-title em { font-style: normal; color: var(--indigo); }
.section-sub { color: var(--text-secondary); font-size: 0.97rem; max-width: 520px; }
.section-header { margin-bottom: 3.5rem; }

/* ── ABOUT ── */
#about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-text p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 0.97rem; }
.about-info { display: grid; gap: 0.6rem; margin-top: 1.75rem; }
.about-row {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 1rem; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.about-row-icon {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--indigo-pale); display: flex; align-items: center;
  justify-content: center; color: var(--indigo); font-size: 0.85rem; flex-shrink: 0;
}
.about-row .lbl { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; width: 65px; flex-shrink: 0; }
.about-row .val { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; }
.about-right { display: flex; flex-direction: column; gap: 2rem; }
.subsection-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 0.85rem;
}
.edu-card {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.edu-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--indigo);
}
.edu-card h4 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.2rem; }
.edu-card .school { color: var(--indigo); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.5rem; }
.edu-card .meta { color: var(--text-muted); font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.edu-pill {
  background: var(--indigo-pale); color: var(--indigo);
  padding: 0.2rem 0.55rem; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 600;
}
.cert-list { display: flex; flex-direction: column; gap: 0.6rem; }
.cert-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cert-icon {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--teal-pale); display: flex; align-items: center;
  justify-content: center; color: var(--teal); font-size: 0.8rem; flex-shrink: 0;
}
.cert-info { flex: 1; }
.cert-name { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.cert-issuer { font-size: 0.78rem; color: var(--text-muted); }
.cert-year {
  font-size: 0.76rem; font-weight: 600; color: var(--teal);
  background: var(--teal-pale); padding: 0.2rem 0.55rem; border-radius: var(--radius-full);
}

/* ── SKILLS ── */
#skills { background: var(--white); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.skill-card {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--tr);
}
.skill-card:hover {
  border-color: var(--indigo-pale-2); box-shadow: var(--shadow); transform: translateY(-3px);
}
.skill-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--indigo-pale); display: flex; align-items: center;
  justify-content: center; color: var(--indigo); font-size: 1.1rem; margin-bottom: 1rem;
}
.skill-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.85rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag { padding: 0.28rem 0.65rem; border-radius: var(--radius-full); font-size: 0.76rem; font-weight: 500; }
.tag-indigo { background: var(--indigo-pale); border: 1px solid var(--indigo-pale-2); color: var(--indigo); }
.tag-teal { background: var(--teal-pale); border: 1px solid rgba(13,148,136,0.15); color: var(--teal); }
.tag-slate { background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); }

/* ── PROJECTS ── */
#projects { background: var(--off-white); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.project-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--tr);
  display: flex; flex-direction: column;
}
.project-card:hover {
  border-color: var(--indigo-pale-2); box-shadow: var(--shadow-lg); transform: translateY(-4px);
}
.project-header { padding: 1.5rem 1.5rem 1rem; flex: 1; }
.project-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1rem;
}
.pi-indigo { background: var(--indigo-pale); color: var(--indigo); }
.pi-teal   { background: var(--teal-pale); color: var(--teal); }
.pi-purple { background: #f5f3ff; color: #7c3aed; }
.pi-orange { background: #fff7ed; color: #ea580c; }
.pi-red    { background: #fef2f2; color: #dc2626; }
.project-header h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; }
.project-header p  { color: var(--text-secondary); font-size: 0.87rem; line-height: 1.6; }
.project-footer {
  padding: 0.9rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--off-white);
}
.project-tech { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.project-tech span {
  font-size: 0.72rem; font-weight: 500; padding: 0.2rem 0.5rem;
  border-radius: 4px; background: var(--surface-2); color: var(--text-secondary);
}
.project-link {
  color: var(--indigo); font-size: 0.82rem; text-decoration: none;
  font-weight: 600; display: flex; align-items: center; gap: 0.3rem;
  transition: var(--tr); white-space: nowrap;
}
.project-link:hover { color: var(--teal); }

/* ── ORGANISATIONS ── */
#org { background: var(--white); }
.org-grid { display: grid; gap: 0.85rem; }
.org-item {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--tr);
}
.org-item:hover { border-color: var(--indigo-pale-2); box-shadow: var(--shadow); }
.org-ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--indigo-pale); border: 1px solid var(--indigo-pale-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo); font-size: 1rem; flex-shrink: 0;
}
.org-body { flex: 1; }
.org-body h4 { font-size: 0.97rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.2rem; }
.org-body p  { color: var(--text-secondary); font-size: 0.85rem; }
.org-year {
  font-size: 0.76rem; font-weight: 600; color: var(--indigo);
  background: var(--indigo-pale); border: 1px solid var(--indigo-pale-2);
  padding: 0.25rem 0.65rem; border-radius: var(--radius-full);
  white-space: nowrap; align-self: flex-start;
}

/* ── CONTACT ── */
#contact { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-intro { color: var(--text-secondary); font-size: 0.93rem; margin-bottom: 1.5rem; }
.contact-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); text-decoration: none;
  color: var(--text-primary); transition: var(--tr);
}
.contact-card:hover {
  border-color: var(--indigo-pale-2); box-shadow: var(--shadow); transform: translateX(4px);
}
.contact-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--indigo-pale); display: flex; align-items: center;
  justify-content: center; color: var(--indigo); font-size: 1rem; flex-shrink: 0;
}
.contact-lbl { font-size: 0.74rem; color: var(--text-muted); font-weight: 500; }
.contact-val { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.9rem;
  background: var(--white); border: 1px solid var(--border);
  color: var(--text-primary); font-family: inherit; outline: none;
  transition: var(--tr); box-shadow: var(--shadow-sm);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 130px; }

.laprak-content img {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ── FOOTER ── */
footer { background: var(--slate-800); padding: 2.5rem 2rem; text-align: center; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
footer p   { color: #94a3b8; font-size: 0.84rem; }
footer a   { color: var(--indigo-light); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem; gap: 0.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-inner { flex-direction: column-reverse; gap: 2.5rem; text-align: center; }
  .hero-avatar-wrap, .hero-avatar-ring { width: 200px; height: 200px; }
  .hero-avatar-initials { font-size: 3.5rem; }
  .hero-cta, .hero-stats { justify-content: center; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .hbf-1, .hbf-2 { display: none; }
}
@media (max-width: 480px) {
  section { padding: 4rem 1.25rem; }
  nav { padding: 0 1.25rem; }
}