:root {
  --background: #0A0A0A;
  --foreground: #FFFFFF;
  --card: #111111;
  --primary: #3B82F6;
  --accent: #8B5CF6;
  --muted-foreground: #A1A1AA;
  --border: rgba(255,255,255,0.08);
  --radius: 1rem;
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  overflow-x: hidden;
  min-height: 100vh;
}
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 56rem; }

.icon { width: 1em; height: 1em; font-size: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { font-size: 0.95rem; }
.icon-bounce { animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.text-gradient {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Ambient glows ── */
.glows { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.glow-1 { top: -160px; left: -160px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%); }
.glow-2 { top: 40%; right: -160px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(139,92,246,0.14) 0%, transparent 70%); }
.glow-3 { bottom: 5%; left: 25%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 70%); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: none; border-radius: .75rem; font-weight: 500; transition: all .2s ease; white-space: nowrap; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #3B82F6, #6366F1); box-shadow: 0 4px 20px rgba(59,130,246,0.30); padding: .625rem 1.25rem; font-size: .875rem; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); padding: .875rem 1.75rem; font-weight: 500; }
.btn-ghost:hover { background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; }
.btn-lg.btn-primary { box-shadow: 0 6px 28px rgba(59,130,246,0.30); }
.btn-lg.btn-primary:hover { transform: translateY(-2px); }
.btn-outline-blue { color: #3B82F6; background: rgba(59,130,246,0.10); border: 1px solid rgba(59,130,246,0.25); padding: .875rem 1.5rem; font-weight: 500; }
.btn-outline-blue:hover { transform: translateY(-1px); }
.btn-submit { width: 100%; padding: 1rem; font-weight: 600; box-shadow: 0 6px 28px rgba(59,130,246,0.30); }
.btn-submit.sent { background: linear-gradient(135deg, #10B981, #059669); box-shadow: 0 6px 28px rgba(16,185,129,0.30); }
.hide-mobile { display: none; }
.hide-tablet { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline-flex; } }
@media (min-width: 1025px) { .hide-tablet { display: inline-flex; } }

.badge { display: inline-flex; align-items: center; gap: .625rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08); font-size: .875rem; background: rgba(17,17,17,0.9); color: rgba(255,255,255,0.55); }
.badge-plain { gap: .5rem; background: rgba(10,10,10,0.8); color: rgba(255,255,255,0.50); }
.pulse-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #34d399; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ── Navbar ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 1.25rem 0; transition: all .3s ease; background: var(--background); }
.navbar.scrolled { padding: .75rem 0; }
.navbar-inner { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; border-radius: 1rem; transition: all .3s ease; }
.navbar.scrolled .navbar-inner { border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); background: rgba(10,10,10,0.85); backdrop-filter: blur(20px); }
.navbar-row { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.navbar-row .logo img {
  max-height: 50px;
} 
.logo { background: none; border: none; color: #fff; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; font-family: var(--font-display); }
.accent-dot { color: #3B82F6; }
.nav-links { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1025px) { .nav-links { display: flex; } }
.nav-link { background: none; border: none; padding: .5rem 1rem; font-size: 1rem; border-radius: .75rem; transition: color .2s, background .2s; color: rgba(255,255,255,0.55); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.menu-toggle { display: flex; background: none; border: none; padding: .5rem; border-radius: .5rem; color: rgba(255,255,255,0.7); transition: background .2s; }
.menu-toggle:hover { background: rgba(255,255,255,0.06); }
@media (min-width: 1025px) { .menu-toggle { display: none; } }

.mobile-menu { display: none; position: absolute; top: 100%; left: 1rem; right: 1rem; margin-top: .5rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.08); overflow: hidden; background: rgba(10,10,10,0.96); backdrop-filter: blur(24px); padding: .75rem; flex-direction: column; gap: .25rem; }
.mobile-menu.open { display: flex; }
.mobile-link { background: none; border: none; text-align: left; padding: .75rem 1rem; font-size: .875rem; border-radius: .75rem; color: rgba(255,255,255,0.65); transition: background .2s; }
.mobile-link:hover { background: rgba(255,255,255,0.05); }

/* ── Hero ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 6rem 0 5rem; }
@media screen and (max-width: 991px) {
  .hero .container {
    padding-top: 2rem;
  }
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.hero-left { display: flex; flex-direction: column; gap: 2rem; }
.hero-anim { opacity: 0; transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1); transform: translateY(28px); }
.hero-anim[data-fade="1"] { transform: none; }
.hero-anim.in-view { opacity: 1; transform: translateY(0); }
.hero-heading { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-heading h1 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: #fff; font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
.hero-sub { margin: 0; font-size: 1.125rem; line-height: 1.7; max-width: 480px; color: rgba(255,255,255,0.55); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-socials { display: flex; align-items: center; gap: 1.25rem; padding-top: .25rem; }
.social-icon { color: rgba(255,255,255,0.35); transition: color .2s; }
.social-icon:hover { color: #fff; }
.tag { color: #569CD6; }
.attr { color: #9CDCFE; }
.text { color: #CE9178; }
.str { color: #CE9178; }
.op { color: #D4D4D4; }
.dim { color: #6A9955;}

.hero-right { position: relative; }
.code-glow { position: absolute; inset: 0; border-radius: 1.5rem; background: radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.25) 0%, transparent 65%); filter: blur(50px); }
.code-window { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.08); }
.code-chrome { display: flex; align-items: center; gap: .5rem; padding: .875rem 1.25rem; background: #080808; border-bottom: 1px solid rgba(255,255,255,0.06); }
.dot { width: .75rem; height: .75rem; border-radius: 50%; }
.dot-red { background: rgba(239,68,68,.7); }
.dot-yellow { background: rgba(234,179,8,.7); }
.dot-green { background: rgba(34,197,94,.7); }
.code-filename { margin-left: .75rem; font-size: .75rem; color: rgba(255,255,255,0.25); font-family: var(--font-mono); }
.code-lang { margin-left: auto; font-size: .75rem; padding: .125rem .5rem; border-radius: .25rem; background: rgba(59,130,246,0.15); color: #3B82F6; font-family: var(--font-mono); }
.code-body { padding: 1.5rem; font-size: .875rem; line-height: 2; user-select: none; background: #0D0D0D; font-family: var(--font-mono); }
.code-body .indent { padding-left: 1.5rem; }
.code-body .indent2 { padding-left: 3rem; }
.kw { color: #C084FC; margin-right: .25rem; }
.var { color: #93C5FD; }
.op { color: rgba(255,255,255,0.40); }
.key { color: #5EEAD4; }
.str { color: #86EFAC; }
.num { color: #FCA5A5; }
.blue { color: #60A5FA; }
.dim { color: rgba(255,255,255,0.25); }
.cursor-blink { display: inline-block; width: .5rem; height: 18px; margin-left: .25rem; vertical-align: middle; background: #3B82F6; border-radius: 2px; animation: pulse 1.1s infinite; }
.code-status { display: flex; align-items: center; justify-content: space-between; padding: .5rem 1.25rem; background: #060606; border-top: 1px solid rgba(255,255,255,0.05); font-family: var(--font-mono); font-size: .75rem; color: rgba(255,255,255,0.25); }
.status-ready { display: flex; align-items: center; gap: .375rem; }
.ready-dot { width: .375rem; height: .375rem; border-radius: 50%; background: #34d399; }

.float-badge { position: absolute; padding: .625rem 1rem; border-radius: 1rem; font-size: .875rem; font-weight: 500; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); background: rgba(17,17,17,0.95); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(12px); }
.float-badge-tr { top: -1.25rem; right: -1.25rem; color: #3B82F6; }
.float-badge-bl { bottom: -1.25rem; left: -1.25rem; color: #8B5CF6; }

.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,0.25); }
.scroll-indicator span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }

/* ── Sections ── */
.section { padding: 7rem 0; }
.section-header { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08); font-size: .875rem; background: rgba(17,17,17,0.8); color: rgba(255,255,255,0.45); margin-bottom: 1rem; }
.section-title { margin: 0; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.875rem; }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }

.reveal { opacity: 0; transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.reveal[data-reveal="up"] { transform: translateY(32px); }
.reveal[data-reveal="left"] { transform: translateX(-32px); }
.reveal[data-reveal="right"] { transform: translateX(32px); }
.reveal[data-reveal="fade"] { transform: none; }
.reveal.in-view { opacity: 1; transform: translate(0,0); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; margin-top: 5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-photo-wrap { position: relative; }
.about-photo { position: relative; aspect-ratio: 0.6; border-radius: 1.5rem; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #111111 0%, #0f0f1a 100%); border: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 500px) { .about-photo { aspect-ratio: 16/9; } }
@media (min-width: 1024px) { .about-photo { aspect-ratio: 4/5; } }
.about-photo-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.avatar-circle { width: 16rem; height: 16rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15)); border: 2px solid rgba(59,130,246,0.35); box-shadow: 0 0 60px rgba(59,130,246,0.15); font-size: 3rem; font-weight: 700; font-family: var(--font-display); }
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; overflow: hidden; object-position: top; aspect-ratio: 1/1; }
.about-name { color: #fff; font-weight: 500; margin: 0; }
.about-role { font-size: .875rem; margin: .25rem 0 0; color: rgba(255,255,255,0.40); }
.about-photo-shade { position: absolute; bottom: 0; left: 0; right: 0; height: 33%; background: linear-gradient(to top, rgba(59,130,246,0.12), transparent); }
.about-exp-badge { position: absolute; bottom: -1.75rem; right: -1.75rem; padding: 1.5rem; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); background: rgba(17,17,17,0.96); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(20px); }
@media screen and (max-width: 768px) {
  .about-exp-badge {
    right: 0;
    left: 0;
    margin: auto;
    width: fit-content;
  }
}
.exp-number { font-size: 2.25rem; font-weight: 700; font-family: var(--font-display); }
.exp-label { font-size: .875rem; margin-top: .25rem; color: rgba(255,255,255,0.45); }

.about-copy { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.about-p-lg { margin: 0; font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
.about-p { margin: 0; line-height: 1.7; color: rgba(255,255,255,0.45); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
@media screen and (max-width: 640px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { padding: 1.25rem; border-radius: 1rem; text-align: center; background: rgba(17,17,17,0.9); border: 1px solid rgba(255,255,255,0.07); }
.stat-value { font-size: 1.875rem; font-weight: 700; font-family: var(--font-display); }
.stat-label { font-size: .75rem; margin-top: .375rem; color: rgba(255,255,255,0.45); }
.check-list { display: flex; flex-direction: column; gap: .875rem; margin-bottom: 2rem; }
.check-item { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,0.55); font-size: .875rem; }
.dot-blue { width: .375rem; height: .375rem; border-radius: 50%; background: #3B82F6; flex-shrink: 0; }

/* ── Skills ── */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }
@media (min-width: 640px) { .skills-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .skills-grid { grid-template-columns: repeat(6, 1fr); } }
.skill-card { padding: 1rem; border-radius: 1rem; text-align: center; cursor: default; transition: all .2s ease; background: rgba(17,17,17,0.85); border: 1px solid rgba(255,255,255,0.06); }
.skill-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.15); }
.skill-icon { width: 2.75rem; height: 2.75rem; border-radius: .75rem; margin: 0 auto .75rem; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.skill-name { font-size: .75rem; font-weight: 500; color: rgba(255,255,255,0.60); }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; padding: 2rem; border-radius: 1rem; overflow: hidden; transition: all .3s ease; height: 100%; background: rgba(17,17,17,0.85); border: 1px solid rgba(255,255,255,0.06); }
.service-card:hover { transform: translateY(-6px); }
.service-card-glow { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.service-card:hover .service-card-glow { opacity: 1; }
.service-content { position: relative; display: flex; flex-direction: column; gap: 1.25rem; }
.service-icon { width: 3rem; height: 3rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; }
.service-title { font-size: 1.125rem; font-weight: 600; color: #fff; margin: 0 0 .5rem; font-family: var(--font-display); }
.service-desc { font-size: .875rem; line-height: 1.7; margin: 0; color: rgba(255,255,255,0.50); }
.service-highlights { display: flex; flex-direction: column; gap: .625rem; }
.service-highlight { display: flex; align-items: center; gap: .625rem; font-size: .875rem; color: rgba(255,255,255,0.40); }
.service-highlight-dot { width: .25rem; height: .25rem; border-radius: 50%; flex-shrink: 0; }

/* ── Projects ── */
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem; }
@media (min-width: 640px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card { border-radius: 1rem; overflow: hidden; transition: all .3s ease; display: flex; flex-direction: column; background: rgba(17,17,17,0.85); border: 1px solid rgba(255,255,255,0.06); }
.project-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.13); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.project-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0D0D0D; }
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-img-wrap img { transform: scale(1.05); }
.project-img-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, transparent 50%); }
.project-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .875rem; flex: 1; }
.project-title { color: #fff; font-weight: 600; margin: 0; font-family: var(--font-display); }
.project-desc { font-size: .875rem; line-height: 1.7; margin: 0; flex: 1; color: rgba(255,255,255,0.50); }
.project-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .25rem; }
.project-tag { padding: .25rem .625rem; border-radius: .5rem; font-size: .75rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); }
.project-link { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 500; background: none; border: none; padding-top: .25rem; color: #3B82F6; transition: color .2s; }
.project-link:hover { color: #60A5FA; }

/* ── Experience ── */
.timeline-wrap { margin-top: 4rem; max-width: 48rem; margin-left: auto; margin-right: auto; }
.timeline { position: relative; }
.timeline-line { position: absolute; left: 23px; top: 2rem; bottom: 2rem; width: 1px; background: linear-gradient(to bottom, #3B82F6, #8B5CF6, transparent); }
.timeline-items { display: flex; flex-direction: column; gap: 2rem; }
.exp-card { position: relative; padding-left: 4rem; }
.exp-icon { position: absolute; left: 0; top: 1.5rem; width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; }
.exp-icon.current { background: rgba(59,130,246,0.20); border: 1px solid rgba(59,130,246,0.40); color: #3B82F6; box-shadow: 0 0 20px rgba(59,130,246,0.20); }
.exp-icon.past { background: rgba(17,17,17,0.95); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.40); }
.exp-panel { padding: 1.5rem; border-radius: 1rem; background: rgba(17,17,17,0.85); border: 1px solid rgba(255,255,255,0.07); }
.exp-panel-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.exp-role { color: #fff; font-weight: 600; margin: 0; font-family: var(--font-display); }
.exp-company { font-size: .875rem; margin: .125rem 0 0; color: #3B82F6; }
.exp-meta { text-align: right; }
.exp-duration { display: flex; align-items: center; gap: .375rem; font-size: .75rem; color: rgba(255,255,255,0.35); justify-content: flex-end; }
.exp-location { font-size: .75rem; margin-top: .25rem; color: rgba(255,255,255,0.28); }
.exp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .625rem; }
.exp-list li { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: rgba(255,255,255,0.48); }
.exp-list-dot { width: .25rem; height: .25rem; border-radius: 50%; margin-top: .5rem; flex-shrink: 0; background: rgba(59,130,246,0.6); }

/* ── Contact ── */
.contact-card { position: relative; border-radius: 1.5rem; overflow: hidden; padding: 2.5rem 1.5rem; background: rgba(17,17,17,0.85); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(20px); }
@media (min-width: 768px) { .contact-card { padding: 3.5rem; } }
.contact-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% -10%, rgba(59,130,246,0.22) 0%, transparent 60%); }
.contact-head { position: relative; text-align: center; margin-bottom: 3rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.contact-title { margin: 0; font-family: var(--font-display); font-weight: 700; color: #fff; line-height: 1.2; font-size: 2.25rem; }
@media (min-width: 1024px) { .contact-title { font-size: 3rem; } }
.contact-form { position: relative; display: flex; flex-direction: column; gap: 1.25rem; max-width: 36rem; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .875rem; color: rgba(255,255,255,0.45); }
.field input, .field textarea { width: 100%; padding: .75rem 1rem; border-radius: .75rem; color: #fff; font-size: .875rem; outline: none; transition: border-color .2s; background: rgba(10,10,10,0.8); border: 1px solid rgba(255,255,255,0.09); font-family: var(--font-sans); caret-color: #3B82F6; }
.field textarea { resize: none; }
.field input:focus, .field textarea:focus { border-color: rgba(59,130,246,0.5); }
.contact-links { position: relative; margin-top: 2.5rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.contact-link { display: flex; align-items: center; gap: .5rem; padding: .625rem 1rem; border-radius: .75rem; font-size: .875rem; transition: all .2s ease; color: rgba(255,255,255,0.50); background: rgba(10,10,10,0.7); border: 1px solid rgba(255,255,255,0.08); }
.contact-link:hover { color: #fff; border-color: rgba(255,255,255,0.18); transform: translateY(-1px); }

/* ── Footer ── */
.footer { padding: 2.5rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; } }
.footer-brand { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.footer-logo { color: #fff; font-weight: 700; font-size: 1.125rem; font-family: var(--font-display); }
.footer-logo img {
  max-height: 60px;
}
.footer-copy { font-size: .875rem; color: rgba(255,255,255,0.30); }
.footer-links { display: flex; align-items: center; gap: 1.25rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,0.30); transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ── Scroll to top ── */
.scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; color: #fff; z-index: 50; border: none; transition: all .3s ease; background: rgba(59,130,246,0.85); backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(59,130,246,0.30); opacity: 0; transform: translateY(16px); pointer-events: none; }
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { transform: translateY(-4px); }



.whatsapp-btn{
  position:fixed;
  right:24px;
  bottom:24px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#25D366;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  transition:.3s ease;
  z-index:9999;
  animation: pulseGlow 2s infinite;
}

.whatsapp-btn:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 12px 28px rgba(0,0,0,.35);
}
 

@keyframes pulseGlow{
  0%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(37,211,102,.6);
  }
  70%{
    transform:scale(1.05);
    box-shadow:0 0 0 18px rgba(37,211,102,0);
  }
  100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(37,211,102,0);
  }
}


/* ── Language & theme controls ── */
.portfolio-controls { display:flex; align-items:center; gap:.5rem; }
.language-select, .theme-toggle { height:2.5rem; border:1px solid var(--border); background:var(--card); color:var(--foreground); border-radius:.65rem; }
.language-select { padding:0 .65rem; font:500 .78rem var(--font-sans); outline:none; cursor:pointer; }
.theme-toggle { width:2.5rem; display:grid; place-items:center; font-size:1.05rem; }
.theme-icon-sun { display:none; }
[data-theme="light"] .theme-icon-sun { display:inline; }
[data-theme="light"] .theme-icon-moon { display:none; }
@media (max-width: 520px) { .language-select { width:78px; } }

/* ── Light theme ── */
html[data-theme="light"] { color-scheme:light; }
html[data-theme="light"] body { --background:#F7F8FC; --foreground:#111827; --card:#FFFFFF; --muted-foreground:#667085; --border:rgba(15,23,42,.12); }
html[data-theme="light"] .navbar { background:rgba(247,248,252,.92); }
html[data-theme="light"] .navbar.scrolled .navbar-inner { background:rgba(255,255,255,.88); border-color:rgba(15,23,42,.10); box-shadow:0 18px 45px rgba(15,23,42,.10); }
html[data-theme="light"] .nav-link, html[data-theme="light"] .mobile-link { color:rgba(17,24,39,.65); }
html[data-theme="light"] .nav-link:hover, html[data-theme="light"] .mobile-link:hover { color:#111827; }
html[data-theme="light"] .mobile-menu { background:rgba(255,255,255,.98); border-color:rgba(15,23,42,.10); }
html[data-theme="light"] .hero-heading h1, html[data-theme="light"] .section-title, html[data-theme="light"] .about-name, html[data-theme="light"] .service-title, html[data-theme="light"] .project-title, html[data-theme="light"] .exp-role, html[data-theme="light"] .contact-title { color:#111827; }
html[data-theme="light"] .hero-sub, html[data-theme="light"] .about-p-lg { color:rgba(17,24,39,.68); }
html[data-theme="light"] .about-p, html[data-theme="light"] .check-item, html[data-theme="light"] .service-desc, html[data-theme="light"] .project-desc, html[data-theme="light"] .skill-name, html[data-theme="light"] .stat-label, html[data-theme="light"] .exp-label, html[data-theme="light"] .about-role { color:rgba(17,24,39,.55); }
html[data-theme="light"] .badge, html[data-theme="light"] .eyebrow, html[data-theme="light"] .stat-card, html[data-theme="light"] .skill-card, html[data-theme="light"] .service-card, html[data-theme="light"] .project-card, html[data-theme="light"] .exp-panel, html[data-theme="light"] .about-exp-badge { background:rgba(255,255,255,.9); border-color:rgba(15,23,42,.10); color:rgba(17,24,39,.62); box-shadow:0 12px 35px rgba(15,23,42,.06); }
html[data-theme="light"] .about-photo { background:linear-gradient(135deg,#fff,#eef2ff); border-color:rgba(15,23,42,.10); }
html[data-theme="light"] .btn-ghost { color:rgba(17,24,39,.75); background:rgba(15,23,42,.04); border-color:rgba(15,23,42,.10); }
html[data-theme="light"] .social-icon { color:rgba(17,24,39,.4); } html[data-theme="light"] .social-icon:hover { color:#111827; }
html[data-theme="light"] .footer { border-color:rgba(15,23,42,.10); } html[data-theme="light"] .footer-copy, html[data-theme="light"] .footer-links a { color:rgba(17,24,39,.5); }
html[data-theme="light"] .form-input, html[data-theme="light"] .form-textarea { background:#fff; color:#111827; border-color:rgba(15,23,42,.12); }
html[data-theme="light"] .glow { opacity:.45; }

/* ── Complete light-theme fixes ── */
html[data-theme="light"] body { background:#F7F8FC; color:#111827; }
html[data-theme="light"] .logo,
html[data-theme="light"] .footer-logo { color:#111827; }
html[data-theme="light"] .menu-toggle { color:#374151; }
html[data-theme="light"] .menu-toggle:hover,
html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .mobile-link:hover { background:rgba(15,23,42,.05); }
html[data-theme="light"] .badge-plain { background:#fff; color:#667085; border-color:rgba(15,23,42,.10); }
html[data-theme="light"] .scroll-indicator { color:#98A2B3; }
html[data-theme="light"] .float-badge { background:rgba(255,255,255,.96); color:#344054; border-color:rgba(15,23,42,.10); box-shadow:0 20px 45px rgba(15,23,42,.10); }
html[data-theme="light"] .service-highlight,
html[data-theme="light"] .exp-duration,
html[data-theme="light"] .exp-location,
html[data-theme="light"] .exp-list li,
html[data-theme="light"] .field label { color:#667085; }
html[data-theme="light"] .project-tag { background:#F8FAFC; border-color:rgba(15,23,42,.10); color:#667085; }
html[data-theme="light"] .project-card:hover,
html[data-theme="light"] .skill-card:hover { border-color:rgba(15,23,42,.18); box-shadow:0 20px 45px rgba(15,23,42,.08); }
html[data-theme="light"] .exp-icon.past { background:#fff; border-color:rgba(15,23,42,.10); color:#667085; }
html[data-theme="light"] .contact-card { background:rgba(255,255,255,.92); border-color:rgba(15,23,42,.10); box-shadow:0 20px 50px rgba(15,23,42,.07); }
html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea { background:#fff; color:#111827; border-color:rgba(15,23,42,.14); }
html[data-theme="light"] .field input::placeholder,
html[data-theme="light"] .field textarea::placeholder { color:#98A2B3; }
html[data-theme="light"] .contact-link { background:#F8FAFC; color:#667085; border-color:rgba(15,23,42,.10); }
html[data-theme="light"] .contact-link:hover { color:#111827; border-color:rgba(15,23,42,.20); }
html[data-theme="light"] .footer-links a:hover { color:#111827; }
html[data-theme="light"] .code-window { border-color:rgba(15,23,42,.12); box-shadow:0 25px 50px -12px rgba(15,23,42,.18); }
/* Keep the developer-code preview intentionally dark for readable syntax highlighting. */
html[data-theme="light"] .code-window,
html[data-theme="light"] .code-window * { color-scheme:dark; }
