/* ==========================================================================
   BAYUT-STYLE DUBAI PORTAL EXTENSION & DYNAMIC SECTIONS
   Aesthetic: Quiet Luxury × Editorial Precision × Dubai Modernity
   ========================================================================== */

/* 1. TOP DEVELOPERS MARQUEE & RIBBON (CONTINUOUS HORIZONTAL SCROLL) */
.developers-ribbon-section {
  background: #ffffff;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 3.5rem 0;
  overflow: hidden;
  position: relative;
}

.developers-ribbon-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.developers-ribbon-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: #0b1f3a;
  line-height: 1.15;
}

.developers-ribbon-subtext {
  max-width: 460px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.developers-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  padding: 0.5rem 0;
}

.developers-marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: scrollDevelopersMarquee 28s linear infinite;
}

.developers-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollDevelopersMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.developer-brand-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.2rem;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  flex-shrink: 0;
  min-width: 170px;
  height: 64px;
}

.developer-brand-card:hover {
  border-color: #0b1f3a;
  box-shadow: 0 10px 25px rgba(11, 31, 58, 0.12);
  transform: translateY(-3px);
}

.developer-brand-card .dev-logo-img {
  height: 34px;
  max-width: 140px;
  object-fit: contain;
  filter: contrast(1.05);
}

.developer-brand-card .dev-logo-fallback {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1.15rem;
  color: #0b1f3a;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 2. GOLDEN VISA BENEFITS SECTION */
.golden-visa-section {
  padding: 6.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-hairline);
}

.golden-visa-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.golden-visa-content h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: #0b1f3a;
  margin-bottom: 1.25rem;
}

.golden-visa-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.golden-visa-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2rem;
  margin-bottom: 2.5rem;
}

.visa-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.visa-check-circle {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: #e85933;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
  font-weight: 700;
}

.visa-feature-item span {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.45;
}

.btn-visa-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #0b1f3a;
  color: #ffffff;
  padding: 1rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-visa-cta:hover {
  background: #15325b;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(11, 31, 58, 0.2);
}

/* 3D Realistic Gold Visa Card */
.visa-card-wrapper {
  position: relative;
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.gold-residency-card {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1.586 / 1;
  background: linear-gradient(135deg, #dfba73 0%, #fae5a8 28%, #cda153 52%, #fae5a8 78%, #a87e35 100%);
  border-radius: 18px;
  padding: 2rem 2.2rem;
  box-shadow: 0 25px 50px -12px rgba(168, 126, 53, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-fluid);
}

.gold-residency-card:hover {
  transform: rotateY(-6deg) rotateX(4deg) translateY(-8px);
}

.gold-card-watermark {
  position: absolute;
  right: -10px;
  bottom: 0px;
  opacity: 0.25;
  pointer-events: none;
  width: 220px;
  height: 220px;
}

.gold-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.gold-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #5c4314;
  line-height: 1.15;
  text-shadow: 0 1px 1px rgba(255,255,255,0.7);
}

.gold-card-chip {
  width: 46px;
  height: 34px;
  background: linear-gradient(135deg, #ffd700, #b8860b);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
}

.gold-card-skyline {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  opacity: 0.3;
  z-index: 1;
}

.gold-card-footer {
  z-index: 2;
}

.gold-card-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a4f1a;
  margin-bottom: 0.2rem;
}

.gold-card-status {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3b2a0c;
  letter-spacing: 0.04em;
}

/* 3. WHY INVEST IN DUBAI SECTION */
.why-dubai-section {
  padding: 7rem 0;
  background: var(--bg-body);
}

.why-dubai-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.why-dubai-left h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #0b1f3a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.why-dubai-left p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.why-dubai-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  padding: 2.2rem 1.6rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(11, 31, 58, 0.18);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(11, 31, 58, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #0b1f3a;
}

.why-card h4 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b1f3a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 4. EXPLORE DUBAI TOP LOCATIONS CAROUSEL */
.locations-explore-section {
  padding: 6.5rem 0;
  background: #0b1f3a;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.locations-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.locations-header h2 {
  color: #ffffff;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
}

.locations-header p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
}

.locations-nav-controls {
  display: flex;
  gap: 0.75rem;
}

.loc-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.loc-nav-btn:hover {
  background: #ffffff;
  color: #0b1f3a;
}

.locations-track-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1rem 0 2rem 0;
  cursor: grab;
}

.locations-track-wrapper::-webkit-scrollbar {
  display: none;
}

.locations-cards-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.location-item-card {
  width: 320px;
  min-width: 320px;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s var(--ease-fluid);
  text-decoration: none;
  color: #ffffff;
}

.location-item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.location-item-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-fluid);
  z-index: 1;
}

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

.location-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 31, 58, 0.95) 0%, rgba(11, 31, 58, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.location-card-content {
  position: relative;
  z-index: 3;
}

.location-card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.location-card-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.location-card-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
  font-size: 0.78rem;
}

.location-card-stats span:first-child {
  color: rgba(255, 255, 255, 0.8);
}

.location-card-stats span:last-child {
  font-weight: 700;
  color: #dfba73;
}

/* 5. TYPES OF PROPERTIES IN DUBAI GRID */
.property-types-section {
  padding: 7rem 0 4rem 0;
  background: #ffffff;
}

.property-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
}

.property-type-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: var(--bg-body);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.property-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(11, 31, 58, 0.2);
}

.property-type-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.property-type-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-fluid);
}

.property-type-card:hover .property-type-img img {
  transform: scale(1.06);
}

.property-type-body {
  padding: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-type-body h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b1f3a;
  margin-bottom: 0.2rem;
}

.property-type-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.type-arrow-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1f3a;
  transition: all var(--transition-fast);
}

.property-type-card:hover .type-arrow-icon {
  background: #0b1f3a;
  color: #ffffff;
  transform: translateX(3px);
}

/* Confused Quiz Card */
.quiz-teaser-card {
  background: linear-gradient(135deg, #f8f9fc 0%, #eef2f8 100%);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 14px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.quiz-teaser-card h3 {
  font-size: 1.8rem;
  color: #0b1f3a;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.quiz-teaser-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.btn-quiz-orange {
  background: #e85933;
  color: #ffffff;
  padding: 0.9rem 1.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-quiz-orange:hover {
  background: #d14722;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 89, 51, 0.3);
}

/* Sticky Quiz Bar */
.bottom-quiz-strip {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 1.2rem 2rem;
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
  gap: 1rem;
}

.bottom-quiz-strip-text h5 {
  font-size: 1.05rem;
  color: #0b1f3a;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.bottom-quiz-strip-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* 6. BAYUT-STYLE PROPERTY SEARCH & LISTINGS ENGINE */
.bayut-portal-section {
  padding: 6.5rem 0;
  background: var(--bg-body);
}

/* Search and Filter Panel */
/* Search and Filter Panel (Matching UI Design Specification) */
.portal-search-panel {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #eef0f4;
  margin-bottom: 2.5rem;
}

.portal-search-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  align-items: center;
}

.portal-tab-btn {
  background: transparent;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portal-tab-btn:hover {
  color: #0b1f3a;
  background: rgba(11, 31, 58, 0.04);
}

.portal-tab-btn.active {
  background: #0b1f3a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.18);
}

.portal-filter-inputs-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 0.9fr 1fr auto;
  gap: 0.85rem;
  align-items: flex-end;
}

.portal-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.portal-input-group label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fa0b5;
}

.portal-input-group select,
.portal-input-group input {
  padding: 0.68rem 0.85rem;
  border: 1px solid #dce2e9;
  border-radius: 6px;
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e293b;
  outline: none;
  transition: border-color var(--transition-fast);
  height: 42px;
}

.portal-input-group select:focus,
.portal-input-group input:focus {
  border-color: #0b1f3a;
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.08);
}

.btn-search-apply {
  background: #0b1f3a;
  color: #ffffff;
  border: none;
  padding: 0.72rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0;
  height: 42px;
  transition: all var(--transition-fast);
}

.btn-search-apply:hover {
  background: #15325b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.15);
}

@media (max-width: 1024px) {
  .portal-filter-inputs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .portal-filter-inputs-grid {
    grid-template-columns: 1fr;
  }
}

/* Listings Grid */
.portal-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.portal-results-count {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0b1f3a;
}

.portal-sort-dropdown {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.portal-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bayut-property-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-fluid), box-shadow 0.35s var(--ease-fluid);
  display: flex;
  flex-direction: column;
}

.bayut-property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.property-card-gallery {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #121417;
}

.property-card-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-fluid);
}

.bayut-property-card:hover .property-card-gallery img {
  transform: scale(1.05);
}

.card-top-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.badge-verified {
  background: #00875a;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.badge-visa {
  background: #dfba73;
  color: #3b2a0c;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.card-developer-watermark {
  position: absolute;
  bottom: 0.8rem;
  left: 1rem;
  background: rgba(11, 31, 58, 0.85);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.property-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.prop-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.prop-price-aed {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0b1f3a;
  letter-spacing: -0.02em;
}

.prop-price-usd {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.prop-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.prop-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}

.prop-specs-row {
  display: flex;
  gap: 1.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.prop-specs-row strong {
  color: var(--text-primary);
}

.prop-highlights-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  font-size: 0.78rem;
}

.prop-highlight-item span:first-child {
  color: var(--text-muted);
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.prop-highlight-item span:last-child {
  font-weight: 700;
  color: #0b1f3a;
}

.prop-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-card-details {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 0.65rem 0;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-card-details:hover {
  background: var(--bg-body);
  border-color: #0b1f3a;
}

.btn-card-inquire {
  background: #0b1f3a;
  color: #ffffff;
  border: none;
  padding: 0.65rem 0;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-card-inquire:hover {
  background: #15325b;
}

/* 7. INTERACTIVE QUIZ & MODAL DIALOGS */
.quiz-step-container {
  padding: 1.5rem 0;
}

.quiz-step-counter {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e85933;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.quiz-step-title {
  font-size: 1.5rem;
  color: #0b1f3a;
  margin-bottom: 1.5rem;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option-btn {
  padding: 1.2rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quiz-option-btn:hover,
.quiz-option-btn.selected {
  border-color: #0b1f3a;
  background: rgba(11, 31, 58, 0.04);
}

.quiz-option-btn strong {
  display: block;
  font-size: 0.95rem;
  color: #0b1f3a;
  margin-bottom: 0.25rem;
}

.quiz-option-btn span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ADMIN PANEL STYLING */
.admin-badge-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(232, 89, 51, 0.1);
  color: #e85933;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   HERO VIDEO BACKGROUND & INTEGRATED SEARCH ENGINE
   ========================================================================== */
/* ==========================================================================
   HERO VIDEO BACKGROUND & INTEGRATED SEARCH ENGINE (FULL SCREEN LUXURY)
   ========================================================================== */
.hero-video-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8.5rem 1.5rem 4.5rem 1.5rem;
  overflow: hidden;
  color: #ffffff;
  box-sizing: border-box;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.98) contrast(1.02);
  pointer-events: none;
}

.hero-video-fallback-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.95);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 18, 33, 0.22) 0%, rgba(7, 18, 33, 0.05) 45%, rgba(7, 18, 33, 0.35) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-video-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-video-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.45rem 1.25rem;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dfba73;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-video-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-video-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  color: #dfba73;
}

.hero-video-sub {
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Hero Embedded Search Bar (Glassmorphism Luxury) */
.hero-search-glass-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 18px;
  padding: 1.6rem 2.2rem 1.8rem 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.4);
  text-align: left;
  color: #121417;
  box-sizing: border-box;
}

.hero-search-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0.8rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-search-tabs::-webkit-scrollbar {
  display: none;
}

.hero-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #525866;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hero-tab-btn.active, .hero-tab-btn:hover {
  background: #0b1f3a;
  color: #ffffff;
}

.hero-search-fields-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.3fr 1.1fr 1.1fr auto;
  gap: 0.85rem;
  align-items: flex-end;
}

.hero-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-field-group label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.hero-field-group select,
.hero-field-group input {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1.5px solid rgba(18, 20, 23, 0.16);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: #0b1f3a;
  font-weight: 600;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hero-field-group select:focus,
.hero-field-group input:focus {
  border-color: #0b1f3a;
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.1);
}

.btn-hero-search {
  background: #0b1f3a;
  color: #ffffff;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  height: 48px;
}

.btn-hero-search:hover {
  background: #15325b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.3);
}

.hero-popular-tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #6b7280;
  flex-wrap: wrap;
}

.hero-popular-tags strong {
  color: #0b1f3a;
  font-weight: 700;
}

.hero-pop-tag {
  background: #f1f4f9;
  border: 1px solid #dce2eb;
  color: #0b1f3a;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-pop-tag:hover {
  background: #0b1f3a;
  border-color: #0b1f3a;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Translucent Luxury Site Nav when over Video Hero */
.site-nav {
  background: rgba(11, 31, 58, 0.45) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.site-nav .logo-monogram,
.site-nav .logo-main,
.site-nav .nav-links a,
.site-nav .mobile-nav-btn {
  color: #ffffff !important;
}

.site-nav .logo-monogram::after {
  background: #dfba73 !important;
}

.site-nav .logo-sub {
  color: rgba(255, 255, 255, 0.7) !important;
}

.site-nav .nav-links a:hover {
  color: #dfba73 !important;
}

.site-nav .nav-links a::after {
  background: #dfba73 !important;
}

.site-nav .market-pill-switch {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.site-nav .market-pill-btn {
  color: rgba(255, 255, 255, 0.85) !important;
}

.site-nav .market-pill-btn.active {
  background: #ffffff !important;
  color: #0b1f3a !important;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--border-strong) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.site-nav.scrolled .logo-monogram,
.site-nav.scrolled .logo-main,
.site-nav.scrolled .nav-links a,
.site-nav.scrolled .mobile-nav-btn {
  color: var(--text-primary) !important;
}

.site-nav.scrolled .logo-sub {
  color: var(--text-muted) !important;
}

.site-nav.scrolled .market-pill-switch {
  background: var(--bg-subtle) !important;
  border-color: var(--border-hairline) !important;
}

.site-nav.scrolled .market-pill-btn {
  color: var(--text-secondary) !important;
}

.site-nav.scrolled .market-pill-btn.active {
  background: #ffffff !important;
  color: var(--text-primary) !important;
}

@media(max-width: 1024px) {
  .hero-search-fields-grid {
    grid-template-columns: 1fr 1fr;
  }
  .btn-hero-search {
    grid-column: 1 / -1;
    width: 100%;
  }
  .portal-listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media(max-width: 768px) {
  .hero-video-section {
    min-height: auto;
    padding: 7.5rem 1rem 3.5rem 1rem;
  }
  .hero-search-fields-grid {
    grid-template-columns: 1fr;
  }
  .hero-search-glass-card {
    padding: 1.2rem;
  }
  .hero-popular-tags {
    justify-content: center;
  }

  /* Bayut Portal Listings Responsive Overrides */
  .bayut-portal-section {
    padding: 2.5rem 0 4.5rem !important;
  }
  .portal-listings-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }
  .bayut-property-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .portal-search-panel {
    padding: 1.2rem 1rem;
    margin-bottom: 1.8rem;
  }
  .portal-search-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .portal-tab-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
  .portal-filter-inputs-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }
  .portal-results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .portal-sort-dropdown {
    width: 100%;
    justify-content: space-between;
  }
  .portal-sort-dropdown select {
    flex-grow: 1;
    max-width: 200px;
  }
  .property-card-gallery {
    height: 220px;
  }
  .property-card-body {
    padding: 1.25rem;
  }
  .prop-price-aed {
    font-size: 1.4rem;
  }
  .prop-specs-row {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.65rem 0;
  }
  .prop-highlights-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media(max-width: 480px) {
  .property-card-gallery {
    height: 200px;
  }
  .prop-card-actions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Modal Popup Mobile Styling */
.property-modal-hero-img {
  height: 280px;
}

@media(max-width: 768px) {
  .property-modal-hero-img {
    height: 190px !important;
    margin-bottom: 1.2rem !important;
  }
  .property-modal-header-row {
    flex-direction: column !important;
    gap: 0.6rem !important;
  }
  .property-modal-price-col {
    width: 100%;
    border-top: 1px dashed var(--border-hairline);
    padding-top: 0.6rem;
    margin-top: 0.3rem;
  }
  .property-modal-footer-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .property-modal-action-btns {
    width: 100% !important;
    flex-direction: column !important;
  }
  .property-modal-action-btns .btn {
    width: 100% !important;
    min-width: 0 !important;
  }
  .quiz-options-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

@media(max-width: 480px) {
  .property-modal-hero-img {
    height: 165px !important;
  }
  .property-modal-content h2 {
    font-size: 1.45rem !important;
  }
  .property-modal-price-col div:first-child {
    font-size: 1.5rem !important;
  }
}


