/* Minimal, Elegant, Luxurious Black/White Cybersec Theme */
:root {
  --bg: #0a0a0a;
  --fg: #fff;
  --fg-soft: #e5e5e5;
  --border: #222;
  --accent: #22c55e;
  --card: #171717;
  --shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
  --radius: 12px;
  --space: 2.5rem;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.1rem;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

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

.accent {
  color: var(--accent);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space);
}

/* Navbar */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem !important;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 1rem !important;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--fg-soft);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.3rem 0.7rem !important;
  border-radius: 4px;
  font-size: 1.05rem;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-links a:hover, .nav-links a:focus {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-links a:hover::before {
  width: 80%;
}

.nav-links a:hover::after {
  opacity: 1;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg-soft);
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.2), transparent);
  transition: left 0.5s ease;
}

.theme-toggle:hover, .theme-toggle:focus {
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg) scale(1.1);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.theme-toggle:hover::before {
  left: 100%;
}

/* Hero */
.hero {
  padding: 6rem 0 4rem 0;
  background: var(--bg);
  text-align: left;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.hero-title {
  font-size: 2.7rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
  color: var(--fg);
}
.blinking-cursor {
  display: inline-block;
  width: 1ch;
  animation: blink 1s steps(1) infinite;
  color: var(--accent);
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.hero-subtitle {
  font-size: 1.3rem;
  color: var(--fg-soft);
  margin: 0;
}
.hero-prompt {
  font-size: 1.1rem;
  color: var(--fg-soft);
  margin-top: 0.5rem;
}

/* Section */
.section {
  padding: 4rem 0 3rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.section-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
}
.prompt {
  color: var(--accent);
  font-size: 1.3rem;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 700px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.about-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.badge {
  background: var(--card);
  color: var(--fg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: 'JetBrains Mono', monospace;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.2), transparent);
  transition: left 0.5s ease;
}

.badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(34, 197, 94, 0.05);
}

.badge:hover::before {
  left: 100%;
}

.badge i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.badge:hover i {
  transform: rotate(360deg) scale(1.2);
}

/* Skills */
.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  padding-left: 1rem;
}

.skills-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.skills-list li:hover {
  transform: translateX(8px);
  color: var(--accent);
  background: rgba(34, 197, 94, 0.05);
  border-radius: 4px;
  padding-left: 1.5rem;
}

.skills-list li:hover::before {
  width: 8px;
}

.skills-list .accent {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.skills-list li:hover .accent {
  color: var(--accent);
  transform: scale(1.1);
}

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
  align-items: start;
}
@media (max-width: 900px) {
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.certification-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 1.3rem 1rem 1.7rem 1rem;
  transition: box-shadow 0.3s, border 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  box-shadow: 0 4px 24px 0 rgba(34,197,94,0.07), 0 1.5px 8px 0 rgba(0,0,0,0.10);
}
.certification-card:hover {
  border: 1.5px solid var(--accent);
  box-shadow: 0 8px 32px 0 rgba(34,197,94,0.13), 0 2px 12px 0 rgba(0,0,0,0.13);
  transform: translateY(-4px) scale(1.025);
}
.certification-badge {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(34,197,94,0.08);
  background: #181a1b;
}
.certification-card:hover .certification-badge {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 6px 24px rgba(34,197,94,0.18);
}
.certification-title {
  font-size: 1.13rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.certification-issuer {
  font-size: 0.93rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.7rem 0;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.certification-desc {
  font-size: 0.97rem;
  color: var(--fg-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 240px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .certification-card {
    min-height: 0;
    max-width: 100%;
  }
}

/* Projects */
.projects-grid {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

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

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

.project-card:hover .project-title {
  color: var(--accent);
  transform: translateX(4px);
}

.project-card:hover .project-desc {
  color: var(--fg);
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.project-desc {
  color: var(--fg-soft);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 400px;
}
.contact-form input,
.contact-form textarea {
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: 'JetBrains Mono', monospace;
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid var(--accent);
  outline: none;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: center;
}
.btn-accent:hover, .btn-accent:focus {
  background: #1e9e4a;
}

/* Footer */
.footer {
  background: var(--bg);
  color: var(--fg-soft);
  border-top: 1px solid var(--border);
  padding: 2rem 0 1.5rem 0;
  text-align: center;
  font-size: 1rem;
}
.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Remove all excessive effects, only keep blinking cursor in hero */

/* Luxury Black & White Theme with Console Aesthetic */

/* Custom Properties */
:root {
    --luxury-50: #fafafa;
    --luxury-100: #f5f5f5;
    --luxury-200: #e5e5e5;
    --luxury-300: #d4d4d4;
    --luxury-400: #a3a3a3;
    --luxury-500: #737373;
    --luxury-600: #525252;
    --luxury-700: #404040;
    --luxury-800: #262626;
    --luxury-900: #171717;
    --luxury-950: #0a0a0a;
    --accent: #22c55e;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-3xl: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    background: linear-gradient(135deg, var(--luxury-950) 0%, var(--luxury-900) 50%, var(--luxury-950) 100%);
    color: var(--luxury-100);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Luxury Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
.font-display {
    font-family: 'Inter', system-ui, sans-serif;
}

.font-elegant {
    font-family: 'Playfair Display', serif;
}

/* Luxury Gradients */
.luxury-gradient-primary {
    background: linear-gradient(135deg, var(--luxury-800) 0%, var(--luxury-900) 100%);
}

.luxury-gradient-secondary {
    background: linear-gradient(135deg, var(--luxury-700) 0%, var(--luxury-800) 100%);
}

.luxury-gradient-accent {
    background: linear-gradient(135deg, var(--luxury-100) 0%, var(--luxury-200) 100%);
}

.luxury-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--luxury-200) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Luxury Shadows */
.luxury-shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.luxury-shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.luxury-shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.luxury-shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.luxury-shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.luxury-shadow-3xl {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
}

/* Luxury Animations */
@keyframes luxuryFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes luxuryGlow {
    0% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
    }
    100% {
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.3);
    }
}

@keyframes luxuryShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes luxuryPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

/* Luxury Animation Classes */
.luxury-animate-fade-in {
    animation: luxuryFadeIn 1s ease-out;
}

.luxury-animate-slide-up {
    animation: luxurySlideUp 1.2s ease-out;
}

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

.luxury-animate-glow {
    animation: luxuryGlow 3s ease-in-out infinite alternate;
}

.luxury-animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 100%;
    animation: luxuryShimmer 2s linear infinite;
}

.luxury-animate-pulse {
    animation: luxuryPulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.luxury-animate-bounce {
    animation: luxuryBounce 2s infinite;
}

/* Luxury Buttons */
.luxury-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

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

.luxury-btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, var(--luxury-100) 100%);
    color: var(--luxury-950);
    box-shadow: var(--shadow-xl);
}

.luxury-btn-primary:hover {
    background: linear-gradient(135deg, var(--luxury-100) 0%, #ffffff 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.luxury-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-lg);
}

.luxury-btn-secondary:hover {
    background: #ffffff;
    color: var(--luxury-950);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

/* Luxury Cards */
.luxury-card {
    background: linear-gradient(135deg, rgba(38, 38, 38, 0.5) 0%, rgba(23, 23, 23, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-3xl);
}

/* Luxury Form Elements */
.luxury-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(38, 38, 38, 0.5) 0%, rgba(23, 23, 23, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.luxury-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.luxury-input::placeholder {
    color: var(--luxury-400);
}

/* Luxury Progress Bars */
.luxury-progress {
    width: 100%;
    height: 0.75rem;
    background: linear-gradient(135deg, rgba(38, 38, 38, 0.5) 0%, rgba(23, 23, 23, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.luxury-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, var(--luxury-200) 100%);
    border-radius: 9999px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Luxury Badges */
.luxury-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--luxury-100) 100%);
    color: var(--luxury-950);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.luxury-badge:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Luxury Icons */
.luxury-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--luxury-100) 100%);
    color: var(--luxury-800);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.luxury-icon:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Luxury Dividers */
.luxury-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 2rem 0;
}

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

::-webkit-scrollbar-track {
    background: var(--luxury-900);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--luxury-600) 0%, var(--luxury-500) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--luxury-500) 0%, var(--luxury-400) 100%);
}

/* Luxury Selection */
::selection {
    background: rgba(34, 197, 94, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(34, 197, 94, 0.3);
    color: #ffffff;
}

/* Luxury Focus Styles */
.luxury-focus:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

/* Luxury Loading States */
.luxury-loading {
    position: relative;
    overflow: hidden;
}

.luxury-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: luxuryShimmer 1.5s infinite;
}

/* Luxury Responsive Design */
@media (max-width: 768px) {
    .luxury-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .luxury-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .luxury-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .luxury-card {
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .luxury-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .luxury-icon {
        width: 2rem;
        height: 2rem;
    }
}

/* Luxury Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --luxury-50: #0a0a0a;
        --luxury-100: #171717;
        --luxury-200: #262626;
        --luxury-300: #404040;
        --luxury-400: #525252;
        --luxury-500: #737373;
        --luxury-600: #a3a3a3;
        --luxury-700: #d4d4d4;
        --luxury-800: #e5e5e5;
        --luxury-900: #f5f5f5;
        --luxury-950: #fafafa;
    }
}

/* Luxury Print Styles */
@media print {
    .luxury-card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .luxury-btn {
        border: 1px solid #000;
        background: none;
        color: #000;
    }
}

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

/* Luxury High Contrast Mode */
@media (prefers-contrast: high) {
    .luxury-card {
        border: 2px solid #ffffff;
    }
    
    .luxury-btn {
        border: 2px solid #ffffff;
    }
    
    .luxury-input {
        border: 2px solid #ffffff;
    }
}

/* Luxury Custom Scrollbar for Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--luxury-600) var(--luxury-900);
}

/* Luxury Focus Visible */
.luxury-focus-visible:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Luxury Disabled States */
.luxury-disabled {
        opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Luxury Success States */
.luxury-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

/* Luxury Error States */
.luxury-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Luxury Warning States */
.luxury-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Luxury Info States */
.luxury-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Elegant Portfolio - Black & White Theme with Gradients */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

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

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-gradient {
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

/* Custom hover effects */
.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background: #181a1b;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dark ::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #23272a;
    border-radius: 8px;
}

.dark ::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ffffff, #cccccc);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #404040, #000000);
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #a3a3a3, #ffffff);
}

/* Loading animation for images */
.image-loading {
    background: linear-gradient(90deg, #404040 25%, #737373 50%, #404040 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Custom focus styles */
.custom-focus:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
}

.dark .custom-focus:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Glass morphism effect */
.glass {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.dark .glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, #000000, #666666, #000000);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

.dark .gradient-text {
    background: linear-gradient(45deg, #ffffff, #cccccc, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Custom button styles */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000, #404040);
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.dark .btn-primary {
    background: linear-gradient(135deg, #ffffff, #a3a3a3);
    border: 2px solid #ffffff;
}

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

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

.btn-primary:hover {
    background: linear-gradient(135deg, #404040, #000000);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.dark .btn-primary:hover {
    background: linear-gradient(135deg, #a3a3a3, #ffffff);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Terminal style text */
.terminal-text {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    color: #000000;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.dark .terminal-text {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Responsive text */
@media (max-width: 640px) {
    .text-responsive {
        font-size: 0.875rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .text-responsive {
        font-size: 1rem;
    }
}

@media (min-width: 1025px) {
    .text-responsive {
        font-size: 1.125rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Enhanced gradient effects */
.gradient-bg {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 50%, #e5e5e5 100%);
}

.dark .gradient-bg {
    background: linear-gradient(135deg, #0a0a0a 0%, #171717 50%, #262626 100%);
}

.gradient-border {
    border: 2px solid;
    border-image: linear-gradient(135deg, #000000, #404040) 1;
}

.dark .gradient-border {
    border-image: linear-gradient(135deg, #ffffff, #a3a3a3) 1;
}

/* Card hover effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

.dark .card-hover::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
}

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

/* Loading animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    animation: shimmer 1.5s infinite;
}

.dark .loading::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Navigation enhancements */
nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.theme-transition {
    transition: all 0.3s ease;
}

/* Selection styles */
::selection {
    background: rgba(0, 0, 0, 0.2);
    color: #000000;
}

.dark ::selection {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

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

/* High contrast support */
@media (prefers-contrast: high) {
    .btn-primary {
        border-width: 3px;
    }
    
    .card-hover {
        border-width: 2px;
    }
}

/* Focus styles */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

.dark *:focus-visible {
    outline-color: #ffffff;
}

/* Root variables for consistent theming */
:root {
    --primary-gradient: linear-gradient(135deg, #000000, #404040);
    --secondary-gradient: linear-gradient(135deg, #fafafa, #e5e5e5);
    --accent-gradient: linear-gradient(135deg, #404040, #000000);
    --text-gradient: linear-gradient(135deg, #000000, #404040);
}

.dark {
    --primary-gradient: linear-gradient(135deg, #ffffff, #a3a3a3);
    --secondary-gradient: linear-gradient(135deg, #0a0a0a, #262626);
    --accent-gradient: linear-gradient(135deg, #a3a3a3, #ffffff);
    --text-gradient: linear-gradient(135deg, #ffffff, #a3a3a3);
}

/* Theme-aware components */
.theme-aware {
    background: var(--primary-gradient);
    color: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced form styles */
.form-input {
    transition: all 0.3s ease;
    position: relative;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dark .form-input:focus {
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* Progress bar enhancements */
.progress-bar {
    position: relative;
    overflow: hidden;
}

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

@keyframes progress-shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced button styles */
.btn {
    position: relative;
    overflow: hidden;
    background: var(--primary-gradient);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

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

.btn:hover {
    background: var(--accent-gradient);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dark .btn:hover {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Enhanced link styles */
a:not(.btn) {
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

a:not(.btn):hover::after {
    width: 100%;
}

/* Dark mode enhancements */
.dark {
    color-scheme: dark;
}

.dark .bg-white {
    background-color: #000000;
}

.dark .text-gray-900 {
    color: #ffffff;
}

.dark .border-gray-200 {
    border-color: #404040;
}

/* Light mode enhancements */
.light {
    color-scheme: light;
}

/* Focus ring utilities */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.dark .focus-ring:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Form validation styles */
.form-input:invalid {
    border-color: #ef4444;
}

.form-input:valid {
    border-color: #10b981;
}

/* Tooltip styles */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.dark .tooltip::before {
    background: #ffffff;
    color: #000000;
}

.tooltip:hover::before {
    opacity: 1;
}

/* Glitch text effect */
.glitch-text {
    position: relative;
    animation: glitch 0.3s ease-in-out 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.3s ease-in-out infinite;
    color: #22c55e;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.3s ease-in-out infinite;
    color: #16a34a;
    z-index: -2;
}

@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); }
}

.glitch-text:hover {
    animation: glitch 0.3s ease;
}

.glitch-text:hover::before,
.glitch-text:hover::after {
    animation: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 2rem;
    }
}

/* Enhanced dark mode support */
.dark .glitch-text::before {
    text-shadow: -2px 0 #ffffff;
}

.dark .glitch-text::after {
    text-shadow: 2px 0 #ffffff;
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.3);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark .hover-lift:hover {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

/* Enhanced navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #000000, #666666);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.dark .nav-link::after {
    background: linear-gradient(to right, #ffffff, #cccccc);
}

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

/* Enhanced section transitions */
.section-transition {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-transition.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced background patterns */
.bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
}

.dark .bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

/* Enhanced shadows */
.shadow-elegant {
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.dark .shadow-elegant {
    box-shadow: 
        0 4px 6px -1px rgba(255, 255, 255, 0.1),
        0 2px 4px -1px rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.shadow-elegant-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-elegant-hover:hover {
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.dark .shadow-elegant-hover:hover {
    box-shadow: 
        0 20px 25px -5px rgba(255, 255, 255, 0.1),
        0 10px 10px -5px rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Enhanced typography */
.text-gradient {
    background: linear-gradient(135deg, #000000 0%, #666666 50%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-flow 4s ease infinite;
}

.dark .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradient-flow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced loading states */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.dark .loading-shimmer {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .mobile-optimized {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .mobile-spacing {
        padding: 2rem 1rem;
    }
}

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

/* Enhanced print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .text-gradient {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}

/* Custom utility classes */
.backdrop-blur-custom {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .glass-effect {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Enhanced animations for specific elements */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for lists */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }

/* Enhanced hover states for interactive elements */
.interactive-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.interactive-hover:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Enhanced focus states for better accessibility */
.focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus-visible:focus-visible {
    outline-color: #000000;
}

.dark .focus-visible:focus-visible {
    outline-color: #ffffff;
}

/* Custom CSS for Cyber Security/Hacker Theme */

/* Terminal Typing Animation */
.typing-animation {
    overflow: hidden;
    border-right: 2px solid #22c55e;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #22c55e; }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.matrix-character {
    position: absolute;
    color: #22c55e;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    animation: matrix-fall 3s linear infinite;
    opacity: 0.7;
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Scan Line Effect */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
    animation: scan 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes scan {
    0%, 100% { transform: translateY(-100vh); }
    50% { transform: translateY(100vh); }
}

/* Cyber Button Hover Effects */
.cyber-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.2), transparent);
    transition: left 0.5s ease;
}

.cyber-button:hover::before {
    left: 100%;
}

/* Terminal Cursor Blink */
.terminal-cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Cyber Security Icons */
.cyber-icon {
    transition: all 0.3s ease;
}

.cyber-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px #22c55e);
}

/* Hacker-style Loading Animation */
.hacker-loading {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.hacker-loading div {
    position: absolute;
    border: 4px solid #22c55e;
    opacity: 1;
    border-radius: 50%;
    animation: hacker-loading 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.hacker-loading div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes hacker-loading {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/* Cyber Security Card Hover Effects */
.cyber-card {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cyber-card:hover::before {
    transform: translateX(100%);
}

.cyber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
}

/* Matrix Code Rain Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(34, 197, 94, 0.05) 50%, 
        rgba(0, 0, 0, 0.9) 100%);
    z-index: -1;
}

/* Cyber Security Progress Bars */
.cyber-progress {
    position: relative;
    overflow: hidden;
}

.cyber-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(34, 197, 94, 0.3), 
        transparent);
    animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Terminal-style Input Fields */
.terminal-input {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #22c55e;
    color: #22c55e;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.terminal-input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
    background: rgba(0, 0, 0, 0.9);
}

/* Hacker-style Navigation */
.hacker-nav {
    position: relative;
    transition: all 0.3s ease;
}

.hacker-nav::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22c55e;
    transition: width 0.3s ease;
}

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

/* Cyber Security Alert Styles */
.cyber-alert {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #22c55e;
    color: #22c55e;
    font-family: 'Courier New', monospace;
    animation: alert-pulse 2s ease-in-out infinite;
}

@keyframes alert-pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.6); }
}

/* Responsive Design for Cyber Theme */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 2rem;
    }
    
    .typing-animation {
        font-size: 0.9rem;
    }
    
    .cyber-card {
        margin-bottom: 2rem;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .cyber-card {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .terminal-input {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .glitch-text,
    .typing-animation,
    .matrix-character,
    .scan-line,
    .hacker-loading,
    .cyber-card::before,
    .cyber-progress::after {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .cyber-card {
        border: 2px solid #22c55e;
    }
    
    .terminal-input {
        border: 2px solid #22c55e;
    }
}

/* Print Styles */
@media print {
    .matrix-bg,
    .scan-line,
    .cyber-card::before {
        display: none;
    }
    
    .cyber-card {
        border: 1px solid #000;
        box-shadow: none;
    }
}

body {
    background: #101214;
    color: #f5f5f5;
    font-family: 'JetBrains Mono', 'Fira Code', 'monospace', monospace;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

nav, footer {
    background: #181a1b;
    color: #f5f5f5;
    border-color: #23272a;
}

section {
    background: #101214;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'JetBrains Mono', 'Fira Code', 'monospace', monospace;
    color: #fff;
    letter-spacing: 0.03em;
}

a, button {
    font-family: inherit;
    color: #fff;
    transition: color 0.2s, background 0.2s, border 0.2s;
}

a:hover, button:hover, a:focus, button:focus {
    color: #22c55e;
    background: #181a1b;
    outline: none;
    border-color: #22c55e;
}

input, textarea {
    background: #181a1b;
    color: #f5f5f5;
    border: 1px solid #23272a;
    font-family: 'JetBrains Mono', 'Fira Code', 'monospace', monospace;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: border 0.2s;
}

input:focus, textarea:focus {
    border-color: #22c55e;
    outline: none;
}

.badge-online {
    display: inline-flex;
    align-items: center;
    font-size: 0.95em;
    color: #22c55e;
    background: #181a1b;
    border-radius: 1em;
    padding: 0.2em 0.7em 0.2em 0.5em;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.badge-online-dot {
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 0.5em;
}

.console-section {
    background: #101214;
    border-radius: 1.2em;
    border: 1px solid #23272a;
    box-shadow: 0 2px 16px 0 #0002;
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
}

.console-prompt {
    color: #22c55e;
    font-weight: 600;
    margin-right: 0.5em;
}

/* Remove all matrix, glitch, scan, and excessive animation classes */
.matrix-rain, .scan-line, .glitch-text, .cyber-card, .hacker-loading {
    display: none !important;
}

/* Subtle focus for accessibility */
:focus-visible {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
} 

/* Responsive Navbar */
@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding: 0 1.2rem;
  }
  .nav-links {
    gap: 0.5rem !important;
  }
}

/* Responsive Section Grid */
@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Responsive Certifications Grid */
@media (max-width: 900px) {
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Responsive Projects Grid */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Responsive Hero */
@media (max-width: 600px) {
  .hero {
    padding: 3rem 0 2rem 0;
    text-align: left;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Responsive Section Padding */
@media (max-width: 600px) {
  .section {
    padding: 2rem 0 1.5rem 0;
  }
}

@media (max-width: 600px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 0.3rem !important;
    padding-bottom: 0.2rem;
    width: 100%;
  }
  .nav-links a {
    font-size: 0.95rem;
    padding: 0.3rem 0.5rem !important;
  }
}

/* Hamburger menu styles */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
  margin-left: 0.5rem;
}
.hamburger-bar {
  width: 26px;
  height: 3px;
  background: var(--fg);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
@media (max-width: 700px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem !important;
    padding: 1.2rem 1.5rem 1.2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 20;
  }
  .nav-links.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 0.7rem 0.2rem !important;
    font-size: 1.08rem;
  }
} 

.about-justify {
  text-align: justify;
}

.connect-links {
  display: flex;
  gap: 2.2rem;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.connect-icon {
  font-size: 2.3rem;
  color: var(--fg-soft);
  background: var(--card);
  border-radius: 50%;
  width: 3.3rem;
  height: 3.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: 1.5px solid var(--border);
}
.connect-icon:hover {
  color: #fff;
  background: var(--accent);
  transform: translateY(-4px) scale(1.08);
  border-color: var(--accent);
}
.connect-icon[aria-label="Instagram"]:hover { background: #e1306c; }
.connect-icon[aria-label="GitHub"]:hover { background: #24292e; }
.connect-icon[aria-label="LinkedIn"]:hover { background: #0077b5; }
.connect-icon[aria-label="Facebook"]:hover { background: #1877f3; }

@media (max-width: 700px) {
  .connect-links {
    gap: 1.2rem;
  }
  .connect-icon {
    font-size: 1.7rem;
    width: 2.3rem;
    height: 2.3rem;
  }
} 