/* ══════════════════════════════════════════════════════
   PORTFOLIO — Editorial Bright Redesign
   Fonts: Bricolage Grotesque (display) + Nunito (body)
   Theme: Crisp white · Emerald accent · Warm amber · Slate
══════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --white:        #FFFFFF;
  --bg:           #F7F8FC;
  --bg-alt:       #F0F2FA;
  --text:         #0D0F1A;
  --text-muted:   #5C6280;
  --text-light:   #9099B8;

  --emerald:      #00C896;
  --emerald-dark: #00A87E;
  --emerald-soft: rgba(0,200,150,0.10);
  --amber:        #FF8C00;
  --amber-soft:   rgba(255,140,0,0.10);
  --navy:         #1A1D35;

  --border:       #E4E7F2;
  --shadow-sm:    0 2px 12px rgba(13,15,26,0.06);
  --shadow-md:    0 8px 32px rgba(13,15,26,0.10);
  --shadow-lg:    0 20px 60px rgba(0,200,150,0.15);
  --shadow-card:  0 4px 24px rgba(13,15,26,0.07);

  --radius:       20px;
  --radius-sm:    12px;
  --radius-xs:    8px;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Nunito', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
#root { min-height: 100vh; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--border); }
::-webkit-scrollbar-thumb { background: var(--emerald); border-radius: 10px; }
::selection { background: var(--emerald-soft); color: var(--emerald-dark); }

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: 68px;
  background: rgba(247,248,252,0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}
.logo-dot { color: var(--emerald); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px; border-radius: 50px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }
.nav-links a.active { color: var(--white); background: var(--navy); }

.nav-cta {
  font-size: 0.85rem; font-weight: 700;
  background: var(--emerald);
  color: var(--white);
  padding: 9px 22px; border-radius: 50px;
  transition: all 0.22s;
  box-shadow: 0 4px 14px rgba(0,200,150,0.30);
}
.nav-cta:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,200,150,0.38);
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 100px 2.5rem 60px;
  position: relative; overflow: hidden;
  background: var(--white);
}

/* Noise grain overlay */
.hero-noise {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' 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)'/%3E%3C/svg%3E");
}

/* Geometric background shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shape { position: absolute; border-radius: 50%; }
.shape-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,200,150,0.09) 0%, transparent 70%);
  top: -100px; right: -80px;
}
.shape-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,140,0,0.07) 0%, transparent 70%);
  bottom: 40px; left: -60px;
}
.shape-3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(0,200,150,0.12) 0%, transparent 70%);
  top: 40%; left: 40%;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1140px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
}

.hero-left { max-width: 640px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--emerald-soft);
  border: 1.5px solid rgba(0,200,150,0.25);
  color: var(--emerald-dark);
  padding: 7px 18px; border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  animation: pulse-dot 1.6s ease infinite;
}

.hero-name {
  font-family: var(--font-display);
  line-height: 1.0; margin-bottom: 20px;
  letter-spacing: -2px;
}
.name-first {
  display: block;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800; color: var(--text);
}
.name-last {
  display: block;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800;
  color: var(--emerald);
  -webkit-text-stroke: 2px var(--emerald);
  color: transparent;
  /* Outlined / stroke text for last name */
}

.hero-role {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  font-size: 1.15rem; font-weight: 600;
  color: var(--text-muted);
}
.role-bar {
  display: block;
  width: 36px; height: 3px;
  background: var(--emerald);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-desc {
  font-size: 1.08rem; color: var(--text-muted);
  line-height: 1.75; max-width: 500px;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero right — avatar */
.hero-right { position: relative; flex-shrink: 0; }

.avatar-frame {
  position: relative;
  width: 320px; height: 360px;
}
.avatar-blob {
  position: absolute; inset: 0;
  border-radius: 60% 40% 50% 60% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, rgba(0,200,150,0.15), rgba(255,140,0,0.08));
  animation: blob-morph 7s ease infinite;
}
.avatar-img {
  position: absolute; inset: 16px;
  border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
  z-index: 1;
  border-radius: 50%;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
}
.avatar-ring {
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(0,200,150,0.3);
  animation: spin-slow 18s linear infinite;
}

.hero-chips {
  position: absolute;
  display: flex; flex-direction: column; gap: 10px;
  right: -80px; top: 50%; transform: translateY(-50%);
}
.chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.8rem; font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  animation: chip-float 3s ease infinite;
}
.chip-1 { animation-delay: 0s; }
.chip-2 { animation-delay: 0.8s; }
.chip-3 { animation-delay: 1.6s; }

.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 2.5rem;
  display: flex; align-items: center; gap: 12px;
  color: var(--text-light); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  z-index: 1;
}
.scroll-line {
  width: 40px; height: 1px;
  background: linear-gradient(to right, var(--emerald), transparent);
}

/* ══════════════════════════════
   SECTION COMMONS
══════════════════════════════ */
.section {
  max-width: 1140px; margin: 0 auto;
  padding: 100px 2.5rem;
}
/* Alt sections get soft bg */
.about-section, .edu-section {
  max-width: 100%;
  background: var(--bg-alt);
  padding-left: 0; padding-right: 0;
}
.about-section > *, .edu-section > * {
  max-width: 1140px; margin-left: auto; margin-right: auto;
  padding-left: 2.5rem; padding-right: 2.5rem;
}
.about-section .about-grid { padding: 0 2.5rem; max-width: 1140px; margin: 0 auto; }

.section-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.eyebrow-num {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 800;
  color: var(--emerald);
  letter-spacing: 1px;
}
.eyebrow-line {
  flex: 0 0 36px; height: 1.5px;
  background: var(--emerald);
  border-radius: 2px;
}
.eyebrow-label {
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--text);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 40px;
}

/* Scroll-reveal */
.section { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.section.revealed { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px; align-items: start;
}

.about-photo-wrap {
  position: relative; width: 260px; height: 280px;
  margin-bottom: 24px;
}
.about-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}
.about-photo-accent {
  position: absolute;
  inset: 12px -12px -12px 12px;
  border-radius: var(--radius);
  background: var(--emerald-soft);
  border: 2px solid rgba(0,200,150,0.2);
  z-index: 0;
}

.about-stat-row {
  display: flex; gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.about-stat {
  flex: 1; text-align: center;
  padding: 16px 8px;
  border-right: 1.5px solid var(--border);
}
.about-stat:last-child { border-right: none; }
.stat-n {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--emerald);
}
.stat-l {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

.about-tagline {
  font-size: 1.2rem; font-weight: 700;
  color: var(--emerald-dark);
  margin-bottom: 18px;
}
.about-body {
  color: var(--text-muted); font-size: 1rem;
  margin-bottom: 14px; max-width: 540px;
  line-height: 1.75;
}
.about-body strong { color: var(--text); font-weight: 700; }

.about-detail-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 28px 0;
}
.detail-pill {
  display: flex; align-items: center; gap: 7px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.84rem; font-weight: 600;
  color: var(--text-muted);
}

.about-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════
   SKILLS
══════════════════════════════ */
.skills-section { background: var(--white); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.skill-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: all 0.28s;
  cursor: default;
}
.skill-card:hover {
  border-color: var(--emerald);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.skill-highlight {
  border-color: rgba(255,140,0,0.25);
  background: linear-gradient(135deg, #fffbf4, #f7f8fc);
}
.skill-highlight:hover { border-color: var(--amber); box-shadow: 0 16px 48px rgba(255,140,0,0.14); }

.skill-card-top {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.skill-icon { font-size: 1.4rem; }
.skill-card h4 {
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 700;
  color: var(--text);
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(0,200,150,0.08);
  color: var(--emerald-dark);
  border: 1.5px solid rgba(0,200,150,0.18);
  padding: 5px 13px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  transition: all 0.2s;
}
.tag:hover { background: var(--emerald); color: var(--white); border-color: var(--emerald); }
.tag.learning {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: rgba(255,140,0,0.22);
}
.tag.learning:hover { background: var(--amber); color: var(--white); border-color: var(--amber); }

/* ══════════════════════════════
   PROJECTS
══════════════════════════════ */
.projects-section { background: var(--bg-alt); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}

.project-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--emerald);
  box-shadow: var(--shadow-lg);
}

.project-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px 0;
}
.project-num {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 800;
  color: var(--emerald);
  letter-spacing: 1px; text-transform: uppercase;
}
.project-links-row { display: flex; gap: 8px; }
.icon-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--text-muted);
  transition: all 0.2s;
}
.icon-btn:hover { background: var(--emerald); color: var(--white); border-color: var(--emerald); }

.project-title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  color: var(--text);
  padding: 14px 26px 0;
  letter-spacing: -0.3px;
}
.project-desc {
  color: var(--text-muted); font-size: 0.95rem;
  padding: 10px 26px 16px;
  flex: 1; line-height: 1.7;
}
.tech-stack {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 0 26px 20px;
}
.tech-tag {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 4px 11px; border-radius: 6px;
  font-size: 0.77rem; font-weight: 700;
}
.project-ctas {
  display: flex; gap: 10px;
  padding: 18px 26px;
  border-top: 1.5px solid var(--border);
  background: var(--bg);
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.92rem;
  border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.22s;
  padding: 11px 26px;
  line-height: 1;
}
.btn-sm { padding: 8px 18px; font-size: 0.83rem; }

.btn-primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,200,150,0.28);
}
.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,200,150,0.38);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--emerald);
  color: var(--emerald-dark);
  background: var(--emerald-soft);
}

.btn-ghost {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--text-muted);
}
.btn-ghost:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ══════════════════════════════
   EDUCATION
══════════════════════════════ */
.edu-card {
  display: flex; gap: 28px; align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  border-left: 5px solid var(--emerald);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  max-width: 1140px; margin: 0 auto;
}
.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.edu-icon {
  font-size: 2.2rem;
  width: 60px; height: 60px;
  background: var(--emerald-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.edu-body h4 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  color: var(--text); margin-bottom: 7px;
}
.edu-degree { color: var(--emerald-dark); font-weight: 700; margin-bottom: 5px; }
.edu-focus  { color: var(--text-muted); font-size: 0.97rem; }

/* ══════════════════════════════
   CERTIFICATES
══════════════════════════════ */
.cert-section { background: var(--white); }
.cert-grid {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
}
.cert-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px; max-width: 300px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.cert-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--emerald);
  box-shadow: var(--shadow-lg);
}
.cert-card img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 12px; }
.cert-label {
  font-weight: 700; font-size: 0.9rem;
  color: var(--text-muted);
}

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact-section {
  background: var(--navy);
  max-width: 100%;
  padding: 100px 2.5rem;
}
.contact-section .section-eyebrow .eyebrow-label { color: rgba(255,255,255,0.5); }
.contact-section .section-eyebrow .eyebrow-num { color: var(--emerald); }

.contact-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.contact-title { color: var(--white) !important; margin-bottom: 20px; }
.contact-desc { color: rgba(255,255,255,0.55); font-size: 1.05rem; margin-bottom: 36px; line-height: 1.7; }
.contact-btn { background: var(--emerald); color: var(--white); }
.contact-btn:hover { background: var(--emerald-dark); }

.contact-right { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: all 0.22s;
}
.contact-card:hover {
  background: rgba(0,200,150,0.12);
  border-color: rgba(0,200,150,0.4);
  transform: translateX(6px);
}
.contact-card-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(0,200,150,0.15);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--emerald);
  font-family: var(--font-display); font-weight: 800;
}
.contact-card-label {
  font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-card-value {
  font-size: 0.95rem; font-weight: 700;
  color: var(--white);
}
.contact-arrow {
  margin-left: auto; color: rgba(255,255,255,0.25);
  font-size: 1.1rem; transition: all 0.2s;
}
.contact-card:hover .contact-arrow { color: var(--emerald); transform: translateX(4px); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: #0D0F1A;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 2.5rem;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  color: var(--white);
}
.footer-logo span { color: var(--emerald); }
footer p { color: rgba(255,255,255,0.35); font-size: 0.85rem; }
footer p strong { color: rgba(255,255,255,0.6); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: rgba(255,255,255,0.35); font-size: 0.85rem; font-weight: 600;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--emerald); }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes fadeDown  { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp    { from { opacity:0; transform:translateY(24px);  } to { opacity:1; transform:translateY(0); } }
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1);   } 50% { opacity:.5; transform:scale(.75); } }
@keyframes chip-float{ 0%,100% { transform:translateY(0);  } 50% { transform:translateY(-6px); } }
@keyframes blob-morph{
  0%,100% { border-radius:60% 40% 50% 60%/50% 60% 40% 50%; }
  33%     { border-radius:50% 50% 60% 40%/60% 40% 60% 40%; }
  66%     { border-radius:40% 60% 40% 60%/40% 60% 50% 50%; }
}
@keyframes spin-slow { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }

.fade-up { animation: fadeUp 0.75s ease both; }
.delay-1 { animation-delay: 0.10s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.50s; }
.delay-5 { animation-delay: 0.62s; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .hero-chips { right: -60px; }
  .about-grid { grid-template-columns: 280px 1fr; gap: 50px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-right  { display: none; }
  .hero-desc   { margin-left: auto; margin-right: auto; }
  .hero-role, .hero-btns { justify-content: center; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-photo-col { display: flex; flex-direction: column; align-items: center; }
  .about-body  { margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .navbar { padding: 0 1.2rem; }
  .nav-links a { padding: 6px 10px; font-size: 0.82rem; }
  .nav-cta { padding: 8px 16px; font-size: 0.82rem; }
}

@media (max-width: 600px) {
  .section        { padding: 70px 1.2rem; }
  .contact-section{ padding: 70px 1.2rem; }
  .about-section, .edu-section { padding: 70px 0; }
  .about-section .about-grid { padding: 0 1.2rem; }
  .project-grid   { grid-template-columns: 1fr; }
  .name-first, .name-last { font-size: 3rem; }
  .nav-links      { display: none; }
  .edu-card       { flex-direction: column; padding: 24px; }
  .footer-inner   { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════
   WIP — JARVIS SECTION
══════════════════════════════ */
.wip-section {
  background: var(--white);
}
.wip-eyebrow .eyebrow-num { color: var(--amber); }
.wip-eyebrow .eyebrow-line { background: var(--amber); }

.wip-card {
  position: relative;
  background: var(--navy);
  border-radius: 28px;
  overflow: hidden;
  padding: 56px 52px 40px;
  box-shadow: 0 24px 80px rgba(13,15,26,0.28);
}

/* Animated emerald glow blob */
.wip-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,150,0.10) 0%, transparent 65%);
  top: -200px; right: -100px;
  pointer-events: none;
  animation: wip-glow-drift 8s ease infinite;
}
@keyframes wip-glow-drift {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(-40px, 30px); }
}

/* Dot grid */
.wip-grid-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Top grid */
.wip-top {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px; align-items: start;
  margin-bottom: 44px;
}

/* Status badge */
.wip-status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,200,150,0.12);
  border: 1.5px solid rgba(0,200,150,0.30);
  color: var(--emerald);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 20px;
}
.wip-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  animation: pulse-dot 1.4s ease infinite;
  flex-shrink: 0;
}

/* JARVIS name */
.wip-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
  /* Glowing text */
  background: linear-gradient(135deg, #ffffff, rgba(0,200,150,0.85));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0,200,150,0.3));
}

.wip-tagline {
  font-size: 1.05rem; font-weight: 700;
  color: var(--emerald);
  margin-bottom: 14px;
}
.wip-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.97rem; line-height: 1.75;
  max-width: 480px;
  margin-bottom: 28px;
}

.wip-btn {
  background: var(--emerald);
  color: var(--navy) !important;
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(0,200,150,0.35);
}
.wip-btn:hover {
  background: #00e6ab;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,200,150,0.45);
}

/* Progress */
.wip-progress-wrap {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 18px;
}
.wip-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  font-size: 0.82rem; font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 1px;
}
.wip-progress-pct {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  color: var(--emerald);
}
.wip-progress-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}
.wip-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), #00e6ab);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,200,150,0.5);
  transition: width 1s ease;
  position: relative;
}
.wip-progress-bar::after {
  content: '';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,200,150,0.8);
}
.wip-progress-steps {
  display: flex; justify-content: space-between;
  gap: 4px;
}
.wip-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 600;
  color: rgba(255,255,255,0.25);
  text-align: center;
  flex: 1;
}
.wip-step.done { color: var(--emerald); }
.wip-step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.15);
}
.wip-step.done .wip-step-dot {
  background: var(--emerald);
  border-color: var(--emerald);
  box-shadow: 0 0 8px rgba(0,200,150,0.6);
}

/* Tech stack */
.wip-tech-wrap {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 20px;
}
.wip-tech-label {
  font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.wip-tech-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.wip-tech-tag {
  background: rgba(0,200,150,0.10);
  border: 1px solid rgba(0,200,150,0.20);
  color: var(--emerald);
  padding: 4px 12px; border-radius: 6px;
  font-size: 0.76rem; font-weight: 700;
  transition: all 0.2s;
}
.wip-tech-tag:hover {
  background: rgba(0,200,150,0.22);
  border-color: var(--emerald);
}

/* Feature cards */
.wip-features {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 36px;
}
.wip-feature {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px 18px;
  transition: all 0.25s;
}
.wip-feature:hover {
  background: rgba(0,200,150,0.07);
  border-color: rgba(0,200,150,0.22);
  transform: translateY(-3px);
}
.wip-feature-icon {
  font-size: 1.5rem; flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(0,200,150,0.10);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.wip-feature-title {
  font-weight: 800; font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 5px;
}
.wip-feature-desc {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
}

/* Responsive WIP */
@media (max-width: 1024px) {
  .wip-top { grid-template-columns: 1fr; gap: 32px; }
  .wip-features { grid-template-columns: repeat(2, 1fr); }
  .wip-card { padding: 40px 36px 32px; }
}
@media (max-width: 600px) {
  .wip-card { padding: 28px 20px 24px; border-radius: 20px; }
  .wip-features { grid-template-columns: 1fr; }
  .wip-feature { flex-direction: row; }
}

/* ══════════════════════════════
   PROJECT BANNER IMAGE
══════════════════════════════ */
.project-banner-wrap {
  position: relative; width: 100%; height: 200px;
  overflow: hidden; flex-shrink: 0;
}
.project-banner {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.project-card:hover .project-banner { transform: scale(1.07); }
.project-banner-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0) 40%, rgba(13,15,26,0.48) 100%);
}

/* ══════════════════════════════
   PROJECT CARD — CHARACTER EFFECT
   Slides in from left on hover/touch
══════════════════════════════ */
.card-character {
  position: absolute;
  bottom: -4px;
  left: 14px;
  font-size: 4rem;
  line-height: 1;
  z-index: 3;
  pointer-events: none;
  /* Hidden state */
  opacity: 0;
  transform: translateX(-48px);
  /* ← exact same timing used for banner scale */
  transition: opacity 0.5s ease, transform 0.5s ease;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45));
}

/* Triggered by both CSS :hover (desktop) and React .is-active class (touch) */
.project-card:hover .card-character,
.project-card.is-active .card-character {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════
   UPCOMING PROJECTS — JARVIS
══════════════════════════════ */
.upcoming-section { background: var(--bg); }

.upcoming-jarvis-card {
  position: relative;
  width: 100%; min-height: 600px;
  border-radius: 28px; overflow: hidden;
  display: flex; align-items: stretch;
  box-shadow: 0 32px 100px rgba(0,0,0,0.35);
}

/* BG layers */
.ujc-bg { position: absolute; inset: 0; z-index: 0; }
.ujc-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  filter: brightness(0.38) saturate(1.3);
  transition: transform 9s ease;
}
.upcoming-jarvis-card:hover .ujc-bg-img { transform: scale(1.05); }
.ujc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10,12,22,0.96) 0%,
    rgba(10,12,22,0.80) 40%,
    rgba(0,200,150,0.06) 75%,
    rgba(10,12,22,0.65) 100%
  );
}
.ujc-scanlines {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0,200,150,0.022) 3px, rgba(0,200,150,0.022) 4px
  );
}
.ujc-glow-orb {
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,150,0.12) 0%, transparent 65%);
  top: -100px; right: 50px; pointer-events: none;
  animation: ujc-drift 9s ease-in-out infinite;
}
@keyframes ujc-drift {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-30px, 30px); }
}

/* Content */
.ujc-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  padding: 64px max(5vw, 28px);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px; align-items: start;
}

/* LEFT */
.ujc-badges {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 22px;
}
.ujc-status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,200,150,0.12);
  border: 1.5px solid rgba(0,200,150,0.35);
  color: var(--emerald);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.ujc-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  animation: pulse-dot 1.4s ease infinite;
  flex-shrink: 0;
}
.ujc-pct-badge {
  background: rgba(255,140,0,0.12);
  border: 1.5px solid rgba(255,140,0,0.32);
  color: var(--amber);
  padding: 6px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700;
}
.ujc-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 800; letter-spacing: -3px; line-height: 1;
  background: linear-gradient(135deg, #fff 40%, rgba(0,200,150,0.9) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(0,200,150,0.35));
  margin-bottom: 14px;
}
.ujc-tagline {
  font-size: 1.05rem; font-weight: 700;
  color: var(--emerald); margin-bottom: 14px;
}
.ujc-desc {
  color: rgba(255,255,255,0.52);
  font-size: 0.97rem; line-height: 1.8;
  max-width: 480px; margin-bottom: 28px;
}
.ujc-tech-list {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}
.ujc-tech-tag {
  background: rgba(0,200,150,0.10);
  border: 1px solid rgba(0,200,150,0.22);
  color: var(--emerald);
  padding: 5px 13px; border-radius: 6px;
  font-size: 0.76rem; font-weight: 700;
  transition: all 0.2s;
}
.ujc-tech-tag:hover { background: rgba(0,200,150,0.22); border-color: var(--emerald); }
.ujc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--emerald); color: var(--navy) !important;
  font-weight: 800; font-size: 0.95rem;
  padding: 13px 30px; border-radius: 50px;
  transition: all 0.22s;
  box-shadow: 0 8px 28px rgba(0,200,150,0.40);
}
.ujc-btn:hover {
  background: #00e6ab; transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,200,150,0.52);
}

/* RIGHT */
.ujc-right { display: flex; flex-direction: column; gap: 14px; }
.ujc-glass-card {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  border-radius: 18px; padding: 22px 24px;
}
.ujc-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase; letter-spacing: 1.2px;
}
.ujc-progress-pct {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800; color: var(--emerald);
}
.ujc-track {
  height: 6px; background: rgba(255,255,255,0.08);
  border-radius: 10px; overflow: hidden; margin-bottom: 18px;
}
.ujc-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), #00e6ab);
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(0,200,150,0.6);
  transition: width 1.2s ease; position: relative;
}
.ujc-bar::after {
  content: ''; position: absolute; right: -1px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px rgba(0,200,150,0.9);
}
.ujc-steps { display: flex; justify-content: space-between; gap: 4px; }
.ujc-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.65rem; font-weight: 600;
  color: rgba(255,255,255,0.22); text-align: center; flex: 1;
}
.ujc-step.done { color: var(--emerald); }
.ujc-step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 2px solid rgba(255,255,255,0.14);
}
.ujc-step.done .ujc-step-dot {
  background: var(--emerald); border-color: var(--emerald);
  box-shadow: 0 0 8px rgba(0,200,150,0.7);
}
.ujc-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.ujc-feature {
  display: flex; gap: 11px; align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-radius: 14px; padding: 14px 13px;
  transition: all 0.25s;
}
.ujc-feature:hover {
  background: rgba(0,200,150,0.08);
  border-color: rgba(0,200,150,0.25);
  transform: translateY(-2px);
}
.ujc-feature-icon {
  font-size: 1.25rem; flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(0,200,150,0.10);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.ujc-feature-title {
  font-weight: 800; font-size: 0.80rem;
  color: rgba(255,255,255,0.88); margin-bottom: 4px;
}
.ujc-feature-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35); line-height: 1.55;
}

/* Responsive */
@media (max-width: 1024px) {
  .ujc-content { grid-template-columns: 1fr; gap: 40px; }
  .upcoming-jarvis-card { min-height: auto; }
}
@media (max-width: 600px) {
  .ujc-content { padding: 40px 20px; }
  .ujc-features { grid-template-columns: 1fr; }
  .ujc-name { letter-spacing: -2px; }
  .upcoming-jarvis-card { border-radius: 20px; }
}
