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;
}
  /* Container */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
  }
  
  /* Headings */
  h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #fff;
  }
  h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  /* Intro Section */
  .intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
  }
  
  .intro-text {
    flex: 1;
    min-width: 280px;
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  .intro-text ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
  }
  .intro-text li {
    margin: 10px 0;
    font-size: 1rem;
  }
  .intro-text i {
    color: #b388ff;
    margin-right: 10px;
  }
  
  .intro-img {
    flex: 1;
    min-width: 220px;
    display: flex;
    justify-content: center;
  }
  .intro-img img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(179, 136, 255, 0.3);
    animation: float 3s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  /* Sections & Cards */
  .section {
    margin-top: 60px;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 100px;
    justify-items: center;
    margin-top: 20px;
  }
  
  .card {
    border: 2px solid #b388ff;
    border-radius: 15px;
    padding: 25px;
    width: 100%;
    max-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
  }
  .card:hover {
    background-color: rgba(179, 136, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(179, 136, 255, 0.5);
  }
  
  .card i {
    font-size: 2rem;
    color: #fff;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .intro { flex-direction: column; text-align: center; }
    .intro-text ul { text-align: center; }
  }
  

  /* 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 {
    color: #b366ff;
  }


  /* Responsive */
  @media (max-width: 786px) {
    .navbar {
      flex-direction: column;
      gap: 0.6rem;
    }

    .nav-links{
      gap: 0.6rem;
    }

    ul{
      padding: 0%;
    }

    .card{
      width: 60%;
    }

    .grid{
      gap: 30px;
    }
  
  }

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