/* ============================================================
   DEVOPS PORTFOLIO — style.css
   Theme: Industrial Terminal / Dark Systems
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --bg:          #080c10;
  --bg-2:        #0d1117;
  --bg-3:        #111820;
  --surface:     #131c25;
  --surface-2:   #1a2535;
  --border:      rgba(0, 255, 136, 0.12);
  --border-2:    rgba(0, 255, 136, 0.25);

  --green:       #00ff88;
  --green-dim:   #00cc6a;
  --green-glow:  rgba(0, 255, 136, 0.15);
  --cyan:        #00e5ff;
  --orange:      #ff8c00;
  --red:         #ff4455;
  --yellow:      #ffd700;

  --text:        #c9d8e8;
  --text-dim:    #6a8099;
  --text-bright: #e8f4ff;

  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;
  --font-display:'Syne', sans-serif;

  --nav-h:       64px;
  --radius:      6px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* ---- Noise texture ---- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

/* ---- Grid background ---- */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---- Containers ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-display); color: var(--text-bright); }

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan); }

code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  background: rgba(0,255,136,0.08);
  color: var(--green);
  padding: 0.15em 0.45em;
  border-radius: 3px;
  border: 1px solid var(--border);
}

strong { color: var(--text-bright); font-weight: 700; }
em { color: var(--cyan); font-style: italic; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn--primary {
  background: var(--green);
  color: #080c10;
  border-color: var(--green);
}
.btn--primary:hover {
  background: transparent;
  color: var(--green);
  box-shadow: 0 0 24px var(--green-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--border-2);
}
.btn--ghost:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px var(--green-glow);
  color: var(--green);
}
.btn--full { width: 100%; justify-content: center; }

/* ---- Sections ---- */
.section { padding: 7rem 0; position: relative; z-index: 1; }

.section__header { margin-bottom: 3.5rem; }
.section__tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(8, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition);
}
.nav.scrolled { border-bottom-color: var(--border-2); }

.nav__logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.05em;
}
.nav__logo-prefix {
  color: var(--green);
  margin-right: 0.25rem;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--green); }
.nav__link:hover::after { width: 100%; }

/* hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

/* Terminal */
.hero__terminal {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,255,136,0.06), 0 30px 60px rgba(0,0,0,0.5);
  animation: terminalAppear 1s ease 0.3s both;
}
@keyframes terminalAppear {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #1a1f2e;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.terminal__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.terminal__dot--red    { background: var(--red); }
.terminal__dot--yellow { background: var(--yellow); }
.terminal__dot--green  { background: var(--green); }
.terminal__title {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: 0.5rem;
}

.terminal__body {
  padding: 1.5rem;
  min-height: 280px;
}
.terminal__line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}
.terminal__prompt { color: var(--green); user-select: none; }
.terminal__cmd { color: var(--cyan); }
.terminal__cursor {
  color: var(--green);
  animation: blink 1s step-end infinite;
  font-size: 0.9rem;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.terminal__output {
  margin-top: 1rem;
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--text);
}
.terminal__output .t-green  { color: var(--green); }
.terminal__output .t-cyan   { color: var(--cyan); }
.terminal__output .t-orange { color: var(--orange); }
.terminal__output .t-dim    { color: var(--text-dim); }
.terminal__output .t-red    { color: var(--red); }

/* Hero content */
.hero__content {
  animation: heroContentAppear 1s ease 0.5s both;
}
@keyframes heroContentAppear {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--green);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.hero__name {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}
.hero__name--accent { color: var(--green); }

.hero__title {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.hero__title-bar { color: var(--border-2); margin: 0 0.5rem; }

.hero__sub {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
}
.stat__plus, .stat__decimal { color: var(--green); font-size: 1.2rem; font-weight: 700; }
.stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-top: 0.1rem;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border-2);
}

/* Scroll hint */
.hero__scroll {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 2rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease 1.5s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.5; }
  50%      { transform: scaleY(1.3); opacity: 1; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: linear-gradient(180deg, transparent 0%, rgba(13,17,23,0.5) 100%);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about__text p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.85;
}

.about__card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.about__card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green);
  transform: scaleY(0);
  transition: transform var(--transition);
}
.about__card:hover { border-color: var(--border-2); transform: translateX(4px); }
.about__card:hover::before { transform: scaleY(1); }
.about__card-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.about__card h3 { font-family: var(--font-display); font-size: 1rem; color: var(--text-bright); }
.about__card p  { font-size: 0.82rem; color: var(--text-dim); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills {
  padding: 80px 20px;
  background: #0f172a;
  color: #fff;
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 40px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.skill-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 16px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

/* Hover Glow Effect */
.skill-card::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: linear-gradient(120deg, transparent, #38bdf8, transparent);
  top: -10%;
  left: -10%;
  opacity: 0;
  transition: 0.5s;
}

.skill-card:hover::before {
  opacity: 0.2;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.skill-card img {
  width: 60px;
  margin-bottom: 15px;
}

.skill-card h3 {
  margin-bottom: 15px;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #334155;
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  border-radius: 10px;
  animation: load 2s forwards;
}

/* Skill Levels */
.aws { width: 85%; background: #ff9900; }
.linux { width: 80%; background: #fcc624; }
.docker { width: 75%; background: #2496ed; }
.k8s { width: 70%; background: #326ce5; }
.git { width: 78%; background: #f1502f; }
.jenkins { width: 72%; background: #d24939; }

/* Animation */
@keyframes load {
  from { width: 0; }
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.project-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.project-card:hover::after { opacity: 1; }

/* Featured card spans full width on first row */
.project-card--featured { grid-column: 1 / 3; }

.project-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project-card__tag {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
.project-card__status {
  font-size: 0.72rem;
  color: var(--text-dim);
}
.project-card__status--live { color: var(--green); }

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
}
.project-card__desc {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
}

.project-card__metrics {
  display: flex;
  gap: 1.5rem;
}
.metric__val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
}
.metric__label { font-size: 0.72rem; color: var(--text-dim); }

.project-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}
.project-card__tech { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.project-card__link:hover { color: var(--cyan); }

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.experience { background: var(--bg-2); }

.timeline {
  position: relative;
  margin-bottom: 4rem;
}
.timeline__line {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), transparent);
  margin-left: 10px;
}
.timeline__item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.timeline__dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--green);
  box-shadow: 0 0 12px var(--green-glow);
  flex-shrink: 0;
  margin-top: 0.2rem;
  position: relative;
  z-index: 1;
}
.timeline__content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  flex: 1;
  transition: border-color var(--transition);
}
.timeline__content:hover { border-color: var(--border-2); }

.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.timeline__role {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-bright);
}
.timeline__company { font-size: 0.85rem; color: var(--green); margin-top: 0.15rem; }
.timeline__date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
  background: var(--surface-2);
  padding: 0.3em 0.8em;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.timeline__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.timeline__list li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
}
.timeline__list li::before {
  content: '▸';
  color: var(--green);
  position: absolute;
  left: 0;
}

/* Certifications */
.certs__title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.certs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: all var(--transition);
}
.cert-badge:hover {
  border-color: var(--green);
  background: var(--green-glow);
}
.cert-badge__icon { color: var(--green); font-size: 1rem; flex-shrink: 0; }
.cert-badge__name { font-size: 0.82rem; color: var(--text); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact__tagline {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 2rem;
}
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text);
  transition: color var(--transition);
}
.contact__link:hover { color: var(--green); }
.contact__link-icon {
  width: 32px; height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--green);
  transition: all var(--transition);
  flex-shrink: 0;
}
.contact__link:hover .contact__link-icon {
  background: var(--green-glow);
  border-color: var(--green);
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.75rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.form-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-bright);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}
.form-input::placeholder { color: var(--text-dim); }
.form-textarea { min-height: 130px; resize: vertical; }

.form__success {
  display: none;
  font-size: 0.85rem;
  color: var(--green);
  text-align: center;
}
.form__success.visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy { font-size: 0.8rem; color: var(--text-dim); }
.footer__status {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 6px var(--green); }
  50%      { box-shadow: 0 0 14px var(--green); }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + 2rem);
    min-height: auto;
    gap: 3rem;
  }
  .hero__scroll { display: none; }
  .projects__grid { grid-template-columns: 1fr 1fr; }
  .project-card--featured { grid-column: 1 / -1; }
  .about__grid { grid-template-columns: 1fr; }
  .skills__categories { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h); right: 0; left: 0;
    background: rgba(8,12,16,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__links li { width: 100%; }
  .nav__link { display: block; padding: 1rem 2rem; font-size: 1rem; }
  .nav__hamburger { display: flex; }

  .section { padding: 4rem 0; }
  .section__title { font-size: 2rem; }

  .hero__name { font-size: 3rem; }
  .hero__ctas { flex-direction: column; }
  .hero__stats { justify-content: center; gap: 1rem; }

  .projects__grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: 1; }

  .certs__grid { grid-template-columns: 1fr; }
  .timeline__line { display: none; }
  .timeline__item { flex-direction: column; gap: 0.75rem; }
  .timeline__dot { display: none; }

  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .nav { padding: 0 1rem; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .hero__name { font-size: 2.5rem; }
  .stat__num { font-size: 1.5rem; }
  .btn { padding: 0.65rem 1.25rem; font-size: 0.82rem; }
}