:root {
  /* Dark theme colors */
  --background: hsl(220, 13%, 8%);
  --background-secondary: hsl(220, 13%, 10%);
  --foreground: hsl(210, 40%, 98%);

  --card: hsl(220, 13%, 11%);
  --card-foreground: hsl(210, 40%, 98%);
  --card-border: hsl(220, 13%, 15%);

  /* Orange primary accent */
  --primary: hsl(30, 100%, 50%);
  --primary-foreground: hsl(220, 13%, 8%);
  --primary-glow: hsl(30, 100%, 60%);

  /* Blue secondary accent */
  --secondary: hsl(207, 90%, 54%);
  --secondary-foreground: hsl(220, 13%, 8%);
  --secondary-glow: hsl(207, 90%, 64%);

  --muted: hsl(220, 13%, 15%);
  --muted-foreground: hsl(220, 9%, 60%);

  --border: hsl(220, 13%, 15%);
  --input: hsl(220, 13%, 15%);

  /* Custom portfolio colors */
  --hero-gradient: linear-gradient(135deg, hsl(220, 13%, 8%), hsl(220, 13%, 12%));
  --card-gradient: linear-gradient(135deg, hsl(220, 13%, 11%, 0.8), hsl(220, 13%, 13%, 0.8));
  --accent-gradient: linear-gradient(135deg, hsl(30, 100%, 50%), hsl(207, 90%, 54%));
  --glow-orange: 0 0 40px hsl(30, 100%, 50%, 0.3);
  --glow-blue: 0 0 40px hsl(207, 90%, 54%, 0.3);

  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  opacity: 0.5;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px hsl(30, 100%, 50%, 0.3);
  }
  50% {
    box-shadow: 0 0 40px hsl(30, 100%, 50%, 0.6);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--glow-orange);
}

.btn-primary:hover {
  background-color: var(--primary-glow);
  box-shadow: var(--glow-orange);
  transform: scale(1.05);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  transform: scale(1.05);
}

.btn-primary-outline {
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
  border: 1px solid hsl(30, 100%, 50%, 0.5);
}

.btn-primary-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-secondary-outline {
  background-color: hsl(207, 90%, 54%, 0.2);
  color: var(--secondary);
  border: 1px solid hsl(207, 90%, 54%, 0.5);
}

.btn-secondary-outline:hover {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: var(--muted);
  color: var(--muted-foreground);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.featured-badge {
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
  border: 1px solid hsl(30, 100%, 50%, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeIn 0.6s ease-out;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 1.5rem 0;
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-divider {
  width: 6rem;
  height: 0.25rem;
  background: var(--accent-gradient);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--background);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out;
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  z-index: 10;
}

.preloader-logo {
  margin-bottom: 2rem;
  animation: scaleIn 0.5s ease-out;
}

.logo-container {
  position: relative;
  width: 5rem;
  height: 5rem;
  background: var(--accent-gradient);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-orange);
  animation: glowPulse 2s ease-in-out infinite;
}

.code-icon {
  color: var(--background);
  animation: pulse 2s ease-in-out infinite;
}

.preloader-text {
  margin-bottom: 2rem;
  animation: fadeIn 0.6s ease-out;
}

.preloader-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.preloader-text p {
  color: var(--muted-foreground);
}

.progress-bar {
  width: 16rem;
  height: 0.25rem;
  background-color: var(--muted);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.3s ease-out;
  width: 0%;
}

.progress-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(1rem);
  animation: float 3s ease-in-out infinite;
}

.float-1 {
  top: 5rem;
  left: 5rem;
  width: 3rem;
  height: 3rem;
  background-color: hsl(30, 100%, 50%, 0.2);
}

.float-2 {
  bottom: 5rem;
  right: 5rem;
  width: 4rem;
  height: 4rem;
  background-color: hsl(207, 90%, 54%, 0.2);
  animation-delay: 1s;
}

.float-3 {
  top: 33%;
  right: 25%;
  width: 2rem;
  height: 2rem;
  background-color: hsl(30, 100%, 50%, 0.1);
  animation-delay: 0.5s;
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 40;
  transition: var(--transition-smooth);
}

.navigation.scrolled {
  background-color: hsl(220, 13%, 8%, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 6px -1px hsl(0, 0%, 0%, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-badge {
  width: 2rem;
  height: 2rem;
  background: var(--accent-gradient);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--background);
}

.logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--primary);
}

.hire-btn {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: var(--glow-orange);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.hire-btn:hover {
  background-color: var(--primary-glow);
  box-shadow: var(--glow-orange);
  transform: scale(1.05);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  background-color: hsl(220, 13%, 8%, 0.95);
  backdrop-filter: blur(12px);
  border-left: 1px solid var(--card-border);
  transform: translateX(100%);
  transition: var(--transition-smooth);
  z-index: 50;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-close {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-link {
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-weight: 500;
  text-align: left;
  padding: 0.75rem 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1.125rem;
}

.mobile-link:hover {
  color: var(--primary);
  background-color: hsl(30, 100%, 50%, 0.1);
}

.mobile-hire {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('src/assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: hsl(220, 13%, 8%, 0.5);
  backdrop-filter: blur(2px);
}

.hero-animation {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.float-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(2rem);
  animation: float 3s ease-in-out infinite;
}

.float-circle-1 {
  top: 5rem;
  left: 5rem;
  width: 8rem;
  height: 8rem;
  background-color: hsl(30, 100%, 50%, 0.2);
}

.float-circle-2 {
  bottom: 5rem;
  right: 5rem;
  width: 6rem;
  height: 6rem;
  background-color: hsl(207, 90%, 54%, 0.2);
  animation-delay: 1s;
}

.float-circle-3 {
  top: 50%;
  left: 25%;
  width: 4rem;
  height: 4rem;
  background-color: hsl(30, 100%, 50%, 0.1);
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-text {
  animation: fadeIn 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: hsl(220, 13%, 11%, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: 2rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  animation: glowPulse 2s ease-in-out infinite;
}

.sparkles-icon {
  color: var(--primary);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.code-icon-small {
  color: var(--primary);
  flex-shrink: 0;
}

.hero-subtitle h2 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--muted-foreground);
  font-weight: 400;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.75rem;
}

.arrow-icon {
  margin-left: 0.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--muted-foreground);
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.75rem;
  background-color: var(--muted-foreground);
  border-radius: 2px;
  animation: pulse 2s ease-in-out infinite;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--background-secondary);
}

.about-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-story {
  animation: slideUp 0.8s ease-out;
}

.story-content {
  position: relative;
}

.story-line {
  position: absolute;
  left: -1rem;
  top: 0;
  width: 0.25rem;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.story-text {
  padding-left: 2rem;
}

.story-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.story-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-paragraphs p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.fun-fact {
  color: var(--primary);
}

.skills-section {
  animation: scaleIn 0.5s ease-out;
}

.skills-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-category {
  background-color: hsl(220, 13%, 11%, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.skill-category:hover {
  background-color: hsl(220, 13%, 11%, 0.7);
  transform: translateY(-2px);
}

.category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: hsl(220, 13%, 8%, 0.5);
  border-radius: 0.5rem;
  transition: var(--transition-smooth);
}

.skill-item:hover {
  background-color: hsl(220, 13%, 8%, 0.7);
  transform: scale(1.05);
}

.skill-icon {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: hsl(220, 13%, 15%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-icon svg {
  color: var(--primary);
}

.skill-item span {
  font-weight: 500;
  color: var(--foreground);
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background-color: var(--background);
}

.projects-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background-color: hsl(220, 13%, 11%, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  animation: slideUp 0.8s ease-out;
}

.project-card:hover {
  background-color: hsl(220, 13%, 11%, 0.7);
  transform: scale(1.05);
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.project-info {
  flex: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.project-card:hover .project-title {
  color: var(--primary);
}

.project-links {
  display: flex;
  gap: 0.5rem;
}

.project-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: transparent;
  color: var(--muted-foreground);
  border: none;
  border-radius: 0.25rem;
  transition: var(--transition-smooth);
  text-decoration: none;
  cursor: pointer;
}

.project-link-icon:hover {
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  padding: 0.25rem 0.5rem;
  background-color: hsl(220, 13%, 8%, 0.5);
  border: 1px solid var(--muted);
  color: var(--muted-foreground);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  transition: var(--transition-smooth);
}

.tech-tag:hover {
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
  border-color: hsl(30, 100%, 50%, 0.5);
}

.project-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
}

.project-actions .btn {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--background-secondary);
}

.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background-color: hsl(220, 13%, 11%, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  animation: slideUp 0.8s ease-out;
}

.service-card:hover {
  background-color: hsl(220, 13%, 11%, 0.7);
  transform: scale(1.05);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-icon {
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.service-card.primary .service-icon {
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
}

.service-card.secondary .service-icon {
  background-color: hsl(207, 90%, 54%, 0.2);
  color: var(--secondary);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  transition: var(--transition-smooth);
}

.service-card:hover .service-title {
  color: var(--primary);
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.service-features h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.feature-dot.primary {
  background-color: var(--primary);
}

.feature-dot.secondary {
  background-color: var(--secondary);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.availability-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.availability-dot.primary {
  background-color: var(--primary);
}

.availability-dot.secondary {
  background-color: var(--secondary);
}

.services-cta {
  text-align: center;
  margin-top: 4rem;
  animation: fadeIn 0.6s ease-out;
}

.cta-card {
  background-color: hsl(220, 13%, 11%, 0.3);
  backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  color: var(--muted-foreground);
}

.cta-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-badges {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-badge {
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
  border: 1px solid hsl(30, 100%, 50%, 0.3);
}

.cta-badge:nth-child(2) {
  background-color: hsl(207, 90%, 54%, 0.2);
  color: var(--secondary);
  border: 1px solid hsl(207, 90%, 54%, 0.3);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--background);
}

.contact-content {
  display: grid;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-card {
  background-color: hsl(220, 13%, 11%, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 2rem;
  animation: slideUp 0.8s ease-out;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mail-icon {
  color: var(--primary);
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--foreground);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  background-color: hsl(220, 13%, 8%, 0.5);
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  color: var(--foreground);
  transition: var(--transition-smooth);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: var(--glow-orange);
}

.form-submit:hover {
  box-shadow: var(--glow-orange);
  transform: scale(1.05);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: scaleIn 0.5s ease-out;
}

.info-card {
  background-color: hsl(220, 13%, 11%, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon.primary {
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
}

.contact-icon.secondary {
  background-color: hsl(207, 90%, 54%, 0.2);
  color: var(--secondary);
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-details .label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-details .value {
  font-weight: 500;
  color: var(--foreground);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: transparent;
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
}

.social-link.github:hover {
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
  border-color: var(--primary);
}

.social-link.linkedin:hover {
  background-color: hsl(207, 90%, 54%, 0.2);
  color: var(--secondary);
  border-color: var(--secondary);
}

.availability {
  background-color: hsl(220, 13%, 11%, 0.3);
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.status-dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.status-text {
  font-weight: 600;
  color: var(--foreground);
}

.availability-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--background-secondary);
  border-top: 1px solid var(--card-border);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand-info {
  display: flex;
  gap: 0.75rem;
}

.brand-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.brand-text p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.webros-badge {
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
  border: 1px solid hsl(30, 100%, 50%, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  width: fit-content;
}

.footer-links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links h4 {
  font-weight: 600;
  color: var(--foreground);
}

.link-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.link-group button {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.875rem;
}

.link-group button:hover {
  color: var(--primary);
}

.footer-social {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-social h4 {
  font-weight: 600;
  color: var(--foreground);
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: transparent;
  border: 1px solid var(--card-border);
  border-radius: 0.25rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icons a:hover {
  background-color: hsl(30, 100%, 50%, 0.2);
  color: var(--primary);
  border-color: var(--primary);
}

.social-icons a:nth-child(3):hover {
  background-color: hsl(207, 90%, 54%, 0.2);
  color: var(--secondary);
  border-color: var(--secondary);
}

.footer-divider {
  height: 1px;
  background-color: var(--card-border);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.heart-icon {
  color: #ef4444;
  fill: #ef4444;
}

.back-to-top {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.875rem;
}

.back-to-top:hover {
  color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px hsl(0, 0%, 0%, 0.3);
  transition: var(--transition-smooth);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-link:hover {
  background-color: #20c157;
  box-shadow: 0 6px 20px hsl(0, 0%, 0%, 0.4);
  transform: scale(1.1);
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 4rem;
  right: 0;
  background-color: hsl(220, 13%, 11%, 0.9);
  backdrop-filter: blur(4px);
  color: var(--card-foreground);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  border: 1px solid var(--card-border);
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 1rem;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--card);
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background-color: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 25px -5px hsl(0, 0%, 0%, 0.25);
  z-index: 60;
  transform: translateX(400px);
  transition: var(--transition-smooth);
}

.toast.show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #10b981;
  color: white;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.toast-text {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.toast-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-subtitle {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero-subtitle h2 {
    text-align: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons .btn {
    width: 100%;
  }
  
  .project-actions {
    flex-direction: column;
  }
  
  .social-links {
    flex-direction: column;
  }
  
  .whatsapp-button {
    bottom: 1rem;
    right: 1rem;
  }
  
  .toast {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    transform: translateY(-200px);
  }
  
  .toast.show {
    transform: translateY(0);
  }
}
/* Game Section Styles */
.game {
  padding: 8rem 0;
  background-color: var(--background-secondary);
}

.game-container {
  max-width: 500px;
  margin: 0 auto;
}

.game-card {
  background: var(--card-gradient);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--glow-blue);
}

.game-status {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--foreground);
  min-height: 3rem;
}

.game-input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

#guessInput {
  flex: 1;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem;
  color: var(--foreground);
  font-size: 1.5rem;
  text-align: center;
  outline: none;
}

#guessInput:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px hsl(207, 90%, 54%, 0.2);
}

.game-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--muted-foreground);
}

.history-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.history-item {
  background: var(--muted);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
/* Style.css */
.highlight-link {
    text-decoration: none; /* Removes the default underline */
    display: inline-block;
    transition: var(--transition-bounce);
}

.highlight-link:hover {
    transform: translateY(-2px) scale(1.05); /* Adds a subtle "pop" on hover */
}

/* Ensure the highlight color stays the same */
.highlight-link .highlight {
    cursor: pointer;
}
/* Success Overlay Styles */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-overlay:not(.hidden) {
    opacity: 1;
}

.success-card {
    background: var(--card);
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid var(--card-border);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay:not(.hidden) .success-card {
    transform: scale(1);
}

/* Checkmark Animation */
.success-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.success-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: var(--primary);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-path {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: var(--primary);
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

.hidden { display: none !important; }
