.rental-sec {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f0f0 0%, #f8fafc 100%);
  position: relative;
}
.search-property .rental-sec {
  padding: 50px 20px;
  background: none;
  position: relative;
}

.container-rental {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header-rental {
  text-align: center;
  margin-bottom: 60px;
}

.tag-rental {
  display: inline-block;
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
  color: white;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
  text-transform: uppercase;
}

.title-rental {
  font-size: 48px;
  font-weight: 600;
  color: #18365b;
  line-height: 1.1;
  margin-bottom: 15px;
}

.title-rental span {
  color: #f97316;
  position: relative;
}

.title-rental span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 8px;
  background: rgba(249, 115, 22, 0.15);
  bottom: 5px;
  left: 0;
  z-index: -1;
  border-radius: 4px;
}

/* Tabs */
.tabs-rental {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.tab-rental {
  padding: 16px 40px;
  background: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  color: #18365b;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-rental:hover {
  border-color: #f97316;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.15);
}

.tab-rental.active-rental {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.2);
}

.tab-rental i {
  font-size: 16px;
}

/* Desktop Grid - 6 Cards */
.grid-desktop-rental {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Remove Slider Container (अब जरूरत नहीं) */
.slider-container-rental {
  display: none !important;
}

/* PREMIUM CARD DESIGN */
.card-rental {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  min-height: 480px;
}

.card-rental:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
}

/* Card Image */
.card-image-rental {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.card-image-rental img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-rental:hover .card-image-rental img {
  transform: scale(1.08);
}

.badge-rental {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  color: #18365b;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.price-rental {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 18px;
  color: #18365b;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Card Content */
.card-content-rental {
  padding: 24px;
}

.location-rental {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f97316;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.location-rental i {
  font-size: 12px;
}

.card-title-rental {
  font-size: 18px;
  font-weight: 600;
  color: #18365b;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Features */
.features-rental {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
}

.feature-rental {
  text-align: center;
}

.feature-value-rental {
  font-weight: 400;
  color: #18365b;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 4px;
}

.feature-label-rental {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

/* Card Footer */
.card-footer-rental {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.owner-rental {
  display: flex;
  align-items: center;
  gap: 10px;
}

.owner-avatar-rental {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #f1f5f9;
}

.owner-avatar-rental img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-info-rental h4 {
  font-size: 14px;
  font-weight: 700;
  color: #18365b;
  margin-bottom: 2px;
}

.owner-info-rental p {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

/* BUTTON - ULTRA SMOOTH EFFECT */
.contact-btn-rental {
  padding: 12px 26px;
  background: #18365b;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.contact-btn-rental::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.contact-btn-rental:hover::before {
  left: 0;
}

.contact-btn-rental span,
.contact-btn-rental i {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease 0.1s;
}

.contact-btn-rental:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.25);
}

.contact-btn-rental i {
  font-size: 12px;
}

/* Active State Improvements */
.tab-rental.active-rental {
  animation: tabPulse 2s infinite;
}

@keyframes tabPulse {
  0%,
  100% {
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.2);
  }
  50% {
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.3);
  }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .rental-sec {
    padding: 60px 0;
  }

  .grid-desktop-rental {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .title-rental {
    font-size: 42px;
  }

  .card-footer-rental {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .contact-btn-rental {
    width: 100%;
    justify-content: center;
  }

  .owner-rental {
    justify-content: center;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .grid-desktop-rental {
    display: flex;
    gap: 16px;

    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px 16px 20px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .grid-desktop-rental::-webkit-scrollbar {
    display: none;
  }

  .card-rental {
    flex: 0 0 97%; /* 👈 next card peek */
    scroll-snap-align: start;
  }
  .rental-sec {
    padding: 50px 0;
  }

  .grid-desktop-rental {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .title-rental {
    font-size: 36px;
  }

  .header-rental {
    margin-bottom: 40px;
  }

  .tabs-rental {
    align-items: center;
    gap: 10px;
    /* margin-bottom: 40px; */
    margin-bottom: 5px;
  }

  .tab-rental {
    width: 100%;
    max-width: 250px;
    justify-content: center;
    padding: 14px 10px;
  }

  .card-rental {
    min-height: auto;
  }

  .card-image-rental {
    height: 200px;
  }

  .card-content-rental {
    padding: 20px;
  }

  .contact-btn-rental {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .title-rental {
    /* font-size: 32px; */
    font-size: 28px;
  }

  .tag-rental {
    padding: 8px 20px;
    font-size: 13px;
  }

  .card-image-rental {
    height: 180px;
  }

  .price-rental {
    font-size: 16px;
    padding: 6px 12px;
  }

  .badge-rental {
    font-size: 11px;
    padding: 6px 14px;
  }

  /* custom change */
  .feature-value-rental {
    font-weight: 400;
    color: #18365b;
    font-size: 12px;
    line-height: 1;
    margin-bottom: 4px;
  }
}
