/* ===================================
   PRINCE KUMAR JHA - DATA ANALYST PORTFOLIO
   Professional, clean, recruiter-optimized
   =================================== */

/* CSS Custom Properties for Dark/Light Mode */
:root {
  /* Dark Mode (default) */
  --bg-primary: #0f1419;
  --bg-secondary: #1a1f2e;
  --bg-tertiary: #252d3d;
  --text-primary: #ffffff;
  --text-secondary: #b0b8c1;
  --text-tertiary: #7a8391;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-dark: #1d4ed8;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.light-mode {
  /* Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f0f2f5;
  --text-primary: #0f1419;
  --text-secondary: #4a5568;
  --text-tertiary: #718096;
  --accent: #1d4ed8;
  --accent-light: #2563eb;
  --accent-dark: #1e40af;
  --border: rgba(0, 0, 0, 0.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

body.light-mode .header {
  background: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav a:hover,
.nav a:active {
  color: var(--accent-light);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-light);
  transition: width 0.2s ease;
}

.nav a:hover::after,
.nav a:active::after {
  width: 100%;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.theme-toggle:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: rgba(37, 99, 235, 0.1);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  text-align: center;
  margin-top: 70px;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-role {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-statement {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-light);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--accent-light);
}

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

/* ===================================
   SECTIONS
   =================================== */

.about,
.skills,
.projects,
.looking-for,
.contact {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 48px;
  text-align: center;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ===================================
   SKILLS SECTION
   =================================== */

.skills {
  background: var(--bg-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.skill-category {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.category-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.skill-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.skill-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.skill-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: bold;
}

/* ===================================
   PROJECTS SECTION
   =================================== */

.projects-grid {
  display: grid;
  gap: 24px;
}

.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
}

.project-header {
  margin-bottom: 16px;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.project-problem {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 12px 0 16px 0;
  line-height: 1.6;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-tool {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-light);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.project-outcome {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.project-outcome strong {
  color: var(--text-primary);
}

/* ===================================
   LOOKING FOR SECTION
   =================================== */

.looking-for {
  background: var(--bg-secondary);
}

.looking-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.looking-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
  text-align: center;
}

.looking-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-4px);
}

.looking-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.looking-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-content > p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-links {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.contact-item:hover {
  border-color: var(--accent-light);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-light);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    gap: 16px;
    margin-top: 8px;
    justify-content: space-around;
  }

  .nav a {
    font-size: 0.85rem;
  }

  .hero {
    margin-top: 120px;
    padding: 60px 24px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .about,
  .skills,
  .projects,
  .looking-for,
  .contact {
    padding: 60px 0;
  }

  .skills-grid,
  .looking-for-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 20px;
  }

  .project-title {
    font-size: 1.15rem;
  }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus Visible */
*:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  body.loaded {
    opacity: 1;
  }
  
  #shaderCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
  }
  
  .content-wrapper {
    position: relative;
    z-index: 1;
  }
  
  .scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    z-index: 9999;
  }
  
  .scroll-progress {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.1s ease;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
  
  /* Navigation */
  .floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    gap: 8px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
  }
  
  .nav-link i {
    font-size: 1rem;
  }
  
  .nav-link span {
    display: none;
  }
  
  .nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
  }
  
  .nav-link.active {
    color: var(--text-primary);
    background: var(--accent);
  }
  
  /* Sections */
  .section {
    padding: 120px 0;
    position: relative;
  }
  
  .section-dark {
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(10px);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  
  .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
  }
  
  /* Hero Section */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 80px;
  }
  
  .hero-content {
    max-width: 800px;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
  }
  
  .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
  }
  
  .hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
  }
  
  .hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
  }
  
  .hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
  }
  
  .btn-primary {
    background: var(--accent);
    color: white;
  }
  
  .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
  }
  
  .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
  }
  
  .btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
  }
  
  .hero-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
  }
  
  .social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-2px);
  }
  
  /* About Section */
  .about-grid {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
  }
  
  .text-large {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
  }
  
  .about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  
  .highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
  }
  
  .highlight-item i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
  }
  
  /* Projects Section */
  .projects-grid {
    display: grid;
    gap: 32px;
  }
  
  .project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
  }
  
  .project-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
  }
  
  .project-image {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 250px;
  }
  
  .project-icon {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
  }
  
  .project-content {
    padding: 32px;
  }
  
  .project-header {
    margin-bottom: 12px;
  }
  
  .project-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
  }
  
  .project-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }
  
  .project-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .project-details {
    margin-bottom: 24px;
  }
  
  .detail-group {
    margin-bottom: 16px;
  }
  
  .detail-group h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
  }
  
  .detail-group ul {
    list-style: none;
    padding: 0;
  }
  
  .detail-group li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
    line-height: 1.6;
  }
  
  .detail-group li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
  }
  
  .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .tech-tag {
    font-size: 0.85rem;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    color: var(--accent);
    font-weight: 500;
  }
  
  .project-links {
    display: flex;
    gap: 20px;
  }
  
  .project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
  }
  
  .project-link:hover {
    color: var(--accent-hover);
  }
  
  /* Services Section */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
  }
  
  .service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
  }
  
  .service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
  }
  
  .service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
  }
  
  .service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
  }
  
  .service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
  }
  
  .services-note {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    text-align: center;
  }
  
  .services-note p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
  }
  
  .services-note strong {
    color: var(--text-primary);
  }
  
  /* Skills Section */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
  }
  
  .skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
  }
  
  .skill-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
  }
  
  .skill-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
  }
  
  .skill-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .skill-item {
    font-size: 0.9rem;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
  }
  
  .skill-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
    color: var(--accent);
  }
  
  /* Skill levels with color coding */
  .skill-strong {
    border-color: rgba(34, 197, 94, 0.3);
  }
  
  .skill-intermediate {
    border-color: rgba(59, 130, 246, 0.3);
  }
  
  .skill-learning {
    border-color: rgba(251, 191, 36, 0.3);
  }
  
  .skills-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  
  .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
  }
  
  .legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid;
  }
  
  .legend-dot.skill-strong {
    border-color: rgba(34, 197, 94, 0.6);
  }
  
  .legend-dot.skill-intermediate {
    border-color: rgba(59, 130, 246, 0.6);
  }
  
  .legend-dot.skill-learning {
    border-color: rgba(251, 191, 36, 0.6);
  }
  
  /* Contact Section */
  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
  }
  
  .contact-text {
    position: sticky;
    top: 120px;
  }
  
  .contact-info {
    margin-top: 32px;
  }
  
  .info-item {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .info-item i {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 4px;
  }
  
  .info-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 4px;
  }
  
  .info-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s ease;
  }
  
  .info-item a:hover {
    color: var(--accent);
  }
  
  .info-item p {
    color: var(--text-primary);
    font-size: 1.05rem;
  }
  
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
  }
  
  .contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
  }
  
  .contact-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    transition: all 0.3s ease;
  }
  
  .contact-card:hover .contact-card-icon {
    background: var(--accent);
    color: white;
  }
  
  .contact-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
  }
  
  .contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
  }
  
  /* Footer */
  .footer {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid var(--border);
    padding: 32px 0;
    backdrop-filter: blur(10px);
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
  }
  
  .footer-links {
    display: flex;
    gap: 12px;
  }
  
  .footer-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .footer-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
  }
  
  /* Keyboard navigation focus styles */
  .keyboard-nav *:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .project-card {
      grid-template-columns: 1fr;
    }
    
    .project-image {
      min-height: 200px;
    }
    
    .contact-content {
      grid-template-columns: 1fr;
    }
    
    .contact-text {
      position: static;
    }
  }
  
  @media (max-width: 768px) {
    .section {
      padding: 80px 0;
    }
    
    .floating-nav {
      top: auto;
      bottom: 20px;
      padding: 10px 16px;
    }
    
    .nav-link {
      padding: 10px 14px;
    }
    
    .nav-link span {
      display: none;
    }
    
    .hero {
      padding: 120px 24px 60px;
    }
    
    .hero-actions {
      flex-direction: column;
      width: 100%;
    }
    
    .btn {
      width: 100%;
      justify-content: center;
    }
    
    .about-highlights {
      grid-template-columns: 1fr;
    }
    
    .services-grid,
    .skills-grid {
      grid-template-columns: 1fr;
    }
    
    .contact-cards {
      grid-template-columns: 1fr;
    }
    
    .skills-legend {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .footer-content {
      flex-direction: column;
      gap: 16px;
      text-align: center;
    }
  }
  
  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }