/* Reset some basic elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #8597c7;
  color: #333;
  line-height: 1.6;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background: url("./img/hero-bg.jpg") no-repeat center center/cover;
  position: relative;
  padding: 4rem 0;
  color: black;
  text-align: center;
}

.overlay {
  background-color: #f4f4f4;
  padding: 3rem 2rem;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

/* Contact Section */
.contact {
  background-color: #fff;
  color: black;
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-info a {
  color: #0077cc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Before/After Images */
.before-image,
.after-image {
  width: 48%;
  display: inline-block;
  text-align: center;
  margin-top: 2rem;
}

.before-image img,
.after-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.before-image span,
.after-image span {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
}

/* Responsive layout */
@media (max-width: 768px) {
  .before-image,
  .after-image {
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
