/* =========================================================
   Portfolio — Modern minimal design (coral accent)
   Built on Bootstrap 5.3.8 CSS variables.
   ========================================================= */

:root {
  /* Typography */
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Coral accent scale */
  --coral-50: #fff4f1;
  --coral-100: #ffe5df;
  --coral-200: #ffc9ba;
  --coral-500: #f05535;
  --coral-600: #d93a1f;
  --coral-700: #b5301a;
  --coral-800: #8f2a17;

  /* Slate neutrals */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --accent: var(--coral-600);
  --accent-strong: var(--coral-700);
  --accent-soft: var(--coral-100);
  --accent-faint: var(--coral-50);
  --ink: var(--slate-900);
  --body: var(--slate-600);
  --muted: var(--slate-500);
  --line: var(--slate-200);
  --page: #ffffff;
  --surface: #ffffff;
  --surface-alt: var(--slate-50);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px -12px rgba(15, 23, 42, 0.15);
  --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, 0.25);
  --radius: 1.25rem;

  /* Recolor Bootstrap accent to coral */
  --bs-primary: #f05535;
  --bs-primary-rgb: 240, 85, 53;
  --bs-link-color: #f05535;
  --bs-link-hover-color: #b5301a;
  --bs-link-color-rgb: 240, 85, 53;
  --bs-link-hover-color-rgb: 181, 48, 26;
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--page);
  color: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

section[id] {
  scroll-margin-top: 4.5rem;
}

a {
  transition: color 0.2s ease;
}

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.text-gradient {
  background: linear-gradient(90deg, var(--coral-500), var(--coral-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ---- */
.btn {
  border-radius: 0.75rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  transition: all 0.2s ease;
}
.btn-lg {
  padding: 0.85rem 1.6rem;
  border-radius: 0.85rem;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--coral-600);
  --bs-btn-border-color: var(--coral-600);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--coral-700);
  --bs-btn-hover-border-color: var(--coral-700);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--coral-800);
  --bs-btn-active-border-color: var(--coral-800);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--coral-600);
  --bs-btn-disabled-border-color: var(--coral-600);
  --bs-btn-focus-shadow-rgb: 240, 85, 53;
  box-shadow: 0 8px 20px -8px rgba(240, 85, 53, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-outline-accent {
  color: var(--accent);
  border: 1px solid var(--coral-500);
  background: transparent;
}
.btn-outline-accent:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Navigation ---- */
.main-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-block: 0.6rem;
}
.main-nav .navbar-brand {
  display: flex;
  align-items: center;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.7rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 16px -6px rgba(240, 85, 53, 0.6);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin-left: 0.75rem;
  white-space: nowrap;
}
.main-nav .navbar-nav .nav-link {
  color: var(--slate-600);
  font-weight: 500;
  font-size: 0.9rem;
  padding-inline: 0.9rem;
  position: relative;
}
.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
  color: var(--accent);
}
.main-nav .navbar-toggler {
  border: 1px solid var(--line);
}
.nav-cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
}

/* ---- Sections ---- */
.section {
  padding: 5.5rem 0;
}
.section-alt {
  background: var(--surface-alt);
}
.section-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.section-head p {
  color: var(--body);
  margin: 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---- Hero ---- */
.hero {
  padding: 9rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52rem 30rem at 85% 5%, var(--accent-faint), transparent 62%);
  pointer-events: none;
}
.hero > .container {
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.hero-lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero-text {
  color: var(--body);
  max-width: 40rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 1.5rem 0 1.75rem;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--body);
}
.hero-meta i,
.hero-meta svg {
  color: var(--accent);
  width: 1.05rem;
  text-align: center;
}
.hero-meta a {
  color: var(--body);
  text-decoration: none;
  font-weight: 500;
}
.hero-meta a:hover {
  color: var(--accent);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.social-links {
  display: flex;
  gap: 0.65rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 1.05rem;
  transition: all 0.2s ease;
}
.social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  max-width: 24rem;
  margin-inline: auto;
}
.hero-img-frame {
  border-radius: 2rem;
  overflow: hidden;
  border: 6px solid #fff;
  outline: 1px solid var(--line);
  background: var(--accent-soft);
  box-shadow: var(--shadow-lg);
}
.hero-img-frame img {
  width: 100%;
  display: block;
}
.hero-float {
  position: absolute;
  bottom: -1.25rem;
  left: -2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.hero-float i,
.hero-float svg {
  color: var(--accent);
  font-size: 1.3rem;
}
.hero-float small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
}
@media (max-width: 991.98px) {
  .hero-float {
    left: 1rem;
  }
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 4.5rem;
}
.quick-fact {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.quick-fact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.quick-fact i,
.quick-fact svg {
  color: var(--accent);
  font-size: 1.15rem;
  width: 1.4rem;
  text-align: center;
}
.quick-fact .label,
.quick-fact .value {
  display: block;
}
.quick-fact .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.quick-fact .value {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}

/* ---- Experience timeline ---- */
.timeline-item {
  position: relative;
  padding-left: 3.5rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-faint);
}
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.timeline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.timeline-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0;
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-faint);
  border: 1px solid var(--accent-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.timeline-company {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.4rem 0 0;
}
.company-projects {
  margin-top: 1.25rem;
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
}
.company-projects-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.company-project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.company-project-list li {
  font-size: 0.85rem;
  background: var(--slate-50);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.35rem 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.company-project-list li:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.company-project-list a {
  color: var(--body);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}
.company-project-list a:hover {
  color: var(--accent);
}
.company-project-list .no-link {
  color: var(--muted);
}

/* ---- Education ---- */
.edu-card {
  display: flex;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.edu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.edu-icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: var(--accent-faint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.edu-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.35rem;
}
.edu-card .meta {
  color: var(--body);
  font-size: 0.95rem;
  margin: 0;
}
.edu-card .year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0.7rem 0 0;
}

/* ---- Skills ---- */
.skill-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.skill-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
}
.skill-card h3 i,
.skill-card h3 svg {
  color: var(--accent);
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--slate-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.chip:hover {
  border-color: var(--accent-soft);
}
.chip .level {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
}
.level-good {
  background: var(--accent-soft);
  color: var(--coral-800);
}
.level-medium {
  background: #fef9c3;
  color: #a16207;
}
.level-starter {
  background: var(--slate-100);
  color: var(--slate-500);
}

/* ---- Interests ---- */
.interest-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.interest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.interest-card i,
.interest-card svg {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  font-size: 1.15rem;
  margin-top: 0.15rem;
}
.interest-card p {
  margin: 0;
  color: var(--body);
  font-size: 0.95rem;
}

/* ---- Project filters ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  color: var(--slate-600);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  color: var(--accent);
  border-color: var(--coral-500);
}
.filter-btn.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 16px -6px rgba(240, 85, 53, 0.6);
}

/* ---- Project cards ---- */
.project-tile {
  scroll-margin-top: 6rem;
}
.project-tile.project-highlight .project-card {
  animation: project-highlight-flash 2.5s ease;
}
@keyframes project-highlight-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 85, 53, 0);
    border-color: var(--line);
  }
  20% {
    box-shadow: 0 0 0 5px rgba(240, 85, 53, 0.35);
    border-color: var(--accent);
  }
  80% {
    box-shadow: 0 0 0 5px rgba(240, 85, 53, 0.35);
    border-color: var(--accent);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 85, 53, 0);
    border-color: var(--line);
  }
}
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.project-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: var(--accent-faint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.project-status {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.status-live {
  background: var(--accent-soft);
  color: var(--coral-800);
}
.status-soon {
  background: #fef9c3;
  color: #a16207;
}
.status-removed {
  background: #fee2e2;
  color: #b91c1c;
}
.project-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.project-desc {
  color: var(--body);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: auto 0 1.25rem;
}
.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.28rem 0.6rem;
  border-radius: 0.5rem;
  background: var(--slate-100);
  color: var(--slate-600);
}
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.project-company {
  font-size: 0.85rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-company i,
.project-company svg {
  color: var(--accent);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.project-link:hover {
  color: var(--accent-strong);
}
.project-link i,
.project-link svg {
  font-size: 0.75rem;
}
.project-state {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ---- Awards ---- */
.award-card {
  max-width: 44rem;
  margin: 0;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: transform 0.25s ease;
}
.award-card:hover {
  transform: translateY(-5px);
}
.award-card img {
  max-width: 100%;
  width: 40%;
  display: block;
  margin-right: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
}

/* ---- Cover letter ---- */
.cover-letter {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 1rem;
  padding: 2.5rem 2.75rem;
  box-shadow: var(--shadow-sm);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--body);
}
.cover-letter p:last-of-type {
  margin-bottom: 0;
}
.cover-letter .greeting {
  font-weight: 600;
  color: var(--ink);
}
.cover-letter .closing {
  margin-top: 1.5rem;
}
.cover-letter .signature {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 4rem 0 2.25rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}
.footer-brand::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
}
.footer-tagline {
  max-width: 22rem;
  font-size: 0.95rem;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-email:hover {
  color: var(--accent);
}
.footer-email i,
.footer-email svg {
  color: var(--accent);
}
.footer-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-hr {
  border-color: rgba(148, 163, 184, 0.2);
  opacity: 1;
  margin: 1.25rem 0 0.5rem;
}
.text-slate {
  color: var(--slate-400);
}
.footer-social {
  margin-bottom: 1rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 1.05rem;
  margin-right: 0.6rem;
  transition: all 0.2s ease;
}
.footer-social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.back-top {
  display: inline-flex;
  align-items: center;
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.9rem;
}
.back-top:hover {
  color: #fff;
}
@media (max-width: 991.98px) {
  .footer-links {
    columns: 1;
  }
  .text-lg-end .footer-social {
    text-align: left;
  }
}

/* ---- Accessibility ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .project-card,
  .quick-fact,
  .timeline-card,
  .edu-card,
  .interest-card,
  .btn,
  .social-link,
  .footer-social-link {
    transition: none;
  }
}
