:root {
  --bg: #020713;
  --panel: rgba(8, 17, 35, 0.72);
  --panel-strong: rgba(9, 20, 43, 0.92);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.10);
  --blue: #2f84ff;
  --cyan: #37d5ff;
  --line: rgba(100, 181, 255, 0.22);
  --shadow: 0 20px 80px rgba(0, 95, 255, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 8%, rgba(47, 132, 255, 0.18), transparent 28%),
    radial-gradient(circle at 10% 30%, rgba(55, 213, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #030716, #020713 45%, #02050d);
  z-index: -4;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 42px));
  margin-inline: auto;
}

/* =========================
   Background Effects
========================= */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 999;
  background: linear-gradient(90deg, var(--cyan), var(--blue), #8b5cf6);
  box-shadow: 0 0 20px rgba(55, 213, 255, 0.8);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: -3;
  animation: breathe 10s infinite ease-in-out;
}

.glow-one {
  width: 360px;
  height: 360px;
  background: rgba(47, 132, 255, 0.20);
  top: -120px;
  right: 12%;
}

.glow-two {
  width: 340px;
  height: 340px;
  background: rgba(55, 213, 255, 0.12);
  bottom: 10%;
  left: -120px;
  animation-delay: -3s;
}

.glow-three {
  width: 240px;
  height: 240px;
  background: rgba(121, 73, 255, 0.12);
  bottom: -80px;
  right: 20%;
  animation-delay: -6s;
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.25) translate3d(30px, -20px, 0);
  }
}

/* =========================
   Header / Navbar
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--blue);
}

.brand-mark {
  margin-right: 8px;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.talk-btn,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.28s ease;
  cursor: pointer;
}

.talk-btn {
  padding: 11px 18px;
  background: linear-gradient(135deg, #184adf, var(--blue));
  box-shadow: 0 12px 35px rgba(47, 132, 255, 0.26);
}

.primary-btn {
  padding: 16px 25px;
  background: linear-gradient(135deg, #1d66ff, var(--blue));
  box-shadow: 0 16px 42px rgba(47, 132, 255, 0.34);
}

.secondary-btn {
  padding: 15px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.talk-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(47, 132, 255, 0.28);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 28px;
}

/* =========================
   Side Dock
========================= */

.side-dock {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 75;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 17, 35, 0.65);
  border-radius: 26px;
  backdrop-filter: blur(14px);
}

.side-dock a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.58);
  transition: 0.25s ease;
}

.side-dock a:hover,
.side-dock a.active {
  color: var(--blue);
  transform: scale(1.18);
}

/* =========================
   Hero Section
========================= */

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0 22px;
  position: relative;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue);
}

.intro-line {
  margin-top: 28px;
  color: var(--cyan);
  font-weight: 700;
}

.hero h1 {
  margin-top: 8px;
  font-size: clamp(58px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
  color: var(--blue);
  text-shadow: 0 0 45px rgba(47, 132, 255, 0.35);
  position: relative;
}

.hero h1 span::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.82em;
  background: var(--cyan);
  margin-left: 6px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 45% {
    opacity: 1;
  }

  46%, 100% {
    opacity: 0;
  }
}

.role {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.role b {
  color: var(--blue);
  margin-inline: 8px;
}

.hero-text {
  margin-top: 22px;
  max-width: 430px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

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

.hero-visual {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: end center;
  isolation: isolate;
}

.hero-photo {
  position: relative;
  z-index: 2;
  height: min(680px, 78vh);
  width: min(480px, 100%);
  object-fit: cover;
  object-position: center 18%;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.7));
  animation: photoFloat 6s infinite ease-in-out;
  border-radius: 0 0 42px 42px;
}

@keyframes photoFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(47, 132, 255, 0.35);
  z-index: 0;
}

.orbit-one {
  width: 455px;
  height: 455px;
  top: 56px;
  right: 60px;
  box-shadow: 0 0 35px rgba(47, 132, 255, 0.22), inset 0 0 40px rgba(47, 132, 255, 0.08);
  animation: rotate 16s linear infinite;
}

.orbit-two {
  width: 360px;
  height: 360px;
  top: 106px;
  right: 106px;
  border-style: dashed;
  animation: rotateReverse 22s linear infinite;
}

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

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

.floating-badge {
  position: absolute;
  z-index: 3;
  padding: 17px 18px;
  background: rgba(8, 17, 35, 0.82);
  border: 1px solid var(--blue);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 28px;
  font-weight: 900;
  animation: floatBadge 4s infinite ease-in-out;
}

.floating-badge small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
}

.badge-one {
  right: 0;
  bottom: 95px;
}

.badge-two {
  left: 45px;
  top: 110px;
  animation-delay: -1.4s;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

/* =========================
   Social Links
========================= */

.socials {
  margin-top: 30px;
}

.socials p {
  color: var(--muted);
  margin-bottom: 12px;
}

.socials div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.socials a {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 15px;
  transition: 0.28s ease;
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  overflow: visible;
}

.socials a span {
  position: relative;
  z-index: 1;
  font-size: 20px;
}

.socials a small {
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%) translateY(5px);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  white-space: nowrap;
}

.socials a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: 0.28s ease;
}

.socials a:hover {
  transform: translateY(-8px) scale(1.08) rotate(-2deg);
  border-color: var(--blue);
  color: white;
}

.socials a:hover small {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.socials a:hover::before {
  opacity: 1;
}

.socials .tiktok:hover::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 242, 234, 0.16), rgba(255, 0, 80, 0.16));
}

.socials .instagram:hover::before {
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.18), rgba(255, 0, 128, 0.18), rgba(121, 73, 255, 0.18));
}

.socials .facebook:hover::before {
  background: rgba(24, 119, 242, 0.18);
}

.socials .youtube:hover::before {
  background: rgba(255, 0, 0, 0.18);
}

.socials .linkedin:hover::before {
  background: rgba(10, 102, 194, 0.18);
}

.contact-socials {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.contact-socials div {
  justify-content: center;
}

/* =========================
   Stats
========================= */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(8, 17, 35, 0.64);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin-top: 10px;
  overflow: hidden;
}

.stats div {
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

.stats div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 28%;
  width: 1px;
  height: 44%;
  background: rgba(255, 255, 255, 0.15);
}

.stats strong {
  display: block;
  font-size: 31px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   About Section
========================= */

.about,
.section-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  padding-block: 92px;
}

.section-label {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h2 span {
  display: block;
  color: var(--blue);
}

.about-copy p:not(.section-label) {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 18px;
}

.info-grid {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.info-grid div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.info-grid span {
  color: rgba(255, 255, 255, 0.60);
}

.photo-frame {
  position: relative;
  border-radius: 26px;
  padding: 8px;
  border: 1px solid var(--blue);
  background: rgba(47, 132, 255, 0.08);
  box-shadow: 0 0 45px rgba(47, 132, 255, 0.25);
  overflow: hidden;
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent, rgba(55, 213, 255, 0.4), transparent);
  animation: shine 4s infinite linear;
}

@keyframes shine {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.photo-frame img {
  position: relative;
  z-index: 1;
  height: 520px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.photo-caption {
  position: absolute;
  left: 25px;
  bottom: 25px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  padding: 12px 16px;
  border-radius: 13px;
  color: var(--cyan);
  font-weight: 800;
}

/* =========================
   Skills
========================= */

.skills {
  padding-block: 76px;
}

.center-heading {
  text-align: center;
  margin-bottom: 36px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.tech-card {
  min-height: 112px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 22px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0, rgba(47, 132, 255, 0.25), transparent 55%);
  opacity: 0;
  transition: 0.3s;
}

.tech-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: var(--blue);
  box-shadow: 0 20px 70px rgba(47, 132, 255, 0.22);
}

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

.tech-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.tech-card span {
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* =========================
   Services
========================= */

.services {
  padding-block: 72px;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  transition: 0.3s;
}

.service-list article:hover {
  transform: translateX(10px);
  border-color: var(--blue);
  background: rgba(47, 132, 255, 0.08);
}

.service-list b {
  font-size: 19px;
}

.service-list p {
  color: var(--muted);
  line-height: 1.6;
}

.service-list span {
  color: var(--blue);
  font-size: 24px;
}

/* =========================
   Projects Section - Final Fixed
========================= */

.projects {
  padding-block: 76px;
}

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 20px;
}

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

.project-card {
  position: relative;
  border: 1px solid rgba(47, 132, 255, 0.22);
  background: rgba(6, 15, 32, 0.82);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
  transition: 0.35s ease;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47, 132, 255, 0.12), transparent 38%, rgba(55, 213, 255, 0.06));
  opacity: 0;
  transition: 0.35s ease;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: rgba(47, 132, 255, 0.62);
  box-shadow: 0 25px 80px rgba(47, 132, 255, 0.18);
}

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

.project-thumb {
  height: 205px;
  border-radius: 18px;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #050b17;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(47, 132, 255, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 18px 45px rgba(0, 0, 0, 0.28);
  transition: 0.45s ease;
}

.project-thumb::after {
  display: none;
}

.project-glow {
  display: none;
}

.project-card:hover .project-thumb {
  transform: scale(1.025);
  border-color: rgba(47, 132, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(47, 132, 255, 0.25),
    0 20px 60px rgba(47, 132, 255, 0.16);
}

/* Correct project image paths */
.thumb-pos {
  background-image: url("../assets/images/project-pos.png");
}

.thumb-daily {
  background-image: url("../assets/images/project-dailydo.png");
}

.thumb-booking {
  background-image: url("../assets/images/project-booking.png");
}

.thumb-fitness {
  background-image: url("../assets/images/project-fitness.png");
}

.thumb-finance {
  background-image: url("../assets/images/project-finance.png");
}

.thumb-gaming {
  background-image: url("../assets/images/project-gaming.png");
}

.project-card h3 {
  position: relative;
  z-index: 2;
  font-size: 20px;
  line-height: 1.25;
  margin-top: 4px;
}

.project-card p {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  margin: 12px 0 16px;
}

.project-tags,
.project-card div:last-child {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span,
.project-card div:last-child span {
  color: var(--cyan);
  background: rgba(55, 213, 255, 0.10);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(55, 213, 255, 0.12);
}

/* =========================
   Contact
========================= */

.contact {
  padding: 88px 0 120px;
}

.contact-card {
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(47, 132, 255, 0.12), rgba(255, 255, 255, 0.04), rgba(121, 73, 255, 0.10));
  border-radius: 30px;
  padding: 58px 24px;
  box-shadow: var(--shadow);
}

.contact-card p:not(.section-label) {
  color: var(--muted);
  max-width: 620px;
  margin: 20px auto 0;
  line-height: 1.8;
}

.contact-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 17, 35, 0.65);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 90;
}

.top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.top-btn:hover {
  transform: translateY(-6px);
  color: var(--blue);
  border-color: var(--blue);
}

/* =========================
   Reveal Animation
========================= */

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  filter: blur(10px);
  transition: 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

.delay-3 {
  transition-delay: 320ms;
}

/* =========================
   Responsive
========================= */

@media (max-width: 980px) {
  .side-dock {
    display: none;
  }

  .hero,
  .about,
  .section-split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 540px;
    order: -1;
  }

  .hero-photo {
    height: 540px;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats div:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    padding: 24px;
    background: rgba(8, 17, 35, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .talk-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-photo {
    height: 460px;
    width: 100%;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
    right: auto;
  }

  .orbit-two {
    width: 260px;
    height: 260px;
    right: auto;
  }

  .floating-badge {
    display: none;
  }

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

  .stats div::after {
    display: none;
  }

  .photo-frame img {
    height: 420px;
  }

  .projects-head {
    align-items: start;
    flex-direction: column;
  }

  .project-thumb {
    height: 185px;
  }

  .info-grid div {
    grid-template-columns: 95px 1fr;
  }
}
/* ==========================================
   MOBILE RESPONSIVE FINAL FIX
   Paste at the VERY BOTTOM of styles.css
========================================== */

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 26px, 1120px);
  }

  .site-header {
    background: rgba(2, 7, 19, 0.78);
  }

  .nav {
    height: 68px;
  }

  .brand {
    font-size: 22px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    background: rgba(8, 17, 35, 0.96);
    border: 1px solid rgba(47, 132, 255, 0.22);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  }

  .nav-links.open {
    display: flex;
  }

  .talk-btn {
    display: none;
  }

  .side-dock {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 0 28px;
  }

  .hero-content {
    text-align: left;
  }

  .availability {
    font-size: 12px;
    padding: 9px 12px;
  }

  .intro-line {
    margin-top: 22px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 68px);
    line-height: 0.95;
  }

  .role {
    font-size: 14px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.75;
    max-width: 100%;
  }

  .hero-actions {
    gap: 12px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    padding: 15px 18px;
  }

  .socials div {
    gap: 11px;
  }

  .socials a {
    width: 48px;
    height: 48px;
  }

  .hero-visual {
    order: -1;
    min-height: 430px;
    place-items: center;
  }

  .hero-photo {
    height: 430px;
    width: min(330px, 100%);
    object-fit: cover;
    object-position: center top;
    border-radius: 0 0 32px 32px;
  }

  .orbit-one {
    width: 315px;
    height: 315px;
    top: 58px;
    right: auto;
  }

  .orbit-two {
    width: 245px;
    height: 245px;
    top: 92px;
    right: auto;
  }

  .floating-badge {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 18px;
  }

  .stats div {
    padding: 22px 12px;
  }

  .stats strong {
    font-size: 25px;
  }

  .stats span {
    font-size: 12px;
  }

  .stats div::after {
    display: none;
  }

  .about,
  .section-split {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 58px;
  }

  h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .about-copy p:not(.section-label) {
    font-size: 15px;
  }

  .info-grid div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .photo-frame {
    border-radius: 22px;
  }

  .photo-frame img {
    height: 390px;
    object-fit: cover;
    object-position: center top;
  }

  .photo-caption {
    left: 18px;
    bottom: 18px;
    font-size: 13px;
  }

  .skills {
    padding-block: 56px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .tech-card {
    min-height: 104px;
    padding: 18px 8px;
  }

  .tech-card img {
    width: 40px;
    height: 40px;
  }

  .services {
    padding-block: 56px;
  }

  .service-list article {
    padding: 20px;
  }

  .projects {
    padding-block: 56px;
  }

  .projects-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    padding: 16px;
  }

  .project-thumb {
    height: 195px;
    background-size: contain;
    background-color: #050b17;
  }

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

  .project-card p {
    font-size: 15px;
  }

  .contact {
    padding: 60px 0 90px;
  }

  .contact-card {
    padding: 42px 18px;
    border-radius: 24px;
  }

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

  .contact-actions a {
    width: 100%;
  }

  .top-btn {
    width: 46px;
    height: 46px;
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 46px;
  }

  .hero-photo {
    height: 390px;
    width: min(300px, 100%);
  }

  .hero-visual {
    min-height: 390px;
  }

  .orbit-one {
    width: 285px;
    height: 285px;
  }

  .orbit-two {
    width: 220px;
    height: 220px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-thumb {
    height: 175px;
  }

  .photo-frame img {
    height: 350px;
  }
}