/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: darkcyan;
  color: #fff;
  line-height: 1.6;
}

/* Nav Bar */
nav {
  background-color: rgb(170, 170, 134);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: darkcyan;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #006666, #009999);
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero .btn {
  background: #fff;
  color: darkcyan;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s ease;
}

.hero .btn:hover {
  background: black;
  color: #fff;
}

/* About Section */
.about {
  padding: 3rem 2rem;
  background: #007a7a;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  padding: 3rem 2rem;
  background: #006060;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-box {
  background: #009999;
  padding: 1.5rem;
  margin: 1rem auto;
  border-radius: 10px;
  max-width: 400px;
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: scale(1.05);
}

/* Projects Section */
.projects {
  padding: 3rem 2rem;
  background: #005555;
  text-align: center;
}

.projects h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.project-card {
  background: #008080;
  padding: 1.5rem;
  margin: 1rem auto;
  border-radius: 10px;
  max-width: 400px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact {
  padding: 3rem 2rem;
  background: #004d4d;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: auto;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
}

.contact button {
  padding: 0.8rem;
  background: #fff;
  color: darkcyan;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact button:hover {
  background: black;
  color: #fff;
}

/* Footer */
footer {
  background: rgb(170, 170, 134);
  text-align: center;
  padding: 1rem;
  color: black;
  font-weight: bold;
}

footer .socials a {
  text-decoration: none;
  margin: 0 0.5rem;
  color: black;
  transition: color 0.3s ease;
}

footer .socials a:hover {
  color: darkcyan;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
