/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Styles */
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

h2 {
  margin-bottom: 1rem;
}

/* Header */
header {
  background: #111;
  color: #fff;
  padding: 1rem 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00bcd4;
}

/* Hero */
#hero {
  background: linear-gradient(to right, #00bcd4, #0097a7);
  color: white;
  text-align: center;
  padding: 6rem 1rem;
}

#hero h2 {
  font-size: 2.5rem;
}

#hero span {
  color: #fff176;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #fff;
  color: #0097a7;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn:hover {
  background-color: #00bcd4;
  color: white;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.alt-bg {
  background-color: #eef7f9;
}

/* Bio Section */
.bio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.bio-text {
  max-width: 700px;
  text-align: left;
}

/* Projects */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 280px;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card a {
  display: inline-block;
  margin-top: 1rem;
  color: #00bcd4;
  text-decoration: none;
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

input, textarea {
  width: 80%;
  max-width: 500px;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

textarea {
  height: 120px;
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  color: #0097a7;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
}