/* General Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f8f8f8;
  line-height: 1.6;
}

header {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
}

header a {
  color: #0071e3;
  text-decoration: none;
  font-weight: 600;
}

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

.hero {
  background-color: #f5f5f7;
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3em;
  color: #1d1d1f;
}

.hero p {
  font-size: 1.5em;
  color: #666;
}

.hero a.cta {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.about, .services, .portfolio, .testimonials, .contact {
  padding: 60px 20px;
  text-align: center;
}

.about h2, .services h2, .portfolio h2, .testimonials h2, .contact h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.1em;
  color: #555;
}

/* Key Projects Section */
#projects ul {
  list-style-type: none;
  padding: 0;
}

#projects li {
  margin: 20px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-in-out;
}

#projects li.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Services Section */
.services div {
  display: inline-block;
  width: 30%;
  margin: 10px;
}

/* Contact Form */
.contact form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

.contact input, .contact textarea {
  margin-bottom: 20px;
  padding: 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  padding: 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  font-size: 1.2em;
  border-radius: 5px;
}

/* Footer */
footer {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
  color: #666;
}

footer a {
  color: #0071e3;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services div {
      width: 100%;
      margin-bottom: 20px;
  }
  .hero h1 {
      font-size: 2.2em;
  }
  .hero p {
      font-size: 1.1em;
  }
}
