:root {
  /* Default Branding Colors (JK Prime Properties) */
  --primary: #3A0D00;
  --secondary: #BB8B2E;
  --text-dark: #1F1F1F;
  --text-light: #FFFFFF;
  --bg-light: #F8F7F5;
  --border: #E6E0D5;

  /* Helper Color Formats for Transparency */
  --primary-rgb: 58, 13, 0;
  --secondary-rgb: 187, 139, 46;
  --bg-light-rgb: 248, 247, 245;

  /* Premium Luxury Accent Colors */
  --dark-bg: #0C0C0C;
  --dark-card: #141414;
  --dark-border: #222222;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-serif: 'Prata', Georgia, serif;
  --font-sans: 'Outfit', 'Montserrat', 'Inter', sans-serif;

  /* Spacing & Section Gaps */
  --section-gap: 2.25rem;
  --section-gap-sm: 1.5rem;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Global Reset & Scroll Behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-light);
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  -webkit-font-smoothing: antialiased;
}

/* Global Section Gap & Spacing Controls */
section,
.section-gap,
.section-padding {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

/* Override Bootstrap py-5 to use global section gap variable */
.py-5 {
  padding-top: var(--section-gap) !important;
  padding-bottom: var(--section-gap) !important;
}

/* Prevent double padding when container with py-5 is inside section.py-5 */
section.py-5>.container.py-5,
section.py-5>.container-fluid.py-5,
section>.container.py-5,
section>.container-fluid.py-5 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

@media (max-width: 768px) {
  :root {
    --section-gap: var(--section-gap-sm);
  }
}

/* --- LUXURY UI UTILITIES (Replacing inline styles) --- */
.subtitle-gold {
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}

.subtitle-gold-wide {
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}

.gold-divider-sm {
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
  border-top: 2px solid var(--secondary);
}

.gold-divider-md {
  width: 60px;
  height: 2px;
  background-color: var(--secondary);
  border-top: 2px solid var(--secondary);
}

.hero-heading {
  font-size: 3.2rem;
  line-height: 1.15;
}

.page-hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
}

.section-title {
  font-size: 2.2rem;
}

.section-title-sm {
  font-size: 2rem;
}

.text-body-lead {
  line-height: 1.7;
  font-size: 1.05rem;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-650 {
  max-width: 650px;
}

.max-w-720 {
  max-width: 720px;
}

.max-w-800 {
  max-width: 800px;
}

.hero-margin-top {
  margin-top: 70px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.badge-luxury {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.logo-header-img {
  max-height: 38px;
}

.logo-fallback-text {
  font-size: 1.3rem;
}

.icon-xl {
  font-size: 5rem;
}

.heading-xl {
  font-size: 3rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
}

/* Ensure headings inside dark luxury backgrounds or elements marked text-light remain white */
.bg-dark-luxury h1,
.bg-dark-luxury h2,
.bg-dark-luxury h3,
.bg-dark-luxury h4,
.bg-dark-luxury h5,
.bg-dark-luxury h6,
.text-light h1,
.text-light h2,
.text-light h3,
.text-light h4,
.text-light h5,
.text-light h6,
.modal-content.text-light h1,
.modal-content.text-light h2,
.modal-content.text-light h3,
.modal-content.text-light h4 {
  color: var(--text-light) !important;
}

.text-gold {
  color: var(--secondary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-gold {
  background-color: var(--secondary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-dark-luxury {
  background-color: var(--dark-bg) !important;
  color: var(--text-light) !important;
}

.border-luxury {
  border-color: var(--border) !important;
}

/* Card Specs Strip (Beds / Baths / Sq.ft) */
.card-specs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  margin-bottom: 0;
}

/* Explicit rule so Bootstrap .d-flex card columns hide properly */
#projects [class*="col-"].d-none,
#projects [class*="col-"][style*="display: none"] {
  display: none !important;
}

.card-spec-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  flex: 1;
  white-space: nowrap;
}

.card-spec-item i {
  color: #7B3F00;
  font-size: 0.85rem;
}

.card-spec-divider {
  width: 1px;
  height: 18px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Plot Card Specs Custom Spacing & Sizing */
.project-card[data-type="plots"] .card-specs {
  justify-content: space-between;
  padding: 0.55rem 0.25rem;
}

.project-card[data-type="plots"] .card-spec-item {
  flex: auto;
  font-size: 0.75rem;
  gap: 4px;
}

.project-card[data-type="plots"] .card-spec-divider {
  margin: 0 6px;
}

/* Below-Banner Project Gallery Carousel Component */
.project-gallery-section {
  background-color: #12100e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  background: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Property Filter Bar Component */
.property-filter-wrapper {
  position: relative;
  z-index: 10;
  margin-top: 0;
  margin-bottom: 0;
  padding: 1.25rem 0 0.5rem 0;
  background-color: var(--bg-light);
}

/* Remove unwanted padding/margin between filter bar and projects section */
#property-filter + #projects,
.property-filter-wrapper + #projects {
  padding-top: 1rem !important;
}

#property-filter + #projects > .container,
.property-filter-wrapper + #projects > .container {
  padding-top: 0.5rem !important;
}

.property-filter-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  border-top: 4px solid var(--secondary) !important;
  border: 1px solid var(--border);
  box-shadow: none !important;
  padding: 1.75rem 2rem;
  transition: var(--transition-smooth);
}

.filter-title {
  color: var(--primary);
  font-size: 1.45rem;
  margin: 0;
  font-weight: 600;
}

.filter-title .highlight {
  color: var(--secondary);
  font-style: normal;
  font-family: var(--font-serif);
}

.filter-tabs {
  background: #F4F2EE;
  padding: 4px;
  border-radius: 8px;
  display: inline-flex;
  gap: 4px;
}

.filter-tab-btn {
  border: none;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 1.25rem;
  border-radius: 6px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.filter-tab-btn:hover {
  color: var(--secondary);
}

.filter-tab-btn.active {
  background-color: var(--secondary) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(var(--secondary-rgb), 0.3);
}

.filter-label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.custom-filter-select {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  background-color: #FAFAFA;
  transition: var(--transition-fast);
  cursor: pointer;
}

.custom-filter-select:focus {
  border-color: var(--secondary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.18);
  outline: none;
}

.btn-filter-search {
  background-color: var(--secondary);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--secondary);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.btn-filter-search:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
}

@media (max-width: 991px) {
  .property-filter-wrapper {
    padding: 1rem 0;
  }

  .filter-tabs {
    width: 100%;
    justify-content: center;
  }
}

/* Key Stats Banner Strip Component */
.stats-banner-strip {
  background-color: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid var(--secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
  color: var(--secondary) !important;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.stat-col {
  position: relative;
}

@media (min-width: 768px) {
  .stat-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
  }
}

/* ==========================================================================
   HOMEPAGE CUSTOM LUXURY SECTIONS (ABOUT, ADVANTAGE, AMENITIES, HOW IT WORKS, PARTNERS)
   ========================================================================== */

/* Dark Theme Base (Primary Brand Color #3A0D00) */
.bg-dark-navy {
  background-color: var(--primary) !important;
  color: #ffffff;
}

.bg-warm-light {
  background-color: var(--bg-light) !important;
}

.text-gold-italic {
  font-family: var(--font-serif);
  font-style: normal !important;
  color: var(--secondary);
}

.section-tag-gold {
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* --- WHAT WE OFFER SECTION CARDS --- */
.offer-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  border-radius: 16px !important;
  background: #ffffff;
  border: 1px solid var(--border) !important;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(58, 13, 0, 0.12) !important;
  border-color: var(--secondary) !important;
}

.offer-card:hover .font-serif {
  color: var(--secondary) !important;
}

.offer-icon-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 6px 16px rgba(58, 13, 0, 0.18);
}

.offer-card:hover .offer-icon-circle {
  transform: scale(1.1);
  background-color: var(--secondary) !important;
  color: var(--primary) !important;
  box-shadow: 0 8px 22px rgba(187, 139, 46, 0.4);
}

.offer-icon-navy,
.offer-icon-primary {
  background-color: var(--primary);
  color: var(--secondary);
}

.offer-icon-gold {
  background-color: var(--secondary);
  color: var(--primary);
}

/* --- GALLERY TILE GRID COMPONENT --- */
.gallery-tile {
  cursor: pointer;
  background-color: #0c0c0c;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58, 13, 0, 0.2) !important;
}

.gallery-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile:hover .gallery-tile-img {
  transform: scale(1.08);
}

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 12, 0.92) 0%, rgba(12, 12, 12, 0.25) 60%, transparent 100%);
  opacity: 0.88;
  transition: opacity 0.35s ease, background 0.35s ease;
}

.gallery-tile:hover .gallery-tile-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(58, 13, 0, 0.95) 0%, rgba(12, 12, 12, 0.35) 60%, transparent 100%);
}

/* --- 1. ABOUT US SECTION --- */
.about-img-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-badge-gold {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--secondary);
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  border-radius: 16px 0 20px 0;
  text-align: center;
  box-shadow: -5px -5px 20px rgba(0, 0, 0, 0.2);
}

.about-badge-gold .years {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge-gold .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.about-feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition-fast);
}

.about-feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary);
  transform: translateY(-3px);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(187, 139, 46, 0.2);
  border: 1px solid rgba(187, 139, 46, 0.4);
  border-radius: 8px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- 2. ADVANTAGE SECTION --- */
.advantage-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.advantage-card:hover,
.advantage-card.active-card {
  border-color: var(--secondary);
  box-shadow: 0 12px 30px rgba(187, 139, 46, 0.15);
  transform: translateY(-5px);
}

.advantage-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(58, 13, 0, 0.08);
  line-height: 1;
}

.advantage-card:hover .advantage-num {
  color: rgba(187, 139, 46, 0.25);
}

.advantage-icon {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  display: inline-block;
}

/* --- 3. PREMIUM AMENITIES SECTION --- */
.amenities-luxury-section {
  background: linear-gradient(rgba(58, 13, 0, 0.92), rgba(35, 8, 0, 0.95)), url('../images/projects/apartment-luxury.png') center/cover;
}

.amenity-tile-dark {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1rem 0.5rem;
  text-align: center;
  backdrop-filter: none !important;
  box-shadow: none !important;
  transition: var(--transition-fast);
  height: 100%;
}

.amenity-tile-dark:hover {
  background: transparent !important;
  border-color: transparent !important;
  transform: translateY(-4px);
}

.amenity-tile-dark i {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.amenity-tile-dark span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  display: block;
}

.amenity-collage-img-main {
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.amenity-collage-img-sub {
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* --- 4. HOW IT WORKS TIMELINE --- */
.how-it-works-timeline {
  position: relative;
}

.timeline-step {
  position: relative;
  text-align: center;
}

@media (min-width: 992px) {
  .how-it-works-timeline .col-lg:not(:last-child) .timeline-step::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    z-index: 1;
    transform: translateY(-50%);
  }
}

.timeline-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary) !important;
  border: 2px solid var(--secondary) !important;
  color: var(--secondary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-light);
}

.timeline-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  display: block;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
  opacity: 0.8;
}

/* Mobile View: Number circle on left side with vertical timeline line */
@media (max-width: 767.98px) {
  .how-it-works-timeline {
    position: relative;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .how-it-works-timeline .row {
    position: relative;
  }

  .how-it-works-timeline .row::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 40px;
    left: 32px;
    width: 2px;
    background: var(--secondary);
    z-index: 1;
    opacity: 0.4;
  }

  .how-it-works-timeline .timeline-step-col {
    margin-bottom: 1rem;
  }

  .how-it-works-timeline .timeline-step-col:last-child {
    margin-bottom: 0;
  }

  .timeline-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 2;
  }

  .timeline-circle {
    margin: 0 1rem 0 0 !important;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    font-size: 1rem;
    box-shadow: 0 0 0 4px #FFFFFF, 0 4px 12px rgba(197, 160, 89, 0.3) !important;
  }

  .timeline-step-content {
    flex: 1;
  }

  .timeline-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
  }

  .timeline-icon {
    font-size: 1.15rem;
    margin-bottom: 0;
    display: inline-block;
  }

  .timeline-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    display: inline-block;
  }

  .timeline-desc {
    max-width: 100%;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #4A4A4A;
  }
}

/* --- 4.5 FLOOR PLAN & MASTER PLAN LUXURY TABS --- */
.plans-tabs {
  gap: 1rem;
}

.plans-tabs .nav-link {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  background: transparent !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  padding: 0.5rem 1.25rem 0.75rem;
  border-radius: 0 !important;
  transition: var(--transition-fast);
}

.plans-tabs .nav-link:hover {
  color: var(--secondary);
  border-color: rgba(187, 139, 46, 0.4) !important;
}

.plans-tabs .nav-link.active {
  color: var(--secondary) !important;
  border-bottom: 3px solid var(--secondary) !important;
  background: transparent !important;
}

.plans-tabs .nav-link:focus,
.plans-tabs .nav-link:active,
.plans-tabs .nav-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* --- PLAN IMAGE CONTAINER BLUR & UNLOCK STYLES --- */
.plan-img-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-height: 360px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.plan-img-container .plan-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.06);
  transition: all 0.4s ease;
}

.plan-img-container:hover .plan-img {
  filter: blur(5px);
  transform: scale(1.08);
}

.plan-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 7, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 1 !important;
  visibility: visible !important;
  transition: background 0.3s ease;
  padding: 1.5rem;
  text-align: center;
  z-index: 2;
}

.plan-img-container:hover .plan-overlay {
  background: rgba(30, 7, 0, 0.55);
}

.plan-unlock-badge {
  background: var(--secondary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.plan-img-container:hover .plan-unlock-badge {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(187, 139, 46, 0.4);
}

/* --- 5. PARTNERS & TRUST STATS --- */
.partner-badge-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition-fast);
  height: 100%;
}

.partner-badge-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.partner-initials-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  background: rgba(187, 139, 46, 0.15);
}

.partner-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.partner-since {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- BORDERLESS INTEGRATED TRUST STATS COUNTER BAR --- */
.trust-stat-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.5rem 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.trust-stat-item:hover {
  transform: translateY(-3px);
}

.trust-stat-icon {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(187, 139, 46, 0.4));
  transition: transform 0.3s ease;
}

.trust-stat-item:hover .trust-stat-icon {
  transform: scale(1.15);
}

.trust-stat-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.trust-stat-lbl {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

@media (min-width: 768px) {
  .trust-stat-col:not(:last-child) {
    border-right: 1px solid rgba(187, 139, 46, 0.25);
  }
}

@media (max-width: 991px) {
  .timeline-line {
    display: none;
  }
}

/* --- LUXURY FORM STYLING (USING THEME VARIABLES) --- */
.luxury-form {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--border-radius-lg) !important;
  padding: 2.25rem !important;
  color: var(--text-dark) !important;
  box-shadow: 0 10px 30px rgba(58, 13, 0, 0.08) !important;
}

.luxury-form .form-label {
  color: var(--primary) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.4rem !important;
}

.luxury-form .form-control,
.luxury-form .form-select {
  background-color: #ffffff !important;
  border: 1px solid var(--border) !important;
  color: var(--text-dark) !important;
  border-radius: var(--border-radius-md) !important;
  padding: 0.75rem 1rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  transition: var(--transition-fast) !important;
}

.luxury-form .form-control::placeholder {
  color: #8c857b !important;
  font-size: 0.9rem !important;
}

.luxury-form .form-control:focus,
.luxury-form .form-select:focus {
  background-color: #ffffff !important;
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 3px rgba(187, 139, 46, 0.2) !important;
  color: var(--text-dark) !important;
}

.luxury-form .form-select option {
  background-color: #ffffff;
  color: var(--text-dark);
}

.luxury-form .btn-gold {
  background: var(--secondary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: var(--border-radius-md) !important;
  letter-spacing: 0.08em !important;
  transition: var(--transition-fast) !important;
}

.luxury-form .btn-gold:hover {
  background: #a37624 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(187, 139, 46, 0.3) !important;
}

/* --- CONTINUOUS DEVELOPERS TICKER SCROLL --- */
.developersSwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.developersSwiper .swiper-slide {
  height: auto;
}

.developersSwiper .partner-badge-card {
  height: 100%;
}

.partner-logo-img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

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

/* --- ASSURANCE CARDS STYLING --- */
.assurance-card {
  background-color: #ffffff;
  border: 1px solid var(--border) !important;
  border-radius: var(--border-radius-md) !important;
  transition: var(--transition-fast);
}

.assurance-card:hover {
  border-color: var(--secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(187, 139, 46, 0.15) !important;
}

/* --- LUXURY FOOTER MATCHING THEME & SCREENSHOT --- */
.custom-footer {
  background-color: #120500 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.9rem !important;
  border-top: 1px solid rgba(187, 139, 46, 0.25) !important;
}

.footer-logo {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

.footer-heading {
  color: var(--secondary) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  margin-bottom: 1.25rem !important;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li {
  margin-bottom: 0.65rem !important;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  transition: var(--transition-fast) !important;
  display: inline-flex !important;
  align-items: center !important;
}

.footer-links a:hover {
  color: var(--secondary) !important;
  transform: translateX(4px) !important;
}

.footer-chevron {
  color: var(--secondary) !important;
  font-size: 0.75rem !important;
  margin-right: 0.5rem !important;
  font-weight: 700 !important;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(187, 139, 46, 0.3);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(187, 139, 46, 0.12);
  transform: translateY(-2px);
}

.footer-cert-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(187, 139, 46, 0.3) !important;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --- LUXURY LIGHT PRELOADER WITH LOGO --- */
.site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-light) !important;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-card {
  background: transparent !important;
  padding: 1rem !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo {
  max-height: 75px;
  width: auto;
  margin-bottom: 1.25rem;
  animation: logoPulseLight 2s infinite ease-in-out;
}

.preloader-line-wrap {
  width: 150px;
  height: 3px;
  background: rgba(187, 139, 46, 0.15);
  margin: 0 auto;
  border-radius: 3px;
  overflow: hidden;
}

.preloader-line {
  width: 100%;
  height: 100%;
  background: var(--secondary);
  animation: loadingBar 1.6s infinite ease-in-out;
  transform-origin: left;
}

.preloader-subtext {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 1rem;
  display: block;
  font-weight: 700;
}

@keyframes logoPulseLight {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes loadingBar {
  0% {
    transform: scaleX(0);
  }

  50% {
    transform: scaleX(1);
  }

  100% {
    transform: scaleX(0);
  }
}

/* Reviews Swiper Pagination Styling */
.reviewsSwiper .swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.reviewsSwiper .swiper-pagination-bullet-active {
  background: var(--secondary) !important;
  opacity: 1;
  width: 24px;
  border-radius: 6px;
}

/* Global Inner Page Hero Banner Style (Gallery, About Us, Contact Us) */
.inner-page-hero {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 400px;
  padding-top: 150px !important;
  padding-bottom: 4rem !important;
  color: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Project Album Cards Styling for Gallery Page */
.project-gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(197, 160, 89, 0.25) !important;
}

.project-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
  border-color: var(--secondary) !important;
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(12, 12, 12, 0.88) 100%);
  transition: background 0.3s ease;
}

.project-gallery-card:hover .project-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(12, 12, 12, 0.94) 100%);
}

.project-gallery-card .card-img-wrapper img {
  transition: transform 0.6s ease;
}

.project-gallery-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

/* Luxury Gallery Filter Tabs Navigation */
.luxury-filter-nav {
  background: #F4F2EE;
  padding: 6px;
  border-radius: 50px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 8px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(197, 160, 89, 0.3);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.gallery-filter-btn {
  background: transparent;
  border: none !important;
  outline: none !important;
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.gallery-filter-btn:hover {
  color: var(--secondary-dark);
  background: rgba(197, 160, 89, 0.15);
}

.gallery-filter-btn.active {
  background: linear-gradient(135deg, #C5A059 0%, #9E7D3B 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4) !important;
}

/* Responsive media queries for Luxury Gallery Filter Tabs Navigation & Inner Hero */
@media (max-width: 767.98px) {
  .inner-page-hero {
    min-height: 320px !important;
    padding-top: 130px !important;
    padding-bottom: 2.5rem !important;
  }

  .inner-page-hero h1 {
    font-size: 2.2rem !important;
  }

  .luxury-filter-nav {
    max-width: 100%;
    border-radius: 20px;
    padding: 5px;
    gap: 4px;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .luxury-filter-nav::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    flex: 1 1 auto;
    text-align: center;
    white-space: nowrap;
  }

  .project-gallery-card .card-img-wrapper {
    height: 230px !important;
  }
}

@media (max-width: 575.98px) {
  .inner-page-hero h1 {
    font-size: 1.85rem !important;
  }

  .luxury-filter-nav {
    display: flex;
    justify-content: flex-start;
    padding: 4px;
    border-radius: 16px;
  }

  .gallery-filter-btn {
    padding: 8px 12px;
    font-size: 0.72rem;
  }
}

/* --- NRI & INVESTORS PAGE LUXURY STYLING --- */
.nri-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.78), rgba(12, 12, 12, 0.88)), url('../images/jk-properties/hero-highrise.png') no-repeat center center / cover !important;
  padding: 8rem 0 6rem 0 !important;
  margin-top: 70px;
}

.nri-stat-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 1.25rem 1.5rem;
  border-bottom: 3px solid var(--secondary);
  transition: transform 0.3s ease;
}

.nri-stat-box:hover {
  transform: translateY(-4px);
}

.nri-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.nri-feature-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-top: 3px solid var(--secondary);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.nri-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.nri-step-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.nri-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(197, 160, 89, 0.18);
  border-color: var(--secondary);
}

.nri-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: #ffffff;
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}

/* Accordion Custom Gold Styling */
.accordion-custom .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  background-color: #ffffff;
  color: var(--primary);
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
  transition: all 0.25s ease;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background-color: rgba(197, 160, 89, 0.08) !important;
  color: var(--primary) !important;
  border-left: 4px solid var(--secondary) !important;
}

.accordion-custom .accordion-button::after {
  background-size: 1rem;
}