/**
 * MINIMALISTIC DESIGN
 * Clean, Simple, and Content-Focused
 */

/* Import Clean Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* Dark Unique Theme Color Palette */
:root {
  --primary: #00d4ff;
  --secondary: #7c3aed;
  --accent: #ff6b35;
  --bg-primary: #0a0a0f;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --bg-card: #1e1e2e;
  --white: #ffffff;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-light: #64748b;
  --text-accent: #00d4ff;
  --border: #2d3748;
  --border-light: #374151;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 10px 25px rgba(0, 212, 255, 0.2);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-dark: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  position: relative;
  overflow-x: hidden;
}

/* Dark theme background effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Header - Dark Glassmorphism Navigation */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.5px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  transition: all 0.3s ease;
}

.logo:hover {
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  border-radius: 8px;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  opacity: 1;
}

/* Hero Section - Dark Futuristic */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  animation: rotate 20s linear infinite;
  transform: translate(-50%, -50%);
  z-index: -1;
}

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

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3)); }
  to { filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.6)); }
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.hero .description {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.typing {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

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

/* Dark Futuristic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  transition: left 0.3s ease;
  z-index: -1;
}

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

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  border-color: transparent;
}

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

/* Dark Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-links a {
  width: 50px;
  height: 50px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.social-links a:hover::before {
  opacity: 1;
}

.social-links a i {
  position: relative;
  z-index: 1;
}

/* Dark Sections */
section {
  padding: 5rem 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--bg-secondary);
}

section:nth-child(odd) {
  background: var(--bg-primary);
}

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

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

.section-title h2 {
  font-size: 2rem;
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-title .subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-glow);
  border: 2px solid var(--border);
}

.about-content h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.stat-item {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.stat-item:hover::before {
  opacity: 0.1;
}

.stat-item strong {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-item p {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--bg-card);
  padding: 2rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.skill-category:hover::before {
  opacity: 0.05;
}

.skill-category h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.skill-category p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

/* Experience Timeline */
.experience-timeline {
  position: relative;
  padding-left: 2rem;
}

.experience-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.experience-item {
  position: relative;
  margin-bottom: 3rem;
  background: var(--bg-card);
  padding: 2rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  margin-left: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.experience-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.experience-item:hover::after {
  opacity: 0.05;
}

.experience-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 2rem;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border: 2px solid var(--white);
  border-radius: 50%;
}

.experience-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.experience-item .company {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.experience-item .duration {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

.experience-item p {
  line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

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

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-image {
  height: 200px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.project-content {
  padding: 2rem;
}

.project-content h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.project-content p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.05);
}

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

.project-links a {
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: color 0.2s ease;
}

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

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-item {
  background: var(--bg-card);
  padding: 2rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.contact-item:hover::before {
  opacity: 0.1;
}

.contact-item i {
  font-size: 2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Loading Screen */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

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

.loading-text {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero {
    padding: 0 1rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .experience-timeline {
    padding-left: 1rem;
  }
  
  .experience-item {
    margin-left: 1rem;
  }
  
  .experience-item::before {
    left: -1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Selection styling */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* Print styles */
@media print {
  .nav-menu,
  .social-links,
  .hero-cta {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .project-card,
  .skill-category,
  .experience-item {
    break-inside: avoid;
  }
}
/* D
ark Theme Unique Elements */

/* Glitch Text Effect */
.glitch-text {
  position: relative;
  animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  animation: glitch-1 0.5s infinite;
  color: #ff0080;
  z-index: -1;
}

.glitch-text::after {
  animation: glitch-2 0.5s infinite;
  color: #00ffff;
  z-index: -2;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(2px, -2px); }
  40% { transform: translate(-2px, 2px); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(2px, 2px); }
}

@keyframes glitch-2 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, -2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(-2px, 2px); }
}

/* Neon Glow Effect */
.neon-glow {
  text-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 15px currentColor,
    0 0 20px var(--primary);
  animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Cyber Border Effect */
.cyber-border {
  position: relative;
  border: 2px solid var(--primary);
}

.cyber-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-accent);
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cyber-border:hover::before {
  opacity: 0.3;
}

/* Holographic Card Effect */
.holo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.holo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.holo-card:hover::before {
  left: 100%;
}

/* Cyber Grid Background */
.cyber-grid {
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Terminal Window Effect */
.terminal-window {
  background: #0a0a0f;
  border: 2px solid var(--primary);
  border-radius: 8px;
  position: relative;
  padding-top: 2rem;
}

.terminal-window::before {
  content: '● ● ●';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  color: var(--primary);
  font-size: 0.8rem;
}

.terminal-content {
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary);
  font-size: 0.875rem;
  line-height: 1.4;
}

.terminal-prompt::before {
  content: '> ';
  color: var(--accent);
}

/* Status Indicators */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-light);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-online {
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
}

.status-processing {
  background: #ffaa00;
  box-shadow: 0 0 10px #ffaa00;
}

.status-offline {
  background: #ff4444;
  box-shadow: 0 0 10px #ff4444;
}

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

/* Data Visualization Bar */
.data-bar {
  height: 3px;
  background: var(--gradient-accent);
  margin-top: 1rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.data-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: data-flow 2s infinite;
}

@keyframes data-flow {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Gradient Text Effects */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cyber Text Effect */
.cyber-text {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

/* JJK Themed Elements */
.jjk-accent {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.jjk-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

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

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 1001;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Selection styling for dark theme */
::selection {
  background: var(--primary);
  color: var(--bg-primary);
}

/* Focus states for dark theme */
button:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Dark theme responsive adjustments */
@media (max-width: 768px) {
  .hero::before {
    width: 300%;
    height: 300%;
  }
  
  .glitch-text::before,
  .glitch-text::after {
    display: none;
  }
}

/* ===== UNIQUE LAYOUT STYLES ===== */

/* Vertical Side Navigation */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 80px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-right: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
  z-index: 1000;
}

.nav-brand {
  margin-bottom: 3rem;
}

.logo-vertical {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-vertical:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.nav-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  display: block;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-dot::before {
  content: attr(data-section);
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.nav-dot:hover::before,
.nav-dot.active::before {
  opacity: 1;
}

.nav-dot.active,
.nav-dot:hover {
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
}

.nav-footer {
  margin-top: auto;
}

.resume-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.resume-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* Floating Header */
.floating-header {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 999;
}

.header-info {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(20px);
}

/* Hero Diagonal Layout */
.hero-diagonal {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-left: 100px; /* Account for side nav */
  position: relative;
  overflow: hidden;
}

.hero-diagonal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--gradient-accent);
  transform: skewX(-15deg);
  transform-origin: top;
}

.hero-left {
  padding: 2rem 4rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--primary);
}

/* Hero Title Container - Bulletproof Layout */
.hero-title-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-weight: 800;
  line-height: 1.1;
  overflow: hidden;
}

.name-first,
.name-last {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: normal;
  box-sizing: border-box;
}

.name-first {
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
}

.name-last {
  color: #e2e8f0;
  font-size: 2.5rem;
  margin-top: 0.25rem;
}

/* Responsive Font Sizes - Mobile First */
@media (max-width: 480px) {
  .name-first,
  .name-last {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .name-first,
  .name-last {
    font-size: 2rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .name-first,
  .name-last {
    font-size: 2.5rem !important;
  }
}

@media (min-width: 1025px) {
  .name-first,
  .name-last {
    font-size: 3rem !important;
  }
}

@media (min-width: 1200px) {
  .name-first,
  .name-last {
    font-size: 3.5rem !important;
  }
}

.typing-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.typing-label {
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-futuristic {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-futuristic.primary {
  background: var(--gradient-accent);
  color: var(--white);
  border: 2px solid transparent;
}

.btn-futuristic.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-futuristic:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.hero-right {
  padding: 2rem;
  position: relative;
}

/* Floating elements removed */

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

.stat-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

/* Social Vertical */
.social-vertical {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 100;
}

.social-vertical a {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-vertical a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.social-line {
  width: 2px;
  height: 60px;
  background: var(--border);
  margin-top: 1rem;
}

/* About Asymmetric Layout */
.about-asymmetric {
  position: relative;
}

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

.section-header.floating {
  position: absolute;
  top: 2rem;
  right: 2rem;
  text-align: right;
}

.section-number {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(0, 212, 255, 0.1);
  line-height: 1;
  display: block;
}

.section-title-main {
  font-size: 2.5rem;
  margin: 0;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  align-items: start;
}

.profile-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: sticky;
  top: 2rem;
}

.profile-image-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-tertiary);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.profile-img {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  max-width: 100%;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  overflow: hidden;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  animation: scan 3s linear infinite;
}

@keyframes scan {
  0% { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.profile-role {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.quick-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-tertiary);
  border-radius: 8px;
  font-size: 0.875rem;
}

.info-card i {
  color: var(--primary);
  width: 16px;
}

.about-content-wrapper {
  padding-top: 2rem;
}

.content-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.content-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.expertise-item {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.expertise-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.expertise-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.expertise-item h4 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.expertise-item p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

/* Projects Masonry Layout */
.projects-masonry {
  background: var(--bg-secondary);
}

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

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

.section-title-diagonal {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: skewX(-5deg);
  display: inline-block;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.projects-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 2rem;
}

/* Mobile fallback using flexbox */
@supports not (display: grid) {
  .projects-masonry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .project-card {
    flex: 1 1 300px;
    max-width: 100%;
  }
}

/* Project Card Variants */
.project-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.project-card.medium {
  grid-row: span 2;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.project-card.wide {
  grid-column: span 2;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.project-card.compact {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

/* Featured Project Styles */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.project-type {
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.project-visual {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.project-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.project-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cyber-grid);
  opacity: 0.1;
}

.project-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

.project-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

.tag {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  border: 1px solid var(--border);
}

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

.action-btn {
  width: 50px;
  height: 50px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Compact Project Styles */
.project-visual-compact {
  text-align: center;
  margin-bottom: 1rem;
}

.project-visual-compact .project-icon {
  font-size: 2.5rem;
}

.project-info-compact h4 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
}

.project-info-compact p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.project-tags-compact {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.tag-small {
  background: var(--bg-tertiary);
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.project-link {
  color: var(--primary);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-link:hover {
  transform: scale(1.2);
}

/* Medium Project Styles */
.project-visual-medium {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  position: relative;
}

.project-visual-medium .project-icon {
  font-size: 3rem;
}

.project-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.project-info-medium {
  padding: 1.5rem;
}

.project-info-medium h4 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}

.project-info-medium p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Wide Project Styles */
.project-content-horizontal {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 100%;
}

.project-visual-side {
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-visual-side .project-icon {
  font-size: 3rem;
}

.project-info-side {
  padding: 2rem;
}

.project-info-side h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

.project-info-side p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE DESIGN - MOBILE/TABLET ONLY ===== */

/* Keep desktop layout intact - only change mobile/tablet */

/* Tablet Portrait (769px - 1024px) - Keep desktop layout mostly intact */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Only minor adjustments for tablets */
  .hero-title {
    font-size: 3.5rem;
  }
  
  .projects-masonry-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Small Tablet/Large Mobile (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  /* Navigation */
  .side-nav {
    width: 60px;
  }
  
  .logo-vertical {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .resume-btn {
    width: 35px;
    height: 35px;
  }
  
  /* Layout adjustments */
  .hero-diagonal,
  .about-asymmetric,
  .projects-masonry {
    padding-left: 80px;
  }
  
  /* Hero section - make single column */
  .hero-diagonal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-left {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-futuristic {
    width: 100%;
    max-width: 300px;
  }
  
  /* About section - single column */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .profile-card {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Projects section */
  .section-title-diagonal {
    font-size: 2rem;
  }
  
  .projects-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .project-card.featured,
  .project-card.wide {
    grid-column: span 2;
  }
  
  .project-content-horizontal {
    grid-template-columns: 1fr;
  }
  
  .project-visual-side {
    height: 150px;
  }
  
  /* Skills section */
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact section */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Hide some elements */
  .floating-header {
    display: none;
  }
  
  .social-vertical {
    display: none;
  }
}

/* Mobile */
@media (max-width: 480px) {
  /* Hide side navigation */
  .side-nav {
    display: none;
  }
  
  /* Remove left padding */
  .hero-diagonal,
  .about-asymmetric,
  .projects-masonry {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Container adjustments */
  .projects-container,
  .about-container {
    padding: 0 1rem;
  }
  
  /* Hero section mobile */
  .hero-diagonal {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .hero-left {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .name-first,
  .name-last {
    margin-left: 0;
  }
  
  .typing-wrapper {
    font-size: 1rem;
    justify-content: center;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .hero-right {
    order: -1;
    padding: 1rem;
  }
  
  /* Floating elements removed */
  
  /* Float items removed */
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .stat-card {
    padding: 1rem 0.5rem;
  }
  
  .stat-number {
    font-size: 1.25rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  /* About section mobile */
  .section-number {
    font-size: 2.5rem;
  }
  
  .section-title-main {
    font-size: 1.25rem;
  }
  
  .profile-card {
    padding: 1rem;
  }
  
  .profile-img {
    height: 250px;
  }
  
  .quick-info {
    gap: 0.5rem;
  }
  
  .info-card {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .content-title {
    font-size: 1.1rem;
  }
  
  .expertise-item {
    padding: 1rem;
  }
  
  .expertise-icon {
    font-size: 1.5rem;
  }
  
  /* Projects section mobile */
  .section-title-diagonal {
    font-size: 1.5rem;
    transform: none;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .projects-filter {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    flex: 1;
    min-width: 80px;
  }
  
  .projects-masonry-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .project-card.featured {
    padding: 1rem;
  }
  
  .project-title {
    font-size: 1.1rem;
  }
  
  .project-desc {
    font-size: 0.9rem;
  }
  
  .project-info-medium {
    padding: 1rem;
  }
  
  .project-info-side {
    padding: 1rem;
  }
  
  /* Skills section mobile */
  .skill-category {
    padding: 1rem;
  }
  
  /* Contact section mobile */
  .contact-item {
    padding: 1rem;
  }
  
  /* General mobile adjustments */
  section {
    padding: 2rem 0;
  }
  
  .section-header-floating {
    margin-bottom: 1.5rem;
  }
}/* Pr
oject Filtering Animations */
.project-card {
  transition: all 0.3s ease;
}

.project-card.filtering-out {
  opacity: 0;
  transform: scale(0.8) translateY(-20px);
}

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

/* Enhanced Filter Button Styles */
.filter-btn {
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.filter-btn.active::before,
.filter-btn:hover::before {
  left: 0;
}

/* Mobile Responsiveness for Filters */
@media (max-width: 768px) {
  .projects-filter {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}/* =====
 COMPREHENSIVE RESPONSIVE DESIGN ===== */

/* Mobile First Approach - Base styles for mobile */
@media (max-width: 480px) {
  /* Side Navigation - Hide on mobile */
  .side-nav {
    display: none;
  }
  
  /* Add mobile header */
  body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
  }
  
  /* Floating header adjustments */
  .floating-header {
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
  }
  
  .header-info {
    padding: 0.5rem 1rem;
  }
  
  /* Hero section mobile */
  .hero-diagonal {
    grid-template-columns: 1fr;
    padding: 80px 1rem 2rem 1rem;
    min-height: 100vh;
    text-align: center;
  }
  
  .hero-diagonal::before {
    display: none;
  }
  
  .hero-left {
    padding: 1rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  
  .name-first, .name-last {
    display: block;
    margin-left: 0;
  }
  
  .typing-wrapper {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .btn-futuristic {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  /* Hero right section - stack below */
  .hero-right {
    padding: 2rem 1rem;
    order: -1;
  }
  
  /* Floating elements removed */
  
  /* Float items removed */
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  /* Social vertical - move to bottom */
  .social-vertical {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .social-vertical a {
    width: 40px;
    height: 40px;
  }
  
  .social-line {
    display: none;
  }
  
  /* About section mobile */
  .about-asymmetric {
    padding: 3rem 0;
    padding-left: 1rem;
  }
  
  .about-container {
    padding: 0 1rem;
  }
  
  .section-header.floating {
    position: static;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .section-number {
    font-size: 3rem;
  }
  
  .section-title-main {
    font-size: 1.5rem;
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .profile-card {
    position: static;
    padding: 1.5rem;
  }
  
  .profile-img {
    height: 300px;
  }
  
  .quick-info {
    margin-top: 1rem;
  }
  
  .info-card {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .about-content-wrapper {
    padding-top: 0;
  }
  
  .content-title {
    font-size: 1.25rem;
  }
  
  .content-text {
    font-size: 1rem;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .expertise-item {
    padding: 1rem;
  }
  
  .expertise-icon {
    font-size: 1.5rem;
  }
  
  /* Projects section mobile */
  .projects-masonry {
    padding: 3rem 0;
    padding-left: 1rem;
  }
  
  .projects-container {
    padding: 0 1rem;
  }
  
  .section-title-diagonal {
    font-size: 1.75rem;
    transform: none;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .projects-filter {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .projects-masonry-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card.featured,
  .project-card.wide {
    grid-column: span 1;
  }
  
  .project-card.featured {
    padding: 1.5rem;
  }
  
  .project-title {
    font-size: 1.25rem;
  }
  
  .project-desc {
    font-size: 1rem;
  }
  
  .project-content-horizontal {
    grid-template-columns: 1fr;
  }
  
  .project-visual-side {
    height: 150px;
  }
  
  .project-info-side {
    padding: 1.5rem;
  }
  
  /* Skills section mobile */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .skill-category {
    padding: 1.5rem;
  }
  
  /* Contact section mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-item {
    padding: 1.5rem;
  }
}

/* Tablet Portrait */
@media (min-width: 481px) and (max-width: 768px) {
  .side-nav {
    width: 60px;
  }
  
  .hero-diagonal,
  .about-asymmetric,
  .projects-masonry {
    padding-left: 80px;
  }
  
  .hero-diagonal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-left {
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .profile-card {
    position: static;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .project-card.featured {
    grid-column: span 2;
  }
  
  .project-card.wide {
    grid-column: span 2;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-diagonal {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .hero-left {
    padding: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-layout {
    grid-template-columns: 350px 1fr;
    gap: 3rem;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .project-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .project-card.wide {
    grid-column: span 2;
  }
  
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width: 1025px) and (max-width: 1440px) {
  .about-layout {
    grid-template-columns: 400px 1fr;
  }
  
  .projects-masonry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .project-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .project-card.wide {
    grid-column: span 2;
  }
}

/* Large Desktop */
@media (min-width: 1441px) {
  .about-container,
  .projects-container {
    max-width: 1600px;
  }
  
  .projects-masonry-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .project-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .project-card.wide {
    grid-column: span 3;
  }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
  .about-container,
  .projects-container {
    max-width: 1800px;
  }
  
  .projects-masonry-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Mobile Navigation Enhancement */
@media (max-width: 768px) {
  /* Add mobile menu button */
  .mobile-menu-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    z-index: 1001;
    cursor: pointer;
  }
  
  /* Improve touch targets */
  .filter-btn,
  .btn-futuristic,
  .action-btn,
  .project-link {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improve text readability */
  .hero-description,
  .content-text {
    line-height: 1.6;
  }
  
  /* Optimize images for mobile */
  .profile-img {
    height: 250px;
  }
  
  .project-visual-medium {
    height: 150px;
  }
  
  /* Improve spacing */
  section {
    padding: 3rem 0;
  }
  
  .section-header-floating {
    margin-bottom: 2rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .profile-img,
  .project-icon {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-diagonal {
    min-height: auto;
    padding: 2rem 1rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Floating elements removed */
}

/* Print styles */
@media print {
  .side-nav,
  .floating-header,
  .social-vertical,
  .scan-line,
  .status-dot {
    display: none !important;
  }
  
  .hero-diagonal,
  .about-asymmetric,
  .projects-masonry {
    padding-left: 0 !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .project-card,
  .skill-category,
  .experience-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Floating elements removed */
  
  .scan-line {
    animation: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary: #00ffff;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border: #666666;
  }
}

/* Dark mode preference */
@media (prefers-color-scheme: dark) {
  /* Already using dark theme, but ensure consistency */
  :root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --text-primary: #e2e8f0;
  }
}/* 
Mobile Menu Functionality */
.mobile-menu-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  z-index: 1001;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== MOBILE MENU BUTTON ===== */
#mobileMenuBtn {
  display: flex; /* TEMPORARILY SHOW ON ALL SCREENS FOR DEBUGGING */
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 50px;
  height: 50px;
  background: #1e1e2e;
  border: 2px solid #2d3748;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  z-index: 1002;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#mobileMenuBtn:hover {
  background: #2d3748;
  color: #00d4ff;
  border-color: #00d4ff;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
  transform: scale(1.05);
}

#mobileMenuBtn:active {
  transform: scale(0.95);
}

/* Mobile Overlay */
#mobileOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

#mobileOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* Side navigation - desktop only */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 80px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  border-right: 2px solid var(--border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
}

/* Hide side navigation on mobile */
@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}

/* Show mobile menu button on mobile devices */
@media (max-width: 768px) {
  #mobileMenuBtn {
    display: flex !important;
  }
  
  .nav-brand {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .nav-items {
    flex: 1;
    padding: 0;
  }
  
  .nav-items li {
    margin: 0;
  }
  
  .nav-dot {
    width: auto;
    height: auto;
    border-radius: 8px;
    background: transparent;
    border: 2px solid var(--border);
    padding: 1rem 1.5rem;
    margin: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: left;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .nav-dot::before {
    content: attr(data-section);
    position: static;
    opacity: 1;
    background: none;
    color: inherit;
    padding: 0;
    border: none;
    transform: none;
    font-weight: 500;
  }
  
  .nav-dot:hover,
  .nav-dot.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
  }
  
  .nav-footer {
    margin-top: auto;
    text-align: center;
  }
  
  /* Ensure proper spacing for mobile content */
  .hero-diagonal {
    padding-left: 1rem;
  }
}

/* Additional mobile styles for very small screens */
@media (max-width: 480px) {
  #mobileMenuBtn {
    top: 0.5rem;
    left: 0.5rem;
    width: 45px;
    height: 45px;
  }
  
  .side-nav {
    width: 100vw;
  }
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}/* =
==== CRITICAL MOBILE FIXES ===== */

/* Ensure all elements are responsive */
* {
  box-sizing: border-box;
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Fix container widths */
.container,
.about-container,
.projects-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Mobile-specific overrides */
@media (max-width: 768px) {
  /* Force single column layouts */
  .hero-diagonal {
    display: block !important;
    grid-template-columns: none !important;
  }
  
  .about-layout {
    display: block !important;
    grid-template-columns: none !important;
  }
  
  .projects-masonry-grid {
    display: block !important;
    columns: 1 !important;
  }
  
  .project-card {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
  }
  
  /* Fix text wrapping */
  .hero-title,
  .section-title-diagonal,
  .project-title {
    word-wrap: break-word;
    hyphens: auto;
  }
  
  /* Ensure buttons are touch-friendly */
  .btn-futuristic,
  .filter-btn,
  .action-btn {
    min-height: 44px;
    padding: 12px 16px;
  }
  
  /* Fix navigation */
  .nav-menu {
    display: none;
  }
  
  /* Responsive typography */
  html {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.2;
  }
  
  .section-title-diagonal {
    font-size: 1.4rem !important;
  }
  
  /* Fix spacing */
  .hero-left,
  .about-content-wrapper,
  .project-info-medium {
    padding: 1rem !important;
  }
  
  /* Ensure proper margins */
  .hero-diagonal,
  .about-asymmetric,
  .projects-masonry {
    margin: 0;
    padding: 1rem !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
  html {
    font-size: 13px;
  }
  
  .hero-title {
    font-size: 1.6rem !important;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr !important;
  }
  
  .stat-card {
    padding: 0.75rem 0.25rem !important;
  }
  
  .filter-btn {
    font-size: 0.7rem;
    padding: 8px 12px;
  }
  
  .project-card {
    margin-bottom: 0.75rem;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-diagonal {
    min-height: auto;
    padding: 1rem !important;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Mobile Only Styles */
@media (max-width: 768px) {
  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex !important;
  }
  
  /* Hide desktop navigation */
  .side-nav {
    display: none !important;
  }
  
  .floating-header,
  .social-vertical {
    display: none !important;
  }
  
  /* Add mobile header */
  body::before {
    content: 'MIMJAMAM UL HAQUE MONMOY';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  /* Mobile section adjustments */
  section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  /* Adjust hero for mobile header */
  #home {
    padding-top: 70px !important;
  }
  
  /* Force single column on mobile */
  .hero-diagonal {
    grid-template-columns: 1fr !important;
  }
  
  /* Ensure containers don't overflow */
  .container,
  .about-container,
  .projects-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Tablet Portrait (769px - 900px) */
@media (min-width: 769px) and (max-width: 900px) {
  .side-nav {
    width: 70px;
  }
  
  .hero-diagonal,
  .about-asymmetric,
  .projects-masonry {
    padding-left: 90px;
  }
  
  .hero-diagonal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .profile-card {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .projects-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .project-card.featured {
    grid-column: span 2;
  }
  
  .project-card.wide {
    grid-column: span 2;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Landscape (901px - 1024px) */
@media (min-width: 901px) and (max-width: 1024px) {
  .hero-diagonal {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-layout {
    grid-template-columns: 350px 1fr;
    gap: 2rem;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .project-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .project-card.wide {
    grid-column: span 2;
  }
  
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ensure proper scaling */
@media (max-width: 768px) {
  .profile-img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
  
  .profile-card {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .expertise-grid {
    gap: 1rem;
  }
  
  .expertise-item {
    text-align: center;
  }
}/* Mobil
e Menu Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 769px) {
  .mobile-overlay {
    display: none;
  }
}/* Ensur
e proper alignment and prevent overflow */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Desktop layout - proper spacing from side nav */
@media (min-width: 1025px) {
  .hero-diagonal,
  .about-asymmetric,
  .projects-masonry,
  section {
    margin-left: 0;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  section {
    padding-left: 6rem !important;
    padding-right: 2rem !important;
  }
}

/* Small tablet adjustments */
@media (min-width: 481px) and (max-width: 768px) {
  section {
    padding-left: 5rem !important;
    padding-right: 1rem !important;
  }
}/* Fix h
ero title overflow */
.hero-title {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.name-first,
.name-last {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive font sizes for hero title */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.1;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.1;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 3rem !important;
    line-height: 1.1;
  }
}

/* Ensure hero content doesn't overflow */
.hero-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-left {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-right: 1rem;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
  .hero-left {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .hero-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .name-first,
  .name-last {
    text-align: center;
    margin-left: 0 !important;
  }
}/* Ex
tra small screens */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }
  
  .name-first {
    font-size: 1.75rem !important;
  }
  
  .name-last {
    font-size: 1.75rem !important;
  }
  
  .hero-content {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.5rem !important;
    line-height: 1.2;
  }
  
  .name-first,
  .name-last {
    font-size: 1.5rem !important;
  }
}

/* Ensure no horizontal overflow */
.hero-diagonal {
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
}

/* Force text to stay within bounds */
.hero-title * {
  max-width: 100%;
  word-break: break-word;
}/* Critica
l Mobile Hero Fixes */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .name-first,
  .name-last {
    font-size: 1.75rem !important;
    text-align: center;
    margin-left: 0 !important;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
  
  .typing-wrapper {
    justify-content: center;
    font-size: 1rem;
    text-align: center;
  }
  
  .hero-description {
    font-size: 1rem;
    text-align: center;
    padding: 0 0.5rem;
  }
  
  .hero-content {
    padding: 0 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .hero-left {
    padding: 1rem 0.5rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem !important;
  }
  
  .name-first,
  .name-last {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.25rem !important;
  }
  
  .name-first,
  .name-last {
    font-size: 1.25rem !important;
  }
}/* Bulletp
roof Hero Section Layout */
.hero-diagonal {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

.hero-left {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding-right: 1rem;
}

.hero-content {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Force all text elements to stay within bounds */
.hero-content * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Mobile specific overrides */
@media (max-width: 768px) {
  .hero-diagonal {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .hero-left {
    padding: 0 !important;
    width: 100% !important;
  }
  
  .hero-content {
    padding: 0 0.5rem !important;
    width: calc(100% - 1rem) !important;
  }
  
  .hero-title-container {
    width: 100% !important;
    text-align: center;
  }
  
  .name-first,
  .name-last {
    text-align: center !important;
    padding: 0 0.25rem !important;
    width: calc(100% - 0.5rem) !important;
  }
}

/* Extra safety for very small screens */
@media (max-width: 360px) {
  .hero-content {
    padding: 0 0.25rem !important;
    width: calc(100% - 0.5rem) !important;
  }
  
  .name-first,
  .name-last {
    font-size: 1.25rem !important;
    padding: 0 0.125rem !important;
  }
}/* FI
NAL OVERRIDE - This will definitely work */
.hero-title-container {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin-bottom: 2rem !important;
}

.hero-title {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  overflow: hidden !important;
}

.name-first,
.name-last {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  hyphens: auto !important;
  white-space: normal !important;
  box-sizing: border-box !important;
  font-size: 2rem !important;
}

.name-first {
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.name-last {
  color: #e2e8f0 !important;
  margin-top: 0.25rem !important;
}

/* Mobile Overrides */
@media (max-width: 768px) {
  .name-first,
  .name-last {
    font-size: 1.5rem !important;
    text-align: center !important;
    padding: 0 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .name-first,
  .name-last {
    font-size: 1.25rem !important;
    padding: 0 0.25rem !important;
  }
}

@media (max-width: 360px) {
  .name-first,
  .name-last {
    font-size: 1.1rem !important;
    padding: 0 0.125rem !important;
  }
}

/* Desktop Sizes */
@media (min-width: 769px) {
  .name-first,
  .name-last {
    font-size: 2.5rem !important;
  }
}

@media (min-width: 1024px) {
  .name-first,
  .name-last {
    font-size: 3rem !important;
  }
}

@media (min-width: 1200px) {
  .name-first,
  .name-last {
    font-size: 3.5rem !important;
  }
}/* A
BSOLUTE FINAL FIX - INLINE STYLES OVERRIDE */
#home {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

#home * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Mobile specific */
@media (max-width: 768px) {
  #home {
    padding: 70px 0.5rem 2rem 0.5rem !important;
  }
  
  #home > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  #home h1 {
    text-align: center !important;
  }
  
  #home h1 div {
    font-size: 1.5rem !important;
    text-align: center !important;
    padding: 0 0.25rem !important;
  }
}

@media (max-width: 480px) {
  #home h1 div {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 360px) {
  #home h1 div {
    font-size: 1.1rem !important;
  }
}/* 
===== CLEAN CSS WITHOUT TAILWIND ===== */

/* Restore Original Layout Structure */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 80px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-right: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
  z-index: 1000;
}

.nav-brand {
  margin-bottom: 3rem;
}

.logo-vertical {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-vertical:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.nav-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  display: block;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-dot::before {
  content: attr(data-section);
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.nav-dot:hover::before,
.nav-dot.active::before {
  opacity: 1;
}

.nav-dot.active,
.nav-dot:hover {
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
}

.nav-footer {
  margin-top: auto;
}

.resume-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.resume-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  z-index: 1002;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 769px) {
  .mobile-overlay {
    display: none !important;
  }
}

/* Hero Section Layout */
.hero-diagonal {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-left: 100px;
  position: relative;
  overflow: hidden;
}

.hero-diagonal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--gradient-accent);
  transform: skewX(-15deg);
  transform-origin: top;
}

.hero-left {
  padding: 2rem 4rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

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

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-futuristic {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-futuristic.primary {
  background: var(--gradient-accent);
  color: var(--white);
  border: 2px solid transparent;
}

.btn-futuristic.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-futuristic:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Section Layout */
section {
  padding: 5rem 0;
  padding-left: 100px;
}

section:nth-child(even) {
  background: var(--bg-secondary);
}

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

/* About Section */
.about-asymmetric {
  padding: 6rem 0;
  padding-left: 100px;
  position: relative;
}

/* Projects Section */
.projects-masonry {
  padding: 6rem 0;
  padding-left: 100px;
  background: var(--bg-secondary);
}

/* Mobile Menu Functionality */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
  }
  
  .side-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-right: 2px solid var(--border);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
  }
  
  .side-nav.mobile-open {
    transform: translateX(0);
  }
  
  .nav-brand {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .nav-items {
    flex: 1;
    padding: 0;
  }
  
  .nav-items li {
    margin: 0;
  }
  
  .nav-dot {
    width: auto;
    height: auto;
    border-radius: 8px;
    background: transparent;
    border: 2px solid var(--border);
    padding: 1rem 1.5rem;
    margin: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: left;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .nav-dot::before {
    content: attr(data-section);
    position: static;
    opacity: 1;
    background: none;
    color: inherit;
    padding: 0;
    border: none;
    transform: none;
    font-weight: 500;
  }
  
  .nav-dot:hover,
  .nav-dot.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
  }
  
  .nav-footer {
    margin-top: auto;
    text-align: center;
  }
  
  .hero-diagonal {
    grid-template-columns: 1fr;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-diagonal::before {
    display: none;
  }
  
  .hero-left {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-futuristic {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  section,
  .about-asymmetric,
  .projects-masonry {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .floating-header,
  .social-vertical {
    display: none;
  }
  
  /* Add mobile header */
  body::before {
    content: 'MIMJAMAM UL HAQUE MONMOY';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  #home {
    padding-top: 70px;
  }
}/* 
===== ENHANCED FONTS & TILE PATTERNS ===== */

/* Font Families */
:root {
  --font-primary: 'Space Grotesk', 'Inter', sans-serif;
  --font-heading: 'Orbitron', 'Space Grotesk', sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', monospace;
  --font-accent: 'Inter', sans-serif;
}

/* Update Body Font */
body {
  font-family: var(--font-primary);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Heading Fonts */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Monospace Elements */
.mono, 
.terminal-content,
.status-indicator,
code,
pre {
  font-family: var(--font-mono);
  font-weight: 400;
}

/* Hero Title Enhanced */
.hero-title h1 div {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  text-transform: uppercase;
}

/* Section Titles */
.section-title h2,
.section-title-main,
.section-title-diagonal {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Navigation Font */
.logo-vertical {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Button Fonts */
.btn-futuristic,
.filter-btn,
.action-btn {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

/* ===== TILE PATTERNS ===== */

/* Hexagonal Tile Pattern */
.hex-pattern {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
}

/* Circuit Board Pattern */
.circuit-pattern {
  background-image: 
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.circuit-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20px 20px, rgba(0, 212, 255, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 60px 60px, rgba(124, 58, 237, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Diamond Grid Pattern */
.diamond-pattern {
  background-image: 
    linear-gradient(45deg, rgba(0, 212, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 212, 255, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(124, 58, 237, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(124, 58, 237, 0.05) 75%);
  background-size: 30px 30px;
  background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
}

/* Dot Matrix Pattern */
.dot-matrix {
  background-image: 
    radial-gradient(circle, rgba(0, 212, 255, 0.15) 1px, transparent 1px);
  background-size: 25px 25px;
}

/* Triangular Pattern */
.triangle-pattern {
  background-image: 
    linear-gradient(60deg, rgba(0, 212, 255, 0.1) 25%, transparent 25%),
    linear-gradient(-60deg, rgba(0, 212, 255, 0.1) 25%, transparent 25%),
    linear-gradient(60deg, transparent 75%, rgba(124, 58, 237, 0.1) 75%),
    linear-gradient(-60deg, transparent 75%, rgba(124, 58, 237, 0.1) 75%);
  background-size: 40px 70px;
}

/* Apply Patterns to Sections */
.hero-diagonal {
  position: relative;
}

.hero-diagonal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
    linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 30px 30px, 30px 30px;
  pointer-events: none;
  z-index: 1;
}

/* About Section Pattern - Fixed */
.about-asymmetric {
  position: relative;
}

.about-asymmetric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.015) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.015) 0%, transparent 60%);
  background-size: 200px 200px;
  background-position: 0 0, 100px 100px;
  pointer-events: none;
  z-index: 0;
}

/* Projects Section Pattern - Fixed */
.projects-masonry {
  position: relative;
}

.projects-masonry::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.02) 0%, transparent 50%),
    linear-gradient(90deg, rgba(0, 212, 255, 0.01) 1px, transparent 1px),
    linear-gradient(rgba(0, 212, 255, 0.01) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 60px 60px, 60px 60px;
  background-position: 0 0, 60px 60px, 0 0, 0 0;
  pointer-events: none;
  z-index: 0;
}

/* Skills Section Pattern - Fixed */
#skills {
  position: relative;
}

#skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle, rgba(0, 212, 255, 0.01) 0.5px, transparent 0.5px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Contact Section Pattern - Fixed */
#contact {
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.015) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.015) 0%, transparent 50%);
  background-size: 150px 150px;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content is above patterns */
.hero-content,
.about-container > *,
.projects-container > *,
.container > * {
  position: relative;
  z-index: 2;
}

/* Enhanced Card Patterns */
.project-card,
.skill-category,
.experience-item,
.stat-card {
  position: relative;
  overflow: hidden;
}

.project-card::before,
.skill-category::before,
.experience-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-card:hover::before,
.skill-category:hover::before,
.experience-item:hover::before {
  opacity: 1;
}

/* Typography Enhancements */
.cyber-text {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.gradient-text {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Project Title Fonts */
.project-title,
.project-content h4 {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Enhanced Button Styling */
.btn-futuristic {
  position: relative;
  overflow: hidden;
}

.btn-futuristic::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-futuristic:hover::before {
  left: 100%;
}

/* Responsive Font Adjustments */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  .hero-title h1 div {
    font-weight: 700 !important;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
}/*
 Enhanced Hero Badge */
.hero-badge {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  animation: scan-badge 3s linear infinite;
}

@keyframes scan-badge {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-badge .mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* Enhanced Typing Animation */
.typing-wrapper {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.typing {
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Enhanced Description */
.hero-description {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* Enhanced Stats Cards */
.stat-card {
  font-family: var(--font-primary);
  position: relative;
  overflow: hidden;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Enhanced Project Cards */
.project-card .mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Enhanced Skill Tags */
.skill-tag,
.tech-tag,
.tag,
.tag-small {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Enhanced Filter Buttons */
.filter-btn {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Enhanced Experience Items */
.experience-item h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.experience-item .company {
  font-family: var(--font-primary);
  font-weight: 500;
}

.experience-item .duration {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Enhanced Contact Section */
.contact-item h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Pattern Animation */
@keyframes pattern-shift {
  0% { background-position: 0 0; }
  100% { background-position: 30px 30px; }
}

.hero-diagonal::after {
  animation: pattern-shift 20s linear infinite;
}

/* Subtle Glow Effects */
.logo-vertical,
.nav-dot.active,
.btn-futuristic:hover {
  box-shadow: 
    0 0 20px rgba(0, 212, 255, 0.3),
    0 0 40px rgba(0, 212, 255, 0.1);
}

/* Enhanced Text Selection */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: var(--white);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}/* ====
= UNIFORM PROJECT CARDS ===== */

/* Uniform Grid Layout */
.projects-uniform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Uniform Project Card */
.project-card-uniform {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
}

.project-card-uniform:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(0, 212, 255, 0.2);
  border-color: var(--primary);
}

/* Uniform Visual Section */
.project-visual-uniform {
  height: 150px;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 2px solid var(--border);
}

.project-visual-uniform .project-icon {
  font-size: 3rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.project-card-uniform:hover .project-icon {
  transform: scale(1.1);
  opacity: 1;
}

/* Status Badge */
.project-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-mono);
}

/* Different badge colors */
.project-status-badge:contains("Featured") {
  background: var(--gradient-secondary);
}

.project-status-badge:contains("Live") {
  background: #00ff88;
  color: var(--bg-primary);
}

.project-status-badge:contains("Demo") {
  background: var(--accent);
}

.project-status-badge:contains("Complete") {
  background: var(--secondary);
}

/* Uniform Info Section */
.project-info-uniform {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title-uniform {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.project-desc-uniform {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

/* Uniform Tags */
.project-tags-uniform {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag-uniform {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.tag-uniform:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

/* Uniform Actions */
.project-actions-uniform {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.action-btn-uniform {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.action-btn-uniform:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Hover Effects */
.project-card-uniform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.project-card-uniform:hover::before {
  opacity: 0.03;
}

.project-card-uniform > * {
  position: relative;
  z-index: 1;
}

/* Grid Pattern Overlay */
.project-visual-uniform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Responsive Design for Uniform Cards */
@media (max-width: 768px) {
  .projects-uniform-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card-uniform {
    height: auto;
    min-height: 350px;
  }
  
  .project-visual-uniform {
    height: 120px;
  }
  
  .project-visual-uniform .project-icon {
    font-size: 2.5rem;
  }
  
  .project-info-uniform {
    padding: 1rem;
  }
  
  .project-title-uniform {
    font-size: 1rem;
  }
  
  .project-desc-uniform {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .projects-uniform-grid {
    gap: 1rem;
  }
  
  .project-card-uniform {
    min-height: 320px;
  }
  
  .project-visual-uniform {
    height: 100px;
  }
  
  .project-visual-uniform .project-icon {
    font-size: 2rem;
  }
  
  .project-actions-uniform {
    gap: 0.5rem;
  }
  
  .action-btn-uniform {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }
}

/* Update filter functionality for uniform cards */
.project-card-uniform[style*="display: none"] {
  display: none !important;
}

.project-card-uniform {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

/* Animation for filtering */
.project-card-uniform.filtering-out {
  opacity: 0;
  transform: translateY(-20px) scale(0.9);
}

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