
/* ===== FUTURISTIC PREMIUM PORTFOLIO ===== */
/* Ultra-modern, luxurious design with advanced animations */

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

/* ===== CSS RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(135deg,
    #0a0a0a 0%,
    #0f1419 25%,
    #1a1a2e 50%,
    #0f0f23 75%,
    #0a0a0a 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(147, 197, 253, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 60% 10%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ===== GLASS MORPHISM UTILITIES ===== */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.neon-glow {
  position: relative;
}

.neon-glow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
    #ff00ff,
    #00ffff,
    #ff0080,
    #8000ff,
    #ff00ff
  );
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: neonPulse 3s ease-in-out infinite;
}

.neon-glow:hover::before {
  opacity: 0.8;
}

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

/* ===== ADVANCED ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

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

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

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

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

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(-10px) rotate(240deg); }
}

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

@keyframes blink {
  50% { border-color: transparent; }
}

.fade-in-up {
  animation: slideInUp 0.8s ease-out;
}

.fade-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.fade-in-right {
  animation: slideInRight 0.8s ease-out;
}

.scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
  box-sizing: border-box;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 1rem 0;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

[dir="rtl"] .nav-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 50%, #ff0080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  transition: width 0.3s ease;
}

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

.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.2) 0%, rgba(0, 255, 255, 0.2) 100%);
  box-shadow: 0 4px 20px rgba(255, 0, 255, 0.2);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.language-selector {
  position: relative;
  z-index: 1001;
}

.lang-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255, 0, 255, 0.1);
  position: relative;
  z-index: 1001;
  opacity: 1 !important;
  visibility: visible !important;
}

.lang-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(255, 0, 255, 0.3);
}


.lang-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 0.5rem 0;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 1002;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: 8px;
  margin: 0 0.5rem;
}

.lang-dropdown a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.2) 0%, rgba(0, 255, 255, 0.2) 100%);
  transform: translateX(5px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 30px;
  justify-content: space-around;
}

.bar {
  width: 30px;
  height: 3px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(147, 197, 253, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  animation: slideInLeft 1s ease-out;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.1;
  background: linear-gradient(135deg,
    #ffffff 0%,
    #ff00ff 25%,
    #00ffff 50%,
    #ff0080 75%,
    #ffffff 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
}

.hero-subtitle::after {
  content: '|';
  color: #00ffff;
  animation: blink 1s infinite;
  margin-left: 2px;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  border: none;
  text-transform: uppercase;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, #ff00ff 0%, #8000ff 50%, #00ffff 100%);
  color: #ffffff;
  box-shadow:
    0 8px 25px rgba(255, 0, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 15px 35px rgba(255, 0, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: #ff00ff;
  color: #00ffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s ease-out;
}

.profile-card {
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 30px rgba(59, 130, 246, 0.2);
  animation: float 6s ease-in-out infinite;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 0, 255, 0.1),
    rgba(0, 255, 255, 0.1),
    transparent
  );
  opacity: 0.6;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 23px;
  position: relative;
  z-index: 1;
}

/* Scroll indicator removed */

/* ===== SECTIONS ===== */
section {
  padding: 8rem 0;
  position: relative;
}

/* Section dividers removed */

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg,
    #ffffff 0%,
    #ff00ff 25%,
    #00ffff 50%,
    #ff0080 75%,
    #ffffff 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
  position: relative;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* ===== ABOUT SECTION ===== */
.about {
  background: linear-gradient(135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(26, 26, 46, 0.85) 50%,
    rgba(10, 10, 10, 0.85) 100%
  ),
  radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
  radial-gradient(circle at 70% 80%, rgba(147, 197, 253, 0.04) 0%, transparent 50%),
  radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
  padding-top: 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: slideInUp 0.8s ease-out;
}

.about-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-weight: 400;
}

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

.stat {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 0, 255, 0.3);
}

.stat h3 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.stat p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.skill-category {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 25px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

.skill-category:hover::before {
  left: 100%;
}

.skill-category:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 0, 255, 0.2);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.skill-category h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  z-index: 1;
}

.skill-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.skill-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 0, 255, 0.2);
}

.skill-item i {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.skill-item:hover i {
  transform: scale(1.2) rotate(5deg);
  filter: brightness(1.3);
  text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.skill-item span {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* ===== SKILL PROGRESS BARS ===== */
.skill-progress-bar {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-item:hover .skill-progress-bar {
  opacity: 1;
}

.skill-progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border-radius: 2px;
  width: 0%;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-progress-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: progressShimmer 2s ease-in-out infinite;
}

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

.skill-progress-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-item:hover .skill-progress-glow {
  opacity: 0.3;
}

/* ===== FORM VALIDATION COLORS ===== */
.contact-form .btn-primary {
  background: linear-gradient(135deg, #ff00ff 0%, #8000ff 50%, #00ffff 100%);
}

.contact-form .btn-primary.success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-color: #059669;
}

.form-group.valid input,
.form-group.valid textarea {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

/* ===== PROJECTS SECTION ===== */
.projects {
  background: linear-gradient(135deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(22, 33, 62, 0.95) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

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

.project-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  overflow: hidden;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(255, 0, 255, 0.1) 0%,
    transparent 50%,
    rgba(0, 255, 255, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

.project-card:hover {
  transform: translateY(-15px) scale(1.03) rotateX(2deg);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 0, 255, 0.2);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 30px rgba(255, 0, 255, 0.2);
}

.project-image {
  height: 220px;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image::before {
  opacity: 0;
}

.project-placeholder {
  font-size: 4rem;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.project-card:hover .project-placeholder {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
}

.project-content {
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.project-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 0, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.project-tech span {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.project-tech span:hover {
  background: rgba(255, 0, 255, 0.2);
  border-color: rgba(255, 0, 255, 0.3);
  transform: scale(1.05);
}

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

.project-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.8rem 1.5rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-link:hover {
  color: #ffffff;
  background: rgba(255, 0, 255, 0.2);
  border-color: rgba(255, 0, 255, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 0, 255, 0.3);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: linear-gradient(135deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(26, 26, 46, 0.95) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 4rem;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  max-width: 700px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(255, 0, 255, 0.05) 0%,
    transparent 50%,
    rgba(0, 255, 255, 0.05) 100%
  );
  animation: shimmer 8s ease-in-out infinite;
}

.contact-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3rem;
  line-height: 1.7;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.contact-methods {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
  text-align: left;
  justify-content: flex-start;
  width: 100%;
  max-width: 350px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-method i {
  font-size: 1.5rem;
  color: #ffffff;
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border: none;
  transition: all 0.3s ease;
}

.contact-method:hover i {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.contact-method h4 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
  line-height: 1.2;
}

.contact-method p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
}

.contact-method p a,
.contact-link {
  color: rgba(0, 255, 255, 0.9) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.contact-method p a:hover,
.contact-link:hover {
  color: #00ffff !important;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  border-bottom: 2px solid #00ffff;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.social-link:hover::before {
  width: 120px;
  height: 120px;
}

.social-link:hover {
  background: rgba(255, 0, 255, 0.2);
  color: #ffffff;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 30px rgba(255, 0, 255, 0.4);
  border-color: rgba(255, 0, 255, 0.3);
}

/* ===== RADIO SECTION ===== */
.radio-section {
  background: rgba(0, 0, 0, 0.8);
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

/* ===== FIXED RADIO BAR ===== */
.radio-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-top: 2px solid rgba(255, 0, 255, 0.3);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

.radio-bar.show {
  transform: translateY(0);
  display: block;
}

.radio-bar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

[dir="rtl"] .radio-bar-content {
  flex-direction: row-reverse;
}

[dir="rtl"] .radio-bar-info {
  text-align: right;
}

[dir="rtl"] .radio-bar-controls {
  flex-direction: row-reverse;
}

[dir="rtl"] .radio-bar-volume {
  flex-direction: row-reverse;
}

/* Mobile-first responsive radio bar */
@media (max-width: 768px) {
  .radio-bar-content {
    padding: 0.6rem 0.8rem;
    gap: 0.5rem;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .radio-bar-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-width: 0;
  }

  .radio-bar-station {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .radio-bar-status {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    display: none;
  }

  .radio-bar-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
  }

  .radio-bar-play {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .radio-bar-volume {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    flex: 0 0 auto;
    max-width: 100px;
  }

  .radio-bar-slider {
    width: 50px;
    height: 3px;
  }

  .radio-bar-level {
    font-size: 0.7rem;
    min-width: 25px;
  }

  .radio-bar-nav {
    flex: 0 0 auto;
  }

  .radio-bar-up {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

.radio-bar-nav {
  display: flex;
  align-items: center;
}

.radio-bar-up {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
  text-decoration: none;
}

.radio-bar-up:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 0, 255, 0.4);
}

.radio-bar-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-bar-station {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}

.radio-bar-status {
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.radio-bar-status.playing {
  color: #ffffff;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  animation: pulse 2s infinite;
}

.radio-bar-status.paused {
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.radio-bar-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.radio-bar-play {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

.radio-bar-play:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 0, 255, 0.4);
}

.radio-bar-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-bar-slider {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.radio-bar-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.radio-bar-slider::-webkit-slider-thumb:hover {
  background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
  transform: scale(1.2);
}

.radio-bar-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.radio-bar-level {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
  min-width: 35px;
  text-align: center;
}


.radio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(30, 64, 175, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
}

.radio-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.custom-radio-player {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 4rem 3rem;
  margin: 0;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 100;
}

.custom-radio-player::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 0, 255, 0.03),
    rgba(0, 255, 255, 0.03),
    transparent
  );
  opacity: 0.5;
}

.custom-radio-player::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 0, 255, 0.03),
    rgba(0, 255, 255, 0.03),
    transparent
  );
  opacity: 0.5;
}

.custom-radio-player:hover {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 40px rgba(255, 0, 255, 0.2);
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(255, 0, 255, 0.2);
}

.radio-station-info {
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.station-name {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 50%, #ff0080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
  animation: shimmer 3s ease-in-out infinite;
}

.station-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.8;
}

.radio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.radio-play-btn {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #ff00ff 0%, #8000ff 50%, #00ffff 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 10px 25px rgba(255, 0, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.radio-play-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
    #ff00ff,
    #00ffff,
    #ff0080,
    #8000ff
  );
  background-size: 400% 400%;
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: neonPulse 4s ease-in-out infinite;
}

.radio-play-btn:hover::before {
  opacity: 0.8;
}

.radio-play-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow:
    0 20px 40px rgba(255, 0, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.radio-play-btn.playing {
  background: linear-gradient(135deg, #ff00ff 0%, #8000ff 50%, #00ffff 100%);
  box-shadow:
    0 10px 25px rgba(255, 0, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: pulse 2s infinite;
}

.radio-play-btn i {
  font-size: 2.2rem;
  color: #ffffff;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.radio-volume {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 350px;
}


.volume-level {
  color: #ffffff;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.footer-content p {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.8);
  padding: 1rem;
  border-radius: 10px;
  display: inline-block;
}

.footer-content p:first-child {
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow:
    0 8px 20px rgba(255, 0, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.scroll-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow:
    0 15px 30px rgba(255, 0, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .nav-menu {
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 25px;
  }

  .nav-container {
    padding: 0 25px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.active {
    display: flex;
    position: fixed;
    left: 0;
    top: 80px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(30px);
    width: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 999;
  }

  .nav-controls {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

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

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

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

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

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

  .profile-card {
    width: 300px;
    height: 300px;
  }

  .section-title {
    font-size: 2.8rem;
  }

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

  .stat h3 {
    font-size: 2.5rem;
  }

  .skill-category {
    padding: 2rem;
  }

  .skill-items {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .project-card {
    max-width: 100%;
  }

  .contact-info {
    padding: 3rem 2rem;
    max-width: 100%;
  }

  .contact-methods {
    gap: 1rem;
  }

  .contact-method {
    max-width: 100%;
    padding: 1rem 0.8rem;
  }

  .contact-method i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .contact-method i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .contact-method i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .radio-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .radio-controls {
    flex-direction: column;
    gap: 3rem;
  }

  .custom-radio-player {
    padding: 3rem 2rem;
    min-height: 300px;
  }

  .station-name {
    font-size: 2rem;
  }

  .radio-play-btn {
    width: 80px;
    height: 80px;
  }

  .radio-play-btn i {
    font-size: 2rem;
  }

  .radio-volume {
    max-width: 280px;
  }

  .footer {
    padding: 2rem 0;
  }

  .scroll-to-top {
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  /* Enhanced mobile radio bar */
  .radio-bar-content {
    padding: 0.8rem 1rem;
    gap: 1rem;
  }

  .radio-bar-info {
    flex: 1;
    min-width: 0;
  }

  .radio-bar-station {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .radio-bar-status {
    font-size: 0.8rem;
    padding: 0.15rem 0.6rem;
  }

  .radio-bar-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .radio-bar-play {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .radio-bar-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
  }

  .radio-bar-slider {
    width: 80px;
    height: 3px;
  }

  .radio-bar-level {
    font-size: 0.8rem;
    min-width: 30px;
  }

  .radio-bar-nav {
    flex-shrink: 0;
  }

  .radio-bar-up {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .nav-container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }

  .profile-card {
    width: 250px;
    height: 250px;
  }

  .profile-image {
    border-radius: 20px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .about-text p {
    font-size: 1.1rem;
  }

  .stat h3 {
    font-size: 2rem;
  }

  .skill-category {
    padding: 1.5rem;
  }

  .skill-item {
    padding: 1rem;
  }

  .skill-item i {
    font-size: 2rem;
  }

  .project-content {
    padding: 2rem;
  }

  .project-content h3 {
    font-size: 1.5rem;
  }

  .contact-info {
    padding: 2.5rem 1.5rem;
  }

  .contact-info h3 {
    font-size: 1.8rem;
  }

  .contact-method {
    padding: 1rem;
  }

  .contact-method i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-link {
    width: 50px;
    height: 50px;
  }

  .contact-method i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .contact-method i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .custom-radio-player {
    padding: 2.5rem 1.5rem;
    min-height: 250px;
  }

  .station-name {
    font-size: 1.6rem;
  }

  .radio-play-btn {
    width: 70px;
    height: 70px;
  }

  .radio-play-btn i {
    font-size: 1.6rem;
  }

  .radio-volume {
    max-width: 240px;
  }

  .footer-content p {
    font-size: 1rem;
  }
}

/* ===== LOADING ANIMATIONS ===== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

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

.loading-content {
  text-align: center;
  animation: scaleIn 0.8s ease-out;
}

.loading-spinner {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #ff00ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 2rem;
}

.loading-text {
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 2s ease-in-out infinite;
}

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

/* ===== ADVANCED CONTACT FORM STYLES ===== */
.contact-form-container {
  margin-bottom: 3rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(255, 0, 255, 0.05) 0%,
    transparent 50%,
    rgba(0, 255, 255, 0.05) 100%
  );
  animation: shimmer 6s ease-in-out infinite;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff00ff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 3px rgba(0, 255, 255, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-validation {
  position: absolute;
  right: 1rem;
  top: 3.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group.focused .form-validation {
  opacity: 1;
}

.validation-icon {
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.valid-icon {
  color: #10b981;
  display: none;
}

.invalid-icon {
  color: #ef4444;
  display: none;
}

.form-group.valid .valid-icon {
  display: block;
}

.form-group.invalid .invalid-icon {
  display: block;
}

.form-group.valid input,
.form-group.valid textarea {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.contact-form .btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.contact-form .btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.contact-form .btn-primary.ready {
  animation: pulse 2s infinite;
}

.contact-form .btn-primary.success {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  border-color: #10b981;
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.neon-border {
  position: relative;
}

.neon-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
    #ff00ff,
    #00ffff,
    #ff0080,
    #8000ff,
    #ff00ff
  );
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  animation: neonPulse 3s ease-in-out infinite;
}

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes socialClick {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* ===== MOUSE TRAIL (DISABLED) ===== */
/* .mouse-trail-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transition: opacity 0.3s ease;
} */

/* ===== NOTIFICATION ENHANCEMENTS ===== */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.9) 0%, rgba(0, 255, 255, 0.9) 100%);
  backdrop-filter: blur(20px);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 15px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 0, 255, 0.2);
  z-index: 10000;
  transform: translateX(400px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.notification.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.notification-icon {
  font-size: 1.2rem;
  margin-top: 0.2rem;
  opacity: 0.9;
}

.notification-text {
  flex: 1;
}

.notification-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  margin-top: 0.2rem;
  transition: all 0.3s ease;
}

.notification-close:hover {
  color: white;
  transform: rotate(90deg);
}

.notification-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  width: 100%;
  transform-origin: left;
  animation: progressShrink 5s linear forwards;
}

@keyframes progressShrink {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* ===== RESPONSIVE FORM FIXES ===== */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .contact-form-container {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 1.5rem 1rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  .form-validation {
    right: 0.8rem;
    top: 3.2rem;
  }
}

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

/* ===== EXTRA SMALL DEVICES ===== */
@media (max-width: 480px) {
  .radio-bar-content {
    padding: 0.6rem 0.8rem;
    gap: 0.5rem;
  }

  .radio-bar-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .radio-bar-station {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .radio-bar-status {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    align-self: flex-start;
  }

  .radio-bar-play {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .radio-bar-slider {
    width: 60px;
    height: 3px;
  }

  .radio-bar-level {
    font-size: 0.7rem;
    min-width: 25px;
  }

  .radio-bar-up {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .navbar,
  .scroll-to-top,
  .radio-section,
  .contact-form-container {
    display: none !important;
  }
}
