.amenities-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 5%;
  /* background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); */
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  color: #000000;
}

.amenities-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 40px;
  max-width: 1300px;
  width: 100%;
}

.amenities-image {
  flex: 1 1 45%;
  min-width: 280px;
}

.amenities-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.amenities-grid {
  flex: 1 1 45%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.amenity {
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(5, 5, 5, 0.15);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.amenity:hover {
  background: rgba(255, 215, 0, 0.15);
  transform: translateY(-4px);
  border-color: gold;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.25);
}

/* Fade animation */
.fade-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.fade-anim:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-anim:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-anim:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-anim:nth-child(4) {
  animation-delay: 0.4s;
}
.fade-anim:nth-child(5) {
  animation-delay: 0.5s;
}
.fade-anim:nth-child(6) {
  animation-delay: 0.6s;
}
.fade-anim:nth-child(7) {
  animation-delay: 0.7s;
}
.fade-anim:nth-child(8) {
  animation-delay: 0.8s;
}
.fade-anim:nth-child(9) {
  animation-delay: 0.9s;
}
.fade-anim:nth-child(10) {
  animation-delay: 1s;
}
.fade-anim:nth-child(11) {
  animation-delay: 1.1s;
}
.fade-anim:nth-child(12) {
  animation-delay: 1.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .amenities-container {
    flex-direction: column;
  }
  .amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* Floor plan css  */

.luxury-units {
  /* background: linear-gradient(135deg, #0f0f0f, #1c1c1c); */
  padding: 70px 5%;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  color: #fff;
  overflow: hidden;
}

.luxury-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.luxury-image {
  flex: 1 1 40%;
  min-width: 300px;
}

.luxury-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.unit-grid {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.unit-card {
  background: rgba(5, 5, 5, 0.797);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 18px;
  padding: 40px 25px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.08);
}

.unit-card:hover {
  background: rgba(87, 74, 2, 0.8);
  transform: translateY(-8px);
  border-color: #ffd700;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.25);
}

.unit-card h3 {
  font-size: 1.4rem;
  color: #ffd700;
  font-weight: 600;
  margin-bottom: 10px;
}

.divider {
  height: 2px;
  width: 60%;
  background: linear-gradient(to right, transparent, #ffd700, transparent);
  margin: 10px auto 20px;
  position: relative;
}

.divider::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  height: 8px;
  width: 8px;
  background: #ffd700;
  border-radius: 50%;
}

.price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.size {
  font-size: 1rem;
  color: #dcdcdc;
  margin-bottom: 25px;
}

.know-more {
  text-decoration: none;
  color: #ffd700;
  font-weight: 600;
  border-top: 1px solid #ffd700;
  border-bottom: 1px solid #ffd700;
  padding: 6px 0;
  transition: 0.3s ease;
}

.know-more:hover {
  color: #fff;
  border-color: #fff;
}

/* Fade animation */
.fade-anim {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}
.fade-anim:nth-child(1) {
  animation-delay: 0.2s;
}
.fade-anim:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .luxury-container {
    flex-direction: column;
  }
  .unit-grid {
    width: 100%;
  }
}
