body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #fdfdfd;
  color: #333;
}

header {
  background: #1e1e2f;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

nav a.active {
  font-weight: bold;
  text-decoration: underline;
}


.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 1rem;
}
.profile-pic {
  width: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0.5rem 0;
}
.hero p {
  color: #555;
}

/* Projects Grid */
.projects {
  padding: 2rem;
}
.projects h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(180, 99, 149, 0.764);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-5px);
}

.github-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.github-section h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #bf4c88;
}

.github-section p {
  color: #555;
  margin-bottom: 40px;
}

.github-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.github-cards img {
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.github-cards img:hover {
  transform: translateY(-5px);
}

#github-repos {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

#github-repos li a {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}

#github-repos li a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  color: #fff;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }
  .nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

/* Social Media */
.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #333;
  color: white;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #ff00d0;
}