/* Theme variables */
:root {
  /* Dark theme (default) */
  --bg: #0E0F12;
  --panel: #151821;
  --text: #E7EAF0;
  --muted: #9AA4B2;
  --accent: #6E6CFA;
  --accent-2: #8EA2F8;
  --border: #232736;
  --warm-glow: rgba(255, 182, 193, 0.1);
  --charm-glow: rgba(255, 218, 185, 0.08);
  --card-bg: rgba(21, 24, 33, 0.6);
  --card-border: rgba(110, 108, 250, 0.1);
}

/* Light theme */
[data-theme="light"] {
  --bg: #f8fafc;
  --panel: rgba(255, 255, 255, 0.9);
  --text: #1e293b;
  --muted: #64748b;
  --accent: #6E6CFA;
  --accent-2: #8EA2F8;
  --border: #e2e8f0;
  --warm-glow: rgba(255, 182, 193, 0.15);
  --charm-glow: rgba(142, 162, 248, 0.15);
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(110, 108, 250, 0.15);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6}
img{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px;margin:0 auto;padding:2rem 1.25rem}

.site-header{
  position:sticky;top:0;z-index:1000;backdrop-filter:saturate(1.3) blur(8px);
  background:rgba(14,15,18,.6);border-bottom:1px solid var(--border);
  display:flex;align-items:center;justify-content:space-between;padding:.6rem 1rem
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.8);
}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--text);font-weight:600}
.brand-mark{width:28px;height:28px}
.brand-text{font-family:Sora,Inter,sans-serif;letter-spacing:.2px}

.nav{position:relative;display:flex;align-items:center;gap:1rem}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-toggle{
  display:none;
  background:rgba(110,108,250,.1);
  border:1px solid var(--border);
  color:var(--text);
  padding:.4rem .6rem;
  border-radius:8px;
  font-size:1.1rem;
  transition:all 0.2s ease;
  cursor:pointer;
}
.nav-toggle:hover{
  background:rgba(110,108,250,.2);
  border-color:var(--accent);
  transform:translateY(-1px);
}
.nav-links{display:flex;gap:1rem;list-style:none;margin:0;padding:0}
.nav-links a{
  display:inline-block;
  padding:.5rem .8rem;
  border-radius:8px;
  color:var(--text);
  font-weight:500;
  transition:all 0.2s ease;
  position:relative;
}

[data-theme="light"] .nav-links a {
  color: var(--text);
}

/* Light theme nav hover and active states - darker text */
[data-theme="light"] .nav-links a:hover {
  background: rgba(110,108,250,.15);
  color: #4c63d2; /* Darker purple for better contrast */
  transform: translateY(-1px);
}

[data-theme="light"] .nav-links .active a {
  background: rgba(110,108,250,.2);
  color: #3d4f9e; /* Even darker purple for active state */
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(110,108,250,.2);
}

.nav-links a:hover{
  background:rgba(110,108,250,.15);
  color:var(--accent-2);
  transform:translateY(-1px);
}
.nav-links .active a{
  background:rgba(110,108,250,.2);
  color:var(--accent-2);
  font-weight:600;
  box-shadow:0 2px 8px rgba(110,108,250,.2);
}
.nav-links a:focus{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.nav-toggle:focus{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

/* Theme toggle button */
.theme-toggle {
  background: rgba(110, 108, 250, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(110, 108, 250, 0.2);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-toggle .icon {
  transition: transform 0.3s ease;
}

[data-theme="light"] .theme-toggle .icon {
  transform: rotate(180deg);
}

@media (max-width:800px){
  .nav-toggle{display:block}
  .nav-links{
    position:absolute;
    right:0;
    top:120%;
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:12px;
    padding:.75rem;
    flex-direction:column;
    min-width:220px;
    display:none;
    box-shadow:0 8px 32px rgba(0,0,0,0.3);
    backdrop-filter:blur(12px);
  }
  .nav-links.open{display:flex}
  .nav-links a{
    padding:.75rem 1rem;
    border-radius:8px;
    margin:.25rem 0;
  }
  .nav-links a:hover{
    background:rgba(110,108,250,.2);
    transform:none;
  }
  .nav-links .active a{
    background:rgba(110,108,250,.25);
    box-shadow:0 2px 12px rgba(110,108,250,.3);
  }
  
  .nav-right {
    gap: 0.25rem;
  }
  
  .theme-toggle {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* New Landing Page Layout */
.landing-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg) 0%, #1a1d26 100%);
}

[data-theme="light"] .landing-page {
  background: linear-gradient(135deg, var(--bg) 0%, #e2e8f0 50%, #cbd5e1 100%);
}

/* Hero Card */
.hero-card {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  margin: 2rem;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(110,108,250,.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(142,162,248,.05), transparent 50%);
  z-index: -1;
}

/* Light theme hero card background circles - darker and more noticeable */
[data-theme="light"] .hero-card::before {
  background: 
    radial-gradient(circle at 20% 20%, rgba(110,108,250,.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(142,162,248,.2), transparent 50%);
}

.hero-card-content {
  max-width: 1200px;
  width: 100%;
}

.hero-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.profile-image-container {
  position: relative;
  width: 280px;
  height: 280px;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 40px rgba(110, 108, 250, 0.3);
}

.profile-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 108, 250, 0.2), transparent 70%);
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.profile-info {
  max-width: 800px;
}

.hero-title {
  font-family: Sora, Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin: 0 0 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

/* Highlights Section */
.highlights-section {
  padding: 4rem 0;
}

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

.section-header h2 {
  font-family: Sora, Inter, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(110, 108, 250, 0.2);
}

.highlight-card.featured {
  background: linear-gradient(135deg, rgba(110, 108, 250, 0.1), rgba(142, 162, 248, 0.05));
  border-color: var(--accent);
  grid-column: span 2;
}

[data-theme="light"] .highlight-card.featured {
  background: linear-gradient(135deg, rgba(110, 108, 250, 0.08), rgba(142, 162, 248, 0.04));
  border-color: var(--accent);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-family: Sora, Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.highlight-card p {
  color: var(--muted);
  margin: 0;
}

/* Work Categories */
.work-categories {
  padding: 4rem 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  text-decoration: none;
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(110, 108, 250, 0.25);
}

.category-content {
  position: relative;
  z-index: 1;
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.category-card h3 {
  font-family: Sora, Inter, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.category-card p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.category-meta {
  margin-top: 1rem;
}

.tech-stack {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

.category-arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
  transform: translateX(4px);
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
}

.cta-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.cta-card h2 {
  font-family: Sora, Inter, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.cta-card p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 2rem;
}

/* Enhanced Buttons */
.btn {
  background: var(--accent);
  color: #0b0c10;
  border: none;
  border-radius: 12px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 1rem;
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 108, 250, 0.4);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0b0c10;
}

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

.btn-secondary:hover {
  background: rgba(110, 108, 250, 0.1);
  border-color: var(--accent);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Page Layout */
.page-hero{display:grid;place-items:center;min-height:36vh;text-align:center;border-bottom:1px solid var(--border);position:relative;overflow:hidden}

/* Enhanced Page Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  padding: 2rem 1rem;
  z-index: 2;
}

.hero-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 20px rgba(110, 108, 250, 0.3));
  animation: gentle-bounce 3s ease-in-out infinite;
}

.hero-content h1 {
  font-family: Sora, Inter, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.tech-badge {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  position: relative;
  cursor: default;
  user-select: none;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.tech-badge::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.tech-badge:hover {
  color: var(--accent-2);
}

.tech-badge:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

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

.page{padding-bottom:3rem}

/* Project Cards */
.project-card{display:grid;grid-template-columns:320px 1fr;gap:1.25rem;border:1px solid var(--border);border-radius:16px;padding:1rem 1rem 1.2rem;margin:1rem 0;background:linear-gradient(180deg, rgba(255,255,255,.02), transparent);transition:transform 0.3s ease-out, box-shadow 0.3s ease-out;position:relative;overflow:hidden}

/* Light theme project card enhancement */
[data-theme="light"] .project-card {
  background: linear-gradient(135deg, 
    rgba(110, 108, 250, 0.08) 0%, 
    rgba(142, 162, 248, 0.05) 50%, 
    rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(110, 108, 250, 0.15);
  box-shadow: 0 2px 8px rgba(110, 108, 250, 0.1);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(110, 108, 250, 0.15);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card .project-desc {
  grid-column: 1 / -1;
  margin-block-start: 0em;
}

.project-meta h3{margin:.2rem 0 .5rem;font-family:Sora,Inter,sans-serif}
.project-info {
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  background: rgba(110, 108, 250, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.media-placeholder{display:grid;place-items:center;background:rgba(255,255,255,.04);border:1px dashed var(--border);border-radius:12px;color:var(--muted);width:100%;height:180px}

/* Responsive video container */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 12px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: rgba(255,255,255,.04);
}

/* Project images */
.project-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  object-fit: cover;
  max-height: 300px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.project-image:hover {
  opacity: 0.8;
}

/* Enhanced Parallax Effects */
.parallax {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Parallax background layers */
.parallax-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(60% 40% at 20% 20%, rgba(110,108,250,.08), transparent 60%),
    radial-gradient(40% 30% at 80% 80%, rgba(142,162,248,.05), transparent 60%);
}

.parallax-fg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: 
    radial-gradient(30% 20% at 50% 50%, rgba(110,108,250,.04), transparent 50%);
  pointer-events: none;
}

/* Floating elements for charm */
.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--charm-glow);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.floating-element:nth-child(2) {
  width: 40px;
  height: 40px;
  animation-delay: -2s;
  animation-duration: 6s;
  background: rgba(110, 108, 250, 0.1);
}

.floating-element:nth-child(3) {
  width: 80px;
  height: 80px;
  animation-delay: -4s;
  animation-duration: 10s;
  background: rgba(142, 162, 248, 0.08);
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-20px) rotate(180deg); 
    opacity: 1;
  }
}

/* Enhanced hero backgrounds */
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

.page-hero::before {
  background: 
    radial-gradient(circle at 30% 20%, rgba(110,108,250,.15), transparent 50%);
  transform: translateZ(-1px) scale(2);
}

.page-hero::after {
  background: 
    radial-gradient(circle at 70% 80%, rgba(142,162,248,.1), transparent 50%);
  transform: translateZ(-2px) scale(3);
}

/* Scroll-triggered animations */
.project-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.project-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Contact form enhancements */
.contact-form {
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 25% 25%, var(--warm-glow), transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(110,108,250,.05), transparent 40%);
  z-index: -1;
  animation: gentle-rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes gentle-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Image modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
  -webkit-overflow-scrolling: touch;
}

.image-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.modal-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Contact form styles */
.contact-form{max-width:720px;margin:1rem auto;border:1px solid var(--border);border-radius:16px;padding:1rem;background:linear-gradient(180deg, rgba(255,255,255,.02), transparent)}

/* Light theme contact form enhancement */
[data-theme="light"] .contact-form {
  background: linear-gradient(135deg, 
    rgba(110, 108, 250, 0.08) 0%, 
    rgba(142, 162, 248, 0.05) 50%, 
    rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(110, 108, 250, 0.15);
  box-shadow: 0 2px 8px rgba(110, 108, 250, 0.1);
}
.field{display:flex;flex-direction:column;margin:.6rem 0}
label{font-weight:600;margin-bottom:.25rem}
input, textarea{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:.7rem .8rem;font:inherit}
input:focus, textarea:focus{outline:2px solid rgba(110,108,250,.45);border-color:transparent}
.hp-field{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* Resume link styling */
.resume-link {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.resume-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1;
}

.resume-link .btn {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0c10;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(110, 108, 250, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  animation: resume-pulse 3s ease-in-out infinite;
}

.resume-link .btn::before {
  content: '📄';
  font-size: 1.2rem;
}

.resume-link .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(110, 108, 250, 0.4);
  filter: brightness(1.1);
  text-decoration: none;
}

.resume-link .btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Style for coming soon resume links */
.resume-link .btn[href*="coming"] {
  background: linear-gradient(135deg, var(--muted), #6c757d);
  opacity: 0.7;
  cursor: not-allowed;
  animation: none;
}

.resume-link .btn[href*="coming"]:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(110, 108, 250, 0.3);
  filter: none;
}

/* Subtle pulse animation for resume links */
@keyframes resume-pulse {
  0%, 100% { 
    box-shadow: 0 4px 16px rgba(110, 108, 250, 0.3);
  }
  50% { 
    box-shadow: 0 4px 20px rgba(110, 108, 250, 0.5);
  }
}



.resume-link .btn:hover {
  animation: none;
}

.field.error input, .field.error textarea {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.field .error-message {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-status.error {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.form-status.success {
  color: #51cf66;
  background: rgba(81, 207, 102, 0.1);
  border: 1px solid rgba(81, 207, 102, 0.3);
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.btn.loading {
  position: relative;
  color: inherit;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 0;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: button-loading 1s linear infinite;
}

@keyframes button-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.site-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid var(--border);padding:1rem}
.site-footer a{color:var(--muted)}
#year{opacity:.8}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-card {
    margin: 1rem;
    padding: 2rem 1rem;
  }
  
  .hero-profile {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .profile-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .highlight-card.featured {
    grid-column: span 1;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    padding: 2rem;
  }
  
  .cta-card {
    padding: 2rem;
  }
  
  .cta-card h2 {
    font-size: 2rem;
  }
  
  .modal-close {
    top: -50px;
    right: 10px;
    font-size: 32px;
  }
  
  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    margin: 10px;
  }
  
  .modal-image {
    max-height: 85vh;
  }
  
  .floating-element {
    display: none;
  }
  
  .project-card{grid-template-columns:1fr}
  
  .resume-link {
    margin: 2rem 0;
    padding: 1.5rem;
  }
  
  .resume-link .btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }

  /* Mobile hero content adjustments */
  .hero-content {
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .hero-icon {
    font-size: 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-meta {
    gap: 0.5rem;
  }

  .tech-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }

  .project-info {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce){
  .parallax{transform:none !important}
  .floating-element{animation:none !important}
  .contact-form::before{animation:none !important}
  .project-card{transition:none !important}
  .btn{transition:none !important}
  .profile-glow{animation:none !important}
  .category-card{transition:none !important}
  .highlight-card{transition:none !important}
  .resume-link .btn{animation:none !important}
  .hero-icon{animation:none !important}
}
