/* ================================================================
   MOBILE FIRST & GLOBAL OVERFLOW CONTROLS
   ================================================================ */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
  -webkit-overflow-scrolling: touch;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.hero-section, .hero-bg-layer, .hero-bg-slider {
  overflow: hidden !important;
  max-width: 100vw !important;
}

/* ===================================================
   سكون المباني للتطوير العقاري - سكون A
   Modern Luxury Architectural Design System
   =================================================== */

:root {
  /* Official Visual Identity Palette (Referenced strictly from AA without modification) */
  --color-primary: #0b617d;
  --color-primary-dark: #084c62;
  --color-primary-light: #e7f2f5;
  --color-secondary: #7f7f84;
  --color-accent: #c5a880;
  --color-accent-dark: #b09167;
  --color-accent-light: #f7f4ef;
  --color-bg-alt: #f8fafb;
  --color-text-main: #1a2d34;
  --color-text-muted: #5b717b;

  /* Architectural Luxury Theme */
  --navy-deep: #081a24;
  --navy-dark: #0b222e;
  --navy-card: #0e2b3a;
  --navy-light: #163d50;
  
  /* Brand Identity Colors (Strictly Petrol Teal & Slate, Gold Removed) */
  --gold-primary: #0b617d;
  --gold-light: #1ea0c0;
  --gold-dark: #084c62;
  --gold-gradient: linear-gradient(135deg, #1ea0c0 0%, #0b617d 100%);
  --gold-subtle: rgba(11, 97, 125, 0.16);
  --brand-cyan: #38bdf8;
  --brand-cyan-glow: rgba(56, 189, 248, 0.25);

  --emerald-ready: #2e7d32;
  --emerald-ready-bg: rgba(46, 125, 50, 0.12);
  --blue-dev: #0b617d;
  --blue-dev-bg: rgba(11, 97, 125, 0.14);

  /* Surfaces & Text */
  --bg-page: #f8fafb;
  --bg-card: #ffffff;
  --bg-muted: #f7f4ef;
  
  --text-dark: #1a2d34;
  --text-body: #334e59;
  --text-muted: #5b717b;
  --text-light: #ffffff;

  --border-light: #e2e8f0;
  --border-card: rgba(226, 232, 240, 0.85);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 14px 34px rgba(7, 23, 43, 0.08);
  --shadow-hover: 0 20px 40px rgba(7, 23, 43, 0.12);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Font Families */
  --font-heading: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Alexandria', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-spacing {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* ===================================================
   INNOVATIVE FLOATING CAPSULE NAVIGATION (سكون A)
   Suspended Glass Island + Architectural Curtain + Bottom Dock
   =================================================== */

/* Floating Island Capsule Bar */
.capsule-nav-island {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1220px;
  z-index: 9999;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.capsule-inner {
  background: rgba(5, 17, 32, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201, 147, 62, 0.38);
  border-radius: var(--radius-pill);
  padding: 8px 14px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 45px rgba(2, 8, 17, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.capsule-nav-island.scrolled .capsule-inner {
  background: rgba(4, 13, 25, 0.96);
  border-color: rgba(201, 147, 62, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Brand Monogram Crest */
.capsule-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(11, 97, 125, 0.28) 0%, rgba(8, 26, 36, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.capsule-brand:hover .brand-crest {
  transform: scale(1.06) rotate(3deg);
  border-color: var(--brand-cyan);
}

.crest-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-names {
  display: flex;
  flex-direction: column;
}

.crest-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.crest-sub {
  font-size: 0.72rem;
  color: var(--brand-cyan);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Center Magnetic Segmented Pills (Desktop) */
.capsule-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.capsule-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.capsule-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.capsule-link.active {
  background: rgba(201, 147, 62, 0.18);
  color: var(--brand-cyan);
  border: 1px solid rgba(201, 147, 62, 0.4);
}

.nav-mini-count {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  line-height: 1.2;
}

/* Right Actions Hub */
.capsule-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Mega Menu Trigger */
.mega-menu-trigger {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  color: #ffffff;
  padding: 7px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.mega-menu-trigger:hover {
  background: rgba(201, 147, 62, 0.2);
  border-color: var(--color-primary);
  color: var(--brand-cyan);
}

.trigger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trigger-bars .bar {
  display: block;
  height: 2px;
  background-color: var(--brand-cyan);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.trigger-bars .bar-1 { width: 16px; }
.trigger-bars .bar-2 { width: 10px; }

.mega-menu-trigger:hover .bar-2 { width: 16px; }

/* Direct Call Pill */
.capsule-tel-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.22s ease;
}

.capsule-tel-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Language Pill */
.capsule-lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: all 0.22s ease;
}

.capsule-lang-btn:hover {
  background: var(--color-primary);
  color: var(--navy-deep);
  border-color: var(--color-primary);
}

/* CTA Golden Button */
.capsule-cta-btn {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(201, 147, 62, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.capsule-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 147, 62, 0.5);
}

/* ===================================================
   ARCHITECTURAL FULLSCREEN CURTAIN OVERLAY
   =================================================== */
.architectural-curtain {
  position: fixed;
  inset: 0;
  z-index: 10005;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.architectural-curtain.active {
  opacity: 1;
  pointer-events: auto;
}

.curtain-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 20, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.curtain-panel {
  position: relative;
  width: 100%;
  max-width: 1260px;
  margin: 30px auto;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  background: linear-gradient(175deg, #071930 0%, #051120 100%);
  border: 1px solid rgba(201, 147, 62, 0.45);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  padding: 36px 44px;
  transform: translateY(-20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.architectural-curtain.active .curtain-panel {
  transform: translateY(0);
}

.curtain-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 22px;
  margin-bottom: 30px;
}

.curtain-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.curtain-logo {
  height: 48px;
}

.curtain-brand-name {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.curtain-brand-tagline {
  color: var(--brand-cyan);
  font-size: 0.82rem;
  display: block;
}

.curtain-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: #ffffff;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.curtain-close-btn:hover {
  background: var(--color-primary);
  color: var(--navy-deep);
  border-color: var(--color-primary);
}

/* Curtain Body Grid (2 Columns) */
.curtain-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  margin-bottom: 35px;
}

.curtain-sec-lbl {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

/* Links List */
.curtain-links-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.curtain-nav-item {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.22s ease;
}

.curtain-nav-item:hover, .curtain-nav-item.active {
  background: rgba(201, 147, 62, 0.15);
  border-color: rgba(201, 147, 62, 0.45);
  transform: translateX(-6px);
}

.curtain-nav-item .item-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-cyan);
  margin-left: 16px;
  width: 24px;
}

.curtain-nav-item .item-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  flex: 1;
}

.curtain-nav-item .item-arrow {
  color: var(--brand-cyan);
  font-size: 1.1rem;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.curtain-nav-item:hover .item-arrow {
  opacity: 1;
  transform: translateX(-4px);
}

/* Showcase Grid inside Menu */
.curtain-showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.curtain-all-link {
  color: var(--brand-cyan);
  font-size: 0.88rem;
  font-weight: 700;
}

.curtain-all-link:hover {
  text-decoration: underline;
}

.curtain-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.curtain-proj-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #030b15;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.curtain-proj-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.curtain-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.curtain-proj-card:hover .curtain-card-img {
  opacity: 0.85;
  transform: scale(1.05);
}

.curtain-card-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  background: linear-gradient(180deg, transparent 30%, rgba(3, 10, 20, 0.95) 100%);
}

.curtain-card-badge {
  align-self: flex-start;
  background: var(--emerald-ready);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
}

.curtain-card-badge.badge-gold {
  background: var(--gold-gradient);
  color: var(--navy-deep);
}

.curtain-card-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.curtain-card-sub {
  color: #cbd5e1;
  font-size: 0.76rem;
}

/* Curtain Footer */
.curtain-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
}

.curtain-contact-quick {
  display: flex;
  align-items: center;
  gap: 24px;
}

.quick-item {
  display: flex;
  flex-direction: column;
}

.quick-lbl {
  font-size: 0.76rem;
  color: #94a3b8;
}

.quick-val {
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
}

.quick-val:hover {
  color: var(--brand-cyan);
}

.quick-val-text {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.curtain-social-row {
  display: flex;
  gap: 10px;
}

.curtain-soc-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.curtain-soc-btn:hover {
  background: var(--color-primary);
  color: var(--navy-deep);
}

/* ===================================================
   MOBILE FLOATING BOTTOM DOCK (البار السفلي التفاعلي المريح)
   =================================================== */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 9998;
  background: rgba(5, 17, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 147, 62, 0.4);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  justify-content: space-around;
  align-items: center;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.dock-item:hover, .dock-item.active {
  color: var(--brand-cyan);
  transform: translateY(-2px);
}

.dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dock-icon-badge {
  position: relative;
}

.dock-badge-num {
  position: absolute;
  top: -6px;
  left: -8px;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 8px;
  line-height: 1;
}

.dock-label {
  font-size: 0.72rem;
  font-weight: 700;
}

/* ===================================================
   HERO SECTION - Multi-Background Ken Burns Cinematic Experience
   =================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 0 75px;
  overflow: hidden;
  background-color: var(--navy-deep);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* Slider Container */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Individual Slide */
.hero-bg-slide {
  position: absolute;
  inset: -5% -5% -5% -5%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.8s;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-slide.active {
  opacity: 0.88;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
}

/* Unique Ken Burns Motion Profiles per Slide */
.slide-0.active .hero-slide-img {
  animation: kenBurnsZoomIn 14s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}
.slide-1.active .hero-slide-img {
  animation: kenBurnsPanRight 14s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}
.slide-2.active .hero-slide-img {
  animation: kenBurnsZoomOut 14s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}
.slide-3.active .hero-slide-img {
  animation: kenBurnsPanLeft 14s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}
.slide-4.active .hero-slide-img {
  animation: kenBurnsTiltUp 14s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

@keyframes kenBurnsZoomIn {
  0% { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.15) translate(-22px, -12px); }
}

@keyframes kenBurnsPanRight {
  0% { transform: scale(1.14) translate(-25px, 8px); }
  100% { transform: scale(1.04) translate(22px, -14px); }
}

@keyframes kenBurnsZoomOut {
  0% { transform: scale(1.16) translate(16px, -10px); }
  100% { transform: scale(1.02) translate(-12px, 14px); }
}

@keyframes kenBurnsPanLeft {
  0% { transform: scale(1.04) translate(20px, -6px); }
  100% { transform: scale(1.15) translate(-24px, 14px); }
}

@keyframes kenBurnsTiltUp {
  0% { transform: scale(1.03) translate(0, 18px); }
  100% { transform: scale(1.14) translate(-12px, -18px); }
}

/* Atmospheric Ambient Floating Orbs */
.hero-ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 3;
  will-change: transform, opacity;
}

.orb-1 {
  top: 10%;
  right: 5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(201, 147, 62, 0.24) 0%, rgba(201, 147, 62, 0) 70%);
  animation: orbFloat1 20s ease-in-out infinite alternate;
}

.orb-2 {
  bottom: 5%;
  left: 5%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0) 70%);
  animation: orbFloat2 24s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(-60px, 45px) scale(1.18); opacity: 1; }
  100% { transform: translate(50px, -40px) scale(0.92); opacity: 0.7; }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(75px, -35px) scale(1.15); opacity: 1; }
  100% { transform: translate(-45px, 55px) scale(0.88); opacity: 0.6; }
}

/* Fine Architectural Mesh Grid */
.hero-mesh-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 147, 62, 0.14) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.35;
  z-index: 4;
  pointer-events: none;
}

/* Refined Cinematic Overlay (Clear Visible Backgrounds) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(8, 26, 36, 0.35) 0%, 
    rgba(8, 26, 36, 0.15) 30%, 
    rgba(8, 26, 36, 0.58) 70%, 
    #081a24 100%
  );
  z-index: 5;
}

.hero-content {
  position: relative;
  z-index: 6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(201, 147, 62, 0.14);
  border: 1px solid rgba(201, 147, 62, 0.35);
  color: var(--brand-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(8, 26, 36, 0.9);
}

.hero-desc {
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.hero-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.btn-hero-explore {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(11, 97, 125, 0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-explore:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 97, 125, 0.6);
  color: #ffffff;
}

.btn-hero-contact {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: rgba(8, 26, 36, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-hero-contact:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  color: #ffffff;
}

.title-gold, .title-brand {
  display: inline-block;
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 40%, #0b617d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(14, 165, 233, 0.35));
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #cbd5e1;
  max-width: 760px;
  margin-bottom: 35px;
  line-height: 1.8;
}

/* ===================================================
   Hero Motion Controller & Interactive Indicators
   =================================================== */




.caption-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  animation: pulseCaption 2s infinite ease-in-out;
}

@keyframes pulseCaption {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.caption-label {
  color: var(--brand-cyan);
  font-size: 0.8rem;
  font-weight: 500;
}

.caption-text {
  color: #ffffff;
  font-weight: 700;
  transition: opacity 0.3s ease;
}













@keyframes pillProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}



.pill-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}









/* Quick Search Console Bar */
.hero-search-console {
  width: 100%;
  background: rgba(11, 31, 54, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  margin-bottom: 40px;
}

.search-col {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 6px;
}

.search-label {
  font-size: 0.8rem;
  color: var(--brand-cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 10px 12px;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.search-select option {
  background-color: var(--navy-dark);
  color: #ffffff;
}

.search-select:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.12);
}

.search-col-btn .btn-search {
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  height: 48px;
}

/* Hero Stats Strip */
.hero-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 16px 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

.stat-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.stat-divider {
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* ===================================================
   SECTION HEADERS (العناوين المشتركة)
   =================================================== */
.section-top-header {
  margin-bottom: 45px;
}

.section-top-header.center {
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-title.text-light {
  color: #ffffff;
}

.section-summary-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
}

.section-summary-desc.center {
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================
   PROJECTS SECTION (طريقة عرض المنتجات الجديدة كلياً)
   =================================================== */
.projects-section {
  background-color: var(--bg-page);
}

/* Control Bar */
.projects-control-bar {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-btn {
  background-color: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s ease;
}

.pill-btn:hover {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
}

.pill-btn.active {
  background-color: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 17, 32, 0.25);
}

.pill-count {
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-size: 0.78rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.pill-btn.active .pill-count {
  background: var(--gold-gradient);
  color: var(--navy-deep);
}

.pill-video {
  border-color: rgba(201, 147, 62, 0.5);
  background-color: rgba(201, 147, 62, 0.06);
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green {
  background-color: var(--emerald-ready);
}

.dot-blue {
  background-color: var(--blue-dev);
}

/* Secondary Toolbar */
.projects-secondary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 440px;
}

.search-input-box svg {
  position: absolute;
  right: 14px;
  color: var(--text-muted);
}

.search-input-box input {
  width: 100%;
  padding: 10px 42px 10px 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  outline: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.search-input-box input:focus {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201, 147, 62, 0.15);
}

.clear-search-btn {
  position: absolute;
  left: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sort-select-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sort-select {
  border: 1px solid var(--border-light);
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

/* Projects Grid Cards (البطاقات الفاخرة) */
/* ================================================================
   NEW ARCHITECTURAL CARD DESIGN (سكون A - الإصدار المعماري الفاخر 2026)
   ================================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.project-luxury-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(11, 97, 125, 0.14);
  box-shadow: 0 4px 20px rgba(8, 26, 36, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.3s;
  position: relative;
}

.project-luxury-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 45px rgba(11, 97, 125, 0.14);
}

.project-luxury-card.is-featured {
  border-color: rgba(11, 97, 125, 0.3);
  box-shadow: 0 8px 30px rgba(11, 97, 125, 0.08);
}

/* Card Media Showcase Area */
.card-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background-color: var(--navy-deep);
  cursor: pointer;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-luxury-card:hover .card-img {
  transform: scale(1.05);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 36, 0.45) 0%, rgba(8, 26, 36, 0.05) 50%, rgba(8, 26, 36, 0.65) 100%);
  pointer-events: none;
}

/* Badges on Card Media */
.card-badges-top {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.card-badges-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.badge-completed {
  background-color: rgba(16, 92, 58, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge-completed .badge-pulse {
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseCaption 2s infinite ease-in-out;
}

.badge-under_development {
  background-color: rgba(11, 97, 125, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge-under_development .badge-pulse {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseCaption 2s infinite ease-in-out;
}

.card-location-pill {
  background: rgba(8, 26, 36, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-location-pill svg {
  stroke: #38bdf8;
}

.card-video-pill {
  background: rgba(8, 26, 36, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.video-play-icon {
  font-size: 0.65rem;
  color: #38bdf8;
}

.card-media-bottom-tag {
  position: absolute;
  bottom: 12px;
  right: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.card-code-pill {
  background: rgba(8, 26, 36, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  letter-spacing: 0.05em;
}

.card-featured-pill {
  background: linear-gradient(135deg, rgba(11, 97, 125, 0.9) 0%, rgba(8, 76, 98, 0.95) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e2f2f7;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Body Info Content */
.card-body-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: right;
}

.card-header-group {
  margin-bottom: 16px;
}

.card-project-type {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #081a24;
  margin: 0;
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-title:hover {
  color: var(--color-primary);
}

/* Refined 3-Pillar Architectural Specs Bar */
.card-specs-bar {
  background: #f8fafb;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  transition: background-color 0.25s, border-color 0.25s;
}

.project-luxury-card:hover .card-specs-bar {
  background: #f1f6f8;
  border-color: rgba(11, 97, 125, 0.18);
}

.spec-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.spec-col-num {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.spec-col-lbl {
  font-size: 0.7rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 3px;
}

.spec-sep {
  width: 1px;
  height: 24px;
  background: #e2e8f0;
  margin: 0 6px;
}

/* Features Micro-Chips */
.card-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.feat-chip {
  background: rgba(11, 97, 125, 0.05);
  border: 1px solid rgba(11, 97, 125, 0.12);
  color: #084c62;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.feat-chip svg {
  stroke: var(--color-primary);
  flex-shrink: 0;
}

.project-luxury-card:hover .feat-chip {
  background: rgba(11, 97, 125, 0.09);
  border-color: rgba(11, 97, 125, 0.2);
}

/* Card Bottom Bar & Actions */
.card-actions-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.btn-card-details {
  flex-grow: 1;
  background: linear-gradient(135deg, var(--color-primary) 0%, #084c62 100%);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(11, 97, 125, 0.22);
}

.btn-card-details:hover {
  background: linear-gradient(135deg, #0d7394 0%, var(--color-primary) 100%);
  box-shadow: 0 6px 20px rgba(11, 97, 125, 0.32);
  transform: translateY(-2px);
}

.btn-card-arrow {
  transition: transform 0.25s ease;
  stroke: currentColor;
}

.project-luxury-card:hover .btn-card-arrow {
  transform: translateX(-4px);
}

.btn-card-wa {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-card-wa:hover {
  transform: scale(1.06);
  background: #20ba59;
}

/* View Mode Toggle Controls */
.view-mode-toggle {
  display: flex;
  background: rgba(11, 97, 125, 0.06);
  border: 1px solid rgba(11, 97, 125, 0.15);
  border-radius: 12px;
  padding: 3px;
  gap: 3px;
}

.view-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-btn:hover {
  color: var(--color-primary);
}

.view-btn.active {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Architectural List View Mode */
.projects-grid.view-list {
  grid-template-columns: 1fr;
  gap: 24px;
}

.projects-grid.view-list .project-luxury-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 270px;
}

.projects-grid.view-list .card-media-box {
  aspect-ratio: auto;
  height: 100%;
}

.projects-grid.view-list .card-specs-modern-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .projects-grid.view-list .project-luxury-card {
    grid-template-columns: 1fr;
  }
  .projects-grid.view-list .card-media-box {
    aspect-ratio: 16/10;
  }
  .projects-grid.view-list .card-specs-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Empty State */
.empty-projects-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-light);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* ===================================================
   STANDALONE PROJECT DETAILS VIEW (صفحة تفاصيل المشروع)
   =================================================== */
.project-details-view {
  background-color: #ffffff;
  min-height: 90vh;
  padding: 40px 0 100px;
}

.project-details-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.breadcrumb-link {
  color: var(--navy-light);
  font-weight: 600;
}

.breadcrumb-link:hover {
  color: var(--gold-primary);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 700;
}

.project-headline-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 35px;
}

.project-main-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.project-meta-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Details Grid */
.project-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Gallery Showcase */
.gallery-hero-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--navy-deep);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.gallery-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-hero-box:hover .gallery-hero-img {
  transform: scale(1.02);
}

.gallery-zoom-pill {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(5, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-thumbs-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 35px;
}

.thumb-item-btn {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.thumb-item-btn.active, .thumb-item-btn:hover {
  opacity: 1;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.thumb-item-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Detail Blocks */
.detail-block {
  margin-bottom: 35px;
}

.detail-block-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(201, 147, 62, 0.3);
}

.detail-block-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
}

.features-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  list-style: none;
}

.features-check-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text-dark);
  background: var(--bg-muted);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.check-icon {
  color: var(--gold-primary);
  font-weight: 900;
  font-size: 1.1rem;
}

/* Project Videos Section */
.project-videos-container {
  background-color: var(--bg-muted);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.video-title-gold {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-deep);
}

.video-title-gold svg {
  color: var(--gold-primary);
}

.project-videos-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-player-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background-color: #000000;
  box-shadow: var(--shadow-md);
}

.video-wrapper video {
  width: 100%;
  display: block;
  max-height: 480px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background-color: #000000;
}

.video-card-footer {
  padding: 12px 18px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  font-weight: 700;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Right Side: Technical Specs Card (المواصفات الفنية بالتصميم الذهبي الفاخر الأصيل) */
.specs-box-card {
  background: linear-gradient(145deg, #fffefc 0%, #faf3e3 100%) !important;
  border-radius: var(--radius-lg);
  border: 1.5px solid #c5a059 !important;
  padding: 26px;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.16) !important;
  margin-bottom: 25px;
}

.specs-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #c5a059 !important;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.specs-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #8c6218 !important;
}

.specs-cert-seal {
  font-size: 0.82rem;
  color: #8c6218 !important;
  background: rgba(197, 160, 89, 0.18) !important;
  border: 1px solid rgba(197, 160, 89, 0.45) !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  font-weight: 700;
}

.specs-table-rows {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(197, 160, 89, 0.3) !important;
  font-size: 0.95rem;
}

.spec-row:last-child {
  border-bottom: none !important;
}

.spec-label {
  color: #6c4d12 !important;
  font-weight: 700;
}

.spec-val {
  color: #1e293b !important;
  font-weight: 800;
  text-align: left;
}

/* Quick Inquiry Card */
.quick-inquiry-card {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy-card) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.inquiry-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.inquiry-card-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.inquiry-or-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.direct-tel-link {
  color: var(--brand-cyan);
  font-weight: 700;
}

/* ===================================================
   INVESTMENT ROI SECTION
   =================================================== */
.invest-section {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  color: #ffffff;
}

.invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.invest-lead-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 35px;
}

.roi-cards-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roi-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: all 0.25s ease;
}

.roi-card:hover {
  background: rgba(201, 147, 62, 0.1);
  border-color: rgba(201, 147, 62, 0.4);
  transform: translateX(-4px);
}

.roi-rate {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand-cyan);
  margin-bottom: 4px;
}

.roi-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.roi-desc {
  font-size: 0.88rem;
  color: #94a3b8;
}

/* Calculator Card */
.calc-card-box {
  background: rgba(11, 31, 54, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.calc-badge {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.calc-slider-group {
  margin-bottom: 28px;
}

.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
}

.calc-val-highlight {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--brand-cyan);
  font-weight: 800;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
  accent-color: var(--gold-primary);
}

.range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 6px;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.calc-res-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.calc-res-lbl {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 4px;
  display: block;
}

.calc-res-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

.calc-disclaimer {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 22px;
}

/* ===================================================
   GUARANTEES SECTION
   =================================================== */
.guarantees-section {
  background-color: #ffffff;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.guarantee-card {
  background-color: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
}

.guarantee-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.guarantee-icon-wrap {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.guarantee-svg-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(11, 97, 125, 0.22));
  transition: transform 0.3s ease;
}

.guarantee-card:hover .guarantee-svg-icon {
  transform: scale(1.08) translateY(-3px);
}

.guarantee-badge-years {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 12px;
  border: 1px solid rgba(11, 97, 125, 0.2);
}

/* About 3D Brand Crest Badge */
.about-crest-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(5, 17, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  z-index: 5;
  max-width: calc(100% - 28px);
}

html[dir="ltr"] .about-crest-badge {
  right: auto;
  left: 14px;
}

.crest-badge-img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid #38bdf8;
  flex-shrink: 0;
}

.crest-badge-text {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 2px;
}

html[dir="ltr"] .crest-badge-text {
  text-align: left;
}

.crest-badge-text strong {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  display: block;
}

.crest-badge-text span {
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  display: block;
}

.guarantee-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.guarantee-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===================================================
   REGULATORY ACCREDITATIONS
   =================================================== */
.regulatory-section {
  background-color: var(--bg-page);
}

/* ================================================================
   REGULATORY & GOVERNMENT COMPLIANCE CARDS WITH LOGOS
   ================================================================ */
.regulatory-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .regulatory-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .regulatory-cards-grid {
    grid-template-columns: 1fr;
  }
}

.reg-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px 20px;
  border: 1px solid rgba(11, 97, 125, 0.12);
  text-align: center;
  box-shadow: 0 4px 18px rgba(8, 26, 36, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.25s;
}

.reg-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 36px rgba(11, 97, 125, 0.12);
}

.reg-logo-box {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #f8fafb;
  border-radius: 12px;
  padding: 10px 16px;
  border: 1px solid #f1f5f9;
  transition: background 0.25s ease;
}

.reg-card:hover .reg-logo-box {
  background: #ffffff;
  border-color: rgba(11, 97, 125, 0.18);
}

.reg-logo-img {
  max-height: 48px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.reg-card:hover .reg-logo-img {
  transform: scale(1.05);
}

.reg-name {
  font-weight: 800;
  color: #081a24;
  font-size: 1.05rem;
  margin: 0 0 4px 0;
  line-height: 1.35;
}

.reg-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.4;
}

.reg-status {
  font-size: 0.76rem;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: auto;
}

.reg-status svg {
  stroke: #059669;
}

/* ===================================================
   ABOUT SECTION
   =================================================== */
.about-section {
  background-color: #ffffff;
}

.about-flex-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-body-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-values-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
}

.about-value-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-muted);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.value-check {
  color: var(--gold-primary);
  font-size: 1.1rem;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  background: rgba(5, 17, 32, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid rgba(201, 147, 62, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  z-index: 5;
  width: max-content;
  max-width: calc(100% - 24px);
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--brand-cyan);
  line-height: 1;
}

.exp-text {
  font-size: 0.76rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
  display: block;
}

html[dir="ltr"] .exp-text {
  text-align: left;
}

/* ===================================================
   CONTACT SECTION
   =================================================== */
.contact-section {
  background-color: var(--bg-page);
}

.contact-card-wrapper {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-info-panel {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy-card) 100%);
  color: #ffffff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.text-gold {
  color: var(--gold-light) !important;
}

.contact-info-panel .section-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: inline-block;
}

.contact-heading {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
}

.contact-sub-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 22px;
}

.contact-direct-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.contact-channel-item:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateX(-3px);
}

html[dir="ltr"] .contact-channel-item:hover {
  transform: translateX(3px);
}

.channel-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon-box svg {
  width: 18px;
  height: 18px;
}

.channel-wa .channel-icon-box {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.channel-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1.2;
}

.channel-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.channel-val-num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.channel-val-loc {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}

.contact-social-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

.social-intro {
  font-size: 0.76rem;
  color: #94a3b8;
}

.social-circle-link {
  width: 32px;
  height: 32px;
}

.social-circle-link svg {
  width: 15px;
  height: 15px;
}

.social-circle-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-circle-link:hover {
  background: var(--color-primary);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

/* Contact Form Panel */
.contact-form-panel {
  padding: 48px;
}

.form-category-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background-color: var(--bg-muted);
  padding: 6px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 10px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn.active {
  background-color: var(--navy-deep);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(5, 17, 32, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201, 147, 62, 0.15);
}

.form-feedback-msg {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 48px;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-brand-sub {
  color: var(--brand-cyan);
  font-size: 0.78rem;
}

.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-social-strip {
  display: flex;
  gap: 10px;
}

.ftr-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.ftr-social-btn:hover {
  background: var(--color-primary);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--brand-cyan);
  transform: translateX(-4px);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ftr-contact-item {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.ftr-lbl {
  color: #64748b;
  font-size: 0.8rem;
}

.ftr-val-link {
  color: #ffffff;
  font-weight: 700;
}

.ftr-val-link:hover {
  color: var(--brand-cyan);
}

.ftr-val-text {
  color: #cbd5e1;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #64748b;
}

.footer-badges-pill {
  display: flex;
  gap: 8px;
  color: var(--brand-cyan);
}

/* ===================================================
   FLOATING WHATSAPP & TOAST
   =================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
}

.wa-ping-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.7;
  animation: waPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

@keyframes waPing {
  75%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.wa-tooltip {
  position: absolute;
  left: 74px;
  background: var(--navy-deep);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s ease;
  border: 1px solid rgba(201, 147, 62, 0.3);
}

.floating-whatsapp-btn:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Toast Message */
.toast-box {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10002;
  background: var(--navy-deep);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(5, 17, 32, 0.95);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--color-primary);
  color: var(--navy-deep);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* ===================================================
   RESPONSIVE DESIGN (تجاوب تام مع الشاشات والجوال)
   =================================================== */
@media (max-width: 1024px) {
  .hero-search-console {
    grid-template-columns: 1fr 1fr;
  }
  .search-col-btn {
    grid-column: span 2;
  }
  .search-col-btn .btn-search {
    width: 100%;
  }
  .invest-grid, .about-flex-layout, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-details-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Floating Capsule Island on Mobile */
  .capsule-nav-island {
    top: 10px;
    width: calc(100% - 20px);
    padding: 6px 12px;
  }
  .capsule-links {
    display: none;
  }
  .capsule-actions .capsule-cta-btn {
    display: none;
  }
  .capsule-actions .capsule-tel-pill {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .capsule-actions .capsule-tel-pill svg {
    display: none;
  }

  /* Floating Bottom Dock on Mobile */
  .mobile-bottom-dock {
    display: flex;
  }

  /* Architectural Curtain Mobile Refinement */
  .curtain-panel {
    margin: 10px;
    padding: 20px 16px;
    max-height: 94vh;
    border-radius: 20px;
  }
  .curtain-brand-name {
    font-size: 1rem;
  }
  .curtain-brand-tagline {
    font-size: 0.75rem;
  }
  .curtain-body-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px 0;
  }
  .curtain-projects-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .curtain-foot-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* WhatsApp button above the mobile dock */
  .floating-whatsapp-btn {
    bottom: 82px !important;
    left: 16px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .top-bar {
    display: none;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .hero-search-console {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .search-col-btn {
    grid-column: span 1;
  }
  .hero-stats-strip {
    border-radius: var(--radius-lg);
    gap: 16px;
  }
  
  
  
  .stat-divider {
    display: none;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2, .form-category-tabs, .about-values-row {
    grid-template-columns: 1fr;
  }
  .contact-info-panel, .contact-form-panel {
    padding: 28px 20px;
  }
  .footer-top-row {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .floating-whatsapp-btn {
    bottom: 20px;
    left: 20px;
    width: 54px;
    height: 54px;
  }
  .wa-tooltip {
    display: none;
  }
}

/* ===================================================
   LTR / English Mode Rules
   =================================================== */
html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .spec-val {
  text-align: right;
}

html[dir="ltr"] .mobile-drawer {
  right: auto;
  left: -100%;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

html[dir="ltr"] .mobile-drawer.open {
  left: 0;
  right: auto;
}

html[dir="ltr"] .search-input-box svg {
  right: auto;
  left: 14px;
}

html[dir="ltr"] .search-input-box input {
  padding: 10px 36px 10px 42px;
}

html[dir="ltr"] .clear-search-btn {
  left: auto;
  right: 12px;
}

html[dir="ltr"] .floating-whatsapp-btn {
  left: auto;
  right: 28px;
}

html[dir="ltr"] .wa-tooltip {
  left: auto;
  right: 74px;
}

/* ===================================================
   Dedicated Section Pages Header Banner
   =================================================== */
.page-header-banner {
  background: linear-gradient(180deg, #081a24 0%, #0e2b3b 100%);
  padding: 55px 0 45px;
  border-bottom: 1px solid rgba(11, 97, 125, 0.22);
  margin-bottom: 35px;
  text-align: center;
  position: relative;
}

.page-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 97, 125, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-nav a {
  color: var(--brand-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-nav span {
  color: #ffffff;
  font-weight: 700;
}

.page-banner-title {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-banner-desc {
  font-size: 1.02rem;
  color: #cbd5e1;
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.7;
}



/* ================================================================
   AQAARZ EXACT CARD ARCHITECTURE (تصميم كروت موقع aqaarz.com المعماري)
   ================================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.aqaarz-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s;
  position: relative;
  text-align: right;
  cursor: pointer;
}

.aqaarz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}

.aqaarz-card.is-featured {
  border-top: 3px solid #77c720;
}

/* Media Container */
.aqaarz-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background-color: #0f172a;
}

.aqaarz-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.aqaarz-card:hover .aqaarz-img {
  transform: scale(1.06);
}

.aqaarz-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
  pointer-events: none;
}

/* Badges Top (RTL) */
.aqaarz-badges-top {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}

.aqaarz-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.02em;
}

.aqaarz-badge-featured {
  background-color: #77c720;
}

.aqaarz-badge-status {
  background-color: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.aqaarz-badge-type {
  background-color: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Video Pill */
.aqaarz-video-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 97, 125, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Quick Tools (Bottom Left) */
.aqaarz-item-tools {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 4;
}

.aqaarz-tool-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.aqaarz-tool-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.aqaarz-tool-wa:hover {
  background: #25d366;
  border-color: #25d366;
}

.aqaarz-tool-preview:hover {
  background: #0b617d;
  border-color: #0b617d;
}

.aqaarz-tool-fav:hover,
.aqaarz-tool-fav.active {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
}

/* Bottom Right Price / Deed Wrap */
.aqaarz-item-price-wrap {
  position: absolute;
  bottom: 10px;
  right: 14px;
  z-index: 3;
  color: #ffffff;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.aqaarz-price-sub {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 500;
  line-height: 1.2;
}

.aqaarz-price-val {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Body Content */
.aqaarz-body {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.aqaarz-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.aqaarz-card:hover .aqaarz-title {
  color: #0b617d;
}

.aqaarz-address {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.aqaarz-address svg {
  stroke: #94a3b8;
  flex-shrink: 0;
}

/* Aqaarz Signature 4-Column Specs Bar */
.aqaarz-amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: auto;
  text-align: center;
}

.aqaarz-amenity-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-left: 1px solid #f1f5f9;
}

.aqaarz-amenity-col:first-child {
  border-left: 1px solid #f1f5f9;
}

.aqaarz-amenity-col:last-child {
  border-left: none;
}

.amenity-num {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}

.amenity-lbl {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  margin-top: 3px;
  white-space: nowrap;
}

/* Footer Section */
.aqaarz-footer {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aqaarz-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aqaarz-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #081a24;
  padding: 3px;
  object-fit: contain;
}

.aqaarz-author-name {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.aqaarz-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 12px;
}

.aqaarz-date-badge svg {
  stroke: #166534;
}



/* ================================================================
   EXACT AQAARZ COMPACT 4-COLUMN CARDS (مطابق لحجم وشكل لقطة الشاشة 100%)
   ================================================================ */
.aqaarz-grid-compact {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

@media (max-width: 1200px) {
  .aqaarz-grid-compact {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 860px) {
  .aqaarz-grid-compact {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 520px) {
  .aqaarz-grid-compact {
    grid-template-columns: 1fr !important;
  }
}

.aqaarz-compact-card {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.25s;
  position: relative;
  text-align: right;
  width: 100%;
}

.aqaarz-compact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.aqaarz-compact-card.is-featured {
  border-top: 3px solid #77c720;
}

/* Media Box */
.aqaarz-c-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #0f172a;
  cursor: pointer;
}

.aqaarz-c-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.aqaarz-compact-card:hover .aqaarz-c-img {
  transform: scale(1.05);
}

.aqaarz-c-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 75%);
  pointer-events: none;
}

/* Chevron Slide Arrows */
.aqaarz-c-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 32px;
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  border: none;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  padding: 0;
}

.arrow-next { right: 0; border-radius: 4px 0 0 4px; }
.arrow-prev { left: 0; border-radius: 0 4px 4px 0; }

.aqaarz-compact-card:hover .aqaarz-c-arrow {
  opacity: 1;
}

.aqaarz-c-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* Badges Top (RTL) */
.aqaarz-c-badges {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 3;
  pointer-events: none;
}

.aqaarz-c-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.aqaarz-c-badge.badge-featured {
  background-color: #77c720;
}

.aqaarz-c-badge.badge-sold-out {
  background-color: #dc2626 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.35);
}

.aqaarz-c-badge.badge-available {
  background-color: #0b617d !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(11, 97, 125, 0.4);
}

.aqaarz-c-badge.badge-finishing {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(217, 119, 6, 0.4) !important;
}

.status-badge.badge-sold-out {
  background: rgba(220, 38, 38, 0.2) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(220, 38, 38, 0.45) !important;
}

.aqaarz-c-badge.badge-dark {
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Video Indicator */
.aqaarz-c-video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(11, 97, 125, 0.88);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Tools (Bottom Left) */
.aqaarz-c-tools {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 4;
}

.aqaarz-c-tool-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  padding: 0;
}

.aqaarz-c-tool-btn:hover {
  background: #0b617d;
  border-color: #0b617d;
  color: #ffffff;
  transform: scale(1.1);
}

.aqaarz-c-tool-btn.active {
  background: #e11d48;
  border-color: #e11d48;
}

/* Price / Deed (Bottom Right) */
.aqaarz-c-price {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 3;
  color: #ffffff;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.price-main {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.price-sub {
  font-size: 10px;
  color: #cbd5e1;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Card Body */
.aqaarz-c-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.aqaarz-c-title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 3px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: color 0.2s;
}

.aqaarz-compact-card:hover .aqaarz-c-title {
  color: #0b617d;
}

.aqaarz-c-location {
  font-size: 11px;
  color: #6b7280;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aqaarz-c-location svg {
  stroke: #9ca3af;
  flex-shrink: 0;
}

/* Amenities Row + [التفاصيل] Button */
.aqaarz-c-amenities-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-top: auto;
  gap: 8px;
}

.btn-aqaarz-details {
  background: #2d6a4f;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-aqaarz-details:hover {
  background: #1b4332;
  transform: translateY(-1px);
}

.aqaarz-c-specs-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.aqaarz-c-icons-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
}

.spec-item {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  color: #1f2937;
}

.spec-item svg {
  stroke: #4b5563;
  flex-shrink: 0;
}

.aqaarz-c-type-sub {
  font-size: 10px;
  color: #6b7280;
  font-weight: 500;
}

/* Footer Section */
.aqaarz-c-footer {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.aqaarz-c-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.aqaarz-c-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #081a24;
  padding: 2px;
  object-fit: contain;
}

.aqaarz-c-author-name {
  font-weight: 600;
  color: #4b5563;
}

.aqaarz-c-date {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #9ca3af;
  font-size: 10px;
}

.aqaarz-c-date svg {
  stroke: #9ca3af;
}

.aqaarz-c-footer, .aqaarz-footer { display: none !important; }



/* ================================================================
   ENLARGED BRAND LOGO (HEADER & FOOTER) - NO TEXT
   ================================================================ */
.brand-crest {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(11, 97, 125, 0.35) 0%, rgba(8, 26, 36, 0.95) 100%) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  box-shadow: 0 4px 16px rgba(11, 97, 125, 0.25) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.capsule-brand:hover .brand-crest {
  transform: scale(1.08) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.35) !important;
}

.crest-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3)) !important;
}

.brand-names {
  display: none !important;
}

.footer-logo-row {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 20px !important;
}

.footer-logo {
  height: 82px !important;
  width: auto !important;
  max-width: 250px !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

.footer-logo:hover {
  transform: scale(1.05) !important;
}

.footer-brand-title, .footer-brand-sub {
  display: none !important;
}



/* ================================================================
   COMPREHENSIVE MOBILE OPTIMIZATIONS (شاشات الهواتف الذكية 320px - 768px)
   ================================================================ */
@media (max-width: 768px) {
  
  /* 1. Prevent Horizontal Scroll */
  body {
    padding-bottom: 80px !important;
  }

  /* 2. Top Capsule Navigation */
  .capsule-nav-island {
    top: 8px !important;
    width: calc(100% - 16px) !important;
    left: 8px !important;
    right: 8px !important;
    transform: none !important;
    padding: 6px 10px !important;
    justify-content: space-between !important;
  }

  .capsule-links {
    display: none !important;
  }

  /* Hide duplicate phone pill on mobile (already present in bottom dock) */
  .capsule-actions .capsule-tel-pill,
  .capsule-actions .capsule-cta-btn {
    display: none !important;
  }

  .brand-crest {
    width: 48px !important;
    height: 48px !important;
    padding: 4px !important;
  }

  /* 3. Hero Section Readability & Contrast */
  .hero-section {
    padding-top: 100px !important;
    padding-bottom: 50px !important;
    min-height: auto !important;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
  }

  .title-brand {
    color: #38bdf8 !important;
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) !important;
  }

  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
    padding: 0 4px !important;
  }

  .hero-action-row {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .btn-hero-explore, .btn-hero-contact {
    width: 100% !important;
    padding: 13px 20px !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
  }

  /* 4. Hero Stats: Clean 3-Column Grid for 3 key stats */
  .hero-stats-strip {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding: 12px 6px !important;
    margin-top: 28px !important;
    background: rgba(8, 26, 36, 0.88) !important;
    border-radius: 16px !important;
  }

  .stat-divider {
    display: none !important;
  }

  .stat-box {
    padding: 6px 2px !important;
    text-align: center !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .stat-number {
    font-size: 1.35rem !important;
  }

  .stat-desc {
    font-size: 0.72rem !important;
  }

  /* 5. Project Cards Mobile Display */
  .aqaarz-grid-compact {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .aqaarz-compact-card {
    max-width: 100% !important;
    border-radius: 8px !important;
  }

  .aqaarz-c-media {
    aspect-ratio: 16 / 10.5 !important;
  }

  .aqaarz-c-title {
    font-size: 15px !important;
  }

  .aqaarz-c-amenities-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .btn-aqaarz-details {
    padding: 6px 14px !important;
    font-size: 12px !important;
  }

  .aqaarz-c-icons-line {
    gap: 7px !important;
  }

  .spec-item {
    font-size: 11px !important;
  }

  /* 6. Regulatory & Guarantees Mobile Grids */
  .regulatory-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .reg-card {
    padding: 16px 12px 14px !important;
  }

  .reg-logo-box {
    height: 54px !important;
    padding: 6px 10px !important;
  }

  .reg-logo-img {
    max-height: 38px !important;
  }

  .reg-name {
    font-size: 0.88rem !important;
  }

  .reg-sub {
    font-size: 0.72rem !important;
    margin-bottom: 8px !important;
  }

  .reg-status {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
  }

  .guarantees-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* 7. Footer Protection from Floating Dock */
  .site-footer {
    padding-bottom: 110px !important;
  }

  .footer-logo {
    height: 64px !important;
  }

  /* 8. Floating WhatsApp Positioned Above Dock */
  .floating-whatsapp-btn {
    bottom: 84px !important;
    left: 14px !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 99 !important;
  }

  .floating-whatsapp-btn svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* 9. Floating Bottom Dock Bar */
  .mobile-bottom-dock {
    display: flex !important;
    position: fixed !important;
    bottom: 10px !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 100 !important;
    background: rgba(8, 26, 36, 0.94) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    padding: 6px 10px !important;
  }
}

@media (max-width: 420px) {
  .regulatory-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-title {
    font-size: 1.85rem !important;
  }
}

.reg-status { display: none !important; }



/* ================================================================
   AQAARZ EXACT REPLICATION: TABS & COMPACT 4-COL CARDS
   ================================================================ */

/* Projects Control Bar Container */
.projects-control-bar {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 0 10px 0 !important;
  box-shadow: none !important;
  border: none !important;
  margin-bottom: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Tabs Navigation Row (Exact Aqaarz Style) */
.filter-pills-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 28px !important;
  border-bottom: 2px solid #eef2f6 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  direction: rtl !important;
}
.filter-pills-row::-webkit-scrollbar {
  display: none;
}

/* Tab Button (Exact Aqaarz Underline Tab) */
.pill-btn {
  background: transparent !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #4b5563 !important;
  padding: 10px 4px 14px 4px !important;
  margin-bottom: -2px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: inherit !important;
}

.pill-btn:hover {
  color: #0b617d !important;
  background: transparent !important;
  border-color: transparent !important;
}

.pill-btn.active {
  color: #0b617d !important;
  font-weight: 800 !important;
  border-bottom: 3px solid #0b617d !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pill-count {
  display: none !important;
}

/* Secondary Bar (Search & Sort) - Sleek and Compact */
.projects-secondary-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 6px 0 !important;
}

/* Aqaarz 4-Column Grid */
.aqaarz-grid-compact {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

@media (max-width: 1200px) {
  .aqaarz-grid-compact {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 860px) {
  .aqaarz-grid-compact {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 580px) {
  .aqaarz-grid-compact {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* Card Container */
.aqaarz-compact-card {
  background: #ffffff !important;
  border-radius: 6px !important;
  border: 1px solid #e5e7eb !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease !important;
  position: relative !important;
  text-align: right !important;
  width: 100% !important;
}

.aqaarz-compact-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: #cbd5e1 !important;
}

/* Media Box */
.aqaarz-c-media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  background-color: #0f172a !important;
  cursor: pointer !important;
}

.aqaarz-c-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.aqaarz-compact-card:hover .aqaarz-c-img {
  transform: scale(1.04) !important;
}

/* Gradient overlay on image bottom */
.aqaarz-c-gradient {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.2) 45%, transparent 75%) !important;
  pointer-events: none !important;
}

/* Top Badges (Right in RTL) */
.aqaarz-c-badges {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  z-index: 3 !important;
  pointer-events: none !important;
}

.aqaarz-c-badge {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.aqaarz-c-badge.badge-featured {
  background-color: #68b828 !important;
}

.aqaarz-c-badge.badge-sold-out {
  background-color: #dc2626 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.35) !important;
}

.aqaarz-c-badge.badge-available {
  background-color: #0b617d !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(11, 97, 125, 0.4) !important;
}

.aqaarz-c-badge.badge-finishing {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(217, 119, 6, 0.4) !important;
}

.aqaarz-c-badge.badge-dark {
  background-color: rgba(17, 24, 39, 0.78) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
}

/* Slide Navigation Arrows */
.aqaarz-c-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 26px !important;
  height: 32px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 3 !important;
  opacity: 0 !important;
  transition: opacity 0.2s, background 0.2s !important;
  padding: 0 !important;
}

.arrow-next { right: 0 !important; border-radius: 4px 0 0 4px !important; }
.arrow-prev { left: 0 !important; border-radius: 0 4px 4px 0 !important; }

.aqaarz-compact-card:hover .aqaarz-c-arrow {
  opacity: 1 !important;
}

.aqaarz-c-arrow:hover {
  background: rgba(0, 0, 0, 0.65) !important;
}

/* Tools Left on Image Bottom */
.aqaarz-c-tools {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  z-index: 3 !important;
}

.aqaarz-c-tool-btn {
  width: 26px !important;
  height: 26px !important;
  border-radius: 4px !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  padding: 0 !important;
  text-decoration: none !important;
}

.aqaarz-c-tool-btn:hover {
  background: rgba(0, 0, 0, 0.75) !important;
  transform: scale(1.08) !important;
}

/* Price / Deed Right on Image Bottom */
.aqaarz-c-price {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  z-index: 3 !important;
  pointer-events: none !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
}

.aqaarz-c-price .price-main {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.aqaarz-c-price .price-sub {
  font-size: 10.5px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500 !important;
}

/* Card Body */
.aqaarz-c-body {
  padding: 12px 14px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.aqaarz-c-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
  transition: color 0.2s !important;
}

.aqaarz-compact-card:hover .aqaarz-c-title {
  color: #0b617d !important;
}

.aqaarz-c-location {
  font-size: 11.5px !important;
  color: #6b7280 !important;
  margin: 0 0 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.aqaarz-c-location svg {
  stroke: #9ca3af !important;
  flex-shrink: 0 !important;
}

/* Amenities Row + [التفاصيل] Button */
.aqaarz-c-amenities-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 10px !important;
  margin-top: auto !important;
  gap: 8px !important;
}

.btn-aqaarz-details {
  background: #23775b !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.btn-aqaarz-details:hover {
  background: #1b5e47 !important;
  transform: translateY(-1px) !important;
}

.aqaarz-c-specs-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 3px !important;
  min-width: 0 !important;
}

.aqaarz-c-icons-line {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #374151 !important;
  direction: rtl !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

.spec-item {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  flex-shrink: 0 !important;
}

.spec-item svg {
  stroke: #4b5563 !important;
  flex-shrink: 0 !important;
}

.aqaarz-c-type-sub {
  font-size: 10.5px !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

/* Card Footer is strictly hidden */
.aqaarz-c-footer, .aqaarz-footer {
  display: none !important;
}

/* Hide form category tabs (شراء وحدة، تأجير، محل تجاري، أخرى) */
.form-category-tabs, #formTabs {
  display: none !important;
}


/* Mega Menu Trigger: Two lines only, icon pill button */
.mega-menu-trigger {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  justify-content: center !important;
  border-radius: 50% !important;
}
.trigger-text {
  display: none !important;
}

/* Remove investment item from mobile bottom dock */
.mobile-bottom-dock [data-tab="invest"] {
  display: none !important;
}

/* Completely remove card quick tools (WhatsApp, Favorite, Preview) */
.aqaarz-c-tools {
  display: none !important;
}

/* Remove 'إفراغ فوري معتمد' from product card */
.price-main {
  display: none !important;
}


/* Regulatory Showcase: Logos Only (No Text) */
.reg-name, .reg-sub {
  display: none !important;
}
.reg-card {
  padding: 16px 20px !important;
  justify-content: center !important;
  min-height: 94px !important;
  background: #ffffff !important;
}
.reg-logo-box {
  margin-bottom: 0 !important;
  background: transparent !important;
  border: none !important;
  height: 62px !important;
  padding: 0 !important;
}
.reg-logo-img {
  max-height: 52px !important;
  max-width: 155px !important;
  transition: transform 0.25s ease !important;
}
.reg-card:hover .reg-logo-img {
  transform: scale(1.06) !important;
}


/* ================================================================
   BRAND LOGO FREED FROM CIRCLE & MOBILE NAVBAR REORGANIZATION
   ================================================================ */

/* Free the logo from the circle (all screens) */
.brand-crest {
  width: auto !important;
  height: 52px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.crest-img {
  width: auto !important;
  height: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)) !important;
}

.capsule-brand:hover .brand-crest {
  transform: scale(1.05) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Mobile Header Layout: Logo centered, Menu lines on the right */
@media (max-width: 768px) {
  .capsule-nav-island .capsule-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 50px !important;
  }

  /* Centered logo on mobile */
  .capsule-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .capsule-brand .brand-crest {
    height: 44px !important;
    width: auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .capsule-brand .crest-img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
  }

  /* Two lines menu on the right on mobile (RTL start) */
  .capsule-actions {
    display: flex !important;
    align-items: center !important;
    order: 1 !important;
    margin: 0 !important;
    z-index: 3 !important;
  }

  .mega-menu-trigger {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }
}


/* ================================================================
   MOBILE HEADER: MENU ON RIGHT, LOGO IN CENTER, EN ON LEFT
   ================================================================ */
@media (max-width: 768px) {
  .capsule-nav-island .capsule-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 4px !important;
  }

  /* Centered logo */
  .capsule-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
  }

  .capsule-brand .brand-crest {
    height: 44px !important;
    width: auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .capsule-brand .crest-img {
    height: 42px !important;
    max-height: 42px !important;
    width: auto !important;
  }

  /* Actions container spans full width to push Menu to Right and EN to Left */
  .capsule-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 5 !important;
    pointer-events: none !important;
  }

  /* Right side: Two-lines menu button */
  .mega-menu-trigger {
    order: 1 !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    pointer-events: auto !important;
  }

  /* Left side: EN language button */
  .capsule-lang-btn {
    order: 2 !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    pointer-events: auto !important;
  }

  /* Ensure hidden mobile items stay hidden */
  .capsule-actions .capsule-tel-pill,
  .capsule-actions .capsule-cta-btn {
    display: none !important;
  }
}


/* ================================================================
   MOBILE MASTER REFINEMENT: TYPOGRAPHY, CLEAN DOCK & CURTAIN MENU
   ================================================================ */

/* Hide 'المزيد' from bottom dock permanently */
.dock-item-menu, #dockBtnMenu {
  display: none !important;
}

/* Bottom dock 3-button balanced layout */
.mobile-bottom-dock {
  justify-content: space-around !important;
  padding: 8px 16px !important;
}
.mobile-bottom-dock .dock-item {
  gap: 3px !important;
}
.mobile-bottom-dock .dock-label {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
}

/* Mega Curtain Menu Refinement */
.curtain-panel {
  max-width: 95vw !important;
  border-radius: 20px !important;
}

.curtain-top-bar {
  padding-bottom: 14px !important;
  margin-bottom: 16px !important;
}

.curtain-brand-name,
.curtain-brand-tagline {
  display: none !important;
}

.curtain-logo {
  height: 42px !important;
  width: auto !important;
}

.curtain-close-btn {
  padding: 6px 14px !important;
  font-size: 0.82rem !important;
  border-radius: 20px !important;
  gap: 6px !important;
}

.curtain-sec-lbl {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 10px !important;
  display: block !important;
}

.curtain-nav-item {
  padding: 9px 14px !important;
  border-radius: 10px !important;
  margin-bottom: 5px !important;
  gap: 10px !important;
}

.curtain-nav-item .item-num {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  margin-left: 8px !important;
  width: 18px !important;
}

.curtain-nav-item .item-text {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.curtain-nav-item .item-arrow {
  font-size: 0.85rem !important;
  color: #38bdf8 !important;
}

/* Mobile Responsive Typography & Hierarchy */
@media (max-width: 768px) {
  /* Hero Section Typography */
  .hero-section {
    padding-top: 96px !important;
    padding-bottom: 40px !important;
  }

  .hero-badge {
    font-size: 0.75rem !important;
    padding: 4px 12px !important;
    margin-bottom: 10px !important;
  }

  .hero-title {
    font-size: 1.68rem !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 10px !important;
  }

  .title-brand {
    font-size: 1.68rem !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle {
    font-size: 0.86rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    margin-bottom: 18px !important;
  }

  .hero-actions {
    gap: 10px !important;
    margin-bottom: 24px !important;
  }

  .hero-actions .btn {
    font-size: 0.88rem !important;
    padding: 9px 18px !important;
  }

  /* Stats Strip: 3-Column Grid for 3 key stats */
  .hero-stats-strip {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding: 12px 6px !important;
    border-radius: 14px !important;
  }

  .stat-card {
    padding: 8px !important;
  }

  .stat-number {
    font-size: 1.32rem !important;
    font-weight: 800 !important;
    color: #38bdf8 !important;
    line-height: 1.15 !important;
  }

  .stat-desc {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    color: rgba(255, 255, 255, 0.78) !important;
  }

  /* Section Headings */
  .section-badge {
    font-size: 0.72rem !important;
    padding: 3px 10px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
  }

  .section-title {
    font-size: 1.42rem !important;
    line-height: 1.32 !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
  }

  .section-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    color: #64748b !important;
  }

  /* Filter Tabs */
  .filter-pills-row {
    gap: 18px !important;
  }

  .pill-btn {
    font-size: 0.88rem !important;
    padding: 8px 4px 10px 4px !important;
  }

  /* Product Cards Typography */
  .aqaarz-c-body {
    padding: 10px 12px 12px !important;
  }

  .aqaarz-c-title {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    margin-bottom: 3px !important;
  }

  .aqaarz-c-location {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }

  .btn-aqaarz-details {
    font-size: 11px !important;
    padding: 5px 12px !important;
  }

  .spec-item {
    font-size: 11px !important;
  }

  .aqaarz-c-type-sub {
    font-size: 9.5px !important;
  }

  /* Regulatory Government Logos (2-column mobile grid) */
  .regulatory-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .reg-card {
    min-height: 76px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }

  .reg-logo-box {
    height: 52px !important;
  }

  .reg-logo-img {
    max-height: 42px !important;
    max-width: 120px !important;
  }

  /* Guarantees Cards Typography */
  .guarantees-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .guarantee-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .guarantee-card h3 {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
  }

  .guarantee-duration {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
  }

  .guarantee-card p {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }

  /* Contact Form Typography */
  .contact-form-box {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .form-group label {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.86rem !important;
    padding: 8px 12px !important;
    height: 42px !important;
    border-radius: 8px !important;
  }

  .form-submit-btn {
    font-size: 0.9rem !important;
    height: 46px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
  }

  /* Footer Typography */
  .site-footer {
    padding-bottom: 110px !important;
  }

  .footer-col h4 {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
  }

  .footer-col a,
  .footer-col p {
    font-size: 0.8rem !important;
    line-height: 1.65 !important;
  }

  /* Curtain Menu Body Grid on Mobile */
  .curtain-body-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 10px 0 !important;
  }

  .curtain-showcase-col {
    display: none !important;
  }

  .curtain-foot-grid {
    flex-direction: column !important;
    gap: 10px !important;
    padding-top: 14px !important;
  }
}


/* ================================================================
   REFINED LUXURY HERO BUTTONS (SMALLER FONT & ELEGANT SHAPE)
   ================================================================ */

.hero-action-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-bottom: 28px !important;
  flex-wrap: wrap !important;
}

/* Primary Button: Luxury Petrol Teal with soft glow */
.btn-hero-explore {
  padding: 10px 22px !important;
  height: 44px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #0c7596 0%, #084c62 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(11, 97, 125, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.btn-hero-explore svg {
  transition: transform 0.25s ease !important;
  stroke: #ffffff !important;
}

.btn-hero-explore:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #108db5 0%, #0b5e79 100%) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 8px 26px rgba(11, 97, 125, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

.btn-hero-explore:hover svg {
  transform: translateX(-3px) !important;
}

/* Secondary Button: Frosted Luxury Glass */
.btn-hero-contact {
  padding: 10px 22px !important;
  height: 44px !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.btn-hero-contact svg {
  stroke: #38bdf8 !important;
  transition: transform 0.25s ease !important;
}

.btn-hero-contact:hover {
  transform: translateY(-2px) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  color: #ffffff !important;
}

.btn-hero-contact:hover svg {
  transform: scale(1.1) !important;
}

/* Mobile refinement */
@media (max-width: 768px) {
  .hero-action-row {
    gap: 10px !important;
    margin-bottom: 22px !important;
  }

  .btn-hero-explore,
  .btn-hero-contact {
    padding: 8px 18px !important;
    height: 40px !important;
    font-size: 0.82rem !important;
    gap: 6px !important;
  }

  .btn-hero-explore svg,
  .btn-hero-contact svg {
    width: 13px !important;
    height: 13px !important;
  }
}


/* ================================================================
   INVESTMENT CALCULATOR & ROI CARDS MOBILE REFINEMENT
   ================================================================ */

/* Calculator Results: Clean, Spacious Row Items */
.calc-results-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.calc-res-item {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: right !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

.calc-res-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

.calc-res-lbl {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  margin-bottom: 0 !important;
  flex: 1 !important;
  line-height: 1.4 !important;
}

.calc-res-num {
  font-family: var(--font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  white-space: nowrap !important;
  text-align: left !important;
  direction: ltr !important;
  margin-right: 12px !important;
  flex-shrink: 0 !important;
}

.calc-res-num small {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  margin-left: 3px !important;
}

/* Mobile Viewport Fixes */
@media (max-width: 768px) {
  /* Prevent horizontal overflow on mobile */
  .invest-section {
    overflow-x: hidden !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    max-width: 100vw !important;
  }

  .invest-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .invest-info-col,
  .invest-calc-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .invest-lead-desc {
    font-size: 0.86rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }

  /* Fix .roi-card overflow (8% - 11% section) */
  .roi-cards-row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .roi-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .roi-card:hover {
    transform: none !important;
  }

  .roi-rate {
    font-size: 1.28rem !important;
    font-weight: 800 !important;
    margin-bottom: 2px !important;
  }

  .roi-title {
    font-size: 0.9rem !important;
    margin-bottom: 2px !important;
  }

  .roi-desc {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
  }

  /* Fix Calculator Card Box on Mobile */
  .calc-card-box {
    padding: 16px 12px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .calc-header {
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
  }

  .calc-title {
    font-size: 1rem !important;
  }

  .calc-res-item {
    padding: 10px 12px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .calc-res-lbl {
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    flex: 1 !important;
    margin-bottom: 0 !important;
  }

  .calc-res-num {
    font-size: 0.92rem !important;
    margin-right: 6px !important;
    white-space: nowrap !important;
  }

  .calc-res-num small {
    font-size: 0.65rem !important;
  }

  .calc-slider-labels {
    font-size: 0.8rem !important;
    margin-bottom: 6px !important;
  }

  .calc-val-highlight {
    font-size: 1.05rem !important;
  }

  .range-marks {
    font-size: 0.7rem !important;
  }

  .calc-disclaimer {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
  }

  .calc-action .btn {
    font-size: 0.8rem !important;
    padding: 9px 12px !important;
  }

  /* About Visual Badges Mobile Polish */
  .about-crest-badge {
    top: 10px !important;
    right: 10px !important;
    padding: 5px 10px !important;
    border-radius: 9px !important;
    max-width: calc(100% - 20px) !important;
    gap: 7px !important;
  }

  html[dir="ltr"] .about-crest-badge {
    right: auto !important;
    left: 10px !important;
  }

  .crest-badge-img {
    width: 28px !important;
    height: 28px !important;
  }

  .crest-badge-text strong {
    font-size: 0.76rem !important;
  }

  .crest-badge-text span {
    font-size: 0.68rem !important;
  }

  .about-experience-badge {
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    padding: 5px 12px !important;
    gap: 8px !important;
    border-radius: 9px !important;
    max-width: calc(100% - 20px) !important;
    width: max-content !important;
  }

  html[dir="ltr"] .about-experience-badge {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .exp-number {
    font-size: 1.3rem !important;
  }

  .exp-text {
    font-size: 0.72rem !important;
    max-width: none !important;
    line-height: 1.3 !important;
    text-align: right !important;
  }

  html[dir="ltr"] .exp-text {
    text-align: left !important;
  }

  /* Contact Info Panel Mobile Refinement */
  .contact-info-panel {
    padding: 20px 16px !important;
  }

  .contact-info-panel .section-subtitle {
    font-size: 0.74rem !important;
    margin-bottom: 4px !important;
  }

  .contact-heading {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  .contact-sub-text {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
  }

  .contact-direct-channels {
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .contact-channel-item {
    padding: 8px 12px !important;
    gap: 10px !important;
    border-radius: 10px !important;
  }

  .channel-icon-box {
    width: 32px !important;
    height: 32px !important;
  }

  .channel-icon-box svg {
    width: 16px !important;
    height: 16px !important;
  }

  .channel-label {
    font-size: 0.68rem !important;
  }

  .channel-val {
    font-size: 0.82rem !important;
  }

  .channel-val-num {
    font-size: 0.8rem !important;
  }

  .channel-val-loc {
    font-size: 0.78rem !important;
  }
}


/* ===================================================
   WHATSAPP ACTION BUTTONS (.btn-whatsapp-submit)
   =================================================== */
.btn-whatsapp-submit,
#inquiryWaBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 13px 26px !important;
  background: linear-gradient(135deg, #25D366 0%, #1ea952 100%) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.2px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-whatsapp-submit:hover,
#inquiryWaBtn:hover {
  background: linear-gradient(135deg, #2ae26d 0%, #1b9b4a 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.44), 0 4px 10px rgba(0, 0, 0, 0.12) !important;
  color: #ffffff !important;
}

.btn-whatsapp-submit:active,
#inquiryWaBtn:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

.btn-whatsapp-submit svg,
#inquiryWaBtn svg {
  flex-shrink: 0 !important;
  width: 22px !important;
  height: 22px !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) !important;
}


/* ===================================================
   DYNAMIC SCROLL VISIBILITY: TOP CAPSULE NAV & MOBILE BOTTOM DOCK
   - Scroll Down: Top menu hides, Mobile bottom dock appears
   - Scroll Up / Top: Top menu appears, Mobile bottom dock hides
   =================================================== */
.capsule-nav-island {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, background 0.3s ease !important;
  will-change: transform, opacity;
}

.capsule-nav-island.nav-hidden {
  transform: translate(-50%, -160%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .capsule-nav-island.nav-hidden {
    transform: translateY(-160%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.mobile-bottom-dock {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
  will-change: transform, opacity;
}

.mobile-bottom-dock.dock-hidden {
  transform: translateY(150%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .floating-whatsapp-btn {
    transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease !important;
  }
  body.dock-is-hidden .floating-whatsapp-btn {
    bottom: 20px !important;
  }
}


/* ===================================================
   PRIMARY FORM SUBMIT BUTTON (زر إرسال فوري متناسق مع هوية سكون)
   =================================================== */
#formSubmitBtn,
.btn-form-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 28px !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.2px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  box-shadow: 0 8px 22px rgba(11, 97, 125, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
}

#formSubmitBtn:hover,
.btn-form-submit:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(11, 97, 125, 0.5) !important;
  color: #ffffff !important;
}

#formSubmitBtn:active,
.btn-form-submit:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 12px rgba(11, 97, 125, 0.3) !important;
}

#formSubmitBtn svg,
.btn-form-submit svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
  transition: transform 0.2s ease !important;
}

#formSubmitBtn:hover svg,
.btn-form-submit:hover svg {
  transform: translateX(-3px) scale(1.05) !important;
}


/* ===================================================
   SITE PRELOADER INTRO (نفس مقدمة الشعار من سكون الإصدار الجديد)
   =================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  background: #0b1d3a;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.8s;
  pointer-events: auto;
}

.loader img {
  animation: loaderPulse 1.6s ease-in-out infinite;
  width: 70px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(24, 141, 202, 0.3));
}

.loader-bar {
  width: 140px;
  height: 2px;
  background: rgba(159, 180, 207, 0.2);
  overflow: hidden;
  border-radius: 2px;
}

.loader-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #188dca 0%, #7cc3ea 100%);
  animation: loaderBarMove 1.2s ease-in-out infinite;
}

html[dir="rtl"] .loader-bar i {
  animation: loaderBarMoveRtl 1.2s ease-in-out infinite;
}

.loader.done {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.97); }
}

@keyframes loaderBarMove {
  from { transform: translateX(-120%); }
  to { transform: translateX(320%); }
}

@keyframes loaderBarMoveRtl {
  from { transform: translateX(120%); }
  to { transform: translateX(-320%); }
}


/* ==========================================================================
   Project Updates & Unit Elevation Availability Matrix (جداول التحديثات)
   ========================================================================== */
.project-updates-block {
  margin: 36px 0;
  background: var(--bg-card, #121820);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.updates-header-card {
  margin-bottom: 20px;
}

.updates-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.title-with-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
  animation: pulseLiveDot 2s infinite ease-in-out;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseLiveDot {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.updates-main-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold, #c5a059);
  margin: 0;
}

.updates-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-gold, #c5a059);
}

.updates-legend-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-bottom: 18px;
}

.legend-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
}

.legend-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.chip-color {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.legend-avail { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.chip-avail { background: #10b981; }

.legend-resv { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.chip-resv { background: #f59e0b; }

.legend-sold { background: rgba(124, 58, 237, 0.15); color: #c084fc; }
.chip-sold { background: #7c3aed; }

.legend-hint {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  margin-top: 4px;
}

/* Tabs */
.updates-tabs-nav {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  overflow-x: auto;
}

.updates-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 18px;
  color: var(--text-color, #e2e8f0);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transition: all 0.25s ease;
  font-family: inherit;
}

.updates-tab-btn:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: rgba(197, 160, 89, 0.35);
}

.updates-tab-btn.active {
  background: var(--accent-gold, #c5a059);
  color: #121820;
  border-color: var(--accent-gold, #c5a059);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.tab-building-name {
  font-size: 0.92rem;
  font-weight: 800;
}

.tab-building-sub {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Pane & Header */
.building-updates-pane {
  display: none;
  animation: fadeInPane 0.3s ease;
}

.building-updates-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.building-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 16px 0;
}

.pane-title-group .pane-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 2px 0;
}

.pane-title-group .pane-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
}

.btn-sheet-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 8px;
  color: var(--accent-gold, #c5a059);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-sheet-view:hover {
  background: var(--accent-gold, #c5a059);
  color: #121820;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

/* Elevation Matrix */
.elevation-matrix-container {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
}

.elevation-matrix-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.matrix-floor-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 580px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.matrix-floor-row:last-child {
  border-bottom: none;
}

.floor-label-badge {
  width: 125px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold, #c5a059);
}

.floor-units-row {
  display: flex;
  gap: 10px;
  flex-grow: 1;
  flex-wrap: nowrap;
}

.unit-matrix-cell {
  flex: 1;
  min-width: 105px;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.unit-matrix-cell.status-avail {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.unit-matrix-cell.status-resv {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.unit-matrix-cell.status-sold {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.35);
  color: #c084fc;
}

.unit-matrix-cell.is-clickable {
  cursor: pointer;
}

.unit-matrix-cell.is-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
  border-color: #10b981;
}

.unit-cell-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.unit-code-badge {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.unit-status-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.unit-status-pill.status-avail {
  background: #10b981;
  color: #ffffff;
}

.unit-status-pill.status-resv {
  background: #f59e0b;
  color: #ffffff;
}

.unit-status-pill.status-sold {
  background: #7c3aed;
  color: #ffffff;
}

.unit-cell-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.76rem;
  opacity: 0.92;
  margin-top: 2px;
}

.unit-cell-meta {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}

.unit-cell-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: #10b981;
  margin-top: 2px;
}

.unit-cell-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.25);
  color: #ffffff;
  border-radius: 4px;
  padding: 3px 6px;
  margin-top: 4px;
  transition: background 0.2s;
}

.unit-matrix-cell.is-clickable:hover .unit-cell-cta {
  background: #10b981;
}

/* Unit Types Summary Cards */
.updates-types-summary {
  margin-top: 22px;
}

.types-summary-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold, #c5a059);
}

.types-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.type-summary-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px;
  transition: border-color 0.2s;
}

.type-summary-card:hover {
  border-color: rgba(197, 160, 89, 0.35);
}

.type-card-badge {
  background: var(--accent-gold, #c5a059);
  color: #121820;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.type-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
}

.type-desc {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-color, #e2e8f0);
}

.type-specs-line {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.type-spec-pill {
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text-muted, #94a3b8);
}

.type-price-gold {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-gold, #c5a059);
  margin-top: 2px;
}

.type-feat-sub {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .project-updates-block {
    padding: 16px;
    margin: 24px 0;
  }
  .matrix-floor-row {
    min-width: 520px;
  }
  .floor-label-badge {
    width: 105px;
    font-size: 0.78rem;
    padding: 8px 10px;
  }
  .unit-matrix-cell {
    min-width: 95px;
    padding: 8px 10px;
  }
}


/* ==========================================================================
   Comprehensive Image Sizing & Layout Responsiveness Fix (Mobile & Desktop)
   ========================================================================== */

/* 1. Prevent global horizontal overflow */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* 2. Project Details Grid & Column Bounds */
.project-details-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
  gap: 36px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.project-details-main-col,
.project-details-sidebar-col {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Video Responsive Constraints */
.project-videos-container video,
.video-wrapper video,
video {
  max-width: 100% !important;
  height: auto !important;
}

/* 3. Project Details Gallery Hero Box & Image Sizing */
.gallery-hero-box {
  position: relative !important;
  width: 100% !important;
  height: 480px !important;
  max-height: 520px !important;
  aspect-ratio: auto !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: radial-gradient(circle at center, #152438 0%, #070d16 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(197, 160, 89, 0.2) !important;
}

.gallery-hero-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.gallery-hero-box:hover .gallery-hero-img {
  transform: scale(1.015) !important;
}

/* Thumbnails Strip */
.gallery-thumbs-scroll {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding: 4px 2px 10px 2px !important;
  -webkit-overflow-scrolling: touch !important;
}

.thumb-item-btn {
  width: 82px !important;
  height: 60px !important;
  flex-shrink: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  background: #0f172a !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.2s ease !important;
}

.thumb-item-btn img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.thumb-item-btn.active {
  border-color: var(--accent-gold, #c5a059) !important;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.4) !important;
}

/* 4. Project Card Media Sizing (Desktop & Tablet) */
.aqaarz-compact-card {
  width: 100% !important;
  max-width: 100% !important;
}

.aqaarz-c-media {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: #09111c !important;
}

.aqaarz-c-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important; /* Prioritizes upper architectural facade */
  display: block !important;
}

/* 5. Mobile Specific Media Adjustments (max-width: 768px) */
@media (max-width: 768px) {
  /* Prevent header collision */
  #projectPageView {
    padding-top: 75px !important;
  }
  
  .project-details-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  
  /* Gallery Hero Box on Mobile */
  .gallery-hero-box {
    height: 300px !important;
    max-height: 320px !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
  }
  
  .gallery-hero-img {
    object-fit: contain !important;
  }
  
  .thumb-item-btn {
    width: 68px !important;
    height: 50px !important;
  }
  
  /* Project Cards on Mobile */
  .aqaarz-c-media {
    height: 195px !important;
  }
  
  .aqaarz-c-badges {
    top: 8px !important;
    right: 8px !important;
    gap: 4px !important;
  }
  
  .aqaarz-c-badge {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
  }
  
  .aqaarz-c-price {
    bottom: 8px !important;
    right: 8px !important;
    padding: 3px 8px !important;
    font-size: 0.72rem !important;
  }
  
  /* Elevation Matrix Responsive bounds */
  .elevation-matrix-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 12px !important;
  }
}


/* ==========================================================================
   Mobile Product Page Neat Typography & Compact Sizing Polish (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Container Padding & Breathing Room */
  .project-details-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Breadcrumbs */
  .project-details-topbar {
    margin-bottom: 12px !important;
    gap: 8px !important;
  }
  .breadcrumbs {
    font-size: 0.74rem !important;
  }
  .breadcrumb-link, .breadcrumb-current {
    font-size: 0.74rem !important;
  }
  #btnBackToProjects {
    font-size: 0.72rem !important;
    padding: 5px 10px !important;
    gap: 4px !important;
  }
  #btnBackToProjects svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Headline & Title Section */
  .project-headline-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-bottom: 14px !important;
    margin-bottom: 16px !important;
  }
  .project-main-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }
  .project-meta-badges {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
  .meta-location-tag {
    font-size: 0.76rem !important;
    gap: 4px !important;
  }
  .meta-location-tag svg {
    width: 13px !important;
    height: 13px !important;
  }
  .status-badge {
    font-size: 0.70rem !important;
    padding: 3px 8px !important;
  }
  .project-head-actions {
    width: 100% !important;
  }
  .project-head-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    padding: 8px 14px !important;
  }

  /* Main Photo Showcase & Zoom Pill */
  .gallery-hero-box {
    margin-bottom: 10px !important;
  }
  .gallery-zoom-pill {
    bottom: 10px !important;
    right: 10px !important;
    padding: 4px 10px !important;
    font-size: 0.70rem !important;
    gap: 4px !important;
  }
  .gallery-zoom-pill svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* Section Detail Blocks */
  .detail-block {
    padding: 14px 16px !important;
    margin-bottom: 14px !important;
    border-radius: 12px !important;
  }
  .detail-block-title {
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
  }
  .detail-block-text {
    font-size: 0.85rem !important;
    line-height: 1.65 !important;
  }

  /* Features List */
  .features-check-grid {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }
  .features-check-grid li {
    font-size: 0.80rem !important;
    padding: 7px 10px !important;
    gap: 8px !important;
    border-radius: 6px !important;
  }
  .check-icon {
    font-size: 0.80rem !important;
    width: 16px !important;
    height: 16px !important;
  }

  /* Specifications Box (Sidebar) */
  .specs-box-card {
    padding: 14px 16px !important;
    margin-bottom: 14px !important;
    border-radius: 12px !important;
  }
  .specs-box-header {
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
  }
  .specs-title {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
  }
  .specs-cert-seal {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
  }
  .spec-row {
    padding: 8px 0 !important;
    font-size: 0.80rem !important;
  }
  .spec-label {
    font-size: 0.78rem !important;
  }
  .spec-val {
    font-size: 0.80rem !important;
    font-weight: 700 !important;
  }

  /* Updates Block on Mobile */
  .project-updates-block {
    padding: 14px !important;
    margin: 18px 0 !important;
    border-radius: 12px !important;
  }
  .updates-title-row {
    gap: 8px !important;
    margin-bottom: 10px !important;
  }
  .updates-main-heading {
    font-size: 0.96rem !important;
    font-weight: 800 !important;
  }
  .updates-meta-pill {
    font-size: 0.70rem !important;
    padding: 3px 9px !important;
  }
  .updates-legend-bar {
    padding: 8px 12px !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .legend-title {
    font-size: 0.74rem !important;
  }
  .legend-chips-group {
    gap: 6px !important;
  }
  .legend-chip {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
  }
  .legend-hint {
    font-size: 0.68rem !important;
    margin-top: 2px !important;
  }
  .updates-tabs-nav {
    gap: 8px !important;
    padding-bottom: 8px !important;
  }
  .updates-tab-btn {
    padding: 7px 12px !important;
    border-radius: 8px !important;
  }
  .tab-building-name {
    font-size: 0.80rem !important;
  }
  .tab-building-sub {
    font-size: 0.66rem !important;
  }
  .building-pane-header {
    margin: 12px 0 10px 0 !important;
    gap: 8px !important;
  }
  .pane-title-group .pane-title {
    font-size: 0.92rem !important;
  }
  .pane-title-group .pane-subtitle {
    font-size: 0.72rem !important;
  }
  .btn-sheet-view {
    font-size: 0.74rem !important;
    padding: 6px 12px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .floor-label-badge {
    width: 90px !important;
    font-size: 0.72rem !important;
    padding: 6px 8px !important;
  }
  .unit-matrix-cell {
    min-width: 88px !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
  }
  .unit-code-badge {
    font-size: 0.80rem !important;
  }
  .unit-status-pill {
    font-size: 0.60rem !important;
    padding: 1px 5px !important;
  }
  .unit-cell-body {
    font-size: 0.68rem !important;
  }
  .unit-cell-price {
    font-size: 0.72rem !important;
  }
  .unit-cell-cta {
    font-size: 0.62rem !important;
    padding: 2px 4px !important;
  }
  .types-summary-title {
    font-size: 0.84rem !important;
    margin-bottom: 8px !important;
  }
  .types-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .type-summary-card {
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  .type-card-badge {
    font-size: 0.74rem !important;
    padding: 4px 8px !important;
  }
  .type-desc {
    font-size: 0.78rem !important;
  }
  .type-spec-pill {
    font-size: 0.68rem !important;
    padding: 2px 6px !important;
  }
  .type-price-gold {
    font-size: 0.78rem !important;
  }
  .type-feat-sub {
    font-size: 0.68rem !important;
  }

  /* Video Section on Mobile */
  .video-title-gold {
    font-size: 1.02rem !important;
  }
  .video-card-footer {
    font-size: 0.76rem !important;
    padding: 6px 10px !important;
  }

  /* Catalog Cards Font Tuning on Mobile */
  .aqaarz-c-title {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }
  .aqaarz-c-loc {
    font-size: 0.72rem !important;
  }
  .aqaarz-c-spec {
    font-size: 0.70rem !important;
  }
  .aqaarz-c-feature {
    font-size: 0.70rem !important;
  }
  .price-main {
    font-size: 0.84rem !important;
  }
  .price-sub {
    font-size: 0.68rem !important;
  }
  .btn-details-action {
    font-size: 0.76rem !important;
    padding: 5px 10px !important;
  }
}


/* ==========================================================================
   Redesigned Ultra-Clean, High-Contrast, Full-Width Project Updates Table
   No Horizontal Scrollbar, 100% Readable & Compact (Desktop & Mobile)
   ========================================================================== */

/* 1. Main Container: Crisp Light High-Contrast Background */
.project-updates-block {
  margin: 28px 0 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-top: 4px solid var(--accent-gold, #c5a059) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Header row & Title */
.updates-header-card {
  margin-bottom: 16px !important;
}

.updates-title-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.title-with-badge {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.live-pulse-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #16a34a !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25) !important;
  flex-shrink: 0 !important;
}

.updates-main-heading {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important; /* High-contrast dark title */
  margin: 0 !important;
}

.updates-meta-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 4px 12px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
}

/* Legend Bar: Crisp pills */
.updates-legend-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  margin-bottom: 14px !important;
}

.legend-title {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
}

.legend-chips-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.legend-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  border-width: 1px !important;
  border-style: solid !important;
}

.legend-avail {
  background: #ecfdf5 !important;
  border-color: #86efac !important;
  color: #15803d !important;
}
.legend-avail .chip-color {
  background: #16a34a !important;
}

.legend-resv {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #b45309 !important;
}
.legend-resv .chip-color {
  background: #f59e0b !important;
}

.legend-sold {
  background: #f3e8ff !important;
  border-color: #d8b4fe !important;
  color: #6b21a8 !important;
}
.legend-sold .chip-color {
  background: #7c3aed !important;
}

.legend-hint {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-top: 2px !important;
}

/* Tabs */
.updates-tabs-nav {
  display: flex !important;
  gap: 8px !important;
  margin-top: 12px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  padding-bottom: 10px !important;
  width: 100% !important;
}

.updates-tab-btn {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  color: #1e293b !important;
  cursor: pointer !important;
  flex: 1 !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.updates-tab-btn:hover {
  background: #e2e8f0 !important;
}

.updates-tab-btn.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
}

.tab-building-name {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  display: block !important;
}

.tab-building-sub {
  font-size: 0.70rem !important;
  opacity: 0.85 !important;
  display: block !important;
}

/* Building Pane Header */
.building-pane-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 14px 0 12px 0 !important;
}

.pane-title-group .pane-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.pane-title-group .pane-subtitle {
  font-size: 0.78rem !important;
  color: #64748b !important;
}

.btn-sheet-view {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 12px !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  color: #0f172a !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-sheet-view:hover {
  background: #0f172a !important;
  color: #ffffff !important;
}

/* 2. Elevation Matrix: 100% Full Width, ZERO Horizontal Scrollbar */
.elevation-matrix-container {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 10px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important; /* NO horizontal scroll! */
  box-sizing: border-box !important;
}

.elevation-matrix-scroll {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.matrix-floor-row {
  display: flex !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 4px 0 !important;
  border-bottom: 1px dashed #e2e8f0 !important;
  box-sizing: border-box !important;
}

.matrix-floor-row:last-child {
  border-bottom: none !important;
}

.floor-label-badge {
  width: 85px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 6px 4px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.floor-label-badge svg {
  display: none !important; /* remove icon on small badges for clean layout */
}

.floor-units-row {
  display: flex !important;
  gap: 5px !important;
  flex: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Unit Cell: Ultra High-Contrast, Sharp, Compact */
.unit-matrix-cell {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  border-radius: 8px !important;
  padding: 6px 4px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  text-align: center !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Available Units: Clean Crisp Solid White Card with Emerald Border */
.unit-matrix-cell.status-avail {
  background: #ffffff !important;
  border: 2px solid #16a34a !important;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.12) !important;
  color: #14532d !important;
}

.unit-matrix-cell.status-avail.is-clickable {
  cursor: pointer !important;
}

.unit-matrix-cell.status-avail.is-clickable:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25) !important;
  background: #f0fdf4 !important;
}

/* Reserved Units: Clean Crisp White with Amber Border */
.unit-matrix-cell.status-resv {
  background: #ffffff !important;
  border: 2px solid #d97706 !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.1) !important;
  color: #78350f !important;
}

/* Sold Units: Muted Soft Gray with Subtle Purple/Slate Border */
.unit-matrix-cell.status-sold {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  opacity: 0.9 !important;
}

/* Cell Elements */
.unit-cell-top {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
}

.unit-code-badge {
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1 !important;
}

.unit-status-pill {
  font-size: 0.60rem !important;
  font-weight: 800 !important;
  padding: 1px 5px !important;
  border-radius: 4px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.2px !important;
}

.unit-status-pill.status-avail {
  background: #16a34a !important;
  color: #ffffff !important;
}

.unit-status-pill.status-resv {
  background: #d97706 !important;
  color: #ffffff !important;
}

.unit-status-pill.status-sold {
  background: #7c3aed !important;
  color: #ffffff !important;
}

.unit-cell-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1px !important;
  width: 100% !important;
  margin-top: 1px !important;
}

.unit-cell-meta {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  line-height: 1.2 !important;
}

.unit-cell-price {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #15803d !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.unit-cell-cta {
  display: none !important; /* Hide tiny button on compact cells for maximum neatness */
}

/* 3. Unit Types Breakdown Summary Cards */
.updates-types-summary {
  margin-top: 16px !important;
}

.types-summary-title {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.types-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
}

.type-summary-card {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
}

.type-card-badge {
  background: var(--accent-gold, #c5a059) !important;
  color: #0f172a !important;
  font-weight: 900 !important;
  font-size: 0.78rem !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

.type-card-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.type-desc {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.type-specs-line {
  display: flex !important;
  gap: 4px !important;
  flex-wrap: wrap !important;
}

.type-spec-pill {
  font-size: 0.68rem !important;
  background: #e2e8f0 !important;
  color: #334155 !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
}

.type-price-gold {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #15803d !important;
}

/* 4. Responsive Full-Width Rules for Mobile (max-width: 600px) */
@media (max-width: 600px) {
  .project-updates-block {
    padding: 12px 8px !important;
    margin: 16px 0 !important;
    border-radius: 12px !important;
  }

  .elevation-matrix-container {
    padding: 8px 4px !important;
  }

  .matrix-floor-row {
    gap: 4px !important;
    padding: 3px 0 !important;
  }

  .floor-label-badge {
    width: 60px !important;
    font-size: 0.68rem !important;
    padding: 4px 2px !important;
    border-radius: 5px !important;
  }

  .floor-units-row {
    gap: 3px !important;
  }

  .unit-matrix-cell {
    padding: 4px 2px !important;
    border-radius: 6px !important;
  }

  .unit-code-badge {
    font-size: 0.72rem !important;
  }

  .unit-status-pill {
    font-size: 0.54rem !important;
    padding: 1px 3px !important;
  }

  .unit-cell-meta {
    font-size: 0.60rem !important;
  }

  .unit-cell-price {
    font-size: 0.62rem !important;
  }

  .types-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .floor-units-row {
    flex-wrap: wrap !important;
  }
  .unit-matrix-cell {
    flex: 1 1 calc(25% - 4px) !important;
    min-width: 50px !important;
  }
}


/* ==========================================================================
   Minimalist Clean Unit Cell: Only Model Code & Status Pill (متاح / مباع)
   ========================================================================== */
.unit-matrix-cell {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 46px !important;
  border-radius: 8px !important;
  padding: 6px 4px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.unit-code-badge {
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #0f172a !important;
}

.unit-status-pill {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  letter-spacing: 0.2px !important;
}

@media (max-width: 600px) {
  .unit-matrix-cell {
    min-height: 40px !important;
    padding: 4px 2px !important;
    gap: 3px !important;
    border-radius: 6px !important;
  }
  .unit-code-badge {
    font-size: 0.82rem !important;
  }
  .unit-status-pill {
    font-size: 0.58rem !important;
    padding: 1px 5px !important;
  }
  .floor-label-badge {
    min-height: 40px !important;
  }
}


/* Ensure Unit Matrix cells are strictly informative (not clickable buttons) */
.unit-matrix-cell,
.unit-matrix-cell.status-avail,
.unit-matrix-cell.status-resv,
.unit-matrix-cell.status-sold {
  cursor: default !important;
  pointer-events: none !important; /* disable click events */
  transform: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.unit-matrix-cell:hover {
  transform: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}


/* Sized-down, compact & elegant 'تواصل معنا' button */
#inquiryWaBtn,
.btn-whatsapp-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 250px !important;
  min-height: 42px !important;
  padding: 9px 18px !important;
  margin: 8px auto 0 auto !important;
  background: linear-gradient(135deg, #25D366 0%, #1ea952 100%) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 0.90rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

#inquiryWaBtn:hover,
.btn-whatsapp-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38) !important;
}

#inquiryWaBtn svg,
.btn-whatsapp-submit svg {
  width: 18px !important;
  height: 18px !important;
}

.quick-inquiry-card {
  text-align: center !important;
}


/* ===================================================
   Gallery Interactive Navigation (Easy Next/Prev & Counter)
   =================================================== */
.gallery-hero-box {
  position: relative !important;
  user-select: none;
}

/* Floating Navigation Arrows on Main Image */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 26, 44, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  padding: 0;
}

.gallery-nav-btn:hover {
  background: rgba(11, 97, 125, 0.95);
  border-color: #c5a059;
  color: #c5a059;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

.gallery-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* RTL: Prev on Right (->), Next on Left (<-) */
.gallery-prev-btn {
  right: 14px;
}

.gallery-next-btn {
  left: 14px;
}

/* Counter Badge (1 / 12) */
.gallery-counter-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(5, 17, 32, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  z-index: 5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.gallery-counter-pill #galleryCurrentIdx {
  color: #c5a059;
  font-weight: 800;
}

/* Zoom pill placement */
.gallery-zoom-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: auto !important;
  background: rgba(5, 17, 32, 0.82) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  z-index: 5;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-zoom-pill:hover {
  background: rgba(11, 97, 125, 0.9) !important;
  border-color: #c5a059 !important;
}

/* Active Thumbnail Highlight & Scroll */
.thumb-item-btn {
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  opacity: 0.65;
  transition: all 0.22s ease !important;
  cursor: pointer;
  flex-shrink: 0;
  background: #0b1a2c;
}

.thumb-item-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.thumb-item-btn.active {
  opacity: 1 !important;
  border-color: #c5a059 !important;
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.5) !important;
  transform: scale(1.05) translateY(-2px);
}

/* Lightbox Modal Controls */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(5, 17, 32, 0.96);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  user-select: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(197, 160, 89, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10010;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: rgba(197, 160, 89, 0.9);
  color: #0b1a2c;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev-btn {
  right: 25px;
}

.lightbox-next-btn {
  left: 25px;
}

.lightbox-counter-pill {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 26, 44, 0.85);
  color: #c5a059;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  letter-spacing: 1px;
}

/* Mobile Adjustments for Gallery Navigation */
@media (max-width: 768px) {
  .gallery-nav-btn {
    width: 38px !important;
    height: 38px !important;
  }
  .gallery-prev-btn {
    right: 8px !important;
  }
  .gallery-next-btn {
    left: 8px !important;
  }
  .gallery-counter-pill {
    top: 10px !important;
    right: 10px !important;
    padding: 3px 10px !important;
    font-size: 0.74rem !important;
  }
  .gallery-zoom-pill {
    bottom: 10px !important;
    left: 10px !important;
    padding: 3px 9px !important;
    font-size: 0.70rem !important;
  }
  .lightbox-nav-btn {
    width: 42px !important;
    height: 42px !important;
  }
  .lightbox-prev-btn {
    right: 10px !important;
  }
  .lightbox-next-btn {
    left: 10px !important;
  }
}



/* ===================================================
   Card Footer & Details Button Layout (Anti-Collision)
   =================================================== */
.aqaarz-c-specs-line {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 1px solid #f1f5f9 !important;
  width: 100% !important;
}

.aqaarz-c-icons-line {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #374151 !important;
  direction: rtl !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

.aqaarz-c-action-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 8px !important;
  padding-top: 8px !important;
  border-top: 1px dashed rgba(226, 232, 240, 0.7) !important;
  width: 100% !important;
  gap: 12px !important;
}

.aqaarz-c-type-sub {
  font-size: 11px !important;
  color: #64748b !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  letter-spacing: 0.2px !important;
}

.btn-aqaarz-details {
  background: #23775b !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(35, 119, 91, 0.25) !important;
}

.btn-aqaarz-details:hover {
  background: #1b5e47 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(35, 119, 91, 0.35) !important;
}

.btn-aqaarz-details:active {
  transform: translateY(0) !important;
}


/* إلغاء زر استعراض جدول التحديثات المعتمد (الإنفوجرافيك) */
.btn-sheet-view { display: none !important; }

/* إلغاء جملة انقر على أي وحدة متاحة للتواصل نهائياً */
.legend-hint { display: none !important; }


/* ===================================================
   تصغير خط حالة الوحدات (متاح / محجوز / مباع) في النماذج
   =================================================== */
.unit-matrix-cell .unit-status-pill {
  font-size: 0.50rem !important;
  font-weight: 700 !important;
  padding: 1px 4px !important;
  line-height: 1.1 !important;
  letter-spacing: 0.1px !important;
  border-radius: 3px !important;
}

.type-summary-card .type-status-note {
  font-size: 0.70rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-top: 4px !important;
}

@media (max-width: 768px) {
  .unit-matrix-cell .unit-status-pill {
    font-size: 0.46rem !important;
    padding: 1px 3px !important;
  }
  .type-summary-card .type-status-note {
    font-size: 0.65rem !important;
  }
}


/* إخفاء شارة مميز من كرت المنتجات */
.badge-featured { display: none !important; }


/* ===================================================
   Card Image Slide Arrows (Always Accessible & Responsive)
   =================================================== */
.aqaarz-c-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 40px !important;
  background: rgba(5, 17, 32, 0.72) !important;
  backdrop-filter: blur(4px) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 15 !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease !important;
  padding: 0 !important;
}

.arrow-next { right: 0 !important; border-radius: 6px 0 0 6px !important; }
.arrow-prev { left: 0 !important; border-radius: 0 6px 6px 0 !important; }

.aqaarz-compact-card:hover .aqaarz-c-arrow {
  opacity: 1 !important;
}

.aqaarz-c-arrow:hover {
  background: rgba(11, 97, 125, 0.95) !important;
  border-color: #c5a059 !important;
  color: #c5a059 !important;
}

@media (max-width: 768px) {
  .aqaarz-c-arrow {
    opacity: 0.9 !important;
    width: 34px !important;
    height: 42px !important;
  }
}


/* إخفاء شارة 4K من كرت المنتج */
.aqaarz-c-video-badge { display: none !important; }


/* ===================================================
   تصغير وتنسيق خطوط محفظة المشاريع على شاشات الجوال
   Mobile Typography Optimization for Projects Portfolio
   =================================================== */
@media (max-width: 768px) {
  /* 1. بنر صفحة محفظة المشاريع */
  .page-header-banner {
    padding: 26px 0 22px 0 !important;
  }
  .breadcrumb-nav {
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
  }
  .page-banner-title {
    font-size: 1.30rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }
  .page-banner-desc {
    font-size: 0.80rem !important;
    line-height: 1.5 !important;
    max-width: 95% !important;
  }

  /* 2. ترويسة قسم المشاريع */
  .projects-section .section-top-header {
    margin-bottom: 18px !important;
    text-align: center !important;
  }
  .projects-section .section-subtitle {
    font-size: 0.72rem !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 3px !important;
  }
  .projects-section .section-title {
    font-size: 1.20rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin-bottom: 5px !important;
  }
  .projects-section .section-summary-desc {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }

  /* 3. شريط الفلاتر والبحث */
  .projects-control-bar {
    gap: 10px !important;
    margin-bottom: 16px !important;
  }
  .filter-pills-row {
    gap: 6px !important;
    padding-bottom: 4px !important;
  }
  .pill-btn {
    font-size: 0.76rem !important;
    padding: 5px 11px !important;
    border-radius: 20px !important;
  }
  .pill-btn .pill-count {
    font-size: 0.62rem !important;
    padding: 1px 4px !important;
  }
  .search-input-box input {
    font-size: 0.78rem !important;
    padding: 7px 28px 7px 10px !important;
    height: 36px !important;
  }
  .search-input-box svg {
    width: 14px !important;
    height: 14px !important;
  }
  .sort-select-box {
    gap: 5px !important;
  }
  .sort-select-box .sort-label {
    font-size: 0.72rem !important;
  }
  .sort-select-box .sort-select {
    font-size: 0.76rem !important;
    padding: 4px 20px 4px 8px !important;
    height: 34px !important;
  }
  .view-mode-toggle .view-btn {
    width: 32px !important;
    height: 32px !important;
  }
  .view-mode-toggle .view-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* 4. كروت المشاريع (Product Cards) */
  .aqaarz-compact-card {
    border-radius: 12px !important;
  }
  .aqaarz-c-media {
    height: 185px !important;
  }
  .aqaarz-c-badges {
    top: 6px !important;
    right: 6px !important;
    gap: 4px !important;
  }
  .aqaarz-c-badge {
    font-size: 0.64rem !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
  }
  .aqaarz-c-price .price-sub {
    font-size: 0.66rem !important;
    padding: 2px 6px !important;
  }
  .aqaarz-c-body {
    padding: 10px 12px 12px !important;
  }
  .aqaarz-c-title {
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    margin-bottom: 3px !important;
    line-height: 1.3 !important;
  }
  .aqaarz-c-location {
    font-size: 0.70rem !important;
    margin-bottom: 8px !important;
    gap: 3px !important;
  }
  .aqaarz-c-location svg {
    width: 10px !important;
    height: 10px !important;
  }
  .aqaarz-c-specs-line {
    padding-top: 8px !important;
  }
  .aqaarz-c-icons-line {
    gap: 8px !important;
  }
  .spec-item {
    font-size: 0.68rem !important;
    gap: 2px !important;
  }
  .spec-item svg {
    width: 11px !important;
    height: 11px !important;
  }
  .aqaarz-c-action-bar {
    margin-top: 6px !important;
    padding-top: 6px !important;
  }
  .aqaarz-c-type-sub {
    font-size: 0.66rem !important;
  }
  .btn-aqaarz-details {
    font-size: 0.70rem !important;
    padding: 4px 11px !important;
    border-radius: 5px !important;
  }
}

