* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: radial-gradient(circle at top, #050a1f, #020617);
  color: #e5e7eb;
}

/* HERO */
.hero {
  text-align: center;
  padding: 100px 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Futuristic animated background */
.intro-bg {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,211,238,0.45), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(99,102,241,0.45), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(14,165,233,0.35), transparent 40%),
    linear-gradient(135deg, #020617, #050a1f);
  animation: bgMove 18s infinite alternate ease-in-out;
  overflow: hidden;
}


/* Grid overlay for AI look */
.intro-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridScroll 20s linear infinite;
  z-index: 0;
}


/* Glow animation */
.intro-bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle, rgba(34,211,238,0.15) 2px, transparent 3px),
    radial-gradient(circle, rgba(99,102,241,0.15) 2px, transparent 3px),
    radial-gradient(circle, rgba(14,165,233,0.15) 2px, transparent 3px);
  background-size: 120px 120px;
  animation: particlesFloat 30s linear infinite;
  z-index: 0;
}


/* Keep content above background */
.hero * {
  position: relative;
  z-index: 1;
}

@keyframes pulseGlow {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 0.8;
  }
}


.profile-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.profile-pic {
  width: 200px;      /* increased size */
  height: 200px;     /* increased size */
  border-radius: 50%;
  border: 5px solid #00f2ff;
  box-shadow: 0 0 35px rgba(0, 242, 255, 0.9);
  object-fit: cover;
}



.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
  color: #020617;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 0 20px #22d3ee;
}

/* NAVBAR */
.navbar {
  background: #020617;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar a {
  color: #38bdf8;
  padding: 15px 20px;
  text-decoration: none;
}

.navbar a:hover {
  color: #22d3ee;
}

/* SECTIONS */
.section {
  padding: 50px 20px;
  max-width: 1000px;
  margin: auto;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  margin-bottom: 40px;
  padding: 30px;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

.section h2 {
  color: #38bdf8;
  margin-bottom: 20px;
}

/* LISTS */
.skills, .certs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.skills li, .certs li {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px;
  border-left: 4px solid #22d3ee;
}

/* PROJECTS */
.project {
  background: rgba(0, 0, 0, 0.4);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
}

/* FOOTER */
footer {
  background: #020617;
  text-align: center;
  padding: 15px;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.delay { animation-delay: 0.4s; }
.delay2 { animation-delay: 0.8s; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .profile-pic {
    width: 140px;
    height: 140px;
  }
}

@keyframes bgMove {
  0% {
    background-position:
      20% 20%,
      80% 30%,
      50% 80%,
      0% 0%;
  }
  100% {
    background-position:
      30% 40%,
      70% 20%,
      60% 60%,
      100% 100%;
  }
}

@keyframes gridScroll {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 80px, 80px 0;
  }
}

@keyframes particlesFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-200px);
  }
}



