/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/* Default Light Mode */
:root {
  --primary-color: white;
  --primary-color-2: rgb(250, 250, 250);
  --primary-color-3: rgb(181, 181, 181);
  --background-color: rgb(250, 250, 250);
  --secondary-color: black;
  --secondary-color-2: rgb(85, 85, 85);
  --button-background: rgb(53, 53, 53);
  --button-text-hover: grey;
  --button-border: rgb(53, 53, 53) 0.1rem solid;
  --button-border-2: rgb(255, 255, 255) 0.1rem solid;
  --container-border: rgb(163, 163, 163);
}

/* Dark Mode */
[theme="dark"] {
  --primary-color: black;
  --primary-color-2: rgb(39, 39, 39);
  --primary-color-3: rgb(74, 74, 74);
  --background-color: rgb(33, 33, 33);
  --secondary-color: white;
  --secondary-color-2: rgb(170, 170, 170);
  --button-background: rgb(202, 202, 202);
  --button-text-hover: lightgrey;
  --button-border: rgb(202, 202, 202) 0.1rem solid;
  --button-border-2: rgb(0, 0, 0) 0.1rem solid;
  --container-border: rgb(92, 92, 92);
}

* {
  margin: 0;
  padding: 0;
}

h3 {
  color: var(--secondary-color);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
}

html {
  scroll-behavior: smooth;
}

p {
  color: var(--secondary-color-2);
}

/* TRANSITIONS */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
  align-items: center;
}

nav {
  justify-content: space-around;
  height: 11vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

#desktop-nav li:last-child {
  width: max-content;
  display: flex;
  margin: auto;
  padding: 10px;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  text-decoration-color: var(--primary-color);
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.75rem;
  text-decoration-color: var(--secondary-color);
}

nav a:hover {
  color: var(--secondary-color);
  text-decoration: var(--secondary-color);
}

/* Nav link hover: slide-in gradient underline + color shift */
.nav-links li a {
  position: relative;
  color: var(--secondary-color-2);
  text-decoration: none;
  transition: color 220ms ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  border-radius: 2px;
  transition: width 220ms ease;
}

.nav-links li a:hover {
  color: #60a5fa;
  text-decoration: none;
}

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

.logo {
  font-size: 2rem;
  color: var(--secondary-color);
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 210px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--container-border);
  border-radius: 1.2rem;
  padding: 0.35rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transition:
    max-height 0.4s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  z-index: 200;
}

[theme="dark"] .menu-links {
  background: rgba(22, 22, 22, 0.97);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.menu-links.open {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.menu-links a {
  display: block;
  padding: 0.72rem 1.1rem;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--secondary-color-2);
  text-decoration: none;
  border-radius: 0.75rem;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.menu-links a:hover {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
  text-decoration: none;
}

.menu-links li {
  list-style: none;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

section {
  padding-top: 4vh;
  height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  min-height: 80vh;
  height: fit-content;
  padding-bottom: 3rem;
}

.section__pic-container {
  display: flex;
  height: 350px;
  width: 350px;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
  /* color: rgb(53, 53, 53); */
  font-size: 1.75rem;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  /* color: rgb(53, 53, 53); */
}

.title {
  font-size: 3rem;
  text-align: center;
  color: var(--secondary-color);
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: var(--button-border);
  color: var(--secondary-color-2);
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: var(--button-background);
  color: var(--primary-color);
}

.btn-color-1:hover {
  background: var(--secondary-color);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: var(--button-border);
  background: var(--secondary-color);
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */

#about {
  position: relative;
  height: fit-content;
  padding-bottom: 4rem;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;
}

.about-pic {
  border-radius: 2rem;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: var(--primary-color-2);
  border-radius: 2rem;
  border: var(--button-border);
  border-color: var(--container-border);
  text-align: center;

  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(25% - 20px);
  min-width: 200px;
}

.exp {
  max-width: unset;
  min-width: unset;
}

.section-container {
  gap: 4rem;
  height: 80%;
}

.section__pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
}

/* EXPERIENCE SECTION */
#experience {
  position: relative;
  height: fit-content;
}

.experience-sub-title {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/* Skills Panel */

.skills-panel {
  margin-top: 2.5rem;
  border: 0.1rem solid var(--container-border);
  border-radius: 1.5rem;
  background: var(--primary-color-2);
  overflow: hidden;
}

.skills-row {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 1.3rem 2rem;
  border-bottom: 0.1rem solid var(--container-border);
}

.skills-row:last-child {
  border-bottom: none;
}

.skills-category-label {
  min-width: 148px;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-color);
  padding-top: 0.32rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.skills-category-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.skills-row:nth-child(1) .skills-category-label::before {
  background: #60a5fa;
}
.skills-row:nth-child(2) .skills-category-label::before {
  background: #4ade80;
}
.skills-row:nth-child(3) .skills-category-label::before {
  background: #c084fc;
}
.skills-row:nth-child(4) .skills-category-label::before {
  background: #fb923c;
}
.skills-row:nth-child(5) .skills-category-label::before {
  background: #2dd4bf;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--secondary-color-2);
  background: var(--primary-color);
  border: 0.1rem solid var(--container-border);
  border-radius: 0.45rem;
  padding: 0.28rem 0.8rem;
  transition: all 200ms ease;
}

.skill-tag:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color-2);
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

/* PROJECTS SECTION */

#projects {
  margin-top: 10vh;
  position: relative;
  /* height: fit-content; */
}

.color-container {
  border-color: var(--container-border);
  background: var(--primary-color-2);
}

.project-img {
  border-radius: 2rem;
  width: 100%;
  height: 100%;
}

.project-title {
  margin: 1rem;
  color: var(--secondary-color);
}

.project-btn {
  color: var(--secondary-color);
  border-color: var(--container-border);
}

.project-description {
  margin-bottom: 2vh;
}

/* AWARDS */

#awards {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 10vh;
}

.awards-details-container {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.about-award-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.award-img {
  border-radius: 2rem;
  width: 100%;
  height: 100%;
}

.award-img:hover {
  cursor: pointer;
  opacity: 0.8;
}

.prize-text-first {
  font-weight: bold;
  font-size: 1.5rem; /* Adjust size as needed */
  color: #e6c200; /* Base gold color */
  text-shadow:
    0 0 5px #ffdd44,
    0 0 10px #ffcc33,
    0 0 15px #ffb800,
    0 0 20px #ffa500;
  animation: shimmer-gold 0.8s infinite alternate;
}

.prize-text-second {
  font-weight: bold;
  font-size: 1.5rem; /* Adjust size as needed */
  color: #c0c0c0; /* Base silver color */
  text-shadow:
    0 0 5px #d9d9d9,
    0 0 10px #bfbfbf,
    0 0 15px #a6a6a6,
    0 0 20px #8c8c8c;
  animation: shimmer-silver 0.8s infinite alternate;
}

@keyframes shimmer-gold {
  0% {
    text-shadow:
      0 0 5px #ffdd44,
      0 0 10px #ffcc33,
      0 0 15px #ffb800,
      0 0 20px #ffa500;
  }
  100% {
    text-shadow:
      0 0 6px #ffee77,
      0 0 12px #ffdd44,
      0 0 18px #ffcc33,
      0 0 24px #ffb800;
  }
}

@keyframes shimmer-silver {
  0% {
    text-shadow:
      0 0 5px #d9d9d9,
      0 0 10px #bfbfbf,
      0 0 15px #a6a6a6,
      0 0 20px #8c8c8c;
  }
  100% {
    text-shadow:
      0 0 6px #f2f2f2,
      0 0 12px #d9d9d9,
      0 0 18px #bfbfbf,
      0 0 24px #a6a6a6;
  }
}

/* SPOTLIGHT SECTION */

#spotlight {
  margin-top: 10vh;
  position: relative;
}

.spotlight-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 2.5rem;
}

.spotlight-feature {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.spotlight-feature.reverse {
  flex-direction: row-reverse;
}

.spotlight-video-wrapper {
  flex: 1.6;
  min-width: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 0.1rem solid var(--container-border);
  background: var(--primary-color-2);
}

.spotlight-video {
  width: 100%;
  display: block;
}

.spotlight-feature.reverse .spotlight-video-wrapper {
  flex: 1.2;
}

.spotlight-container > .spotlight-feature:first-child .spotlight-video-wrapper {
  flex: 2;
}

.spotlight-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spotlight-text h2 {
  font-size: 1.6rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.feature-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-color-2);
  opacity: 0.7;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.feature-bullets li {
  color: var(--secondary-color-2);
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
}

.feature-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary-color-2);
}

/* FREELANCE SECTION */

#freelance {
  margin-top: 10vh;
  position: relative;
  height: fit-content;
}

.freelance-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.freelance-card {
  flex: 1 1 calc(50% - 2rem);
  max-width: 520px;
  min-width: 280px;
  text-align: left;
}

.freelance-type-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secondary-color-2);
  opacity: 0.65;
  margin-bottom: 0.5rem;
}

.freelance-card .project-title {
  margin: 0.4rem 0 1rem;
}

.freelance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.tech-tag {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--secondary-color-2);
  border: 0.1rem solid var(--container-border);
  border-radius: 1rem;
  padding: 0.2rem 0.7rem;
}

/* ─────────────────────────────────────────────────────
   MODERN POLISH
   ───────────────────────────────────────────────────── */

/* Sticky glassmorphism nav */

#desktop-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(250, 250, 250, 0.85);
  border-bottom: 0.1rem solid var(--container-border);
  transition: background 300ms ease;
}

[theme="dark"] #desktop-nav {
  background: rgba(20, 20, 20, 0.85);
}

#hamburger-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(250, 250, 250, 0.85);
  border-bottom: 0.1rem solid var(--container-border);
  transition: background 300ms ease;
}

[theme="dark"] #hamburger-nav {
  background: rgba(20, 20, 20, 0.85);
}

/* Hero ambient glow */

#profile {
  position: relative;
  overflow: hidden;
}

#profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    rgba(96, 165, 250, 0.09) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

#profile > * {
  position: relative;
  z-index: 1;
}

/* Profile picture gradient ring */

#profile .section__pic-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--primary-color), var(--primary-color)) padding-box,
    linear-gradient(135deg, #60a5fa 0%, #c084fc 100%) border-box;
  box-shadow: 0 0 64px rgba(96, 165, 250, 0.2);
  transition:
    box-shadow 400ms ease,
    transform 400ms ease;
}

#profile .section__pic-container img:hover {
  box-shadow: 0 0 96px rgba(96, 165, 250, 0.38);
  transform: scale(1.02);
}

/* Gradient subtitle & title text */

.section__text__p1 {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title {
  background: linear-gradient(135deg, var(--secondary-color) 35%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Primary button gradient */

.btn-color-1 {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border: none;
  color: white;
}

.btn-color-1:hover {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  color: white;
}

/* Secondary button hover lift */

.btn-color-2 {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    color 200ms ease,
    border 200ms ease;
}

.btn-color-2:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

[theme="dark"] .btn-color-2:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* Card hover lift */

.details-container.color-container {
  transition:
    transform 280ms ease,
    box-shadow 280ms ease;
}

.details-container.color-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

[theme="dark"] .details-container.color-container:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}

/* About picture hover */

.about-pic {
  transition: transform 300ms ease;
}

.about-pic:hover {
  transform: scale(1.02);
}

/* Tech tag hover */

.tech-tag {
  transition: all 200ms ease;
  cursor: default;
}

.tech-tag:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color-2);
  background: var(--primary-color-2);
}

/* Spotlight video hover glow */

.spotlight-video-wrapper {
  transition: box-shadow 300ms ease;
}

.spotlight-video-wrapper:hover {
  box-shadow:
    0 0 0 0.1rem var(--container-border),
    0 12px 40px rgba(96, 165, 250, 0.18);
}

/* Skills panel depth */

.skills-panel {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
}

[theme="dark"] .skills-panel {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 550ms ease,
    transform 550ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: var(--button-border);
  border-color: var(--container-border);
  background: var(--background-color);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.4rem;
}

/* FOOTER SECTION */

footer {
  height: 26vh;
  margin: 0 1rem;
  position: relative;
}

footer p {
  text-align: center;
}

/* ─────────────────────────────────────────────────────
   EXTRA POLISH
   ───────────────────────────────────────────────────── */

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  z-index: 9999;
  transition: width 60ms linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* Logo gradient */
/* .logo {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 55%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
} */

/* Available / Open to Work badge */
.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 2rem;
  padding: 0.28rem 1rem;
  margin: 0.6rem auto 1.1rem;
}

.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }
  60% {
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
}

/* Hero secondary ambient orb */
#profile::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(167, 139, 250, 0.13) 0%,
    transparent 65%
  );
  bottom: -60px;
  right: 6%;
  pointer-events: none;
  z-index: 0;
  animation: float-orb 9s ease-in-out infinite;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-22px) scale(1.04);
  }
}

/* Section arrow bounce */
@keyframes bounce-arrow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(9px);
  }
}

.arrow {
  animation: bounce-arrow 2s ease-in-out infinite;
  cursor: pointer;
}

/* Card top accent strip removed */
.details-container.color-container {
  position: relative;
}

/* Skill tag row-color hover */
.skills-row {
  transition: background 220ms ease;
}
.skills-row:hover {
  background: var(--primary-color);
}
.skills-row:nth-child(1) .skill-tag:hover {
  color: #60a5fa;
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.07);
}
.skills-row:nth-child(2) .skill-tag:hover {
  color: #4ade80;
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.07);
}
.skills-row:nth-child(3) .skill-tag:hover {
  color: #c084fc;
  border-color: #c084fc;
  background: rgba(192, 132, 252, 0.07);
}
.skills-row:nth-child(4) .skill-tag:hover {
  color: #fb923c;
  border-color: #fb923c;
  background: rgba(251, 146, 60, 0.07);
}
.skills-row:nth-child(5) .skill-tag:hover {
  color: #2dd4bf;
  border-color: #2dd4bf;
  background: rgba(45, 212, 191, 0.07);
}

/* Feature label gradient text */
.feature-label {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
}

/* Spotlight h2 gradient */
.spotlight-text h2 {
  background: linear-gradient(135deg, var(--secondary-color) 30%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Feature bullet colored arrow */
.feature-bullets li::before {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Freelance card left accent on hover */
.freelance-card:hover {
  box-shadow:
    inset 4px 0 0 #a78bfa,
    0 20px 48px rgba(0, 0, 0, 0.1);
}

[theme="dark"] .freelance-card:hover {
  box-shadow:
    inset 4px 0 0 #a78bfa,
    0 20px 48px rgba(0, 0, 0, 0.55);
}

/* ── Spotlight image carousel ── */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.carousel-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 auto; /* JS sets explicit px width — no percentage ambiguity */
}

.spotlight-img {
  width: 100%;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease;
  line-height: 1;
  padding: 0;
}

.carousel-btn:hover {
  background: rgba(96, 165, 250, 0.7);
}

.carousel-prev {
  left: 10px;
}
.carousel-next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    background 200ms ease,
    transform 200ms ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: #60a5fa;
  transform: scale(1.3);
}

/* Footer gradient separator */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #60a5fa 30%,
    #a78bfa 70%,
    transparent
  );
}
