* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0f172a;
  color: #fff;
  overflow-x: hidden;
}

/* Background animation */
.bg-animation {
  position: fixed;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top, #6366f1, #0f172a 70%);
  z-index: -1;
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
}
.logo span {
  color: #6366f1;
}

/* Desktop Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: 0.3s;
}

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

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 26px;
  background: #fff;
  margin: 4px 0;
  transition: 0.4s;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    transform: translateY(-120%);
    transition: 0.4s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 span {
  color: #6366f1;
}

.btn {
  margin-top: 20px;
  padding: 12px 28px;
  background: #6366f1;
  border: none;
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
}
.btn:hover {
  transform: scale(1.05);
}

/* Sections */
.section {
  padding: 100px 10%;
  text-align: center;
}

.section h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

/* Glass Effect */
.glass {
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

/* Cards */
.card {
  background: rgba(255,255,255,0.08);
  padding: 25px;
  border-radius: 16px;
  margin: 20px auto;
  max-width: 500px;
}

/* Social */
.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.social-links a {
  padding: 12px 22px;
  border: 1px solid #6366f1;
  border-radius: 30px;
  text-decoration: none;
  color: #fff;
}
.social-links a:hover {
  background: #6366f1;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  opacity: 0.7;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay { transition-delay: 0.3s; }
.delay2 { transition-delay: 0.6s; }
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #6366f1;
  box-shadow: 0 0 40px rgba(99,102,241,0.6);
  animation: float 4s ease-in-out infinite;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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