* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
}

.reside-img-formlink {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 50px auto;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.slider {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  width: 120%;
  animation: slide 12s infinite;
}

.slides img {
  margin: 5px;
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

@keyframes slide {
  0% {
    transform: translateX(0%);
  }
  33% {
    transform: translateX(-100%);
  }
  66% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0%);
  }
}

.residential-content {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.residential-content h2 {
  margin-bottom: 20px;
  font-size: 2em;
  color: #333;
}

.residential-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.book-btn {
  margin-top: 20px;
}

.book-btn a {
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.book-btn button {
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.book-btn button:hover {
  background-color: #0056b3;
}

.residential-box {
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 1200px;
  margin: auto;
}

.residential-content {
  text-align: left;
  flex: 1;
  min-width: 300px;
  padding: 30px;
}

.company-name {
  color: darkgreen;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
}

.residential-content h2 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #333;
}

.residential-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 10px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  width: 45%;
  font-size: 0.95rem;
  color: #333;
}

.feature-item i {
  font-size: 1.2rem;
  color: darkgreen;
  margin-right: 10px;
}

.image-box {
  flex: 1;
  min-width: 300px;
  background: url("residencial17.png") center center / cover no-repeat;
}

@media (max-width: 768px) {
  .company-name {
    padding-top: 35px;
  }
  .reside-img-formlink {
    flex-direction: column;
  }

  .residential-content {
    padding: 20px;
  }

  .residential-content h2 {
    font-size: 1.5em;
  }

  .residential-box {
    flex-direction: column;
  }

  .feature-item {
    width: 100%;
  }

  .image-box {
    height: 250px;
  }
}
