.line-box2 {
  fill: #ffcc00;
  margin-bottom: -5px;
  width: 100%;
}

.servicesIntroduction {
  background-color: #ffcc00;
  margin: auto;
  padding-top: 7%;
  padding-bottom: 5%;
  text-align: center;
  width: 100%;
}

.servicesIntroduction h3 {
  margin-bottom: 40px;
  font-size: 50px;
  font-weight: 900;
  color: #ffffff;
}

.servicesIntroduction p {
  font-size: 30px;
  width: 70%;
  margin: auto;
}

.offers {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  background-color: #ffcc00;
  padding-bottom: 120px;
}

.offers .tile {
  position: relative;
  width: 400px;
  height: 450px;
  border-radius: 20px;
  text-align: center;
  margin-top: 5%;
  overflow: hidden;
  transition: filter 0.3s;
  cursor: pointer;
}

.offers .tile-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.offers .tile h3 {
  position: absolute;
  bottom: 50%;
  left: 50%;
  font-size: 30px;
  transform: translate(-50%, 50%); /* Міняємо знак, щоб текст був під кнопкою */
  margin: 0;
  padding: 10px;
  color: #ffffff;
  transition: bottom 0.3s;
}

.offers .tile .btn {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background-color: transparent;
  color: #ffffff;
  font-weight: 800;
  border: 2px solid #ffffff;
  text-decoration: none;
  border-radius: 5px;
  opacity: 0;
  transition: bottom 0.3s, opacity 0.3s;
}

.offers .tile:hover {
  filter: brightness(80%);
}

.offers .tile:hover h3 {
  bottom: 70%;
}

.offers .tile:hover .btn {
  bottom: 45%;
  opacity: 1;
}

.line-box3 {
  fill: #ffcc00;
  background-color: black;
  margin-top: -20px;
  width: 100%;
}