@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #212e40;
  --secondary-color: #a1a1a1;
  --text-color: #ffffff;
  --accent: #00c6ff;
  --accent2: #0072ff;
}

body {
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(ellipse at bottom, #0a0f1f 0%, #000000 100%);
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
}

#stars,
#stars2,
#stars3,
#stars4,
#stars5 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2000px;
  background: transparent;
  display: block;
  pointer-events: none;
  z-index: 0;
}

#stars {
  width: 1px;
  height: 1px;
  box-shadow: 100px 200px var(--text-color), 600px 800px var(--text-color),
    900px 300px var(--text-color), 1200px 600px var(--text-color),
    1600px 1000px var(--text-color), 1800px 1300px var(--text-color),
    300px 1500px var(--text-color), 700px 1700px var(--text-color);
  animation: animStar 60s linear infinite;
}
#stars::after {
  content: "";
  position: absolute;
  top: 2000px;
  width: 1px;
  height: 1px;
  box-shadow: inherit;
}

#stars2 {
  width: 2px;
  height: 2px;
  box-shadow: 200px 400px #89f3ff, 700px 900px #89f3ff, 1200px 500px #89f3ff,
    1500px 800px #89f3ff, 1700px 1300px #89f3ff, 500px 1500px #89f3ff;
  animation: animStar 100s linear infinite;
}
#stars2::after {
  content: "";
  position: absolute;
  top: 2000px;
  width: 2px;
  height: 2px;
  box-shadow: inherit;
}

#stars3 {
  width: 3px;
  height: 3px;
  box-shadow: 400px 200px #00eaff, 900px 700px #00eaff, 1300px 900px #00eaff,
    1600px 400px #00eaff, 300px 1200px #00eaff, 1100px 1600px #00eaff;
  animation: animStar 150s linear infinite;
}
#stars3::after {
  content: "";
  position: absolute;
  top: 2000px;
  width: 3px;
  height: 3px;
  box-shadow: inherit;
}

#stars4 {
  width: 4px;
  height: 4px;
  box-shadow: 500px 600px #c27fff, 1000px 1100px #c27fff, 1400px 300px #c27fff,
    700px 1400px #c27fff, 1500px 1700px #c27fff;
  animation: animStar 200s linear infinite;
}
#stars4::after {
  content: "";
  position: absolute;
  top: 2000px;
  width: 4px;
  height: 4px;
  box-shadow: inherit;
}

#stars5 {
  width: 5px;
  height: 5px;
  box-shadow: 800px 500px #ffd36b, 1300px 800px #ffd36b, 400px 1500px #ffd36b,
    1700px 1100px #ffd36b, 600px 900px #ffd36b;
  animation: animStar 250s linear infinite;
}
#stars5::after {
  content: "";
  position: absolute;
  top: 2000px;
  width: 5px;
  height: 5px;
  box-shadow: inherit;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-2000px);
  }
}

header,
main,
footer {
  position: relative;
  z-index: 10;
}

.container {
  max-width: 1500px;
}

a {
  text-decoration: none;
  display: inline-block;
}

/* Header Section */

.navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

#logo {
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}
.logo-part,
.logo-dev,
.dot {
  display: inline-block;
  transition: transform 0.3s ease;
}
.dot {
  font-weight: 900;
  margin: 0 2px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0.25rem;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
  margin-right: 20px;
}
.nav-link:hover {
  color: var(--accent);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent2);
  transition: width 0.25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.hire-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--text-color);
  color: #111;
  font-weight: 600;
  text-decoration: none;
  border: none;
  overflow: hidden;
  transition: color 0.4s ease, background-color 0.4s ease;
}
.hire-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  transition: width 0.45s ease;
  border-radius: inherit;
  z-index: 0;
}
.hire-btn:hover::before {
  width: 100%;
}
.hire-btn span {
  position: relative;
  z-index: 1;
}
.hire-btn:hover {
  color: var(--text-color);
}

.navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

/* Banner Section */

.avatar-wrap {
  padding: 20px 0 10px;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.avatar-wrap > img {
  height: 100%;
  width: 256px;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
  border-radius: 50%;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.avatar-wrap:hover > img {
  transform: rotateY(20deg) rotateX(10deg) scale(1.05);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5), 0 0 30px var(--secondary-color);
  cursor: pointer;
}

.avatar-wrap:hover > img {
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.6), 0 0 25px var(--secondary-color),
    0 0 50px rgba(0, 255, 255, 0.4);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.banner-title,
.banner-name,
.role-line,
.banner-bio {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
}

.banner-title,
.role-line {
  font-size: 36px;
}

.banner-title {
  width: 550px;
  margin: 0 auto;
}

.banner-name {
  animation: floaty 3s ease-in-out infinite;
  color: var(--accent);
  font-size: 40px;
}

.banner-bio {
  padding: 15px 0;
  width: 800px;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.social-links.tooltipped {
  list-style: none;
  display: flex;
  padding-left: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.social-links.tooltipped .icon-content {
  position: relative;
  margin-right: 14px;
}
.social-links.tooltipped .icon-content:last-child {
  margin-right: 0;
}

.social-links .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
}

.social-links .social-link i {
  font-size: 1.15rem;
  color: #e8eef6;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, color 0.25s ease, filter 0.25s ease;
}

.social-links .social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.35s ease;
  z-index: 0;
}

.social-links .social-link:hover::before {
  transform: scale(1);
}

.social-links .social-link.ig::before {
  background: radial-gradient(
    120% 120% at 30% 20%,
    #feda75 0%,
    #fa7e1e 35%,
    #d62976 55%,
    #962fbf 75%,
    #4f5bd5 100%
  );
}
.social-links .social-link.gh::before {
  background: linear-gradient(180deg, #1f232a, #0d1117);
}
.social-links .social-link.li::before {
  background: #0a66c2;
}
.social-links .social-link.mail::before {
  background: linear-gradient(180deg, #ea4335, #ea4335);
}

.social-links .social-link:hover i {
  color: #ffffff;
}

.social-links .social-link.cv {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
}

.social-links .social-link.cv i {
  color: #e8eef6;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.social-links .social-link.cv::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scale(0);
  transition: transform 0.35s ease;
  z-index: 0;
}

.social-links .social-link.cv:hover::before {
  transform: scale(1);
}

.social-links .social-link.cv:hover i {
  color: #fff;
  transform: scale(1.1);
}

.social-links .social-link.cv:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.social-links.tooltipped .icon-content .social-link.cv ~ .tooltip {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
}

.social-links .social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.social-links.tooltipped .icon-content .tooltip {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links.tooltipped .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 72px;
  transform: translateX(-50%) scale(1);
}

.social-links.tooltipped .icon-content .social-link.ig ~ .tooltip {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
}
.social-links.tooltipped .icon-content .social-link.gh ~ .tooltip {
  background: linear-gradient(180deg, #1f232a, #0d1117);
}
.social-links.tooltipped .icon-content .social-link.li ~ .tooltip {
  background: #0a66c2;
}
.social-links.tooltipped .icon-content .social-link.mail ~ .tooltip {
  background: linear-gradient(180deg, #ea4335, #ea4335);
}

.scroll-btn {
  display: inline-block;
  font-size: 2rem;
  color: #ffffff;
  padding-bottom: 5rem;
  text-decoration: none;
  animation: bounce 5s infinite;
  transition: all 0.3s ease;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

html {
  scroll-behavior: smooth;
}

/* About Section */
.about-section {
  min-height: 100vh;
  place-items: center;
  padding-bottom: -200px;
}
.section-title {
  color: var(--text-color);
  letter-spacing: 0.5px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0.85;
}

.timeline {
  --icon-size: 64px;
  --icon-gap: 16px;
  --icon-left-pad: 16px;
  --card-max-w: 720px;
  --card-min-h: 180px;
  position: relative;
  max-width: 880px;
  width: 100%;
  padding: 0 1rem 2rem;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-left: calc(var(--icon-left-pad) + var(--icon-size) + var(--icon-gap));
  margin-bottom: 28px;
}

.timeline-icon {
  position: absolute;
  left: var(--icon-left-pad);
  top: 0;
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  isolation: isolate;
  z-index: 2;
}
.timeline-icon i {
  font-size: 1.25rem;
  color: var(--text-color);
}

.timeline-content {
  flex: 1 1 auto;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  z-index: 1;

  max-width: var(--card-max-w);
  min-height: var(--card-min-h);
  box-sizing: border-box;
  overflow: hidden;
}

.timeline-content .typed {
  display: block;
  min-height: 64px;
  line-height: 1.35;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  white-space: normal;
  overflow: hidden;
}
.timeline-content .typed.done {
  border-right-color: transparent;
}

.time-badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.item-title {
  margin: 0.25rem 0 0.25rem;
  font-weight: 700;
}
.item-sub {
  margin: 0 0 0.5rem;
  opacity: 0.85;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.in-view .timeline-icon {
  animation: iconPop 0.45s ease forwards, iconGlow 1.8s ease-in-out infinite,
    iconWave 3.6s ease-in-out infinite;
}
@keyframes iconPop {
  0% {
    transform: scale(0.85);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes iconGlow {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35),
      0 0 22px rgba(255, 255, 255, 0.22);
  }
}
@keyframes iconWave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-3deg);
  }
}

.timeline-content h4 {
  margin-bottom: 10px;
}

.item-sub {
  margin-bottom: 20px;
  font-weight: 700;
}

.skills {
  padding-bottom: 2rem;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: -12px;
  margin-right: -12px;
}

.skill-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 140px;
  height: 140px;
  margin-left: 12px;
  margin-right: 12px;
  margin-bottom: 24px;

  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: conic-gradient(
    from 0deg,
    var(--accent, #00c6ff),
    var(--accent2, #0072ff),
    transparent 60%
  );
  filter: blur(8px);
  opacity: 0.25;
  z-index: 0;
  transform: rotate(0deg);
  transition: opacity 0.3s ease;
}
.skill-card:hover::before {
  opacity: 0.55;
}

.skill-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  z-index: 0;
}

.skill-card i {
  font-size: 48px;
  line-height: 1;
  z-index: 1;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}
.skill-card span {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  z-index: 1;
  letter-spacing: 0.3px;
  opacity: 0.95;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.skill-card .brand-fill {
  content: "";
}

.skill-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.skill-card.html5 {
  --accent: #ff512f;
  --accent2: #f09819;
}
.skill-card.html5 i {
  color: #ff5722;
}
.skill-card.html5:hover i {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 87, 34, 0.55);
}
.skill-card.html5::after {
  background: radial-gradient(
    120px 120px at 50% 20%,
    rgba(255, 87, 34, 0.18),
    rgba(255, 255, 255, 0.03)
  );
}

.skill-card.css3 {
  --accent: #00c6ff;
  --accent2: #0072ff;
}
.skill-card.css3 i {
  color: #2196f3;
}
.skill-card.css3:hover i {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(33, 150, 243, 0.55);
}
.skill-card.css3::after {
  background: radial-gradient(
    120px 120px at 50% 20%,
    rgba(33, 150, 243, 0.18),
    rgba(255, 255, 255, 0.03)
  );
}

.skill-card.bootstrap {
  --accent: #7f53ac;
  --accent2: #647dee;
}
.skill-card.bootstrap i {
  color: #7952b3;
}
.skill-card.bootstrap:hover i {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(121, 82, 179, 0.55);
}
.skill-card.bootstrap::after {
  background: radial-gradient(
    120px 120px at 50% 20%,
    rgba(121, 82, 179, 0.18),
    rgba(255, 255, 255, 0.03)
  );
}

.skill-card.js {
  --accent: #ffe259;
  --accent2: #ffa751;
}
.skill-card.js i {
  color: #f7df1e;
}
.skill-card.js:hover i {
  color: #222;
  text-shadow: 0 0 18px rgba(247, 223, 30, 0.55);
}
.skill-card.js::after {
  background: radial-gradient(
    120px 120px at 50% 20%,
    rgba(247, 223, 30, 0.22),
    rgba(255, 255, 255, 0.03)
  );
}

.skill-card.jq {
  --accent: #4fc3f7;
  --accent2: #0769ad;
}
.skill-card.jq i {
  color: #0769ad;
}
.skill-card.jq:hover i {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(7, 105, 173, 0.55);
}
.skill-card.jq::after {
  background: radial-gradient(
    120px 120px at 50% 20%,
    rgba(7, 105, 173, 0.2),
    rgba(255, 255, 255, 0.03)
  );
}

.skill-card.github {
  --accent: #8e9eab;
  --accent2: #1f232a;
}
.skill-card.github i {
  color: #e8eef6;
}
.skill-card.github:hover i {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
}
.skill-card.github::after {
  background: radial-gradient(
    120px 120px at 50% 20%,
    rgba(31, 35, 42, 0.45),
    rgba(255, 255, 255, 0.03)
  );
}

@keyframes sweep {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}
.skill-card:hover i {
  animation: sweep 0.8s ease;
}

.skill-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.skill-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Project Section */
.projects-section {
  position: relative;
  padding: 40px 0 60px;
}
.projects-swiper {
  position: relative;
  padding: 8px 12px 42px;
  min-height: 660px;
}
.projects-swiper .swiper-wrapper {
  display: flex;
}
.projects-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  max-width: 920px;
}

.shot-wrap {
  max-width: 820px;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  perspective: 1200px;
  margin: 6px 0 12px;
  background: #0c121a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.shot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: translateZ(0);
  transition: transform 0.6s ease, filter 0.4s ease, box-shadow 0.4s ease,
    opacity 0.3s ease;
  filter: brightness(0.95) contrast(1.02);
}

.shot-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 120% at 50% 30%,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.22) 55%,
    rgba(0, 0, 0, 0.32) 100%
  );
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.shot-wrap:hover img {
  transform: rotateY(-8deg) rotateX(4deg) scale(1.03);
  filter: brightness(0.98) contrast(1.04) saturate(1.04);
}
.shot-wrap:hover::after {
  opacity: 0.8;
}

.project-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
}
.project-title {
  margin: 6px 0 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  margin-right: -8px;
}
.project-actions .hire-btn {
  min-width: 140px;
  margin: 0 8px;
}
.project-actions .hire-btn.ghost {
  background: transparent;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.project-actions .hire-btn.ghost:hover {
  color: var(--text-color);
  border-color: transparent;
}

.proj-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
  z-index: 5;
}
.proj-btn:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(255, 255, 255, 0.14);
}
.proj-btn i {
  color: #fff;
  font-size: 18px;
}
.proj-btn.prev {
  left: 12px;
}
.proj-btn.next {
  right: 12px;
}

.projects-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
}
.projects-swiper .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.contact-section {
  position: relative;
}

.contact-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-left: -18px;
  margin-right: -18px;
}

.contact-copy {
  flex: 1 1 480px;
  min-width: 320px;
  margin-left: 18px;
  margin-right: 18px;
}
.contact-copy .eyebrow {
  font-size: 40px;
  margin-bottom: 25px;
  font-weight: 700;
}
.contact-copy .headline {
  font-weight: 500;
  font-size: 25px;
  line-height: 1.05;
  margin: 4px 0 18px;
}
.contact-copy .lede {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 26px;
}

/* Contact Section */
.contact-lines {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-lines li {
  display: flex;
  align-items: center;
  margin: 16px 0;
  font-size: clamp(15px, 1.4vw, 20px);
}
.contact-lines .icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-right: 14px;
}
.contact-lines .k {
  font-weight: 500;
  margin-right: 8px;
  font-size: 16px;
}
.contact-lines .sep {
  opacity: 0.6;
  margin: 0 10px 0 4px;
}
.contact-lines .v {
  font-weight: 500;
  margin-right: 8px;
  font-size: 16px;
}
.contact-lines a.v {
  color: var(--text-color);
  text-decoration: none;
}
.contact-lines a.v:hover {
  color: var(--accent);
}

.contact-form {
  flex: 1 1 660px;
  min-width: 320px;
  margin-left: 18px;
  margin-right: 18px;
}
.field-label {
  display: block;
  font-weight: 600;
  margin: 8px 0 10px;
  opacity: 0.9;
}

.input-container {
  display: flex;
  padding: 0.35rem;
  border-radius: 1rem;
  background: linear-gradient(173deg, #23272f 0%, #14161a 100%);
  box-shadow: 10px 10px 20px #0e1013, -10px -10px 40px #5c6985;
  border: 1px solid rgba(0, 21, 255, 0.08);
}
.input-container input,
.input-container textarea {
  border-radius: 0.9rem;
  width: 100%;
  flex-basis: 100%;
  background: #23272f;
  color: #fff;
  border: 1px solid transparent;
  padding: 1rem 1rem;
  box-shadow: inset 5px 5px 10px #0e1013, inset -5px -5px 10px #383e4b,
    0 0 0 rgba(0, 0, 0, 0);
  outline: none;
  transition: all 0.25s ease;
  font-size: clamp(14px, 1.4vw, 16px);
  resize: vertical;
}
.input-container.textarea textarea {
  min-height: 160px;
}
.input-container input:focus,
.input-container textarea:focus {
  box-shadow: inset 0 0 12px rgba(0, 198, 255, 0.25),
    inset 0 0 12px rgba(0, 114, 255, 0.25), 0 0 30px rgba(0, 114, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.12);
}

.err {
  display: block;
  min-height: 18px;
  padding: 6px 4px 0;
  color: #ff8a8a;
  font-size: 13px;
  opacity: 0.95;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-left: -8px;
  margin-right: -8px;
}
.contact-actions .hire-btn {
  min-width: 150px;
  margin: 8px;
}
.contact-actions .hire-btn.ghost {
  background: transparent;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.contact-actions .hire-btn.ghost:hover {
  color: #fff;
  border-color: transparent;
}

.form-note {
  margin-top: 10px;
  opacity: 0.9;
}

/* Footer Section */
.site-footer {
  position: relative;
  padding: 90px 0 120px;
  text-align: center;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-name {
  font-weight: 800;
  font-size: 36px;
  line-height: 1.05;
  margin: 0 0 18px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 22px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin: 0 22px;
  font-weight: 600;
  transition: color 0.25s ease;
}
.footer-nav a:hover {
  color: var(--accent);
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 8px 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social li {
  margin: 0 10px;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.footer-social a i {
  color: #e8eef6;
  font-size: 18px;
}
.footer-social a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.copyright {
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 20;
  transition: transform 0.2s ease, background 0.25s ease, opacity 0.25s ease,
    box-shadow 0.25s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
}
.to-top i {
  color: #fff;
  font-size: 18px;
}
.to-top:hover {
  transform: translateY(0) scale(1.06);
  background: rgba(255, 255, 255, 0.16);
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-social-row {
  margin: 8px 0 30px;
  justify-content: center;
}

.copyright {
  padding-top: 20px;
}

.copyright a {
  all: unset;
  cursor: pointer;
  color: var(--text-color);
  font-weight: 600;
}
.copyright a:hover {
  color: var(--accent);
}

.footer-name {
  display: inline-block;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: 1.2px;
  position: relative;
  text-shadow: 0 0 6px rgba(0, 198, 255, 0.4), 0 0 12px rgba(0, 114, 255, 0.3),
    0 0 24px rgba(0, 198, 255, 0.2);
  animation: glowFlow 6s linear infinite;
}

.footer-name::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  mix-blend-mode: color-dodge;
  animation: lightSweep 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowFlow {
  0% {
    text-shadow: 0 0 6px rgba(0, 198, 255, 0.3),
      0 0 12px rgba(0, 114, 255, 0.25), 0 0 24px rgba(0, 198, 255, 0.15);
    transform: rotateZ(0deg);
  }
  50% {
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.6),
      0 0 20px rgba(0, 114, 255, 0.45), 0 0 40px rgba(0, 198, 255, 0.3);
    transform: rotateZ(0.5deg);
  }
  100% {
    text-shadow: 0 0 6px rgba(0, 198, 255, 0.3),
      0 0 12px rgba(0, 114, 255, 0.25), 0 0 24px rgba(0, 198, 255, 0.15);
    transform: rotateZ(0deg);
  }
}

@keyframes lightSweep {
  0% {
    background-position: -200% 0;
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    background-position: 200% 0;
    opacity: 0.3;
  }
  100% {
    background-position: 200% 0;
    opacity: 0;
  }
}

/* Custom Media Queries */

@media screen and (max-width: 1200px) {
  /* Contact Section */
  .contact-flex {
    justify-content: center;
    margin-left: -16px;
    margin-right: -16px;
  }
  .contact-copy,
  .contact-form {
    margin-left: 16px;
    margin-right: 16px;
    max-width: 880px;
  }
  .contact-copy .eyebrow {
    font-size: 40px;
  }
  .contact-copy .headline {
    font-size: 30px;
  }
  .contact-copy .lede {
    font-size: 16px;
  }
}

@media screen and (max-width: 992px) {
  /* Header Section */
  .navbar-collapse {
    text-align: center;
  }

  .navbar-nav {
    align-items: center;
  }

  .nav-link {
    padding: 0.5rem 0;
    margin: 0.15rem 0;
  }

  .nav-link::after {
    display: none;
  }

  .hire-btn {
    min-width: 180px;
    padding: 10px 22px;
  }

  #logo {
    font-size: 1.25rem;
  }

  /* Banner Section */
  .avatar-wrap > img {
    width: 200px;
  }

  .banner-title,
  .role-line {
    font-size: 26px;
  }

  .banner-title {
    width: 450px;
  }

  .banner-name {
    font-size: 30px;
  }

  .banner-bio {
    width: 600px;
    font-size: 16px;
  }

  /* About Section */

  .timeline {
    --icon-size: 56px;
    --icon-gap: 12px;
    --card-max-w: 680px;
    --card-min-h: 200px;
  }

  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 0;
    margin-bottom: 26px;
  }

  .timeline-icon {
    position: static;
    margin: 0 auto 12px;
    width: var(--icon-size);
    height: var(--icon-size);
  }
  .timeline-icon i {
    font-size: 1.1rem;
  }

  .timeline::before {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .timeline-content {
    text-align: left;
    max-width: var(--card-max-w);
    width: 100%;
  }

  .timeline-content .typed {
    min-height: 72px;
  }

  /* Project Section */
  .project-card {
    max-width: 620px;
  }
  .proj-btn {
    top: 35%;
    height: 36px;
    width: 36px;
  }
  .project-title {
    font-size: 16px;
  }
  .project-actions > .hire-btn > span {
    font-size: 13px;
  }
  .projects-swiper .swiper-pagination {
    bottom: 150px !important;
  }

  .projects-swiper .swiper-pagination-bullet {
    margin: 0 5px;
  }

  /* Contact Section */
  .contact-flex {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-copy,
  .contact-form {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -150px;
  }

  .contact-lines {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-lines li {
    justify-content: flex-start;
  }

  .input-container {
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-actions {
    justify-content: center;
  }
  .contact-copy .eyebrow {
    font-size: 30px;
  }
  .contact-copy .headline {
    font-size: 25px;
  }
  .contact-copy .lede {
    font-size: 14px;
  }

  /* Footer Section */
  .footer-name {
    font-size: 44px;
  }
}

@media screen and (max-width: 768px) {
  /* Banner Section */
  .avatar-wrap > img {
    width: 160px;
  }

  .banner-title,
  .role-line {
    font-size: 20px;
  }

  .banner-title {
    width: 250px;
  }

  .banner-name {
    font-size: 26px;
  }

  .banner-bio {
    width: 400px;
    font-size: 14px;
  }

  /* About Section */
  .timeline-content {
    max-width: 500px;
  }

  .timeline-content h4 {
    font-size: 20px;
  }

  .item-sub {
    font-size: 14px;
  }

  .item-text {
    font-size: 14px;
  }

  .scroll-down {
    margin-bottom: -40px;
  }

  .sd-btn {
    margin-bottom: -80px;
  }

  /* Project Section */
  .project-card {
    max-width: 420px;
  }
  .proj-btn {
    top: 25%;
    height: 32px;
    width: 32px;
  }
  .project-title {
    font-size: 14px;
  }

  .project-actions > .hire-btn > span {
    font-size: 11px;
  }
  .projects-swiper .swiper-pagination {
    bottom: 260px !important;
  }

  .projects-swiper .swiper-pagination-bullet {
    margin: 0 5px;
  }

  /* Contact Section */
  .contact-section {
    padding-top: -60px;
  }

  .contact-copy,
  .contact-form {
    max-width: 460px;
  }
  .input-container {
    max-width: 420px;
  }
}

@media screen and (max-width: 576px) {
  /* Header Section */
  #logo {
    font-size: 1.1rem;
  }

  .hire-btn {
    min-width: 160px;
  }

  /* Banner Section */
  .social-link {
    width: 40px;
    height: 40px;
  }

  .avatar-wrap > img {
    width: 120px;
  }
  .banner-title,
  .role-line {
    font-size: 18px;
  }

  .banner-title {
    width: 200px;
  }

  .banner-name {
    font-size: 20px;
  }

  .banner-bio {
    width: 250px;
    font-size: 12px;
  }

  /* About Section */

  .timeline-content {
    max-width: 300px;
  }
  .timeline::before {
    left: 24px;
  }
  .timeline-icon {
    width: 56px;
    height: 56px;
  }
  h2,
  h3 {
    font-size: 14px;
  }

  .timeline-content h4 {
    font-size: 16px;
  }

  .item-sub {
    font-size: 12px;
  }

  .item-text {
    font-size: 12px;
  }

  .skill-card {
    width: 120px;
    height: 120px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .skill-card i {
    font-size: 40px;
  }
  .skill-card span {
    font-size: 0.9rem;
  }

  .scroll-down {
    margin-bottom: -80px;
  }

  .sd-btn {
    margin-bottom: -120px;
  }

  /* Project Section */
  .project-card {
    max-width: 208px;
  }
  .proj-btn {
    top: 15%;
    height: 22px;
    width: 22px;
  }
  .project-title {
    font-size: 10px;
  }

  .project-actions > .hire-btn {
    min-width: 30px;
  }

  .project-actions > .hire-btn > span {
    font-size: 7px;
  }
  .projects-swiper .swiper-pagination {
    bottom: 400px !important;
  }

  .projects-swiper .swiper-pagination-bullet {
    margin: 0 5px;
  }

  /* Contact Section */
  .contact-section {
    padding-top: -200px;
  }
  .contact-copy .eyebrow {
    font-size: 25px;
  }
  .contact-copy .headline {
    font-size: 20px;
  }
  .contact-copy .lede {
    font-size: 11px;
    max-width: 220px;
    margin: 0 auto;
  }
  .contact-lines .v {
    font-size: 11px;
  }
  .contact-lines .k {
    font-size: 11px;
  }
  .contact-actions > .hire-btn {
    font-size: 12px;
    min-width: 100px;
  }
  .input-container {
    max-width: 250px;
  }

  /* Footer Section */

  .copyright {
    font-size: 14px;
  }

  .footer-name {
    font-size: 25px;
  }

  .footer-nav {
    font-size: 14px;
  }
  .site-footer {
    padding: 70px 0 100px;
  }
  .footer-name {
    font-size: 32px;
  }
  .footer-nav a {
    margin: 0 14px;
  }
  .footer-social a {
    width: 40px;
    height: 40px;
  }
  .to-top {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }
}
