* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9fafb;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  display: flex;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}

#navbar ul {
  display: flex;
  list-style: none;
}

#navbar li {
  margin: 0 15px;
}

#navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

#navbar a:hover {
  color: #00bcd4;
}

/* Welcome Section */
#welcome-section {
  height: 100vh;
  background: linear-gradient(135deg, #00bcd4, #3f51b5);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#welcome-section h1 {
  font-size: 3rem;
}

#welcome-section p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* About Section */
#about {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

#about h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #3f51b5;
}

#about p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #555;
}

/* Projects Section */
#projects {
  padding: 4rem 2rem;
  background: #f5f7fa;
  text-align: center;
}

#projects h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #3f51b5;
}

.project-tile {
  background: #fff;
  margin: 1rem auto;
  padding: 1.5rem;
  max-width: 650px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-tile h3 {
  font-size: 1.5rem;
  color: #333;
}

.project-tile p {
  margin: 1rem 0;
  color: #555;
}

.project-tile a {
  color: #3f51b5;
  text-decoration: none;
  font-weight: bold;
}

.project-tile a:hover {
  text-decoration: underline;
}

/* Contact Section */
#contact {
  padding: 3rem 2rem;
  background: #00bcd4;
  color: white;
  text-align: center;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-links {
  margin-top: 1.5rem;
}

.contact-links a {
  display: inline-block;
  margin: 0.5rem 1rem;
  background: white;
  color: #00bcd4;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.contact-links a:hover {
  background: #e0f7fa;
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Responsive Design */
@media (max-width: 600px) {
  #welcome-section h1 {
    font-size: 2.2rem;
  }

  #about h2, #projects h2, #contact h2 {
    font-size: 2rem;
  }

  .contact-links a {
    display: block;
    margin: 10px auto;
  }
}
