body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top left, #0b001a 0%, #120029 100%);
  color: #fff;
  overflow-x: hidden;
}

a {
  color: #b388ff;
  text-decoration: none;
  transition: 0.3s;
}
a:hover { text-decoration: underline; }

h1 {
  text-align: center;
  margin-top: 3rem;
  font-size: 2rem;
  color: #fff;
}
h1 i {
  color: #b366ff;
  margin-right: 10px;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 10%;
  background: transparent;
  font-size: 1.1rem;
}

.logo {
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  color: #b366ff;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #b366ff;
}

.github-btn {
  background: #b366ff22;
  border: 1px solid #b366ff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  color: #fff;
  transition: 0.3s;
}
.github-btn:hover {
  background: #b366ff44;
}
  
  /* Hero Section */
  .hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 90vh;
    padding: 2rem 10%;
    flex-wrap: wrap;
    text-align: left;
  }
  
  .hero-text {
    font-size: 4rem;
    max-width: 600px;
  }

  .hero-text h1{
    font-size: 4rem;
  }

  .hero-text h2{
    font-size: 3rem;
  }
  

  #wave {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: wave-animation 2s infinite;
  }
  
  @keyframes wave-animation {
    0%, 60%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20%, 40% { transform: rotate(-8deg); }
  }
  
  .highlight {
    color: #cd5ff8;
  }
  
  .changing {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #cd5ff8;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
  }
  
  .hero-img img {
    height: 40vh;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(179, 102, 255, 0.4);
    transition: transform 0.4s ease;
  }
  
  .hero-img img:hover {
    transform: scale(1.05);
  }
  
  /* About Section */
  .about-section {
    /* background: radial-gradient(circle at top left, #100025, #0a001a); */
    background: transparent;
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
  }
  
  .about-text {
    flex: 1;
    min-width: 300px;
  }
  
  .about-text h1 {
    font-size: 3.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }
  
  .about-text .highlight {
    color: #b366ff;
  }
  
  .about-text p {
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: #dcdcdc;
  }
  
  .purple {
    color: #b366ff;
    font-style: italic;
  }
  
  /* About Image */
  .about-image {
    flex: 1;
    text-align: center;
  }
  
  .about-image img {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #b366ff;
    box-shadow: 0 0 30px rgba(179, 102, 255, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(179, 102, 255, 0.6);
  }
  
  /* Responsive */
  @media (max-width: 786px) {
    .navbar {
      flex-direction: column;
      gap: 0.6rem;
    }

    .nav-links{
      gap: 0.6rem;
    }
  
    .hero {
      flex-direction: column-reverse;
      text-align: center;
    }
  
    .hero-text {
      font-size: 1.8rem;
    }
  
    .about-container {
      flex-direction: column-reverse;
      text-align: center;
    }
  
    .about-text h1 {
      text-align: center;
    }

    .about-section {
      padding: 40px 20px;
    }
  
    .about-container {
      display: flex;
      flex-direction: column-reverse;
      align-items: center;
      text-align: center;
    }
  
    .about-text {
      width: 100%;
      font-size: 1rem;
      line-height: 1.7;
    }
  
    .about-text h1 {
      font-size: 1.6rem;
      margin-bottom: 20px;
    }
  
    .about-text p {
      margin-bottom: 15px;
    }
  
    .purple {
      color: #b388ff;
      font-weight: 600;
    }
  
    .about-image {
      margin-top: 25px;
    }
  
    .about-image img {
      width: 80%;
      max-width: 280px;
      height: auto;
      border-radius: 50%;
      box-shadow: 0 0 15px rgba(179, 136, 255, 0.3);
    }
  }
  
  /* 📱 Extra small phones (under 480px) */
  @media (max-width: 786px) {
    .about-text h1 {
      font-size: 1.4rem;
    }
  
    .about-text p {
      font-size: 0.9rem;
    }
  
    .about-image img {
      width: 90%;
      max-width: 240px;
    }
    .container {
      padding: 40px 20px;
      text-align: center;
    }
  
    .intro {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 25px;
    }
  
    .intro-text {
      width: 100%;
      font-size: 1rem;
      line-height: 1.6;
    }
  
    .intro-text p {
      margin-bottom: 15px;
    }
  
    .intro-text ul {
      list-style: none;
      padding: 0;
    }
  
    .intro-text li {
      margin: 10px 0;
      font-size: 0.95rem;
    }
  
    .intro-text li i {
      margin-right: 8px;
      color: #b366ff;
    }
  
    .intro-img img {
      width: 80%;
      max-width: 250px;
      border-radius: 10px;
      box-shadow: 0 0 15px rgba(179, 136, 255, 0.3);
    }
  
    .section h2 {
      font-size: 1.5rem;
      margin-top: 40px;
      margin-bottom: 15px;
    }
  
    .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
      justify-items: center;
    }
  
    .card {
      width: 70px;
      height: 70px;
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      transition: transform 0.3s;
    }
  
    .card:hover {
      transform: scale(1.05);
    }

    .hero-text {
      font-size: 3rem;
      max-width: 600px;
    }
  
    .hero-text h1{
      font-size: 3rem;
    }
  
    .hero-text h2{
      font-size: 2rem;
    }
  }
  

    /* ===== Responsive ===== */
    @media (max-width: 786px) {
      .navbar {
        flex-direction: column;
        gap: 0.6rem;
      }
      .nav-links { gap: 0.6rem; }
      ul { padding: 0; }
    
      .experience-section {
        width: 90%;
      }
    }