/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Global styles */
body {
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* Header and Navbar */
header {
  background: #222;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  color: #00adb5;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #eee;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00adb5;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(to right, #222, #393e46);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
}

.hero h2 span {
  color: #00adb5;
}

.hero .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  background: #00adb5;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.hero .btn:hover {
  background: #00929b;
}

/*  About Section */
.about {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.about h2 {
  color: #00adb5;
  margin-bottom: 1rem;
}

/* Projects Section */
.projects {
  padding: 4rem 2rem;
  background: #f0f0f0;
  text-align: center;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  border-radius: 10px;
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact .btn {
  background: #00adb5;
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 5px;
  cursor: pointer;
}

.contact .btn:hover {
  background: #00929b;
}

/* Footer */
footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #00adb5;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.5rem;
  display: none;
  transition: 0.3s;
}

#scrollTopBtn:hover {
  background: #00929b;
}
