/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto+Mono:wght@300;400;700&display=swap');

/* Hexagonal Navbar Background */
.navbar-hex-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(13,19,26,0.9) 0%, rgba(13,19,26,0.95) 100%);
  clip-path: 
    polygon(
      0% 15%, 
      5% 5%, 
      15% 0%, 
      85% 0%, 
      95% 5%, 
      100% 15%, 
      100% 85%, 
      95% 95%, 
      85% 100%, 
      15% 100%, 
      5% 95%, 
      0% 85%
    );
  box-shadow: 
    0 4px 6px -1px rgba(0,0,0,0.1), 
    0 2px 4px -1px rgba(0,209,255,0.06),
    0 0 20px rgba(0,209,255,0.2);
}

/* Update nav link styles */
.nav-link {
  font-family: 'Roboto Mono', monospace;
  color: #a7f3d0;
  text-decoration: none;
  position: relative;
  transition: color 250ms ease;
  font-weight: 300;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #00d1ff;
  transform: scaleX(0);
  transition: transform 250ms ease;
}

.nav-link:hover {
  color: #00d1ff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* General utilities */
.glass { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(15, 23, 42, 0.35); }

/* Matrix background */
canvas#bg-matrix { pointer-events: none; }

/* Tilt card */
.perspective-1000 { perspective: 1000px; }
.tilt-card { transform-style: preserve-3d; transition: transform 200ms ease; }
.tilt-card:hover { transform: rotateY(6deg) rotateX(-4deg) scale(1.01); }

/* Education timeline */
.edu-item { position: relative; padding-left: 2.25rem; }
.edu-dot { position: absolute; left: 0.6rem; top: 0.25rem; width: 14px; height: 14px; border-radius: 9999px; background: radial-gradient(circle at 30% 30%, #16f2a5, #00d1ff); box-shadow: 0 0 20px rgba(0, 209, 255, 0.5), 0 0 10px rgba(22, 242, 165, 0.6) inset; }
.edu-title { color: #a5f3fc; font-weight: 600; }
.edu-time { color: #9ca3af; font-size: 0.9rem; }

/* Services lightning border */
.service-card { position: relative; border-radius: 1.25rem; overflow: hidden; background: rgba(15, 23, 42, 0.35); border: 1px solid rgba(255,255,255,0.08); }
.service-border { position: absolute; inset: -150%; background: conic-gradient(from 0deg, transparent 0 340deg, rgba(0,255,156,0.9) 360deg); animation: spin 4s linear infinite; filter: blur(12px); }
.service-card::after { content: ""; position: absolute; inset: 1px; border-radius: 1.25rem; background: rgba(7, 12, 19, 0.85); }
.service-card > * { position: relative; z-index: 1; }
@keyframes spin { to { transform: rotate(1turn); } }

/* Skills grid with hover reveal */
.skills-grid { 
  display: grid; 
  grid-template-columns: repeat(5, 1fr); 
  gap: 1rem; 
  justify-content: center;
  align-items: center;
}
.skills-vertical {
  grid-template-columns: repeat(5, 1fr);
  max-width: 100%;
  gap: 1rem;
}
.skills-section {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2), 0 0 20px rgba(0,209,255,0.1);
  transition: all 0.3s ease;
}
.skills-section:hover {
  background: rgba(15, 23, 42, 0.4);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 0 30px rgba(0,209,255,0.2);
}
.skill-img { 
  position: relative; 
  padding-top: 100%; 
  border-radius: 1rem; 
  overflow: hidden; 
  background: radial-gradient(ellipse at 40% 30%, rgba(0,255,156,0.08), rgba(0,209,255,0.06)); 
  border: 1px solid rgba(255,255,255,0.08); 
  filter: grayscale(20%); 
  transition: all 220ms ease; 
}
.skill-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20%;
  background: linear-gradient(to bottom right, rgba(13,19,26,0.9), rgba(7,12,19,0.95));
  transition: all 0.3s ease;
}
.skill-img::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #e5e7eb;
  letter-spacing: 0.06em;
  opacity: 0;
  backdrop-filter: blur(0px);
  background: rgba(0, 0, 0, 0);
  transition: all 0.3s ease;
}
.skill-img:hover {
  transform: translateY(-5px) scale(1.05);
  filter: grayscale(0%);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 0 30px rgba(0,209,255,0.2);
}
.skill-img:hover::after {
  opacity: 1;
  backdrop-filter: blur(3px);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* Slider arrows */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 9999px; display: grid; place-items: center; color: #16f2a5; border: 1px solid rgba(22, 242, 165, 0.35); background: rgba(15,23,42,0.6); backdrop-filter: blur(10px); z-index: 2; transition: all 180ms ease; }
.slider-arrow:hover { color: #0ea5e9; border-color: rgba(14, 165, 233, 0.6); box-shadow: 0 0 24px rgba(14,165,233,0.25); }

.slider-arrow-left { left: 20px; }
.slider-arrow-right { right: 20px; }

/* Social links */
.social { color: #a7f3d0; transition: color 180ms ease, transform 180ms ease; }
.social:hover { color: #7dd3fc; transform: translateY(-2px); }

/* Neon Button */
.neon-button {
  position: relative;
  color: #00ff9c !important;
  text-shadow: 0 0 10px rgba(0, 255, 156, 0.5);
  border: 2px solid #00ff9c !important;
  overflow: hidden;
  transition: all 0.3s ease;
}

.neon-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(0, 255, 156, 0.3), transparent);
  transition: all 0.5s ease;
}

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

.neon-button:hover {
  box-shadow: 
    0 0 10px rgba(0, 255, 156, 0.5),
    0 0 20px rgba(0, 255, 156, 0.3),
    0 0 30px rgba(0, 255, 156, 0.2);
  transform: scale(1.05);
}


