:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --danger-color: #dc3545;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --background-color: #ffffff;
  --text-color: #333333;
  --header-footer-background: #e9ecef;
  --hero-background: #007bff;
  --hero-text-color: #ffffff;
  --container-max-width: 1100px;
  --spacing-unit: 1rem;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

header {
  background-color: var(--header-footer-background);
  padding: var(--spacing-unit) 0;
  border-bottom: 3px solid var(--primary-color);
}

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

#branding h1 {
  margin: 0;
  font-size: 2.5rem;
  color: var(--dark-color);
}

#branding span.highlight {
  color: var(--primary-color);
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li {
  display: inline;
  margin-left: var(--spacing-unit);
}

nav a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-color);
}

.hero-section {
  background-color: var(--hero-background);
  color: var(--hero-text-color);
  padding: 5rem 0;
  text-align: center;
}

.hero-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.button-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.8rem 1.8rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.button-primary:hover {
  background-color: #0056b3;
}

section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--dark-color);
}

#services .service-item,
#testimonials .testimonial-item {
  background-color: var(--light-color);
  padding: 2rem;
  margin-bottom: var(--spacing-unit);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#services .service-item h3 {
  color: var(--primary-color);
  margin-top: 0;
}

#testimonials .testimonial-item {
  text-align: center;
}

#testimonials .testimonial-item p {
  font-style: italic;
  font-size: 1.1rem;
}

#testimonials .testimonial-item h4 {
  margin-top: 1rem;
  color: var(--secondary-color);
}

#contact {
  background-color: var(--header-footer-background);
}

#contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-unit);
}

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

#contact textarea {
  resize: vertical;
  min-height: 150px;
}

footer {
  background-color: var(--header-footer-background);
  color: var(--secondary-color);
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav ul li {
    display: block;
    margin: 0.5rem 0;
  }

  .hero-section h2 {
    font-size: 2.5rem;
  }

  section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  #services .service-item,
  #testimonials .testimonial-item {
    margin-bottom: 1rem;
  }
}