/* ==========================================================================
   BHAGYODAYA REALTORS — ULTRA MODERN LUXURY FULL-BLEED STYLESHEET
   ========================================================================== */

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FD;
  --bg-tertiary: #F1F4FA;
  
  --text-dark: #150F3C;
  --text-body: #4A5268;
  --text-muted: #828BA2;
  
  --brand-indigo: #201856;
  --brand-indigo-deep: #150F3C;
  --brand-purple: #453181;
  --brand-pink: #E3285F;
  --brand-coral: #EB5D31;
  --brand-crimson: #E6354F;
  
  --gradient-primary: linear-gradient(92deg, #EB5D31 0%, #E6354F 55%, #E3285F 100%);
  --gradient-dark: linear-gradient(135deg, #0D0926 0%, #150F3C 50%, #201856 100%);
  --gradient-dark-gold: linear-gradient(135deg, #150F3C 0%, #201856 60%, #453181 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  
  --border-light: rgba(32, 24, 86, 0.09);
  --border-medium: rgba(32, 24, 86, 0.16);
  --border-glass: rgba(255, 255, 255, 0.18);
  
  --shadow-sm: 0 4px 14px rgba(21, 15, 60, 0.04);
  --shadow-md: 0 10px 30px rgba(21, 15, 60, 0.08);
  --shadow-lg: 0 20px 45px rgba(21, 15, 60, 0.12);
  --shadow-hover: 0 24px 50px rgba(230, 53, 79, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  
  --font-heading: 'Josefin Sans', 'Poppins', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-top: 0;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TRANSPARENT GLASS HEADER (ONLY IMAGE LOGO)
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

/* WHEN SCROLLED ON FULL-SCREEN HERO BANNER */
.header-nav.scrolled {
  padding: 12px 0;
  background: rgba(13, 9, 38, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-img {
  display: flex;
  align-items: center;
}

.brand-logo-img img {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease;
}

.brand-logo-img:hover img {
  transform: scale(1.04);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--brand-coral);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-cta-expert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--gradient-primary);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px -4px rgba(235, 93, 49, 0.5);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-cta-expert:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(235, 93, 49, 0.7);
  filter: brightness(1.05);
}

/* ==========================================================================
   ULTRA-MODERN FULL-SCREEN HERO BANNER SECTION
   ========================================================================== */
.hero-banner-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(13, 9, 38, 0.92) 0%, rgba(21, 15, 60, 0.75) 50%, rgba(21, 15, 60, 0.55) 100%),
              url('../img/property-1.png') center/cover no-repeat;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-banner-fullscreen::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(235, 93, 49, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-badge-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FF8F6B;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-title-modern {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-modern {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-features-glass {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
  padding: 0;
  list-style: none;
}

.hero-feature-glass-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-card-preview {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-image-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-stat-badge-glass {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: rgba(21, 15, 60, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 22px 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #FFFFFF;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--brand-coral);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* FILTER BAR & PILL BUTTONS */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding: 8px;
  background: rgba(248, 249, 253, 0.8);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.filter-btn:hover {
  background: #FFFFFF;
  color: var(--brand-coral);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-light);
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: #FFFFFF !important;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(235, 93, 49, 0.35);
}

/* DARK GRADIENT LUXURY SECTIONS */
.section-dark-gradient {
  background: var(--gradient-dark);
  color: #FFFFFF;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.section-dark-gradient h1,
.section-dark-gradient h2,
.section-dark-gradient h3,
.section-dark-gradient h4 {
  color: #FFFFFF;
}

.section-dark-gradient .section-eyebrow {
  color: var(--brand-coral);
}

.section-dark-gradient .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.dark-stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.dark-stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(235, 93, 49, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.dark-stat-val {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.dark-stat-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ADVANCED MULTI-FILTER SEARCH PANEL */
.advanced-filter-panel {
  background: #FFFFFF;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 40px;
}

.filter-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-items: end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

/* FEATURED PROJECTS & PROPERTY CARDS */
.section-padding {
  padding: 90px 0;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-body);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.property-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(235, 93, 49, 0.25);
}

.property-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.property-status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(21, 15, 60, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.property-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.property-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.property-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px dashed var(--border-medium);
  border-bottom: 1px dashed var(--border-medium);
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.spec-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}

.property-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-coral);
}

.btn-view-details {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  color: var(--brand-indigo);
  border: 1px solid var(--border-medium);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.btn-view-details:hover {
  background: var(--brand-indigo);
  color: #FFFFFF;
  border-color: var(--brand-indigo);
}

/* GALLERY STYLES */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 280px;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 15, 60, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float-btn::before,
.whatsapp-float-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsapp-pulse 2s infinite ease-out;
}

.whatsapp-float-btn::after {
  animation-delay: 0.6s;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* MODALS & FORMS */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 15, 60, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-secondary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.25s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-coral);
  box-shadow: 0 0 0 3px rgba(235, 93, 49, 0.12);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-pill);
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* PROPERTY DETAIL LANDING PAGE STYLES */
.property-hero {
  padding-top: 140px;
  padding-bottom: 40px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.property-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.rera-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.gallery-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.gallery-sub-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-sub-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.property-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.sticky-enquiry-card {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.amenity-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.floorplan-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.floorplan-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  border: 1px solid var(--border-medium);
}

.floorplan-tab.active {
  background: var(--brand-indigo);
  color: #FFFFFF;
  border-color: var(--brand-indigo);
}

.connectivity-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.connectivity-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

/* ADMIN PANEL STYLING */
.admin-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  background: #F4F6FB;
}

.admin-sidebar {
  background: var(--brand-indigo-deep);
  color: #FFFFFF;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}

.admin-sidebar .brand-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
}

.admin-nav-item.active a, .admin-nav-item a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.admin-main {
  padding: 36px 40px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.stat-card-title {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stat-card-val {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-table-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th, .data-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.data-table th {
  background: var(--bg-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
}

@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .admin-layout { grid-template-columns: 1fr; }
  .property-layout-grid { grid-template-columns: 1fr; }
  .property-gallery-grid { grid-template-columns: 1fr; }
}

/* ===== SITE HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(10, 6, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.site-header .hdr-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header .logo-only {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header .logo-only img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.hdr-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.rera-badge {
  background: rgba(235, 93, 49, 0.18);
  color: #eb5d31;
  border: 1px solid rgba(235, 93, 49, 0.4);
}

.exp-badge {
  background: rgba(147, 122, 224, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(147, 122, 224, 0.4);
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hdr-nav li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 6px 0;
  position: relative;
}

.hdr-nav li a:hover,
.hdr-nav li a.active {
  color: #eb5d31;
}

.hdr-nav li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #eb5d31;
  border-radius: 2px;
}

.hdr-phone-btn {
  background: linear-gradient(135deg, #eb5d31 0%, #e6354f 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 24px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(235, 93, 49, 0.3);
  transition: all 0.25s ease;
}

.hdr-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(235, 93, 49, 0.45);
}

/* Builder Logos Grid */
.builder-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.builder-logo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.builder-logo-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #eb5d31;
}
.builder-logo-card img {
  max-height: 52px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%);
  transition: all 0.3s ease;
}
.builder-logo-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ===== AUTOPLAY 10-VIDEO REEL CAROUSEL ===== */
.reels-carousel-container {
  position: relative !important;
  width: 100% !important;
  padding: 10px 0 !important;
  overflow: hidden !important;
}
.reels-carousel-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 20px 10px 30px !important;
  -webkit-overflow-scrolling: touch !important;
}
.reels-carousel-track::-webkit-scrollbar,
.reels-carousel-track::-webkit-scrollbar-thumb,
.reels-carousel-track::-webkit-scrollbar-track {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}
.reel-card-item {
  flex: 0 0 280px !important;
  width: 280px !important;
  max-width: 280px !important;
  min-width: 280px !important;
  height: 480px !important;
  max-height: 480px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #0b091a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4) !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  user-select: none !important;
  flex-shrink: 0 !important;
}
.reel-card-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 20px 50px rgba(235, 93, 49, 0.25) !important;
  border-color: rgba(235, 93, 49, 0.6) !important;
}
.reel-video-element {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 480px !important;
  object-fit: cover !important;
  display: block !important;
  pointer-events: none !important;
}
.reel-sound-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.reel-sound-badge.unmuted {
  background: linear-gradient(135deg, #eb5d31, #e6354f);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(235, 93, 49, 0.45);
}
.reel-card-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 24px 16px 16px;
  background: linear-gradient(to top, rgba(11, 9, 26, 0.95) 0%, rgba(11, 9, 26, 0.7) 60%, transparent 100%);
  color: #ffffff;
  pointer-events: none;
}
.reel-badge-tag {
  background: rgba(235, 93, 49, 0.25);
  color: #f59e0b;
  border: 1px solid rgba(235, 93, 49, 0.4);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
}
.reel-caption-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reel-sub-info {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}
.reels-carousel-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.07) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
  outline: none;
}
.reels-carousel-btn:hover {
  background: linear-gradient(135deg, #eb5d31 0%, #e6354f 100%);
  border-color: transparent;
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 28px rgba(235, 93, 49, 0.5), 0 2px 8px rgba(0,0,0,0.3);
}
.reels-carousel-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 10px rgba(235, 93, 49, 0.4);
}
.reels-carousel-btn svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
  transition: transform 0.2s ease;
}
.reels-carousel-btn.prev-btn:hover svg {
  transform: translateX(-2px);
}
.reels-carousel-btn.next-btn:hover svg {
  transform: translateX(2px);
}
.reels-carousel-btn.prev-btn,
.reels-carousel-btn.next-btn {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
}
.reel-card-item {
  scroll-snap-align: start;
}
@media (max-width: 768px) {
  .reel-card-item {
    flex: 0 0 230px;
    max-width: 230px;
    height: 400px;
  }
}

/* Video Testimonial Cards */
.testimonial-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.testimonial-video-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef0f4;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.video-preview-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect */
  background: #100a26;
  overflow: hidden;
}
.video-preview-thumb img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.play-btn-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(235, 93, 49, 0.9);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, background 0.25s ease;
}
.testimonial-video-card:hover .play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: #eb5d31;
}
.testimonial-card-body {
  padding: 24px;
}
.client-quote {
  font-size: 14px;
  line-height: 1.7;
  color: #555555;
  font-style: italic;
  margin-bottom: 16px;
}
.client-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.client-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #eb5d31;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.client-name {
  font-size: 15px;
  font-weight: 700;
  color: #100a26;
}
.client-loc {
  font-size: 12px;
  color: #777777;
}

/* Instagram Reels Section */
.instagram-reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.reel-card {
  background: #100a26;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transition: transform 0.25s ease;
}
.reel-card:hover {
  transform: translateY(-4px);
}
.reel-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.reel-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #ffffff;
}
.reel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* Job Openings Styling */
.job-opening-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}
.job-header {
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.job-title {
  font-size: 24px;
  font-weight: 700;
  color: #100a26;
  font-family: 'Josefin Sans', sans-serif;
  margin-bottom: 4px;
}
.job-company {
  font-size: 14px;
  font-weight: 600;
  color: #eb5d31;
}
.job-grid-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.job-spec-box {
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #edf2f7;
}
.job-spec-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #718096;
  margin-bottom: 6px;
}
.job-spec-val {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
}
.job-resp-list {
  list-style: none;
  padding: 0; margin: 0;
}
.job-resp-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #4a5568;
  line-height: 1.6;
}
.job-resp-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #eb5d31;
  font-weight: bold;
}


/* Dark Background Heading Contrast Fix */
section[style*="background: linear-gradient"] h1,
section[style*="background: linear-gradient"] h2,
section[style*="background: linear-gradient"] h3,
section[style*="background: #100a26"] h1,
section[style*="background:#100a26"] h1,
section[style*="background: #100a26"] h2,
section[style*="background: #100a26"] h3,
section[style*="background: #100a26"] h4,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4,
.hero-section h1, .page-hero h1 {
  color: #ffffff !important;
}

/* ==========================================================================
   ULTRA-PREMIUM LUXURY DESIGN SYSTEM EXTENSIONS
   ========================================================================== */

/* Metallic Gold & Coral Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #eb5d31 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.coral-gradient-text {
  background: linear-gradient(135deg, #eb5d31 0%, #e6354f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism Surface Components */
.glass-card-premium {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(235, 93, 49, 0.12);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(10, 6, 30, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-premium:hover {
  transform: translateY(-6px);
  border-color: rgba(235, 93, 49, 0.35);
  box-shadow: 0 20px 50px rgba(235, 93, 49, 0.15);
}

.glass-card-dark {
  background: rgba(16, 10, 38, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* Floating Luxury Hero Quick Search Bar */
.hero-search-container {
  max-width: 960px;
  margin: 36px auto 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 100px;
  padding: 10px 14px 10px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: var(--font-body);
  color: #100a26;
  outline: none;
}

.hero-search-input::placeholder {
  color: #94a3b8;
}

.hero-search-select {
  border: none;
  background: #f1f5f9;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  cursor: pointer;
}

.hero-search-btn {
  background: linear-gradient(135deg, #eb5d31 0%, #e6354f 100%);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(235, 93, 49, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-search-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(235, 93, 49, 0.5);
}

/* Stat Counter Card Upgrade */
.premium-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.premium-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.premium-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #eb5d31, #f59e0b);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(235, 93, 49, 0.12);
  border-color: rgba(235, 93, 49, 0.3);
}

.premium-stat-card:hover::before {
  opacity: 1;
}

.premium-stat-num {
  font-size: 44px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, #100a26 0%, #eb5d31 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.premium-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* High-End Builder Logo Card */
.luxury-builder-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.luxury-builder-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: rgba(235, 93, 49, 0.4);
  box-shadow: 0 16px 36px rgba(235, 93, 49, 0.14);
}

.luxury-builder-card img {
  height: 72px;
  max-height: 72px;
  min-height: 48px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
  filter: grayscale(15%);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.luxury-builder-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.luxury-builder-name {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-align: center;
}

/* Shimmer Animation */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@media (max-width: 768px) {
  .hero-search-container {
    border-radius: 20px;
    flex-direction: column;
    padding: 16px;
  }
  .hero-search-input, .hero-search-select, .hero-search-btn {
    width: 100%;
  }
}

/* Sticker / Stamp Style Badges */
.hdr-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hdr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.rera-badge {
  background: rgba(235, 93, 49, 0.12);
  color: #ff6b3d;
  border: 1.5px dashed rgba(235, 93, 49, 0.75);
  box-shadow: 0 2px 10px rgba(235, 93, 49, 0.2), inset 0 0 6px rgba(235, 93, 49, 0.1);
  transform: rotate(-2deg);
}
.rera-badge:hover {
  transform: rotate(0deg) scale(1.06);
  background: rgba(235, 93, 49, 0.22);
  border-color: #ff6b3d;
  box-shadow: 0 4px 14px rgba(235, 93, 49, 0.4);
}
.exp-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1.5px dashed rgba(245, 158, 11, 0.75);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.2), inset 0 0 6px rgba(245, 158, 11, 0.1);
  transform: rotate(1.8deg);
}
.exp-badge:hover {
  transform: rotate(0deg) scale(1.06);
  background: rgba(245, 158, 11, 0.22);
  border-color: #fbbf24;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* Global Mobile Responsiveness Overrides */
@media (max-width: 991px) {
  /* Layout boxes using inline grids/flexboxes */
  div[style*="grid-template-columns: 1.15fr 0.85fr"],
  div[style*="grid-template-columns: 1fr 1.25fr"],
  div[style*="grid-template-columns: 1.35fr 0.75fr 1.3fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* Founder spotlight grid layout */
  div[style*="grid-template-columns: 1fr 1.25fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding: 30px 24px !important;
  }
  
  /* Founder spotlight metrics */
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Section Padding reduction on mobile */
  section {
    padding: 60px 0 !important;
  }

  /* Global typography scale down */
  h1 {
    font-size: 32px !important;
    line-height: 1.25 !important;
  }
  h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  p {
    font-size: 15px !important;
  }

  /* Footer responsiveness */
  .site-footer {
    padding: 55px 0 30px !important;
  }
  .site-footer .container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center !important;
  }
  .site-footer .container > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-footer a {
    margin: 0 auto;
  }
  .site-footer div[style*="display: flex"] {
    justify-content: center !important;
  }
  .site-footer h4 span {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .site-footer div[style*="border-top"] {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  /* Badges layout */
  .hdr-badges {
    display: none !important;
  }
}

@media (max-width: 767px) {
  /* Enforce single column layout on all inline grids (except thumbs) */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(3, 1fr)"]:not(.pd-specs-grid),
  div[style*="grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill, minmax(260px, 1fr))"],
  .pd-specs-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Property details page specifications grid and detail page layout */
  .pd-layout {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Builder network alignment */
  div[style*="grid-template-columns: repeat(auto-fill, minmax(180px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill, minmax(190px, 1fr))"] {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    gap: 16px !important;
  }

  /* Connectivity & Amenities Grid collapse */
  div[style*="grid-template-columns: repeat(auto-fill, minmax(190px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fill, minmax(220px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Contact page grids */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  /* Mobile Infinite Scroll Marquee Layout */
  .builders-grid-desktop {
    display: none !important;
  }
  .builders-marquee-container {
    display: block !important;
    overflow: hidden !important;
    position: relative;
    width: 100% !important;
    padding: 10px 0 !important;
  }
  .builders-marquee-track {
    display: flex !important;
    width: max-content !important;
    gap: 20px !important;
    animation: marqueeScroll 35s linear infinite !important;
  }
  @keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
}

@media (max-width: 480px) {
  /* Extremely small viewports styling */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  /* Projects grid collapse on narrow screen */
  div[style*="grid-template-columns: repeat(auto-fill, minmax(340px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
