/* Custom Properties */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Glass Morphism Components */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-nav {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.glass-border {
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Typography */
.section-title {
  font-size: 3rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Navigation */
.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:not(:last-child)::before {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: linear-gradient(45deg, 
    #ff006e,
    #8338ec, 
    #3a86ff,
    #06ffa5,
    #ffbe0b,
    #ff006e
  );
  background-size: 200% 200%;
  animation: rgbFlow 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes rgbFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
}

/* Buttons */
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 1rem 2rem;
  border: 2px solid var(--glass-border);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
}

/* Social Links */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Floating Shapes Animation */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  background: var(--primary-gradient);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation-delay: 5s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-40px) rotate(180deg); }
  75% { transform: translateY(-20px) rotate(270deg); }
}

/* Typing Animation */
.typing-text {
  overflow: hidden;
  border-right: 2px solid #667eea;
  white-space: nowrap;
  animation: typing 3s steps(20) 1s 1 normal both, blink 1s infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Stats Cards */
.stat-card {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

/* Expertise Items */
.expertise-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.expertise-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

/* Project Cards */
.project-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-tech {
  display: inline-block;
  background: rgba(102, 126, 234, 0.2);
  color: #93c5fd;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  margin: 0.25rem;
}

/* Skill Cards */
.skill-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(102, 126, 234, 0.5);
}

.skill-progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}

.skill-progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 4px;
  transition: width 1s ease-in-out;
  width: 0%;
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Loading Animation */
.loading-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .floating-shapes .shape {
    display: none;
  }
  
  .typing-text {
    font-size: 1.25rem;
  }
}

/* Utility Classes */
.font-inter {
  font-family: 'Inter', sans-serif;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-gradient);
}

/* Profile Photo Styling */
.profile-photo-container {
  position: relative;
  display: inline-block;
  padding: 8px;
}

.profile-photo-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 50% 90%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  border-radius: 50%;
  animation: floatingGlow 6s ease-in-out infinite;
  z-index: -3;
}

.profile-photo {
  position: relative;
  display: inline-block;
}

.profile-photo::before {
  content: '';
  position: absolute;
  inset: -6px;
  padding: 6px;
  background: linear-gradient(45deg, #60a5fa, #a855f7, #06b6d4, #f59e0b);
  border-radius: 50%;
  background-size: 400% 400%;
  animation: gradientShift 4s ease infinite;
  z-index: -1;
  filter: blur(1px);
}

.profile-photo::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, rgba(96, 165, 250, 0.3), rgba(168, 85, 247, 0.3), rgba(6, 182, 212, 0.3));
  border-radius: 50%;
  animation: gradientShift 4s ease infinite reverse;
  z-index: -2;
  filter: blur(8px);
}

.profile-photo img {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  object-position: center 35%; /* Yüzü daha iyi ortalamak için */
}

/* Farklı fotoğraf pozisyonları için yardımcı sınıflar */
.face-top {
  object-position: center 10% !important;
}

.face-upper {
  object-position: center 20% !important;
}

.face-center {
  object-position: center 35% !important;
}

.face-lower {
  object-position: center 50% !important;
}

.face-bottom {
  object-position: center 65% !important;
}

/* Manuel ayar için */
.face-custom {
  object-position: center 40% !important;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
}

@keyframes floatingGlow {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 0.6;
  }
}

/* Logo Styling */
.logo-container {
  position: relative;
}

.logo-container::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(12px);
}

.logo-container:hover::before {
  opacity: 0.7;
  animation: logoPulse 2s ease-in-out infinite;
}

.logo-container img {
  filter: brightness(1.1) contrast(1.2) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
  transition: all 0.3s ease;
}

.logo-container:hover img {
  filter: brightness(1.3) contrast(1.3) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(59, 130, 246, 0.8));
  transform: scale(1.15) translateY(-2px);
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Code Rain Background */
.code-rain {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.1;
}

.code-line {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #00ff41;
  white-space: nowrap;
  animation: codeRain 15s linear infinite;
}

.code-line-1 { left: 10%; animation-delay: 0s; }
.code-line-2 { left: 25%; animation-delay: 2s; }
.code-line-3 { left: 45%; animation-delay: 4s; }
.code-line-4 { left: 65%; animation-delay: 6s; }
.code-line-5 { left: 80%; animation-delay: 8s; }
.code-line-6 { left: 15%; animation-delay: 10s; }

@keyframes codeRain {
  0% {
    transform: translateY(-100vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Terminal Window */
.terminal-window {
  animation: terminalGlow 3s ease-in-out infinite alternate;
}

@keyframes terminalGlow {
  0% {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  }
  100% {
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.4);
  }
}

.terminal-typing {
  animation: typeIn 2s ease-out;
}

.terminal-typing-delay {
  animation: typeIn 2s ease-out 1s both;
}

.terminal-typing-delay-2 {
  animation: typeIn 2s ease-out 2s both;
}

.terminal-typing-delay-3 {
  animation: typeIn 2s ease-out 3s both;
}

.terminal-typing-delay-4 {
  animation: typeIn 2s ease-out 4s both;
}

.terminal-typing-delay-5 {
  animation: typeIn 2s ease-out 5s both;
}

.terminal-cursor {
  animation: blink 1s infinite;
}

@keyframes typeIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Code Badges Around Profile */
.code-badges {
  position: absolute;
  inset: -60px;
  pointer-events: none;
}

.code-badge {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 12px;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: float 4s ease-in-out infinite;
  opacity: 0;
  animation-fill-mode: both;
}

.badge-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.5s;
}

.badge-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.badge-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.5s;
}

.badge-4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(0.9);
    opacity: 0;
  }
  20%, 80% {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.1);
  }
}

/* Name Cursor Animation */
.name-cursor {
  animation: nameBlink 1.5s infinite;
  color: #00ff41;
  font-weight: normal;
}

@keyframes nameBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
  .terminal-window {
    width: 350px !important;
    height: 250px !important;
  }
  
  .code-badges {
    inset: -40px;
  }
  
  .code-badge {
    font-size: 10px;
    padding: 6px 8px;
  }
  
  .code-line {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .terminal-window {
    width: 320px !important;
    height: 220px !important;
  }
  
  .terminal-body {
    font-size: 12px !important;
  }
}

/* Skills Icon Styling */
.skill-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.4s ease;
  position: relative;
}

.skill-icon-container::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, transparent 40%, rgba(59, 130, 246, 0.1) 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.skill-icon-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-icon-item:hover .skill-icon-container::before {
  opacity: 1;
  animation: skillPulse 2s ease-in-out infinite;
}

.skill-icon-item:hover .skill-icon-container i {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 20px currentColor);
}

.skill-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  opacity: 0.8;
  transition: all 0.3s ease;
  text-align: center;
}

.skill-icon-item:hover .skill-name {
  opacity: 1;
  color: #ffffff;
  transform: scale(1.1);
}

@keyframes skillPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skill-icon-container i {
    font-size: 3rem !important;
  }
  
  .skill-icon-item {
    padding: 1rem;
  }
}

/* Education Card Styling */
.education-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
}

/* Certificate Card Styling */
.certificate-card {
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.certificate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.certificate-card:hover::before {
  left: 100%;
}

.certificate-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(59, 130, 246, 0.4);
}

.certificate-card:hover .w-20 {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Hero Name Styling */
.hero-name {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 25%, #2563eb 50%, #1d4ed8 75%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-name::after {
  content: 'Bilal Gürel';
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: -1;
  filter: blur(2px);
}

/* Enhanced Profile Photo Effects */
.profile-photo {
  position: relative;
  display: inline-block;
}

/* Slow Spinning Ring Animation */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin-slow 8s linear infinite;
}

/* Scanning Line Animations */
@keyframes scan-vertical {
  0%, 100% {
    top: -2px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: calc(100% + 2px);
    opacity: 0;
  }
}

@keyframes scan-vertical-delayed {
  0%, 100% {
    top: -2px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: calc(100% + 2px);
    opacity: 0;
  }
}

.scan-line {
  animation: scan-vertical 3s ease-in-out infinite;
}

.scan-line-2 {
  animation: scan-vertical-delayed 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Floating Particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #10b981, #3b82f6);
  border-radius: 50%;
  opacity: 0;
}

.particle-1 {
  top: 10%;
  left: 20%;
  animation: float-particle 4s ease-in-out infinite;
}

.particle-2 {
  top: 30%;
  right: 15%;
  animation: float-particle 4s ease-in-out infinite;
  animation-delay: 1s;
}

.particle-3 {
  bottom: 25%;
  left: 10%;
  animation: float-particle 4s ease-in-out infinite;
  animation-delay: 2s;
}

.particle-4 {
  bottom: 10%;
  right: 25%;
  animation: float-particle 4s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes float-particle {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  25% {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-20px) scale(1.2);
  }
  75% {
    opacity: 0.6;
    transform: translateY(-10px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
}

/* Profile Photo Hover Effects */
.profile-photo:hover .particle {
  animation-duration: 2s;
}

/* Enhanced Glow Effect */
.profile-photo img {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-photo:hover img {
  box-shadow: 
    0 0 30px rgba(16, 185, 129, 0.4),
    0 0 60px rgba(59, 130, 246, 0.3),
    0 0 90px rgba(147, 51, 234, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Bridge Connection Lines */
.connection-lines {
  width: 100%;
  height: 100%;
}

.connection-line-left,
.connection-line-right {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, #3b82f6, transparent);
  top: 50%;
  transform: translateY(-50%);
  animation: data-flow 3s ease-in-out infinite;
  opacity: 0.6;
}

.connection-line-left {
  left: 15%;
  right: 52%;
  background: linear-gradient(90deg, transparent, #10b981, #10b981, #3b82f6);
}

.connection-line-right {
  left: 52%;
  right: 15%;
  background: linear-gradient(90deg, #3b82f6, #3b82f6, #2563eb, transparent);
}

/* Data Flow Animation */
@keyframes data-flow {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(-50%) scaleX(0.8);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-50%) scaleX(1.1);
  }
}

/* Data Particles */
.data-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.particle-left-1 {
  background: #10b981;
  left: 20%;
  animation: particle-flow-left 2s ease-in-out infinite;
}

.particle-left-2 {
  background: #34d399;
  left: 25%;
  animation: particle-flow-left 2s ease-in-out infinite;
  animation-delay: 1s;
}

.particle-right-1 {
  background: #3b82f6;
  right: 20%;
  animation: particle-flow-right 2s ease-in-out infinite;
}

.particle-right-2 {
  background: #60a5fa;
  right: 25%;
  animation: particle-flow-right 2s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes particle-flow-left {
  0% {
    left: 15%;
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  100% {
    left: 48%;
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
  }
}

@keyframes particle-flow-right {
  0% {
    right: 15%;
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  100% {
    right: 48%;
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
  }
}

/* Terminal Hover Effects */
.terminal-window:hover {
  transform: translateY(-5px);
}

/* Bridge Profile Photo Effects */
.profile-photo-container:hover .connection-line-left,
.profile-photo-container:hover .connection-line-right {
  animation-duration: 1.5s;
  opacity: 1;
}

.profile-photo-container:hover .data-particle {
  animation-duration: 1s;
}