/* ============================================================
   Portfolio CSS — Modern Design System
   ============================================================ */

/* ============================================================
   1. CSS Custom Properties (Light / Dark Themes)
   ============================================================ */
:root {
  --bg:            #ffffff;
  --bg-secondary:  #f8fafc;
  --bg-card:       #ffffff;
  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-muted:    #94a3b8;
  --accent:        #0ea5e9;
  --accent-dark:   #0284c7;
  --accent-light:  #e0f2fe;
  --accent-2:      #8b5cf6;
  --border:        #e2e8f0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:     0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.07), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-hover:  0 20px 25px -5px rgba(0,0,0,.10), 0 10px 10px -5px rgba(0,0,0,.04);
  --nav-bg:        rgba(255,255,255,.92);
  --nav-border:    rgba(226,232,240,.8);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all .3s ease;
}

[data-theme="dark"] {
  --bg:            #0f172a;
  --bg-secondary:  #1e293b;
  --bg-card:       #1e293b;
  --text-primary:  #f1f5f9;
  --text-secondary:#cbd5e1;
  --text-muted:    #64748b;
  --accent:        #38bdf8;
  --accent-dark:   #0ea5e9;
  --accent-light:  rgba(56,189,248,.12);
  --accent-2:      #a78bfa;
  --border:        #334155;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.3);
  --shadow-md:     0 4px 6px -1px rgba(0,0,0,.4);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.5);
  --shadow-hover:  0 20px 25px -5px rgba(0,0,0,.6);
  --nav-bg:        rgba(15,23,42,.92);
  --nav-border:    rgba(51,65,85,.8);
}

/* ============================================================
   2. Base & Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg);
  transition: background-color .3s ease, color .3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; }

p { margin-bottom: 1em; }

/* ============================================================
   3. Navbar
   ============================================================ */
#mainNav {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
  padding: .7rem 0;
  transition: var(--transition);
  z-index: 1050;
}

#mainNav.scrolled {
  box-shadow: var(--shadow-md);
}

#mainNav .container { max-width: 1180px; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--text-primary) !important;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.brand-initials {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .5px;
  flex-shrink: 0;
}

.brand-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-size: .875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  padding: .45rem .85rem !important;
  border-radius: 6px;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
  background: var(--accent-light);
}

/* Theme toggle button */
.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: .875rem;
  padding: 0;
  flex-shrink: 0;
}
.theme-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .35rem .55rem;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815,23,42,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
[data-theme="dark"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28241,245,249,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   4. Hero Section
   ============================================================ */
#hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

/* Decorative radial blob */
#hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.09) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="dark"] #hero::before {
  background: radial-gradient(circle, rgba(56,189,248,.06) 0%, transparent 70%);
}

.hero-row { min-height: calc(100vh - 160px); }

.hero-greeting {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .2rem;
  letter-spacing: .4px;
}

.hero-name {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: .45rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-headline {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: .85rem;
  font-family: 'Inter', sans-serif;
}

.hero-typed {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.1rem;
  min-height: 1.75rem;
}

.typed-cursor {
  display: inline-block;
  animation: blink 1s step-start infinite;
  font-weight: 300;
  opacity: 1;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

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

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2rem;
}

/* Primary gradient button */
.btn-action {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.btn-action:hover {
  background: linear-gradient(135deg, var(--accent-dark), #7c3aed);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: #fff !important;
}

/* Outline button */
.btn-action-outline {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.5rem;
  border: 1.5px solid var(--accent);
  color: var(--accent) !important;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-action-outline:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Small card link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: var(--transition);
}
.card-link:hover {
  color: var(--accent-dark);
  gap: .5rem;
}

.hero-social {
  display: flex;
  gap: .85rem;
}
.hero-social a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
}
.hero-social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Hero profile photo */
.hero-image-col { padding-top: 2rem; }

.hero-image-wrapper {
  position: relative;
  display: inline-block;
}
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: .15;
  z-index: 0;
}
.hero-photo {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

/* Scroll cue */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
  text-decoration: none;
}
.scroll-indicator:hover { color: var(--accent); }
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-7px); }
}

/* ============================================================
   5. Sections — Common
   ============================================================ */
.section { padding: 5rem 0; }
.section .container { max-width: 1180px; }

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

.section-header { margin-bottom: 2.75rem; }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  margin-bottom: 0;
  color: var(--text-primary);
}
.section-title::after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  margin: .7rem auto 0;
}

.subsection-title {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.4rem;
  margin-top: .25rem;
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   6. About Section
   ============================================================ */
.about-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.role-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--accent);
}
.role-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--accent-light), rgba(139,92,246,.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.35rem;
  color: var(--accent);
}
.role-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

/* Contact strip */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
  padding: 1.4rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  padding: .45rem .95rem;
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}
.contact-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   7. Achievement Cards
   ============================================================ */
.achievement-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.achievement-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--accent);
}
.achievement-date {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}
.achievement-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-light), rgba(139,92,246,.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.achievement-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .65rem;
  color: var(--text-primary);
}
.achievement-card p {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

/* ============================================================
   8. Project Cards
   ============================================================ */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: var(--accent);
}

.project-image {
  height: 195px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.project-card.featured .project-image { height: 215px; }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.72);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: .6rem;
  padding: 1.1rem;
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }

.overlay-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .85rem;
  background: rgba(255,255,255,.95);
  color: #0f172a !important;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.overlay-link:hover {
  background: var(--accent);
  color: #fff !important;
}
.overlay-link-2 {
  background: rgba(255,220,100,.95);
  color: #0f172a !important;
}
.overlay-link-2:hover {
  background: #f59e0b;
  color: #fff !important;
}

.project-body {
  padding: 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-title {
  font-family: 'Inter', sans-serif;
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .55rem;
}
.project-desc {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: .9rem;
  flex: 1;
}
.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; }

.tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 4px;
  padding: .18rem .55rem;
  letter-spacing: .2px;
}
[data-theme="dark"] .tag {
  background: rgba(56,189,248,.12);
  color: var(--accent);
}

/* ============================================================
   9. Academic Outreach Cards
   ============================================================ */
.outreach-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.outreach-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.outreach-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .65rem;
}
.outreach-card p {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.year-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 4px;
  margin-left: .45rem;
  font-family: 'Inter', sans-serif;
  vertical-align: middle;
}

/* ============================================================
   10. Timeline (Experience & Education)
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 1.75rem;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 60%, var(--border) 100%);
  border-radius: 2px;
}

.timeline-item { position: relative; padding-bottom: 2.25rem; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -1.75rem;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2.5px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent-light);
  transform: translateX(-6px);
}
[data-theme="dark"] .timeline-dot { border-color: var(--bg-secondary); }

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-left: .75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .45rem;
}
.timeline-role {
  font-family: 'Inter', sans-serif;
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.timeline-period {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: .2rem .6rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.timeline-company {
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  color: var(--text-secondary);
  margin-bottom: .7rem;
}
.timeline-bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
  font-size: .875rem;
  line-height: 1.75;
}
.timeline-bullets li { margin-bottom: .25rem; }

/* ============================================================
   11. Skills Grid
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
}
.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.skill-category:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.skill-cat-title {
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: .85rem;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.skill-tag {
  display: inline-block;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  padding: .28rem .7rem;
  border-radius: 6px;
  transition: var(--transition);
  cursor: default;
}
.skill-tag:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ============================================================
   12. Footer
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.footer-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-primary);
}
.footer-social { display: flex; gap: .65rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   13. Responsive
   ============================================================ */
@media (max-width: 991px) {
  #hero { padding-top: 110px; }
  .hero-image-col { margin-top: 2.5rem; }
  .hero-photo { width: 260px; height: 260px; }
  .hero-image-wrapper::before { inset: -10px; }
}

@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }

  #hero { padding-top: 100px; }
  .hero-content { text-align: center; }
  .hero-bio { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-cta,
  .hero-social { justify-content: center; }

  .timeline { padding-left: 1.4rem; }
  .timeline-header { flex-direction: column; gap: .35rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-social { justify-content: center; }

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

  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .hero-photo { width: 210px; height: 210px; }
  .contact-strip { padding: 1rem; }
}
