.featured-project{
  text-align: center;
  padding: 50px 20px;
}

.featured-project h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.project-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px;
}

.project-container::-webkit-scrollbar {
  display: none;
}

.project-card {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 320px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  min-width: calc(100% / 3.3); /* show 3.3 cards */
}

.project-card:hover {
  transform: translateY(-5px);
}

.image-box {
  position: relative;
}

.image-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.badge-container {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.badge {
  background: #002244;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
}

.badge.featured {
  background: #004488;
}

.badge.rent {
  background: #3a6ea5;
}

.price {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,50,0.8);
  color: #fff;
  font-weight: bold;
  padding: 10px 0;
}

.card-content {
  padding: 15px;
  text-align: left;
}

.card-content h3 {
  font-size: 1rem;
  color: #222;
  margin-bottom: 10px;
}

.location {
  color: #c0392b;
  font-size: 0.9rem;
}

.details {
  font-size: 0.85rem;
  color: #444;
  margin: 10px 0;
}

.contact-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.contact-icons a {
  color: #002244;
  font-size: 1.2rem;
}

.slide-btn {
  background: #002244;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}

.slide-btn.left {
  left: 0;
}

.slide-btn.right {
  right: 0;
}

/* 📱 Responsive */
@media (max-width: 1024px) {
  .project-card {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .project-card {
    width: 240px;
  }

  .slide-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .featured-project h2 {
    font-size: 1.5rem;
  }
  .project-container {
    gap: 10px;
  }
  .project-card {
    width: 90%;
  }
}
