:root {
  --space-dark: #0a0a0f;
  --space-purple: #1a0b2e;
  --space-blue: #16213e;
  --cyan-400: #22d3ee; /* Tailwind cyan-400 */
  --purple-400: #c084fc; /* Tailwind purple-400 */
  --blue-400: #60a5fa; /* Tailwind blue-400 */
  --green-400: #4ade80; /* Tailwind green-400 */
  --orange-400: #fb923c; /* Tailwind orange-400 */
  --yellow-400: #facc15; /* Tailwind yellow-400 */
  --red-400: #f87171; /* Tailwind red-400 */
  --teal-400: #2dd4bf; /* Tailwind teal-400 */
  --orange-600: #ea580c; /* Tailwind orange-600 */
  --white: #ffffff;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-700: #374151;
  --gray-800: #1f2937;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--space-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Global styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1,
h2,
h3,
h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

a {
  color: var(--cyan-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--purple-400);
}

section {
  padding: 5rem 0; /* Increased padding for better spacing */
  position: relative;
  z-index: 10; /* Ensure content is above background */
  overflow: hidden; /* Contain background elements */
}

/* Space Background (Canvas) */
.space-background {
  position: fixed;
  inset: 0;
  z-index: 0; /* Behind all content */
  background: linear-gradient(to bottom, var(--space-dark), var(--space-purple), var(--space-blue));
}

/* Main Content Wrapper */
.main-content {
  position: relative;
  z-index: 10; /* Ensure main content is above the canvas background */
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(10, 10, 15, 0.8); /* space-dark with opacity */
  backdrop-filter: blur(10px); /* backdrop-blur-md */
  border-bottom: 1px solid rgba(139, 92, 246, 0.2); /* purple-500/20 */
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-size: 1.5rem; /* text-xl */
  font-weight: 700; /* font-bold */
  color: var(--cyan-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--cyan-400); /* text-cyan-300 */
}

.logo i {
  font-size: 1.5rem; /* h-6 w-6 */
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem; /* space-x-8 */
}

.nav a {
  color: var(--gray-300);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: var(--cyan-400);
}

/* Mobile Navigation */
.menu-toggle {
  display: none; /* Hide checkbox */
}

.menu-icon {
  display: none; /* Hide by default, show on mobile */
  font-size: 1.5rem; /* h-6 w-6 */
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem; /* p-2 */
  border-radius: 0.375rem; /* rounded-lg */
  transition: all 0.3s ease;
}

.menu-icon:hover {
  color: var(--cyan-400);
  background-color: rgba(139, 92, 246, 0.2); /* purple-500/20 */
}

@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 15, 0.9); /* space-dark with more opacity */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    text-align: center;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
  }

  .menu-icon {
    display: block;
  }

  .menu-toggle:checked + .menu-icon + .nav {
    display: flex;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 10;
  background: linear-gradient(to bottom, var(--space-dark), var(--space-purple), var(--space-blue)); /* Fallback/base gradient */
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%), /* purple-500/10 */
    radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%); /* cyan-400/10 */
  z-index: 0;
}

.hero-section::before {
  /* Subtle grid pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, transparent 50%, rgba(0, 255, 255, 0.05) 100%), /* cyan-400/05 */
    linear-gradient(to right, transparent 50%, rgba(139, 92, 246, 0.05) 100%); /* purple-500/05 */
  background-size: 2px 2px;
  opacity: 0.2;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px; /* max-w-4xl */
  padding: 2rem;
}

.hero-icon {
  margin-bottom: 2rem; /* mb-8 */
  display: flex;
  justify-content: center;
}

.hero-icon i {
  font-size: 4rem; /* h-16 w-16 */
  color: var(--cyan-400);
}

.hero-subtitle {
  color: var(--cyan-400);
  font-size: 1.125rem; /* text-lg */
  margin-bottom: 1rem; /* mb-4 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: fade-in 1s ease-out;
}

.hero-subtitle i {
  font-size: 1.25rem; /* h-5 w-5 */
}

.hero-title {
  font-size: 3.75rem; /* text-5xl md:text-7xl */
  font-weight: 700; /* font-bold */
  margin-bottom: 1.5rem; /* mb-6 */
  background: linear-gradient(to right, var(--cyan-400), var(--purple-400), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fade-in-up 1s ease-out;
}

.hero-role {
  font-size: 1.5rem; /* text-2xl md:text-3xl */
  color: var(--gray-300);
  margin-bottom: 2rem; /* mb-8 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: fade-in-up 1s ease-out 0.2s; /* delay-200 */
}

.hero-role i {
  font-size: 2rem; /* h-8 w-8 */
  color: var(--purple-400);
}

.hero-description {
  font-size: 1.125rem; /* text-lg */
  color: var(--gray-400);
  margin-bottom: 3rem; /* mb-12 */
  max-width: 600px; /* max-w-2xl */
  margin-left: auto;
  margin-right: auto;
  animation: fade-in-up 1s ease-out 0.3s; /* delay-300 */
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
    margin-top: 100px;
    flex-direction: column;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-icon i {
    font-size: 3rem; /* Reduzido de 4rem */
  }

  .hero-subtitle {
    font-size: 1rem;
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero-subtitle i {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.25rem; /* Reduzido de 3.75rem */
    margin-bottom: 1rem;
  }

  .hero-role {
    font-size: 1.125rem; /* Reduzido de 1.5rem */
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  .hero-role i {
    font-size: 1.5rem; /* Reduzido de 2rem */
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
}


.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* space-x-6 */
  margin-bottom: 3rem; /* mb-12 */
  animation: fade-in-up 1s ease-out 0.4s; /* delay-400 */
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; /* size-icon */
  height: 2.5rem; /* size-icon */
  border-radius: 0.375rem; /* rounded-md */
  border: 1px solid;
  background-color: transparent;
  color: var(--cyan-400); /* Default for GitHub */
  transition: all 0.3s ease;
}

.social-links a:nth-child(1) {
  /* GitHub */
  border-color: var(--cyan-400);
  color: var(--cyan-400);
}
.social-links a:nth-child(1):hover {
  background-color: var(--cyan-400);
  color: var(--space-dark);
  transform: scale(1.1);
}

.social-links a:nth-child(2) {
  /* LinkedIn */
  border-color: var(--purple-400);
  color: var(--purple-400);
}
.social-links a:nth-child(2):hover {
  background-color: var(--purple-400);
  color: var(--space-dark);
  transform: scale(1.1);
}

.social-links a:nth-child(3) {
  /* Email */
  border-color: var(--blue-400);
  color: var(--blue-400);
}
.social-links a:nth-child(3):hover {
  background-color: var(--blue-400);
  color: var(--space-dark);
  transform: scale(1.1);
}

.social-links a i {
  font-size: 1.25rem; /* h-5 w-5 */
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* gap-4 */
  justify-content: center;
  animation: fade-in-up 1s ease-out 0.5s; /* delay-500 */
}

@media (min-width: 640px) {
  /* sm */
  .cta-buttons {
    flex-direction: row;
  }
}

.btn {
  padding: 0.75rem 2rem; /* px-8 py-3 */
  border-radius: 0.375rem; /* rounded-md */
  font-weight: 600; /* font-semibold */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn i {
  margin-right: 0.5rem; /* mr-2 */
  font-size: 1.25rem; /* h-5 w-5 */
}

.btn-primary {
  background: linear-gradient(to right, #00ffff, #007bff); /* from-cyan-500 to-blue-500 */
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(to right, #00e6e6, #0069d9); /* hover:from-cyan-600 hover:to-blue-600 */
  transform: scale(1.05);
}

.btn-outline {
  border: 1px solid var(--purple-400);
  color: var(--purple-400);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--purple-400);
  color: var(--space-dark);
  transform: scale(1.05);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem; /* bottom-8 */
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
  color: var(--purple-400);
  transition: color 0.3s ease;
}

.scroll-indicator:hover {
  color: var(--cyan-400);
}

.scroll-indicator i {
  font-size: 1.5rem; /* h-6 w-6 */
}

/* Section Background Elements (Emojis/Divs) */
.section-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.15; /* opacity-15 */
  z-index: 0;
}

.section-bg-elements .bg-emoji {
  position: absolute;
  font-size: 5rem; /* Base size, adjusted per section */
  opacity: 0.1; /* opacity-10 */
  animation: pulse 2s infinite alternate;
}

.section-bg-elements .bg-emoji.top-left {
  top: 2.5rem; /* top-10 */
  left: 2.5rem; /* left-10 */
  font-size: 4.375rem; /* text-7xl */
  animation-delay: 0s;
}
.section-bg-elements .bg-emoji.top-right {
  top: 2.5rem; /* top-10 */
  right: 6.25rem; /* right-1/4 */
  font-size: 5rem; /* text-8xl */
  animation-delay: 0.5s;
}
.section-bg-elements .bg-emoji.bottom-left {
  bottom: 10rem; /* bottom-40 */
  left: 2.5rem; /* left-10 */
  font-size: 4.375rem; /* text-7xl */
  animation-delay: 1s;
}
.section-bg-elements .bg-emoji.bottom-right {
  bottom: 2.5rem; /* bottom-10 */
  right: 2.5rem; /* right-10 */
  font-size: 3.125rem; /* text-5xl */
  animation-delay: 1.5s;
}
.section-bg-elements .bg-emoji.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5.625rem; /* text-9xl */
  animation: spin-slow 3s linear infinite;
  animation-delay: 2s;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem; /* mb-16 */
}

.section-header .section-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem; /* mb-6 */
  font-size: 3.75rem; /* text-6xl */
  animation: pulse 2s infinite alternate;
}

.section-header h2 {
  font-size: 2.5rem; /* text-4xl */
  font-weight: 700; /* font-bold */
  margin-bottom: 1.5rem; /* mb-6 */
  background: linear-gradient(to right, var(--cyan-400), var(--purple-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header .section-divider {
  width: 5rem; /* w-20 */
  height: 0.25rem; /* h-1 */
  background: linear-gradient(to right, var(--cyan-400), var(--purple-400));
  margin: 0 auto 2rem; /* mx-auto mb-8 */
}

.section-header .section-description {
  color: var(--gray-400);
  font-size: 1.125rem; /* text-lg */
  max-width: 600px; /* max-w-2xl */
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background-color: var(--card-background); /* bg-space-dark/50 */
  border-top: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/20 */
  border-bottom: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/20 */
}

.about-content {
  display: grid;
  gap: 3rem; /* gap-12 */
  align-items: center;
}

@media (min-width: 1024px) {
  /* lg */
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem; /* mb-8 */
  text-align: center;
}

.about-avatar {
  width: 16rem; /* w-64 */
  height: 16rem; /* h-64 */
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--cyan-400);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.2), rgba(0, 255, 255, 0.2)); /* from-purple-500/20 to-cyan-500/20 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-avatar::after {
  /* Overlay for gradient effect */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(139, 92, 246, 0.2), transparent); /* from-purple-500/20 to-transparent */
  border-radius: 50%;
  z-index: 2;
}

.about-avatar-sparkle {
  position: absolute;
  bottom: -1rem; /* -bottom-4 */
  right: -1rem; /* -right-4 */
  width: 4rem; /* w-16 */
  height: 4rem; /* h-16 */
  background: linear-gradient(to right, var(--cyan-400), var(--purple-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem; /* text-2xl */
  animation: spin-slow 3s linear infinite;
  z-index: 3;
}

.about-text {
  color: var(--gray-300);
  text-align: center;
}

@media (min-width: 1024px) {
  /* lg */
  .about-text {
    text-align: left;
  }
}

.about-text p {
  font-size: 1.125rem; /* text-lg */
  line-height: 1.6; /* leading-relaxed */
  margin-bottom: 1rem;
}

.about-text strong.text-cyan {
  color: var(--cyan-400);
}

.about-text strong.text-purple {
  color: var(--purple-400);
}

.about-text strong.text-blue {
  color: var(--blue-400);
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* sm:grid-cols-2 */
  gap: 1.5rem; /* gap-6 */
  margin-top: 3rem; /* Added margin-top for spacing */
}

.highlight-card {
  background-color: rgba(10, 10, 15, 0.5); /* bg-space-dark/50 */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  border-radius: 0.5rem; /* rounded-lg */
  padding: 1.5rem; /* p-6 */
  text-align: center;
  backdrop-filter: blur(10px); /* backdrop-blur-sm */
  transition: all 0.3s ease;
}

.highlight-card:hover {
  border-color: rgba(0, 255, 255, 0.5); /* hover:border-cyan-400/50 */
  transform: scale(1.05); /* hover:transform hover:scale-105 */
}

.highlight-icon {
  margin-bottom: 1rem; /* mb-4 */
  display: flex;
  justify-content: center;
  font-size: 2.5rem; /* text-4xl */
}

.highlight-card h3 {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  color: var(--white);
  margin-bottom: 0.5rem; /* mb-2 */
}

.highlight-card p {
  color: var(--gray-400);
  font-size: 0.875rem; /* text-sm */
}

/* Skills Section */
.skills-section {
  background-color: var(--background-color);
}

.skills-tools-grid {
  background-color: rgba(10, 10, 15, 0.5); /* bg-space-dark/50 */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  border-radius: 0.5rem; /* rounded-lg */
  backdrop-filter: blur(10px); /* backdrop-blur-sm */
  margin-bottom: 3rem; /* mb-12 */
  padding: 2rem; /* p-8 */
}

.skills-tools-grid h3 {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-bold */
  color: var(--white);
  margin-bottom: 1.5rem; /* mb-6 */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.skills-tools-grid h3 i {
  font-size: 1.5rem; /* h-6 w-6 */
  color: var(--cyan-400);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Adjusted for smaller items */
  gap: 1.5rem; /* gap-6 */
}

@media (min-width: 640px) {
  /* sm */
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  /* md */
  .tools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  /* lg */
  .tools-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem; /* p-3 */
  border-radius: 0.5rem; /* rounded-lg */
  background-color: rgba(10, 10, 15, 0.3); /* bg-space-dark/30 */
  border: 1px solid var(--gray-700);
  transition: all 0.3s ease;
}

.tool-item:hover {
  border-color: var(--cyan-400);
}

.tool-item i {
  margin-bottom: 0.5rem; /* mb-2 */
  font-size: 1.5rem; /* h-6 w-6 */
  color: var(--cyan-400); /* Default icon color */
}

/* Specific tool icon colors (based on original Lucide React colors) */
.tool-item:nth-child(1) i {
  color: var(--cyan-400);
} /* React */
.tool-item:nth-child(2) i {
  color: var(--blue-400);
} /* TypeScript */
.tool-item:nth-child(3) i {
  color: var(--blue-400);
} /* Azure */
.tool-item:nth-child(4) i {
  color: var(--orange-400);
} /* HTML */
.tool-item:nth-child(5) i {
  color: var(--blue-400);
} /* CSS */
.tool-item:nth-child(6) i {
  color: var(--purple-400);
} /* C# */
.tool-item:nth-child(7) i {
  color: var(--yellow-400);
} /* JavaScript */
.tool-item:nth-child(8) i {
  color: var(--white);
} /* Next.js */
.tool-item:nth-child(9) i {
  color: var(--teal-400);
} /* Tailwind CSS */
.tool-item:nth-child(10) i {
  color: var(--red-400);
} /* SQL Server */
.tool-item:nth-child(11) i {
  color: var(--orange-400);
} /* MySQL */
.tool-item:nth-child(12) i {
  color: var(--orange-600);
} /* Git */

.tool-item span:first-of-type {
  /* Tool name */
  color: var(--gray-300);
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
}

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

.skill-card {
  background-color: rgba(10, 10, 15, 0.5); /* bg-space-dark/50 */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  border-radius: 0.5rem; /* rounded-lg */
  backdrop-filter: blur(10px); /* backdrop-blur-sm */
  padding: 1.5rem; /* p-6 */
}

.skill-card h3 {
  font-size: 1.25rem; /* text-xl */
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  margin-bottom: 1rem; /* mb-4 */
}

.skill-card h3 .icon {
  font-size: 1.5rem; /* text-2xl */
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.skill-item-progress {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space-y-2 */
}

.skill-item-progress .skill-name {
  color: var(--gray-300);
  font-size: 0.875rem; /* text-sm */
}

.skill-item-progress .skill-level {
  color: var(--cyan-400); /* text-cyan-400 or text-purple-400 */
  font-weight: 600; /* font-semibold */
  font-size: 0.875rem; /* text-sm */
  align-self: flex-end; /* Pushes level to the right */
}

.skill-item-progress:nth-child(odd) .skill-level {
  color: var(--cyan-400);
}
.skill-item-progress:nth-child(even) .skill-level {
  color: var(--purple-400);
}

.progress-bar-container {
  height: 0.5rem; /* h-2 */
  background-color: var(--gray-800);
  border-radius: 9999px; /* rounded-full */
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #00ffff, #8b5cf6); /* from-cyan-400 to-purple-400 */
  border-radius: 9999px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* gap-2 */
}

.badge-blue-light {
  background-color: rgba(96, 165, 250, 0.2); /* bg-blue-400/20 */
  color: rgba(96, 165, 250, 0.8); /* text-blue-300 */
  border-color: rgba(96, 165, 250, 0.3); /* border-blue-400/30 */
}
.badge-blue-light:hover {
  background-color: rgba(96, 165, 250, 0.3); /* hover:bg-blue-400/30 */
}

.language-list {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.language-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem; /* p-3 */
  background-color: rgba(10, 10, 15, 0.5); /* bg-space-dark/50 */
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid var(--gray-700);
  transition: all 0.3s ease;
}

.language-item:hover {
  border-color: rgba(0, 255, 255, 0.5); /* hover:border-cyan-400/50 */
}

.language-name {
  color: var(--gray-300);
  font-weight: 500; /* font-medium */
}

.badge-green {
  background-color: rgba(74, 222, 128, 0.2); /* bg-green-500/20 */
  color: var(--green-400);
  border-color: var(--green-400);
}

/* Experience Section */
.experience-section {
  background-color: var(--card-background);
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* space-y-8 */
}

.experience-card {
  background-color: rgba(10, 10, 15, 0.5); /* bg-space-dark/50 */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  border-radius: 0.5rem; /* rounded-lg */
  backdrop-filter: blur(10px); /* backdrop-blur-sm */
  transition: all 0.3s ease;
}

.experience-card:hover {
  border-color: rgba(0, 255, 255, 0.5); /* hover:border-cyan-400/50 */
  transform: scale(1.02); /* hover:transform hover:scale-[1.02] */
}

.experience-header {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* gap-4 */
  padding: 1.5rem; /* p-6 */
  border-bottom: 1px solid var(--gray-700); /* Separator */
}

@media (min-width: 1024px) {
  /* lg */
  .experience-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.experience-header > div:first-child {
  /* Flex items for icon and info */
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.experience-icon {
  padding: 0.75rem; /* p-3 */
  background: linear-gradient(to right, rgba(139, 92, 246, 0.2), rgba(0, 255, 255, 0.2)); /* from-purple-500/20 to-cyan-500/20 */
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  font-size: 1.875rem; /* text-3xl */
}

.experience-info {
  flex: 1;
}

.experience-position {
  font-size: 1.25rem; /* text-xl */
  color: var(--white);
  margin-bottom: 0.5rem; /* mb-2 */
}

.experience-company {
  color: var(--cyan-400);
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.25rem; /* mb-1 */
}

.experience-type {
  color: var(--gray-400);
  font-size: 0.875rem; /* text-sm */
}

.experience-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* gap-2 */
  color: var(--gray-400);
  font-size: 0.875rem; /* text-sm */
}

@media (min-width: 1024px) {
  /* lg */
  .experience-meta {
    align-items: flex-end;
  }
}

.experience-meta i {
  margin-right: 0.25rem; /* mr-1 */
  font-size: 1rem; /* h-4 w-4 */
}

.experience-content {
  padding: 1.5rem; /* p-6 */
}

.experience-content h4 {
  font-size: 1rem; /* text-base */
  color: var(--white);
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.75rem; /* mb-3 */
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
}

.experience-content h4 i {
  font-size: 1rem; /* h-4 w-4 */
  color: var(--cyan-400);
}

.experience-content ul {
  list-style: none; /* Remove default bullet */
  padding-left: 0;
  margin-bottom: 1rem; /* mb-4 */
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space-y-2 */
}

.experience-content ul li {
  color: var(--gray-300);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem; /* gap-2 */
}

.experience-content ul li::before {
  content: "";
  display: block;
  width: 0.5rem; /* w-2 */
  height: 0.5rem; /* h-2 */
  background: linear-gradient(to right, var(--cyan-400), var(--purple-400));
  border-radius: 50%;
  margin-top: 0.5rem; /* mt-2 */
  flex-shrink: 0;
}

.badge-cyan-purple {
  background: linear-gradient(to right, rgba(0, 255, 255, 0.2), rgba(139, 92, 246, 0.2)); /* from-cyan-400/20 to-purple-400/20 */
  color: rgba(0, 255, 255, 0.8); /* text-cyan-300 */
  border: 1px solid rgba(0, 255, 255, 0.3); /* border-cyan-400/30 */
}
.badge-cyan-purple:hover {
  background: linear-gradient(to right, rgba(0, 255, 255, 0.3), rgba(139, 92, 246, 0.3)); /* hover:from-cyan-400/30 hover:to-purple-400/30 */
}

/* Education Section */
.education-section {
  background-color: var(--card-background);
}

.education-card {
  background-color: rgba(10, 10, 15, 0.5); /* bg-space-dark/50 */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  border-radius: 0.5rem; /* rounded-lg */
  backdrop-filter: blur(10px); /* backdrop-blur-sm */
  transition: all 0.3s ease;
  max-width: 900px; /* max-w-4xl */
  margin: 0 auto;
}

.education-card:hover {
  border-color: rgba(0, 255, 255, 0.5); /* hover:border-cyan-400/50 */
}

.education-header {
  display: flex;
  align-items: center;
  gap: 1rem; /* gap-4 */
  padding: 1.5rem; /* p-6 */
  border-bottom: 1px solid var(--gray-700); /* Separator */
}

.education-icon {
  padding: 1rem; /* p-4 */
  background: linear-gradient(to right, rgba(0, 255, 255, 0.2), rgba(139, 92, 246, 0.2)); /* from-cyan-400/20 to-purple-400/20 */
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid rgba(0, 255, 255, 0.3); /* border-cyan-400/30 */
  font-size: 2.5rem; /* text-4xl */
}

.education-info {
  flex: 1;
}

.education-title {
  font-size: 1.5rem; /* text-2xl */
  color: var(--white);
  margin-bottom: 0.5rem; /* mb-2 */
}

.education-institution {
  color: var(--cyan-400);
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.5rem; /* mb-2 */
}

.education-info .badge {
  background-color: rgba(74, 222, 128, 0.2); /* bg-green-500/20 */
  color: var(--green-400);
  border-color: rgba(74, 222, 128, 0.3); /* border-green-500/30 */
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem; /* mr-1 */
}

.education-info .badge i {
  font-size: 0.75rem; /* h-3 w-3 */
}

.education-content {
  padding: 1.5rem; /* p-6 */
}

.education-skills-grid {
  display: grid;
  gap: 1.5rem; /* gap-6 */
}

@media (min-width: 768px) {
  /* md */
  .education-skills-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.education-content h4 {
  font-size: 1rem; /* text-base */
  color: var(--white);
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.75rem; /* mb-3 */
}

.education-content ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space-y-2 */
  color: var(--gray-300);
}

.education-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem; /* gap-2 */
}

.education-content ul li .bullet {
  display: block;
  width: 0.5rem; /* w-2 */
  height: 0.5rem; /* h-2 */
  border-radius: 50%;
  margin-top: 0.5rem; /* mt-2 */
  flex-shrink: 0;
}

.education-content ul li .bullet-cyan {
  background-color: var(--cyan-400);
}

.education-content ul li .bullet-purple {
  background-color: var(--purple-400);
}

/* Courses Section */
.courses-section {
  background-color: var(--darker-background); /* bg-space-dark/70 */
  border-top: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/20 */
}

.current-courses {
  margin-bottom: 3rem; /* mb-12 */
}

.current-courses h3 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: var(--white);
  margin-bottom: 2rem; /* mb-8 */
  display: flex;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
}

.current-courses h3 .icon {
  font-size: 1.875rem; /* text-3xl */
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; /* gap-6 */
}

@media (min-width: 1024px) {
  /* lg */
  .courses-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.course-card {
  background-color: rgba(10, 10, 15, 0.5); /* bg-space-dark/50 */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  border-radius: 0.5rem; /* rounded-lg */
  backdrop-filter: blur(10px); /* backdrop-blur-sm */
  transition: all 0.3s ease;
}

.course-card:hover {
  border-color: rgba(0, 255, 255, 0.5); /* hover:border-cyan-400/50 */
}

.course-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem; /* p-6 */
  border-bottom: 1px solid var(--gray-700); /* Separator */
}

.course-icon {
  font-size: 1.875rem; /* text-3xl */
  flex-shrink: 0;
}

.course-info {
  flex: 1;
  margin-left: 1rem; /* gap-4 */
}

.course-title {
  font-size: 1.125rem; /* text-lg */
  color: var(--white);
  margin-bottom: 0.5rem; /* mb-2 */
}

.course-institution {
  color: var(--cyan-400);
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.5rem; /* mb-2 */
}

.course-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  margin-top: 0.5rem; /* mt-2 */
}

.badge-orange-status {
  background-color: rgba(251, 146, 60, 0.2); /* bg-orange-500/20 */
  color: var(--orange-400);
  border-color: rgba(251, 146, 60, 0.3); /* border-orange-500/30 */
}

.badge-purple-outline {
  border: 1px solid var(--purple-400);
  color: var(--purple-400);
  background-color: transparent;
}

.course-content {
  padding: 1.5rem; /* p-6 */
}

.course-description {
  color: var(--gray-300);
  margin-bottom: 1rem; /* mb-4 */
}

.course-content h4 {
  font-size: 1rem; /* text-base */
  color: var(--white);
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.5rem; /* mb-2 */
}

.completed-courses {
  margin-top: 3rem; /* Added margin-top */
}

.completed-courses h3 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: var(--white);
  margin-bottom: 2rem; /* mb-8 */
  display: flex;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
}

.completed-courses h3 .icon {
  font-size: 1.875rem; /* text-3xl */
}

.completed-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; /* gap-4 */
}

@media (min-width: 768px) {
  /* md */
  .completed-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  /* lg */
  .completed-courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.completed-course-card {
  background-color: rgba(10, 10, 15, 0.3); /* bg-space-dark/30 */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  border-radius: 0.5rem; /* rounded-lg */
  backdrop-filter: blur(10px); /* backdrop-blur-sm */
  padding: 1.5rem; /* p-6 */
  transition: all 0.3s ease;
}

.completed-course-card:hover {
  border-color: rgba(74, 222, 128, 0.5); /* hover:border-green-400/50 */
  transform: scale(1.05); /* hover:transform hover:scale-105 */
}

.completed-course-icon {
  font-size: 1.5rem; /* text-2xl */
  margin-bottom: 0.75rem; /* mb-3 */
}

.completed-course-card .badge-green-status {
  background-color: rgba(74, 222, 128, 0.2); /* bg-green-500/20 */
  color: var(--green-400);
  border-color: rgba(74, 222, 128, 0.3); /* border-green-500/30 */
  font-size: 0.75rem; /* text-xs */
  float: right; /* Align to top right */
  margin-top: -0.5rem; /* Adjust position */
  margin-right: -0.5rem; /* Adjust position */
}

.completed-course-title {
  font-size: 0.875rem; /* text-sm */
  color: var(--white);
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.5rem; /* mb-2 */
}

.completed-course-institution {
  color: var(--cyan-400);
  font-size: 0.875rem; /* text-sm */
  margin-bottom: 0.5rem; /* mb-2 */
}

.completed-course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.completed-course-duration {
  color: var(--gray-400);
  font-size: 0.75rem; /* text-xs */
  display: flex;
  align-items: center;
  gap: 0.25rem; /* gap-1 */
}

.completed-course-duration i {
  font-size: 0.75rem; /* h-3 w-3 */
}

.call-to-action-card {
  background-color: rgba(10, 10, 15, 0.7); /* bg-space-dark/70 */
  border: 1px solid rgba(139, 92, 246, 0.5); /* border-purple-500/50 */
  border-radius: 0.5rem; /* rounded-lg */
  backdrop-filter: blur(10px); /* backdrop-blur-sm */
  padding: 2rem; /* p-8 */
  text-align: center;
  margin-top: 3rem; /* mt-12 */
}

.cta-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem; /* mb-4 */
  font-size: 2.5rem; /* text-4xl */
  animation: bounce 1s infinite;
}

.call-to-action-card h3 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: var(--white);
  margin-bottom: 1rem; /* mb-4 */
}

.call-to-action-card p {
  color: var(--gray-300);
  font-size: 1.125rem; /* text-lg */
  margin-bottom: 1.5rem; /* mb-6 */
  max-width: 600px; /* max-w-2xl */
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact-section {
  background-color: var(--background-color);
}

.contact-info-grid {
  margin-bottom: 3rem; /* mb-12 */
}

.contact-info-grid h3 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: var(--white);
  margin-bottom: 1.5rem; /* mb-6 */
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
}

.contact-info-grid h3 .icon {
  font-size: 1.875rem; /* text-3xl */
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.contact-item-card {
  background-color: rgba(10, 10, 15, 0.5); /* bg-space-dark/50 */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  border-radius: 0.5rem; /* rounded-lg */
  backdrop-filter: blur(10px); /* backdrop-blur-sm */
  padding: 1rem; /* p-4 */
  display: flex;
  align-items: center;
  gap: 1rem; /* gap-4 */
  transition: all 0.3s ease;
}

.contact-item-card:hover {
  border-color: rgba(0, 255, 255, 0.5); /* hover:border-cyan-400/50 */
}

.contact-item-icon {
  padding: 0.75rem; /* p-3 */
  background: linear-gradient(to right, rgba(139, 92, 246, 0.2), rgba(0, 255, 255, 0.2)); /* from-purple-500/20 to-cyan-500/20 */
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/30 */
  font-size: 1.5rem; /* text-2xl */
  transition: transform 0.3s ease;
}

.contact-item-card:hover .contact-item-icon {
  transform: scale(1.1);
}

.contact-item-card h4 {
  font-size: 1rem; /* text-base */
  color: var(--white);
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.25rem; /* mb-1 */
}

.contact-item-card p {
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.contact-item-card:hover p {
  color: var(--cyan-400);
}

.social-links-contact {
  margin-top: 2rem; /* mt-8 */
}

.social-links-contact h3 {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-bold */
  color: var(--white);
  margin-bottom: 1rem; /* mb-4 */
}

.social-buttons {
  display: flex;
  gap: 1rem; /* gap-4 */
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; /* size-icon */
  height: 2.5rem; /* size-icon */
  border-radius: 0.375rem; /* rounded-md */
  color: var(--white);
  transition: all 0.3s ease;
}

.social-btn i {
  font-size: 1.25rem; /* h-5 w-5 */
}

.btn-linkedin {
  background: linear-gradient(to right, #00ffff, #007bff); /* from-cyan-500 to-blue-500 */
}
.btn-linkedin:hover {
  background: linear-gradient(to right, #00e6e6, #0069d9); /* hover:from-cyan-600 hover:to-blue-600 */
  transform: scale(1.1);
}

.btn-github {
  background: linear-gradient(to right, #8b5cf6, #ec4899); /* from-purple-500 to-pink-500 */
}
.btn-github:hover {
  background: linear-gradient(to right, #7c3aed, #db2777); /* hover:from-purple-600 hover:to-pink-600 */
  transform: scale(1.1);
}

.btn-email {
  background: linear-gradient(to right, #007bff, #00ffff); /* from-blue-500 to-cyan-500 */
}
.btn-email:hover {
  background: linear-gradient(to right, #0069d9, #00e6e6); /* hover:from-blue-600 hover:to-cyan-600 */
  transform: scale(1.1);
}

/* Footer */
.footer {
  background-color: var(--darker-background);
  padding: 2rem 0; /* py-8 */
  text-align: center;
  font-size: 0.875rem; /* text-sm */
  color: var(--gray-400);
  border-top: 1px solid rgba(139, 92, 246, 0.2); /* border-purple-500/20 */
}

.footer .container {
  max-width: 1000px; /* max-w-6xl */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem; /* gap-4 */
}

@media (min-width: 768px) {
  /* md */
  .footer .container {
    flex-direction: row;
  }
}

.footer-made-with {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  color: var(--gray-400);
}

.footer-made-with .heart-icon {
  color: var(--red-400);
  font-size: 1.25rem; /* text-xl */
  animation: pulse 1.5s infinite;
}

.footer-made-with .code-icon {
  color: var(--cyan-400);
  font-size: 1.25rem; /* text-xl */
}

.footer-made-with .rocket-icon {
  font-size: 1.25rem; /* text-xl */
  animation: bounce 1s infinite;
}

/* Custom Animations */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

.ping-icon {
  position: absolute;
  top: -0.5rem; /* -top-2 */
  right: -0.5rem; /* -right-2 */
  font-size: 0.875rem; /* text-2xl */
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-role {
    font-size: 1.25rem;
  }
  .hero-description {
    font-size: 1rem;
  }

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

  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-avatar {
    margin-left: auto;
    margin-right: auto;
  }
  .about-text {
    text-align: center;
  }

  .timeline::before {
    left: 1rem;
  }
  .timeline-item {
    width: auto;
    margin-left: 2rem;
    padding-left: 1.5rem;
    text-align: left;
  }
  .timeline-item::before {
    left: 0;
    transform: translateX(-50%);
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    padding-right: 1.5rem;
  }
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: 0;
    transform: translateX(-50%);
  }

  .contact-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-role {
    font-size: 1rem;
  }
  .hero-description {
    font-size: 0.875rem;
  }
  .social-links a {
    font-size: 1.8rem;
  }
  .about-avatar {
    width: 150px;
    height: 150px;
  }
  .skill-item i {
    font-size: 2.5rem;
  }
  .contact-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}
