/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f4;
}

h1,
h2,
h3 {
  color: #333;
}

p {
  color: #555;
}

/* Header */
header {
  background-color: #2c3e50;
}

nav {
  display: flex;
  justify-content: space-between;
  list-style: none;
  align-items: center;
  padding: 0;
  margin-left: 20px;
}
.logo {
  color: white;
  font-size: 20px;
  font-weight: bold;
}
.nav-links {
  display: flex;
  margin-right: 20px;
  list-style: none;
}
nav li {
  margin: 0 15px;
}

nav li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

/* Hero Section */
.hero {
  color: white;
  text-align: center;
  padding: 50px 0;
}

.hero h1 {
  font-size: 36px;
  margin: 0 0 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #e74c3c;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
}

.cta-button:hover {
  background-color: #c0392b;
}

/* Services Section */
.services {
  padding: 50px 20px;
  text-align: center;
}

.service-list {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allows the items to wrap to the next line if needed */
  justify-content: center; /* Distributes space evenly between items */
}

.service {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: 250px; /* Prevent the items from shrinking too small */
  max-width: 350px; /* Prevent the items from getting too large */
}

/* Optional: Media query for smaller screens (mobile) */
@media (max-width: 768px) {
  .service-list {
    gap: 15px;
    justify-content: center; /* Center items on smaller screens */
  }

  .service {
    flex: 1 1 200px; /* Allow the items to shrink more on smaller screens */
    min-width: 200px; /* Prevent items from becoming too small */
  }
}

.service h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* About Section */
.about {
  background-color: #ecf0f1;
  padding: 50px 20px;
  text-align: center;
}

.about p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  padding: 50px 20px;
  text-align: center;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
}

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

.contact button {
  background-color: #2c3e50;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
}

.contact button:hover {
  background-color: #34495e;
}

/* Footer */
footer {
  background-color: #34495e;
  text-align: center;
  padding: 10px 0;
  width: 100%;
  bottom: 0;
}
footer p {
  color: white !important;
}
