/* Styles for commercial-properties-gurgaon.php (moved out of the page) */
    
.pagination .page-link {
    color: #000 !important;         
    border: 1px solid #000;         
    background-color: #fff;         
    font-size: 12px;
}

.pagination .page-item {
    margin: 0 0.25rem;               
}

.pagination .page-item.active .page-link {
    background-color: #000;        
    color: #fff !important;        
    border-color: #000;
}

.pagination .page-link:hover {
    background-color: #000;
    color: #fff !important;
}

.card-container {
      position: relative;
      margin-bottom: 100px;
      perspective: 1000px;
    }


    .img-card {
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .img-card img {
      width: 100%;
      display: block;
    }

    .info-card {
      position: absolute;
      left: 50px;
      right: 50px;
      bottom: -30px;
      background: #fff;
      border-radius: 12px;
      padding: 15px 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background-color 0.3s ease;
    }



    .info-text h6 {
      margin: 0;
      font-weight: bold;
    }

    .info-text p {
      margin: 0;
      font-size: 14px;
      color: #666;
    }

    .arrow-circle {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-color: #000;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 18px;
    }

    @media (max-width: 768px) {
      .info-card {
        left: 20px;
        right: 20px;
        bottom: -20px;
      }
    }
    
    .hover-wrapper {
    transition: all 0.3s ease;
}

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

.hover-card {
    transition: all 0.3s ease;
    
    background-color: #ffffff;
}

.hover-card:hover {
    background-color: #f2f2f2;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.hover-card img {
    transition: transform 0.3s ease;
}

.hover-card:hover img {
    transform: scale(1.1);
}

.hover-card h4 {
    transition: color 0.3s ease;
}

.hover-card:hover h4 {
    color: #007bff;
}

.hover-card p {
    transition: color 0.3s ease;
}

/* property cards: long names end with "…" only when they don't fit */
.property-card .card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.property-card .property-details p { margin-bottom: 8px; }

/* pagination: wraps neatly on small screens */
.pagination { flex-wrap: wrap; row-gap: 8px; }

/* category cards: info card no longer pushes a 100px gap */
.card-container { margin-bottom: 60px; }
.img-card img { height: auto; aspect-ratio: 752 / 890; object-fit: cover; }
.info-card { gap: 12px; }
.arrow-circle { flex: 0 0 36px; }   /* text no longer runs under the arrow */

/* locality cards: long names wrap instead of pushing the arrow out */
.hover-wrapper > a { text-decoration: none; }
.hover-card .arrow-circle { margin-left: 12px; }

@media (max-width: 768px) {
  .property-card img { height: 220px; }
  .property-card .property-details p { font-size: 13px; }
  .card-container { margin-bottom: 48px; }
  .img-card img { aspect-ratio: 4 / 3; }   /* tall portraits filled the whole screen */
  .info-card { padding: 12px 16px; }
  .info-text p { font-size: 13px; }
  .hover-card h4 { font-size: 1.1rem; }

  /* hero text panel: was 48px padding and large text, so it ran very tall on phones */
  .rp-hero-text h1 { font-size: 1.45rem; line-height: 1.25; margin-bottom: .75rem; }
  .rp-hero-text .lead { font-size: 1rem; line-height: 1.65; margin-bottom: 0; }
}

/* CTA BOX */
.cta-box {
  background: #ffffff;
  border: 2px solid #7d7d7d;
  border-radius: 14px;
  padding: 32px 40px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.cta-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-btn {
  background: #000;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-text h2 { font-size: 24px; }
  .cta-box { padding: 24px 20px; }
}

/* hero clears the fixed navbar (82px), which was covering the top of the photo */
.rp-hero { padding-top: 106px; }

/* SEO content block */
.seo-content h2 { font-size: 14px; font-weight: 700; margin-top: 1rem; }
.seo-content h3 { font-size: 13px; font-weight: 700; margin-top: 1rem; }
.seo-content p, .seo-content li { font-size: 13px; }
.seo-content ul { padding-left: 1.2rem; margin-bottom: .75rem; }
.seo-content h4 { font-size: 13px; font-weight: 600; margin: .75rem 0 .35rem; }
