/* Base styles */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #93c5fd;
  --primary-bg: rgba(59, 130, 246, 0.1);
  --neon: #ec4899;
  --neon-dark: #db2777;
  --neon-light: #f9a8d4;
  --neon-bg: rgba(236, 72, 153, 0.1);
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --teal: #14b8a6;
  --yellow: #f59e0b;
  --foreground: #1f2937;
  --foreground-light: #4b5563;
  --background: #1f1f1f;
  --background-dark: #f3f4f6;
  --card: #ffffff;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --success: #10b981;
  --gradient-primary: linear-gradient(to right, var(--primary), var(--neon));
  --gradient-bg: linear-gradient(to bottom right, var(--primary-bg), var(--neon-bg));
  --radius: 0.5rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Dark mode would be implemented with a class and media query */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.5;
  font-size: 16px;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--primary-bg);
  color: var(--primary);
  margin-bottom: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.button i {
  margin-left: 0.5rem;
}

.button-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 6px rgba(236, 72, 153, 0.25);
}

.button-primary:hover {
  opacity: 0.9;
}

.button-outline {
  background-color: transparent;
  border: 1px solid var(--neon);
  color: var(--neon);
}

.button-outline:hover {
  background-color: var(--neon-bg);
}

/* Layout components */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 48rem;
  margin: 0 auto;
}

.title-underline {
  width: 5rem;
  height: 0.375rem;
  background: var(--gradient-primary);
  border-radius: 9999px;
  margin: 1.5rem auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  z-index: 50;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--foreground);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.logo-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: var(--primary);
  opacity: 0.75;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: capitalize;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  right: 0;
  height: 0.125rem;
  background-color: var(--primary);
  border-radius: 9999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--foreground);
}

.contact-button {
  display: none;
}

@media (min-width: 640px) {
  .contact-button {
    display: flex;
  }
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: var(--shadow);
  padding: 1rem 0;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 40;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
  background-color: var(--background-dark);
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -10;
}

#hero-canvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 768px) {
  .hero-text {
    text-align: left;
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--primary-bg);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: var(--primary);
}

.status-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: var(--primary);
  opacity: 0.75;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title span {
  display: block;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--neon), #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5), 0 0 20px rgba(236, 72, 153, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
    margin: 0 0 2rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.divider {
  flex: 1;
  height: 1px;
  background-color: var(--border);
  max-width: 5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.profile-container {
  position: relative;
  aspect-ratio: 1;
  max-width: 24rem;
  margin: 0 auto;
}

.profile-bg {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.2),
    rgba(236, 72, 153, 0.2),
    rgba(168, 85, 247, 0.2)
  );
  filter: blur(48px);
}

.profile-border-outer {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  animation: spin 15s linear infinite;
}

.profile-border-middle {
  position: absolute;
  inset: 2rem;
  border-radius: 9999px;
  border: 2px solid rgba(236, 72, 153, 0.4);
  animation: spin 12s linear infinite reverse;
}

.profile-border-inner {
  position: absolute;
  inset: 4rem;
  border-radius: 9999px;
  border: 2px solid rgba(59, 130, 246, 0.6);
}

.profile-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image img {
  width: 75%;
  height: 75%;
  object-fit: cover;
  border-radius: 9999px;
  border: 4px solid var(--background);
  box-shadow: var(--shadow-lg);
}

.tech-icon {
  position: absolute;
  background-color: var(--background);
  border-radius: 0.5rem;
  padding: 0.75rem;
  box-shadow: var(--shadow);
}

.tech-icon-inner {
  background-color: var(--primary-bg);
  padding: 0.5rem;
  border-radius: 0.25rem;
  color: var(--primary);
}

.tech-icon-inner.purple {
  background-color: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.tech-icon-inner.neon {
  background-color: var(--neon-bg);
  color: var(--neon);
  box-shadow: 0 0 5px var(--neon), 0 0 20px var(--neon);
}

.tech-icon-inner.blue {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.tech-icon-inner.yellow {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.tech-icon-inner.teal {
  background-color: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
}

.top-left {
  top: 25%;
  left: -1rem;
}

.bottom-right {
  bottom: 25%;
  right: -1rem;
}

.top-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.right-center {
  top: 33%;
  right: -3rem;
}

.left-center {
  bottom: 33%;
  left: -3rem;
}

.bottom-center {
  bottom: 0;
  left: 25%;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.scroll-link:hover {
  color: var(--primary);
}

.scroll-link span {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Other sections would follow similar patterns */

/* Animations */
@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

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

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(15px) rotate(-5deg);
  }
}

.animate-spin-slow {
  animation: spin 15s linear infinite;
}

.animate-spin-slow-reverse {
  animation: spin 12s linear infinite reverse;
}

.animate-bounce-slow {
  animation: bounce 3s ease-in-out infinite;
}

.animate-bounce-slow-delay {
  animation: bounce 3s ease-in-out 1.5s infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delay-1 {
  animation: float 6s ease-in-out 1s infinite;
}

.animate-float-delay-2 {
  animation: float 6s ease-in-out 2s infinite;
}

.animate-float-delay-3 {
  animation: float 6s ease-in-out 3s infinite;
}

.animate-pulse-slow {
  animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Helper classes */
.hidden {
  display: none !important;
}

/* About section */
.about-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.gradient-bg-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-bg), transparent);
}

.blur-circle-1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  border-radius: 9999px;
  background-color: var(--neon-bg);
  filter: blur(48px);
}

.blur-circle-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background-color: var(--primary-bg);
  filter: blur(48px);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 5fr 7fr;
  }
}

.about-image-container {
  position: relative;
  margin-bottom: 2rem;
}

.about-image-bg {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(to right, var(--primary), var(--neon), var(--purple));
  filter: blur(24px);
  opacity: 0.2;
}

.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-image:hover .about-image-overlay {
  opacity: 1;
}

.about-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  transform: translateY(0.5rem);
  transition: transform 0.3s ease;
}

.about-image:hover .about-image-caption {
  transform: translateY(0);
}

.about-image-caption h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.about-image-caption p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.stat-card.primary:hover {
  border-color: var(--primary);
}

.stat-card.neon:hover {
  border-color: var(--neon);
}

.stat-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.stat-icon i {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
}

.stat-card.primary .stat-icon i {
  color: var(--primary);
  background-color: var(--primary-bg);
}

.stat-card.neon .stat-icon i {
  color: var(--neon);
  background-color: var(--neon-bg);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-card.primary .stat-value {
  color: var(--primary);
}

.stat-card.neon .stat-value {
  color: var(--neon);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
}

.about-tabs-container {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.tab-button:hover {
  color: var(--foreground);
}

.tab-button.active {
  color: var(--neon);
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--neon);
}

.tab-content {
  min-height: 300px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.journey-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.journey-item {
  display: flex;
  gap: 1rem;
}

.journey-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-icon.primary {
  background-color: var(--primary-bg);
  color: var(--primary);
}

.journey-icon.neon {
  background-color: var(--neon-bg);
  color: var(--neon);
}

.journey-icon i {
  font-size: 1.25rem;
}

.journey-text h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.journey-text p {
  color: var(--muted);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skills-category h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.category-title.primary {
  color: var(--primary);
}

.category-title.neon {
  color: var(--neon);
}

.skill-list {
  list-style: none;
}

.skill-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.skill-bullet {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
}

.skill-bullet.primary {
  background-color: var(--primary);
}

.skill-bullet.neon {
  background-color: var(--neon);
}

.interests-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .interests-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.interest-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
}

.interest-card.primary {
  background-color: var(--primary-bg);
}

.interest-card.primary:hover {
  background-color: rgba(59, 130, 246, 0.15);
}

.interest-card.neon {
  background-color: var(--neon-bg);
}

.interest-card.neon:hover {
  background-color: rgba(236, 72, 153, 0.15);
}

.interest-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.interest-card.primary h4 {
  color: var(--primary);
}

.interest-card.neon h4 {
  color: var(--neon);
}

.interest-card p {
  color: var(--muted);
  font-size: 0.875rem;
}

.about-actions {
  margin-top: 2rem;
  text-align: center;
}

/* Education section */
.education-section {
  padding: 6rem 0;
  background-color: var(--background-dark);
}

.timeline {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-center-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border-dark);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1rem;
  height: 1rem;
  background-color: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-content {
  position: relative;
  width: calc(50% - 2rem);
  padding: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: -0.5rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--card);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  right: -0.5rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--card);
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}

.timeline-date {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-bg);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.timeline-location {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.timeline-description {
  color: var(--foreground-light);
  margin-bottom: 1rem;
}

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

.tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: var(--background-dark);
  color: var(--foreground-light);
  font-size: 0.75rem;
  border-radius: 0.25rem;
}

@media (max-width: 768px) {
  .timeline-center-line {
    left: 1rem;
  }

  .timeline-dot {
    left: 1rem;
  }

  .timeline-content {
    width: calc(100% - 3rem);
    margin-left: 3rem !important;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -0.5rem;
    right: auto;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-right: none;
    border-top: none;
    transform: rotate(45deg);
  }
}

/* Skills section */
.skills-section {
  padding: 6rem 0;
  background-color: var(--background-dark);
}

.skills-tabs-container {
  max-width: 48rem;
  margin: 0 auto;
}

.skills-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.skills-tab {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  background-color: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.skills-tab:hover {
  color: var(--foreground);
}

.skills-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.skills-tab-pane {
  display: none;
}

.skills-tab-pane.active {
  display: block;
}

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: 500;
}

.skill-percentage {
  color: var(--muted);
}

.skill-progress {
  height: 0.5rem;
  background-color: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}

.skill-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--neon), var(--purple));
  border-radius: 9999px;
  width: 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .tools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tool-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.tool-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tool-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.tool-level {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--muted);
}

.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .soft-skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.soft-skill-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.soft-skill-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-md);
}

.soft-skill-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-bg);
  color: var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.soft-skill-card:hover .soft-skill-icon {
  transform: scale(1.1);
}

.soft-skill-name {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.soft-skill-description {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.soft-skill-card:hover .soft-skill-description {
  height: auto;
}

.soft-skill-description p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Projects section */
.projects-section {
  padding: 6rem 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-lg);
}

.project-card.featured {
  border-color: var(--primary-light);
}

.project-image-container {
  position: relative;
  overflow: hidden;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  z-index: 10;
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-links {
  display: flex;
  gap: 1rem;
  transform: translateY(1rem);
  transition: transform 0.3s ease;
}

.project-card:hover .project-links {
  transform: translateY(0);
}

.project-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--background);
  color: var(--foreground);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.project-link:hover {
  background-color: var(--primary);
  color: white;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.project-description {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.project-tag {
  padding: 0.25rem 0.5rem;
  background-color: var(--primary-bg);
  color: var(--primary);
  font-size: 0.75rem;
  border-radius: 0.25rem;
}

/* Contact section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--background-dark);
}

.contact-form-container {
  max-width: 32rem;
  margin: 0 auto;
}

.contact-form-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group label i {
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-bg);
}

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.submit-button {
  width: 100%;
  padding: 0.75rem 1.5rem;
}

.button-content,
.button-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.footer-nav-link {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: var(--muted);
  font-size: 1.25rem;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.modal-content {
  background-color: var(--card);
  border-radius: var(--radius);
  width: 100%;
  max-width: 32rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background-color: var(--background-dark);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.close-button:hover {
  background-color: var(--border);
}

#modal-body {
  padding: 2rem;
}

#modal-body h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

#modal-body p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--muted);
}

.input-with-icon input {
  padding-left: 2.5rem;
}

.text-small {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

/* Error page */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.error-content {
  text-align: center;
  max-width: 32rem;
}

.error-title {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(to right, var(--primary), var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.error-subtitle {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-description {
  color: var(--muted);
  margin-bottom: 2rem;
}
