/* ============================================
   PORTFOLIO — Manupendra Tiwari
   Terminal-Inspired Dark Aesthetic
   ============================================ */

:root {
  --bg: #fafafa;
  --bg-alt: #f0f0f0;
  --surface: #ffffff;
  --surface-hover: #f5f5ff;
  --text: #1a1a2e;
  --text-secondary: #555570;
  --text-dim: #888;
  --accent: #22d3ee;
  --accent-2: #818cf8;
  --accent-glow: 0 0 20px rgba(34, 211, 238, 0.3);
  --green: #4ade80;
  --yellow: #facc15;
  --red: #f87171;
  --accent-bg: rgba(34, 211, 238, 0.08);
  --border: #e2e2e8;
  --shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.04), 0 12px 30px rgba(0,0,0,0.08);
  --nav-bg: rgba(250,250,250,0.88);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0a0a14;
  --bg-alt: #0f0f1c;
  --surface: #12122a;
  --surface-hover: #1a1a3a;
  --text: #e4e4f0;
  --text-secondary: #8888a8;
  --text-dim: #555570;
  --accent: #22d3ee;
  --accent-2: #818cf8;
  --accent-glow: 0 0 30px rgba(34, 211, 238, 0.25);
  --green: #4ade80;
  --yellow: #facc15;
  --red: #f87171;
  --accent-bg: rgba(34, 211, 238, 0.07);
  --border: #1e1e3a;
  --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.3), 0 12px 30px rgba(0,0,0,0.4);
  --nav-bg: rgba(10,10,20,0.9);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }
.accent-glow { color: var(--accent); text-shadow: var(--accent-glow); }

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.nav-logo {
  font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700;
  letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
  transition: color var(--transition); position: relative;
  font-family: var(--font-mono);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  background: none; border: 1px solid var(--border); border-radius: 50%;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-secondary); transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 24px 40px; z-index: 999; transform: translateY(-10px); opacity: 0;
  transition: all var(--transition);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--text-secondary); font-family: var(--font-mono); }
.mobile-menu a:hover { color: var(--accent); }

/* --- Hero --- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 100px 0 60px;
}
.hero-particles {
  position: absolute; inset: 0; z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

/* Terminal bar */
.terminal-bar {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px 8px 0 0;
  padding: 10px 16px; font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--text-dim);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: var(--red); }
.terminal-dot.yellow { background: var(--yellow); }
.terminal-dot.green { background: var(--green); }
.terminal-bar-text { margin-left: 8px; }

.terminal-block {
  background: var(--surface); border: 1px solid var(--border); border-top: none;
  padding: 16px 20px; font-family: var(--font-mono); font-size: 0.88rem;
  margin-bottom: 0;
}
.terminal-block:last-of-type { border-radius: 0 0 8px 8px; margin-bottom: 32px; }
.terminal-cmd { color: var(--text-dim); }
.terminal-prompt { color: var(--green); margin-bottom: 4px; }
.cmd-text { color: var(--accent); }
.terminal-output { color: var(--accent-2); font-size: 1rem; font-weight: 500; }

.cursor-blink { animation: blink 1s step-end infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px;
}
.hero-desc {
  font-size: 1.05rem; color: var(--text-secondary); max-width: 640px;
  margin-bottom: 28px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 600; font-family: var(--font-mono);
  transition: all var(--transition); cursor: pointer; border: none;
}
.btn-primary {
  background: var(--accent); color: #0a0a14;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(34, 211, 238, 0.5); }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text-secondary); border: 1px solid var(--border);
  padding: 10px 12px; border-radius: 50%;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Capability cards */
.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cap-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.cap-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.cap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-icon { color: var(--accent); margin-bottom: 12px; }
.cap-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.cap-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

/* --- Sections --- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-cmd {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-dim);
  margin-bottom: 12px; text-align: center;
}
.section-title {
  font-size: 2rem; font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 16px; text-align: center;
}
.section-subtitle {
  text-align: center; color: var(--text-secondary); font-size: 1rem;
  max-width: 550px; margin: 0 auto 48px;
}

/* --- Stats --- */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  transition: all var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.stat-number {
  font-size: 2.8rem; font-weight: 800; color: var(--accent);
  font-family: var(--font-mono); display: block; line-height: 1;
}
.stat-card h3 { font-size: 0.95rem; font-weight: 700; margin: 8px 0 4px; }
.stat-card p { font-size: 0.8rem; color: var(--text-secondary); }

/* --- Skills --- */
.skills-tile-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.skill-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 10px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; transition: all var(--transition); cursor: default;
}
.skill-tile i { font-size: 2rem; line-height: 1; }
.skill-tile-svg { width: 32px; height: 32px; }
.skill-tile span { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); line-height: 1.3; }
.skill-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.skill-tile:hover span { color: var(--accent); }
.skill-hidden { display: none; }
.skills-tile-grid.expanded .skill-hidden {
  display: flex; animation: skillFadeIn 0.4s cubic-bezier(0.4,0,0.2,1) both;
}
.skills-tile-grid.expanded .skill-hidden:nth-child(n+19) { animation-delay: 0.03s; }
.skills-tile-grid.expanded .skill-hidden:nth-child(n+21) { animation-delay: 0.06s; }
.skills-tile-grid.expanded .skill-hidden:nth-child(n+25) { animation-delay: 0.09s; }
.skills-tile-grid.expanded .skill-hidden:nth-child(n+29) { animation-delay: 0.12s; }
.skills-tile-grid.expanded .skill-hidden:nth-child(n+33) { animation-delay: 0.15s; }
.skills-tile-grid.expanded .skill-hidden:nth-child(n+37) { animation-delay: 0.18s; }

@keyframes skillFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.skills-toggle-wrap { text-align: center; margin-top: 28px; }
.skills-toggle { display: inline-flex; align-items: center; gap: 6px; }
.skills-toggle svg { transition: transform var(--transition); }
.skills-toggle.active svg { transform: rotate(180deg); }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -40px; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent);
  border: 3px solid var(--bg); box-shadow: 0 0 0 3px var(--accent), 0 0 12px rgba(34,211,238,0.3);
  z-index: 1;
}
.timeline-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: all var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.timeline-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px; flex-wrap: wrap; gap: 8px;
}
.timeline-header-left { display: flex; align-items: center; gap: 14px; }
.company-logo {
  width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-sm);
  background: #fff; padding: 4px; border: 1px solid var(--border); flex-shrink: 0;
}
.timeline-header h3 { font-size: 1.1rem; font-weight: 700; }
.timeline-company { font-size: 0.9rem; color: var(--accent); font-weight: 500; margin-top: 2px; }
.timeline-date {
  font-size: 0.8rem; color: var(--text-dim); font-weight: 500;
  font-family: var(--font-mono); white-space: nowrap;
}
.timeline-list { list-style: none; padding: 0; }
.timeline-list li {
  position: relative; padding-left: 18px; margin-bottom: 8px;
  color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7;
}
.timeline-list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.timeline-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.timeline-tags span {
  padding: 3px 10px; background: var(--accent-bg); color: var(--accent);
  font-size: 0.72rem; font-weight: 500; border-radius: 20px; font-family: var(--font-mono);
}

.highlight-badge {
  display: inline-block; margin-left: 6px; padding: 3px 12px;
  background: linear-gradient(135deg, #fde047, #f59e0b, #fde047);
  background-size: 200% 100%;
  color: #1a0a00; font-size: 0.72rem; font-weight: 700;
  border-radius: 20px; font-family: var(--font-mono);
  letter-spacing: 0.3px; vertical-align: middle;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.4), 0 0 4px rgba(245, 158, 11, 0.3);
  animation: badgePulse 2s ease-in-out infinite, badgeShimmer 3s linear infinite;
  position: relative; overflow: hidden;
}
.highlight-badge::after {
  content: ''; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  animation: shimmerSwipe 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(250, 204, 21, 0.25), 0 0 4px rgba(245, 158, 11, 0.2); }
  50% { box-shadow: 0 0 22px rgba(250, 204, 21, 0.55), 0 0 8px rgba(245, 158, 11, 0.4); }
}
@keyframes badgeShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes shimmerSwipe {
  0%, 100% { left: -60%; }
  50% { left: 120%; }
}

/* --- Certifications --- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  transition: all var(--transition);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.cert-badge { width: 90px; height: 90px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.cert-badge img { width: 100%; height: 100%; object-fit: contain; }
.cert-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.cert-card p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 8px; }
.cert-issuer { font-size: 0.72rem; color: var(--accent); font-weight: 500; font-family: var(--font-mono); }

/* --- Projects --- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.project-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.project-card:hover::before { transform: scaleX(1); }
.project-number {
  font-size: 2.5rem; font-weight: 800; color: var(--accent-bg); line-height: 1;
  margin-bottom: 10px; font-family: var(--font-mono);
}
[data-theme="dark"] .project-number { color: rgba(34, 211, 238, 0.1); }
.project-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.project-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tags span {
  padding: 3px 10px; background: var(--accent-bg); color: var(--accent);
  font-size: 0.7rem; font-weight: 500; border-radius: 20px; font-family: var(--font-mono);
}

/* Expandable project detail */
.project-summary { margin-bottom: 0; }
.project-detail {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}
.project-card.expanded .project-detail {
  max-height: 500px; opacity: 1; margin-top: 14px;
}
.project-detail ul {
  list-style: none; padding: 0; margin: 0;
}
.project-detail li {
  position: relative; padding-left: 16px; margin-bottom: 8px;
  color: var(--text-secondary); font-size: 0.82rem; line-height: 1.7;
}
.project-detail li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.project-expand-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  color: var(--accent); font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 600; padding: 6px 0 0;
  transition: all var(--transition);
}
.project-expand-btn:hover { opacity: 0.8; }
.project-expand-btn svg { transition: transform var(--transition); }
.project-card.expanded .project-expand-btn svg { transform: rotate(180deg); }
.project-card.expanded .project-tags { margin-top: 14px; }

/* --- Education --- */
.education-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: flex; align-items: center; gap: 24px;
  max-width: 700px; margin: 0 auto; transition: all var(--transition);
}
.education-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.edu-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--accent-bg); color: var(--accent); flex-shrink: 0;
}
.education-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.edu-college { color: var(--accent); font-weight: 500; font-size: 0.9rem; margin-bottom: 2px; }
.edu-meta { color: var(--text-secondary); font-size: 0.82rem; font-family: var(--font-mono); }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  transition: all var(--transition); display: flex; flex-direction: column;
  align-items: center; gap: 8px; color: var(--text-secondary);
}
.contact-card svg { color: var(--accent); }
.contact-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.contact-card p { font-size: 0.82rem; word-break: break-all; }
.contact-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--accent); background: var(--surface-hover);
}

/* --- Footer --- */
.footer {
  padding: 28px 0; text-align: center;
  border-top: 1px solid var(--border); color: var(--text-dim);
  font-size: 0.85rem; font-family: var(--font-mono);
}
.footer strong { color: var(--accent); }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.hero .reveal { transition-duration: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-tile-grid { grid-template-columns: repeat(4, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; top: 60px; }
  .hero { padding: 80px 0 40px; }
  .hero-headline { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .cap-grid { grid-template-columns: 1fr; }
  .skills-tile-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .timeline { padding-left: 28px; }
  .timeline-dot { left: -28px; }
  .timeline-header { flex-direction: column; }
  .education-card { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
  .terminal-bar-text { display: none; }
}

@media (max-width: 480px) {
  .skills-tile-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .skill-tile { padding: 16px 6px 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cert-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cap-grid { gap: 12px; }
  .btn { text-align: center; justify-content: center; }
}
