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

:root {
  --gold: #f5c518;
  --gold-dim: #c9a214;
  --gold-glow: rgba(245, 197, 24, 0.25);
  --bg: #000000;
  --bg2: #0a0a0a;
  --bg3: #111111;
  --glass: rgba(255, 255, 255, 0.04);
  --border: rgba(245, 197, 24, 0.15);
  --text: #e8e8e8;
  --text-muted: #888;
  --font: 'Outfit', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  cursor: none;
}

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

ul {
  list-style: none;
}

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

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

.section {
  padding: 6rem 0;
}

.golden {
  color: var(--gold);
}

/* ===== CURSOR ===== */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  opacity: 0.5;
}

/* ===== PARTICLES ===== */
.particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
}

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

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-greeting {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.greeting-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(245, 197, 24, 0);
  }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-typing {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text);
  font-family: 'Courier New', monospace;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  margin-bottom: 2rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.typing-prefix {
  color: var(--gold);
  font-weight: 700;
}

.typed-text {
  color: #a8ff78;
}

.cursor-blink {
  color: var(--gold);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* Hero Image */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

.hero-img-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
}

.hero-img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(245, 197, 24, 0.3);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 60px rgba(245, 197, 24, 0.15), 0 0 120px rgba(245, 197, 24, 0.05);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 197, 24, 0.12);
  animation: spin 20s linear infinite;
}

.hero-ring-1 {
  width: 390px;
  height: 390px;
  animation-direction: normal;
}

.hero-ring-2 {
  width: 440px;
  height: 440px;
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.3;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #000;
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(245, 197, 24, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--gold-glow);
}

.btn-sm {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #000;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn-outline-sm {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-outline-sm:hover {
  background: var(--gold);
  color: #000;
}

.w-full {
  width: 100%;
  justify-content: center;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg);
}

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

.about-text p {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

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

.stat-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 0 30px var(--gold-glow);
}

.stat-icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-weight: 500;
}

/* ===== TECH STACK ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
}

.tech-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: default;
}

.tech-card i {
  font-size: 2rem;
  color: var(--gold);
}

.tech-svg {
  width: 2rem;
  height: 2rem;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.tech-svg-color {
  filter: none !important;
  opacity: 0.85;
}

.tech-card:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 0 30px var(--gold-glow);
}

.tech-card:hover .tech-svg {
  filter: none;
  opacity: 1;
}

/* ===== EXPERIENCE / TIMELINE ===== */
.experience {
  background: var(--bg2);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

/* LEFT item: card | dot | spacer */
.timeline-item.left {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  grid-template-areas: 'card dot spacer';
  align-items: start;
  margin-bottom: 3rem;
}

.timeline-item.left .timeline-card {
  grid-area: card;
  margin-right: 1.5rem;
}

.timeline-item.left .timeline-dot {
  grid-area: dot;
}

.timeline-item.left .timeline-spacer {
  grid-area: spacer;
}

/* RIGHT item: spacer | dot | card */
.timeline-item.right {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  grid-template-areas: 'spacer dot card';
  align-items: start;
  margin-bottom: 3rem;
}

.timeline-item.right .timeline-card {
  grid-area: card;
  margin-left: 1.5rem;
}

.timeline-item.right .timeline-dot {
  grid-area: dot;
}

.timeline-item.right .timeline-spacer {
  grid-area: spacer;
}

.timeline-spacer {
  visibility: hidden;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 1.5rem;
  justify-self: center;
  align-self: start;
  box-shadow: 0 0 20px var(--gold-glow);
  border: 3px solid var(--bg2);
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
  box-shadow: 0 0 30px rgba(245, 197, 24, 0.5);
}

.timeline-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px var(--gold-glow);
}

.timeline-icon {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.tl-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.tl-date {
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tl-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.tl-tag {
  display: inline-block;
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.3);
  border-radius: 20px;
  padding: 0.2rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== CERTIFICATES ===== */
.certificates {
  background: var(--bg2);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 0 40px var(--gold-glow);
}

.cert-img-wrap {
  overflow: hidden;
}

.cert-img-wrap img {
  width: 100%;
  transition: transform 0.5s ease;
}

.cert-card:hover .cert-img-wrap img {
  transform: scale(1.05);
}

.cert-body {
  padding: 1.4rem;
}

.cert-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cert-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ===== PROJECTS ===== */
.projects {
  background: var(--bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.8rem;
}

.project-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.project-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 0 50px var(--gold-glow);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
}

.project-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.project-body {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  background: rgba(245, 197, 24, 0.08);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-intro {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  transition: var(--transition);
}

.contact-link:hover {
  border-color: var(--gold);
  transform: translateX(6px);
  box-shadow: 0 0 20px var(--gold-glow);
}

.cl-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-link span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.contact-link p {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.contact-form-wrap {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
  background: rgba(245, 197, 24, 0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #444;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-right {
    order: -1;
  }

  .hero-img-wrap {
    width: 280px;
    height: 280px;
  }

  .hero-img {
    width: 240px;
    height: 240px;
  }

  .hero-ring-1 {
    width: 270px;
    height: 270px;
  }

  .hero-ring-2 {
    width: 310px;
    height: 310px;
  }

  .hero-greeting,
  .hero-buttons,
  .hero-socials {
    justify-content: center;
  }

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item.left,
  .timeline-item.right {
    grid-template-columns: 40px 1fr;
    grid-template-areas: 'dot card';
  }

  .timeline-item.left .timeline-card,
  .timeline-item.right .timeline-card {
    grid-area: card;
    margin: 0 0 0 1rem;
  }

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    grid-area: dot;
  }

  .timeline-item.left .timeline-spacer,
  .timeline-item.right .timeline-spacer {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    border-left: 1px solid var(--border);
    transition: right 0.4s ease;
    padding: 2rem;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-img-wrap {
    width: 220px;
    height: 220px;
  }

  .hero-img {
    width: 190px;
    height: 190px;
  }

  .hero-ring-1 {
    width: 210px;
    height: 210px;
  }

  .hero-ring-2 {
    width: 240px;
    height: 240px;
  }

  .btn {
    padding: 0.65rem 1.3rem;
    font-size: 0.85rem;
  }
}