/* Futuristic Portfolio - CSS Styles */

/* CSS Variables - Design System */
:root {
  /* Dark futuristic theme colors */
  --background: #0f0f23;
  --foreground: #f8fafc;
  --card: #1a1a3e;
  --card-foreground: #f8fafc;
  
  /* Neon primary colors */
  --primary: #3b82f6;
  --primary-foreground: #0f0f23;
  --primary-glow: #60a5fa;
  
  /* Neon accent colors */
  --accent: #c084fc;
  --accent-foreground: #0f0f23;
  --accent-glow: #e879f9;
  
  /* Success/Error colors */
  --success: #10b981;
  --success-glow: #34d399;
  --destructive: #ef4444;
  --destructive-foreground: #f8fafc;
  
  /* UI colors */
  --muted: #374151;
  --muted-foreground: #9ca3af;
  --border: #374151;
  --input: #374151;
  --ring: #3b82f6;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6, #60a5fa);
  --gradient-accent: linear-gradient(135deg, #c084fc, #e879f9);
  --gradient-cyber: linear-gradient(135deg, #3b82f6, #c084fc);
  --gradient-dark: linear-gradient(135deg, #0f0f23, #1a1a3e);
  
  /* Shadows and glows */
  --shadow-neon: 0 0 20px rgba(59, 130, 246, 0.5);
  --shadow-accent: 0 0 20px rgba(192, 132, 252, 0.5);
  --shadow-card: 0 8px 32px rgba(15, 15, 35, 0.3);
  --shadow-intense: 0 0 40px rgba(59, 130, 246, 0.8);
  
  /* Transitions */
  --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);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  overflow-x: hidden;
}

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

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-red {
  color: #ef4444;
}

/* Glassmorphism Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

/* Cyber Grid Background */
.cyber-grid {
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Hover Effects */
.hover-glow {
  transition: var(--transition-smooth);
}

.hover-glow:hover {
  box-shadow: var(--shadow-intense);
  transform: translateY(-2px);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn i {
  margin-left: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-cyber {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-neon);
}

.btn-cyber:hover {
  box-shadow: var(--shadow-intense);
  transform: scale(1.05);
}

.btn-neon {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.btn-neon:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-intense);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-neon);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-hero {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  height: 3.5rem;
}

.btn-full {
  width: 100%;
}

.btn .loading-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Particles Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(15, 15, 35, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition-smooth);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.25rem;
  cursor: pointer;
}

.nav-mobile {
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border: 1px solid rgba(59, 130, 246, 0.3);
  z-index: 1;
}

.shape-1 {
  top: 20%;
  left: 10%;
  width: 8rem;
  height: 8rem;
  transform: rotate(45deg);
  animation: float-rotate 20s linear infinite;
}

.shape-2 {
  top: 30%;
  right: 10%;
  width: 6rem;
  height: 6rem;
  border-color: rgba(192, 132, 252, 0.3);
  animation: float-bob 15s ease-in-out infinite;
}

.shape-3 {
  bottom: 20%;
  left: 20%;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  animation: float-pulse 8s ease-in-out infinite;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 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;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.stat-card {
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--primary);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  animation: bounce 2s infinite;
}

.scroll-wheel {
  width: 0.25rem;
  height: 0.75rem;
  background: var(--primary);
  border-radius: 9999px;
  margin-top: 0.5rem;
  animation: scroll 2s infinite;
}

/* Section Styles */
section {
  padding: 5rem 0;
  position: relative;
}

.section-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.section-divider {
  width: 6rem;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About Section */
.about {
  background: var(--card);
}

.profile-container {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  position: relative;
}

.profile-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.3;
  animation: glow-pulse 2s ease-in-out infinite;
  z-index: 0;
}

.profile-image {
  position: relative;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: 4px solid rgba(59, 130, 246, 0.3);
  overflow: hidden;
  z-index: 1;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.profile-image:hover img {
  transform: scale(1.1);
}

.status-indicator {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  width: 3rem;
  height: 3rem;
  background: var(--success);
  border-radius: 50%;
  border: 4px solid var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-dot {
  width: 1rem;
  height: 1rem;
  background: var(--success-glow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.stat-item {
  padding: 2rem;
  text-align: center;
}

.icon-primary {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.icon-accent {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.about-card {
  padding: 2rem;
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.bg-primary {
  background: var(--gradient-primary);
}

.bg-accent {
  background: var(--gradient-accent);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.skills-preview h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tech-tag {
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 9999px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.tech-tag:hover {
  background: rgba(59, 130, 246, 0.2);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

/* Projects Section */
.projects {
  background: rgba(26, 26, 62, 0.3);
}

.project-carousel {
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.project-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.project-slide.active {
  display: block;
  opacity: 1;
}

.project-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.project-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 16rem;
}

.project-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.2;
  border-radius: 12px;
  fill: 20px;
  z-index: 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
}

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

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.project-details {
  padding: 2rem;
}

.project-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.tag {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 9999px;
  font-weight: 500;
}

.project-buttons {
  display: flex;
  gap: 1rem;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.nav-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-neon);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background: var(--primary);
  box-shadow: var(--shadow-neon);
}

.project-counter {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Skills Section */
.skills {
  background: var(--card);
  position: relative;
}

.skills-glow-1 {
  position: absolute;
  top: 5rem;
  left: 5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 50%;
  fill: 60px;
}

.skills-glow-2 {
  position: absolute;
  bottom: 5rem;
  right: 5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(192, 132, 252, 0.05);
  border-radius: 50%;
  fill: 60px;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.skill-category {
  padding: 2rem;
}

.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.category-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.25rem;
  color: white;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 700;
}

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

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

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-weight: 500;
  color: var(--foreground);
}

.skill-percentage {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.skill-bar {
  width: 100%;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 9999px;
  box-shadow: var(--shadow-neon);
  width: 0;
  transition: width 1.5s ease-out;
}

.skill-progress.skill-accent {
  background: var(--gradient-accent);
  box-shadow: var(--shadow-accent);
}

.soft-skills {
  text-align: center;
  margin-bottom: 4rem;
}

.soft-skills h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.soft-skill {
  padding: 2rem;
  text-align: center;
}

.soft-skill-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary-foreground);
  transition: var(--transition-smooth);
}

.soft-skill:hover .soft-skill-icon {
  box-shadow: var(--shadow-intense);
  transform: scale(1.1);
}

.soft-skill-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.soft-skill-bar {
  width: 100%;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.soft-skill-progress {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 9999px;
  box-shadow: var(--shadow-accent);
  width: 0;
  transition: width 1.5s ease-out;
}

.soft-skill-percentage {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.learning-section {
  padding: 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.learning-section h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.learning-section p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background: rgba(26, 26, 62, 0.3);
  position: relative;
}

.contact-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.05), transparent, rgba(192, 132, 252, 0.05));
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 10;
}

.contact-form {
  padding: 2rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: var(--foreground);
  font-size: 1rem;
  transition: var(--transition-smooth);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

.contact-info {
  padding: 2rem;
}

.info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.info-item:hover .info-icon {
  box-shadow: var(--shadow-neon);
}

.info-content {
  flex: 1;
}

.info-label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.info-value {
  color: var(--foreground);
  font-weight: 500;
}

.social-media {
  padding: 2rem;
  margin-top: 1.5rem;
}

.social-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: var(--foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
}

.social-link i {
  font-size: 1.25rem;
}

.availability-status {
  padding: 1.5rem;
  margin-top: 1.5rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.status-dot {
  width: 0.75rem;
  height: 0.75rem;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  color: var(--success);
  font-weight: 600;
}

.status-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  background: var(--card);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
}

.footer-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.footer-content {
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

.footer-main {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--muted-foreground);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

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

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

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

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.footer-divider {
  width: 100%;
  max-width: 300px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  margin: 0 auto 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.copyright {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-align: center;
}

.back-to-top {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: var(--primary-foreground);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
}

.back-to-top:hover {
  box-shadow: var(--shadow-intense);
  transform: translateY(-2px);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--success);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(150%);
  transition: transform 0.3s ease;
  z-index: 100;
  min-width: 300px;
}

.toast.show {
  transform: translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.toast-icon {
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.toast-text {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  opacity: 0.9;
}

.toast-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

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

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

@keyframes float-rotate {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  to { transform: rotate(360deg) scale(1); }
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

@keyframes float-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.5); opacity: 0.7; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

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

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

@keyframes scroll {
  0% { transform: translateY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

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

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

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .soft-skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .mobile-menu-btn {
    display: none;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 4rem;
  }

  .about-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    justify-content: space-between;
  }
}

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

  .section-title {
    font-size: 5rem;
  }
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
  :root {
    --primary: #60a5fa;
    --accent: #e879f9;
    --muted-foreground: #d1d5db;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-indicator {
    display: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .scroll-indicator,
  .toast,
  .back-to-top {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .glass-card {
    background: white !important;
    border: 1px solid #ccc !important;
  }
}

/* Enhanced Portfolio Styles - Settings and Interactive Features */

/* Settings Panel Styles */
.settings-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 320px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1000;
  padding: 1.5rem;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.settings-header h3 {
  color: var(--primary);
  font-size: 1.125rem;
  margin: 0;
}

.btn-close {
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.btn-close:hover {
  opacity: 1;
}

.setting-group {
  margin-bottom: 1.25rem;
}

.setting-group label {
  display: block;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.setting-select {
  width: 100%;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 6px;
  color: var(--foreground);
  font-size: 0.875rem;
}

.setting-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: var(--primary);
}

input[type="range"] {
  width: 100%;
  margin-top: 0.5rem;
  accent-color: var(--primary);
}

.setting-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.setting-actions .btn {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
}

.settings-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: var(--primary-foreground);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-neon);
  transition: var(--transition-smooth);
  z-index: 999;
}

.settings-toggle:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: var(--shadow-intense);
}

/* Form Validation Styles */
.form-group input.error,
.form-group textarea.error {
  border-color: var(--destructive);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.form-group input.success,
.form-group textarea.success {
  border-color: var(--success);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.field-error {
  color: var(--destructive);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
}

.field-error::before {
  content: "⚠";
  margin-right: 0.25rem;
}

/* Mobile Responsive Settings */
@media (max-width: 768px) {
  .settings-panel {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: 70vh;
  }
  
  .settings-toggle {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }
}

/* Animation Classes */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes float-rotate {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes float-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
  40%, 43% { transform: translate3d(0,-30px,0); }
  70% { transform: translate3d(0,-15px,0); }
  90% { transform: translate3d(0,-4px,0); }
}

@keyframes scroll {
  0% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
  100% { opacity: 0; transform: translateY(16px); }
}

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