html {
  scroll-behavior: smooth;
}

.section {
  padding: 120px 96px;
  color: white;
  background-color: black;
  display: flex;
}

.hero h1,
.offer h1,
.choose-us h1,
.contact h1 {
  font-size: 50px;
}

.about-us {
  flex-direction: column;
  gap: 50px;
}

.about-us img {
  height: 400px;
  border-radius: 5px;
}

.about-us h1 {
  margin-bottom: 15px;
}

.offer,
.choose-us,
.contact {
  gap: 50px;
}

.offer > div,
.choose-us > div {
  gap: 40px;
}

.offer h3 {
  font-size: 24px;
}

.offer h3,
.offer p {
  margin-bottom: 15px;
}

img {
  border-radius: 5px;
}

.choose-us {
  flex-direction: column;
}

.choose-us-text {
  gap: 48px;
}

.choose-us h3 {
  font-size: 20px;
  font-weight: bold;
}

.contact {
  position: relative;
  background-image: url("../../assets/images/Contact Us Page  Background Image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust color and opacity as needed */
  z-index: 1;
}

/* Ensures that the content within .contact is above the overlay */
.contact > * {
  position: relative;
  z-index: 2;
}

.contact p {
  margin-bottom: 20px;
}

form input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 5px;
  background-color: transparent;
  border: 1px solid #fff;
}

form input::placeholder {
  color: white;
}

form button {
  width: 100%;
  padding: 10px;
  background-color: #fff;
  color: black;
  border-radius: 5px;
}

.footer {
  padding: 30px 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .section {
    padding: 30px 20px;
  }

  .hero h1,
  .offer h1,
  .choose-us h1,
  .contact h1 {
    font-size: 40px;
  }
  .about-us img {
    height: 220px;
  }
  .offer > div,
  .choose-us > div,
  .contact > div {
    gap: 25px;
  }

  .offer,
  .choose-us,
  .contact {
    gap: 20px;
  }

  .choose-us-text {
    gap: 24px;
  }

  .offer h3,
  .offer p {
    margin-bottom: 10px;
  }

  .offer h3 {
    text-align: center;
  }
}
