/* Index page specific styles moved from index.php */

.video-banner-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-card {
  padding: 40px;
  border-radius: 15px;
  width: 900px;
  max-width: 95%;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.search-card h2,
.search-card p,
.search-label {
  color: #fff;
}

.search-card h2 {
  font-weight: 700;
}

.search-card select {
  height: 50px;
  border-radius: 8px;
}

.search-btn {
  height: 50px;
  background: #157347;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: .3s;
}

.search-btn:hover {
  background: #0f5132;
}

.clients .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clients img {
  max-width: 120px;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.clients img:hover {
  opacity: 1;
  transform: scale(1.1);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

.partners {
  text-align: center;
  padding: 60px 20px;
}

.partners h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #333;
}

.slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slide-track {
  display: flex;
  width: calc(220px * 12);
  animation: scroll 25s linear infinite;
}

.slide {
  width: 220px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.slide:hover {
  transform: scale(1.08);
}

.slide img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: 0.3s;
}

.slide img:hover {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.slider:hover .slide-track {
  animation-play-state: paused;
}

.cta-bg-home-showcase {
  background-image: url('../img/real-estate/showcase-3.webp');
}

@media (max-width: 768px) {
  .video-banner-section {
    height: 500px;
  }

  .search-card {
    padding: 25px;
  }

  .search-btn {
    margin-top: 5px;
  }

  .slide {
    width: 160px;
  }

  .slide img {
    max-width: 90px;
  }
}
