:root {
  --primary: #14b8a6;
  --primary-rgb: 20, 184, 166;
  --secondary: #f43f5e;
  --accent: #64748b;
  --bg-dark: #101418;
  --bg-dark-rgb: 16, 20, 24;
  --bg-light: #eef2f6;
  --bg-light-rgb: 238, 242, 246;
  --surface-dark: #171c22;
  --surface-light: #f8fafc;
  --text-dark: #f3f7f6;
  --text-light: #20242c;
  --card-bg-dark: rgba(20, 26, 32, 0.82);
  --card-bg-light: rgba(255, 255, 255, 0.88);
  --border-dark: rgba(45, 212, 191, 0.22);
  --border-light: rgba(20, 184, 166, 0.2);
  --lightning-color: #67e8f9;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --primary-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Theme Switching */
body.theme-dark {
  --bg: var(--bg-dark);
  --bg-rgb: var(--bg-dark-rgb);
  --text: var(--text-dark);
  --text-secondary: rgba(243, 247, 246, 0.72);
  --card-bg: var(--card-bg-dark);
  --border: var(--border-dark);
  --surface: var(--surface-dark);
  --nav-bg: rgba(18, 23, 28, 0.86);
  --footer-bg: rgba(18, 23, 28, 0.72);
  --shadow-color: rgba(2, 8, 12, 0.36);
  --primary-gradient: linear-gradient(135deg, #14b8a6, #f43f5e);
}

body.theme-light {
  --bg: var(--bg-light);
  --bg-rgb: var(--bg-light-rgb);
  --text: var(--text-light);
  --text-secondary: rgba(32, 36, 44, 0.7);
  --card-bg: var(--card-bg-light);
  --border: var(--border-light);
  --surface: var(--surface-light);
  --nav-bg: rgba(248, 250, 252, 0.86);
  --footer-bg: rgba(229, 234, 241, 0.82);
  --shadow-color: rgba(15, 64, 72, 0.12);
  --primary-gradient: linear-gradient(135deg, #0f766e, #e11d48);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.5s ease;
  overflow-x: hidden;
}

body.theme-dark {
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 184, 166, 0.14), transparent 32rem),
    radial-gradient(circle at 82% 18%, rgba(244, 63, 94, 0.08), transparent 30rem),
    var(--bg);
}

body.theme-light {
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 184, 166, 0.14), transparent 34rem),
    radial-gradient(circle at 82% 18%, rgba(244, 63, 94, 0.09), transparent 32rem),
    var(--bg);
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  background: var(--nav-bg);
  isolation: isolate;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(90deg, #ecfeff, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition);
}

.logo:hover {
  transform: translateY(-1px);
}

body.theme-light .logo {
  background: linear-gradient(90deg, #1f2937, #0f766e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-utils {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 10px;
  color: var(--text);
  transition: var(--transition);
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn:hover {
  background: var(--border);
}

.mobile-menu-btn .close-icon {
  display: none;
}

.mobile-menu-btn.active .menu-icon {
  display: none;
}

.mobile-menu-btn.active .close-icon {
  display: block;
}

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

/* Language Selector */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: var(--transition);
}

.lang-btn:hover {
  background: var(--border);
}

.lang-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 15px;
  min-width: 150px;
  display: none;
  flex-direction: column;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.lang-selector:hover .lang-dropdown {
  display: flex;
}

.lang-dropdown button {
  background: none;
  border: none;
  padding: 0.8rem 1rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lang-btn img {
  border-radius: 2px;
  object-fit: cover;
}

.lang-dropdown button img {
  border-radius: 2px;
  object-fit: cover;
}

.lang-dropdown button:hover {
  background: var(--border);
  color: var(--primary);
}

.theme-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 50%;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.command-palette-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition);
  font-size: 0.9rem;
}

.command-palette-btn:hover {
  background: var(--border);
}

.command-palette-btn kbd {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.1rem 0.4rem;
  font-size: 0.75rem;
  opacity: 0.8;
  font-family: inherit;
}

body[data-lang="fr"] .nav-content {
  gap: 1.5rem;
}

body[data-lang="fr"] .nav-links {
  gap: 1.2rem;
}

body[data-lang="fr"] .nav-links a {
  font-size: 0.96rem;
}

body[data-lang="fr"] .command-palette-btn {
  padding-inline: 0.7rem;
}

.theme-btn:hover {
  background: var(--border);
  transform: rotate(15deg);
}

.light-icon {
  display: none;
}
body.theme-dark .dark-icon {
  display: none;
}
body.theme-dark .light-icon {
  display: block;
}
body.theme-light .dark-icon {
  display: block;
}
body.theme-light .light-icon {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.28) 42%, rgba(0, 0, 0, 0.78) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(9rem, 18vh, 15rem);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 14, 15, 0.46) 42%,
    var(--bg) 100%
  );
}

.hero-shader-canvas,
.hero-shader-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shader-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  background:
    radial-gradient(circle at 50% 45%, rgba(45, 212, 191, 0.34), transparent 18rem),
    radial-gradient(circle at 33% 55%, rgba(14, 165, 233, 0.26), transparent 26rem),
    radial-gradient(circle at 70% 35%, rgba(244, 63, 94, 0.2), transparent 20rem),
    #000;
  touch-action: none;
}

.hero-shader-unavailable {
  animation: hero-fallback-shader 8s ease-in-out infinite alternate;
}

.hero-shader-vignette {
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), transparent 35%, rgba(0, 0, 0, 0.4)),
    radial-gradient(circle at 50% 45%, transparent 0%, rgba(0, 0, 0, 0.34) 68%, rgba(0, 0, 0, 0.82) 100%);
  mix-blend-mode: screen;
  opacity: 1;
}

body.theme-light .hero::before {
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.7) 100%);
}

body.theme-light .hero::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 14, 15, 0.46) 42%,
    #071315 100%
  );
}

body.theme-light .hero-shader-vignette {
  mix-blend-mode: screen;
  opacity: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: calc(100svh - 11.5rem);
  text-align: center;
}

.profile-container {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  order: 1;
  animation: hero-fade-in-up 0.8s ease-out 0.55s both;
}

/* LIGHTNING EFFECT ENGINE */
.lightning-wrapper {
  position: relative;
  width: clamp(220px, 24vw, 300px);
  height: clamp(220px, 24vw, 300px);
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  border: none;
  filter: contrast(1.04) saturate(1.02);
}

/* The Lightning Bolt Overlay */
.lightning-strike {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    transparent 0%,
    rgba(236, 254, 255, 0.05) 38%,
    rgba(94, 234, 212, 0.72) 46%,
    rgba(103, 232, 249, 0.95) 50%,
    rgba(56, 189, 248, 0.68) 54%,
    rgba(236, 254, 255, 0.05) 62%,
    transparent 100%
  );
  transform: rotate(45deg);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  animation: bolt-strike 4s infinite;
  animation-duration: 7s;
}

@keyframes bolt-strike {
  0%,
  80% {
    transform: translate(-100%, -100%) rotate(45deg);
    opacity: 0;
  }
  81% {
    opacity: 0.8;
  }
  82% {
    transform: translate(10%, 10%) rotate(45deg);
    opacity: 0.2;
  }
  83% {
    opacity: 0.9;
  }
  84% {
    transform: translate(100%, 100%) rotate(45deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shader-canvas {
    opacity: 0.72;
  }
}

/* Hero Text */
.hero-text {
  width: min(100%, 820px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  order: 2;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.55rem;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 237, 213, 0.86);
  text-decoration: none;
  opacity: 0.92;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform: translateX(-50%);
  animation: scroll-indicator-float 2.6s ease-in-out infinite;
}

.hero-scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.scroll-indicator-mouse {
  position: relative;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(45, 212, 191, 0.48);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.16);
}

.scroll-indicator-dot {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: #67e8f9;
  transform: translateX(-50%);
  animation: scroll-indicator-dot 1.65s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-scroll-indicator svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
  animation: scroll-indicator-chevron 1.65s ease-in-out infinite;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  color: rgba(236, 254, 255, 0.96);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(18px);
  animation: hero-fade-in-down 0.8s ease-out both;
}

.hero-eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero-text h1 {
  font-size: clamp(3.1rem, 7.2vw, 6.25rem);
  margin-bottom: 1rem;
  line-height: 0.98;
  padding-top: 0.08em;
  padding-bottom: 0.06em;
  font-weight: 800;
  letter-spacing: 0;
  background: none;
  color: rgba(255, 237, 213, 0.9);
  -webkit-text-fill-color: currentColor;
  animation: hero-fade-in-up 0.8s ease-out 0.2s both;
}

body[data-lang="tr"] .hero-text h1,
body[data-lang="fr"] .hero-text h1 {
  max-width: 920px;
  font-size: clamp(3rem, 6.45vw, 5.85rem);
  line-height: 1.04;
  padding-top: 0.14em;
  margin-bottom: 0.9rem;
}

.subtitle {
  font-size: clamp(1.05rem, 1.75vw, 1.38rem);
  color: rgba(255, 237, 213, 0.9);
  margin-bottom: 0.9rem;
  opacity: 1;
  max-width: 820px;
  font-weight: 300;
  line-height: 1.55;
  animation: hero-fade-in-up 0.8s ease-out 0.45s both;
}

.hero-bio {
  font-size: 0.98rem;
  color: rgba(255, 237, 213, 0.72);
  opacity: 1;
  max-width: 760px;
  margin-bottom: 1.35rem;
  line-height: 1.55;
  animation: hero-fade-in-up 0.8s ease-out 0.6s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
  justify-content: center;
  animation: hero-fade-in-up 0.8s ease-out 0.8s both;
}

.hero-cv-downloads {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
  margin-bottom: 0.9rem;
  color: rgba(255, 237, 213, 0.72);
  font-size: 0.88rem;
  animation: hero-fade-in-up 0.8s ease-out 0.92s both;
}

.hero-cv-downloads span {
  font-weight: 700;
}

.hero-cv-downloads a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  color: rgba(236, 254, 255, 0.92);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.hero-cv-downloads a:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.72);
  background: rgba(20, 184, 166, 0.18);
  color: #ecfeff;
}

.hero-cv-downloads svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.hero-primary-action,
.hero-secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.95rem 1.55rem;
  text-decoration: none;
  font-weight: 800;
  transition: var(--transition);
  font-size: 1rem;
}

.hero-primary-action {
  background: linear-gradient(90deg, #2dd4bf, #38bdf8);
  color: #041014;
  border: 1px solid rgba(45, 212, 191, 0.75);
}

.hero-secondary-action {
  color: rgba(236, 254, 255, 0.95);
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: rgba(20, 184, 166, 0.1);
  backdrop-filter: blur(12px);
}

.hero-primary-action:hover,
.hero-secondary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(20, 184, 166, 0.22);
}

.hero-primary-action svg,
.hero-secondary-action svg {
  width: 18px;
  height: 18px;
}

.expertise-tags {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  transition: var(--transition);
  max-width: 720px;
  justify-content: center;
  animation: hero-fade-in-up 0.8s ease-out 1s both;
}

.expertise-tags span {
  background: rgba(20, 184, 166, 0.08);
  padding: 0.55rem 0.85rem;
  border-radius: 50px;
  font-size: 0.88rem;
  border: 1px solid rgba(45, 212, 191, 0.22);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(236, 254, 255, 0.86);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.hero-actions + .expertise-tags {
  margin-top: 0.7rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(45, 212, 191, 0.16);
}

.hero-cv-downloads + .expertise-tags {
  padding-top: 0.8rem;
  border-top: 1px solid rgba(45, 212, 191, 0.14);
}

.hero-primary-action,
.hero-secondary-action,
.expertise-tags span {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

@media (max-width: 1100px) {
  .hero-content {
    flex-direction: column;
    gap: 1.8rem;
  }

  .profile-container {
    order: -1;
  }

  .hero-text {
    width: min(100%, 920px);
  }

  .lightning-wrapper {
    width: clamp(170px, 34vw, 240px);
    height: clamp(170px, 34vw, 240px);
  }

}

@keyframes hero-fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes hero-fallback-shader {
  from {
    filter: hue-rotate(0deg) saturate(1.1);
    transform: scale(1);
  }
  to {
    filter: hue-rotate(18deg) saturate(1.35);
    transform: scale(1.08);
  }
}

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

@keyframes scroll-indicator-dot {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(18px);
  }
}

@keyframes scroll-indicator-chevron {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

/* Sections */
section {
  padding: 8rem 0;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0;
}

.section-header h2 svg {
  width: 1em;
  height: 1em;
  color: var(--primary);
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-lead {
  max-width: 700px;
  margin: 1.6rem auto 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.header-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.linkedin-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(0, 119, 181, 0.1);
  color: #0077b5;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(0, 119, 181, 0.2);
  transition: all 0.3s ease;
}

.linkedin-cta .cta-icon,
.linkedin-cta img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.linkedin-cta:hover {
  background: #0077b5 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .header-actions {
    gap: 1rem;
    flex-direction: column;
  }
}

@media (max-width: 1100px) {
  .cv-project-grid {
    grid-template-columns: 1fr;
  }
}

/* Glass Cards */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: var(--transition);
}

.glass:hover {
  border-color: rgba(var(--primary-rgb), 0.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px var(--shadow-color);
}

/* About Grid */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.bio-card {
  padding: 3rem;
  text-align: center;
}

.bio-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.bio-card h3 {
  margin-bottom: 1rem;
}

/* Tech Stack */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 2rem;
  padding: 3rem;
  justify-items: center;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .tech-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.tech-grid img {
  width: 100px;
  height: auto;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-grid img:hover {
  filter: grayscale(0);
  transform: scale(1.2) rotate(5deg);
}

/* Hugging Face Focus */
.huggingface-focus {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(244, 63, 94, 0.16), transparent 30rem),
    radial-gradient(circle at 18% 18%, rgba(20, 184, 166, 0.12), transparent 24rem),
    #070b13;
  color: #f8fafc;
}

.huggingface-focus::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.hf-trending-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 3.5rem;
  text-align: center;
}

.hf-trending-heading > span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.42));
}

.hf-trending-heading > span:last-of-type {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.42), transparent);
}

.hf-trending-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hf-trending-heading .section-lead {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-top: 0.35rem;
  color: rgba(226, 232, 240, 0.68);
}

.hf-trending-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.hf-trending-column {
  min-width: 0;
}

.hf-trending-column h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.hf-trending-column h3 svg {
  width: 19px;
  height: 19px;
  color: #94a3b8;
}

.hf-trending-list {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.42);
  box-shadow: 0 22px 70px rgba(2, 6, 23, 0.24);
}

.hf-trending-item {
  position: relative;
  min-height: 56px;
  display: grid;
  gap: 0.25rem;
  align-items: center;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(9, 14, 25, 0.86);
  color: #f8fafc;
  text-decoration: none;
  transition: var(--transition);
}

.hf-trending-item:hover {
  border-color: rgba(45, 212, 191, 0.45);
  transform: translateY(-2px);
}

.hf-trending-item strong {
  overflow: hidden;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hf-trending-item small {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.68rem;
  font-weight: 800;
}

.hf-trending-column--models .hf-trending-list {
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.13), rgba(37, 99, 235, 0.08));
}

.hf-trending-column--models .hf-trending-item {
  min-height: 56px;
  border-color: rgba(255, 255, 255, 0.14);
  padding-right: 4.3rem;
}

.hf-trending-item.is-hot {
  background: linear-gradient(135deg, #f97316, #e11d48);
}

.hf-trending-item.is-cool {
  background: linear-gradient(135deg, #4f46e5, #64748b);
}

.hf-trending-item.is-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.hf-trending-item.is-purple {
  background: linear-gradient(135deg, #b45309, #4f46e5);
}

body.theme-light .huggingface-focus {
  background:
    radial-gradient(circle at 50% 100%, rgba(244, 63, 94, 0.16), transparent 30rem),
    radial-gradient(circle at 18% 18%, rgba(20, 184, 166, 0.12), transparent 24rem),
    #07111e;
}

@media (max-width: 980px) {
  .hf-trending-board {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hf-trending-list {
    max-width: 680px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .huggingface-focus {
    padding: 5.5rem 0;
  }

  .hf-trending-heading {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }

  .hf-trending-heading > span {
    display: none;
  }

  .hf-trending-column h3 {
    justify-content: flex-start;
    max-width: 680px;
    margin-inline: auto;
  }

  .hf-trending-item strong {
    white-space: normal;
  }
}

/* Work Grid */
.work {
  background:
    linear-gradient(180deg, transparent 0%, rgba(100, 116, 139, 0.08) 52%, transparent 100%),
    var(--bg);
}

.work > .container {
  display: flex;
  flex-direction: column;
}

.work .section-header {
  order: 1;
}

.work-feature {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: stretch;
  padding: 2rem;
  border-radius: 24px;
  overflow: hidden;
}

.work-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
}

.work-eyebrow {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-feature h3,
.work-roadmap h3 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.work-feature p {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
}

.work-feature-panel {
  display: grid;
  gap: 1rem;
}

.work-signal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  min-height: 78px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: rgba(100, 116, 139, 0.12);
}

body.theme-light .work-signal {
  border-color: rgba(100, 116, 139, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.work-signal strong {
  color: var(--text-color);
  font-size: 1rem;
}

.work-signal span {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.work-grid {
  order: 4;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.work-roadmap {
  order: 5;
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 24px;
}

.work-roadmap-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-roadmap-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.work-roadmap-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.work-roadmap-list p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.cv-projects {
  order: 3;
  margin-top: 2rem;
}

.cv-projects-header {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.cv-projects-header h3 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.cv-projects-header h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.cv-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cv-project-card {
  min-height: 220px;
  padding: 1.25rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.cv-project-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cv-project-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.35;
}

.cv-project-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.cv-project-statuses {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.project-status {
  --status-rgb: var(--primary-rgb);
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 24px;
  padding: 0.22rem 0.48rem;
  border: 1px solid rgba(var(--status-rgb), 0.36);
  border-radius: 999px;
  background: rgba(var(--status-rgb), 0.12);
  color: rgb(var(--status-rgb));
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.project-status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(var(--status-rgb), 0.14);
}

.project-status--live {
  --status-rgb: 239, 68, 68;
}

.project-status--live::before {
  animation: livePulse 1.5s ease-out infinite;
}

.project-status--progress {
  --status-rgb: 245, 158, 11;
}

.project-status--case {
  --status-rgb: 99, 102, 241;
}

.project-status--private {
  --status-rgb: 14, 165, 233;
}

.project-status--delivered {
  --status-rgb: 34, 197, 94;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--status-rgb), 0.38);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(var(--status-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--status-rgb), 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-status--live::before {
    animation: none;
  }
}

.cv-project-card p {
  margin: -0.35rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.cv-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cv-project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(var(--primary-rgb), 0.24);
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.cv-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.cv-project-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(var(--primary-rgb), 0.32);
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  transition: var(--transition);
}

.cv-project-actions a:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.18);
  color: var(--primary);
  transform: translateY(-1px);
}

.cv-project-actions svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.cv-project-actions img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

.certifications {
  padding: 2rem 0 5rem;
}

.certifications-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.certifications-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.certifications-open-btn {
  border: 1px solid rgba(10, 102, 194, 0.5);
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.14), rgba(var(--primary-rgb), 0.22));
  color: #0a66c2;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.certifications-open-btn:hover {
  transform: translateY(-2px);
  border-color: #0a66c2;
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.2), rgba(var(--primary-rgb), 0.3));
  box-shadow: 0 10px 24px rgba(10, 102, 194, 0.18);
}

body.theme-dark .certifications-open-btn {
  color: #dff2ff;
  border-color: rgba(124, 196, 255, 0.55);
  background: linear-gradient(135deg, rgba(64, 150, 255, 0.2), rgba(124, 196, 255, 0.12));
}

body.theme-dark .certifications-open-btn:hover {
  border-color: #7cc4ff;
  background: linear-gradient(135deg, rgba(64, 150, 255, 0.28), rgba(124, 196, 255, 0.18));
  box-shadow: 0 10px 24px rgba(124, 196, 255, 0.16);
}

.cert-shell {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #1f2328;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

body.theme-dark .cert-shell {
  background: rgba(22, 25, 32, 0.96);
  color: #eef2f7;
}

.certification-card {
  border: 1px solid rgba(100, 116, 139, 0.12);
  min-height: 100%;
}

.cert-shell--compact {
  padding: 1.45rem;
}

.cert-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.cert-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.cert-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, 0.18);
}

.cert-logo img {
  width: 86%;
  height: 86%;
  object-fit: cover;
  display: block;
}

.cert-logo-image--contain {
  object-fit: contain;
  padding: 0.2rem;
  background: #fff;
}

.cert-logo-image--microsoft {
  padding: 0.02rem;
  object-position: center;
  transform: none;
}

.cert-logo-image--ibm {
  padding: 0.02rem;
  object-position: center;
  transform: none;
}

.cert-logo-image--google,
.cert-logo-image--anthropic,
.cert-logo-image--aws {
  object-position: center;
}

.cert-logo--text {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.cert-logo--aws {
  background: #232f3e;
}

.cert-logo--google {
  background: linear-gradient(135deg, #4285f4, #34a853);
}

.cert-logo--anthropic {
  background: linear-gradient(135deg, #151515, #444);
}

.cert-logo--linkedin {
  background: #0a66c2;
}

.cert-logo--ibm {
  background: #0f62fe;
}

.cert-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.cert-badge-visual {
  width: 104px;
  min-width: 104px;
  height: 104px;
  min-height: 104px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, 0.18);
  background: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-badge-visual--placeholder {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  min-height: 104px;
  background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.08), rgba(255, 255, 255, 0.92));
  color: #1f2328;
}

body.theme-dark .cert-badge-visual--placeholder {
  background: linear-gradient(145deg, rgba(124, 196, 255, 0.14), rgba(18, 21, 28, 0.96));
  color: #eef2f7;
}

.cert-badge-provider {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.cert-badge-title {
  font-size: 0.88rem;
  line-height: 1.4;
  opacity: 0.9;
}

.cert-badge-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
}

.cert-badge-image--anthropic {
  object-fit: cover;
  object-position: center;
}

.cert-badge-image--microsoft {
  object-fit: contain;
  object-position: center;
  transform: scale(1.06);
}

.cert-badge-image--google {
  object-fit: contain;
  object-position: center;
  transform: scale(0.94);
}

.cert-badge-image--ibm {
  object-fit: contain;
  object-position: center;
  transform: scale(1.06);
}

.cert-content h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
  color: inherit;
}

.cert-org,
.cert-issued,
.cert-id {
  margin: 0;
  color: inherit;
  opacity: 0.82;
}

.cert-org {
  font-weight: 600;
  font-size: 0.9rem;
}

.cert-issued,
.cert-id {
  font-size: 0.82rem;
}

.cert-id {
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.cert-id-label {
  flex-shrink: 0;
}

.cert-id-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: bottom;
  max-width: 100%;
}

.cert-action {
  align-self: flex-start;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(100, 116, 139, 0.35);
  border-radius: 999px;
  padding: 0.62rem 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  transition: var(--transition);
}

.cert-action svg,
.cert-skill-row svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.cert-action:hover {
  background: rgba(0, 132, 255, 0.08);
  border-color: #0a66c2;
  color: #0a66c2;
}

body.theme-dark .cert-action:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #7cc4ff;
}

.cert-skill-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
}

.certifications-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 11000;
}

.certifications-modal-overlay.active {
  display: flex;
}

.certifications-modal {
  width: min(1100px, 100%);
  max-height: min(88vh, 980px);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  background: rgba(255, 255, 255, 0.97);
  color: #1f2328;
}

body.theme-dark .certifications-modal {
  background: rgba(35, 31, 33, 0.98);
  color: #eef2f7;
}

.certifications-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(100, 116, 139, 0.14);
}

.certifications-modal-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.certifications-modal-header h3 {
  margin: 0;
  font-size: 1.8rem;
}

.certifications-modal-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.certifications-modal-close:hover {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: var(--primary);
}

.certifications-modal-body {
  overflow-y: auto;
  max-height: calc(88vh - 96px);
  padding: 1.5rem;
}

.certifications-group-list--flat {
  padding-bottom: 1.5rem;
}

.certifications-group + .certifications-group {
  margin-top: 2rem;
}

.certifications-group-header {
  margin-bottom: 1rem;
}

.certifications-group-header h4 {
  margin: 0;
  font-size: 1.2rem;
}

.certifications-group-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.work-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.work-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.18rem;
}

.work-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.work-card.accent {
  border-left: 5px solid var(--primary);
}

.work-icon {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* Footer */
footer {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.04), transparent 45%),
    var(--footer-bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Expanding Section */
.tech-stack.expanding {
  background: var(--surface);
  padding-top: 2rem;
}

.expanding .tech-grid {
  padding: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
  border-radius: 12px;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--primary)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 15px var(--primary)); }
}

/* Footer Buttons Polish */
.social-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-btn:hover img {
  transform: scale(1.2);
}

.social-btn.linkedin:hover {
  background: rgba(0, 119, 181, 0.15);
  border-color: #0077b5;
}

.social-btn.github:hover {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: var(--primary);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.social-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary-gradient);
  color: #111827;
  border-color: var(--primary);
}

.footer-motto {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  color: var(--primary); /* Fallback */
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1; /* Increased opacity for better visibility */
}

.copyright {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.6;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-badge {
  height: 20px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.footer-badge:hover {
  transform: scale(1.1);
}

/* Perspective Section */
.perspective {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, transparent, rgba(var(--primary-rgb), 0.06), transparent),
    var(--surface);
}

.perspective-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.perspective-card {
  padding: 2.6rem;
  border-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.perspective-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--primary);
  opacity: 0.8;
}

.perspective-card h2 {
  font-size: 2rem;
  margin-bottom: 1.4rem;
  color: var(--text);
}

.perspective-content p {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.perspective-content p:last-child {
  margin-bottom: 0;
}

/* Terminal Card */
.terminal-card {
  background: rgba(7, 12, 18, 0.92) !important;
  border: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  position: relative;
}

.terminal-buttons {
  display: flex;
  gap: 6px;
  position: absolute;
  left: 1rem;
}

.terminal-buttons .btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-buttons .close { background: #ff5f56; }
.terminal-buttons .minimize { background: #ffbd2e; }
.terminal-buttons .maximize { background: #27c93f; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  color: #cbd5e1;
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  font-weight: 700;
}

.terminal-body {
  padding: 1.25rem;
  color: #86efac;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.command-line {
  display: flex;
  align-items: center;
  margin-bottom: 0.65rem;
  min-width: 0;
}

.prompt {
  color: var(--primary);
  margin-right: 0.5rem;
  line-height: 1;
}

.typing {
  color: #e5e7eb;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid transparent;
  animation: typing 2.5s steps(30, end) forwards;
  width: 0;
}

.output {
  color: #cbd5e1;
  margin-bottom: 0.35rem;
  opacity: 0;
}

.line-1 { animation: showOutput 0.1s 2.6s forwards; }
.line-2 { animation: showOutput 0.1s 3.0s forwards; }
.line-3 { animation: showOutput 0.1s 3.4s forwards; }

.command-line.final {
  margin-top: 0.5rem;
  opacity: 0;
  animation: showOutput 0.1s 3.8s forwards;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #e5e7eb;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes showOutput {
  to { opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Response for Perspective */
@media (max-width: 992px) {
  .perspective-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .perspective-card {
    padding: 2rem;
  }
  
  .perspective-card h2 {
    font-size: 1.8rem;
  }
  
  .perspective-content p {
    font-size: 1.05rem;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    position: sticky;
    left: 0;
    padding: 0.75rem 0;
    min-height: 72px;
    background: rgba(var(--bg-rgb), 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .navbar .container {
    gap: 0.75rem;
    min-height: 56px;
    flex-wrap: nowrap;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.15rem;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-content {
    gap: 0;
    flex: 0 0 auto;
  }

  .nav-utils {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .lang-btn,
  .theme-btn,
  .command-palette-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .lang-btn {
    gap: 0;
    position: relative;
  }

  .lang-btn img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
  }

  .lang-btn i,
  #current-lang-text,
  .command-palette-btn span,
  .command-palette-btn kbd {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .lang-dropdown {
    top: calc(100% + 0.5rem);
    right: 0;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .profile-container {
    order: -1;
  }
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-eyebrow {
    margin-bottom: 0.85rem;
  }
  .hero-eyebrow,
  .hero-actions {
    justify-content: center;
  }
  .hero-actions {
    width: 100%;
    max-width: 520px;
  }
  .hero-primary-action,
  .hero-secondary-action {
    flex: 1 1 190px;
    padding-inline: 0.9rem;
  }
  .expertise-tags {
    justify-content: center;
    gap: 0.75rem;
    max-width: 520px;
  }
  .expertise-tags span {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
  .mobile-menu-btn {
    display: none;
  }
  
  .tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 100%;
  }

  .cert-card {
    padding: 1.5rem;
  }

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

  .cert-shell {
    padding: 1rem;
  }

  .cert-row {
    flex-direction: row;
    gap: 0.85rem;
    align-items: flex-start;
  }

  .cert-main {
    width: 100%;
  }

  .cert-badge-visual {
    width: 82px;
    min-width: 82px;
    height: 82px;
    min-height: 82px;
    align-self: flex-start;
  }

  .cert-content h3 {
    font-size: 0.96rem;
  }

  .cert-logo {
    width: 42px;
    height: 42px;
  }

  .cert-id {
    display: none;
  }

  .cert-action {
    padding: 0.55rem 0.7rem;
  }

  .cert-skill-row {
    font-size: 0.8rem;
  }

  .certifications-footer {
    justify-content: stretch;
  }

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

  .certifications-modal-overlay {
    padding: 0.75rem;
  }

  .certifications-modal {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px;
  }

  .certifications-modal-header,
  .certifications-modal-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .certifications-modal-header h3 {
    font-size: 1.45rem;
  }

  .terminal-card {
    min-width: 0;
  }

  .terminal-body {
    font-size: 0.82rem;
    padding: 1rem;
    overflow-x: auto;
  }

  .typing {
    white-space: normal;
    animation: none;
    width: auto;
  }
  
  .tech-grid img {
    width: 100%; /* Allow icons to fill their grid cell */
    max-width: 80px; /* But don't let them get too big */
    margin: 0 auto;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-lead {
    font-size: 0.96rem;
  }

  .work-feature,
  .work-roadmap {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    border-radius: 18px;
  }

  .work-feature-copy {
    min-height: 0;
  }

  .work-feature h3,
  .work-roadmap h3 {
    font-size: 1.55rem;
  }

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

  .cv-project-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    padding: 1.5rem;
  }

  .work-roadmap-list li {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .work-roadmap-list span {
    width: 36px;
    height: 36px;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 1rem;
  }

  .nav-utils {
    gap: 0.4rem;
  }

  .lang-btn,
  .theme-btn,
  .command-palette-btn {
    width: 38px;
    min-width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .lang-btn img {
    width: 20px;
    height: 14px;
  }
}
/* Updates Section Enhancements */
.updates {
  position: relative;
  margin-top: -1px;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.075) 0%, rgba(var(--primary-rgb), 0.025) 9rem, transparent 18rem),
    var(--bg);
}

.updates::before {
  content: "";
  position: absolute;
  top: -8rem;
  left: 0;
  right: 0;
  height: 16rem;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.16), transparent 68%);
  opacity: 0.72;
}

body.theme-light .updates {
  background: var(--bg);
}

body.theme-light .updates::before {
  opacity: 0;
}

.updates .section-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.updates .section-header h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.updates .section-header h2 svg {
  width: 1em;
  height: 1em;
  color: var(--primary);
  stroke-width: 2.4;
}

.updates .section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.updates .header-actions {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.updates .linkedin-cta {
  white-space: nowrap;
}

.updates-carousel-wrapper {
  position: relative;
  z-index: 1;
  padding: 0;
}

.updates-actions {
  position: relative;
  z-index: 1;
}

.updates-carousel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.update-card {
  min-width: 0;
  min-height: 260px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.update-card:hover {
  border-color: var(--primary);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.update-card--featured {
  grid-column: 1 / -1;
  min-height: 300px;
  padding: 1.65rem;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.13), transparent 42%),
    var(--card-bg);
}

.update-card--featured .update-content {
  font-size: 1.12rem;
  line-height: 1.72;
  -webkit-line-clamp: 5;
}

.update-card--featured .link-preview {
  width: 100%;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.update-date {
  width: fit-content;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(var(--bg-rgb), 0.4);
}

.update-category {
  font-size: 0.78rem;
  color: var(--text);
  opacity: 0.68;
  font-weight: 700;
}

.update-content {
  font-size: 1rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.update-tag {
  font-size: 0.72rem;
  background: rgba(var(--bg-rgb), 0.5);
  color: var(--primary);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.link-preview {
  background: rgba(var(--bg-rgb), 0.22);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.link-preview:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.preview-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.preview-desc {
  font-size: 0.86rem;
  opacity: 0.68;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-card-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin-top: auto;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.update-card-footer svg {
  width: 16px;
  height: 16px;
}

.updates-load-error {
  grid-column: 1 / -1;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--text);
  opacity: 0.8;
}

.updates-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.updates-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.updates-load-more-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.updates-load-more-btn svg {
  width: 18px;
  height: 18px;
}

.updates-load-more-btn[hidden] {
  display: none;
}

/* Skeleton Loading */
.skeleton-card {
  min-width: 380px;
  height: 500px;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  position: relative;
}

.skeleton-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Update Detail Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  padding: 3rem;
  position: relative;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 25px;
  box-shadow: 0 25px 50px var(--shadow-color);
  animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light mode specific adjustment if needed */
[data-theme="light"] .modal-content {
  background: var(--surface);
  box-shadow: 0 25px 50px var(--shadow-color);
}

@keyframes modalPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--primary);
  color: #000;
  transform: rotate(90deg);
}

.modal-date {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.modal-full-content {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text);
  white-space: pre-wrap; /* Preserve line breaks from LinkedIn */
}

.modal-tags {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.modal-link-preview {
  margin-top: 2rem;
}

.modal-link-preview .link-preview {
  background: rgba(var(--primary-rgb), 0.05);
  border-color: var(--primary);
  position: relative;
}

.command-palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8rem 1.5rem 2rem;
  z-index: 1200;
}

.command-palette-overlay.active {
  display: flex;
}

.command-palette {
  width: min(720px, 100%);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.command-palette-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.command-palette-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  outline: none;
  font-size: 1rem;
}

.command-palette-input::placeholder {
  color: var(--text);
  opacity: 0.5;
}

.command-palette-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.command-palette-body {
  padding: 0.75rem;
}

.command-palette-label {
  padding: 0.5rem 0.75rem 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.command-palette-results {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.command-item,
.command-empty {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 0.98rem;
}

.command-item {
  cursor: pointer;
  transition: var(--transition);
}

.command-item:hover,
.command-item.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.command-empty {
  opacity: 0.65;
}

/* Enhancing existing card for clickability */
.update-card {
  cursor: pointer;
}

@media (max-width: 768px) {
  .update-card {
    min-height: auto;
    padding: 1.2rem;
  }
  
  .updates-carousel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .updates .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }

  .updates .header-actions {
    position: static;
    transform: none;
    margin-top: 0;
    justify-content: center;
    width: 100%;
  }

  .updates .linkedin-cta {
    max-width: 100%;
    justify-content: center;
  }

  .command-palette-overlay {
    padding-top: 6rem;
  }
}

@media (max-width: 820px) {
  .lang-btn {
    justify-content: center;
    padding: 0 !important;
    gap: 0 !important;
  }

  .lang-btn i,
  .lang-btn svg,
  #current-lang-text {
    display: none !important;
  }

  .lang-btn img {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-bottom: 5.5rem;
  }

  .hero-scroll-indicator {
    bottom: 1rem;
  }

  .scroll-indicator-mouse {
    width: 24px;
    height: 38px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-primary-action,
  .hero-secondary-action {
    width: 100%;
    flex-basis: auto;
  }

  .expertise-tags {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .expertise-tags span {
    width: 100%;
  }

  .update-card {
    padding: 1rem;
  }

  .cert-row {
    flex-direction: column;
  }

  .cert-main {
    align-items: flex-start;
  }

  .cert-badge-visual {
    width: 100%;
    height: 120px;
    min-height: 120px;
  }
}
