/* 
   Kishore Kumar - Python Developer Portfolio
   Premium Stylesheet (Vanilla CSS)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Color Variables and Theme Setup */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  /* Light Theme Color Palette */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;

  --accent-cyan: #06b6d4;
  --accent-cyan-rgb: 6, 182, 212;
  --accent-indigo: #4f46e5;
  --accent-indigo-rgb: 79, 70, 229;
  --accent-purple: #a855f7;
  --accent-purple-rgb: 168, 85, 247;
  --accent-pink: #ec4899;
  --accent-pink-rgb: 236, 72, 153;
  --accent-orange: #f97316;
  --accent-orange-rgb: 249, 115, 22;

  --accent-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-indigo) 50%, var(--accent-pink) 100%);

  --bg-navbar: rgba(248, 250, 252, 0.6);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px -3px rgba(0, 0, 0, 0.04), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
}

[data-theme="dark"] {
  /* Dark Theme Color Palette */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1b253b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e293b;

  --accent-cyan: #22d3ee;
  --accent-cyan-rgb: 34, 211, 238;
  --accent-indigo: #818cf8;
  --accent-indigo-rgb: 129, 140, 248;
  --accent-purple: #c084fc;
  --accent-purple-rgb: 192, 132, 252;
  --accent-pink: #f472b6;
  --accent-pink-rgb: 244, 114, 182;
  --accent-orange: #fb923c;
  --accent-orange-rgb: 251, 146, 60;

  --accent-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-indigo) 50%, var(--accent-pink) 100%);

  --bg-navbar: rgba(9, 13, 22, 0.6);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px -3px rgba(0, 0, 0, 0.4), 0 4px 12px -2px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(34, 211, 238, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Keyboard Accessibility States */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--accent-cyan);
  outline-offset: 4px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Text Gradients */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 10;
  position: relative;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(var(--accent-indigo-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(var(--accent-indigo-rgb), 0.45), 0 0 15px rgba(var(--accent-pink-rgb), 0.3);
}

.btn-secondary {
  background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
    var(--accent-gradient) border-box;
  color: var(--text-primary);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(var(--accent-indigo-rgb), 0.3);
}

/* Header & Glassmorphic Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-navbar);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

header.scrolled {
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid rgba(229, 193, 88, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .brand-logo {
  border-color: rgba(229, 193, 88, 0.45);
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.18), 0 0 8px rgba(168, 85, 247, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-normal);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-secondary);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px;
  gap: 32px;
  transition: right var(--transition-normal);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--accent-cyan);
}

/* Floating animation for background glow blobs */
@keyframes float-glow-1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, -40px) scale(1.2);
  }
}

@keyframes float-glow-2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1.15);
  }

  50% {
    transform: translate(-50px, 40px) scale(0.85);
  }
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.18) 0%, rgba(var(--accent-cyan-rgb), 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(50px);
  animation: float-glow-1 12s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  top: 30%;
  right: 5%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(var(--accent-pink-rgb), 0.14) 0%, rgba(var(--accent-pink-rgb), 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(60px);
  animation: float-glow-2 15s ease-in-out infinite;
}

.about-glow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--accent-indigo-rgb), 0.1) 0%, rgba(var(--accent-indigo-rgb), 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(65px);
  animation: float-glow-1 16s ease-in-out infinite;
}

.skills-glow {
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(var(--accent-purple-rgb), 0.12) 0%, rgba(var(--accent-purple-rgb), 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(50px);
  animation: float-glow-2 14s ease-in-out infinite;
}

.contact-glow {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--accent-orange-rgb), 0.08) 0%, rgba(var(--accent-orange-rgb), 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(60px);
  animation: float-glow-1 18s ease-in-out infinite;
}

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

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-greeting {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-tech-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.hero-tech-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  width: 100%;
  margin-bottom: 6px;
}

.tech-badge {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.tech-badge:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-avatar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 4px solid var(--bg-secondary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  object-fit: cover;
  transition: transform var(--transition-normal);
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-avatar {
    width: 320px;
    height: 320px;
  }
}

.hero-avatar:hover {
  transform: translateY(-5px) scale(1.02);
}

.hero-avatar-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: var(--accent-gradient);
  filter: blur(40px);
  opacity: 0.35;
  z-index: 0;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-text p strong {
  color: var(--text-primary);
}

/* About info grid redesign */
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 480px) {
  .about-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-info-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.about-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--info-card-gradient);
}

.about-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--info-card-accent);
  box-shadow: var(--shadow-md), 0 0 15px var(--info-card-glow);
}

/* Info card themes */
.about-info-card.card-location {
  --info-card-accent: var(--accent-cyan);
  --info-card-glow: rgba(6, 182, 212, 0.15);
  --info-card-gradient: linear-gradient(to bottom, var(--accent-cyan), var(--accent-indigo));
}

.about-info-card.card-role {
  --info-card-accent: var(--accent-indigo);
  --info-card-glow: rgba(79, 70, 229, 0.15);
  --info-card-gradient: linear-gradient(to bottom, var(--accent-indigo), var(--accent-purple));
}

.about-info-card.card-focus {
  --info-card-accent: var(--accent-pink);
  --info-card-glow: rgba(236, 72, 153, 0.15);
  --info-card-gradient: linear-gradient(to bottom, var(--accent-pink), var(--accent-purple));
}

.about-info-card.card-availability {
  --info-card-accent: var(--accent-orange);
  --info-card-glow: rgba(249, 115, 22, 0.15);
  --info-card-gradient: linear-gradient(to bottom, var(--accent-orange), var(--accent-pink));
}

.about-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--info-card-accent);
  transition: all var(--transition-fast);
}

.about-info-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.about-info-card:hover .about-info-icon {
  background-color: var(--info-card-accent);
  color: #ffffff;
}

.about-info-content {
  display: flex;
  flex-direction: column;
}

.about-info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.about-info-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.about-illustration {
  position: relative;
  display: flex;
  justify-content: center;
}

.illustration-card {
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.illustration-card:hover {
  border-color: var(--accent-cyan);
}

.illustration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
}

.code-window-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot.red {
  background-color: #ef4444;
}

.code-dot.yellow {
  background-color: #f59e0b;
}

.code-dot.green {
  background-color: #10b981;
}

.code-content {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.code-keyword {
  color: #db2777;
  font-weight: 600;
}

.code-string {
  color: #10b981;
}

.code-comment {
  color: #64748b;
}

.code-variable {
  color: #0284c7;
}

[data-theme="dark"] .code-keyword {
  color: #ff79c6;
}

[data-theme="dark"] .code-string {
  color: #50fa7b;
}

[data-theme="dark"] .code-comment {
  color: #6272a4;
}

[data-theme="dark"] .code-variable {
  color: #8be9fd;
}

/* Skills Section Categories Redesign with gradient borders */
.skills-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.skills-card {
  background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
    var(--card-gradient) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.skills-card.card-1 {
  --card-accent: var(--accent-cyan);
  --card-glow: rgba(6, 182, 212, 0.15);
  --card-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
}

.skills-card.card-2 {
  --card-accent: var(--accent-pink);
  --card-glow: rgba(236, 72, 153, 0.15);
  --card-gradient: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
}

.skills-card.card-3 {
  --card-accent: var(--accent-purple);
  --card-glow: rgba(168, 85, 247, 0.15);
  --card-gradient: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
}

.skills-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 25px var(--card-glow);
}

.skills-icon {
  margin-bottom: 20px;
  color: var(--card-accent);
}

.skills-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 2.2;
}

.skills-category-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.skills-grid-inside {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.skill-tag.backend {
  border-color: rgba(var(--accent-cyan-rgb), 0.25);
}

.skill-tag.backend:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background-color: rgba(var(--accent-cyan-rgb), 0.05);
  box-shadow: 0 0 15px rgba(var(--accent-cyan-rgb), 0.15);
  transform: translateY(-2px);
}

.skill-tag.ai {
  border-color: rgba(var(--accent-pink-rgb), 0.25);
}

.skill-tag.ai:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  background-color: rgba(var(--accent-pink-rgb), 0.05);
  box-shadow: 0 0 15px rgba(var(--accent-pink-rgb), 0.15);
  transform: translateY(-2px);
}

.skill-tag.tools {
  border-color: rgba(var(--accent-indigo-rgb), 0.25);
}

.skill-tag.tools:hover {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  background-color: rgba(var(--accent-indigo-rgb), 0.05);
  box-shadow: 0 0 15px rgba(var(--accent-indigo-rgb), 0.15);
  transform: translateY(-2px);
}

/* Projects Section with colorful theme configs */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.project-card {
  background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
    var(--card-gradient) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.project-card.card-1 {
  --card-accent: var(--accent-cyan);
  --card-glow: rgba(6, 182, 212, 0.15);
  --card-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-indigo) 100%);
}

.project-card.card-2 {
  --card-accent: var(--accent-pink);
  --card-glow: rgba(236, 72, 153, 0.15);
  --card-gradient: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-orange) 100%);
}

.project-card.card-3 {
  --card-accent: var(--accent-purple);
  --card-glow: rgba(168, 85, 247, 0.15);
  --card-gradient: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
}

.project-card.card-4 {
  --card-accent: #10b981;
  --card-glow: rgba(16, 185, 129, 0.15);
  --card-gradient: linear-gradient(135deg, #10b981 0%, var(--accent-cyan) 100%);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 25px var(--card-glow);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-tertiary);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

/* Image overlays on hover */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--card-gradient);
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity var(--transition-normal);
  z-index: 1;
  pointer-events: none;
}

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

.project-status {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.project-status.live {
  background-color: #10b981;
}

.project-status.complete {
  background-color: #3b82f6;
}

.project-status.active {
  background-color: #f59e0b;
}

.project-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.project-card-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}

.project-card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tech-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.project-tech-tag.tech-python {
  background-color: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--accent-indigo);
}

[data-theme="dark"] .project-tech-tag.tech-python {
  color: #60a5fa;
}

.project-tech-tag.tech-fastapi {
  background-color: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
}

[data-theme="dark"] .project-tech-tag.tech-fastapi {
  color: #34d399;
}

.project-tech-tag.tech-react {
  background-color: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
  color: #0891b2;
}

[data-theme="dark"] .project-tech-tag.tech-react {
  color: #22d3ee;
}

.project-tech-tag.tech-docker {
  background-color: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
  color: #0284c7;
}

[data-theme="dark"] .project-tech-tag.tech-docker {
  color: #38bdf8;
}

.project-tech-tag.tech-tailwind {
  background-color: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.3);
  color: #0369a1;
}

[data-theme="dark"] .project-tech-tag.tech-tailwind {
  color: #7dd3fc;
}

.project-tech-tag.tech-postgres {
  background-color: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  color: #4f46e5;
}

[data-theme="dark"] .project-tech-tag.tech-postgres {
  color: #818cf8;
}

.project-tech-tag.tech-ml {
  background-color: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.3);
  color: #db2777;
}

[data-theme="dark"] .project-tech-tag.tech-ml {
  color: #f472b6;
}

.project-tech-tag.tech-actions {
  background-color: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.3);
  color: #7e22ce;
}

[data-theme="dark"] .project-tech-tag.tech-actions {
  color: #c084fc;
}

.project-card-links {
  display: flex;
  gap: 16px;
  margin-top: auto;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.project-link:hover {
  color: var(--card-accent);
}

.project-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Contact Section & Platform Cards setup */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: all var(--transition-fast);
}

.contact-item:hover .contact-icon-wrapper {
  background-color: var(--accent-cyan);
  color: #ffffff;
  transform: scale(1.05);
}

.contact-icon-wrapper svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-detail-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.contact-detail-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact Social Cards Grid with customized platform accents */
.contact-socials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .social-card.platform-email {
    grid-column: span 2;
  }
}

.social-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.social-card.platform-github {
  --platform-color: #24292f;
  --platform-color-rgb: 36, 41, 47;
  --platform-icon-hover: #ffffff;
}

[data-theme="dark"] .social-card.platform-github {
  --platform-color: #f0f6fc;
  --platform-color-rgb: 240, 246, 252;
  --platform-icon-hover: #090d16;
}

.social-card.platform-linkedin {
  --platform-color: #0a66c2;
  --platform-color-rgb: 10, 102, 194;
  --platform-icon-hover: #ffffff;
}

.social-card.platform-whatsapp {
  --platform-color: #25d366;
  --platform-color-rgb: 37, 211, 102;
  --platform-icon-hover: #ffffff;
}

.social-card.platform-upwork {
  --platform-color: #14a800;
  --platform-color-rgb: 20, 168, 0;
  --platform-icon-hover: #ffffff;
}

.social-card.platform-email {
  --platform-color: #ea4335;
  --platform-color-rgb: 234, 67, 53;
  --platform-icon-hover: #ffffff;
}

.social-card:hover {
  transform: translateY(-5px);
  border-color: var(--platform-color);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(var(--platform-color-rgb), 0.2);
}

.social-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.social-card:hover .social-card-icon {
  background-color: var(--platform-color);
  color: var(--platform-icon-hover);
}

.social-card-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-card-title {
  font-size: 16px;
  font-weight: 700;
}

.social-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--platform-color);
}

/* Footer Section */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  transition: background-color var(--transition-normal);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.footer-text {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-logo {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(229, 193, 88, 0.25);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .footer-logo {
  border-color: rgba(229, 193, 88, 0.35);
  box-shadow: 0 0 8px rgba(229, 193, 88, 0.12);
}

.footer-text a {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-text a:hover {
  color: var(--accent-cyan);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

/* Animation utilities for Intersection Observer */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* Mobile Hamburger styles on small screens */
@media (max-width: 768px) {
  .brand {
    font-size: 20px;
    gap: 0.5rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 22px;
  }
}

/* Accessibility: Prefers Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .project-img,
  .hero-avatar {
    transition: none !important;
    transform: none !important;
  }

  .project-card:hover .project-img,
  .hero-avatar:hover {
    transform: none !important;
  }

  .project-overlay {
    transition: none !important;
  }

  .hero-glow-1,
  .hero-glow-2,
  .skills-glow,
  .contact-glow,
  .about-glow {
    animation: none !important;
  }
}