/* Basic page styles */
:root {
  --background:
    radial-gradient(circle at top left, rgba(133, 211, 232, 0.16), transparent 34%),
    linear-gradient(135deg, #f4efe6 0%, #d8dde0 42%, #293139 100%);
  --hero-background:
    radial-gradient(circle at 50% 28%, rgba(143, 214, 232, 0.26), transparent 26%),
    linear-gradient(rgba(40, 50, 59, 0.66), rgba(244, 239, 230, 0.84)),
    url('./img/hero-bg.png');
  --surface: rgba(244, 239, 230, 0.78);
  --about-surface: rgba(249, 246, 239, 0.88);
  --surface-strong: rgba(244, 239, 230, 0.86);
  --surface-transparent: rgba(244, 239, 230, 0.7);
  --nav-surface: rgba(244, 239, 230, 0.2);
  --nav-fallback: rgba(244, 239, 230, 0.54);
  --glass-bg: rgba(244, 239, 230, 0.18);
  --glass-border: rgba(255, 255, 255, 0.36);
  --glass-highlight: rgba(255, 255, 255, 0.3);
  --glass-edge: rgba(111, 191, 211, 0.12);
  --glass-shadow: 0 18px 48px rgba(30, 42, 50, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  --glass-blur: 22px;
  --text-primary: #222b32;
  --text-secondary: #3d4850;
  --text-muted: #6f7b82;
  --heading: #2b5965;
  --accent: #6fbfd3;
  --accent-bright: #9cdce9;
  --accent-hover: #8fd6e8;
  --border: rgba(143, 154, 160, 0.32);
  --border-strong: rgba(143, 214, 232, 0.58);
  --shadow: 0 18px 48px rgba(39, 49, 58, 0.1);
  --shadow-hover: 0 20px 50px rgba(39, 49, 58, 0.14), 0 0 26px rgba(143, 214, 232, 0.18);
  --focus-ring: rgba(111, 191, 211, 0.72);
  --footer-surface: #2b333b;
  --footer-text: #d8dde0;
}

html[data-theme="dark"] {
  --background:
    radial-gradient(circle at top left, rgba(111, 191, 211, 0.15), transparent 34%),
    linear-gradient(135deg, #111820 0%, #1d262d 48%, #090d11 100%);
  --hero-background:
    radial-gradient(circle at 50% 28%, rgba(111, 191, 211, 0.18), transparent 28%),
    linear-gradient(rgba(9, 13, 17, 0.72), rgba(17, 24, 32, 0.88)),
    url('./img/hero-bg.png');
  --surface: rgba(31, 41, 48, 0.82);
  --about-surface: rgba(31, 41, 48, 0.86);
  --surface-strong: rgba(39, 49, 58, 0.92);
  --surface-transparent: rgba(31, 41, 48, 0.72);
  --nav-surface: rgba(24, 32, 39, 0.24);
  --nav-fallback: rgba(24, 32, 39, 0.56);
  --glass-bg: rgba(24, 32, 39, 0.22);
  --glass-border: rgba(180, 232, 240, 0.18);
  --glass-highlight: rgba(200, 238, 244, 0.12);
  --glass-edge: rgba(143, 214, 232, 0.1);
  --glass-shadow: 0 18px 52px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(200, 238, 244, 0.12);
  --glass-blur: 24px;
  --text-primary: #edf4f5;
  --text-secondary: #c2ced2;
  --text-muted: #95a5aa;
  --heading: #9cdce9;
  --accent: #8fd6e8;
  --accent-bright: #c8eef4;
  --accent-hover: #b4e8f0;
  --border: rgba(165, 199, 207, 0.22);
  --border-strong: rgba(143, 214, 232, 0.62);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.32), 0 0 26px rgba(143, 214, 232, 0.16);
  --focus-ring: rgba(156, 220, 233, 0.82);
  --footer-surface: #10171d;
  --footer-text: #c2ced2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  font-family: Arial, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

.section,
.hero {
  scroll-margin-top: 110px;
}

/* Navigation bar */
header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  width: fit-content;
  max-width: calc(100% - 28px);
  transform: translateX(-50%);
  background-color: transparent;
}

.navbar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 32%),
    var(--nav-fallback);
  box-shadow: var(--glass-shadow);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .navbar {
    background-color: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.45) brightness(1.04);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.45) brightness(1.04);
  }
}

.navbar::before,
.navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}

.navbar::before {
  background:
    radial-gradient(circle at 14% 16%, var(--glass-highlight), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 44%),
    linear-gradient(180deg, var(--glass-bg), transparent 75%);
  opacity: 0.72;
}

.navbar::after {
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, var(--glass-highlight), transparent 28%) border-box,
    linear-gradient(315deg, var(--glass-edge), transparent 34%) border-box;
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.28),
    inset -1px -1px 1px rgba(39, 49, 58, 0.08);
  opacity: 0.64;
}

.navbar:hover,
.navbar:focus-within {
  border-color: var(--border-strong);
  box-shadow: var(--glass-shadow), 0 0 22px rgba(143, 214, 232, 0.14);
  transform: translateY(-1px);
}

.nav-links {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--accent);
  background-color: rgba(143, 214, 232, 0.16);
  outline: 2px solid transparent;
  transform: translateY(-1px);
}

.nav-links a:focus-visible,
.theme-toggle:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.theme-toggle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 38px;
  height: 38px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 18%, var(--glass-highlight), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 56%),
    var(--glass-bg);
  backdrop-filter: blur(calc(var(--glass-blur) * 0.72)) saturate(1.35) brightness(1.03);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 0.72)) saturate(1.35) brightness(1.03);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 26px rgba(39, 49, 58, 0.12),
    0 0 16px rgba(143, 214, 232, 0.12),
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(39, 49, 58, 0.06);
  transition: color 0.3s ease, filter 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle::before,
.theme-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}

.theme-toggle::before {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(145deg, var(--glass-highlight), transparent 48%);
  opacity: 0.66;
}

.theme-toggle::after {
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, var(--glass-highlight), transparent 30%) border-box,
    linear-gradient(315deg, var(--glass-edge), transparent 38%) border-box;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.24), inset -1px -1px 1px rgba(39, 49, 58, 0.08);
  opacity: 0.72;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--border-strong);
  filter: brightness(1.05);
  box-shadow: var(--glass-shadow), 0 0 20px rgba(143, 214, 232, 0.18), inset 0 1px 0 var(--glass-highlight);
  transform: translateY(-2px) scale(1.025);
}

/* Hero section */
.hero {
  min-height: 85vh;
  width: 100%;
  margin: auto;
  padding: 70px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  background: var(--hero-background);
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 650px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background-color: var(--surface-transparent);
  box-shadow: var(--shadow-hover);
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(128, 205, 226, 0.48);
}

.hero h3 {
  color: var(--text-secondary);
  font-size: 22px;
  margin-bottom: 16px;
}

.hero p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-description {
  line-height: 1.45;
}

.hero-description span {
  display: block;
}

.profile-image-wrapper {
  position: relative;
  isolation: isolate;
  width: 218px;
  height: 218px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 0 auto;
  transition: filter 0.35s ease;
}

.profile-image-wrapper::before,
.profile-image-wrapper::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.profile-image-wrapper::before {
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 30% 16%, var(--glass-highlight), transparent 26%),
    conic-gradient(from 210deg, transparent 0deg, var(--glass-edge) 56deg, var(--glass-highlight) 88deg, transparent 132deg, rgba(143, 214, 232, 0.1) 235deg, transparent 360deg),
    linear-gradient(135deg, var(--glass-bg), rgba(143, 214, 232, 0.1));
  border: 1px solid var(--glass-border);
  box-shadow:
    0 0 0 7px rgba(244, 239, 230, 0.18),
    0 18px 46px rgba(36, 45, 54, 0.2),
    0 0 28px rgba(143, 214, 232, 0.16),
    inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(calc(var(--glass-blur) * 0.55)) saturate(1.25) brightness(1.02);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 0.55)) saturate(1.25) brightness(1.02);
  transition: filter 0.35s ease, box-shadow 0.35s ease;
}

.profile-image-wrapper::after {
  inset: 7px;
  z-index: -1;
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(circle at 26% 16%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 38%);
  box-shadow:
    inset 1px 1px 2px rgba(255, 255, 255, 0.22),
    inset -1px -1px 2px rgba(39, 49, 58, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: opacity 0.35s ease;
}

.profile-image-wrapper:hover::before {
  filter: brightness(1.08);
  box-shadow:
    0 0 0 7px rgba(244, 239, 230, 0.2),
    0 20px 52px rgba(36, 45, 54, 0.22),
    0 0 34px rgba(143, 214, 232, 0.2),
    inset 0 1px 0 var(--glass-highlight);
}

.profile-image-wrapper img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-color: var(--surface-strong);
  box-shadow: 0 12px 32px rgba(36, 45, 54, 0.22);
}

.profile-socials {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icon-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(circle at 30% 18%, var(--glass-highlight), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 56%),
    var(--glass-bg);
  backdrop-filter: blur(calc(var(--glass-blur) * 0.58)) saturate(1.28) brightness(1.02);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 0.58)) saturate(1.28) brightness(1.02);
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(39, 49, 58, 0.1), inset 0 1px 0 var(--glass-highlight);
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.social-icon-button::before,
.social-icon-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}

.social-icon-button::before {
  background: radial-gradient(circle at 28% 20%, var(--glass-highlight), transparent 42%);
  opacity: 0.72;
}

.social-icon-button::after {
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.24), inset -1px -1px 1px rgba(39, 49, 58, 0.08);
  opacity: 0.72;
}

.social-icon-button:hover,
.social-icon-button:focus-visible {
  color: var(--accent);
  border-color: var(--border-strong);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(39, 49, 58, 0.14), 0 0 18px rgba(143, 214, 232, 0.16), inset 0 1px 0 var(--glass-highlight);
  transform: translateY(-2px) scale(1.02);
}

.social-icon-button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.profile-card p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Button */
.button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #1f2a31;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 22px rgba(126, 201, 221, 0.36);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.button:hover {
  background: linear-gradient(135deg, #c8eef4, var(--accent-hover));
  box-shadow: 0 0 32px rgba(126, 201, 221, 0.62);
  transform: translateY(-2px);
}

/* General section styles */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
}

.section h2 {
  font-size: 32px;
  color: var(--heading);
  margin-bottom: 24px;
  text-align: center;
  text-shadow: 0 0 18px rgba(143, 214, 232, 0.22);
}

.section-text {
  max-width: 800px;
  margin: auto;
  text-align: left;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background-color: var(--about-surface);
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.section-text p + p {
  margin-top: 18px;
}

/* Skills section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.skill-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.skill-card i {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 12px;
}

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

.skill-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-card li {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  background-color: rgba(143, 214, 232, 0.12);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.skill-card li::before {
  content: none;
}

/* Experience section */
.experience-list {
  position: relative;
  display: grid;
  gap: 30px;
  padding-left: 42px;
}

.experience-list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 13px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.experience-card {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -37px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--surface-strong);
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(143, 214, 232, 0.14), 0 0 18px rgba(143, 214, 232, 0.42);
}

.experience-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.experience-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.experience-card h3 {
  color: var(--text-primary);
  margin-bottom: 4px;
}

.company {
  color: var(--heading);
}

.date {
  color: var(--text-muted);
  white-space: nowrap;
}

.experience-card ul {
  padding-left: 20px;
}

.experience-card li {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* Projects section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  position: relative;
  display: block;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 24px 58px;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover,
.project-card:focus-visible,
.project-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.project-card:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.project-card h3 {
  margin: 12px 0;
  color: var(--text-primary);
}

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

.project-tags span {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 5px 11px;
  background:
    radial-gradient(circle at 22% 16%, var(--glass-highlight), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 58%),
    rgba(143, 214, 232, 0.1);
  color: var(--heading);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(4px) saturate(1.08);
  -webkit-backdrop-filter: blur(4px) saturate(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 12px rgba(39, 49, 58, 0.04);
}

.project-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background-color: var(--surface-strong);
  box-shadow: 0 12px 28px rgba(39, 49, 58, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.project-card:hover .project-image,
.project-card:focus-visible .project-image,
.project-card:focus-within .project-image {
  transform: scale(1.07);
  filter: saturate(1.06) contrast(1.04);
  box-shadow: 0 16px 36px rgba(39, 49, 58, 0.16), 0 0 22px rgba(143, 214, 232, 0.16);
}

.project-card p {
  color: var(--text-secondary);
}

.learn-more {
  isolation: isolate;
  overflow: hidden;
  position: absolute;
  right: 24px;
  bottom: 22px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 7px 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 58%),
    var(--glass-bg);
  backdrop-filter: blur(10px) saturate(1.25);
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(8px);
  box-shadow: 0 10px 24px rgba(39, 49, 58, 0.12), inset 0 1px 0 var(--glass-highlight);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.learn-more::before,
.learn-more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}

.learn-more::before {
  background: radial-gradient(circle at 18% 18%, var(--glass-highlight), transparent 36%);
  opacity: 0.68;
}

.learn-more::after {
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.22), inset -1px -1px 1px rgba(39, 49, 58, 0.08);
}

.project-card:hover .learn-more,
.project-card:focus-visible .learn-more,
.project-card:focus-within .learn-more {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--border-strong);
  box-shadow: 0 12px 26px rgba(39, 49, 58, 0.14), 0 0 18px rgba(143, 214, 232, 0.14), inset 0 1px 0 var(--glass-highlight);
}

.more-projects {
  margin-top: 34px;
  text-align: center;
}

.more-projects p {
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 14px;
}

.more-projects-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 12px 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 58%),
    var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.35) brightness(1.03);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35) brightness(1.03);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.more-projects-button::before,
.more-projects-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}

.more-projects-button::before {
  background: radial-gradient(circle at 18% 18%, var(--glass-highlight), transparent 36%);
  opacity: 0.72;
}

.more-projects-button::after {
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.24), inset -1px -1px 1px rgba(39, 49, 58, 0.08);
}

.more-projects-button:hover,
.more-projects-button:focus-visible {
  color: var(--accent);
  border-color: var(--border-strong);
  box-shadow: var(--glass-shadow), 0 0 22px rgba(143, 214, 232, 0.18);
  transform: translateY(-2px) scale(1.01);
}

.more-projects-button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

/* All Projects page */
.projects-page {
  min-height: 100vh;
}

.projects-page main {
  min-height: calc(100vh - 61px);
}

.projects-page-hero {
  width: 100%;
  padding: 138px 20px 54px;
  text-align: center;
  background: var(--hero-background);
  background-size: cover;
  background-position: center;
}

.projects-page-hero h1 {
  color: var(--text-primary);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  margin: 14px 0 18px;
  text-shadow: 0 0 24px rgba(143, 214, 232, 0.28);
}

.projects-page-hero p,
.projects-toolbar p {
  max-width: 680px;
  color: var(--text-secondary);
  margin: 0 auto;
  font-weight: 600;
}

.back-home-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 8px 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 58%),
    var(--glass-bg);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(39, 49, 58, 0.1), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(calc(var(--glass-blur) * 0.5)) saturate(1.25);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 0.5)) saturate(1.25);
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.back-home-link:hover,
.back-home-link:focus-visible {
  color: var(--accent);
  border-color: var(--border-strong);
  box-shadow: 0 14px 30px rgba(39, 49, 58, 0.14), 0 0 18px rgba(143, 214, 232, 0.16), inset 0 1px 0 var(--glass-highlight);
  transform: translateY(-2px);
}

.back-home-link:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.projects-listing {
  max-width: 1180px;
}

.projects-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.projects-toolbar h2 {
  margin-bottom: 8px;
  text-align: left;
}

.projects-toolbar p {
  margin: 0;
}

.project-layout-controls {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 auto;
  display: inline-flex;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 52%),
    var(--glass-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.35) brightness(1.03);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35) brightness(1.03);
}

.layout-toggle {
  position: relative;
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.layout-toggle:hover,
.layout-toggle:focus-visible,
.layout-toggle[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--glass-border);
  background-color: rgba(143, 214, 232, 0.16);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 0 14px rgba(143, 214, 232, 0.12);
}

.layout-toggle:hover,
.layout-toggle:focus-visible {
  transform: translateY(-1px);
}

.layout-toggle:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.projects-gallery {
  display: grid;
  gap: 20px;
}

.projects-gallery--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projects-gallery--list {
  grid-template-columns: 1fr;
}

.project-gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  padding: 0 0 62px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background-color: var(--surface);
  color: var(--text-primary);
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-gallery-card:hover,
.project-gallery-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.project-gallery-card:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.project-gallery-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-color: var(--surface-strong);
}

.project-gallery-card__media img,
.project-gallery-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-gallery-card__media img {
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.project-gallery-card:hover .project-gallery-card__media img,
.project-gallery-card:focus-visible .project-gallery-card__media img {
  transform: scale(1.05);
  filter: saturate(1.06) contrast(1.04);
}

.project-gallery-card__placeholder {
  color: var(--accent);
  font-size: 34px;
  background:
    radial-gradient(circle at 28% 22%, rgba(143, 214, 232, 0.2), transparent 34%),
    var(--surface-strong);
}

.project-gallery-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 20px;
}

.project-gallery-card__title {
  display: block;
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.project-gallery-card__summary {
  display: block;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.project-gallery-card__indicator {
  right: 20px;
  bottom: 20px;
}

.project-gallery-card:hover .project-gallery-card__indicator,
.project-gallery-card:focus-visible .project-gallery-card__indicator {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--border-strong);
}

.projects-gallery--list .project-gallery-card {
  display: grid;
  grid-template-columns: minmax(240px, 34%) 1fr;
  align-items: stretch;
  padding-bottom: 0;
}

.projects-gallery--list .project-gallery-card__media {
  height: 100%;
  min-height: 230px;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.projects-gallery--list .project-gallery-card__content {
  max-width: 720px;
  padding: 28px 88px 28px 28px;
}

.projects-gallery--list .project-gallery-card__summary {
  max-width: 62ch;
}

body.modal-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  inset: 0;
  width: min(900px, 90vw);
  max-height: 85vh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: var(--surface-strong);
  color: var(--text-primary);
  opacity: 0;
  transform: scale(0.97);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46), 0 0 42px rgba(143, 214, 232, 0.14);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    overlay 0.2s ease allow-discrete,
    display 0.2s ease allow-discrete;
}

.project-modal[open] {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.project-modal::backdrop {
  background: rgba(7, 12, 16, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    background 0.2s ease,
    backdrop-filter 0.2s ease,
    -webkit-backdrop-filter 0.2s ease,
    overlay 0.2s ease allow-discrete,
    display 0.2s ease allow-discrete;
}

.project-modal[open]::backdrop {
  background: rgba(7, 12, 16, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@starting-style {
  .project-modal[open] {
    opacity: 0;
    transform: scale(0.97);
  }

  .project-modal[open]::backdrop {
    background: rgba(7, 12, 16, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
}

.project-modal__panel {
  width: 100%;
  max-height: inherit;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 0%, var(--glass-highlight), transparent 28%),
    var(--surface-strong);
}

.project-modal__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  background-color: var(--surface-strong);
}

.project-modal__header h2 {
  margin-top: 10px;
  color: var(--text-primary);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
}

.project-modal__tags {
  margin-top: 0;
}

.project-modal__close {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 18%, var(--glass-highlight), transparent 34%),
    var(--glass-bg);
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(39, 49, 58, 0.1), inset 0 1px 0 var(--glass-highlight);
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-modal__close:hover,
.project-modal__close:focus-visible {
  color: var(--accent);
  border-color: var(--border-strong);
  box-shadow: 0 14px 30px rgba(39, 49, 58, 0.14), 0 0 18px rgba(143, 214, 232, 0.16), inset 0 1px 0 var(--glass-highlight);
  transform: translateY(-1px) scale(1.02);
}

.project-modal__close:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.project-modal__body {
  flex: 1;
  min-height: 0;
  padding: 24px 24px 0;
  overflow-y: auto;
}

.project-modal__body section + section {
  margin-top: 26px;
}

.project-modal__body h3 {
  color: var(--heading);
  font-size: 19px;
  margin-bottom: 10px;
}

.project-modal__body p,
.project-modal__body li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.project-modal__body ul {
  padding-left: 20px;
}

.project-modal__body li + li,
.project-modal__body p + p {
  margin-top: 8px;
}

.project-modal__body section:last-child {
  position: sticky;
  bottom: 0;
  margin: 26px -24px 0;
  padding: 12px 24px 14px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 64%),
    var(--surface-strong);
  box-shadow: 0 -14px 30px rgba(39, 49, 58, 0.08);
}

.project-modal__body section:last-child h3 {
  display: none;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.screenshots-grid img,
.screenshot-placeholder {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background-color: var(--surface);
  box-shadow: var(--shadow);
}

.screenshots-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.screenshot-placeholder {
  min-height: 150px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-weight: 800;
  text-align: center;
  padding: 22px;
}

.project-modal__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.project-modal__actions--single {
  justify-content: center;
}

.modal-action-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 190px;
  width: 190px;
  min-height: 42px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 10px 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 58%),
    var(--glass-bg);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.35) brightness(1.03);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35) brightness(1.03);
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-action-button--primary {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.34), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 58%),
    rgba(143, 214, 232, 0.24);
  border-color: var(--border-strong);
  color: var(--text-primary);
  box-shadow: var(--glass-shadow), 0 0 24px rgba(143, 214, 232, 0.2), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.45) brightness(1.07);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.45) brightness(1.07);
}

.modal-action-button--secondary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 58%),
    var(--glass-bg);
  color: var(--text-secondary);
  box-shadow: 0 10px 24px rgba(39, 49, 58, 0.08), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.24) brightness(1.01);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.24) brightness(1.01);
}

.modal-action-button--primary:hover,
.modal-action-button--primary:focus-visible {
  color: var(--accent);
  border-color: var(--border-strong);
  box-shadow: var(--glass-shadow), 0 0 34px rgba(143, 214, 232, 0.34), inset 0 1px 0 var(--glass-highlight);
  transform: translateY(-2px) scale(1.01);
}

.modal-action-button--secondary:hover,
.modal-action-button--secondary:focus-visible {
  color: var(--accent);
  border-color: var(--border-strong);
  box-shadow: 0 13px 26px rgba(39, 49, 58, 0.11), 0 0 15px rgba(143, 214, 232, 0.12), inset 0 1px 0 var(--glass-highlight);
  transform: translateY(-1px);
}

.modal-action-button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.label {
  display: inline-block;
  background-color: rgba(143, 214, 232, 0.22);
  color: var(--heading);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid rgba(143, 214, 232, 0.35);
}

/* Contact section */
.contact {
  text-align: center;
}

.contact-info {
  max-width: 500px;
  margin: auto;
  display: grid;
  gap: 10px;
}

.contact-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow: var(--shadow);
}

.contact-item i {
  width: 34px;
  height: 34px;
  background-color: var(--footer-surface);
  color: var(--accent-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 14px rgba(143, 214, 232, 0.22);
}

.contact-item h3 {
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 1px;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: var(--footer-surface);
  color: var(--footer-text);
  border-top: 1px solid rgba(143, 214, 232, 0.22);
}

@media (max-width: 1024px) {
  .project-modal {
    width: 92vw;
  }

  .projects-gallery--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-gallery--list .project-gallery-card {
    grid-template-columns: minmax(220px, 38%) 1fr;
  }
}

/* Responsive design for tablets and phones */
@media (max-width: 768px) {
  header {
    top: 10px;
    max-width: calc(100% - 16px);
  }

  .navbar {
    padding: 6px;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 0 2px;
  }

  .nav-links a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .hero {
    padding-top: 96px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero h3 {
    font-size: 18px;
  }

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

  .projects-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 18vw 12px 0;
  }

  .projects-grid::-webkit-scrollbar {
    display: none;
  }

  .projects-grid .project-card {
    flex: 0 0 82vw;
    max-width: 420px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .experience-header {
    flex-direction: column;
    gap: 6px;
  }

  .experience-list {
    gap: 24px;
    padding-left: 34px;
  }

  .experience-list::before {
    left: 10px;
  }

  .experience-card::before {
    left: -31px;
  }

  .date {
    white-space: normal;
  }

  .contact-item {
    align-items: flex-start;
  }

  .section-text {
    padding: 22px;
  }

  .projects-page-hero {
    padding-top: 118px;
  }

  .projects-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .projects-toolbar h2,
  .projects-toolbar p {
    text-align: center;
  }

  .project-layout-controls {
    align-self: center;
  }

  .projects-gallery--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
    grid-auto-rows: auto;
  }

  .projects-gallery--list {
    grid-template-columns: 1fr;
  }

  .projects-gallery--list .project-gallery-card {
    display: flex;
    flex-direction: column;
    padding-bottom: 62px;
  }

  .projects-gallery--list .project-gallery-card__media {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .projects-gallery--list .project-gallery-card__content {
    max-width: none;
    padding: 20px;
  }

  .projects-gallery--grid .project-gallery-card {
    display: flex;
    flex-direction: column;
    align-self: start;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-bottom: 52px;
  }

  .projects-gallery--grid .project-gallery-card__media {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .projects-gallery--grid .project-gallery-card__content {
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    gap: 9px;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 14px;
  }

  .projects-gallery--grid .project-gallery-card__title {
    font-size: 17px;
  }

  .projects-gallery--grid .project-gallery-card__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.45;
  }

  .projects-gallery--grid .project-tags {
    gap: 5px;
    margin-top: 0;
  }

  .projects-gallery--grid .project-tags span {
    padding: 4px 8px;
    font-size: 11px;
  }

  .projects-gallery--grid .project-gallery-card__indicator {
    right: 14px;
    bottom: 14px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .project-modal {
    width: 95vw;
    max-height: 90vh;
    border-radius: 20px;
  }

  .project-modal__header {
    padding: 18px;
  }

  .project-modal__body {
    padding: 18px 18px 0;
  }

  .project-modal__body section:last-child {
    margin-right: -18px;
    margin-left: -18px;
    padding: 14px 18px;
  }

  .project-modal__actions {
    gap: 12px;
  }

  .modal-action-button {
    flex-basis: 160px;
    width: 160px;
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  .projects-gallery--grid {
    grid-template-columns: 1fr;
  }

  .project-modal__actions {
    flex-direction: column;
  }

  .modal-action-button {
    width: 100%;
    flex-basis: auto;
  }
}

@media (hover: none) {
  .learn-more {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-links a,
  .theme-toggle,
  .more-projects-button,
  .back-home-link,
  .layout-toggle,
  .project-gallery-card,
  .project-gallery-card__media img,
  .project-modal,
  .project-modal__close,
  .modal-action-button,
  .profile-image-wrapper::before,
  .profile-image-wrapper::after,
  .navbar,
  .button,
  .skill-card,
  .social-icon-button,
  .experience-card,
  .project-card,
  .project-image,
  .learn-more {
    transition: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .theme-toggle:hover,
  .theme-toggle:focus-visible,
  .more-projects-button:hover,
  .more-projects-button:focus-visible,
  .back-home-link:hover,
  .back-home-link:focus-visible,
  .layout-toggle:hover,
  .layout-toggle:focus-visible,
  .project-gallery-card:hover,
  .project-gallery-card:focus-visible,
  .project-gallery-card:hover .project-gallery-card__media img,
  .project-gallery-card:focus-visible .project-gallery-card__media img,
  .project-modal[open],
  .project-modal__close:hover,
  .project-modal__close:focus-visible,
  .modal-action-button:hover,
  .modal-action-button:focus-visible,
  .button:hover,
  .skill-card:hover,
  .social-icon-button:hover,
  .social-icon-button:focus-visible,
  .profile-image-wrapper:hover::before,
  .experience-card,
  .project-card:hover .project-image,
  .project-card:focus-visible .project-image,
  .project-card:focus-within .project-image,
  .project-card:hover,
  .project-card:focus-visible,
  .project-card:focus-within {
    transform: none;
  }

  .experience-card {
    opacity: 1;
  }
}
