:root {
  --teal-deep: #007979;
  --teal-mid: #24B1B1;
  --cream-light: #FFF0E4;
  --cream-warm: #FFE0C5;
  --cream-alt: #FCEADB;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --nav-height: 64px;
  --content-width: 1340px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--cream-light);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 0.1s);
}

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

.section {
  padding: 100px max(5%, calc((100% - var(--content-width)) / 2));
  margin: 0;
  width: 100%;
}

.section-alt {
  background: var(--cream-alt);
}

.section-tint {
  background: rgba(0, 121, 121, 0.03);
}

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--teal-deep);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 240, 228, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-deep);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: rgba(255, 240, 228, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px 5%;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.3s ease;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-drawer a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.3s ease;
}

.mobile-drawer a:hover,
.mobile-drawer a.active {
  color: var(--teal-deep);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 5%;
}

.hero-left {
  flex: 0 0 58%;
}

.hero-label {
  font-family: var(--font-body);
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-bio {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-deep);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--teal-deep);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: #006565;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 121, 121, 0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--teal-deep);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--teal-deep);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  background: var(--teal-deep);
  color: #fff;
  transform: translateY(-2px);
}

.hero-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 121, 121, 0.2);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.hero-socials a:hover {
  border-color: var(--teal-deep);
  background: rgba(0, 121, 121, 0.06);
  transform: translateY(-2px);
}

.hero-socials a svg {
  width: 18px;
  height: 18px;
  fill: var(--teal-deep);
}

/* Hero animation */
.hero-right {
  flex: 0 0 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 400px;
}

.hero-art {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 24px;
  width: 240px;
  height: 240px;
  transform: rotateX(55deg) rotateZ(-45deg);
  transform-style: preserve-3d;
  animation: float-grid 8s ease-in-out infinite;
}

.data-node {
  background: rgba(0, 121, 121, 0.03);
  border: 1.5px solid rgba(0, 121, 121, 0.15);
  border-radius: 8px;
  position: relative;
  transform-style: preserve-3d;
}

.data-node::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: var(--teal-mid);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5) translateZ(10px);
}

.center-node {
  border-color: var(--teal-deep);
  background: rgba(0, 121, 121, 0.08);
}

.center-node::before {
  opacity: 1;
  background: var(--teal-deep);
  animation: pulse-center 3s infinite ease-in-out;
}

.data-node:nth-child(1)::before {
  animation: pulse-node 3s infinite 0.2s;
}

.data-node:nth-child(2)::before {
  animation: pulse-node 4s infinite 1.5s;
}

.data-node:nth-child(3)::before {
  animation: pulse-node 3.5s infinite 0.8s;
}

.data-node:nth-child(4)::before {
  animation: pulse-node 4.5s infinite 2.1s;
}

/* 5 is center */
.data-node:nth-child(6)::before {
  animation: pulse-node 3.2s infinite 1.8s;
}

.data-node:nth-child(7)::before {
  animation: pulse-node 4.1s infinite 0.5s;
}

.data-node:nth-child(8)::before {
  animation: pulse-node 3.8s infinite 2.5s;
}

.data-node:nth-child(9)::before {
  animation: pulse-node 3.4s infinite 1.1s;
}

@keyframes float-grid {

  0%,
  100% {
    transform: rotateX(55deg) rotateZ(-45deg) translateZ(0);
  }

  50% {
    transform: rotateX(55deg) rotateZ(-45deg) translateZ(20px);
  }
}

@keyframes pulse-node {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5) translateZ(10px);
  }

  20% {
    opacity: 0.7;
    transform: scale(1.2) translateZ(30px);
  }

  40% {
    opacity: 0;
    transform: scale(0.5) translateZ(10px);
  }
}

@keyframes pulse-center {

  0%,
  100% {
    transform: scale(1) translateZ(20px);
    box-shadow: 0 0 10px rgba(0, 121, 121, 0.2);
  }

  50% {
    transform: scale(1.4) translateZ(40px);
    box-shadow: 0 0 20px rgba(0, 121, 121, 0.6);
  }
}

/* Scroll down arrow */
.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce-down 2s ease-in-out infinite;
  color: var(--teal-deep);
  opacity: 0.7;
}

.scroll-down svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal-deep);
}

@keyframes bounce-down {

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

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

.skills-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: var(--content-width);
  margin: 0 auto;
}

.skills-col {
  display: flex;
  flex-direction: column;
  padding: 32px 36px;
  border-top: 2px solid rgba(0, 121, 121, 0.12);
  border-radius: 6px;
  transition: border-color 0.4s ease, background 0.5s ease;
  position: relative;
}

.skills-col:hover {
  background: rgba(0, 121, 121, 0.025);
}

.skills-col:not(:first-child) {
  border-left: 1px solid rgba(0, 121, 121, 0.08);
  border-radius: 0;
}

.skills-col::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-deep);
  transition: width 0.4s ease;
}

.skills-col:hover::after {
  width: 100%;
}

.skills-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal-mid);
  letter-spacing: 2px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.skills-col-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.skills-col-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 44px;
  opacity: 0.85;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}

.skills-list span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease, transform 0.2s ease;
  cursor: default;
  letter-spacing: 0.01em;
}

.skills-list span:hover {
  color: var(--teal-deep);
  transform: translateY(-1px);
}

.skills-list span:not(:last-child)::after {
  content: '·';
  margin: 0 10px;
  color: var(--teal-mid);
  opacity: 0.5;
  display: inline-block;
  pointer-events: none;
  font-weight: 700;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  width: 2px;
  height: 100%;
  background: var(--teal-mid);
  border-radius: 2px;
}

.timeline-entry {
  position: relative;
  margin-bottom: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.timeline-entry:first-child {
  border-top: none;
  padding-top: 0;
}

.timeline-entry:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal-deep);
  border: 3px solid var(--cream-light);
  box-shadow: 0 0 0 2px var(--teal-deep);
}

.timeline-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 1rem;
  color: var(--teal-deep);
  font-weight: 600;
}

.timeline-meta {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 14px;
}

.timeline-bullets {
  list-style: none;
  padding: 0;
}

.timeline-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.timeline-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-mid);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.project-card {
  background: transparent;
  border-top: 2px solid rgba(0, 121, 121, 0.12);
  border-radius: 0;
  padding: 28px 4px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.project-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-deep);
  transition: width 0.4s ease;
}

.project-card:hover {
  background: rgba(0, 121, 121, 0.02);
}

.project-card:hover::before {
  width: 100%;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.project-subtitle {
  font-size: 1rem;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 14px;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.project-stack span {
  background: rgba(0, 121, 121, 0.06);
  color: var(--teal-deep);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.01em;
}

.project-bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.project-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-mid);
}

.project-links {
  display: flex;
  gap: 16px;
}

.project-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.project-links a:hover {
  color: var(--teal-mid);
}

.project-links a svg {
  width: 14px;
  height: 14px;
}

.education-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 48px;
}

.edu-card {
  background: transparent;
  border-top: 2px solid rgba(0, 121, 121, 0.12);
  border-radius: 0;
  padding: 28px 32px;
  position: relative;
  transition: background 0.4s ease;
}

.edu-card:not(:first-child) {
  border-left: 1px solid rgba(0, 121, 121, 0.08);
}

.edu-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-deep);
  transition: width 0.4s ease;
}

.edu-card:hover {
  background: rgba(0, 121, 121, 0.025);
}

.edu-card:hover::after {
  width: 100%;
}

.edu-degree {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.edu-school {
  font-size: 0.92rem;
  color: var(--teal-deep);
  font-weight: 600;
}

.edu-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.edu-year {
  font-size: 0.9rem;
  color: var(--teal-deep);
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.certifications h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-tag {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 3px;
  border: 1px solid rgba(0, 121, 121, 0.15);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cert-tag:hover {
  background: rgba(0, 121, 121, 0.06);
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}

.contact-wrapper {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 48px;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: -8px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fff;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(0, 121, 121, 0.1);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .btn-primary {
  align-self: flex-start;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
}

.contact-info a,
.contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--teal-deep);
}

.contact-info .ci-icon {
  font-size: 1.1rem;
}

.site-footer {
  background: var(--cream-warm);
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

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

.footer-socials {
  display: flex;
  gap: 14px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 121, 121, 0.2);
  color: var(--text-secondary);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

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

.footer-icon:hover {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
  background: rgba(0, 121, 121, 0.06);
  transform: translateY(-2px);
}

.back-to-top {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--teal-deep);
  background: transparent;
  color: var(--teal-deep);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
  background: var(--teal-deep);
  color: #fff;
  transform: translateY(-50%) translateY(-2px);
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-left {
    flex: 1;
  }

  .hero-name {
    font-size: 3rem;
    letter-spacing: -0.8px;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-right {
    flex: 1;
    min-height: 280px;
  }

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

  .data-grid {
    width: 180px;
    height: 180px;
    gap: 16px;
  }

  .skills-matrix {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .skills-col {
    padding: 24px 20px;
  }

  .skills-col:not(:first-child) {
    border-left: none;
    border-radius: 6px;
  }

  .skills-col-desc {
    min-height: auto;
    margin-bottom: 16px;
  }

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

  .education-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .edu-card:not(:first-child) {
    border-left: none;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-drawer {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2.3rem;
  }

  .hero-label {
    font-size: 0.82rem;
  }

  .section {
    padding: 72px 5%;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .contact-heading {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Footer mobile fix */
  .site-footer {
    flex-direction: column;
    gap: 16px;
    padding: 24px 5%;
    text-align: center;
  }

  .footer-socials {
    position: static;
    transform: none;
    left: auto;
  }

  .back-to-top {
    position: static;
    transform: none;
    top: auto;
    right: auto;
    margin-top: 4px;
  }

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