/* General Styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Header and Navigation */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #007bff;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-row ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.header-row ul li {
  margin: 0 15px;
}

.header-row ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

.header-row ul li a:hover {
  color: #f8d62b;
}

/* Hero Section */
#home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: chocolate;
  padding: 100px 20px;
}

#home h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

#home h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: firebrick;
}

#home img {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Projects Section */
#projects {
  padding: 50px 20px;
  background-color: #f8f9fa;
}

#projects h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #007bff;
}

.box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
}

.box:hover {
  transform: scale(1.05);
}

/* Services Section */
#services {
  padding: 50px 20px;
  background-color: lightblue;
}

#services h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #007bff;
}

/* About Section */
#about {
  padding: 50px 20px;
}

#about h1 {
  text-align: center;
  color: #007bff;
}

#about h2 {
  margin-top: 30px;
  color: crimson;
}

#about p {
  text-align: center;
  margin-top: 10px;
}

/* Contact Section */
#contact {
  padding: 50px 20px;
  background-color: lightgoldenrodyellow;
}

#contact h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #007bff;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #0056b3;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #007bff;
  color: white;
  margin-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.box {
  animation: fadeInUp 0.5s ease-in-out;
}

/* Media Queries */
@media (max-width: 768px) {
  #home {
      flex-direction: column;
      text-align: center;
  }

  #home img {
      margin-top: 20px;
      width: 100%;
  }

  .header-row ul {
      flex-direction: column;
  }

  .box {
      width: 100%;
      margin-bottom: 20px;
  }
}
