* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2c3e50;
  padding: 1rem 2rem;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background: url('images/hero.jpg') no-repeat center center/cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.services {
  padding: 2rem;
  text-align: center;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 300px;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 0.5rem;
}

.card p {
  padding: 0 0.5rem 1rem;
}

.calculator {
  padding: 2rem;
  background: #ecf0f1;
  text-align: center;
}

.calculator-form input {
  margin: 0.5rem;
  padding: 0.7rem;
  width: 200px;
}

.calculator-form button {
  padding: 0.7rem 2rem;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 1rem;
}

#result {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.contact {
  padding: 2rem;
  text-align: center;
}

footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .calculator-form input {
    width: 90%;
  }
}
