/* ========================
   RESET & BASE
======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0d1117;
  --bg2:        #111827;
  --card:       #161d2b;
  --gold:       #f59e0b;
  --gold-light: #fbbf24;
  --purple:     #7c3aed;
  --purple-light:#a78bfa;
  --fg:         #f0f4f8;
  --muted:      #6b7280;
  --border:     rgba(255,255,255,0.08);
  --font:       'Poppins', sans-serif;
  --mono:       'Fira Code', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ========================
   UTILITIES
======================== */
.text-gold   { color: var(--gold); }
.text-purple { color: var(--purple-light); }

.glass {
  background: rgba(22, 29, 43, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-title  { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin-bottom: .75rem; }
.section-line   { width: 80px; height: 4px; border-radius: 999px; margin: 0 auto; }
.section-line.gold   { background: var(--gold); }
.section-line.purple { background: var(--purple-light); }
.section-desc   { margin-top: 1.25rem; color: var(--muted); max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2.2rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  text-align: center;
}
.btn:hover { transform: scale(1.04); }

.btn-primary {
  background: var(--gold);
  color: #0d1117;
}
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 0 20px rgba(245,158,11,.4); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--purple-light);
  color: var(--purple-light);
}
.btn-outline:hover { background: rgba(124,58,237,.1); }

.btn-full { width: 100%; justify-content: center; font-size: 1.1rem; padding: 1rem; }

/* ========================
   SPLASH SCREEN
======================== */
#splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s ease, visibility .8s ease;
}
#splash-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.splash-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.splash-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid;
  animation: pulseRing 2s ease-in-out infinite alternate;
}
.splash-ring-1 { width: 220px; height: 220px; border-color: var(--gold); opacity: .2; }
.splash-ring-2 { width: 290px; height: 290px; border-color: var(--purple-light); opacity: .12; animation-delay: .5s; }

@keyframes pulseRing {
  from { transform: scale(.85); opacity: .1; }
  to   { transform: scale(1.1);  opacity: .25; }
}

.splash-logo {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800; position: relative; z-index: 1;
}
.splash-name { color: var(--fg); }
.splash-dot  { color: var(--gold); }

.splash-bar {
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple-light), var(--gold));
  border-radius: 999px;
  animation: barFill 1.5s ease-in-out .5s forwards;
}
@keyframes barFill { to { width: 180px; } }

.splash-text {
  color: var(--muted); font-size: .75rem; letter-spacing: .2em;
  text-transform: uppercase; position: relative; z-index: 1;
  animation: fadeIn .5s ease 1s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ========================
   NAVBAR
======================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .3s ease;
  padding: 1.5rem 0;
}
#navbar.scrolled {
  background: rgba(13,17,23,.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem; font-weight: 800;
  text-decoration: none;
}
.logo-white { color: var(--fg); }
.logo-gold  { color: var(--gold); }

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}

.nav-link {
  font-size: .9rem; font-weight: 500;
  color: var(--muted);
  position: relative; padding-bottom: .25rem;
  transition: color .2s;
  cursor: pointer; background: none; border: none; font-family: var(--font);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 999px;
  transform: scaleX(0); transition: transform .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after          { transform: scaleX(1); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .25rem;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--fg); border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: rgba(13,17,23,.95); border-top: 1px solid var(--border);
  overflow: hidden; max-height: 0;
  transition: max-height .35s ease;
}
.mobile-menu.open { max-height: 400px; }
.mobile-link {
  padding: 1rem 1.5rem; color: var(--muted); font-size: 1.1rem;
  font-weight: 500; border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s;
}
.mobile-link:hover { color: var(--gold); background: rgba(245,158,11,.05); }

/* ========================
   HERO
======================== */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .4;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,17,23,.4) 0%, rgba(13,17,23,.8) 60%, var(--bg) 100%);
}

/* Floating Code Snippets */
.code-snippets { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.code-snippet {
  position: absolute;
  font-family: var(--mono);
  font-size: .78rem;
  color: rgba(240,244,248,.22);
  background: rgba(22,29,43,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.06);
  padding: .4rem .85rem;
  border-radius: 6px;
  white-space: nowrap;
  animation: floatUp 9s linear infinite;
}
.code-snippet:nth-child(2) { animation-delay: 2.2s; animation-duration: 11s; }
.code-snippet:nth-child(3) { animation-delay: 1s;   animation-duration: 8s; }
.code-snippet:nth-child(4) { animation-delay: 3.5s; animation-duration: 10s; }

@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(20px); }
  10%  { opacity: 1; }
  80%  { opacity: .4; }
  100% { opacity: 0; transform: translateY(-80px); }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 800px; padding: 0 1.5rem;
  padding-top: 5rem;
}

.hero-eyebrow {
  font-size: .8rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--purple-light);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 1rem; color: var(--fg);
}

.hero-subtitle {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 600; color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.1rem; color: var(--muted);
  max-width: 600px; margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 2;
  animation: fadeIn 1s ease 1.5s both;
}
.scroll-label {
  font-size: .65rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.scroll-bar {
  width: 4px; height: 50px; border-radius: 999px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

/* ========================
   ANIMATIONS (Intersection Observer)
======================== */
.animate-fadeup  { animation: fadeUp .9s ease .4s both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in, .fade-in-left, .fade-in-right {
  opacity: 0; transition: opacity .7s ease, transform .7s ease;
}
.fade-in      { transform: translateY(30px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right{ transform: translateX(40px); }

.fade-in.visible, .fade-in-left.visible, .fade-in-right.visible {
  opacity: 1; transform: none;
}

/* ========================
   ABOUT
======================== */
.about-section { background: rgba(17,24,39,.4); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

.about-image-wrap { position: relative; }

.about-image-glow {
  position: absolute; inset: -10px;
  background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(124,58,237,.2));
  border-radius: 2rem; filter: blur(30px);
  transform: rotate(3deg) scale(1.05);
}

.about-image-card {
  padding: .5rem; border-radius: 1.5rem; position: relative;
}

.profile-img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; border-radius: 1.25rem;
  filter: grayscale(20%);
  transition: filter .5s ease;
}
.profile-img:hover { filter: grayscale(0%); }

.location-tag {
  position: absolute; bottom: 1.5rem; left: 1rem; right: 1rem;
  padding: .85rem 1rem;
  border-radius: .85rem;
  display: flex; align-items: center; gap: .75rem;
}
.tag-label { display: block; font-size: .7rem; color: var(--muted); }
.tag-value  { display: block; font-size: .9rem; font-weight: 600; color: var(--fg); }

.about-text { display: flex; flex-direction: column; gap: 1.5rem; }

.gold-border { border-left: 4px solid var(--gold); }

.about-desc-card { padding: 2rem; border-radius: 1.5rem; }
.about-card-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.about-para { color: var(--muted); line-height: 1.8; margin-bottom: .75rem; }

.about-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

.about-mini-card {
  padding: 1.25rem; border-radius: 1rem;
  transition: transform .3s ease;
}
.about-mini-card:hover { transform: translateY(-4px); }
.mini-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .75rem; font-size: 1.1rem;
}
.gold-icon   { background: rgba(245,158,11,.12); color: var(--gold); }
.purple-icon { background: rgba(124,58,237,.12); color: var(--purple-light); }
.accent-icon { background: rgba(167,139,250,.12); color: var(--purple-light); }
.about-mini-card h4 { font-weight: 600; margin-bottom: .25rem; font-size: .95rem; }
.about-mini-card p  { color: var(--muted); font-size: .82rem; }

/* ========================
   SKILLS
======================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.skill-card {
  padding: 1.5rem; border-radius: 1.25rem;
  position: relative; overflow: hidden;
  transition: transform .3s ease;
  cursor: default;
}
.skill-card:hover { transform: translateY(-5px); }

.skill-glow {
  position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%; filter: blur(30px);
  opacity: .12; transition: opacity .3s;
}
.skill-card:hover .skill-glow { opacity: .22; }

.skill-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.skill-name {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .95rem;
}
.skill-percent { color: var(--muted); font-size: .85rem; font-weight: 500; }

.skill-badge {
  font-size: .65rem; font-weight: 600;
  padding: .2rem .55rem; border-radius: 999px;
  background: rgba(124,58,237,.15);
  color: var(--purple-light);
  border: 1px solid rgba(124,58,237,.3);
  text-transform: uppercase; letter-spacing: .05em;
}

.skill-bar-bg {
  width: 100%; height: 6px; border-radius: 999px;
  background: rgba(240,244,248,.07); overflow: hidden;
}
.skill-bar-fill {
  height: 100%; border-radius: 999px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* ========================
   PROJECTS
======================== */
.projects-section { background: rgba(17,24,39,.3); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  border-radius: 1.5rem; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.project-img-wrap {
  position: relative; height: 220px; overflow: hidden;
}
.project-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .6s ease;
}
.project-card:hover .project-img { transform: scale(1.08); }

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,.8), transparent);
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  opacity: 0; transition: opacity .3s ease;
}
.project-card:hover .project-overlay { opacity: 1; }

.btn-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: transform .2s ease;
  border: none; cursor: pointer;
}
.btn-icon:hover { transform: scale(1.1); }
.btn-gold  { background: var(--gold); color: #0d1117; }
.btn-glass {
  background: rgba(13,17,23,.6);
  backdrop-filter: blur(8px);
  color: var(--fg);
  border: 1px solid rgba(255,255,255,.15);
}

.project-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-title {
  font-size: 1.2rem; font-weight: 600;
  margin-bottom: .5rem;
  transition: color .2s;
}
.project-card:hover .project-title { color: var(--gold); }
.project-desc {
  color: var(--muted); font-size: .87rem;
  line-height: 1.7; flex: 1; margin-bottom: 1.25rem;
}

.tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.tech-tag {
  font-size: .7rem; padding: .25rem .75rem;
  border-radius: 999px;
  background: rgba(124,58,237,.12);
  color: var(--purple-light);
  border: 1px solid rgba(124,58,237,.2);
}

/* ========================
   PROFESSIONAL EXPERIENCE TIMELINE
======================== */
.exp-timeline {
  max-width: 860px; margin: 0 auto;
  position: relative; padding-left: 3rem;
}
.exp-line {
  position: absolute; left: 12px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}

.exp-item {
  position: relative; margin-bottom: 2.5rem;
}
.exp-item:last-child { margin-bottom: 0; }

.exp-dot {
  position: absolute; left: -3rem; top: 2rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--muted);
  transform: translateX(4px);
  z-index: 1;
}
.exp-dot-active {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(245,158,11,.7);
  background: rgba(245,158,11,.15);
}

.exp-card {
  padding: 2rem; border-radius: 1.5rem;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,.3);
}
.exp-card-active {
  border-color: rgba(245,158,11,.25);
}

.exp-current-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: .68rem; font-weight: 700;
  padding: .25rem .7rem; border-radius: 999px;
  background: rgba(245,158,11,.15);
  color: var(--gold);
  border: 1px solid rgba(245,158,11,.35);
  text-transform: uppercase; letter-spacing: .08em;
  text-align: center; white-space: nowrap;
}

.exp-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.25rem;
}

.exp-company-wrap {
  display: flex; align-items: center; gap: 1rem;
}
.exp-company-icon {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.exp-company {
  font-size: 1.15rem; font-weight: 700; margin-bottom: .2rem;
}
.exp-role {
  font-size: .85rem; color: var(--purple-light); font-weight: 500;
}
.exp-date {
  font-size: .8rem; color: var(--muted);
  display: flex; align-items: center; gap: .4rem;
  white-space: nowrap; padding-top: .2rem;
}
.exp-date-active { color: var(--gold); }

.exp-responsibilities {
  list-style: none; margin-bottom: 1.25rem;
  display: flex; flex-direction: column; gap: .65rem;
}
.exp-responsibilities li {
  font-size: .87rem; color: var(--muted);
  line-height: 1.7; padding-left: 1.2rem; position: relative;
}
.exp-responsibilities li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--gold); font-size: .8rem;
}

.exp-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.exp-tag {
  font-size: .7rem; padding: .25rem .75rem;
  border-radius: 999px;
  background: rgba(245,158,11,.08);
  color: var(--gold-light);
  border: 1px solid rgba(245,158,11,.18);
}

/* ========================
   CONTACT
======================== */
.contact-section { background: rgba(17,24,39,.4); }

.contact-grid {
  display: grid; grid-template-columns: 2fr 3fr;
  gap: 3rem; align-items: stretch;
}

.contact-info {
  padding: 2.5rem; border-radius: 1.5rem;
  display: flex; flex-direction: column; gap: 1.75rem;
}
.contact-info-title { font-size: 1.4rem; font-weight: 700; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-label { font-size: .75rem; color: var(--muted); margin-bottom: .2rem; }
.contact-value { font-size: .95rem; font-weight: 600; color: var(--fg); transition: color .2s; }
a.contact-value:hover { color: var(--gold); }

.contact-socials { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: auto; }
.contact-socials .contact-label { display: block; margin-bottom: .75rem; }

.social-links { display: flex; gap: .75rem; }
.social-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--fg);
  transition: color .2s, transform .2s;
}
.social-btn:hover { color: var(--gold); transform: translateY(-3px); }

.contact-form-wrap {
  padding: 2.5rem; border-radius: 1.5rem;
  position: relative; overflow: hidden;
}
.form-glow {
  position: absolute; width: 200px; height: 200px;
  border-radius: 50%; filter: blur(60px);
  pointer-events: none;
}
.form-glow-gold   { top: -50px; right: -50px; background: rgba(245,158,11,.08); }
.form-glow-purple { bottom: -50px; left: -50px; background: rgba(124,58,237,.08); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group {
  display: flex; flex-direction: column; gap: .4rem;
  position: relative; z-index: 1;
}
.form-group label {
  font-size: .85rem; font-weight: 500; color: var(--fg);
}
.form-group input,
.form-group textarea {
  background: rgba(13,17,23,.6);
  border: 1px solid var(--border);
  border-radius: .6rem; padding: .8rem 1rem;
  color: var(--fg); font-family: var(--font);
  font-size: .95rem; width: 100%;
  transition: border-color .25s;
  resize: vertical;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,158,11,.1);
}
.form-group input.error,
.form-group textarea.error { border-color: #ef4444; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(107,114,128,.6); }

.form-error { color: #ef4444; font-size: .75rem; min-height: 1rem; }

form { display: flex; flex-direction: column; gap: 1.25rem; position: relative; z-index: 1; }

/* Toast */
.toast {
  position: absolute; bottom: 1.5rem; right: 1.5rem; left: 1.5rem;
  background: rgba(22,29,43,.95);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 1rem; padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  z-index: 10;
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.toast i { font-size: 1.5rem; color: var(--gold); flex-shrink: 0; }
.toast strong { display: block; font-weight: 600; margin-bottom: .2rem; }
.toast p { color: var(--muted); font-size: .85rem; }

/* ========================
   FOOTER
======================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy  { color: var(--muted); font-size: .875rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-social {
  color: var(--muted); font-size: 1.1rem;
  transition: color .2s;
}
.footer-social:hover { color: var(--fg); }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .skills-grid    { grid-template-columns: repeat(2, 1fr); }
  .projects-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links      { display: none; }
  .hamburger      { display: flex; }
  .mobile-menu    { display: flex; }

  .about-grid     { grid-template-columns: 1fr; }
  .about-cards    { grid-template-columns: 1fr 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }

  .hero-btns { flex-direction: column; align-items: center; }
  .btn        { width: 100%; max-width: 320px; }
}

@media (max-width: 480px) {
  .skills-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .code-snippet { display: none; }
  .section { padding: 4rem 0; }
}

/* ========================
   NEW UTILITIES & OVERRIDES
======================== */

/* Download CV Buttons */
.btn-cv-nav {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1.2rem;
  border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  background: rgba(245,158,11,.1);
  color: var(--gold);
  border: 1px solid rgba(245,158,11,.3);
  cursor: pointer;
  transition: background .2s, transform .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-cv-nav:hover { background: rgba(245,158,11,.2); transform: scale(1.04); }

.btn-cv-hero {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2.2rem;
  border-radius: 999px;
  font-size: 1rem; font-weight: 600;
  background: rgba(240,244,248,.07);
  color: var(--fg);
  border: 1px solid rgba(240,244,248,.18);
  cursor: pointer;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.btn-cv-hero:hover { background: rgba(240,244,248,.12); transform: scale(1.04); }

.btn-cv-contact {
  width: 100%; justify-content: center;
  margin-top: .5rem;
}

/* Project icon gradient cards */
.project-img-gradient {
  height: 220px;
  background: linear-gradient(135deg, var(--gc1), var(--gc2));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.project-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.project-big-icon {
  font-size: 5rem;
  color: rgba(255,255,255,.25);
  transition: transform .4s ease, color .4s ease;
}
.project-card:hover .project-big-icon {
  transform: scale(1.15);
  color: rgba(255,255,255,.45);
}

/* WhatsApp icon */
.whatsapp-icon { background: rgba(37,211,102,.12); color: #25d366; }
.whatsapp-footer:hover { color: #25d366 !important; }

/* About link */
.about-link { color: var(--gold); text-decoration: none; }
.about-link:hover { text-decoration: underline; }

/* Footer link */
.footer-link { color: var(--muted); transition: color .2s; }
.footer-link:hover { color: var(--gold); }

/* Instagram, YouTube social hover */
.social-btn:hover { color: var(--gold); transform: translateY(-3px); }

/* Mobile CV link style */
.mobile-cv {
  color: var(--gold) !important;
  font-weight: 600;
  border-top: 1px solid rgba(245,158,11,.2);
}

/* Projects grid — allow 3 cols with 7 items */
@media (min-width: 1025px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .skills-grid   { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .exp-header { flex-direction: column; }
  .exp-current-badge { position: static; width: fit-content; margin-bottom: .75rem; }
  .btn-cv-nav { display: none; }
}
