/* CSS Custom Properties */
:root {
  --primary-dark: #0a0015;
  --secondary-dark: #1a0d2e;
  --tertiary-dark: #2d1b4e;
  --neon-purple: #8b5cf6;
  --neon-bright: #a855f7;
  --neon-light: #c084fc;
  --neon-glow: #e879f9;
  --text-white: #ffffff;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Rajdhani", sans-serif;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--secondary-dark) 50%,
    var(--tertiary-dark) 100%
  );
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 0, 21, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  font-family: "Orbitron", monospace;
  font-weight: 900;
  font-size: 1.5rem;
}

.logo-text {
  color: var(--text-white);
}

.logo-accent {
  color: var(--neon-purple);
  text-shadow: 0 0 10px var(--tertiary-dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-bright));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--neon-bright);
  text-shadow: 0 0 5px var(--neon-bright);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--neon-purple);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%238b5cf6" opacity="0.5"><animate attributeName="opacity" values="0.5;1;0.5" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1" fill="%23a855f7" opacity="0.7"><animate attributeName="opacity" values="0.7;1;0.7" dur="3s" repeatCount="indefinite"/></circle><circle cx="40" cy="70" r="1" fill="%23c084fc" opacity="0.6"><animate attributeName="opacity" values="0.6;1;0.6" dur="2.5s" repeatCount="indefinite"/></circle></svg>')
    repeat;
  animation: float 20s infinite linear;
}

.neon-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 10s infinite linear;
}

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

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-family: "Orbitron", monospace;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.title-line {
  display: block;
}

.neon-text {
  color: var(--neon-purple);
  text-shadow:
    0 0 5px var(--neon-purple),
    0 0 10px var(--neon-purple),
    0 0 15px var(--neon-purple),
    0 0 20px var(--neon-purple);
  animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
  0%,
  100% {
    text-shadow:
      0 0 5px var(--text-light),
      0 0 10px var(--text-light),
      0 0 15px var(--text-light),
      0 0 20px var(--text-light);
  }
  50% {
    text-shadow:
      0 0 2px var(--neon-purple),
      0 0 5px var(--neon-purple),
      0 0 8px var(--neon-purple),
      0 0 12px var(--neon-purple);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--neon-bright);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.typewriter {
  border-right: 2px solid var(--neon-bright);
  animation:
    typewriter 4s steps(40) 1s 1 normal both,
    blink 1s steps(40) infinite normal;
}

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

@keyframes blink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--neon-bright);
  }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.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;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-bright));
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--neon-bright);
  border: 2px solid var(--neon-bright);
}

.btn-secondary:hover {
  background: var(--neon-bright);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

/* 3D Floating Cube */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-cube {
  perspective: 1000px;
}

.cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate-cube 10s infinite linear;
}

.face {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--neon-purple);
  background: rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(10px);
}

.face.front {
  transform: rotateY(0deg) translateZ(100px);
}
.face.back {
  transform: rotateY(180deg) translateZ(100px);
}
.face.right {
  transform: rotateY(90deg) translateZ(100px);
}
.face.left {
  transform: rotateY(-90deg) translateZ(100px);
}
.face.top {
  transform: rotateX(90deg) translateZ(100px);
}
.face.bottom {
  transform: rotateX(-90deg) translateZ(100px);
}

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

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--neon-purple);
  border-bottom: 2px solid var(--neon-purple);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-family: "Orbitron", monospace;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.title-number {
  color: var(--neon-purple);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-bright));
}

/* About Section */
.about {
  background: rgba(45, 27, 78, 0.3);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-card {
  background: rgba(26, 13, 46, 0.8);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  border-color: var(--neon-purple);
}

.about-card h3 {
  color: var(--neon-bright);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--neon-purple);
  text-shadow: 0 0 10px var(--neon-purple);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.profile-card {
  position: relative;
  background: rgba(26, 13, 46, 0.8);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s ease;
}

.profile-card:hover {
  transform: rotateY(5deg) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
  border-color: var(--neon-purple);
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--neon-purple),
    var(--neon-bright),
    var(--neon-light)
  );
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* 
.profile-card:hover .card-glow {
    opacity: 1;
} */

.profile-info h4 {
  color: var(--neon-bright);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.profile-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid var(--neon-purple);
  border-radius: 50%;
  color: var(--neon-bright);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--neon-purple);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.5);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: rgba(26, 13, 46, 0.8);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  border-color: var(--neon-purple);
}

.skill-category h3 {
  color: var(--neon-bright);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-item:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--neon-purple);
  transform: scale(1.05);
}

.skill-item i {
  color: var(--neon-bright);
  font-size: 1.2rem;
}

.skill-item span {
  color: var(--text-light);
  font-weight: 500;
}

/* Projects Section */
.projects {
  background: rgba(45, 27, 78, 0.3);
}

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

.project-card {
  background: rgba(26, 13, 46, 0.8);
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
  border-color: var(--neon-purple);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-bright));
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 Magic line - fits image without stretch */
  object-position: center;
  display: block;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 0, 21, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

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

.project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--neon-purple);
  border-radius: 50%;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: var(--neon-bright);
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: var(--neon-bright);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.project-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech span {
  background: rgba(139, 92, 246, 0.2);
  color: var(--neon-bright);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Experience Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--neon-purple),
    var(--neon-bright)
  );
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 2rem;
}

.timeline-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--neon-purple);
  border: 3px solid var(--primary-dark);
  border-radius: 50%;
  top: 0;
  box-shadow: 0 0 10px var(--neon-purple);
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -10px;
}

.timeline-content {
  background: rgba(26, 13, 46, 0.8);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  border-color: var(--neon-purple);
}

.timeline-content h3 {
  color: var(--neon-bright);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-date {
  color: var(--neon-purple);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.6;
}
.skills-intro {
  max-width: 760px;
  margin: -2.25rem auto 3.5rem;

  text-align: center;

  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.35px;

  color: var(--text-muted);

  text-shadow: 0 0 10px rgba(139, 92, 246, 0.08);

  position: relative;
  z-index: 2;
}

/* subtle top accent */
.skills-intro::before {
  content: "";
  display: block;

  width: 42px;
  height: 2px;

  margin: 0 auto 1rem;

  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-purple),
    var(--neon-bright),
    transparent
  );

  box-shadow: 0 0 10px rgba(139, 92, 246, 0.45);
}

/* Contact Section */
.contact {
  background: rgba(45, 27, 78, 0.3);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  color: var(--neon-bright);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid var(--neon-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-bright);
  font-size: 1.2rem;
}

.contact-item h4 {
  color: var(--neon-bright);
  margin-bottom: 0.3rem;
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--neon-bright);
}

.contact-form {
  background: rgba(26, 13, 46, 0.8);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  color: var(--text-white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-purple);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.8rem;
  color: var(--neon-purple);
  background: var(--primary-dark);
  padding: 0 0.5rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  padding: 2rem 0;
  border-top: 1px solid rgba(139, 92, 246, 0.3);
}

.footer-content {
  text-align: center;
  color: var(--text-muted);
}

.footer-content p {
  margin-bottom: 0.5rem;
}
/* =========================================================
   GLOBAL CURSOR AMBIENT EFFECT
   ========================================================= */

#cursor-ambient-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.07) 0%,
    transparent 70%
  );
  transition: opacity 0.3s ease;
}

#cursor-dot-grid,
#cursor-dot-bloom {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#cursor-dot-grid {
  background-image: radial-gradient(
    circle at center,
    rgba(147, 51, 234, 0.35) 1px,
    transparent 1.2px
  );
  background-size: 28px 28px;
}

#cursor-dot-bloom {
  opacity: 0;
  background-image: radial-gradient(
    circle at center,
    rgba(168, 85, 247, 0.65) 1.8px,
    transparent 2px
  );
  background-size: 28px 28px;

  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    #000 80px,
    transparent 160px
  );

  mask-image: radial-gradient(circle at 50% 50%, #000 80px, transparent 160px);

  transition: opacity 0.2s ease;
}

/* =========================================================
   CERTIFICATIONS
   ========================================================= */

.certifications {
  position: relative;
  overflow: hidden;
}

.certifications-intro {
  max-width: 760px;
  margin: -2.25rem auto 3.5rem;

  text-align: center;

  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.35px;

  color: var(--text-muted);

  position: relative;
  z-index: 2;
}

.certifications-intro::before {
  content: "";
  display: block;

  width: 42px;
  height: 2px;

  margin: 0 auto 1rem;

  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-purple),
    var(--neon-bright),
    transparent
  );

  box-shadow: 0 0 10px rgba(139, 92, 246, 0.45);
}

.certifications-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.certifications-track {
  display: flex;
  gap: 1.5rem;

  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;

  padding: 1rem 0.5rem 1.5rem;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  cursor: grab;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.certifications-track::-webkit-scrollbar {
  display: none;
}

.certifications-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.certification-card {
  flex: 0 0 min(470px, 68vw);

  min-height: 500px;

  scroll-snap-align: center;

  position: relative;
  overflow: hidden;

  padding: 2rem;

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(26, 13, 46, 0.94),
      rgba(9, 0, 20, 0.94)
    );

  border: 1px solid rgba(139, 92, 246, 0.25);

  backdrop-filter: blur(16px);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.certification-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(168, 85, 247, 0.14),
      transparent 36%
    );

  pointer-events: none;
}

.certification-card:hover {
  transform: translateY(-7px);

  border-color: rgba(168, 85, 247, 0.62);

  box-shadow:
    0 18px 45px rgba(76, 29, 149, 0.2),
    0 0 35px rgba(139, 92, 246, 0.1);
}

.certification-card-featured {
  border-color: rgba(168, 85, 247, 0.42);
}

.certification-card-glow {
  position: absolute;

  width: 160px;
  height: 160px;

  top: -80px;
  right: -80px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.16),
    transparent 70%
  );

  pointer-events: none;
}

.certification-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 1.5rem;
}

.certification-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  padding: 0.38rem 0.75rem;

  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 999px;

  color: #86efac;

  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.certification-status i {
  font-size: 0.65rem;
}

.certification-number {
  font-family: "Orbitron", monospace;

  color: rgba(168, 85, 247, 0.45);

  font-size: 0.75rem;
  letter-spacing: 1px;
}

.certification-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1.4rem;

  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, 0.2),
      rgba(59, 130, 246, 0.08)
    );

  border: 1px solid rgba(168, 85, 247, 0.28);

  color: var(--neon-bright);

  font-size: 1.5rem;

  box-shadow:
    inset 0 0 20px rgba(139, 92, 246, 0.06),
    0 0 22px rgba(139, 92, 246, 0.08);
}

.certification-card h3 {
  max-width: 390px;

  margin-bottom: 0.7rem;

  color: var(--text-white);

  font-family: "Orbitron", monospace;

  font-size: 1.28rem;
  line-height: 1.45;
}

.certification-card h4 {
  margin-bottom: 0.5rem;

  color: var(--neon-bright);

  font-size: 1rem;
  line-height: 1.5;
}

.certification-date {
  display: block;

  margin-bottom: 1.35rem;

  color: var(--neon-purple);

  font-size: 0.86rem;
  font-weight: 700;
}

.certification-card p {
  color: var(--text-light);

  font-size: 0.94rem;
  line-height: 1.75;

  margin-bottom: 1.35rem;
}

.certification-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;

  margin-bottom: 1.5rem;
}

.certification-tags span {
  padding: 0.34rem 0.65rem;

  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 999px;

  background: rgba(139, 92, 246, 0.06);

  color: var(--text-light);

  font-size: 0.72rem;
  letter-spacing: 0.35px;
}

.certification-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  color: var(--neon-bright);

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.certification-link:hover {
  color: #c4b5fd;
  transform: translateX(4px);
}

.certifications-nav {
  flex: 0 0 auto;

  width: 44px;
  height: 44px;

  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 50%;

  background: rgba(26, 13, 46, 0.88);
  color: var(--neon-bright);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.certifications-nav:hover {
  background: rgba(139, 92, 246, 0.2);

  transform: scale(1.08);

  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.certifications-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  margin-top: 0.5rem;

  color: var(--text-muted);

  font-size: 0.82rem;
  letter-spacing: 0.6px;
}

.certifications-scroll-line {
  width: 45px;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-purple),
    transparent
  );
}

@media (max-width: 900px) {
  .certification-card {
    flex-basis: 78vw;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .certifications-intro {
    max-width: 92%;

    margin: -2rem auto 2.5rem;

    font-size: 0.95rem;
    line-height: 1.7;
  }

  .certifications-track {
    gap: 1rem;

    padding:
      0.75rem
      0
      1.25rem;
  }

  .certification-card {
    flex-basis: 88vw;
    min-height: 470px;

    padding: 1.5rem;
  }

  .certification-card h3 {
    font-size: 1.08rem;
  }

  .certification-card p {
    font-size: 0.9rem;
  }

  .certifications-nav {
    display: none;
  }

  .certifications-scroll-hint {
    font-size: 0.75rem;
  }

  .skills-intro {
    max-width: 92%;
    margin: -2rem auto 2.5rem;

    font-size: 0.95rem;
    line-height: 1.7;
    letter-spacing: 0.2px;
  }
  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .holographic-orb {
    width: 280px;
    height: 280px;
  }

  .orb-ring-outer {
    width: 260px;
    height: 260px;
  }

  .orb-ring-middle {
    width: 200px;
    height: 200px;
  }

  .orb-ring-inner {
    width: 140px;
    height: 140px;
  }

  .orb-core {
    width: 90px;
    height: 90px;
  }

  .orb-label {
    font-size: 8px;
    padding: 3px 7px;
  }

  .orb-label-react {
    left: calc(50% - 110px);
  }

  .orb-label-node {
    left: calc(50% + 82px);
  }

  .orb-label-python {
    left: calc(50% + 88px);
  }

  .orb-label-mongo {
    left: calc(50% - 115px);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(10, 0, 21, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    padding: 2rem 0;
  }

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

  .hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

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

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 3rem;
    padding-right: 0;
  }

  .timeline-item:nth-child(even) {
    left: 0 !important;
    padding-left: 3rem !important;
  }

  .timeline-marker {
    left: 10px !important;
  }

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

  .about-stats {
    justify-content: center;
  }

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

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

  .hero-profile {
    justify-content: center;
    margin-bottom: 1.25rem;
  }
  .hero-profile-ring {
    border: 2px solid rgba(139, 92, 246, 0.5);
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
  }

  .hero-profile-ring:hover {
    border-color: var(--neon-purple);
    transform: translateY(-3px);
    box-shadow:
      0 0 20px rgba(139, 92, 246, 0.35),
      0 0 45px rgba(139, 92, 246, 0.18);
  }
  .about-content {
    display: flex;
    flex-direction: column;
  }

  .about-visual {
    order: 1;
  }

  .about-text {
    order: 2;
  }
}

@media (max-width: 480px) {
    .education-card {
    flex-basis: 91vw;
    padding: 1.25rem;
  }
  .certification-card {
    flex-basis: 91vw;
    padding: 1.25rem;
  }

  .certification-card h3 {
    font-size: 1rem;
  }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .certifications-track {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .education-track {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}

  .holographic-orb {
    width: 230px;
    height: 230px;
  }

  .orb-ring-outer {
    width: 215px;
    height: 215px;
  }

  .orb-ring-middle {
    width: 165px;
    height: 165px;
  }

  .orb-ring-inner {
    width: 115px;
    height: 115px;
  }

  .orb-core {
    width: 76px;
    height: 76px;
  }

  .orb-core-title {
    font-size: 8px;
  }

  .orb-core-subtitle {
    font-size: 7px;
  }

  .orb-label {
    font-size: 7px;
    padding: 2px 5px;
  }

  .orb-label-react {
    left: calc(50% - 88px);
    top: calc(50% - 22px);
  }

  .orb-label-node {
    left: calc(50% + 75px);
    top: calc(50% - 45px);
  }

  .orb-label-python {
    left: calc(50% + 78px);
    top: calc(50% + 40px);
  }

  .orb-label-mongo {
    left: calc(50% - 90px);
    top: calc(50% + 45px);
  }

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

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

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .cube {
    width: 150px;
    height: 150px;
  }

  .face {
    width: 150px;
    height: 150px;
  }

  .face.front {
    transform: rotateY(0deg) translateZ(75px);
  }
  .face.back {
    transform: rotateY(180deg) translateZ(75px);
  }
  .face.right {
    transform: rotateY(90deg) translateZ(75px);
  }
  .face.left {
    transform: rotateY(-90deg) translateZ(75px);
  }
  .face.top {
    transform: rotateX(90deg) translateZ(75px);
  }
  .face.bottom {
    transform: rotateX(-90deg) translateZ(75px);
  }
  .hero-profile-ring {
    width: 92px;
    height: 92px;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

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

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

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

.hero-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.hero-profile-ring {
  position: relative;
  width: 132px;
  height: 132px;
  padding: 3px;
  border-radius: 50%;
  box-sizing: border-box;

  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.95),
    rgba(88, 28, 135, 0.9),
    rgba(59, 130, 246, 0.75)
  );

  box-shadow:
    0 0 20px rgba(124, 58, 237, 0.25),
    0 0 50px rgba(109, 40, 217, 0.12);

  isolation: isolate;
}

.hero-profile-ring::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #0a0a0f;
  z-index: -1;
}

.hero-profile-ring img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 2px solid rgba(15, 10, 25, 0.95);
  filter: brightness(0.92) contrast(1.04);
  box-sizing: border-box;
}

.hero-profile-ring:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 24px rgba(124, 58, 237, 0.32),
    0 0 60px rgba(109, 40, 217, 0.16);
}

.contact {
  position: relative !important;
  overflow: hidden !important;
  background: var(--primary-dark) !important;
  z-index: 1 !important;
}
.experience {
  background: var(--secondary-dark) !important;
}
.about {
  background: var(--primary-dark) !important;
}
.projects {
  background: var(--primary-dark) !important;
}
.skills {
  background: var(--secondary-dark) !important;
}

.contact-section-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.contact-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%238b5cf6" opacity="0.5"><animate attributeName="opacity" values="0.5;1;0.5" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1" fill="%23a855f7" opacity="0.7"><animate attributeName="opacity" values="0.7;1;0.7" dur="3s" repeatCount="indefinite"/></circle><circle cx="40" cy="70" r="1" fill="%23c084fc" opacity="0.6"><animate attributeName="opacity" values="0.6;1;0.6" dur="2.5s" repeatCount="indefinite"/></circle></svg>')
    repeat;
  animation: float 20s infinite linear;
}

.contact-neon-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 10s infinite linear;
}

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

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

/* Hide cube on desktop, show on mobile */
/* .hero-visual {
  display: none;
} */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

/* =========================================================
   FLYING IRON MAN EASTER EGG
   ========================================================= */
/* =========================================================
   RANDOM FLYING IRON MAN EASTER EGG
   ========================================================= */

#iron-man-flyby {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;

  pointer-events: none;
  overflow: hidden;

  /*
   * Behind page content, but above the base background.
   */
  z-index: 2;

  opacity: 0;
  visibility: hidden;
}

#iron-man-model {
  position: absolute;

  width: 300px;
  height: 300px;

  background: transparent;
  pointer-events: none;

  --poster-color: transparent;
}

#iron-man-flyby.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Keep actual website content above the fly-by layer */
.navbar {
  z-index: 1000;
}

.hero-content,
section > .container {
  position: relative;
  z-index: 10;
}

.education {
  position: relative;
  overflow: hidden;
}

.education-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.education-track {
  display: flex;
  gap: 1.5rem;

  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;

  padding: 1rem 0.5rem 1.5rem;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  cursor: grab;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.education-track::-webkit-scrollbar {
  display: none;
}

.education-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.education-card {
  flex: 0 0 min(560px, 72vw);
  scroll-snap-align: center;

  min-height: 280px;

  background:
    linear-gradient(
      145deg,
      rgba(26, 13, 46, 0.92),
      rgba(10, 0, 21, 0.88)
    );

  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 18px;

  padding: 2rem;

  backdrop-filter: blur(14px);

  position: relative;
  overflow: hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.education-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(168, 85, 247, 0.14),
      transparent 45%
    );

  pointer-events: none;
}

.education-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-purple);

  box-shadow:
    0 14px 35px rgba(139, 92, 246, 0.2),
    0 0 30px rgba(139, 92, 246, 0.08);
}

.education-status {
  display: inline-flex;
  align-items: center;

  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;

  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 999px;

  color: var(--neon-bright);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.education-card h3 {
  color: var(--text-white);
  font-family: "Orbitron", monospace;
  font-size: 1.45rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.education-card h4 {
  color: var(--neon-bright);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.education-date {
  display: block;
  color: var(--neon-purple);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.education-card p {
  color: var(--text-light);
  line-height: 1.75;
}

.education-card strong {
  color: var(--neon-light);
}

.education-nav {
  flex: 0 0 auto;

  width: 44px;
  height: 44px;

  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 50%;

  background: rgba(26, 13, 46, 0.88);
  color: var(--neon-bright);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.education-nav:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.education-scroll-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;

  margin-top: 0.5rem;

  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.6px;
}

.education-scroll-line {
  width: 45px;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-purple),
    transparent
  );
}

/* Tablet */
@media (max-width: 900px) {
  .education-card {
    flex-basis: 78vw;
  }

  .education-nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {

  .education-carousel {
    gap: 0.5rem;
  }

  .education-track {
    gap: 1rem;

    padding:
      0.75rem
      0
      1.25rem;

    scroll-padding-inline: 0.5rem;
  }

  .education-card {
    flex: 0 0 88vw;
    min-height: 260px;
    padding: 1.5rem;
  }

  .education-card h3 {
    font-size: 1.2rem;
  }

  .education-card h4 {
    font-size: 0.92rem;
  }

  .education-nav {
    display: none;
  }

  .education-scroll-hint {
    font-size: 0.75rem;
  }


  #iron-man-flyby {
    display: none;
  }
}
/* =========================================================
   HOLOGRAPHIC ORB
   ========================================================= */

.holographic-orb {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orb-float 6s ease-in-out infinite;
  isolation: isolate;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Outer ring */
.orb-ring-outer {
  width: 320px;
  height: 320px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-top-color: #a855f7;
  border-right-color: transparent;
  animation: orb-spin 18s linear infinite;
}

/* Middle ring */
.orb-ring-middle {
  width: 240px;
  height: 240px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-top-color: transparent;
  border-right-color: #22d3ee;
  animation: orb-spin-reverse 12s linear infinite;
}

/* Inner ring */
.orb-ring-inner {
  width: 170px;
  height: 170px;
  border: 1px dashed rgba(168, 85, 247, 0.4);
  animation: orb-spin 18s linear infinite;
}

/* Orbiting dots */
.orb-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb-dot-1 {
  width: 10px;
  height: 10px;
  background: #a855f7;
  box-shadow:
    0 0 12px #a855f7,
    0 0 24px #7c3aed;
  animation: orb-orbit-1 8s linear infinite;
}

.orb-dot-2 {
  width: 8px;
  height: 8px;
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee;
  animation: orb-orbit-2 12s linear infinite;
}

.orb-dot-3 {
  width: 6px;
  height: 6px;
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
  animation: orb-orbit-3 5s linear infinite;
}

/* Core */
.orb-core {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2d0060, #0e001e);
  border: 1px solid rgba(168, 85, 247, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  animation: orb-pulse-glow 3s ease-in-out infinite;
  z-index: 2;
}

.orb-core-title {
  font-family: "Orbitron", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #a855f7;
  text-shadow:
    0 0 8px #a855f7,
    0 0 20px #7c3aed;
}

.orb-core-line {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
}

.orb-core-subtitle {
  font-family: "Orbitron", monospace;
  font-size: 9px;
  color: #22d3ee;
  letter-spacing: 2px;
}

/* Floating labels */
.orb-label {
  position: absolute;
  font-family: "Orbitron", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(6, 0, 17, 0.8);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orb-label-react {
  left: calc(50% - 135px);
  top: calc(50% - 30px);
  color: #22d3ee;
  text-shadow: 0 0 8px #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.27);
}

.orb-label-node {
  left: calc(50% + 100px);
  top: calc(50% - 60px);
  color: #a855f7;
  text-shadow: 0 0 8px #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.27);
}

.orb-label-python {
  left: calc(50% + 110px);
  top: calc(50% + 50px);
  color: #10b981;
  text-shadow: 0 0 8px #10b981;
  border: 1px solid rgba(16, 185, 129, 0.27);
}

.orb-label-mongo {
  left: calc(50% - 148px);
  top: calc(50% + 55px);
  color: #f59e0b;
  text-shadow: 0 0 8px #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.27);
}

/* Animations translated from Figma */
@keyframes orb-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes orb-pulse-glow {
  0%,
  100% {
    box-shadow:
      0 0 20px rgba(124, 58, 237, 0.33),
      0 0 40px rgba(124, 58, 237, 0.13);
  }

  50% {
    box-shadow:
      0 0 40px rgba(168, 85, 247, 0.53),
      0 0 80px rgba(168, 85, 247, 0.27);
  }
}

@keyframes orb-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes orb-spin-reverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes orb-orbit-1 {
  from {
    transform: rotate(0deg) translateX(90px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(90px) rotate(-360deg);
  }
}

@keyframes orb-orbit-2 {
  from {
    transform: rotate(120deg) translateX(130px) rotate(-120deg);
  }

  to {
    transform: rotate(480deg) translateX(130px) rotate(-480deg);
  }
}

@keyframes orb-orbit-3 {
  from {
    transform: rotate(240deg) translateX(60px) rotate(-240deg);
  }

  to {
    transform: rotate(600deg) translateX(60px) rotate(-600deg);
  }
}

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

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--neon-purple);
  border-bottom: 2px solid var(--neon-purple);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}
/* =========================================================
   FINAL HERO / ORB LAYOUT
   ========================================================= */

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  min-width: 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.holographic-orb {
  position: relative;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-visual {
    display: flex;
    width: 100%;
  }

  .holographic-orb {
    width: 280px;
    height: 280px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-content {
    padding: 0 16px;
  }

  .holographic-orb {
    width: 230px;
    height: 230px;
  }
}
/* =========================================================
   FINAL HERO / ORB LAYOUT
   ========================================================= */

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  min-width: 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.holographic-orb {
  position: relative;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-visual {
    display: flex;
    width: 100%;
  }

  .holographic-orb {
    width: 280px;
    height: 280px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-content {
    padding: 0 16px;
  }

  .holographic-orb {
    width: 230px;
    height: 230px;
  }
}
