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

:root {
  --primary-color: #bf47f7;
  --accent-color: #09b1f3;

  --bg-color: #121212;
  --surface-color: #1e1e1e;
  --card-bg: #2d2d2d;
  --text-color: #e0e0e0;
  --text-muted: #a0a0a0;
  --border-color: rgba(255, 255, 255, 0.07);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.5);

  --border-radius: 14px;
  --border-radius-sm: 8px;
  --transition: all 0.3s ease;
  --nav-height: 72px;
}

/* ---- Light Mode Overrides ---- */
body.light-mode {
  --bg-color: #f5f5f7;
  --surface-color: #e8e8ee;
  --card-bg: #ffffff;
  --text-color: #1a1a2e;
  --text-muted: #555577;
  --border-color: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  width: 0%;
  z-index: 1100;
  transition: width 0.2s ease;
}


.bg-animation {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-animation::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(191, 71, 247, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(9, 177, 243, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(191, 71, 247, 0.04) 0%, transparent 60%);
  animation: pulse 15s ease-in-out infinite;
}

.floating-shapes div {
  position: absolute;
  background: rgba(191, 71, 247, 0.05);
  border-radius: 50%;
  animation: float 22s infinite linear;
}

.floating-shapes div:nth-child(1) { width: 90px;  height: 90px;  top: 18%; left: 8%;  animation-delay: 0s;  }
.floating-shapes div:nth-child(2) { width: 130px; height: 130px; top: 58%; left: 78%; animation-delay: 6s;  }
.floating-shapes div:nth-child(3) { width: 65px;  height: 65px;  top: 78%; left: 22%; animation-delay: 12s; }

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.9; }
}

@keyframes float {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0.8; }
  100% { transform: translateY(-1100px) rotate(720deg); opacity: 0; }
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 55px;
  position: relative;
}

.section-title h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--text-color);
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 1rem;
}


header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

body.light-mode header {
  background-color: rgba(245, 245, 247, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 46px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 50px;
  display: block;
  transition: var(--transition);
}

.logo-img:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: calc(100% - 24px);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 8px;
}

.theme-toggle:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: rotate(25deg);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-color);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 4px;
}

.menu-toggle:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}


.hero {
  padding: calc(var(--nav-height) + 100px) 0 120px;
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-bottom: 16px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.8s forwards 0.3s;
}

.hero-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin-bottom: 22px;
  color: var(--text-muted);
  font-weight: 500;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.8s forwards 0.55s;
}

.highlight {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 680px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.8s forwards 0.8s;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.8s forwards 1.05s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  color: #fff;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(191, 71, 247, 0.3);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(191, 71, 247, 0.45);
  opacity: 0.95;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.btn-outline:hover {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(191, 71, 247, 0.35);
}


.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-img-wrapper {
  flex-shrink: 0;
  width: 240px;
}

.about-img {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 5px rgba(191, 71, 247, 0.25), var(--shadow);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  margin: 0 auto;
}

.about-img:hover {
  box-shadow: 0 0 0 8px rgba(191, 71, 247, 0.35), var(--shadow-hover);
  transform: scale(1.03);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.06);
}

.about-img-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: conic-gradient(var(--primary-color), var(--accent-color), var(--primary-color));
  z-index: -1;
  opacity: 0.2;
  filter: blur(16px);
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-text {
  flex: 1;
  min-width: 0;
}

.about-text h3 {
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: var(--text-color);
  font-weight: 700;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.75;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.skills-list span {
  background: rgba(191, 71, 247, 0.1);
  color: var(--primary-color);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(191, 71, 247, 0.2);
  transition: var(--transition);
}

.skills-list span:hover {
  background: rgba(191, 71, 247, 0.2);
}


.education-experience {
  background-color: var(--surface-color);
}

.timeline-item {
  margin-bottom: 30px;
}

.timeline-content {
  background-color: var(--card-bg);
  padding: 28px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.timeline-content .date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
  font-size: 0.9rem;
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.7;
}


.skills {
  background-color: var(--surface-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 340px));
  gap: 28px;
  justify-content: center;
}

.skill-category {
  background-color: var(--card-bg);
  padding: 30px 28px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.skill-category:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.skill-category h3 {
  margin-bottom: 22px;
  color: var(--primary-color);
  font-weight: 700;
  text-align: center;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.skill-item {
  margin-bottom: 14px;
}

.skill-info {
  display: flex;
  align-items: center;
}

.skill-info span {
  position: relative;
  padding-left: 20px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.skill-info span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}


#projects {
  background-color: var(--bg-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.project-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--surface-color);
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(191, 71, 247, 0.15) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.project-overlay a:hover {
  transform: scale(1.12);
  background: var(--accent-color);
}


.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tag {
  display: inline-block;
  background: rgba(191, 71, 247, 0.1);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(191, 71, 247, 0.2);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.project-info h3 a {
  color: inherit;
  text-decoration: none;
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.25s ease, opacity 0.25s ease;
  margin-top: auto;
}

.project-link:hover {
  gap: 11px;
  opacity: 0.8;
}


.contact {
  background-color: var(--surface-color);
}

.contact-wrapper {
  display: flex;
  justify-content: center;
}

.contact-links-card {
  background-color: var(--card-bg);
  padding: 44px 36px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 520px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-links-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.contact-links-card h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.social-link:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.social-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.social-link:hover .social-icon-wrap {
  transform: scale(1.1);
}

.social-label {
  flex: 1;
  text-align: left;
}

.social-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.social-link:hover .social-arrow {
  opacity: 1;
}

.social-link.behance   { --link-color: #1769ff; }
.social-link.facebook  { --link-color: #1877f2; }
.social-link.github    { --link-color: #6e40c9; }
.social-link.linkedin  { --link-color: #0a66c2; }
.social-link.whatsapp  { --link-color: #25d366; }
.social-link.email     { --link-color: var(--primary-color); }

.social-link .social-icon-wrap {
  background: var(--link-color, var(--primary-color));
}

.social-link:hover {
  border-color: var(--link-color, var(--primary-color));
  background-color: rgba(0, 0, 0, 0.04);
}

body.light-mode .social-link:hover {
  background-color: rgba(0, 0, 0, 0.03);
}


footer {
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  width: auto;
  border-radius: 40px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-logo img:hover {
  opacity: 1;
  transform: scale(1.06);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
  flex: 1;
}

.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(191, 71, 247, 0.08);
  transform: translateY(-3px);
}


.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.92);
  overflow: auto;
  align-items: center;
  justify-content: center;
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--border-radius);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.close-modal {
  position: fixed;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 38px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
  line-height: 1;
}

.close-modal:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
}


@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }

  .about-img-wrapper {
    width: 100%;
  }

  .about-img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .about-text {
    text-align: left;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}


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

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 0 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 999;
  }

  body.light-mode .nav-links {
    background-color: rgba(245, 245, 247, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: calc(var(--nav-height) + 70px) 0 90px;
  }

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

  .btn {
    width: 100%;
    max-width: 260px;
  }

  .about-img {
    width: 180px;
    height: 180px;
  }

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

  
  .contact-links-card {
    padding: 32px 24px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-copy {
    order: 2;
  }

  .footer-logo {
    order: 1;
  }

  .footer-socials {
    order: 3;
  }

  section {
    padding: 70px 0;
  }
}


@media (max-width: 480px) {
  .logo-img {
    height: 38px;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

  .contact-links-card {
    padding: 26px 18px;
  }

  .social-link {
    padding: 12px 14px;
  }
}


.service-card,
.project-card,
.timeline-content,
.cert-card,
.skill-category,
.contact-item,
.team-card,
.tech-category,
.service-icon {
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.35s ease;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}