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: 40px auto;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.highlight {
  color: #b366ff;
}

/* Projects Section */
.section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(179, 136, 255, 0.3);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 350px;
  text-align: left;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(179, 136, 255, 0.4);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 1.2rem;
}
.project-content h3 {
  color: #b366ff;
  margin-bottom: 10px;
}
.project-content p {
  font-size: 0.95rem;
  color: #ddd;
  margin-bottom: 15px;
}
.project-content .btn {
  display: inline-block;
  background: #b366ff;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}
.project-content .btn:hover {
  background: #a24dff;
  box-shadow: 0 0 10px #b366ff;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    nav{
        display: flex;
        flex-direction: column;
        padding: 0.6rem;
    }

  .nav-links {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 10px;
  }
  .github-btn {
    margin-top: 10px;
  }
  h1 {
    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%;
    }
  }