/* ============================================================
   MICHAEL ONYANGO — PORTFOLIO CSS
   Theme: Futuristic Corporate · Navy + Electric Blue + Cyan
   Fonts: Syne (headings) + DM Sans (body)
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --bg:         #0A192F;
  --bg-2:       #0D2040;
  --bg-card:    #0F2544;
  --bg-card-2:  #112952;
  --border:     rgba(0, 191, 255, 0.12);
  --border-2:   rgba(0, 191, 255, 0.22);

  --accent:     #00BFFF;
  --accent-2:   #3B82F6;
  --accent-glow:rgba(0, 191, 255, 0.15);
  --cyan:       #67E8F9;

  --text:       #E2EBF4;
  --text-2:     #8BA4BE;
  --text-3:     #5B7A96;

  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 4px 32px rgba(0,0,0,0.35);
  --shadow-accent: 0 0 30px rgba(0, 191, 255, 0.18);

  --nav-h: 68px;
  --max-w: 1160px;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITY ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.accent { color: var(--accent); }

/* ── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.06); }
}

[data-animate="fade-up"] { opacity: 0; animation: fadeUp 0.7s ease forwards; }
[data-animate="fade-left"] { opacity: 0; animation: fadeLeft 0.7s ease forwards; }
[data-animate="fade-up"]:nth-child(2) { animation-delay: 0.1s; }
[data-animate="fade-up"]:nth-child(3) { animation-delay: 0.2s; }
[data-animate="fade-up"]:nth-child(4) { animation-delay: 0.3s; }
[data-animate="fade-left"] { animation-delay: 0.2s; }

/* ── NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.logo-bracket { color: var(--text-3); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 7px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent); color: var(--bg) !important; }
.nav-cta.active { background: var(--accent); color: var(--bg) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #0A192F;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,191,255,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── SECTION HEADINGS ──────────────────────────────────── */
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text);
  position: relative;
  display: inline-block;
}
.section-heading::after {
  content: '';
  display: block;
  margin-top: 10px;
  height: 3px;
  width: 48px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── PAGE HERO ─────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 56px;
}
.page-hero-inner { max-width: 680px; }
.page-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  border: 1px solid var(--border-2);
  padding: 4px 14px;
  border-radius: 100px;
}
.page-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
}
.availability-statement {
  color: var(--accent) !important;
  font-weight: 500;
  font-size: 1.05rem;
}

/* ─────────────────────────────────────────────────────────
   HOME PAGE
   ───────────────────────────────────────────────────────── */

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,191,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-2);
  padding: 5px 14px 5px 10px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s infinite;
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* PROFILE IMAGE */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.image-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,255,0.18) 0%, transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
.image-frame {
  position: relative;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 0 0 6px rgba(0,191,255,0.06);
}
.profile-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-frame:not(.no-img) .img-placeholder { display: none; }
.placeholder-initials {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.8;
}

/* INTRO SECTION */
.intro-section {
  padding: 24px 0 48px;
  border-top: 1px solid var(--border);
}
.intro-inner {
  max-width: 720px;
}
.intro-text {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--text-2);
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
}

/* HIGHLIGHTS */
.highlights-section {
  padding: 48px 0 96px;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.22s, transform 0.22s, background 0.22s;
}
.highlight-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-2);
  transform: translateY(-3px);
  color: var(--text);
}
.highlight-icon {
  color: var(--accent);
  font-size: 0.7rem;
}

/* ─────────────────────────────────────────────────────────
   SKILLS PAGE
   ───────────────────────────────────────────────────────── */
.skills-section { padding: 0 0 72px; }
.skills-block { margin-bottom: 56px; }
.skill-category { margin-bottom: 32px; }
.category-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-tag {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-card);
  transition: all 0.22s;
  cursor: default;
}
.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* TIMELINE */
.experience-section { padding: 0 0 96px; }
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 44px;
}
.timeline-dot {
  position: absolute;
  left: -32px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: border-color 0.22s, transform 0.22s;
}
.timeline-item:hover .timeline-content {
  border-color: var(--border-2);
  transform: translateX(4px);
}
.timeline-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.timeline-role {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.timeline-period {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}
.timeline-desc {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────
   PROJECTS PAGE
   ───────────────────────────────────────────────────────── */
.featured-projects { padding: 0 0 72px; }
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.featured-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-accent);
}
.featured-card-reverse { direction: rtl; }
.featured-card-reverse > * { direction: ltr; }

/* Browser mock */
.preview-browser {
  background: #0D1B2E;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  overflow: hidden;
}
.browser-bar {
  background: #1A2D47;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }
.browser-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--text-3);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview-content {
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-3);
}
.healthcare-preview { background: linear-gradient(135deg, #0a1f35, #0d2a4a); }
.construction-preview { background: linear-gradient(135deg, #1a1408, #261e0a); }
.preview-icon { font-size: 2.5rem; opacity: 0.6; }

.project-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.project-title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.project-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 18px;
}
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.project-stack span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-2);
  padding: 3px 12px;
  border-radius: 100px;
}
.project-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* OTHER PROJECTS GRID */
.other-projects { padding: 0 0 96px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.project-card:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 20px rgba(0,191,255,0.08);
}
.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-card-icon { font-size: 1.8rem; opacity: 0.7; }
.project-card-links { display: flex; gap: 12px; align-items: center; }
.project-card-links a {
  font-size: 0.88rem;
  color: var(--text-3);
  transition: color 0.2s;
  font-weight: 500;
}
.project-card-links a:hover { color: var(--accent); }
.coming-soon {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}
.project-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.project-card-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}
.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.project-card-tags span {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-3);
  border: 1px solid var(--border);
  padding: 2px 10px;
  border-radius: 100px;
}

/* ─────────────────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────────────────── */
.contact-section { padding: 0 0 96px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.contact-info-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon { font-size: 1.3rem; margin-top: 2px; }
.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 0.95rem;
  color: var(--text-2);
  transition: color 0.2s;
}
.contact-value:hover { color: var(--accent); }

.availability-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 16px 20px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: #86efac;
  font-weight: 500;
}
.avail-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

/* FORM */
.contact-form-wrap { }
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.22s, box-shadow 0.22s;
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,191,255,0.1);
}

.form-message {
  padding: 12px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-message.success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
}
.form-message.error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5;
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-3);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-image-wrap { order: -1; }
  .image-frame { width: 200px; height: 200px; }
  .image-glow { width: 240px; height: 240px; }

  .featured-card { grid-template-columns: 1fr; gap: 28px; direction: ltr; }
  .featured-card-reverse { direction: ltr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,25,47,0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 24px 28px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-cta { align-self: flex-start; }

  .hero { padding-top: calc(var(--nav-h) + 32px); min-height: auto; padding-bottom: 48px; }
  .hero-name { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-tagline { font-size: 1rem; }
  .hero-actions { gap: 12px; }
  .btn { padding: 11px 22px; font-size: 0.9rem; }

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

  .featured-card { padding: 24px; }

  .timeline { padding-left: 24px; }
  .timeline-dot { left: -24px; }
  .timeline-header { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}