/*! Netflix-Inspired Android Developer Portfolio */

/* ==========================================================================
   Netflix-Style CSS Variables
   ========================================================================== */

:root {
  /* Netflix Brand Colors */
  --netflix-red: #E50914;
  --netflix-red-dark: #B20710;
  --netflix-red-light: #FF1E2D;

  /* Netflix Grays */
  --netflix-black: #000000;
  --netflix-dark: #141414;
  --netflix-gray-dark: #221f1f;
  --netflix-gray: #333333;
  --netflix-gray-light: #555555;
  --netflix-gray-lighter: #808080;
  --netflix-white: #FFFFFF;

  /* Semantic Colors */
  --background-primary: var(--netflix-black);
  --background-secondary: var(--netflix-dark);
  --background-tertiary: var(--netflix-gray-dark);
  --surface-primary: var(--netflix-dark);
  --surface-elevated: var(--netflix-gray-dark);

  --text-primary: var(--netflix-white);
  --text-secondary: #B3B3B3;
  --text-tertiary: var(--netflix-gray-lighter);
  --text-accent: var(--netflix-red);

  --border-primary: var(--netflix-gray);
  --border-secondary: var(--netflix-gray-light);

  /* Netflix Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.7);
  --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.8);
  --shadow-netflix: 0 8px 24px rgba(229, 9, 20, 0.3);


  /* Typography - Netflix uses Helvetica Neue but we'll use Inter/Roboto */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-xs: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0.0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Netflix-style Gradients */
  --gradient-netflix: linear-gradient(135deg, var(--netflix-red) 0%, var(--netflix-red-dark) 100%);
  --gradient-overlay: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.8) 50%, rgba(0, 0, 0, 0.9) 100%);

  /* Enhanced Hero Gradients - Modern Complementary Palette */
  /* Primary: Netflix Red (Accent) */
  --accent-red: #E50914;
  --accent-red-light: #FF1E2D;
  --accent-red-dark: #B20710;

  /* Complementary: Deep Purple/Violet (Luxury & Tech) */
  --accent-purple: #7C3AED;
  --accent-purple-light: #A78BFA;
  --accent-purple-dark: #5B21B6;

  /* Analogous: Vibrant Orange (Energy & Warmth) */
  --accent-orange: #F97316;
  --accent-orange-light: #FB923C;
  --accent-orange-dark: #EA580C;

  /* Triadic: Cyan/Teal (Tech & Modern) */
  --accent-cyan: #06B6D4;
  --accent-cyan-light: #22D3EE;
  --accent-cyan-dark: #0891B2;

  /* Application-specific gradients */
  --healthcare-gradient: linear-gradient(135deg, #E50914 0%, #7C3AED 100%);
  --healthcare-glow: 0 0 20px rgba(124, 58, 237, 0.4);
  --education-gradient: linear-gradient(135deg, #F97316 0%, #E50914 100%);
  --education-glow: 0 0 20px rgba(249, 115, 22, 0.4);
  --performance-gradient: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
  --performance-glow: 0 0 20px rgba(6, 182, 212, 0.4);
  --healthcare-accent-color: #7C3AED;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text Selection */
::selection {
  background: var(--netflix-red);
  color: var(--netflix-white);
  text-shadow: none;
}

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

::-webkit-scrollbar-track {
  background: var(--netflix-dark);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--netflix-red-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--netflix-red-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Netflix-Style Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-netflix {
  background: linear-gradient(135deg, #E50914 0%, #B20710 100%);
  color: var(--netflix-white);
  box-shadow:
    0 4px 15px rgba(229, 9, 20, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-netflix::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #FF1E2D, #E50914, #B20710, #E50914);
  background-size: 400% 400%;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: gradient-rotate 8s ease infinite;
}

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

.btn-netflix:hover::before {
  opacity: 1;
}

.btn-netflix:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(229, 9, 20, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 2px;
  background: linear-gradient(135deg, #7C3AED, #06B6D4, #F97316, #E50914, #7C3AED);
  background-size: 300% 300%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-flow 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow:
    0 10px 30px rgba(124, 58, 237, 0.3),
    0 5px 15px rgba(6, 182, 212, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
}

/* ==========================================================================
   Navigation - Modern Glassmorphism Redesign
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-smooth);
  padding: 1rem 0;
  transform: translateY(0);
  will-change: transform;
  /* Ensure navbar doesn't create layout shifts */
  pointer-events: auto;
}

/* ===== Auto-Hide Navbar States ===== */
.navbar-hidden {
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.6, 1),
              opacity 0.3s ease-out;
  opacity: 0;
  /* Disable pointer events when hidden to prevent interaction */
  pointer-events: none;
}

.navbar-visible {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease-in,
              box-shadow 0.3s ease;
  opacity: 1;
  pointer-events: auto;
  /* Remove animation to prevent overlap on scroll back to top */
  animation: none;
}

@keyframes navbar-slide-down {
  0% {
    transform: translateY(-100%) scale(0.98);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Enhanced navbar shadow when appearing - macOS style */
.navbar-visible .nav-background-blur {
  box-shadow:
    0 0.5px 0 0 rgba(255, 255, 255, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.15);
  animation: navbar-fade-in 0.5s ease-out;
}

@keyframes navbar-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* macOS-style frosted glass navbar */
.nav-background-blur {
  position: absolute;
  inset: 0;
  /* Ultra-translucent background for true glass effect */
  background: rgba(20, 20, 20, 0.45);
  /* Heavy backdrop blur for authentic macOS frosted glass */
  backdrop-filter: blur(30px) saturate(160%) brightness(1.1);
  -webkit-backdrop-filter: blur(30px) saturate(160%) brightness(1.1);
  /* Minimal border for clean macOS aesthetic */
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
  /* Smooth transitions */
  transition: all var(--transition-smooth),
              backdrop-filter 0.4s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  /* Subtle top highlight for glass effect */
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.04),
    0 0.5px 0 0 rgba(255, 255, 255, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.12);
}

.navbar.scrolled .nav-background-blur {
  /* Slightly less transparent when scrolled for better readability */
  background: rgba(25, 25, 25, 0.55);
  /* Enhanced blur when scrolled */
  backdrop-filter: blur(35px) saturate(170%) brightness(1.15);
  -webkit-backdrop-filter: blur(35px) saturate(170%) brightness(1.15);
  /* Minimal border, no red accent for clean macOS look */
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  /* Subtle shadow for depth */
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
    0 0.5px 0 0 rgba(255, 255, 255, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.18);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

/* ===== Logo Section with Badge ===== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

/* Logo animation when navbar appears */
.navbar-visible .nav-logo {
  animation: logo-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes logo-bounce {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.8) rotate(-10deg);
  }
  50% {
    transform: translateY(5px) scale(1.05) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.nav-logo-badge {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E50914 0%, #B20710 100%);
  border-radius: 12px;
  box-shadow:
    0 4px 12px rgba(229, 9, 20, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all var(--transition-smooth);
}

.nav-logo-badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #E50914, #FF1E2D, #E50914);
  background-size: 300% 300%;
  border-radius: 14px;
  opacity: 0;
  z-index: -1;
  animation: gradient-shift 3s ease infinite;
  transition: opacity var(--transition-smooth);
}

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

.nav-logo:hover .nav-logo-badge::before {
  opacity: 1;
}

.nav-logo-badge i {
  font-size: 1.5rem;
  color: var(--netflix-white);
  transition: all var(--transition-smooth);
}

.nav-logo:hover .nav-logo-badge {
  transform: translateY(-2px) rotate(-5deg);
  box-shadow:
    0 8px 20px rgba(229, 9, 20, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.nav-logo-name {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  background: linear-gradient(135deg, #FFFFFF 0%, #E0E0E0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo-subtitle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.subtitle-dot {
  width: 6px;
  height: 6px;
  background: var(--netflix-red);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0);
  }
}

/* ===== Navigation Menu with Modern Pills ===== */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

/* Micro-animation for nav items when navbar appears */
.navbar-visible .nav-item {
  animation: nav-item-appear 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.navbar-visible .nav-item:nth-child(1) { animation-delay: 0.05s; }
.navbar-visible .nav-item:nth-child(2) { animation-delay: 0.1s; }
.navbar-visible .nav-item:nth-child(3) { animation-delay: 0.15s; }
.navbar-visible .nav-item:nth-child(4) { animation-delay: 0.2s; }
.navbar-visible .nav-item:nth-child(5) { animation-delay: 0.25s; }

@keyframes nav-item-appear {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Subtle fade for nav items when hiding */
.navbar-hidden .nav-item {
  animation: nav-item-disappear 0.3s ease-out forwards;
}

@keyframes nav-item-disappear {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-5px);
  }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  text-transform: capitalize;
  letter-spacing: 0.3px;
  position: relative;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-smooth);
  overflow: hidden;
  /* Subtle text shadow for readability on glass background */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.15), rgba(178, 7, 16, 0.15));
  opacity: 0;
  transition: opacity var(--transition-smooth);
  border-radius: 12px;
}

.link-icon {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  opacity: 0.7;
  transition: all var(--transition-smooth);
}

.link-text {
  position: relative;
  z-index: 1;
}

.nav-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover .link-icon {
  opacity: 1;
  transform: scale(1.1);
}

.nav-link.active {
  background: rgba(229, 9, 20, 0.12);
  border-color: rgba(229, 9, 20, 0.3);
  color: var(--netflix-white);
  box-shadow:
    0 4px 12px rgba(229, 9, 20, 0.25),
    0 0 0 1px rgba(229, 9, 20, 0.2) inset;
}

.nav-link.active .link-icon {
  opacity: 1;
  color: var(--netflix-red);
}

/* ===== CTA Link (Contact Button) ===== */
.nav-link-cta {
  background: linear-gradient(135deg, #E50914 0%, #B20710 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--netflix-white);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.nav-link-cta::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
}

.cta-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.nav-link-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 10px 25px rgba(229, 9, 20, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-link-cta:hover .cta-shine {
  left: 100%;
}

.nav-link-cta .link-icon {
  opacity: 1;
}

/* ===== Mobile Menu Toggle ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-smooth);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(229, 9, 20, 0.3);
}

.nav-toggle .bar {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.nav-toggle:hover .bar {
  background: var(--netflix-red);
}

/* Footer link style fix */
.footer-text a {
  color: var(--netflix-red);
  text-decoration: underline;
}

/* ==========================================================================
   Hero Section - Netflix Banner Style
   ========================================================================== */

/* ============================================
   HERO SECTION - MODERN REDESIGN WITH MICRO-ANIMATIONS
   ============================================ */

.hero {
  min-height: 100vh;
  background: #000000;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Increased padding to account for navbar height (approx 80px) plus extra spacing */
  padding-top: 160px;
  /* Ensure hero content doesn't get overlapped by navbar */
  isolation: isolate;
}

/* Animated Background Orbs */
.hero-bg-animated {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(229, 9, 20, 0.15) 50%, transparent 70%);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(124, 58, 237, 0.15) 50%, transparent 70%);
  top: 50%;
  right: -150px;
  animation-delay: 5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(229, 9, 20, 0.15) 50%, transparent 70%);
  bottom: -100px;
  left: 30%;
  animation-delay: 10s;
}

@keyframes float-orb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  75% {
    transform: translate(20px, -10px) scale(1.05);
  }
}

/* Grid Pattern Overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
  z-index: 1;
  pointer-events: none;
}

/* Animated Mesh Pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(124, 58, 237, 0.03) 40px,
      rgba(124, 58, 237, 0.03) 41px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(6, 182, 212, 0.03) 40px,
      rgba(6, 182, 212, 0.03) 41px
    );
  animation: mesh-flow 20s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes mesh-flow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-text {
  color: var(--text-primary);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Badge with Animations */
.hero-badge-wrapper {
  margin-bottom: var(--spacing-lg);
  animation: float-badge 3s ease-in-out infinite;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 30, 35, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  overflow: visible;
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2));
  background-size: 300% 100%;
  border-radius: 50px;
  z-index: -1;
  animation: border-animate 4s linear infinite;
}

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

.badge-icon {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.badge-text {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.95) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 4s ease-in-out infinite;
}

@keyframes text-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.badge-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  border-radius: 50px;
  z-index: -2;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Hero Title */
.hero-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  margin-bottom: var(--spacing-lg);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

/* Animated Name with Letter Stagger */
.hero-name {
  display: block;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.name-letter {
  display: inline-block;
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.85) 50%, #FFFFFF 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 10s ease infinite, letter-bounce 0.6s ease-out;
  transform-origin: center bottom;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.name-letter.space {
  width: 0.3em;
}

/* Stagger animation for each letter */
.name-letter:nth-child(1) { animation-delay: 0s, 0.1s; }
.name-letter:nth-child(2) { animation-delay: 0.1s, 0.15s; }
.name-letter:nth-child(3) { animation-delay: 0.2s, 0.2s; }
.name-letter:nth-child(4) { animation-delay: 0.3s, 0.25s; }
.name-letter:nth-child(5) { animation-delay: 0.4s, 0.3s; }
.name-letter:nth-child(6) { animation-delay: 0.5s, 0.35s; }
.name-letter:nth-child(7) { animation-delay: 0.6s, 0.4s; }
.name-letter:nth-child(8) { animation-delay: 0.7s, 0.45s; }
.name-letter:nth-child(9) { animation-delay: 0.8s, 0.5s; }
.name-letter:nth-child(10) { animation-delay: 0.9s, 0.55s; }
.name-letter:nth-child(11) { animation-delay: 1s, 0.6s; }
.name-letter:nth-child(12) { animation-delay: 1.1s, 0.65s; }

@keyframes letter-bounce {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  50% {
    transform: translateY(-10px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Typing Animation Tagline */
.hero-tagline {
  display: block;
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.4;
  min-height: 1.5em;
}

.typing-text {
  display: inline-block;
}

.typing-cursor {
  display: inline-block;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: cursor-blink 1s step-end infinite;
  margin-left: 2px;
}

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

.hero-description {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.7;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin-bottom: var(--spacing-xl);
}

/* Hero Buttons with Animations */
.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
  justify-content: center;
}

.btn-animated {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-animated .btn-icon {
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.btn-animated:hover .btn-icon {
  transform: translateX(5px);
}

.btn-animated .btn-text {
  position: relative;
  z-index: 2;
}

/* Netflix Button Glow */
.btn-netflix .btn-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s ease;
}

.btn-netflix:hover .btn-glow {
  opacity: 1;
  transform: scale(1.5);
}

/* Secondary Button Particles */
.btn-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.6s ease;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
}

.particle:nth-child(1) {
  top: 20%;
  left: 20%;
}

.particle:nth-child(2) {
  top: 50%;
  left: 80%;
}

.particle:nth-child(3) {
  bottom: 20%;
  left: 50%;
}

.btn-secondary:hover .particle {
  opacity: 1;
  animation: particle-float 1.5s ease-out infinite;
}

.btn-secondary:hover .particle:nth-child(1) {
  animation-delay: 0s;
}

.btn-secondary:hover .particle:nth-child(2) {
  animation-delay: 0.3s;
}

.btn-secondary:hover .particle:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes particle-float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-30px) scale(0);
    opacity: 0;
  }
}

/* Hero Stats with Enhanced Animations */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  width: 100%;
  max-width: 900px;
}

.hero-stats .stat {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-stats .stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #E50914, #7C3AED, transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.hero-stats .stat[data-stat="downloads"]::before {
  background: linear-gradient(90deg, transparent, #F97316, #06B6D4, transparent);
}

.hero-stats .stat[data-stat="performance"]::before {
  background: linear-gradient(90deg, transparent, #06B6D4, #7C3AED, transparent);
}

/* Icon Wrapper with Ring Animation */
.stat-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-wrapper i {
  font-size: 28px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.icon-ring {
  position: absolute;
  inset: -8px;
  border: 2px solid;
  border-image: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(6, 182, 212, 0.5)) 1;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.hero-stats .stat:hover .icon-ring {
  opacity: 1;
  transform: scale(1);
  animation: ring-pulse 1.5s ease-out infinite;
}

@keyframes ring-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Stat Bar Animation */
.stat-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #7C3AED, #E50914, #06B6D4, #F97316);
  transition: width 0.6s ease;
}

.hero-stats .stat:hover .stat-bar {
  width: 100%;
}

/* Hover Effects */
.hero-stats .stat:hover {
  transform: translateY(-12px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(124, 58, 237, 0.4),
    0 0 50px rgba(6, 182, 212, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.hero-stats .stat:hover::before {
  transform: scaleX(1);
}

.hero-stats .stat:hover .stat-icon-wrapper i {
  transform: scale(1.2) rotateY(360deg);
}

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #FFFFFF 0%, #A78BFA 50%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.hero-stats .stat:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.3;
  font-weight: 600;
  transition: color 0.3s ease;
}

.hero-stats .stat:hover .stat-label {
  color: rgba(255, 255, 255, 0.9);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Phone Mockup - Netflix Style */
.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border: 2px solid var(--border-primary);
  border-radius: 30px;
  padding: 16px;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: float-simple 6s ease-in-out infinite;
}


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


.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--netflix-black);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-primary);
}


.app-demo {
  background: linear-gradient(135deg, var(--netflix-red) 0%, var(--netflix-red-dark) 100%);
  height: 100%;
  padding: 20px;
  color: white;
  position: relative;
}

.app-demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  pointer-events: none;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.status-icons {
  display: flex;
  gap: 5px;
}

.app-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 900;
}

.app-content p {
  opacity: 0.9;
  margin-bottom: 30px;
}

.app-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.app-card {
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  animation: pulse 2s ease-in-out infinite;
}

.app-card:nth-child(2) {
  animation-delay: 0.3s;
}

.app-card:nth-child(3) {
  animation-delay: 0.6s;
}

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

/* Enhanced Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: bounce-gentle 2s ease-in-out infinite;
  z-index: 10;
}

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

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: linear-gradient(180deg, #7C3AED, #06B6D4);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

.scroll-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-arrow-animated {
  display: flex;
  flex-direction: column;
  gap: -8px;
}

.scroll-arrow-animated i {
  color: rgba(229, 9, 20, 0.6);
  font-size: 12px;
  animation: arrow-cascade 1.5s ease-in-out infinite;
}

.scroll-arrow-animated i:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-arrow-animated i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrow-cascade {
  0%, 100% { opacity: 0; transform: translateY(-5px); }
  50% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   AOS-LIKE ANIMATIONS FOR HERO ELEMENTS
   ============================================ */

[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-down"] {
  transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

/* Delay classes */
[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos-delay="400"] {
  transition-delay: 0.4s;
}

[data-aos-delay="500"] {
  transition-delay: 0.5s;
}

[data-aos-delay="600"] {
  transition-delay: 0.6s;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
  padding: var(--spacing-3xl) 0;
  background: var(--background-secondary);
  margin-top: var(--spacing-xl); /* Better section separation */
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.about-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
  color: var(--text-secondary);
}

.about-highlights {
  display: grid;
  gap: var(--spacing-lg);
}

.highlight-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-smooth);
}

.highlight-item:hover {
  background: rgba(229, 9, 20, 0.05);
  border-color: rgba(229, 9, 20, 0.3);
  transform: translateY(-2px);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-netflix);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--netflix-white);
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.highlight-content h4 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
  font-weight: 700;
}

.highlight-content p {
  color: var(--text-secondary);
  margin: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--netflix-red);
  box-shadow: var(--shadow-netflix);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--netflix-red);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   About Section - Modern Redesign
   ========================================================================== */

.about-redesign {
  position: relative;
  padding: 80px 0;
  background: var(--background-primary);
  overflow: hidden;
  margin-top: 0;
}

/* Animated Background Grid */
.about-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229, 9, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 9, 20, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  animation: grid-flow 20s linear infinite;
}

@keyframes grid-flow {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Gradient Orbs */
.about-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float-orb 8s ease-in-out infinite;
  pointer-events: none;
}

.about-gradient-orb.orb-purple {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.about-gradient-orb.orb-red {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #E50914 0%, transparent 70%);
  bottom: 10%;
  right: 10%;
  animation-delay: 2s;
}

@keyframes float-orb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

/* Section Header */
.section-header-about {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 50px;
  color: var(--netflix-red);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.section-badge:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.5);
  transform: translateY(-2px);
}

.section-badge i {
  font-size: 1.1rem;
}

.section-title-about {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-title-about .title-line {
  display: block;
  color: var(--text-primary);
}

.gradient-text-about {
  background: linear-gradient(135deg, #E50914 0%, #FF1E2D 50%, #E50914 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

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

.section-subtitle-about {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

/* Glass Card Base */
.glass-card-about {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* Profile Card */
.about-profile-card {
  height: fit-content;
  position: sticky;
  top: 100px;
}

.about-profile-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(229, 9, 20, 0.1);
}

.profile-card-header {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}

/* Avatar with Animation */
.profile-avatar {
  position: relative;
  flex-shrink: 0;
}

.avatar-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E50914 0%, #7C3AED 100%);
  padding: 3px;
  position: relative;
  animation: rotate-ring 4s linear infinite;
}

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

.avatar-content {
  position: absolute;
  inset: 3px;
  background: var(--background-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--netflix-red);
}

/* Status Indicator */
.status-indicator-about {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
}

.status-pulse-about {
  position: absolute;
  inset: 0;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.status-dot-about {
  position: absolute;
  inset: 4px;
  background: #10B981;
  border: 3px solid var(--background-secondary);
  border-radius: 50%;
}

/* Profile Title */
.profile-title h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

.profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(229, 9, 20, 0.1);
  color: var(--netflix-red);
  border: 1px solid rgba(229, 9, 20, 0.3);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(229, 9, 20, 0.2);
  transform: translateY(-2px);
}

.tag-android {
  background: rgba(124, 58, 237, 0.1);
  color: #7C3AED;
  border-color: rgba(124, 58, 237, 0.3);
}

.tag-flutter {
  background: rgba(6, 182, 212, 0.1);
  color: #06B6D4;
  border-color: rgba(6, 182, 212, 0.3);
}

.tag-kotlin {
  background: rgba(249, 115, 22, 0.1);
  color: #F97316;
  border-color: rgba(249, 115, 22, 0.3);
}

/* Profile Content */
.profile-card-content {
  margin-bottom: 32px;
}

.profile-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.profile-description-highlight {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-weight: 600;
  padding: 16px;
  background: rgba(229, 9, 20, 0.05);
  border-left: 3px solid var(--netflix-red);
  border-radius: 8px;
  margin: 0;
}

/* Quick Stats */
.profile-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.quick-stat:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.stat-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  transition: transform 0.3s ease;
}

.quick-stat:hover .stat-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.healthcare-stat {
  background: linear-gradient(135deg, #E50914 0%, #7C3AED 100%);
}

.education-stat {
  background: linear-gradient(135deg, #F97316 0%, #E50914 100%);
}

.performance-stat {
  background: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
}

.stat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Expertise Cards */
.expertise-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 240px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(229, 9, 20, 0.15);
}

/* Card Shine Effect */
.card-shine {
  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;
}

.expertise-card:hover .card-shine {
  left: 100%;
}

/* Themed Cards */
.healthcare-themed-card:hover {
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(124, 58, 237, 0.2);
}

.education-themed-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(249, 115, 22, 0.2);
}

.performance-themed-card:hover {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(6, 182, 212, 0.2);
}

.tech-stack-card:hover {
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(229, 9, 20, 0.15);
}

/* Expertise Icon */
.expertise-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  position: relative;
  transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
}

/* Icon Glow Effect */
.icon-glow {
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(20px);
}

.expertise-card:hover .icon-glow {
  opacity: 0.6;
}

.healthcare-expertise {
  background: linear-gradient(135deg, #E50914 0%, #7C3AED 100%);
}

.healthcare-glow-effect {
  background: linear-gradient(135deg, #E50914 0%, #7C3AED 100%);
}

.education-expertise {
  background: linear-gradient(135deg, #F97316 0%, #E50914 100%);
}

.education-glow-effect {
  background: linear-gradient(135deg, #F97316 0%, #E50914 100%);
}

.performance-expertise {
  background: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
}

.performance-glow-effect {
  background: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
}

.tech-stack-icon {
  background: linear-gradient(135deg, #E50914 0%, #FF1E2D 100%);
}

.tech-stack-glow {
  background: linear-gradient(135deg, #E50914 0%, #FF1E2D 100%);
}

/* Expertise Content */
.expertise-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expertise-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.expertise-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

/* Expertise Tech List */
.expertise-tech-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-item {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(229, 9, 20, 0.1);
  border-color: rgba(229, 9, 20, 0.3);
  color: var(--netflix-red);
  transform: translateY(-2px);
}

/* Expertise Metrics */
.expertise-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.metric-item:hover {
  background: rgba(229, 9, 20, 0.1);
  transform: translateY(-3px);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--netflix-red);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Tech Stack Grid */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.tech-stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
}

.tech-stack-item:hover {
  background: rgba(229, 9, 20, 0.1);
  border-color: rgba(229, 9, 20, 0.3);
  transform: translateY(-5px);
}

.tech-stack-item i {
  font-size: 1.5rem;
  color: var(--netflix-red);
  transition: transform 0.3s ease;
}

.tech-stack-item:hover i {
  transform: scale(1.2) rotate(5deg);
}

.tech-stack-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Achievement Timeline */
.achievement-timeline {
  position: relative;
  z-index: 1;
  padding: 60px 0 0;
}

.timeline-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 60px;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  padding-left: 60px;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(229, 9, 20, 0.5) 0%,
    rgba(124, 58, 237, 0.5) 50%,
    rgba(6, 182, 212, 0.5) 100%);
}

.timeline-item {
  display: flex;
  gap: 30px;
  position: relative;
}

/* Timeline Marker */
.timeline-marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
  position: absolute;
  left: -60px;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.2) rotate(360deg);
}

.healthcare-marker {
  background: linear-gradient(135deg, #E50914 0%, #7C3AED 100%);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.education-marker {
  background: linear-gradient(135deg, #F97316 0%, #E50914 100%);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.performance-marker {
  background: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* Timeline Content */
.timeline-content {
  flex: 1;
  padding: 24px 28px;
  transition: all 0.4s ease;
}

.timeline-content:hover {
  transform: translateX(10px);
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(229, 9, 20, 0.1);
}

.timeline-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--netflix-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.timeline-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-profile-card {
    position: relative;
    top: 0;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .timeline-items {
    padding-left: 50px;
  }

  .timeline-marker {
    left: -50px;
  }
}

@media (max-width: 768px) {
  .about-redesign {
    padding: 60px 0;
  }

  .section-header-about {
    margin-bottom: 2.5rem;
  }

  .section-title-about {
    font-size: 2.5rem;
  }

  .about-grid {
    gap: 30px;
  }

  .profile-card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-quick-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .expertise-grid {
    gap: 20px;
  }

  .tech-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-items {
    padding-left: 40px;
  }

  .timeline-marker {
    left: -40px;
    width: 36px;
    height: 36px;
  }

  .timeline-items::before {
    left: 18px;
  }
}

@media (max-width: 480px) {
  .about-redesign {
    padding: 50px 0;
  }

  .section-title-about {
    font-size: 2rem;
  }

  .glass-card-about {
    padding: 24px;
  }

  .profile-tags {
    justify-content: center;
  }

  .expertise-metrics {
    grid-template-columns: 1fr;
  }

  .tech-stack-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Projects Section - Netflix Rows Style
   ========================================================================== */

.projects {
  padding: var(--spacing-3xl) 0;
  background: var(--background-primary);
  margin-top: var(--spacing-xl); /* Better section separation */
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
}

.projects-row {
  width: 100%;
}

.row-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  overflow-x: auto;
  padding-bottom: var(--spacing-sm);
}

.project-card {
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-primary);
}


.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--netflix-red);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, var(--netflix-red) 0%, var(--netflix-red-dark) 100%);
  position: relative;
  overflow: hidden;
}

.project-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.7)
  );

  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-smooth);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.project-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  background-size: 200% 100%;
  opacity: 0.3;
}


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

.project-info {
  text-align: center;
  color: var(--netflix-white);
}

.project-info h4 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
}

.project-info p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.project-links {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
}

.project-link {
  width: 40px;
  height: 40px;
  background:
    rgba(255, 255, 255, 0.05),
    var(--netflix-red);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--netflix-white);
  font-size: 1rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.project-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  background-size: 200% 100%;
  opacity: 0;
  transition: all var(--transition-smooth);
  border-radius: 50%;
}


.project-link:hover {
  background:
    rgba(255, 255, 255, 0.05),
    var(--netflix-red-light);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.15) translateY(-2px);
  box-shadow: var(--shadow-md);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.project-link:hover::before {
  opacity: 0.6;
  animation-duration: 1.5s;
}

.project-link > * {
  position: relative;
  z-index: 2;
}

.project-content {
  padding: var(--spacing-lg);
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  font-weight: 700;
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.tech-tag {
  padding: 4px 12px;
  background: rgba(229, 9, 20, 0.2);
  color: var(--netflix-red);
  border: 1px solid var(--netflix-red);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  background: var(--netflix-red);
  color: var(--netflix-white);
  transform: translateY(-1px);
}

/* ==========================================================================
   Legacy Enterprise Styles - Cleaned Up
   ========================================================================== */

/* Note: Enterprise styles have been replaced with timeline card design */

/* ==========================================================================
   Skills Section - Netflix Badge Style
   ========================================================================== */

.skills {
  padding: var(--spacing-3xl) 0;
  background: var(--background-secondary);
  margin-top: var(--spacing-xl); /* Better section separation */
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-badge {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}


.skill-badge:hover {
  background: var(--gradient-netflix);
  color: var(--netflix-white);
  border-color: var(--netflix-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Contact Section - Netflix Premium Style
   ========================================================================== */

.contact {
  padding: var(--spacing-3xl) 0;
  background: var(--background-primary);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  margin-top: var(--spacing-xl); /* Better section separation */
}

.contact-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.9) 50%, rgba(0, 0, 0, 0.95) 100%),
    radial-gradient(circle at 30% 20%, rgba(229, 9, 20, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(229, 9, 20, 0.1) 0%, transparent 50%);
}

.contact-cinematic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(255, 255, 255, 0.02) 1px,
      rgba(255, 255, 255, 0.02) 2px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(255, 255, 255, 0.01) 1px,
      rgba(255, 255, 255, 0.01) 2px
    );
  opacity: 0.3;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-badge {
  display: inline-block;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid var(--netflix-red);
  color: var(--netflix-red);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-md);
  animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from {
    box-shadow: 0 0 5px rgba(229, 9, 20, 0.3);
  }
  to {
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.6), 0 0 30px rgba(229, 9, 20, 0.3);
  }
}

.contact .section-title {
  color: var(--text-primary);
}

.contact .section-subtitle {
  color: var(--text-secondary);
  max-width: 800px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-3xl);
  align-items: start;
  margin-top: var(--spacing-2xl);
}

/* Contact Info Premium Styles */
.contact-info-premium {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.contact-hero-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.contact-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-netflix);
}

.contact-hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.contact-hero-subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.contact-stats-mini {
  display: flex;
  gap: var(--spacing-lg);
}

.mini-stat {
  text-align: center;
}

.mini-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--netflix-red);
  margin-bottom: 4px;
}

.mini-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item-premium {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.contact-item-premium::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-netflix);
  transform: scaleY(0);
  transition: transform var(--transition-smooth);
}

.contact-item-premium:hover {
  background: rgba(229, 9, 20, 0.05);
  border-color: rgba(229, 9, 20, 0.3);
  transform: translateX(8px);
}

.contact-item-premium:hover::before {
  transform: scaleY(1);
}

.contact-icon-premium {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--netflix-red);
  position: relative;
  flex-shrink: 0;
}

.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.contact-text-premium {
  flex: 1;
}

.contact-text-premium h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-weight: 700;
}

.contact-text-premium p {
  color: var(--text-secondary);
  margin: 0 0 4px 0;
  font-weight: 500;
}

.contact-availability {
  font-size: 0.8rem;
  color: var(--netflix-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.contact-action {
  flex-shrink: 0;
}

.contact-btn-mini {
  width: 40px;
  height: 40px;
  background: var(--gradient-netflix);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--netflix-white);
  font-size: 1rem;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.contact-btn-mini:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-netflix);
  color: var(--netflix-white);
}

/* Social Connect */
.social-connect {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
}

.social-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-links-premium {
  display: flex;
  gap: var(--spacing-md);
}

.social-link-premium {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: all var(--transition-smooth);
  position: relative;
  text-decoration: none;
}

.social-link-premium:hover {
  background: var(--gradient-netflix);
  border-color: var(--netflix-red);
  transform: translateY(-3px);
  color: var(--netflix-white);
  box-shadow: var(--shadow-netflix);
}

.social-tooltip {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: var(--netflix-white);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.social-link-premium:hover .social-tooltip {
  opacity: 1;
}

/* Contact Form Premium */
.contact-form-container {
  position: relative;
}

.form-header {
  margin-bottom: var(--spacing-xl);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  text-transform: none;
  letter-spacing: 0;
}

.form-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 400;
}

.contact-form-premium {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.contact-form-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(229, 9, 20, 0.3), rgba(229, 9, 20, 0.1));
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.form-group-premium {
  position: relative;
}

.form-group-premium.full-width {
  grid-column: 1 / -1;
}

.form-group-premium input,
.form-group-premium textarea,
.form-group-premium select {
  width: 100%;
  padding: 18px 16px 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-smooth);
  outline: none;
}

.form-group-premium input:focus,
.form-group-premium textarea:focus,
.form-group-premium select:focus {
  background: rgba(255, 255, 255, 0.08);
}

.form-group-premium label {
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--netflix-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-smooth);
  pointer-events: none;
}

.form-group-premium input:not(:placeholder-shown) + label,
.form-group-premium textarea:not(:placeholder-shown) + label,
.form-group-premium select:not([value=""]) + label {
  opacity: 1;
}

.form-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-netflix);
  transition: width var(--transition-smooth);
}

.form-group-premium input:focus ~ .form-border,
.form-group-premium textarea:focus ~ .form-border,
.form-group-premium select:focus ~ .form-border {
  width: 100%;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.btn-submit-premium {
  background: var(--gradient-netflix);
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 40px;
  color: var(--netflix-white);
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.btn-submit-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-icon {
  position: relative;
  z-index: 2;
  transition: transform var(--transition-smooth);
}

.btn-submit-premium:hover .btn-icon {
  transform: translateX(4px);
}

.btn-glow {
  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.6s;
}

.btn-submit-premium:hover .btn-glow {
  left: 100%;
}

.form-note {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--netflix-black);
  color: var(--text-primary);
  padding: var(--spacing-lg) 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--netflix-red);
}


body {
  position: relative;
  overflow-x: hidden;
}



/* ==========================================================================
   Responsive Design - Mobile First
   ========================================================================== */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .hero-content {
    padding: 0 var(--spacing-md);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  /* Timeline cards now use project card responsive design */

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .navbar {
    padding: 0.75rem 0;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-logo-badge {
    width: 42px;
    height: 42px;
  }

  .nav-logo-badge i {
    font-size: 1.25rem;
  }

  .nav-logo-name {
    font-size: 1rem;
  }

  .nav-logo-subtitle {
    font-size: 0.7rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    /* macOS-style glass for mobile menu */
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(40px) saturate(160%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(160%) brightness(1.1);
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    padding: 6rem 2rem 2rem;
    gap: 0.75rem;
    justify-content: flex-start;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 16px;
  }

  .nav-link-cta {
    margin-top: 1rem;
    background: linear-gradient(135deg, #E50914 0%, #B20710 100%);
    box-shadow:
      0 8px 20px rgba(229, 9, 20, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  }

  .link-icon {
    font-size: 1.125rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active {
    position: fixed;
    right: 1rem;
    top: 1rem;
    background: rgba(229, 9, 20, 0.15);
    border-color: rgba(229, 9, 20, 0.4);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background: var(--netflix-red);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background: var(--netflix-red);
  }

  /* Mobile-specific auto-hide adjustments */
  .navbar-hidden {
    transform: translateY(-100%);
  }

  .navbar-visible {
    transform: translateY(0);
  }

  /* Disable nav item stagger animation on mobile for better performance */
  .navbar-visible .nav-item {
    animation: none;
  }

  /* Keep logo animation but make it faster */
  .navbar-visible .nav-logo {
    animation: logo-bounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* Mobile hero adjustments to prevent navbar overlap */
  .hero {
    padding-top: 140px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 8px 16px;
  }

  .badge-icon {
    font-size: 0.75rem;
  }

  .hero-gradient-orb {
    filter: blur(60px);
  }

  .orb-1 {
    width: 400px;
    height: 400px;
  }

  .orb-2 {
    width: 350px;
    height: 350px;
  }

  .orb-3 {
    width: 300px;
    height: 300px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }

  .hero-stats .stat {
    padding: 20px 16px;
  }

  .stat-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .stat-icon-wrapper i {
    font-size: 24px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .scroll-mouse {
    width: 20px;
    height: 36px;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline cards inherit project card mobile styles */

  .form-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .contact-stats-mini {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .social-links-premium {
    justify-content: center;
  }

  .skills-grid {
    gap: var(--spacing-sm);
  }

  .skill-badge {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .footer-content {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .section-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .phone-mockup {
    width: 180px;
    height: 360px;
  }

  .projects-container {
    gap: var(--spacing-xl);
  }
}

/* Focus styles for accessibility */
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--netflix-red);
  outline-offset: 2px;
}

/* 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;
    scroll-behavior: auto !important;
  }
}

/* Animation Classes - Performance Optimized */
.fade-in {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.slide-in-left {
  opacity: 0;
  transform: translate3d(-30px, 0, 0);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.slide-in-right {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scale-in {
  opacity: 0;
  transform: scale3d(0.9, 0.9, 1);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.scale-in.visible {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}

/* ==========================================================================
   Netflix-Style Contact Form (Simplified)
   ========================================================================== */

.contact-form-netflix {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(
    rgba(255, 255, 255, 0.05),
    rgba(20, 20, 20, 0.3)
  );

  border: 1px solid;
  border-image: var(--border-secondary) 1;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-form-netflix::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(229, 9, 20, 0.1);
  background-size: 400% 400%;
  opacity: 0.05;
  border-radius: var(--radius-lg);
}


.form-group-netflix {
  position: relative;
  margin-bottom: var(--spacing-lg);
  z-index: 2;
}

.form-group-netflix input,
.form-group-netflix textarea {
  width: 100%;
  padding: 20px 16px 8px 16px;
  background: rgba(42, 42, 42, 0.8);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 16px;
  transition: all var(--transition-smooth);
  outline: none;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
}


.form-group-netflix input:focus,
.form-group-netflix textarea:focus {
  border-color: var(--netflix-red);
  background: rgba(42, 42, 42, 0.9);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.form-group-netflix label {
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 11px;
  font-weight: 500;
  color: var(--netflix-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.form-group-netflix input:focus + label,
.form-group-netflix textarea:focus + label,
.form-group-netflix input:not(:placeholder-shown) + label,
.form-group-netflix textarea:not(:placeholder-shown) + label {
  opacity: 1;
  transform: translateY(0);
}

.form-group-netflix input::placeholder,
.form-group-netflix textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  transition: opacity 0.2s ease;
}

.form-group-netflix input:focus::placeholder,
.form-group-netflix textarea:focus::placeholder {
  opacity: 0.4;
}

.btn-netflix-form {
  width: 100%;
  background: var(--gradient-netflix);
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: var(--netflix-white);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  box-shadow: var(--shadow-md);
}


.btn-netflix-form:hover {
  background: var(--netflix-red-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-netflix-form:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}

/* Disabled state for submit button */
.btn-netflix-form.disabled,
.btn-netflix-form:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.6;
}

.btn-netflix-form.disabled:hover,
.btn-netflix-form:disabled:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: none;
  box-shadow: none;
}

/* Form validation error styles */
.form-group-netflix.error input,
.form-group-netflix.error textarea {
  border-color: #DC2626;
  background: rgba(220, 38, 38, 0.1);
}

.form-group-netflix.error label {
  color: #DC2626;
}

.error-message {
  display: block;
  color: #DC2626;
  font-size: 0.75rem;
  margin-top: 4px;
  font-weight: 500;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Success state */
.form-group-netflix.success input,
.form-group-netflix.success textarea {
  border-color: #4CAF50;
}


/* Healthcare/Education Theme Enhancements */
.healthcare-accent {
  color: #4CAF50;
}

.education-accent {
  color: #2196F3;
}

/* ==========================================================================
   Enhanced Phone Mockup - Healthcare App Interface
   ========================================================================== */

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 4px;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.app-title i {
  font-size: 18px;
}

.app-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #4CAF50;
  font-weight: 500;
}

.health-metrics {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.metric-card {
  flex: 1;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 8px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.metric-icon {
  color: #4CAF50;
  font-size: 16px;
}

.metric-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.metric-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-unit {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-actions {
  margin-top: 16px;
}

.app-btn {
  width: 100%;
  background: #4CAF50;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.app-btn:hover {
  background: #45a049;
  transform: translateY(-1px);
}

.app-btn i {
  font-size: 14px;
}

/* ==========================================================================
   Enhanced Project Cards - Healthcare/Education/Security Themes
   ========================================================================== */

/* Healthcare Theme */
.healthcare-themed {
  border-left: 4px solid #4CAF50;
}

.healthcare-bg {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
  position: relative;
}

.healthcare-icon-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.healthcare-icon-group .primary-icon {
  color: #4CAF50;
  font-size: 32px;
}

.healthcare-icon-group .secondary-icon {
  color: #66BB6A;
  font-size: 24px;
}

.healthcare-icon-group .tertiary-icon {
  color: #81C784;
  font-size: 18px;
}

.healthcare-badge {
  background: linear-gradient(45deg, #4CAF50, #66BB6A);
  color: white;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.healthcare-link:hover {
  color: #4CAF50 !important;
  background: rgba(76, 175, 80, 0.1) !important;
}

.healthcare-status {
  background: linear-gradient(45deg, #4CAF50, #66BB6A);
}

.healthcare-tech {
  border-color: #4CAF50;
  color: #4CAF50;
}

.healthcare-tech:hover {
  background: #4CAF50;
  color: white;
}

/* Education Theme */
.education-themed {
  border-left: 4px solid #2196F3;
}

.education-bg {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
}

.education-icon-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.education-icon-group .primary-icon {
  color: #2196F3;
  font-size: 32px;
}

.education-icon-group .secondary-icon {
  color: #42A5F5;
  font-size: 24px;
}

.education-icon-group .tertiary-icon {
  color: #64B5F6;
  font-size: 18px;
}

.education-badge {
  background: linear-gradient(45deg, #2196F3, #42A5F5);
  color: white;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.education-link:hover {
  color: #2196F3 !important;
  background: rgba(33, 150, 243, 0.1) !important;
}

.education-status {
  background: linear-gradient(45deg, #2196F3, #42A5F5);
}

.education-tech {
  border-color: #2196F3;
  color: #2196F3;
}

.education-tech:hover {
  background: #2196F3;
  color: white;
}

/* Security Theme */
.security-themed {
  border-left: 4px solid #FF9800;
}

.security-bg {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
}

.security-icon-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.security-icon-group .primary-icon {
  color: #FF9800;
  font-size: 32px;
}

.security-icon-group .secondary-icon {
  color: #FFB74D;
  font-size: 24px;
}

.security-icon-group .tertiary-icon {
  color: #FFCC02;
  font-size: 18px;
}

.security-badge {
  background: linear-gradient(45deg, #FF9800, #FFB74D);
  color: white;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.security-link:hover {
  color: #FF9800 !important;
  background: rgba(255, 152, 0, 0.1) !important;
}

.security-status {
  background: linear-gradient(45deg, #FF9800, #FFB74D);
}

.security-tech {
  border-color: #FF9800;
  color: #FF9800;
}

.security-tech:hover {
  background: #FF9800;
  color: white;
}

/* Common Project Badge Styles */
.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Project Card Elements */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.project-status {
  flex-shrink: 0;
  margin-left: 12px;
}

.status-indicator {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.project-stats {
  display: flex;
  gap: 16px;
  margin: 12px 0;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-stats .stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.project-stats .stat i {
  color: var(--netflix-red);
  font-size: 14px;
}

/* ==========================================================================
   Healthcare/Education Theme Enhancements - Site-wide
   ========================================================================== */

/* Navigation Logo Enhancements - removed duplicate, using modern redesign styles above */

/* Hero Stats with Icons */
.hero-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-stats .stat i {
  font-size: 20px;
  margin-bottom: 4px;
}

/* Themed Highlight Icons */
.healthcare-icon {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
}

.education-icon {
  background: linear-gradient(135deg, #2196F3, #42A5F5);
  color: white;
}

.performance-icon {
  background: linear-gradient(135deg, #FF9800, #FFB74D);
  color: white;
}

.healthcare-icon:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.education-icon:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.performance-icon:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

/* Enhanced Skills Section - Healthcare/Education Focus */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: var(--spacing-lg);
}

.skill-badge {
  position: relative;
  overflow: hidden;
}

.skill-badge.healthcare-skill {
  border-color: #4CAF50;
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.05);
}

.skill-badge.healthcare-skill:hover {
  background: #4CAF50;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.skill-badge.education-skill {
  border-color: #2196F3;
  color: #2196F3;
  background: rgba(33, 150, 243, 0.05);
}

.skill-badge.education-skill:hover {
  background: #2196F3;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

/* ==========================================================================
   Enhanced Skills Section - Categorized Layout
   ========================================================================== */

.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.skills-category {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition-smooth);
}

.skills-category:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-header i {
  font-size: 20px;
  color: var(--netflix-red);
}

.category-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.skills-category .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 0;
}

.skills-category .skill-badge {
  font-size: 0.85rem;
  padding: 8px 12px;
  text-align: center;
}


/* Special styling for first two categories (Healthcare & Education) */
.skills-category:nth-child(1) {
  border-left: 4px solid #4CAF50;
}

.skills-category:nth-child(1) .category-header i {
  color: #4CAF50;
}

.skills-category:nth-child(2) {
  border-left: 4px solid #2196F3;
}

.skills-category:nth-child(2) .category-header i {
  color: #2196F3;
}

.skills-category:nth-child(3) {
  border-left: 4px solid #FF9800;
}

.skills-category:nth-child(3) .category-header i {
  color: #FF9800;
}

.skills-category:nth-child(4) {
  border-left: 4px solid #9C27B0;
}

.skills-category:nth-child(4) .category-header i {
  color: #9C27B0;
}

/* Responsive skills layout */
@media (max-width: 768px) {
  .skills-categories {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .skills-category .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
  }
}

/* ==========================================================================
   Professional Experience - Netflix Style with Hover Effects
   ========================================================================== */

.professional-experience {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.experience-item {
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-secondary);
  border-left: 3px solid transparent;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.experience-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.experience-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--netflix-red);
  border-left-color: var(--netflix-red);
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 20px rgba(229, 9, 20, 0.2);
}

.experience-item:hover::before {
  opacity: 1;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
  gap: var(--spacing-md);
}

.experience-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  transition: color var(--transition-fast);
  position: relative;
  z-index: 1;
}

.experience-item:hover .experience-title {
  color: var(--netflix-red-light);
}

.experience-period {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Enhanced Achievement Items */
.experience-achievements {
  margin-bottom: var(--spacing-md);
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  opacity: 1;
  max-height: 200px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.achievement-item.hidden {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  padding: 0 var(--spacing-sm);
  transform: translateY(-10px);
}

.achievement-item.visible {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
}

.achievement-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-secondary);
}

.achievement-item i {
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.achievement-item:hover i {
  transform: scale(1.1);
}

.achievement-item span {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.achievement-item:hover span {
  color: var(--text-primary);
}

/* Show More/Less Toggle Button */
.experience-toggle {
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
}

.toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-secondary);
  color: var(--text-secondary);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  z-index: 2;
  font-family: var(--font-primary);
}

.toggle-btn:hover {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: var(--netflix-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.toggle-btn:active {
  transform: translateY(0);
}

.toggle-icon {
  font-size: 0.75rem;
  transition: transform var(--transition-smooth);
}

.toggle-btn.expanded .toggle-icon {
  transform: rotate(180deg);
}

/* Experience Highlights */
.experience-highlights {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.highlight {
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-secondary);
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
}

.experience-item:hover .highlight {
  background: rgba(229, 9, 20, 0.1);
  border-color: var(--netflix-red);
  color: var(--netflix-red-light);
  transform: translateY(-1px);
}

/* Themed highlights for different companies */
.healthcare-highlight {
  background: rgba(76, 175, 80, 0.1);
  border-color: rgba(76, 175, 80, 0.3);
  color: #81C784;
}

.education-highlight {
  background: rgba(33, 150, 243, 0.1);
  border-color: rgba(33, 150, 243, 0.3);
  color: #64B5F6;
}

.security-highlight {
  background: rgba(156, 39, 176, 0.1);
  border-color: rgba(156, 39, 176, 0.3);
  color: #BA68C8;
}

/* Responsive */
@media (max-width: 768px) {
  .experience-header {
    flex-direction: column;
    gap: var(--spacing-xs);
  }

  .experience-title {
    font-size: 1rem;
  }

  .experience-period {
    font-size: 0.85rem;
  }

  .achievement-item {
    padding: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
  }

  .achievement-item span {
    font-size: 0.85rem;
  }

  .toggle-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.8rem;
  }

  /* Reduce hover scale on mobile for better UX */
  .experience-item:hover {
    transform: translateY(-3px) scale(1.01);
  }

  /* Disable hover effects on mobile for better performance */
  .achievement-item:hover,
  .toggle-btn:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.03);
  }
}

/* ==========================================================================
   Parallax Scrolling Enhancements
   ========================================================================== */

/* Ensure parallax elements are positioned correctly */
.hero-bg-animated,
.about-bg-grid,
.about-gradient-orb,
.projects-bg-grid,
.projects-gradient-orb,
.contact-bg-grid,
.contact-bg-gradient {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

/* Smooth hardware-accelerated transforms */
.hero-gradient-orb,
.hero-text,
.about-profile-card,
.expertise-card,
.project-card-modern {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Optimize parallax layers for GPU */
.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
}

/* Prevent layout shift during parallax */
.hero,
.about-redesign,
.projects-redesign,
.contact-redesign {
  position: relative;
  overflow: hidden;
}

/* Performance optimization: reduce parallax on mobile */
@media (max-width: 768px) {
  .hero-gradient-orb,
  .about-gradient-orb,
  .projects-gradient-orb {
    animation-duration: 30s; /* Slower animation on mobile */
  }

  /* Reduce will-change usage on mobile for better battery life */
  .hero-text,
  .about-profile-card,
  .expertise-card,
  .project-card-modern {
    will-change: auto;
  }
}

/* Enhance depth perception with subtle shadows on parallax elements */
.hero-gradient-orb {
  filter: blur(80px);
  opacity: 0.6;
}

.about-gradient-orb,
.projects-gradient-orb {
  filter: blur(100px);
  opacity: 0.5;
}

/* Add smooth transitions for parallax elements entering/exiting viewport */
.hero-bg-animated > *,
.about-bg-grid,
.projects-bg-grid,
.contact-bg-grid {
  transition: opacity 0.3s ease-out;
}

/* Optimize rendering for parallax backgrounds */
.about-bg-grid,
.projects-bg-grid,
.contact-bg-grid {
  will-change: transform;
  contain: layout style paint;
}

/* Enhanced gradient orb positioning for better parallax effect */
.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content stays above parallax backgrounds */
.hero-container,
.about-redesign .container,
.projects-redesign .container,
.contact-redesign .container {
  position: relative;
  z-index: 10;
}

/* Performance: Use CSS containment for isolated sections */
.hero,
.about-redesign,
.projects-redesign,
.skills,
.contact-redesign {
  contain: layout style;
}

/* Smooth scroll behavior for better parallax experience */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  /* Respect user's motion preferences */
  .hero-gradient-orb,
  .about-gradient-orb,
  .projects-gradient-orb,
  .hero-text,
  .about-profile-card,
  .expertise-card,
  .project-card-modern {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}

