/* ==========================================
   VARIABLES & RESET
   ========================================== */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #0f1520;
  --bg-card: #141c2b;
  --bg-card-hover: #1a2438;

  --text-primary: #e8ecf4;
  --text-secondary: #8b97b0;
  --text-muted: #5a6780;

  --accent: #4f8fff;
  --accent-soft: rgba(79, 143, 255, 0.12);
  --accent-glow: rgba(79, 143, 255, 0.25);
  --accent-secondary: #38bdf8;

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --nav-height: 72px;
  --section-padding: 120px;
  --container-width: 1120px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::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-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: white;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-secondary);
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 14, 23, 0.95);
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-weight: 400;
}

.nav-logo:hover {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10, 14, 23, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--text-secondary);
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover {
  color: var(--text-primary);
}

/* ==========================================
   HERO
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(79, 143, 255, 0.08), transparent),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(56, 189, 248, 0.05), transparent);
  pointer-events: none;
}

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

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-name-first {
  display: block;
  color: var(--text-primary);
}

.hero-name-last {
  display: block;
  color: var(--accent);
}

.hero-tagline {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-tagline em {
  font-style: normal;
  color: var(--text-primary);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 24px rgba(79, 143, 255, 0.25);
}

.btn-primary:hover {
  background: #6aa3ff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 143, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-social {
  display: flex;
  gap: 16px;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.25s var(--ease-out);
}

.hero-social a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.hero-social a svg {
  width: 20px;
  height: 20px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-border {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: border-color 0.3s;
}

.hero-image-border:hover {
  border-color: var(--accent-glow);
}

.hero-image-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-glow), transparent 50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.hero-image-border:hover::before {
  opacity: 1;
}

.hero-image {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
}

.hero-scroll a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.hero-scroll a:hover {
  color: var(--accent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================
   SECTIONS
   ========================================== */

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ==========================================
   ABOUT
   ========================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 17px;
}

.about-text p strong {
  color: var(--text-primary);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.stat-card:hover {
  border-color: var(--accent-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================
   TIMELINE (Experience)
   ========================================== */

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

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent);
  z-index: 1;
}

.timeline-item:first-child .timeline-marker {
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s var(--ease-out);
}

.timeline-content:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.timeline-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 15px;
  color: var(--accent);
  margin-top: 2px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.timeline-details {
  margin-bottom: 20px;
}

.timeline-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 15px;
}

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

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tags span {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ==========================================
   PROJECTS
   ========================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--accent-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(79, 143, 255, 0.05);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.project-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.project-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.project-links a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

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

.project-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.project-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-tags span {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}


/* ==========================================
   RESEARCH
   ========================================== */

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.research-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.research-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.research-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.research-advisor {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 14px;
}

.research-card p:last-of-type {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.research-period {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================
   SKILLS
   ========================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s var(--ease-out);
}

.skill-group:hover {
  border-color: var(--border-hover);
}

.skill-group h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ==========================================
   EDUCATION
   ========================================== */

.education-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.education-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.education-header h3 {
  font-size: 24px;
  font-weight: 600;
}

.education-location {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.education-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.education-degree {
  font-size: 18px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}

.education-detail {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
}

.education-courses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.course-group h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.course-group p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.scholarships h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.scholarship-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scholarship {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-primary);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.scholarship-name {
  font-size: 15px;
  color: var(--text-secondary);
}

.scholarship-amount {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
}

/* ==========================================
   LEADERSHIP
   ========================================== */

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.leadership-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s var(--ease-out);
}

.leadership-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.leadership-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.leadership-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.leadership-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.leadership-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.leadership-card--has-image {
  padding: 0;
  overflow: hidden;
}

.leadership-card--has-image h3,
.leadership-card--has-image p {
  padding: 0 28px;
}

.leadership-card--has-image h3 {
  padding-top: 20px;
}

.leadership-card--has-image p {
  padding-bottom: 24px;
}

.leadership-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.leadership-period {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==========================================
   CONTACT
   ========================================== */

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

.contact-intro {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
  color: var(--text-secondary);
}

.contact-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-4px);
  color: var(--text-primary);
}

.contact-card svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-value {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.footer-content {
  text-align: center;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* ==========================================
   REVEAL ANIMATION
   ========================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* stagger children in grids */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-content {
    grid-template-columns: 1fr 300px;
    gap: 48px;
  }

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

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .education-courses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
  }

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

  .hero-text {
    order: 2;
    text-align: center;
  }

  .hero-image-wrap {
    order: 1;
    max-width: 280px;
    margin: 0 auto;
  }

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

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

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

  .hero-scroll {
    display: none;
  }

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

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-header {
    flex-direction: column;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-card {
    padding: 24px;
  }

  .education-header {
    flex-direction: column;
  }

  .section-title {
    margin-bottom: 40px;
  }
}

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

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

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

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

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline-marker {
    left: -24px;
    width: 12px;
    height: 12px;
  }

  .timeline-content {
    padding: 20px;
  }
}
