﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #050816;
  --bg-2: #090d1f;
  --text: #f3f7ff;
  --muted: rgba(227, 236, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(8, 13, 28, 0.58);
  --glass-strong: rgba(14, 19, 40, 0.78);
  --accent: #72f0ff;
  --accent-2: #9f7cff;
  --accent-3: #5df2b0;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --max: 1180px;
  --nav-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  overscroll-behavior: none;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(114, 240, 255, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(159, 124, 255, 0.14), transparent 22%),
    radial-gradient(circle at center bottom, rgba(93, 242, 176, 0.1), transparent 28%),
    linear-gradient(180deg, #03050c 0%, #050816 40%, #02030a 100%);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  color-scheme: dark;

}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

main {
  position: relative;
  z-index: 2;
}

#star-canvas,
.noise,
.gradient-orb,
.cursor,
.cursor-trail,
.progress-bar {
  pointer-events: none;
}

#star-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 100%);
}

.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(35px);
  z-index: 1;
  opacity: 0.7;
  animation: floatOrb 18s ease-in-out infinite;
}

.orb-1 {
  display: none;
}

.orb-2 {
  right: -8%;
  top: 18%;
  width: 24vw;
  height: 24vw;
  background: radial-gradient(circle, rgba(159, 124, 255, 0.2), transparent 70%);
  animation-delay: -8s;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10001;
  background: transparent;
}

.progress-bar span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  box-shadow: 0 0 16px rgba(114, 240, 255, 0.8);
}

.glass {
  background: linear-gradient(180deg, var(--glass), var(--glass-strong));
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: transparent;
  padding: 0;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.nav-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border: 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar.scrolled {
  background: rgba(5, 8, 18, 0.96);
  border-bottom-color: rgba(114, 240, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(114, 240, 255, 0.7);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-links .theme-toggle {
  margin-left: 6px;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(114, 240, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.theme-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.theme-toggle-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-link {
  position: relative;
  padding: 8px 10px;
  color: var(--muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle span + span {
  margin-top: 5px;
}

body[data-theme="light"] {
  --bg: #f6f8fd;
  --bg-2: #eaf0f9;
  --text: #101828;
  --muted: rgba(16, 24, 40, 0.72);
  --line: rgba(16, 24, 40, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.95);
  --shadow: 0 18px 56px rgba(16, 24, 40, 0.08);
  color-scheme: light;
  background:
    radial-gradient(circle at top left, rgba(114, 240, 255, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(159, 124, 255, 0.12), transparent 22%),
    radial-gradient(circle at center bottom, rgba(93, 242, 176, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #eef3fb 45%, #e8edf6 100%);
}

body[data-theme="light"] #star-canvas {
  opacity: 0.28;
}

body[data-theme="light"] .noise {
  opacity: 0.06;
}

body[data-theme="light"] .navbar.scrolled {
  background: rgba(248, 250, 255, 0.9);
  border-bottom-color: rgba(16, 24, 40, 0.08);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

body[data-theme="light"] .brand,
body[data-theme="light"] .nav-link,
body[data-theme="light"] .nav-toggle,
body[data-theme="light"] .theme-toggle,
body[data-theme="light"] .footer-inner,
body[data-theme="light"] .back-to-top {
  color: var(--text);
}

body[data-theme="light"] .nav-toggle,
body[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(16, 24, 40, 0.1);
}

body[data-theme="light"] .nav-toggle span {
  background: currentColor;
}

body[data-theme="light"] .nav-link {
  color: rgba(16, 24, 40, 0.66);
}

body[data-theme="light"] .nav-link:hover,
body[data-theme="light"] .nav-link.active {
  color: var(--text);
}

body[data-theme="light"] .nav-links {
  background: rgba(250, 252, 255, 0.96);
  border-color: rgba(16, 24, 40, 0.08);
  box-shadow: 0 20px 48px rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .nav-link {
  background: rgba(16, 24, 40, 0.03);
}

body[data-theme="light"] .hero-role {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(16, 24, 40, 0.08);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .hero-title span {
  background: linear-gradient(180deg, #0f172a 12%, rgba(15, 23, 42, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--text);
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

body[data-theme="light"] .role-label,
body[data-theme="light"] .section-subline,
body[data-theme="light"] .about-subheadline,
body[data-theme="light"] .contact-subline,
body[data-theme="light"] .footer-note,
body[data-theme="light"] #resume .section-subline {
  color: var(--text);
}

body[data-theme="light"] .role-divider {
  background: rgba(16, 24, 40, 0.14);
}

body[data-theme="light"] .section-head h2,
body[data-theme="light"] #about .about-header h2,
body[data-theme="light"] #skills .section-head h2,
body[data-theme="light"] #projects .section-head h2,
body[data-theme="light"] #experience .section-title,
body[data-theme="light"] #education .section-head h2,
body[data-theme="light"] #resume .section-head h2,
body[data-theme="light"] #contact .section-head h2,
body[data-theme="light"] .contact-head h2 {
  color: var(--text);
}

body[data-theme="light"] :is(#about, #skills, #projects, #experience, #education, #resume, #contact) :is(h1, h2, h3, h4, h5, h6, p, li, label, a, small, strong, span) {
  color: var(--text) !important;
}

body[data-theme="light"] .about-photo-shell,
body[data-theme="light"] .about-service-card,
body[data-theme="light"] .skc,
body[data-theme="light"] .project-card,
body[data-theme="light"] .resume-preview-card,
body[data-theme="light"] .contact-clean-info,
body[data-theme="light"] .contact-clean-form,
body[data-theme="light"] .skill-card,
body[data-theme="light"] .service-card,
body[data-theme="light"] .experience-card,
body[data-theme="light"] .resume-card,
body[data-theme="light"] .contact-panel,
body[data-theme="light"] .timeline-content,
body[data-theme="light"] #education .edu-card,
body[data-theme="light"] .about-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 255, 0.98));
  border-color: rgba(16, 24, 40, 0.08);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .about-photo-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 248, 255, 0.96));
  border-color: rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .about-photo-shell {
  box-shadow:
    inset 0 0 80px rgba(114, 240, 255, 0.08),
    0 20px 40px rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .about-photo-caption {
  background: rgba(16, 24, 40, 0.03);
  border-color: rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .about-card {
  color: rgba(16, 24, 40, 0.74);
}

body[data-theme="light"] .about-eyebrow,
body[data-theme="light"] .about-divider,
body[data-theme="light"] .about-tech-tags span,
body[data-theme="light"] .about-stats span,
body[data-theme="light"] .about-photo-caption,
body[data-theme="light"] .about-intro,
body[data-theme="light"] .about-subheadline,
body[data-theme="light"] .about-service-card p,
body[data-theme="light"] .about-service-card h3,
body[data-theme="light"] .about-name {
  color: var(--text);
}

body[data-theme="light"] .about-eyebrow,
body[data-theme="light"] .about-divider {
  color: #4f7bff;
}

body[data-theme="light"] .about-intro,
body[data-theme="light"] .about-subheadline {
  color: var(--text);
}

body[data-theme="light"] .about-tech-tags span {
  background: rgba(16, 24, 40, 0.04);
  border-color: rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .about-tech-tags span:hover {
  color: var(--text);
  background: rgba(79, 123, 255, 0.08);
  border-color: rgba(79, 123, 255, 0.18);
}

body[data-theme="light"] .about-stats span {
  color: var(--text);
  background: rgba(16, 24, 40, 0.03);
  border-color: rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .about-photo-badge {
  color: #ffffff;
}

body[data-theme="light"] .project-card {
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .project-brand-autobolt .autobolt-title,
body[data-theme="light"] .project-brand-autobolt .autobolt-subtitle {
  color: #101828;
}

body[data-theme="light"] .project-brand-autobolt .autobolt-mark {
  color: #ffffff;
}

body[data-theme="light"] .project-topline {
  color: var(--text);
}

body[data-theme="light"] .chip-row span {
  color: rgba(16, 24, 40, 0.8);
  background: rgba(16, 24, 40, 0.04);
  border-color: rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .skc-title {
  color: var(--text);
}

body[data-theme="light"] .skb-top span:first-child {
  color: var(--text);
}

body[data-theme="light"] .skb-top span:last-child {
  color: var(--text);
}

body[data-theme="light"] #education .edu-card {
  border-left-color: rgba(79, 123, 255, 0.28);
}

body[data-theme="light"] #education .edu-card::before {
  border-color: rgba(16, 24, 40, 0.05);
}

body[data-theme="light"] #education .edu-card:hover {
  background: rgba(255, 255, 255, 0.98);
}

body[data-theme="light"] #education .edu-title,
body[data-theme="light"] #education .edu-place,
body[data-theme="light"] #education .edu-eyebrow {
  color: var(--text);
}

body[data-theme="light"] #education .edu-place {
  color: var(--text);
}

body[data-theme="light"] #education .edu-eyebrow {
  color: rgba(79, 123, 255, 0.82);
}

body[data-theme="light"] .skill-card h3,
body[data-theme="light"] .service-card h3,
body[data-theme="light"] .experience-card h3,
body[data-theme="light"] .resume-card h3,
body[data-theme="light"] .contact-panel h3,
body[data-theme="light"] .timeline-content h3 {
  color: var(--text);
}

body[data-theme="light"] .skill-card,
body[data-theme="light"] .service-card,
body[data-theme="light"] .experience-card,
body[data-theme="light"] .resume-card,
body[data-theme="light"] .contact-panel,
body[data-theme="light"] .timeline-content,
body[data-theme="light"] .project-card,
body[data-theme="light"] .contact-clean-info,
body[data-theme="light"] .contact-clean-form {
  color: var(--text);
}

body[data-theme="light"] .skill-card p,
body[data-theme="light"] .service-card p,
body[data-theme="light"] .experience-card p,
body[data-theme="light"] .resume-card p,
body[data-theme="light"] .contact-panel p,
body[data-theme="light"] .timeline-content p {
  color: var(--text);
}

body[data-theme="light"] .skill-tools-strip {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(16, 24, 40, 0.08);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .skill-filter-tabs {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

body[data-theme="light"] .skill-tools-strip:hover {
  border-color: rgba(79, 123, 255, 0.16);
}

body[data-theme="light"] .sts-label {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

body[data-theme="light"] .m-pill {
  color: #ffffff;
  background: rgba(79, 123, 255, 0.78);
  border-color: rgba(79, 123, 255, 0.18);
  box-shadow: 0 10px 22px rgba(79, 123, 255, 0.14);
}

body[data-theme="light"] .m-pill:hover {
  color: #ffffff;
  background: rgba(79, 123, 255, 0.95);
  border-color: rgba(79, 123, 255, 0.36);
  box-shadow: 0 14px 30px rgba(79, 123, 255, 0.2);
}

body[data-theme="light"] .m-dot {
  opacity: 0.65;
}

body[data-theme="light"] .sft {
  color: #101828;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .sft:hover {
  color: #0f172a;
  background: rgba(79, 123, 255, 0.08);
  border-color: rgba(79, 123, 255, 0.18);
}

body[data-theme="light"] .sft.on {
  color: #0f172a;
  background: rgba(79, 123, 255, 0.16);
  border-color: rgba(79, 123, 255, 0.28);
}

body[data-theme="light"] .resume-pdf-box {
  background: rgba(238, 242, 250, 0.92);
  border-color: rgba(16, 24, 40, 0.1);
  box-shadow:
    0 24px 70px rgba(16, 24, 40, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

body[data-theme="light"] .resume-pdf-frame {
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .contact-clean-social {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 24, 40, 0.08);
}

body[data-theme="light"] .contact-clean-label,
body[data-theme="light"] .contact-clean-connect,
body[data-theme="light"] .contact-clean-form h2,
body[data-theme="light"] .contact-clean-social-copy strong {
  color: var(--text);
}

body[data-theme="light"] .contact-clean-meta,
body[data-theme="light"] .contact-clean-meta-item,
body[data-theme="light"] .contact-clean-social-copy span,
body[data-theme="light"] .contact-clean-arrow {
  color: var(--text);
}

body[data-theme="light"] .contact-clean-badge {
  border-color: rgba(79, 123, 255, 0.16);
  background: rgba(79, 123, 255, 0.08);
  color: #4f7bff;
}

body[data-theme="light"] .contact-clean-social-icon {
  background: rgba(16, 24, 40, 0.06);
  color: rgba(16, 24, 40, 0.62);
}

body[data-theme="light"] .contact-clean-social:hover {
  background: rgba(255, 255, 255, 0.88);
}

body[data-theme="light"] .contact-clean-field input,
body[data-theme="light"] .contact-clean-field textarea {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(16, 24, 40, 0.1);
  color: var(--text);
}

body[data-theme="light"] .contact-clean-field label {
  color: var(--text);
}

body[data-theme="light"] .contact-clean-field input::placeholder,
body[data-theme="light"] .contact-clean-field textarea::placeholder {
  color: rgba(16, 24, 40, 0.38);
}

body[data-theme="light"] .contact-clean-field input:focus,
body[data-theme="light"] .contact-clean-field textarea:focus {
  border-color: rgba(79, 123, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(79, 123, 255, 0.12);
}

body[data-theme="light"] .footer-inner {
  border-top-color: rgba(16, 24, 40, 0.1);
}

body[data-theme="light"] .footer-note {
  color: rgba(16, 24, 40, 0.72);
}

body[data-theme="light"] .back-to-top {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(16, 24, 40, 0.1);
  color: var(--text);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
}

body[data-theme="light"] .back-to-top:hover {
  border-color: rgba(79, 123, 255, 0.28);
  background: rgba(255, 255, 255, 0.98);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  height: 100vh;
  min-height: 100vh;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 20px;
  overflow: hidden;
}

.hero-center {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 0 18px;
  transform: translateY(0);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.22em;
  margin: 0 0 4px;
  padding: 0 0 0.16em;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.4rem, 6.2vw, 6rem);
  line-height: 1.08;
  letter-spacing: 0;
  perspective: 720px;
  text-transform: uppercase;
}

.hero-title-center span {
  text-align: center;
}

.hero-title span {
  position: relative;
  display: inline-block;
  padding-bottom: 0.04em;
  line-height: 1.08;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 10%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(114, 240, 255, 0.08);
}

.title-word {
  opacity: 0;
  transform: rotateX(95deg) translateY(0.24em);
  transform-origin: 50% 100%;
  animation:
    titleWordShow 0.01s linear forwards,
    titleWordPop 1.8s cubic-bezier(0.14, 1.2, 0.32, 1.08) forwards,
    titleWordGlow 5.2s ease-in-out 2s infinite;
}

.title-word-accent {
  animation-delay: 0.65s, 0.65s, 2.45s;
}

.spark-letter {
  position: relative;
  display: inline-block;
}

.spark-letter::after {
  --spark-size: 0.48em;
  content: "";
  position: absolute;
  right: -0.28em;
  top: -0.14em;
  width: var(--spark-size);
  height: var(--spark-size);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 1) 0 15%, transparent 16% 100%),
    conic-gradient(
      transparent 0deg 22deg,
      rgba(162, 248, 255, 0.95) 22deg 34deg,
      transparent 34deg 90deg,
      rgba(201, 178, 255, 0.82) 90deg 106deg,
      transparent 106deg 180deg,
      rgba(132, 255, 204, 0.82) 180deg 194deg,
      transparent 194deg 280deg,
      rgba(255, 255, 255, 0.95) 280deg 294deg,
      transparent 294deg 360deg
    );
  clip-path: polygon(50% 0, 62% 34%, 100% 50%, 62% 66%, 50% 100%, 38% 66%, 0 50%, 38% 34%);
  filter:
    blur(0.15px)
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 22px rgba(114, 240, 255, 0.95));
  opacity: 0;
  transform: scale(0) rotate(0deg);
  animation: titleSpark 0.8s ease-out 1.8s both;
}

.hero-role {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.hero-role-center {
  margin-left: auto;
  margin-right: auto;
}

.role-label,
.role-rotator {
  display: inline-flex;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.role-label {
  color: rgba(230, 236, 255, 0.92);
  font-weight: 600;
}

.role-rotator {
  color: var(--accent);
  font-weight: 600;
  min-width: 18ch;
}

.role-typewriter {
  position: relative;
  min-width: 18ch;
  text-align: left;
}

.role-typewriter::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 10px;
  vertical-align: -0.15em;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  animation: caretBlink 1s steps(1) infinite;
}

.role-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-description {
  max-width: 590px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-description-center {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-actions-center {
  justify-content: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #04101b;
  background: linear-gradient(135deg, #8edff0, #a58fe0 55%, #86dcbc);
  box-shadow: 0 10px 24px rgba(114, 240, 255, 0.12);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(114, 240, 255, 0.16);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.project-card::before,
.service-card::before,
.skill-card::before,
.about-card::before,
.about-photo-card::before,
.contact-form::before,
.contact-panel::before,
.timeline-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 246, 255, 0.4), rgba(168, 140, 255, 0.2), rgba(122, 242, 190, 0.25));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #fff;
  font-weight: 800;
}

#about .about-header h2,
#skills .section-head h2,
#projects .section-head h2,
#experience .section-title,
#education .section-head h2,
#resume .section-head h2,
#contact .section-head h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-subline {
  margin: 14px 0 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}

#education .section-head {
  max-width: 820px;
}

#education .education-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

#education .education-summary,
#education .education-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 28px;
}

#education .education-summary {
  display: grid;
  gap: 18px;
  align-content: start;
}

#education .education-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

#education .education-label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #72f0ff;
  text-transform: uppercase;
}

#education .education-cap {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(114, 240, 255, 0.08);
  border: 1px solid rgba(114, 240, 255, 0.16);
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

#education .education-cap svg {
  width: 21px;
  height: 21px;
}

#education .education-summary h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

#education .education-summary p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

#education .education-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#education .education-summary-stats div {
  padding: 14px 14px 13px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

#education .education-summary-stats span {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

#education .education-summary-stats strong {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

#education .education-cards {
  display: grid;
  gap: 18px;
}

#education .education-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

#education .education-card:hover {
  transform: translateY(-3px);
  border-color: rgba(114, 240, 255, 0.28);
  background: rgba(114, 240, 255, 0.04);
}

#education .education-card--featured {
  border-color: rgba(114, 240, 255, 0.24);
  background: linear-gradient(180deg, rgba(114, 240, 255, 0.06), rgba(255, 255, 255, 0.03));
}

#education .education-featured {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(114, 240, 255, 0.1);
  border: 1px solid rgba(114, 240, 255, 0.18);
  color: #72f0ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#education .education-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

#education .education-card-tag {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

#education .education-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

#education .education-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

#education .education-school {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

#education .education-location {
  margin: 0 0 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
}

#education .education-copy {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

#education .education-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#education .education-points span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11.5px;
  line-height: 1.2;
}

#education.education-section {
  max-width: 940px;
}

#education .section-head {
  max-width: 860px;
  margin: 0 auto 26px;
  text-align: center;
}

#education .section-subline {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

#education .edu-timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}

#education .edu-rail {
  display: none;
}

#education .edu-line {
  position: absolute;
  left: 50%;
  top: var(--edu-line-top, 16px);
  bottom: var(--edu-line-bottom, 16px);
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.75) 0%, rgba(45, 212, 191, 0.3) 38%, rgba(148, 163, 184, 0.55) 100%);
}

#education .edu-node {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #080a12;
  border: 2px solid rgba(148, 163, 184, 0.72);
  box-shadow: 0 0 0 6px rgba(8, 10, 18, 0.92);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

#education .edu-node--current {
  width: 18px;
  height: 18px;
  border-color: rgba(45, 212, 191, 0.9);
  box-shadow: 0 0 0 5px rgba(8, 10, 18, 0.92);
}

#education .edu-node--past {
  width: 14px;
  height: 14px;
  border-color: rgba(100, 116, 139, 0.72);
  box-shadow: 0 0 0 5px rgba(8, 10, 18, 0.92);
}

#education .edu-node.is-active.edu-node--current {
  background: #2dd4bf;
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.12);
}

#education .edu-node.is-active.edu-node--past {
  background: rgba(100, 116, 139, 0.22);
  border-color: rgba(148, 163, 184, 0.88);
  box-shadow: 0 0 0 6px rgba(8, 10, 18, 0.88);
}

#education .edu-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#education .edu-card {
  position: relative;
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  border-left: 1px solid rgba(100, 116, 139, 0.35);
  background: rgba(13, 20, 32, 0.96);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

#education .edu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

#education .edu-card:hover {
  transform: translateY(-3px);
  background: rgba(15, 22, 36, 0.98);
}

#education .edu-card--current {
  border-left-color: rgba(45, 212, 191, 0.45);
}

#education .edu-card--current:hover {
  border-color: rgba(45, 212, 191, 0.4);
}

#education .edu-card--past {
  border-left-color: rgba(251, 191, 36, 0.4);
}

#education .edu-card--past:hover {
  border-color: rgba(251, 191, 36, 0.4);
}

#education .edu-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

#education .edu-eyebrow {
  margin: 0 0 4px;
  color: rgba(148, 163, 184, 0.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#education .edu-title {
  margin: 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

#education .edu-place {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.45;
}

#education .edu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

#education .edu-badge--current {
  background: rgba(45, 212, 191, 0.1);
  color: #7ff5e4;
  border: 1px solid rgba(45, 212, 191, 0.16);
}

#education .edu-badge--past {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#education .edu-desc {
  margin: 12px 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

#education .edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#education .edu-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
}

#education .edu-tag--blue {
  color: #8ddff0;
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.14);
}

#education .edu-tag--amber {
  color: #f6c37e;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
}

@media (max-width: 960px) {
  #education .edu-timeline {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  #education .edu-card {
    padding: 16px 16px 16px 20px;
  }

  #education .edu-card-head {
    flex-direction: column;
  }

  #education .edu-badge {
    align-self: flex-start;
  }

  #education .edu-title {
    font-size: 19px;
  }

  #education .edu-line {
    top: var(--edu-line-top, 14px);
    bottom: var(--edu-line-bottom, 14px);
  }
}

@media (max-width: 960px) {
  #education .education-layout {
    grid-template-columns: 1fr;
  }

  #education .education-summary-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  #education .education-summary,
  #education .education-card {
    padding: 22px;
    border-radius: 24px;
  }

  #education .education-summary h3 {
    font-size: 22px;
  }

  #education .education-card h3 {
    font-size: 19px;
  }

  #education .education-card-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

.about-grid,
.about-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
}

.stats-grid {
  grid-column: 1 / -1;
}

.about-card,
.about-photo-card,
.contact-form,
.contact-panel,
.timeline-content,
.skill-card,
.project-card,
.service-card,
.experience-card,
.resume-card {
  position: relative;
  border-radius: var(--radius);
}

.about-card {
  padding: 28px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
}

.about-photo-card {
  padding: 16px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.about-photo-shell {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 0.82;
  background: linear-gradient(180deg, rgba(10, 15, 34, 0.98), rgba(6, 10, 22, 0.98));
  box-shadow:
    inset 0 0 80px rgba(114, 240, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-photo-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.about-photo-card {
  padding: 18px;
  gap: 16px;
  background: linear-gradient(180deg, rgba(12, 17, 35, 0.92), rgba(7, 10, 22, 0.8));
  border-color: rgba(114, 240, 255, 0.12);
}

.about-photo-shell {
  position: relative;
  aspect-ratio: 0.9;
}

.about-photo-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 8, 22, 0.72) 100%);
  pointer-events: none;
}

.about-photo {
  transition: transform 0.55s ease, filter 0.55s ease;
}

.about-photo-card:hover .about-photo {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.03);
}

.about-photo-badge {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 140, 255, 0.95), rgba(124, 246, 255, 0.95));
  box-shadow: 0 0 0 4px rgba(7, 10, 22, 0.95), 0 16px 32px rgba(168, 140, 255, 0.28);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  animation: badgePulse 2.4s ease-in-out infinite;
}

.about-stack {
  display: grid;
  gap: 22px;
}

.about-header {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.about-eyebrow {
  margin: 0;
  display: inline-block;
  padding: 0;
  border-radius: 0;
  color: #7cecff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: 0.9rem;
  line-height: 1;
  font-style: normal;
  font-variant: normal;
  text-rendering: geometricPrecision;
}

.about-header h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.15rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.about-subheadline {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.about-photo-card {
  position: relative;
  width: 100%;
  justify-self: start;
  align-self: start;
  max-width: 300px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.about-photo-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.about-card {
  padding: 4px 0 0;
  display: grid;
  gap: 16px;
  align-content: start;
  background: transparent;
  border: 0;
  box-shadow: none;
  position: relative;
}

.about-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(114, 240, 255, 0), rgba(114, 240, 255, 0.95), rgba(159, 124, 255, 0.95));
  box-shadow: 0 0 18px rgba(114, 240, 255, 0.18);
}

.about-name {
  margin: 0;
  color: rgba(243, 247, 255, 0.96);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-intro {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.72;
  font-size: 1.06rem;
  max-width: 62ch;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.about-tech-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(243, 247, 255, 0.86);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.about-tech-tags span:nth-child(odd) {
  border-color: rgba(114, 240, 255, 0.16);
}

.about-tech-tags span:nth-child(3n) {
  border-color: rgba(159, 124, 255, 0.18);
}

.about-tech-tags span:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 236, 255, 0.38);
  background: rgba(124, 236, 255, 0.06);
  color: #eafcff;
  box-shadow: 0 0 0 1px rgba(124, 236, 255, 0.12) inset, 0 10px 24px rgba(124, 236, 255, 0.12);
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  grid-column: 1 / -1;
  align-self: start;
  margin-top: 2px;
}

.about-divider {
  margin: 0;
  color: #7cecff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1;
}

.about-service-card {
  padding: 24px;
  display: grid;
  gap: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 16, 31, 0.88), rgba(8, 11, 21, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  min-height: 220px;
  align-content: start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(114, 240, 255, 0.18);
  box-shadow: 0 18px 36px rgba(114, 240, 255, 0.08), 0 18px 34px rgba(0, 0, 0, 0.22);
}

.about-service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #07101b;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.about-service-icon-1 {
  background: linear-gradient(135deg, #78f2ff, #8e7cff);
}

.about-service-icon-2 {
  background: linear-gradient(135deg, #46d7c5, #78f2ff);
}

.about-service-icon-3 {
  background: linear-gradient(135deg, #c86dff, #8e7cff);
}

.about-service-icon-4 {
  background: linear-gradient(135deg, #ff9f43, #c86dff);
}

.about-service-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  line-height: 1.25;
}

.about-service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.93rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* About section override: keep the bio/image open while preserving service card panels */
.about-card,
.about-photo-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.about-card::before,
.about-card::after,
.about-photo-card::before,
.about-photo-card::after {
  display: none !important;
  content: none !important;
}

.about-card {
  padding: 0 !important;
}

.about-tech-tags span {
  background: transparent !important;
}

.about-photo-caption {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.about-photo-caption {
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 820px) {
  .about-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-photo-card {
    max-width: 320px;
    justify-self: center;
  }

  .about-card {
    padding-top: 0;
  }

  .about-divider {
    margin-top: 4px;
  }

  .about-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .about-header {
    gap: 10px;
  }

  .about-main {
    gap: 16px;
  }

  .about-photo-card {
    max-width: 100%;
    width: 100%;
  }

  .about-intro {
    font-size: 1.02rem;
    line-height: 1.85;
  }

  .about-services-grid {
    grid-template-columns: 1fr;
  }
}

/* Typography system override */
body {
  font-family: "Manrope", sans-serif;
  line-height: 1.8;
  font-size: 0.97rem;
  color: rgba(227, 236, 255, 0.72);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.hero-name,
.hero-badge,
.about-eyebrow,
.about-divider,
.about-name,
.about-header h2,
.about-service-card h3,
.nav-link,
button,
.btn,
.cta-btn,
.pill,
.tag,
.chip {
  font-family: "Space Grotesk", sans-serif;
}

h1,
.hero-name {
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

h2,
.about-header h2 {
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 700;
}

h3,
h4,
.about-service-card h3,
.about-name {
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.about-subheadline,
.about-intro,
.about-service-card p {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.about-subheadline {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(227, 236, 255, 0.76);
}

.about-intro {
  font-size: 0.97rem;
  line-height: 1.8;
  color: rgba(227, 236, 255, 0.72);
}

.about-eyebrow,
.about-divider {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.about-tech-tags span {
  font-size: 0.78rem;
  font-weight: 600;
}

.about-service-card p {
  font-size: 0.97rem;
  line-height: 1.8;
  text-align: left;
  text-justify: auto;
  hyphens: none;
  word-spacing: normal;
  overflow-wrap: normal;
  white-space: normal;
}

/* Final About polish */
.about-stack {
  gap: 18px;
}

.about-main {
  gap: 22px;
}

.about-divider {
  width: 100%;
  text-align: center;
  margin-top: -2px;
}

.about-services-grid {
  gap: 12px;
  margin-top: 0;
}

.about-service-card {
  padding: 18px;
  min-height: 0;
  gap: 10px;
}

.about-service-card h3 {
  font-size: 0.9rem;
}

.about-service-card p {
  line-height: 1.65;
}

.about-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.about-service-icon svg {
  width: 20px;
  height: 20px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.about-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(124, 236, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(227, 236, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
}

.about-stats span:hover {
  border-color: rgba(124, 236, 255, 0.34);
  box-shadow: 0 0 0 1px rgba(124, 236, 255, 0.08) inset, 0 10px 24px rgba(124, 236, 255, 0.1);
}

.about-tech-tags {
  gap: 8px;
  margin-top: 2px;
}

.about-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.about-subheadline {
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.about-intro {
  font-size: 0.97rem;
  line-height: 1.8;
}

.about-name {
  font-size: 1.5rem;
  line-height: 1.25;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #54f7a8;
  box-shadow: 0 0 0 0 rgba(84, 247, 168, 0.45);
  animation: statusPulse 2.2s ease-out infinite;
}

.skill-grid,
.project-grid,
.experience-grid,
.resume-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.skill-card,
.project-card,
.service-card,
.experience-card,
.resume-card {
  padding: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.skill-card h3,
.project-card h3,
.service-card h3,
.experience-card h3,
.resume-card h3,
.contact-panel h3,
.timeline-content h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.skill-card p,
.project-card p,
.service-card p,
.experience-card p,
.resume-card p,
.contact-panel p,
.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(243, 247, 255, 0.66);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.chip-row span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(243, 247, 255, 0.84);
  background: rgba(255, 255, 255, 0.03);
}

.project-card {
  position: relative;
  display: grid;
  gap: 16px;
  background: linear-gradient(180deg, rgba(14, 19, 40, 0.84), rgba(8, 13, 28, 0.72));
  border-color: rgba(255, 255, 255, 0.08);
  --card-accent: var(--accent);
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: 0.9;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--card-accent);
  transition: color 0.3s ease, transform 0.3s ease;
}

.project-link::after {
  content: "↗";
  transition: transform 0.3s ease;
}

.project-link:hover {
  color: var(--text);
}

.project-link:hover::after {
  transform: translate(2px, -2px);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 16px;
  color: #021018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(114, 240, 255, 0.22);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.resume-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.resume-card {
  display: grid;
  gap: 18px;
}

.resume-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.resume-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.resume-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(114, 240, 255, 0.18);
  background: rgba(114, 240, 255, 0.08);
  color: #dffcff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  white-space: nowrap;
}

.resume-copy {
  max-width: 58ch;
}

.resume-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resume-stats span {
  display: block;
  margin-bottom: 8px;
  color: rgba(243, 247, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.resume-stats strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  color: var(--text);
}

.resume-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.resume-list li + li {
  margin-top: 10px;
}

.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(114, 240, 255, 0.2), rgba(159, 124, 255, 0.7), rgba(93, 242, 176, 0.2));
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -3px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(5, 8, 22, 1);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(114, 240, 255, 0.8);
}

.timeline-content {
  padding: 24px 24px 24px 30px;
  border-radius: 24px;
}

.timeline-content span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

#experience.experience-section {
  max-width: 860px;
  padding: 72px 20px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#experience .section-eyebrow {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-family: "Space Grotesk", sans-serif;
}

#experience .section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  margin: 0 0 10px;
  line-height: 1.1;
}

#experience .section-subtitle {
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.48);
  margin-bottom: 60px;
  font-weight: 400;
}

#experience .timeline {
  position: relative;
  padding-left: 36px;
}

#experience .timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(29,158,117,0.4) 10%,
    rgba(29,158,117,0.15) 50%,
    rgba(239,159,39,0.15) 80%,
    rgba(239,159,39,0.4) 90%,
    transparent 100%
  );
}

#experience .exp-item {
  position: relative;
  margin-bottom: 28px;
}

#experience .exp-item:last-child {
  margin-bottom: 0;
}

#experience .exp-dot {
  position: absolute;
  left: -36px;
  top: 22px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #080c17;
  border: 2px solid #1D9E75;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

#experience .exp-dot.amber {
  border-color: #EF9F27;
}

#experience .exp-card {
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.025);
  position: relative;
  overflow: hidden;
  cursor: default;
  transform: translateY(0);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

#experience .exp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #1D9E75;
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#experience .exp-card.amber-card::before {
  background: #EF9F27;
}

#experience .exp-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: #1D9E75;
  border-radius: 16px 0 0 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#experience .exp-card.amber-card::after {
  background: #EF9F27;
}

#experience .exp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29,158,117,0.4);
  background: rgba(29,158,117,0.03);
}

#experience .exp-card.amber-card:hover {
  border-color: rgba(239,159,39,0.4);
  background: rgba(239,159,39,0.03);
}

#experience .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

#experience .company-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

#experience .company-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

#experience .icon-teal {
  background: rgba(29,158,117,0.12);
  border: 0.5px solid rgba(29,158,117,0.25);
}

#experience .icon-amber {
  background: rgba(239,159,39,0.12);
  border: 0.5px solid rgba(239,159,39,0.25);
}

#experience .company-icon svg {
  width: 18px;
  height: 18px;
}

#experience .company-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#experience .company-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

#experience .company-link-icon {
  width: 11px;
  height: 11px;
  color: rgba(255,255,255,0.45);
  opacity: 0;
  transform: translate(-1px, 1px);
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
  flex-shrink: 0;
}

#experience .company-link:hover .company-link-icon,
#experience .company-link:focus-visible .company-link-icon {
  opacity: 1;
  transform: translate(0, 0);
  color: rgba(255,255,255,0.72);
}

#experience .company-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
  text-transform: none;
}

#experience .company-link:hover .company-name,
#experience .company-link:focus-visible .company-name {
  color: rgba(255,255,255,0.9);
}

#experience .company-location {
  font-size: 11px;
  color: rgba(255,255,255,0.52);
  display: flex;
  align-items: center;
  gap: 4px;
}

#experience .date-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

#experience .date-badge svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

#experience .role-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

#experience .role-summary {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  font-style: italic;
}

#experience .role-badges {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

#experience .badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
}

#experience .badge-teal {
  background: rgba(29,158,117,0.1);
  color: #1D9E75;
  border: 0.5px solid rgba(29,158,117,0.25);
}

#experience .badge-amber {
  background: rgba(239,159,39,0.1);
  color: #EF9F27;
  border: 0.5px solid rgba(239,159,39,0.25);
}

#experience .badge-gray {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
  border: 0.5px solid rgba(255,255,255,0.1);
}

#experience .card-divider {
  border: none;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  margin: 0 0 16px;
  transition: border-color 0.3s ease;
}

#experience .bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
}

#experience .bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.86);
  line-height: 1.6;
  transition: color 0.25s ease;
}

#experience .bullet-marker {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1D9E75;
  margin-top: 8px;
  flex-shrink: 0;
}

#experience .bullet-marker.amber {
  background: #EF9F27;
}

#experience .skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}

#experience .skill-tag {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 6px;
  border: 0.5px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.74);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease, transform 0.22s ease;
  cursor: default;
}

#experience .skill-tag:hover {
  border-color: rgba(29,158,117,0.5);
  color: #1D9E75;
  background: rgba(29,158,117,0.08);
  transform: translateY(-2px);
}

#experience .exp-card.amber-card .skill-tag:hover {
  border-color: rgba(239,159,39,0.5);
  color: #EF9F27;
  background: rgba(239,159,39,0.08);
}

@media (max-width: 600px) {
  #experience.experience-section {
    padding: 48px 20px;
  }

  #experience .section-title {
    font-size: 30px;
  }

  #experience .timeline {
    padding-left: 28px;
  }

  #experience .card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  #experience .date-badge {
    align-self: flex-start;
  }

  #experience .role-title {
    font-size: 17px;
  }

  #experience .exp-card {
    padding: 18px 16px;
  }
}

.contact-form {
  padding: 30px;
}

.field-group + .field-group {
  margin-top: 18px;
}

.field-group label {
  display: block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  color: rgba(243, 247, 255, 0.85);
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: rgba(114, 240, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(114, 240, 255, 0.08);
  transform: translateY(-1px);
}

.send-btn {
  margin-top: 18px;
  width: 100%;
}

.contact-panel {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-links a:hover,
.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(114, 240, 255, 0.35);
  box-shadow: 0 12px 28px rgba(114, 240, 255, 0.14);
}

.contact-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted);
}

/* =========================
   Contact Section Redesign
========================= */

.contact-section {
  max-width: 1180px;
  padding-top: 84px;
}

.contact-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto 26px;
  text-align: center;
}

.contact-head .section-kicker {
  margin-bottom: 0;
}

.contact-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.15rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #fff;
}

.contact-subline {
  max-width: 760px;
  margin: 0;
  color: rgba(227, 236, 255, 0.76);
  font-size: 1rem;
  line-height: 1.65;
}

.contact-grid--modern {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.4fr);
  gap: 26px;
  align-items: stretch;
}

.contact-panel,
.contact-form {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 24, 44, 0.92), rgba(11, 15, 28, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.contact-panel {
  gap: 22px;
  padding: 28px;
}

.contact-panel-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #7cecff;
  background: rgba(124, 236, 255, 0.08);
  border: 1px solid rgba(124, 236, 255, 0.16);
  flex-shrink: 0;
}

.contact-avatar svg,
.contact-meta-icon svg,
.send-btn-icon {
  display: block;
}

.contact-panel-top h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.28rem;
  line-height: 1.2;
  color: #ecf3ff;
}

.contact-email {
  display: inline-block;
  margin-top: 6px;
  color: #6c78ff;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(180, 192, 220, 0.8);
}

.contact-meta-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: rgba(124, 236, 255, 0.72);
  flex-shrink: 0;
}

.contact-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.contact-links-title {
  margin: 0;
  color: rgba(238, 244, 255, 0.92);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.contact-links--stack {
  display: grid;
  gap: 10px;
}

.contact-link-card {
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.contact-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 236, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.contact-link-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #b6c0d6;
  flex-shrink: 0;
}

.contact-link-icon svg {
  width: 18px;
  height: 18px;
}

.contact-link-copy {
  display: grid;
  gap: 1px;
}

.contact-link-copy strong {
  color: #e9efff;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.contact-link-copy span {
  color: rgba(180, 192, 220, 0.7);
  font-size: 0.86rem;
}

.contact-link-arrow {
  color: rgba(236, 243, 255, 0.8);
  font-size: 1rem;
}

.contact-form {
  padding: 30px;
  display: grid;
  gap: 16px;
}

.contact-form h3 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: #dce4f2;
}

.contact-form .field-group + .field-group {
  margin-top: 14px;
}

.contact-form .field-group label {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: rgba(223, 231, 245, 0.84);
}

.contact-form .field-group input,
.contact-form .field-group textarea {
  border-radius: 16px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.contact-form .field-group textarea {
  min-height: 150px;
  resize: vertical;
}

.send-btn {
  margin-top: 10px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  font-size: 1rem;
  border-radius: 18px;
}

.send-btn-icon {
  width: 18px;
  height: 18px;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px 36px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.footer-note {
  color: rgba(217, 228, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.12);
  flex-shrink: 0;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(124, 236, 255, 0.18);
  background: rgba(11, 16, 28, 0.9);
  color: #d7e4ff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  z-index: 40;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  border-color: rgba(124, 236, 255, 0.4);
  background: rgba(14, 20, 34, 0.98);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .back-to-top {
    right: 20px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}

.cursor,
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.cursor {
  width: 16px;
  height: 16px;
  background: rgba(124, 246, 255, 0.9);
  box-shadow: 0 0 24px rgba(114, 240, 255, 0.45);
}

.cursor-trail {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(124, 246, 255, 0.36);
  background: rgba(124, 246, 255, 0.05);
}

.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(30px)
}

.reveal.visible,
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.8s ease, transform 1.8s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.tilt-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(114, 240, 255, 0.15);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 26px, 0);
  }
}

@keyframes textGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(114, 240, 255, 0));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(114, 240, 255, 0.22));
  }
}

@keyframes titleWordShow {
  to {
    opacity: 1;
  }
}

@keyframes titleWordPop {
  to {
    transform: rotateX(0deg) translateY(0);
  }
}

@keyframes titleWordGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(114, 240, 255, 0));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(114, 240, 255, 0.18));
  }
}

@keyframes titleSpark {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-18deg);
  }
  42% {
    opacity: 1;
    transform: scale(1) rotate(12deg);
  }
  100% {
    opacity: 0;
    transform: scale(0) rotate(32deg);
  }
}

@keyframes caretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(84, 247, 168, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(84, 247, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(84, 247, 168, 0);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(7, 10, 22, 0.95), 0 16px 32px rgba(168, 140, 255, 0.28);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 4px rgba(7, 10, 22, 0.95), 0 18px 34px rgba(124, 246, 255, 0.34);
  }
}

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .skill-grid,
  .project-grid,
  .experience-grid,
  .resume-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-center {
    width: min(100%, 840px);
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 62px;
  }

  .nav-inner {
    border-radius: 0;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(7, 11, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
  }

  .hero {
    padding: 0 20px;
  }

  .stats-grid,
  .skill-grid,
  .project-grid,
  .experience-grid,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .hero-center {
    padding: var(--nav-height) 18px 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .about-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: auto;
    grid-row: auto;
  }

  .about-photo-shell {
    aspect-ratio: 0.92;
  }

  .about-photo-card {
    width: min(100%, 320px);
    justify-self: center;
    grid-column: auto;
    grid-row: auto;
  }

  .about-card {
    grid-column: auto;
    grid-row: auto;
  }

}

@media (max-width: 560px) {
  :root {
    --nav-height: 60px;
  }

  .section {
    padding-top: 86px;
  }

  .nav-inner {
    padding: 10px 14px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
    flex-wrap: wrap;
    row-gap: 0;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-role {
    gap: 10px;
    padding: 10px 14px;
    border-radius: 20px;
  }

  .role-typewriter {
    min-width: 0;
    width: auto;
    text-align: left;
  }

  .role-divider {
    height: 16px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .about-card,
  .about-photo-card,
  .contact-form,
  .contact-panel,
  .about-card > p:not(.about-kicker):not(.about-intro),
  .skill-card,
  .project-card,
  .service-card,
  .experience-card,
  .resume-card,
  .timeline-content {
    padding: 20px;
  }

  .resume-heading,
  .resume-actions {
    flex-direction: column;
  }

  .resume-stats {
    grid-template-columns: 1fr;
  }

  .about-photo-caption {
    align-items: flex-start;
  }

  .about-photo-card {
    width: 100%;
    justify-self: stretch;
  }

  .about-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .about-main {
    grid-template-columns: 1fr;
  }

  .about-photo-card {
    width: min(100%, 320px);
    justify-self: center;
  }

  .about-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .about-photo-card {
    width: 100%;
    justify-self: stretch;
  }

  .about-services-grid {
    grid-template-columns: 1fr;
  }
}

/* About width cleanup */
.about-card {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.about-intro {
  max-width: none;
  width: 100%;
  text-align: left;
  text-justify: auto;
  hyphens: none;
  word-spacing: normal;
  overflow-wrap: normal;
  white-space: normal;
}

/* About final text mode: justified, but with controlled last line */
.about-intro,
.about-service-card p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
  word-spacing: normal;
}

/* Final About spacing and readability pass */
.about-stack {
  gap: 24px;
}

.about-main {
  gap: 20px;
}

.about-divider {
  margin-top: 0;
}

.about-intro {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Manrope", sans-serif;
  font-weight: 400;
}

.about-service-card p {
  text-align: left;
  text-align-last: auto;
  text-justify: auto;
  hyphens: none;
  overflow-wrap: normal;
  word-spacing: normal;
  line-height: 1.72;
  font-size: 0.99rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Manrope", sans-serif;
  font-weight: 400;
}

.about-subheadline {
  max-width: none;
}

.about-service-card {
  width: 100%;
  justify-self: stretch;
}

/* Service card hover system */
.about-service-card {
  position: relative;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.22,1,.36,1),
              border-color .3s ease,
              box-shadow .32s ease;
}

.about-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(114, 240, 255, .35),
    rgba(142, 124, 255, .2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.about-service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #72f0ff, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.about-service-card:hover {
  transform: translateY(-7px);
  border-color: transparent;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .5);
}

.about-service-card:hover::before {
  opacity: 1;
}

.about-service-card:hover::after {
  transform: scaleX(1);
}

.about-service-icon {
  transition: transform .4s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s ease;
}

.about-service-card:hover .about-service-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

.about-service-card h3 {
  transition: color .25s ease;
}

.about-service-card:hover h3 {
  color: inherit;
}

/* Skills section */
.skills-head {
  text-align: center;
  justify-items: center;
  max-width: 100%;
  margin-top: 96px;
  margin-bottom: 28px;
}

.skills-head h2 {
  margin: 0;
}

.skill-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sft {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(200, 210, 240, 0.6);
  font-size: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.22s ease;
}

.sft:hover {
  border-color: rgba(114, 240, 255, 0.3);
  color: #c8f5ff;
  background: rgba(114, 240, 255, 0.05);
}

.sft.on {
  background: rgba(114, 240, 255, 0.1);
  border-color: rgba(114, 240, 255, 0.4);
  color: #72f0ff;
}

.skill-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.skc {
  background: linear-gradient(160deg, rgba(14, 20, 42, 0.92), rgba(8, 12, 26, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.skc:hover {
  border-color: rgba(159,124,255,.25);
  box-shadow: 0 0 0 1px rgba(159,124,255,.15),
              0 20px 50px rgba(0,0,0,.4);
}

.skc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.skc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s ease;
}

.sci-1 {
  background: linear-gradient(135deg, #78f2ff, #8e7cff);
}

.sci-2 {
  background: linear-gradient(135deg, #46d7c5, #78f2ff);
}

.sci-3 {
  background: linear-gradient(135deg, #c86dff, #8e7cff);
}

.sci-4 {
  background: linear-gradient(135deg, #ff9f43, #c86dff);
}

.sci-5 {
  background: linear-gradient(135deg, #46d7c5, #78f2ff);
}

.sci-6 {
  background: linear-gradient(135deg, #f472b6, #9f7cff);
}

.skc-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.25s ease;
}

.skc:hover .skc-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.skc:hover .skc-title {
  color: #b89fff;
}

.skc-bars {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.skb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.skb-top span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: rgba(228, 234, 255, 0.88);
  font-family: "Space Grotesk", sans-serif;
}

.skb-top span:last-child {
  font-size: 11px;
  font-weight: 700;
  color: rgba(228, 234, 255, 0.66);
  font-family: "Space Grotesk", sans-serif;
  transition: color .25s ease;
}

.skb-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
}

.skb-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(160, 206, 255, 0.82), rgba(154, 129, 244, 0.78));
  transform: scaleX(0);
  transform-origin: left;
  transition: filter .35s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity .35s ease;
}

.skb-fill.ready {
  transform: scaleX(1);
}

.skc:hover .skb-fill {
  filter: brightness(1.02);
}

.skc:hover .skb-top span:last-child {
  color: rgba(228,234,255,.88);
}

.skc-1 .skb-bg {
  background: rgba(255, 255, 255, 0.055);
}

.skc-2 .skb-bg {
  background: rgba(255, 255, 255, 0.055);
}

.skc-3 .skb-bg {
  background: rgba(255, 255, 255, 0.055);
}

.skc-4 .skb-bg {
  background: rgba(255, 255, 255, 0.055);
}

.skc-5 .skb-bg {
  background: rgba(255, 255, 255, 0.055);
}

.skc-6 .skb-bg {
  background: rgba(255, 255, 255, 0.055);
}

.skill-tools-strip {
  background: linear-gradient(160deg, rgba(12,18,36,.92), rgba(7,11,24,.96));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 16px 0;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.skill-tools-strip:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.sts-label {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200, 210, 240, 0.32);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
  display: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #050816, transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #050816, transparent);
}

.marquee-track {
  display: flex;
  gap: 8px;
  width: max-content;
  padding: 4px 0;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.m-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(220,228,255,.62);
  white-space: nowrap;
  cursor: default;
  transition: all .22s ease;
  font-family: "Space Grotesk", sans-serif;
}

.m-pill:hover {
  background: rgba(114,240,255,.07);
  border-color: rgba(114,240,255,.28);
  color: #d8f9ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(114,240,255,.1);
}

.m-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .4;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .skill-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .skill-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Per-card hover accents */
.about-service-card:nth-child(1)::after {
  background: linear-gradient(90deg, transparent, #72f0ff, transparent);
}

.about-service-card:nth-child(1):hover {
  box-shadow: 0 0 0 1px rgba(114, 240, 255, .4), 0 28px 70px rgba(0, 0, 0, .5);
}

.about-service-card:nth-child(1):hover h3 {
  color: #72f0ff;
}

.about-service-card:nth-child(2)::after {
  background: linear-gradient(90deg, transparent, #46d7c5, transparent);
}

.about-service-card:nth-child(2)::before {
  background: linear-gradient(135deg, rgba(70, 215, 197, .35), rgba(114, 240, 255, .2));
}

.about-service-card:nth-child(2):hover {
  box-shadow: 0 0 0 1px rgba(70, 215, 197, .4), 0 28px 70px rgba(0, 0, 0, .5);
}

.about-service-card:nth-child(2):hover h3 {
  color: #46d7c5;
}

.about-service-card:nth-child(3)::after {
  background: linear-gradient(90deg, transparent, #c86dff, transparent);
}

.about-service-card:nth-child(3)::before {
  background: linear-gradient(135deg, rgba(200, 109, 255, .35), rgba(142, 124, 255, .2));
}

.about-service-card:nth-child(3):hover {
  box-shadow: 0 0 0 1px rgba(200, 109, 255, .4), 0 28px 70px rgba(0, 0, 0, .5);
}

.about-service-card:nth-child(3):hover h3 {
  color: #c86dff;
}

.about-service-card:nth-child(4)::after {
  background: linear-gradient(90deg, transparent, #ff9f43, transparent);
}

.about-service-card:nth-child(4)::before {
  background: linear-gradient(135deg, rgba(255, 159, 67, .35), rgba(200, 109, 255, .2));
}

.about-service-card:nth-child(4):hover {
  box-shadow: 0 0 0 1px rgba(255, 159, 67, .4), 0 28px 70px rgba(0, 0, 0, .5);
}

.about-service-card:nth-child(4):hover h3 {
  color: #ff9f43;
}

/* Projects section */
.projects-head {
  text-align: center;
  justify-items: center;
  max-width: 100%;
  margin-top: 96px;
  margin-bottom: 30px;
}

.projects-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  --mx: 50%;
  --my: 50%;
  --card-accent: #72f0ff;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 9px;
  padding: 16px 18px;
  min-height: 300px;
  align-content: start;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(14, 19, 40, 0.88), rgba(8, 13, 28, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background:
    radial-gradient(220px circle at var(--mx) var(--my), rgba(255,255,255,0.14), transparent 62%),
    linear-gradient(135deg, rgba(114,240,255,.18), rgba(159,124,255,.06));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: .95;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.42);
}

.project-card:hover::before {
  opacity: 1;
}

.project-accent {
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
}

.project-card--cvevo {
  --card-accent: #72f0ff;
}

.project-card--moodjournal {
  --card-accent: #b89fff;
}

.project-card--autobolt {
  --card-accent: #ffb45e;
}

.project-card--dhristi {
  --card-accent: #7cc8ff;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0;
}

.project-media {
  position: relative;
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  margin-bottom: 26px;
}

.project-media-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  background: #080d1c;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.project-media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.project-media-img--main {
  aspect-ratio: auto;
}

.project-card--autobolt .project-media-img {
  object-position: center center;
}

.project-card--cvevo .project-media-img {
  object-position: center center;
}

.project-card--moodjournal .project-media-img {
  object-position: right center;
}

.project-card--dhristi .project-media-img {
  object-position: left center;
}

.project-more {
  margin-top: 18px;
}

.project-more .section-kicker {
  margin: 0 0 16px;
  text-align: left;
}

.project-more-list {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  justify-content: start;
  gap: 16px;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px 0 0;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(243,247,255,.78);
  background: transparent;
}

.status-live {
  color: #72f0ff;
}

.status-progress {
  color: #f5b84d;
}

.project-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #54f7a8;
  box-shadow: 0 0 0 0 rgba(84, 247, 168, 0.45);
  animation: liveDotPulse 2s ease-in-out infinite;
  flex: 0 0 auto;
}

.project-status-dot--wip {
  background: #f5b84d;
  box-shadow: none;
  animation: none;
}

.project-meta-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.project-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.project-brand-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.project-brand-icon--cvevo {
  background: #111722;
  border: 1.5px solid rgba(77,169,154,.35);
  color: #4DA99A;
}

.project-brand-icon--moodjournal {
  background: #1C1A14;
  border: 1.5px solid rgba(197,106,29,.4);
  color: #C56A1D;
}

.project-brand-icon--autobolt {
  background: #15161f;
  border: 1.5px solid rgba(255,180,94,.38);
  color: #ffb45e;
}

.project-brand-icon--dhristi {
  background: #101b26;
  border: 1.5px solid rgba(124,200,255,.36);
  color: #7cc8ff;
}

.project-brand-icon-img {
  display: block;
  width: 74%;
  height: 74%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-brand-icon-svg {
  display: block;
  width: 74%;
  height: 74%;
  color: currentColor;
}

.project-brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  flex-wrap: nowrap;
  transform: translateY(1px);
  color: #f3f7ff;
}

.project-brand-wordmark span {
  color: inherit;
}

/* CVevo logo in project card */
.project-brand-cvevo .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-transform: none;
}

.project-brand-cvevo .brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(47, 143, 122, 0.12);
  color: #2f8f7a;
}

.project-brand-cvevo .brand-icon svg {
  display: block;
}

.project-brand-cvevo .brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  white-space: nowrap;
  transform: translateY(1px);
}

.project-brand-cvevo .brand-text .c {
  color: #2f8f7a;
}

.project-brand-cvevo .brand-text .e {
  color: #ea8e5c;
}

/* AutoBolt logo in project card */
.project-brand-autobolt .autobolt-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: transparent;
}

.project-brand-autobolt .autobolt-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f97316 0%, #1e3a8a 100%);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.project-brand-autobolt .autobolt-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.project-brand-autobolt .autobolt-title {
  font-family: "Sora", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin: 0;
}

.project-brand-autobolt .autobolt-subtitle {
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
}

.project-card .project-tagline {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.project-card > p:not(.project-tagline) {
  margin: 0;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
  font-family: "Manrope", sans-serif;
  font-size: 13.5px;
  font-weight: 400;
}

.project-meta-top h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.15vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.project-icon-btn {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: rgba(243,247,255,.82);
  transition: transform 200ms ease, color 200ms ease;
}

.project-icon-btn--label {
  width: auto;
  min-width: 0;
  padding: 0;
  gap: 8px;
}

.project-icon-btn:hover {
  transform: translateY(-2px);
  color: #d8f9ff;
}

.project-icon-btn--label:hover {
  color: #ffffff;
}

.project-icon-btn svg {
  width: 16px;
  height: 16px;
}

.project-icon-btn span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--card-accent);
  transition: transform 200ms ease, color 200ms ease;
}

.project-link::after {
  content: "↗";
  transition: transform 200ms ease;
}

.project-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.project-link:hover::after {
  transform: translate(2px, -2px);
}


.project-card p {
  margin: 0;
  color: rgba(227,236,255,.72);
  line-height: 1.7;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.project-card .chip-row {
  margin: 0;
  gap: 8px;
}

.project-card .chip-row span {
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: rgba(227,236,255,.8);
  font-size: 12px;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.project-stats div {
  display: grid;
  gap: 4px;
}

.project-stats span {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(200,210,240,.46);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
}

.project-stats strong {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(227,236,255,.88);
  font-family: "Manrope", sans-serif;
  word-break: keep-all;
}

.projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.projects-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: rgba(255,255,255,.7);
  font-family: "Space Grotesk", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  gap: 8px;
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease, color .22s ease;
}

.projects-cta-btn svg {
  width: 16px;
  height: 16px;
}

.projects-cta-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-more-list {
    grid-template-columns: 1fr;
  }

  .project-meta-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-brand {
    width: 100%;
  }

  .project-links {
    width: 100%;
    justify-content: flex-start;
  }

  .project-stats {
    grid-template-columns: 1fr;
  }
}

@keyframes liveDotPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .gradient-orb,
  .split-text span {
    animation: none !important;
  }
}

.project-carousel {
  position: relative;
  margin-top: 28px;
}

.project-window {
  overflow: hidden;
  width: 100%;
}

.project-track {
  --visible: 3;
  --gap: 18px;

  display: flex;
  align-items: stretch;
  gap: var(--gap);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-track .project-card {
  flex: 0 0 calc(
    (100% - (var(--gap) * (var(--visible) - 1))) / var(--visible)
  );
  min-width: 0;
}

.project-media {
  width: 100%;
  margin-top: 14px;
  margin-bottom: 26px;
}

.project-media-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  background: #080d1c;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.project-media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.project-media-img--main {
  aspect-ratio: auto;
}

.project-card--autobolt .project-media-img {
  object-position: center center;
}

.project-card--cvevo .project-media-img {
  object-position: center center;
}

.project-card--moodjournal .project-media-img {
  object-position: right center;
}

.project-card--dhristi .project-media-img {
  object-position: left center;
}

.project-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 28, 0.7);
  color: rgba(243, 247, 255, 0.88);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    visibility 0.25s ease;
  overflow: hidden;
}

.project-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.18));
}

.project-nav:hover {
  transform: translateY(-50%) scale(1.06);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.project-nav:disabled {
  opacity: 0.35;
  visibility: hidden;
  cursor: not-allowed;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
}

.project-nav--prev {
  left: -22px;
}

.project-nav--next {
  right: -22px;
}

.project-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
}

.project-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.project-dot.active {
  width: 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(114, 240, 255, 0.22);
}

@media (max-width: 980px) {
  .project-track {
    --visible: 2;
  }
}

@media (max-width: 650px) {
  .project-track {
    --visible: 1;
  }

  .project-nav {
    top: auto;
    bottom: -54px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    transform: none;
  }

  .project-nav:hover {
    transform: scale(1.06);
  }

  .project-nav:active {
    transform: scale(0.96);
  }

  .project-nav:disabled {
    transform: scale(0.85);
  }

  .project-nav--prev {
    left: calc(50% - 50px);
  }

  .project-nav--next {
    right: calc(50% - 50px);
  }

  .project-dots {
    margin-top: 68px;
  }
}

/* Fix Drishti image left-side cut */
.project-card--dhristi .project-media-img {
  object-fit: cover;
  object-position: left center;
}

/* Fine tune MoodJournal screenshot position */
.project-card--moodjournal .project-media-img {
  object-fit: cover;
  object-position: right center;
}

/* Image-only hover zoom inside project card */
.project-media-main {
  overflow: hidden;
  cursor: zoom-in;
}

.project-media-img {
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
  will-change: transform;
}

/* Zoom only when cursor touches the image area */
.project-media-main:hover .project-media-img {
  transform: scale(1.055);
  filter: brightness(1.04) contrast(1.04) saturate(1.05);
}

/* =========================
   Resume CV Preview Section
========================= */

.resume-section {
  max-width: 960px;
  padding-top: 84px;
}

.resume-head {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.resume-head .section-kicker {
  margin-bottom: 16px;
}

.resume-head h2 {
  margin: 0;
}

#resume .section-subline {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
}

.resume-preview-card {
  position: relative;
  overflow: hidden;
  max-width: 740px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(14, 19, 40, 0.88), rgba(8, 13, 28, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-preview-card::after {
  content: none;
}

.resume-preview-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.resume-preview-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 2px;
}

.resume-preview-actions .btn {
  min-width: 0;
  padding: 8px 11px;
  font-size: 0.8rem;
  border-radius: 999px;
}

.resume-icon-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0;
}

.resume-icon-btn svg {
  width: 16px;
  height: 16px;
}

.resume-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.resume-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(114, 240, 255, 0.34);
}

.resume-pdf-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  aspect-ratio: 210 / 148.5;
  margin: 0 auto;
  padding: 4px;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(18, 24, 48, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.resume-pdf-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

@media (max-width: 820px) {
  .resume-preview-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-preview-actions {
    width: 100%;
    flex-direction: column;
  }

  .resume-preview-actions .btn {
    width: 100%;
  }

  .resume-icon-btn {
    width: 100%;
    min-width: 100%;
    height: 40px;
  }

  .resume-pdf-box {
    width: 100%;
    max-width: none;
    aspect-ratio: 210 / 130;
  }
}

@media (max-width: 560px) {
  .resume-preview-card {
    padding: 12px;
    border-radius: 18px;
  }

  .resume-icon-btn {
    height: 44px;
  }

  .resume-pdf-box {
    width: 100%;
    max-width: none;
    aspect-ratio: 210 / 120;
    border-radius: 14px;
    padding: 4px;
  }
}

/* =========================
   Clean Contact Section
========================= */

.contact-clean-section {
  max-width: 1040px;
  padding-top: 84px;
}

.contact-clean-head {
  text-align: center;
  margin: 0 auto 26px;
  max-width: 720px;
}

.contact-clean-head .section-kicker {
  margin-bottom: 16px;
}

.contact-clean-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: start;
}

.contact-clean-info {
  background: linear-gradient(180deg, rgba(13, 18, 32, 0.96), rgba(10, 14, 25, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.contact-clean-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-clean-badge {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(124, 236, 255, 0.18);
  background: rgba(124, 236, 255, 0.08);
  color: #7cecff;
}

.contact-clean-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ecf2ff;
  line-height: 1.2;
}

.contact-clean-email {
  display: inline-block;
  margin-top: 3px;
  color: #6c78ff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-clean-meta {
  display: grid;
  gap: 10px;
  color: rgba(190, 199, 222, 0.9);
}

.contact-clean-meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
}

.contact-clean-meta-item svg {
  color: rgba(162, 173, 202, 0.86);
  flex-shrink: 0;
}

.contact-clean-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 3px 0 4px;
}

.contact-clean-connect {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ecf2ff;
  text-transform: none;
}

.contact-clean-socials {
  display: grid;
  gap: 7px;
}

.contact-clean-social {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(13, 18, 32, 0.92);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.contact-clean-social:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(13, 18, 32, 0.92);
}

.contact-clean-social-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #171b2d;
  display: grid;
  place-items: center;
  color: #8d97b0;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.32s ease, color 0.32s ease, box-shadow 0.32s ease;
}

.contact-clean-social:hover .contact-clean-social-icon {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 10px 22px rgba(79, 123, 255, 0.18);
}

.contact-clean-social-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(79, 123, 255, 0.96), rgba(53, 217, 200, 0.92));
  transition: top 0.45s ease;
}

.contact-clean-social:nth-child(1) .contact-clean-social-icon::before {
  background: linear-gradient(180deg, rgba(79, 123, 255, 0.96), rgba(53, 217, 200, 0.92));
}

.contact-clean-social:nth-child(2) .contact-clean-social-icon::before {
  background: linear-gradient(180deg, rgba(99, 112, 255, 0.96), rgba(129, 202, 255, 0.92));
}

.contact-clean-social:hover .contact-clean-social-icon::before {
  top: 0;
}

.contact-clean-social-icon svg {
  position: relative;
  z-index: 1;
  transition: transform 0.45s ease;
}

.contact-clean-social:hover .contact-clean-social-icon svg {
  transform: rotateY(360deg);
}

.contact-clean-social-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-clean-social-copy strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: #eef3ff;
}

.contact-clean-social-copy span {
  font-size: 0.72rem;
  color: rgba(154, 163, 181, 0.88);
}

.contact-clean-arrow {
  color: rgba(154, 163, 181, 0.9);
  font-size: 0.82rem;
}

.contact-clean-form {
  background: linear-gradient(180deg, rgba(13, 18, 32, 0.98), rgba(10, 14, 25, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 14px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
}

.contact-clean-form h2 {
  margin: 0 0 4px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.3rem;
  line-height: 1.08;
  color: #e9edf6;
}

.contact-clean-field {
  display: grid;
  gap: 6px;
}

.contact-clean-field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(190, 199, 222, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-clean-field input,
.contact-clean-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 25, 0.95);
  color: #f4f6fa;
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.contact-clean-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.contact-clean-field input::placeholder,
.contact-clean-field textarea::placeholder {
  color: #6b7386;
}

.contact-clean-field input:focus,
.contact-clean-field textarea:focus {
  border-color: rgba(53, 217, 200, 0.5);
  box-shadow: 0 0 0 3px rgba(53, 217, 200, 0.13);
  transform: translateY(-1px);
}

.contact-clean-submit {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 13px 16px;
  min-height: 46px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #4f7bff, #35d9c8);
  color: #061012;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease;
}

.contact-clean-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 45%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.contact-clean-submit::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16), transparent 56%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.contact-clean-submit:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(76, 128, 236, 0.22);
}

.contact-clean-submit:hover::before {
  transform: translateX(120%);
}

.contact-clean-submit:hover::after {
  opacity: 1;
}

.contact-clean-submit:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.contact-clean-submit:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
  box-shadow: none;
}

.contact-clean-submit:disabled::before,
.contact-clean-submit:disabled::after {
  display: none;
}

.contact-form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(217, 228, 255, 0.72);
}

.contact-form-status.is-success {
  color: #7cecff;
}

.contact-form-status.is-error {
  color: #ff8f9a;
}

@media (max-width: 820px) {
  .contact-clean-grid {
    grid-template-columns: 1fr;
  }

  .contact-clean-form {
    padding: 20px;
  }

  .contact-clean-info {
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .contact-clean-section {
    padding-top: 40px;
  }

  .contact-clean-head {
    margin-bottom: 22px;
  }

  .contact-clean-top {
    align-items: flex-start;
  }

  .contact-clean-social {
    grid-template-columns: auto 1fr;
  }

  .contact-clean-arrow {
    display: none;
  }
}
