/* =========================================================
   Ahmed Osama - Luxury Glassmorphism & Cyber Portfolio Stylesheet
   ========================================================= */

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

:root {
  --bg-primary: #060913;
  --bg-secondary: #0c1222;
  --glass-bg: rgba(16, 24, 48, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(56, 189, 248, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-gold: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-en: 'Outfit', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-en);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
}

body.lang-en {
  font-family: var(--font-en);
  direction: ltr;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060913;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ================= Ambient Glow Backgrounds ================= */
.ambient-glow-1 {
  position: fixed;
  top: -10vw;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.ambient-glow-2 {
  position: fixed;
  bottom: 5vw;
  right: -10vw;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}

.ambient-glow-3 {
  position: fixed;
  top: 40%;
  left: 30%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

/* Canvas Particles */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Base Glassmorphism Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(6, 182, 212, 0.15), var(--glass-shadow);
}

/* Holographic & Glow Elements */
.glow-text-cyan {
  text-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
}

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

.gradient-text-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Avatar Styles */
.avatar-halo-container {
  position: relative;
  display: inline-block;
}

.avatar-halo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6, #10b981);
  animation: rotateGlow 8s linear infinite;
  filter: blur(4px);
  opacity: 0.85;
}

.avatar-halo-ring-inner {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  z-index: 1;
}

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

.avatar-img {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 4px solid #060913;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-img:hover {
  transform: scale(1.03);
}

/* Nav Circular Avatar */
.nav-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
}
.nav-avatar-wrap .nav-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(56, 189, 248, 0.7);
  transition: transform 0.3s ease;
}
.nav-avatar-wrap:hover .nav-avatar-img {
  transform: scale(1.08);
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

.online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid #060913;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

/* Buttons */
.btn-cyber-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
  cursor: pointer;
  text-decoration: none;
}

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

.btn-cyber-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.5);
  border-color: #38bdf8;
}

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

.btn-cyber-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-cyber-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}

/* Badge */
.cyber-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Code Terminal Window */
.code-terminal {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-family: var(--font-mono);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-content {
  padding: 20px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #cbd5e1;
  overflow-x: auto;
}

/* Syntax Highlighting */
.syn-kw { color: #f43f5e; font-weight: 600; }
.syn-fn { color: #38bdf8; }
.syn-str { color: #34d399; }
.syn-num { color: #fbbf24; }
.syn-cmt { color: #64748b; font-style: italic; }
.syn-var { color: #c084fc; }

/* Interactive Timeline */
.timeline-item {
  position: relative;
  padding-left: 35px;
}
body.lang-ar .timeline-item {
  padding-left: 0;
  padding-right: 35px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-violet), transparent);
}
body.lang-ar .timeline-line {
  left: auto;
  right: 11px;
}

.timeline-dot-marker {
  position: absolute;
  top: 6px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #060913;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  z-index: 2;
}
body.lang-ar .timeline-dot-marker {
  left: auto;
  right: 4px;
}

/* Floating Badges */
.floating-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.25);
}

/* Project Filter Pills */
.filter-pill {
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}
.filter-pill:hover, .filter-pill.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* Video Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Custom Interactive Cursor Glow */
.cursor-follower {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform 0.1s linear;
}

/* Tech tag */
.tech-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-family: var(--font-mono);
  display: inline-block;
}

.tech-tag:hover {
  border-color: var(--accent-cyan);
  color: #38bdf8;
}

/* Glowing stats number */
.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= UPGRADED HERO BUTTONS ================= */
.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #2563eb 100%);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #ffffff;
  box-shadow: 0 4px 25px rgba(2, 132, 199, 0.45);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

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

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 35px rgba(56, 189, 248, 0.6);
  border-color: #38bdf8;
  color: #ffffff;
}

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

.btn-hero-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(16, 185, 129, 0.5);
  color: #10b981;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.btn-hero-youtube {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.btn-hero-youtube:hover {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.65);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.35);
}

/* ================= 3D FLIP CARD CAROUSEL ================= */
.specialty-block-wrapper {
  perspective: 1200px;
}

#specialty-card {
  transform-style: preserve-3d;
  transition: transform 0.42s cubic-bezier(0.34, 1.35, 0.64, 1), opacity 0.28s ease, filter 0.28s ease;
  will-change: transform, opacity, filter;
}

#specialty-card.flip-out-up {
  transform: perspective(1000px) rotateX(70deg) translateY(-20px) scale(0.93);
  opacity: 0;
  filter: blur(5px);
}

#specialty-card.flip-in-down {
  transform: perspective(1000px) rotateX(-70deg) translateY(20px) scale(0.93);
  opacity: 0;
  filter: blur(5px);
}

#specialty-card.flip-active {
  transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
  opacity: 1;
  filter: blur(0px);
}

.spec-dot {
  cursor: pointer;
  transition: all 0.3s ease;
}

.spec-dot.active {
  width: 24px !important;
  background: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

/* Specialty flip progress indicator */
.spec-progress-bar {
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  border-radius: 9999px;
  width: 0%;
  transition: width 3.9s linear;
}

.spec-progress-bar.animate {
  width: 100%;
}

/* ================= LUXURY STATS CARDS ================= */
.stat-card-luxury {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ================= LUXURY GULF BANK SWITCHER BUTTONS ================= */
.bank-switch-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.bank-switch-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bank-switch-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(56, 189, 248, 0.4);
  color: #f8fafc;
  transform: translateY(-3px);
}

.bank-switch-btn:hover::before {
  opacity: 1;
}

.bank-switch-btn.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.22) 0%, rgba(37, 99, 235, 0.28) 100%);
  border: 1.5px solid #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.45), inset 0 0 15px rgba(56, 189, 248, 0.2);
  transform: translateY(-3px) scale(1.02);
}

.bank-switch-btn.active::before {
  opacity: 1;
}

.bank-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.bank-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bank-switch-btn:hover .bank-logo-badge {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
}

.bank-switch-btn.active .bank-logo-badge {
  border-color: #38bdf8;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.65);
  background: rgba(56, 189, 248, 0.18);
}

/* ================= UPGRADED LUXURY SKILLS CARDS ================= */
.skill-card-luxury {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(2, 6, 23, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 26px 22px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-card-luxury:hover {
  transform: translateY(-6px);
}

.skill-card-cyan:hover {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 16px 45px rgba(6, 182, 212, 0.22);
}

.skill-card-emerald:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 16px 45px rgba(16, 185, 129, 0.22);
}

.skill-card-purple:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 16px 45px rgba(168, 85, 247, 0.22);
}

.skill-card-amber:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 16px 45px rgba(245, 158, 11, 0.22);
}

.skill-meter-wrap {
  width: 100%;
  height: 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.skill-meter-bar {
  height: 100%;
  border-radius: 9999px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.skill-meter-cyan {
  background: linear-gradient(90deg, #06b6d4 0%, #38bdf8 100%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.skill-meter-emerald {
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.skill-meter-purple {
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 100%);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.skill-meter-amber {
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

/* ================= LUXURY PROJECT CARDS STYLING ================= */
.project-card.tilt-card {
  position: relative;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(8, 14, 28, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.project-card.tilt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--card-accent, rgba(6, 182, 212, 0.7)), transparent);
  opacity: 0.5;
  transition: opacity 0.35s ease, height 0.35s ease;
}

.project-card.tilt-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px -6px rgba(0, 0, 0, 0.65), 0 0 30px -4px var(--card-glow, rgba(6, 182, 212, 0.25));
}

.project-card.tilt-card:hover::before {
  opacity: 1;
  height: 3px;
}

.project-card.border-blue-500\/20 {
  --card-accent: rgba(59, 130, 246, 0.9);
  --card-glow: rgba(59, 130, 246, 0.3);
}

.project-card.border-red-500\/20 {
  --card-accent: rgba(239, 68, 68, 0.9);
  --card-glow: rgba(239, 68, 68, 0.3);
}

.project-card.border-emerald-500\/20 {
  --card-accent: rgba(16, 185, 129, 0.9);
  --card-glow: rgba(16, 185, 129, 0.3);
}

.project-card.border-indigo-500\/20 {
  --card-accent: rgba(99, 102, 241, 0.9);
  --card-glow: rgba(99, 102, 241, 0.3);
}

.project-card.border-cyan-500\/20 {
  --card-accent: rgba(6, 182, 212, 0.9);
  --card-glow: rgba(6, 182, 212, 0.3);
}

.project-card.border-purple-500\/20 {
  --card-accent: rgba(168, 85, 247, 0.9);
  --card-glow: rgba(168, 85, 247, 0.3);
}

/* ================= ANIMATED VERIFIED BADGE ================= */
.verified-badge-animated {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
  vertical-align: middle;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.verified-badge-icon {
  width: 19px;
  height: 19px;
  animation: verifiedFloat 3.2s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.verified-badge-animated:hover .verified-badge-icon {
  transform: scale(1.3) rotate(15deg);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 1));
}

@keyframes verifiedFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
  }
  25% {
    transform: translateY(-2px) rotate(4deg) scale(1.08);
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.95));
  }
  50% {
    transform: translateY(0) rotate(-2deg) scale(1.04);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
  }
  75% {
    transform: translateY(-1.5px) rotate(3deg) scale(1.06);
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.95));
  }
}

