/* 
========================================================================
   MARA ESTATE - CORE STYLES & DESIGN SYSTEM
   Luxury PropTech Platform (English LTR & Arabic RTL)
========================================================================
*/

/* 1. Imports & Variable Configuration */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* Local Cocogoose Pro fonts (from /fonts folder) */
@font-face {
  font-family: 'Cocogoose Pro';
  src: url('fonts/Cocogoose-Pro-Regular-trial.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cocogoose Pro';
  src: url('fonts/Cocogoose-Pro-Light-trial.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cocogoose Pro';
  src: url('fonts/Cocogoose-Pro-Semilight-trial.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cocogoose Pro';
  src: url('fonts/Cocogoose-Pro-Bold-trial.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cocogoose Pro';
  src: url('fonts/Cocogoose-Pro-Thin-trial.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --bg-dark: #07182a;
  --bg-darker: #04101d;
  --bg-card: rgba(255, 255, 255, 0.10);
  --bg-card-hover: rgba(255, 255, 255, 0.16);
  --gold-primary: #24CFB0;
  --gold-accent: #82F3D3;
  --gold-glow: rgba(39, 185, 154, 0.26);
  --green-growth: #27B99A;
  --green-glow: rgba(39, 185, 154, 0.22);
  --text-white: #FFFFFF;
  --text-muted: #A8B9CC;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(39, 185, 154, 0.28);
  --mara-navy: #173F6D;
  --mara-teal: #27B99A;
  
  /* Fonts */
  --font-en: 'Cocogoose Pro', 'Cairo', sans-serif;
  --font-ar: 'Cocogoose Pro', 'Cairo', sans-serif;
  
  /* Layout Adjustments */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.20s ease-out;
}

/* 2. Global Resets & Body Configurations */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-dark);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  transition: opacity 0.2s ease-in-out;
}

/* Dynamic Font assignment based on direction */
[dir="ltr"] body {
  font-family: var(--font-en);
  text-align: left;
}

[dir="rtl"] body {
  font-family: var(--font-ar);
  text-align: right;
}

/* Selection Highlights */
::selection {
  background-color: var(--gold-primary);
  color: var(--bg-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-accent);
}

/* 3. Loader & Preloader Overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-darker);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.loader-logo-container {
  width: min(220px, 58vw);
  height: auto;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-logo-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 38px rgba(39, 185, 154, 0.18));
  animation: fadeUpIn 1.2s ease-out forwards;
}

.loader-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-white);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUpIn 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

.loader-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUpIn 1.5s ease-out forwards;
  animation-delay: 0.8s;
  text-align: center;
  padding: 0 15px;
}

/* 4. Navigation & Global Header (Glassmorphic) */
.mara-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.mara-header.scrolled {
background: rgba(255, 255, 255, 0.98);
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mara-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.brand-logo-img {
  width: 132px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary) !important;
  text-shadow: 0 0 10px var(--gold-glow);
}

/* Language Toggle Styling */
.lang-toggle-btn {
  background: rgba(39, 185, 154, 0.1);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary) !important;
  border-radius: 50px;
  padding: 6px 18px !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.lang-toggle-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-dark) !important;
  box-shadow: 0 0 15px var(--gold-glow);
}

.btn-consultation {
  background: linear-gradient(135deg, var(--mara-teal) 0%, var(--mara-navy) 100%);
  color: var(--bg-dark) !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 8px 22px;
  border: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-consultation:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(39, 185, 154, 0.4);
}

.navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 6px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(39,185,154,0.92)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 5. Hero & Dynamic Investment Calculator */
.hero-section {
  position: relative;
  padding: 180px 0 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
}

.hero-badge {
  background: rgba(39, 185, 154, 0.07);
  border: 1px solid rgba(39, 185, 154, 0.25);
  color: var(--gold-accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-align: left;
}

.hero-title span.accent {
  color: var(--gold-primary);
  background: linear-gradient(135deg, var(--gold-accent) 30%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 35px;
  text-align: left;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn-primary-gold {
  background: linear-gradient(135deg, var(--mara-teal) 0%, var(--mara-navy) 100%);
  color: var(--bg-dark) !important;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(39, 185, 154, 0.2);
}

.btn-primary-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(39, 185, 154, 0.4);
}

.btn-secondary-outline {
  background: transparent;
  color: var(--text-white) !important;
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
  transform: translateY(-3px);
}

/* Glassmorphic Calculator Widget */
.calculator-card {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: auto;
  box-shadow: none !important;
  position: static;
  overflow: visible;
  transition: none;
}

.calculator-card:hover {
  /* disabled visual hover */
}

.calculator-card::before {
  display: none;
}

.calc-title-badge {
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.calc-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.calc-subtitle {
  font-size: 0.95rem;
  color: #FFFFFF !important;
  margin-bottom: 30px;
}

.calc-slider-group {
  margin-bottom: 25px;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.calc-slider-value {
  color: var(--gold-accent);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Custom Styled Range Slider */
.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  margin: 15px 0;
  transition: var(--transition-fast);
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 4px solid var(--bg-dark);
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold-primary);
  transition: transform 0.1s;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--gold-accent);
}

.calc-horizon-group {
  margin-bottom: 35px;
}

.horizon-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 50px;
}

.horizon-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.horizon-tab-btn.active {
  background: var(--gold-primary);
  color: var(--bg-dark);
  box-shadow: 0 4px 15px var(--gold-glow);
}

/* Metric Display Cards */
.calc-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.calc-metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.calc-metric-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(39, 185, 154, 0.2);
}

.calc-metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-metric-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
}

.calc-metric-box.total-box {
  background: rgba(39, 185, 154, 0.02);
  border: 1px solid rgba(39, 185, 154, 0.15);
}

.calc-metric-box.total-box:hover {
  background: rgba(39, 185, 154, 0.04);
  border-color: rgba(39, 185, 154, 0.3);
}

.calc-metric-box.total-box .calc-metric-label {
  color: var(--text-white);
  font-weight: 700;
}

.calc-metric-box.total-box .calc-metric-num {
  color: var(--green-growth);
  font-size: 1.4rem;
  text-shadow: 0 0 15px var(--green-glow);
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: #ffffff !important;
  line-height: 1.4;
  text-align: center;
}

/* 6. Section Setup & Scroll Reveal Framework */
.section-padding {
  padding: 100px 0;
  min-height: auto;
  display: block;
}

.section-padding > .container {
  width: 100%;
}

.row.g-4 > [class*="col-"],
.row.g-5 > [class*="col-"] {
  display: flex;
}

.row.g-4 > [class*="col-"] > .reveal,
.row.g-5 > [class*="col-"] > .reveal {
  width: 100%;
  height: 100%;
}

.section-badge {
  background: rgba(39, 185, 154, 0.12);
  border: 1px solid rgba(39, 185, 154, 0.24);
  color: var(--gold-primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  margin: 0 auto 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  justify-content: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 60px;
  line-height: 1.7;
  text-align: center;
}

/* Scroll reveal engine */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 7. Why Mara Estate Card Grid */
.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  height: 100%;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.premium-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(39, 185, 154, 0.08);
  border: 1px solid rgba(39, 185, 154, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  color: var(--gold-primary);
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.premium-card:hover .card-icon-container {
  background: var(--gold-primary);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--gold-glow);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 8. Stepper (How it Works) Timeline */
.stepper-timeline {
  position: relative;
  padding: 20px 0;
}

.stepper-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 31px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-primary) 0%, rgba(255, 255, 255, 0.05) 100%);
}

[dir="rtl"] .stepper-timeline::before {
  left: auto;
  right: 31px;
}

.stepper-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 50px;
}

[dir="rtl"] .stepper-item {
  padding-left: 0;
  padding-right: 80px;
}

.stepper-item:last-child {
  margin-bottom: 0;
}

.stepper-node {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

[dir="rtl"] .stepper-node {
  left: auto;
  right: 0;
}

.stepper-item:hover .stepper-node {
  background: var(--gold-primary);
  color: var(--bg-dark);
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--gold-glow);
}

.stepper-content {
  padding-top: 12px;
}

.stepper-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stepper-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 700px;
}

/* 9. About Us Section Tabs */
.about-interactive-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
}

.about-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.about-tab-trigger {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;

/* Left-align the badge in the Market Trends column (visual left) */
#market-trends .section-badge {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 20px 0;
}
  transition: var(--transition-smooth);
}

.about-tab-trigger:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.about-tab-trigger.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--mara-teal);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.about-tab-content {
  display: none;
  animation: fadeInTab 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-tab-content.active {
  display: block;
}

.leader-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary) 0%, #1e3557 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  border: 2px solid var(--border-color);
  flex-shrink: 0;
}

.compliance-badge-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  min-height: 150px;
  transition: var(--transition-smooth);
}

.compliance-badge-card:hover {
  border-color: rgba(39, 185, 154, 0.3);
  background: rgba(255,255,255,0.04);
}

/* 10. Interactive Market Trends Graph */
.trends-visual-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 35px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.svg-chart-container {
  width: 100%;
  height: 240px;
  position: relative;
  margin: 20px 0;
}

.chart-grid-line {
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1;
}

.chart-trend-line {
  fill: none;
  stroke: url(#chartGrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawChartLine 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.chart-trend-area {
  fill: url(#areaGrad);
  opacity: 0;
  animation: fadeChartArea 1.5s ease-out forwards;
  animation-delay: 1.5s;
}

.chart-point {
  fill: var(--bg-dark);
  stroke: var(--green-growth);
  stroke-width: 3;
  r: 6;
  transition: var(--transition-fast);
  cursor: pointer;
}

.chart-point:hover {
  r: 9;
  fill: var(--green-growth);
  filter: drop-shadow(0 0 8px var(--green-growth));
}

.trends-mini-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trend-mini-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 16px;
  min-height: 150px;
  transition: var(--transition-smooth);
}

.trend-mini-card:hover {
  border-color: rgba(39, 185, 154, 0.2);
  background: rgba(39, 185, 154, 0.01);
}

.trend-mini-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-growth);
  margin-bottom: 4px;
}

/* 11. FAQ Custom Accordion */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-glow);
}

.faq-header-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

[dir="rtl"] .faq-header-btn {
  text-align: right;
}

.faq-chevron {
  color: var(--gold-primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* Smooth Accordion Body Height Collapse */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body-content {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* 12. Contact Form & Partnership Blocks */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  width: 100%;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(39, 185, 154, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--gold-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-details h6 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-white);
}

.info-details p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Modern Form Controls */
.modern-form-group {
  margin-bottom: 20px;
}

.modern-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-white);
}

.modern-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.modern-input:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(39, 185, 154, 0.15);
  outline: none;
}

.modern-input::placeholder {
  color: #556272;
}

textarea.modern-input {
  min-height: 120px;
  resize: none;
}

/* Success notification block */
.form-success-alert {
  background: rgba(39, 185, 154, 0.05);
  border: 1px solid rgba(39, 185, 154, 0.3);
  border-radius: 12px;
  padding: 16px;
  color: var(--green-growth);
  font-size: 0.92rem;
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  animation: fadeUpIn 0.5s ease-out forwards;
}

/* Social posts */
.social-post-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 28px;
  color: var(--text-white);
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.social-post-card:hover {
  color: var(--text-white);
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.social-post-card h4 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}

.social-post-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.social-post-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-primary);
  background: rgba(39, 185, 154, 0.08);
  border: 1px solid rgba(39, 185, 154, 0.24);
  font-size: 1.35rem;
}

/* 14. Footer & Premium Modals */
.mara-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
  font-size: 0.92rem;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-logo-img {
  width: min(210px, 70vw);
  height: auto;
  display: block;
}

.footer-tagline {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-section-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 24px;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a, .footer-legal-trigger {
  color: var(--text-muted);
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  cursor: pointer;
  display: inline-block;
}

.footer-links a:hover, .footer-legal-trigger:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

[dir="rtl"] .footer-links a:hover, [dir="rtl"] .footer-legal-trigger:hover {
  transform: translateX(-4px);
}

.footer-social-grid {
  display: flex;
  gap: 12px;
  text-decoration: none;
}

.footer-social-grid a {
  text-decoration: none;  
}

.social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.social-circle:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(39, 185, 154, 0.05);
  box-shadow: 0 0 10px var(--gold-glow);
}

.footer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 40px 0 25px 0;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

/* Premium Glassmorphic Modal Overlays */
.mara-modal {
  display: none;
  position: fixed !important;
  inset: 0;
  width: auto;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 9999 !important;
  background: rgba(2, 4, 8, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mara-modal.active {
  display: flex;
}

body.modal-open {
  overflow: hidden !important;
}

.mara-modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  width: 100%;
  max-width: 650px;
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mara-modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
}

.mara-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0;
}

.mara-modal-close-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mara-modal-close-btn:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-white);
}

.mara-modal-body {
  padding: 30px;
  overflow-y: auto;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1 1 auto;
}

.mara-modal-body p {
  margin-bottom: 20px;
}

.mara-modal-body p:last-child {
  margin-bottom: 0;
}

.mara-modal-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

/* 15. CSS Keyframes & Animations */
@keyframes drawLogo {
  0% {
    stroke-dashoffset: 600;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes drawAccent {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeUpIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInTab {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawChartLine {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeChartArea {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.15;
  }
}

@keyframes modalSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 16. Media Queries & Mobile Responsiveness */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 130px 0 80px 0;
  }

  .section-padding {
    min-height: auto;
    padding: 80px 0;
  }

  .brand-logo-img {
    width: 96px;
    height: 58px;
    object-position: left center;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .navbar-collapse {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-top: 15px;
  }
  
  .nav-link {
    padding: 10px 0 !important;
  }
  
  .lang-toggle-btn {
    display: inline-block;
    margin: 15px 0 10px 0 !important;
  }
  
  .btn-consultation {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  
  .stepper-timeline::before {
    left: 20px;
  }
  
  [dir="rtl"] .stepper-timeline::before {
    right: 20px;
  }
  
  .stepper-item {
    padding-left: 55px;
    margin-bottom: 40px;
  }
  
  [dir="rtl"] .stepper-item {
    padding-right: 55px;
  }
  
  .stepper-node {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  
  .about-nav-tabs {
    justify-content: center;
  }
  
  .about-tab-trigger {
    width: 100%;
    text-align: center;
  }

  .premium-card,
  .contact-info-card,
  .calculator-card,
  .about-interactive-box,
  .trends-visual-box {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .mara-header .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-logo-img {
    width: 82px;
    height: 54px;
  }

  .loader-logo-container {
    width: min(180px, 70vw);
  }

  .section-padding {
    padding: 64px 0;
  }

  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.98rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    margin-bottom: 32px;
  }
  
  .calculator-card {
    padding: 20px;
  }

  .premium-card,
  .about-interactive-box,
  .trends-visual-box,
  .contact-info-card {
    padding: 24px;
  }

  .calc-metric-box,
  .info-item {
    align-items: flex-start;
  }

  .hero-ctas,
  .footer-social-grid {
    justify-content: center;
  }

  .hero-ctas .btn {
    width: 100%;
  }
  
  .calc-metric-num {
    font-size: 1rem;
  }
  
  .calc-metric-box.total-box .calc-metric-num {
    font-size: 1.2rem;
  }
  
  .social-circle {
    width: 36px;
    height: 36px;
  }
}

/* 17. White Real Estate Theme & Interactive Background */
:root {
  --bg-dark: #ffffff;
  --bg-darker: #f4f8fb;
  --bg-card: rgba(255, 255, 255, 0.78);
  --bg-card-hover: rgba(255, 255, 255, 0.94);
  --text-white: #173F6D;
  --text-muted: #586f84;
  --border-color: rgba(23, 63, 109, 0.12);
  --border-glow: rgba(39, 185, 154, 0.32);
}

html,
body {
  background: #f7fbff;
}

body {
  color: var(--mara-navy);
}

body,
p,
.card-desc,
.stepper-desc,
.faq-body-content,
.info-details p {
  color: var(--text-muted);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(244,250,253,0.92) 42%, rgba(235,245,249,0.96) 100%),
    radial-gradient(circle at 12% 18%, rgba(39,185,154,0.14) 0 18%, transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(23,63,109,0.11) 0 16%, transparent 36%);
  background-size: 100% 100%, 125% 125%, 135% 135%;
  animation: maraAmbientWash 28s ease-in-out infinite alternate;
  will-change: background-position;
}

.real-estate-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.page-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.04);
  pointer-events: none;
  z-index: -1;
  filter: saturate(1.08) contrast(1.08) brightness(0.95);
}

.bg-video-overlay {
  display: none !important;
}

.real-estate-bg::before,
.real-estate-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: none !important;
}

.bg-blueprint-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(23,63,109,0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,63,109,0.075) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: maraGridDrift 36s linear infinite;
  will-change: transform;
}

.bg-light-band,
.bg-light-band::before,
.bg-light-band-1,
.bg-light-band-2,
.bg-blueprint-grid,
.bg-architect-lines {
  display: none !important;
}

@keyframes maraAmbientWash {
  0% {
    background-position: center, 0% 0%, 100% 0%;
  }
  50% {
    background-position: center, 45% 20%, 60% 30%;
  }
  100% {
    background-position: center, 100% 40%, 0% 44%;
  }
}

@keyframes maraPlotLines {
  from {
    transform: translate3d(-28px, -12px, 0);
  }
  to {
    transform: translate3d(34px, 22px, 0);
  }
}

@keyframes maraSkylineRise {
  0% {
    opacity: 0.62;
    transform: translate3d(0, 10px, 0);
  }
  100% {
    opacity: 0.82;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes maraGridDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(80px, 80px, 0);
  }
}

@keyframes maraBuildingFloat {
  0% {
    opacity: 0.2;
    transform: translate3d(0, 12px, 0);
  }
  100% {
    opacity: 0.34;
    transform: translate3d(0, 0, 0);
  }
}

/* 18. Professional Visual Polish */
:root {
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --ink: #0f2f4f;
  --ink-soft: #5d7083;
  --line: rgba(23, 63, 109, 0.12);
  --shadow-soft: 0 18px 50px rgba(15, 47, 79, 0.08);
  --shadow-lift: 0 24px 70px rgba(15, 47, 79, 0.14);
}

body {
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.94), rgba(239, 248, 250, 0.96)),
    #f7fbff;
  color: var(--ink);
}

body::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.90) 0%, rgba(244,250,253,0.84) 48%, rgba(234,246,246,0.94) 100%),
    radial-gradient(circle at 18% 18%, rgba(36, 207, 176, 0.16) 0 12%, transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(23, 63, 109, 0.12) 0 14%, transparent 32%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 63, 109, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 109, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 76%, transparent);
  animation: maraGridDrift 42s linear infinite;
}

.mara-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(23, 63, 109, 0.10);
  box-shadow: 0 10px 30px rgba(15, 47, 79, 0.06);
}

.mara-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 42px rgba(15, 47, 79, 0.12);
}

.nav-link {
  color: #2c506f !important;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(36, 207, 176, 0.10);
  color: var(--mara-teal) !important;
  text-shadow: none;
}

.btn-consultation,
.btn-primary-gold {
  color: #ffffff !important;
  background: linear-gradient(135deg, #24cfb0 0%, #173f6d 100%);
  box-shadow: 0 12px 28px rgba(39, 185, 154, 0.22);
}

.btn-secondary-outline {
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(23, 63, 109, 0.18);
}

.btn-secondary-outline:hover {
  background: #ffffff;
  border-color: rgba(39, 185, 154, 0.48);
  color: var(--mara-teal) !important;
}

.hero-section {
  min-height: 92vh;
  padding: 170px 0 88px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.68) 46%, rgba(255,255,255,0.22) 100%),
    radial-gradient(circle at 18% 28%, rgba(36, 207, 176, 0.14), transparent 35%);
}

[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle {
  text-align: right;
}

[dir="ltr"] .hero-title,
[dir="ltr"] .hero-subtitle {
  text-align: left;
}

.hero-title {
  color: var(--ink);
  text-wrap: balance;
}

.hero-subtitle,
.section-subtitle {
  color: var(--ink-soft);
}

.hero-badge,
.section-badge,
.calc-title-badge,
.about-content-kicker {
  box-shadow: 0 10px 28px rgba(39, 185, 154, 0.10);
}

.section-padding {
  position: relative;
  padding: 104px 0;
}

.section-padding::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.36), rgba(255,255,255,0));
}

.section-padding > .container {
  position: relative;
  z-index: 1;
}

.bg-darker,
.bg-dark {
  background: rgba(238, 248, 250, 0.72) !important;
}

.section-badge {
  border-radius: 999px;
  background: rgba(36, 207, 176, 0.12);
  color: #148d78;
}

.section-title {
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #24cfb0, #173f6d);
}

.row.align-items-center .section-title,
.row.align-items-center .section-subtitle {
  text-align: inherit;
}

.row.align-items-center .section-title::after {
  margin-left: 0;
  margin-right: 0;
}

.calculator-card,
.premium-card,
.about-interactive-box,
.trends-visual-box,
.trend-mini-card,
.compliance-badge-card,
.faq-item,
.contact-info-card,
.social-post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.calculator-card,
.about-interactive-box,
.trends-visual-box,
.contact-info-card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.premium-card {
  border-radius: 8px;
  min-height: 300px;
}

.premium-card::after,
.calculator-card::after,
.contact-info-card::after,
.trends-visual-box::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, rgba(36, 207, 176, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.premium-card:hover,
.calculator-card:hover,
.trend-mini-card:hover,
.compliance-badge-card:hover,
.faq-item:hover,
.contact-info-card:hover,
.social-post-card:hover {
  background: var(--surface-strong);
  border-color: rgba(39, 185, 154, 0.38);
  box-shadow: var(--shadow-lift);
}

.premium-card:hover::after,
.calculator-card:hover::after,
.contact-info-card:hover::after,
.trends-visual-box:hover::after {
  opacity: 1;
}

.card-title,
.calc-title,
.stepper-title,
.about-content-panel h4,
.about-feature-item h5,
.faq-header-btn,
.info-details h6,
.social-post-card h4,
.footer-section-title,
.trend-mini-card h6,
.compliance-badge-card h5 {
  color: var(--ink) !important;
}

#become-partner .text-white,
.contact-info-card .text-white,
.trends-visual-box .text-white,
.trend-mini-card .text-white,
.compliance-badge-card .text-white {
  color: var(--ink) !important;
}

.calc-subtitle,
.calc-disclaimer,
.calc-metric-label,
.card-desc,
.stepper-desc,
.about-content-panel p,
.about-lead,
.faq-body-content,
.info-details p,
.social-post-card p,
.trend-mini-card p,
.compliance-badge-card p {
  color: var(--ink-soft) !important;
}

.card-icon-container,
.info-icon,
.social-post-icon {
  background: linear-gradient(135deg, rgba(36, 207, 176, 0.14), rgba(23, 63, 109, 0.08));
  border-color: rgba(39, 185, 154, 0.24);
}

.stepper-node {
  background: #ffffff;
  color: var(--mara-teal);
}

.stepper-item:hover .stepper-node,
.premium-card:hover .card-icon-container {
  color: #ffffff;
}

.about-tab-trigger {
  border-radius: 8px;
  background: rgba(255,255,255,0.58);
  color: #45627a;
}

.about-tab-trigger.active {
  color: #ffffff;
}

.about-dashboard {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: stretch;
}

.about-visual-panel,
.about-content-panel,
.about-feature-item {
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(23,63,109,0.10);
  border-radius: 8px;
}

.about-visual-panel,
.about-content-panel {
  padding: 28px;
}

.about-feature-item {
  padding: 20px;
  transition: var(--transition-smooth);
}

.about-feature-item:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 185, 154, 0.28);
  background: #ffffff;
}

.about-feature-grid {
  display: grid;
  gap: 16px;
}

.about-feature-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-copy-grid {
  display: grid;
  gap: 14px;
}

.about-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.about-pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #148d78;
  background: rgba(36, 207, 176, 0.10);
  border: 1px solid rgba(36, 207, 176, 0.20);
  font-size: 0.86rem;
  font-weight: 700;
}

.about-visual-shell {
  min-height: 260px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23,63,109,0.08), rgba(36,207,176,0.14)),
    #ffffff;
}

.about-building-mark {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #173f6d, #24cfb0);
  font-size: 2.6rem;
  box-shadow: 0 20px 48px rgba(39,185,154,0.22);
  animation: maraFloatSoft 5s ease-in-out infinite alternate;
}

.about-flow-line {
  position: absolute;
  inset: 34px;
  border: 1px dashed rgba(23,63,109,0.16);
  border-radius: 8px;
}

.about-mini-stat {
  position: absolute;
  width: 112px;
  padding: 10px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(23,63,109,0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15,47,79,0.08);
}

.about-mini-stat span {
  display: block;
  color: var(--mara-teal);
  font-weight: 800;
}

.about-mini-stat small {
  color: var(--ink-soft);
}

.about-mini-stat-top {
  top: 18px;
  inset-inline-start: 18px;
}

.about-mini-stat-bottom {
  bottom: 18px;
  inset-inline-end: 18px;
}

.about-status-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.about-status-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(23,63,109,0.10);
  border-radius: 8px;
}

.trends-visual-box,
.contact-info-card {
  position: relative;
  overflow: hidden;
}

.modern-input {
  background: rgba(255,255,255,0.76);
  color: var(--ink);
}

.modern-input:focus {
  background: #ffffff;
}

.modern-input::placeholder {
  color: #8394a4;
}

.mara-footer {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(7, 24, 42, 0.98), rgba(15, 47, 79, 0.98)),
    #07182a;
  border-top: 4px solid var(--mara-teal);
  color: #ffffff;
  padding: 78px 0 30px;
}

.mara-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(36,207,176,0.18), transparent 28%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}

.footer-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
}

.footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer-tagline,
.footer-links a,
.footer-legal-trigger,
.footer-copy,
.social-circle {
  color: rgba(255,255,255,0.72) !important;
}

.footer-section-title {
  color: #82f3d3 !important;
}

.footer-links a:hover,
.footer-legal-trigger:hover,
.social-circle:hover {
  color: #ffffff !important;
}

.footer-divider {
  background: rgba(255,255,255,0.14);
}

.reveal {
  transform: translateY(34px) scale(0.985);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-visible {
  transform: translateY(0) scale(1);
}

.premium-card,
.calculator-card,
.trend-mini-card,
.compliance-badge-card,
.social-post-card,
.contact-info-card {
  transform: translateY(0);
}

.premium-card:hover,
.calculator-card:hover,
.trend-mini-card:hover,
.compliance-badge-card:hover,
.social-post-card:hover,
.contact-info-card:hover {
  transform: translateY(-7px);
}

@keyframes maraFloatSoft {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-soft);
  }

  .about-dashboard,
  .about-feature-grid.two,
  .about-feature-grid.three,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .about-nav-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-tab-trigger {
    width: auto;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: auto;
    padding: 126px 0 66px;
  }

  .section-padding {
    padding: 68px 0;
  }

  .section-title::after {
    margin-top: 14px;
  }

  .about-nav-tabs {
    grid-template-columns: 1fr;
  }

  .social-post-card {
    grid-template-columns: auto 1fr;
  }

  .social-post-card > .fa-arrow-up-right-from-square {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes maraWindowGlow {
  0%, 100% {
    opacity: 0.34;
  }
  45% {
    opacity: 0.72;
  }
}

@keyframes maraTraceShift {
  from {
    opacity: 0.08;
    transform: translate3d(-18px, 12px, 0);
  }
  to {
    opacity: 0.16;
    transform: translate3d(28px, -18px, 0);
  }
}

body > :not(.real-estate-bg):not(#preloader):not(.mara-modal) {
  position: relative;
  z-index: 1;
}

#preloader {
  background: #ffffff;
}

.mara-header,
.mara-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 63, 109, 0.1);
  box-shadow: 0 10px 32px rgba(23, 63, 109, 0.08);
}

.mara-header .navbar {
  min-height: 92px;
}

.brand-logo-img {
  width: 178px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}

.text-white {
  color: var(--mara-navy) !important;
}

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

.bg-dark,
.bg-darker {
  background: transparent !important;
}

.navbar-collapse {
  background: transparent !important;
}

.hero-section {
  background: radial-gradient(circle at top right, rgba(12, 28, 63, 0.82), rgba(4, 12, 26, 0.90));
  padding-top: 170px;
}

section.bg-dark,
section.bg-darker {
  background: transparent !important;
}

.calculator-card,
.premium-card,
.about-interactive-box,
.trends-visual-box,
.trend-mini-card,
.faq-item,
.contact-info-card,
.mara-modal-container {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(23, 63, 109, 0.1);
  box-shadow: 0 14px 38px rgba(23, 63, 109, 0.08);
}

.calculator-card,
.premium-card,
.about-interactive-box,
.trends-visual-box,
.contact-info-card {
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.premium-card:hover,
.trend-mini-card:hover,
.compliance-badge-card:hover,
.faq-item:hover {
  border-color: rgba(39, 185, 154, 0.28);
  box-shadow: 0 20px 48px rgba(23, 63, 109, 0.12);
}

.btn-primary-gold,
.btn-consultation,
.about-tab-trigger.active,
.horizon-tab-btn.active {
  color: (--gold-primary) !important;
}

.btn-secondary-outline {
  color: var(--mara-navy) !important;
  background: rgba(255,255,255,0.86);
  border-color: rgba(23, 63, 109, 0.18);
}

.hero-badge,
.section-badge {
  background: rgba(39, 185, 154, 0.09);
  border-color: rgba(39, 185, 154, 0.2);
  color: var(--mara-teal);
}

.card-icon-container,
.info-icon {
  background: rgba(39, 185, 154, 0.1);
  border-color: rgba(39, 185, 154, 0.18);
}

.calc-metric-box,
.trend-mini-card,
.compliance-badge-card,
.modern-input,
.faq-item {
  background: rgba(255, 255, 255, 0.74);
}

.calc-metric-box.total-box {
  background: rgba(39, 185, 154, 0.08);
}

.about-tab-trigger {
  background: rgba(255, 255, 255, 0.72);
}

.leader-avatar-placeholder {
  background: linear-gradient(135deg, var(--mara-teal) 0%, var(--mara-navy) 100%);
  color: #ffffff;
}

.modern-input {
  background: rgba(255, 255, 255, 0.72);
  color: var(--mara-navy);
}

.modern-input:focus {
  background: #ffffff;
}

.mara-footer {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(23, 63, 109, 0.08);
  }

  .mara-header .navbar {
    min-height: 78px;
  }

  .brand-logo-img {
    width: 150px;
    height: 72px;
  }
}

@media (max-width: 575.98px) {
  .real-estate-bg {
    opacity: 0.72;
  }

  .bg-blueprint-grid {
    background-size: 52px 52px;
  }

  .brand-logo-img {
    width: 128px;
    height: 66px;
  }
}

/* 18. Final UI Refinements */
.section-title,
.hero-title,
.card-title,
.stepper-title,
.calc-title,
.faq-header-btn,
.footer-section-title,
.info-details h6,
.modern-form-group label {
  color: var(--mara-navy);
}

.hero-subtitle {
  max-width: 620px;
}

.premium-card,
.calculator-card,
.about-interactive-box,
.trends-visual-box,
.contact-info-card {
  border-radius: 14px;
}

.premium-card {
  padding: 32px;
}

.card-icon-container {
  border-radius: 12px;
}

.calc-metric-box,
.trend-mini-card,
.compliance-badge-card,
.faq-item,
.modern-input {
  border-color: rgba(23, 63, 109, 0.1);
}

.hero-section .calculator-card {
  min-height: 390px;
}

.about-interactive-box[style] {
  background: rgba(255, 255, 255, 0.92) !important;
}

.footer-logo-img {
  width: min(250px, 76vw);
}

@media (min-width: 992px) {
  .mara-header .container {
    max-width: 1240px;
  }

  .brand-logo-img {
    width: 218px;
    height: 76px;
    object-fit: cover;
    object-position: center 77%;
  }
}

@media (max-width: 575.98px) {
  .mara-header .navbar {
    min-height: 72px;
  }

  .brand-logo-img {
    width: 156px;
    height: 58px;
    object-fit: cover;
    object-position: center 77%;
  }

  .hero-section {
    padding-top: 120px;
  }

  .premium-card {
    min-height: auto;
  }
}

@media (max-width: 991.98px) {
  .brand-logo-img {
    width: 180px;
    height: 66px;
    object-fit: cover;
    object-position: center 77%;
  }
}

@media (max-width: 575.98px) {
  .brand-logo-img {
    width: 156px;
    height: 58px;
  }
}

/* 19. Header, Footer, and Static Background Polish */
.mara-header {
  overflow: visible;
}

.mara-header .navbar {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 112px;
}

.mara-brand {
  justify-self: start;
  min-width: 0;
}

.brand-logo-img {
  width: 190px !important;
  height: 104px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.navbar-collapse {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-width: 0;
}

.navbar-nav {
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.navbar-nav .nav-link {
  white-space: nowrap;
  color: #62748a !important;
  font-weight: 700;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--mara-teal) !important;
}

.mara-header .d-flex.align-items-center.gap-3 {
  justify-self: end;
  white-space: nowrap;
}

.hero-section {
  padding-top: 190px;
}

.mara-footer .row {
  align-items: flex-start;
}

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

.footer-logo-img {
  width: min(260px, 72vw);
}

@media (max-width: 1199.98px) {
  .mara-header .navbar {
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 16px;
  }

  .brand-logo-img {
    width: 166px !important;
    height: 94px !important;
  }

  .nav-link {
    padding: 8px 10px !important;
  }
}

@media (max-width: 991.98px) {
  .mara-header .navbar {
    display: flex;
    min-height: 92px;
  }

  .brand-logo-img {
    width: 150px !important;
    height: 84px !important;
  }

  .navbar-collapse {
    display: none !important;
    background: rgba(255,255,255,0.98);
    border-radius: 14px;
  }

  .navbar-collapse.show {
    display: block !important;
  }

  .navbar-nav {
    align-items: center;
    gap: 0;
  }

  .mara-header .d-flex.align-items-center.gap-3 {
    width: 100%;
    justify-content: center;
  }

  .hero-section {
    padding-top: 138px;
  }

  .bg-light-band,
  .bg-architect-lines {
    opacity: 0.18;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .real-estate-bg::before,
  .real-estate-bg::after,
  .bg-blueprint-grid,
  .bg-light-band,
  .bg-light-band::before,
  .bg-architect-lines {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 575.98px) {
  .brand-logo-img {
    width: 126px !important;
    height: 74px !important;
  }

  .footer-brand,
  .footer-social-grid {
    justify-content: center;
  }

  .mara-footer {
    text-align: center;
  }
}

/* 20. Footer and Chat Layout Fix */
.mara-footer {
  padding: 56px 0 56px;
}

.mara-footer .footer-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(150px, 0.7fr) minmax(190px, 0.85fr) minmax(190px, auto);
  column-gap: clamp(32px, 5vw, 88px);
  row-gap: 34px;
  align-items: flex-start;
  justify-content: stretch;
  margin-left: 0;
  margin-right: 0;
}

.mara-footer .footer-column {
  display: block;
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  min-width: 0;
}

.mara-footer .footer-brand-column {
  max-width: 460px;
}

.footer-brand {
  margin-bottom: 18px;
  display: block;
}

.footer-logo-img {
  width: min(210px, 72vw);
  max-width: 100%;
}

.footer-tagline {
  max-width: 420px;
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.65;
}

.footer-section-title {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  line-height: 1.2;
}

.footer-links {
  margin: 0;
  padding: 0;
  min-width: 0;
  display: block;
}

.footer-links li {
  display: block;
  min-width: 0;
  margin: 0 0 10px;
}

.footer-links a,
.footer-legal-trigger {
  display: block;
  text-align: inherit;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.footer-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

.footer-divider {
  margin: 38px 0 22px;
}

@media (max-width: 1199.98px) {
  .mara-footer .footer-row {
    grid-template-columns: minmax(260px, 1fr) minmax(150px, 0.75fr) minmax(190px, 0.85fr) minmax(170px, 0.75fr);
    column-gap: 32px;
    gap: 34px;
  }

  .mara-footer .footer-brand-column {
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .mara-footer .footer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mara-footer .footer-row {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .mara-footer .footer-column {
    max-width: 100%;
  }

  .footer-brand,
  .footer-social-grid {
    justify-content: center;
  }

  .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

/* 21. Interactive About Redesign */
.about-interactive-box {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,252,251,0.9)),
    linear-gradient(90deg, rgba(39,185,154,0.08), transparent 38%);
  border: 1px solid rgba(23, 63, 109, 0.1);
  box-shadow: 0 24px 70px rgba(23, 63, 109, 0.1);
}

.about-interactive-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, transparent 0 46%, rgba(39,185,154,0.13) 46% 46.25%, transparent 46.25% 100%),
    linear-gradient(60deg, transparent 0 58%, rgba(23,63,109,0.08) 58% 58.2%, transparent 58.2% 100%);
  background-size: 320px 320px;
  opacity: 0.45;
}

.about-nav-tabs,
.about-dashboard {
  position: relative;
  z-index: 1;
}

.about-nav-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px;
  border: 1px solid rgba(23, 63, 109, 0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.76);
}

.about-tab-trigger {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: start;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.about-tab-trigger::before {
  content: attr(data-step);
  position: absolute;
  top: 7px;
  inset-inline-end: 10px;
  color: rgba(23,63,109,0.22);
  font-size: 0.72rem;
  font-weight: 900;
}

.about-tab-trigger i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(39,185,154,0.09);
  color: var(--mara-teal);
}

.about-tab-trigger:hover,
.about-tab-trigger.active {
  transform: translateY(-1px);
  border-color: rgba(39,185,154,0.28);
  background: #ffffff;
  color: var(--mara-navy);
  box-shadow: 0 14px 30px rgba(23, 63, 109, 0.08);
}

.about-tab-trigger.active i {
  background: linear-gradient(135deg, var(--mara-teal), var(--mara-navy));
  color: #ffffff;
}

.about-dashboard {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
}

.about-visual-panel {
  display: grid;
  gap: 18px;
  align-content: stretch;
}

.about-visual-shell {
  position: relative;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(23,63,109,0.96), rgba(23,63,109,0.82)),
    linear-gradient(45deg, rgba(39,185,154,0.26), transparent);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 18px 44px rgba(23,63,109,0.18);
}

.about-visual-shell::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: aboutPanelGrid 18s linear infinite;
}

.about-building-mark {
  position: absolute;
  inset: 92px 0 auto;
  display: flex;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: 7rem;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,0.22));
}

.about-flow-line {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 92px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}

.about-flow-line span {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 8px rgba(39,185,154,0.22);
  transform: translateY(-50%);
  animation: aboutPulse 2.8s ease-in-out infinite;
}

.about-flow-line span:nth-child(1) { left: 0; }
.about-flow-line span:nth-child(2) { left: 50%; animation-delay: 0.35s; }
.about-flow-line span:nth-child(3) { right: 0; animation-delay: 0.7s; }

.about-mini-stat {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 118px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.about-mini-stat span {
  color: var(--mara-navy);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.about-mini-stat small {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.about-mini-stat-top {
  top: 24px;
  inset-inline-start: 24px;
}

.about-mini-stat-bottom {
  right: 24px;
  bottom: 24px;
}

[dir="rtl"] .about-mini-stat-bottom {
  right: auto;
  left: 24px;
}

.about-status-list {
  display: grid;
  gap: 10px;
}

.about-status-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(23,63,109,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.82);
  color: var(--mara-navy);
  font-weight: 800;
}

.about-status-list i {
  color: var(--mara-teal);
}

.about-content-panel {
  min-height: 100%;
  display: flex;
  align-items: center;
}

.about-tab-content {
  width: 100%;
  display: none;
  animation: aboutPaneIn 320ms ease both;
}

.about-tab-content.active {
  display: block;
}

.about-content-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--mara-teal);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-content-kicker i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(39,185,154,0.1);
}

.about-tab-content h4 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--mara-navy) !important;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.12;
  font-weight: 900;
}

.about-tab-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.about-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.about-pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(39,185,154,0.08);
  color: var(--mara-navy);
  font-size: 0.84rem;
  font-weight: 900;
}

.about-pill-row i {
  color: var(--mara-teal);
}

.about-lead {
  max-width: 780px;
  margin-bottom: 22px;
}

.about-feature-grid {
  display: grid;
  gap: 14px;
}

.about-feature-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-feature-item {
  position: relative;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(23,63,109,0.09);
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.about-feature-item:hover {
  transform: translateY(-3px);
  border-color: rgba(39,185,154,0.32);
  box-shadow: 0 16px 34px rgba(23,63,109,0.09);
}

.about-feature-item > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(39,185,154,0.16), rgba(23,63,109,0.08));
  color: var(--mara-teal);
  font-size: 1.15rem;
}

.about-feature-item h5 {
  margin: 0 0 8px;
  color: var(--mara-navy) !important;
  font-size: 1rem;
  font-weight: 900;
}

.about-feature-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mara-teal);
  font-size: 0.84rem;
}

.about-feature-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

@keyframes aboutPanelGrid {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(42px, 42px, 0); }
}

@keyframes aboutPulse {
  0%, 100% { transform: translateY(-50%) scale(0.82); opacity: 0.58; }
  50% { transform: translateY(-50%) scale(1.08); opacity: 1; }
}

@keyframes aboutPaneIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1199.98px) {
  .about-nav-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-dashboard {
    grid-template-columns: 1fr;
  }

  .about-visual-shell {
    min-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .about-nav-tabs,
  .about-feature-grid.two,
  .about-feature-grid.three,
  .about-copy-grid {
    grid-template-columns: 1fr;
  }

  .about-tab-trigger {
    min-height: 54px;
  }

  .about-visual-shell {
    min-height: 280px;
  }

  .about-building-mark {
    font-size: 5.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-visual-shell::before,
  .about-flow-line span,
  .about-tab-content {
    animation: none !important;
  }
}

/* 22. Final Responsive Stability Patch */
img,
svg,
video,
canvas {
  max-width: 100%;
}

body {
  min-width: 320px;
}

.container,
.container-fluid,
.row,
[class*="col-"],
.reveal,
.premium-card,
.calculator-card,
.about-interactive-box,
.trends-visual-box,
.contact-info-card,
.faq-item,
.mara-modal-container {
  min-width: 0;
}

.hero-title,
.section-title,
.card-title,
.stepper-title,
.calc-title,
.about-tab-content h4,
.faq-header-btn,
.btn,
.nav-link,
.footer-links a,
.footer-legal-trigger,
.social-post-card h4,
.social-post-card p {
  overflow-wrap: anywhere;
}

.mara-header .navbar {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 92px;
  gap: clamp(12px, 2vw, 22px);
}

.brand-logo-img {
  width: clamp(130px, 14vw, 178px) !important;
  height: 76px !important;
}

.navbar-collapse {
  min-width: 0;
}

.navbar-nav {
  gap: clamp(2px, 0.6vw, 8px);
}

.navbar-nav .nav-link {
  padding-inline: clamp(6px, 0.7vw, 10px) !important;
  font-size: clamp(0.78rem, 0.82vw, 0.9rem);
}

.mara-header .d-flex.align-items-center.gap-3 {
  gap: 10px !important;
}

.btn-consultation {
  padding-inline: 16px;
  font-size: 0.84rem;
}

.hero-section {
  min-height: auto;
  padding: clamp(132px, 15vw, 180px) 0 clamp(62px, 8vw, 96px);
}

.hero-title {
  font-size: clamp(2.05rem, 5.5vw, 3.45rem);
  line-height: 1.12;
}

.section-title {
  font-size: clamp(1.85rem, 4.6vw, 2.5rem);
  line-height: 1.16;
}

.section-padding {
  min-height: auto;
  padding: clamp(58px, 8vw, 94px) 0;
}

.hero-badge,
.section-badge {
  max-width: 100%;
  white-space: normal;
  line-height: 1.45;
}

.hero-ctas .btn,
.btn-primary-gold,
.btn-secondary-outline {
  max-width: 100%;
  white-space: normal;
}

.premium-card,
.calculator-card,
.about-interactive-box,
.trends-visual-box,
.contact-info-card {
  padding: clamp(22px, 4vw, 34px);
}

.calc-metric-box,
.info-item,
.form-success-alert {
  gap: 12px;
}

.calc-metric-box {
  flex-wrap: wrap;
}

.calc-metric-label {
  flex: 1 1 170px;
}

.about-tab-trigger {
  min-width: 0;
}

.about-tab-trigger span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.about-visual-shell {
  min-height: clamp(250px, 36vw, 380px);
}

.about-mini-stat {
  min-width: min(118px, 42vw);
}

.about-feature-item,
.compliance-badge-card,
.trend-mini-card {
  min-width: 0;
}

.social-post-card {
  min-width: 0;
}

.mara-modal {
  padding: 14px;
}

.mara-modal-container {
  max-width: min(650px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .mara-header .container {
    max-width: 100%;
  }

  .mara-header .navbar {
    grid-template-columns: auto 1fr;
  }

  .navbar-collapse {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 12px;
  }

  .brand-logo-img {
    width: 158px !important;
    height: 68px !important;
  }

  .hero-section {
    padding-top: 168px;
  }
}

@media (max-width: 991.98px) {
  .mara-header .navbar {
    display: flex;
    position: relative;
    justify-content: flex-start;
    min-height: 78px;
    padding-block: 4px;
  }

  .mara-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
  }

  .brand-logo-img {
    width: 140px !important;
    height: 64px !important;
  }

  .navbar-toggler {
    margin: 0;
    z-index: 2;
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    max-height: calc(100svh - 110px);
    overflow-y: auto;
    padding: 16px;
  }

  .navbar-nav {
    align-items: stretch;
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 10px 12px !important;
    white-space: normal;
    font-size: 0.95rem;
  }

  .mara-header .d-flex.align-items-center.gap-3 {
    flex-direction: column;
    align-items: stretch !important;
  }

  .lang-toggle-btn,
  .btn-consultation {
    width: 100%;
    margin: 0 !important;
    text-align: center;
  }

  .hero-section {
    padding-top: 112px;
  }

  .hero-section .container,
  .section-padding > .container {
    max-width: 100%;
    overflow: hidden;
  }

  .hero-section .row,
  .section-padding .row {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-section .row > *,
  .section-padding .row > * {
    max-width: 100%;
  }

  .row.g-4 > [class*="col-"],
  .row.g-5 > [class*="col-"] {
    display: block;
  }

  .about-nav-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-dashboard,
  .about-feature-grid.three,
  .mara-footer .footer-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .container {
    --bs-gutter-x: 1.5rem;
  }

  .hero-section .row {
    --bs-gutter-y: 1.5rem;
  }

  .hero-badge {
    font-size: 0.78rem;
  }

  .hero-section .text-center,
  .section-padding .text-center {
    max-width: 100%;
  }

  .hero-title,
  .section-title {
    width: 100%;
    max-width: 100%;
    text-align: center;
    word-break: break-word;
  }

  .hero-title span {
    display: inline;
  }

  .hero-title span.accent {
    display: block;
  }

  .hero-title span:not(.accent) {
    display: block;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle,
  .section-subtitle {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.65;
    text-align: center;
  }

  .hero-ctas {
    gap: 10px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .about-nav-tabs,
  .about-feature-grid.two,
  .about-feature-grid.three,
  .about-copy-grid,
  .social-post-card {
    grid-template-columns: 1fr;
  }

  .social-post-card {
    text-align: center;
    justify-items: center;
  }

  .stepper-item {
    padding-left: 58px;
    margin-bottom: 34px;
  }

  [dir="rtl"] .stepper-item {
    padding-left: 0;
    padding-right: 58px;
  }

  .stepper-timeline::before {
    left: 21px;
  }

  [dir="rtl"] .stepper-timeline::before {
    right: 21px;
  }

  .stepper-node {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }

  .faq-header-btn {
    padding: 18px;
    font-size: 1rem;
  }

  .calculator-card,
  .premium-card,
  .about-interactive-box,
  .trends-visual-box,
  .contact-info-card,
  .social-post-card {
    max-width: 100%;
    overflow: hidden;
  }

  .calc-metric-box {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  [dir="rtl"] .calc-metric-box {
    grid-template-columns: 1fr;
  }

  .calc-metric-label,
  .calc-metric-num {
    min-width: 0;
    max-width: 100%;
  }

  .faq-body-content {
    padding: 0 18px 18px;
  }

  .mara-modal-header,
  .mara-modal-body,
  .mara-modal-footer {
    padding-inline: 18px;
  }

}

@media (max-width: 575.98px) {
  .mara-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-logo-img {
    width: 118px !important;
    height: 56px !important;
  }

  .hero-section {
    padding-top: 96px;
  }

  .hero-title {
    font-size: clamp(1.62rem, 6.4vw, 2rem);
    line-height: 1.22;
  }

  .section-title {
    font-size: clamp(1.42rem, 6.7vw, 1.72rem);
    line-height: 1.22;
    max-width: 315px;
    margin-left: auto;
    margin-right: auto;
  }

  .calc-title {
    max-width: 285px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.32rem;
    line-height: 1.3;
    text-align: center;
  }

  .calc-subtitle,
  .calc-disclaimer {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .calc-subtitle,
  .card-desc,
  .stepper-desc,
  .about-tab-content p,
  .faq-body-content,
  .info-details p {
    font-size: 0.9rem;
  }

  .premium-card,
  .calculator-card,
  .about-interactive-box,
  .trends-visual-box,
  .contact-info-card {
    padding: 20px;
  }

  .about-tab-trigger {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .premium-card,
  .calculator-card,
  .about-interactive-box,
  .trends-visual-box,
  .contact-info-card {
    margin-left: auto;
    margin-right: auto;
  }

  .about-tab-trigger i {
    width: 34px;
    height: 34px;
  }

  .about-visual-shell {
    min-height: 230px;
  }

  .about-building-mark {
    inset-block-start: 72px;
    font-size: 4.5rem;
  }

  .about-mini-stat {
    padding: 10px;
  }

  .about-mini-stat span {
    font-size: 1.1rem;
  }

  .about-status-list div,
  .info-item {
    align-items: flex-start;
  }

  .footer-logo-img {
    width: min(180px, 68vw);
  }
}

/* Arabic alignment pass */
[dir="rtl"] body,
[dir="rtl"] .text-center,
[dir="rtl"] .text-lg-start,
[dir="rtl"] .hero-section,
[dir="rtl"] .hero-section .reveal,
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle,
[dir="rtl"] .calculator-card,
[dir="rtl"] .calc-title-badge,
[dir="rtl"] .calc-title,
[dir="rtl"] .calc-subtitle,
[dir="rtl"] .calc-disclaimer,
[dir="rtl"] .premium-card,
[dir="rtl"] .card-title,
[dir="rtl"] .card-desc,
[dir="rtl"] .about-interactive-box,
[dir="rtl"] .about-tab-content,
[dir="rtl"] .trends-visual-box,
[dir="rtl"] .trend-mini-card,
[dir="rtl"] .faq-body-content,
[dir="rtl"] .contact-info-card,
[dir="rtl"] .info-details,
[dir="rtl"] .mara-modal-container,
[dir="rtl"] .mara-modal-body,
[dir="rtl"] .mara-footer {
  /* text-align: right !important; */
}

/* [dir="rtl"] .hero-section .text-center,
[dir="rtl"] .section-padding .text-center {
  align-items: flex-end !important;
} */

[dir="rtl"] .hero-badge,
[dir="rtl"] .section-badge {
  margin-left: auto;
  margin-right: 0;
}

[dir="rtl"] .hero-ctas {
  justify-content: flex-start !important;
}

[dir="rtl"] .hero-title span:not(.accent),
[dir="rtl"] .calc-title,
[dir="rtl"] .calc-subtitle,
[dir="rtl"] .calc-disclaimer,
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle {
  margin-left: auto;
  margin-right: 0;
}

[dir="rtl"] .calc-metric-box,
[dir="rtl"] .info-item,
[dir="rtl"] .social-post-card {
  direction: rtl;
}

[dir="rtl"] .calc-metric-label,
[dir="rtl"] .calc-metric-num {
  text-align: right;
}

@media (max-width: 767.98px) {
  [dir="rtl"] .hero-title,
  [dir="rtl"] .hero-title span,
  [dir="rtl"] .hero-title span.accent,
  [dir="rtl"] .hero-title span:not(.accent),
  [dir="rtl"] .hero-subtitle,
  [dir="rtl"] .section-title,
  [dir="rtl"] .section-subtitle,
  [dir="rtl"] .calc-title,
  [dir="rtl"] .calc-subtitle,
  [dir="rtl"] .calc-disclaimer,
  [dir="rtl"] .calc-metric-box,
  [dir="rtl"] .social-post-card {
    text-align: right !important;
  }

  [dir="rtl"] .calc-metric-box {
    justify-items: end;
  }
}

/* Fixed navigation */
html {
  scroll-padding-top: 152px;
}

.mara-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 5000;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 10px 26px rgba(23, 63, 109, 0.1);
}

.mara-header .navbar {
  min-height: 82px !important;
  padding-block: 4px !important;
}

.mara-header .brand-logo-img {
  width: clamp(118px, 10vw, 150px) !important;
  height: 68px !important;
}

.mara-header .nav-link {
  font-size: clamp(0.74rem, 0.78vw, 0.86rem);
  padding-inline: clamp(5px, 0.55vw, 8px) !important;
}

.mara-header.scrolled {
  transform: none;
  padding: 0;
}

section[id] {
  scroll-margin-top: 152px;
}

section[id]:target {
  scroll-margin-top: 152px;
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 108px;
  }

  section[id] {
    scroll-margin-top: 108px;
  }

  section[id]:target {
    scroll-margin-top: 108px;
  }

  .mara-header {
    z-index: 5000;
  }

  .mara-header .navbar {
    min-height: 76px !important;
  }

  .mara-header .brand-logo-img {
    width: 128px !important;
    height: 58px !important;
  }
}

/* Navigation final fix */
.mara-header {
  position: fixed !important;
  inset: 0 0 auto 0;
  z-index: 99999 !important;
background: rgb(255 255 255 / 0%) !important;
  border-bottom: 1px solid rgba(23, 63, 109, 0.1);
  box-shadow: 0 10px 26px rgba(23, 63, 109, 0.1);
  isolation: isolate;
}

.mara-header .container {
  width: min(1500px, calc(100% - 32px));
  max-width: none;
  padding-inline: 0;
}

.mara-header .navbar {
  min-height: 78px !important;
  padding-block: 6px !important;
}

.mara-brand {
  flex: 0 0 auto;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
}

.mara-header .brand-logo-img {
  width: clamp(104px, 8vw, 132px) !important;
  height: 62px !important;
  object-fit: contain !important;
}

@media (min-width: 992px) {
  .mara-header .navbar {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
  }

  .mara-header .navbar-toggler {
    display: none !important;
  }

  .mara-header .navbar-collapse {
    position: static !important;
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 1.8vw, 26px);
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 0 !important;
    background: transparent !important;
  }

  .mara-header .navbar-nav {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 0.65vw, 10px);
    min-width: 0;
    margin: 0 !important;
  }

  .mara-header .nav-link {
    padding: 8px clamp(5px, 0.55vw, 9px) !important;
    font-size: clamp(0.72rem, 0.74vw, 0.86rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  .mara-header .d-flex.align-items-center.gap-3 {
    flex: 0 0 auto;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end;
    gap: 10px !important;
    min-width: max-content;
    white-space: nowrap;
  }

  .mara-header .lang-toggle-btn {
    margin: 0 !important;
    padding: 7px 16px !important;
  }

  .mara-header .btn-consultation {
    padding: 9px 18px;
    font-size: 0.84rem;
  }
}

/* 99. Final Modern UI overrides */
body {
  background: transparent;
  color: #F5FAFF;
}

body::before {
  background: radial-gradient(circle at 18% 12%, rgba(39, 185, 154, 0.12), transparent 24%),
              radial-gradient(circle at 84% 16%, rgba(57, 208, 176, 0.08), transparent 15%);
}

.mara-header {
  background: rgba(3, 12, 22, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mara-header.scrolled {
  background: rgba(3, 12, 22, 0.96);
  padding: 10px 0;
}

.mara-header .navbar {
  min-height: 110px;
}

.mara-header .nav-link {
  color: rgba(255, 255, 255, 0.84) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 18px !important;
  letter-spacing: 0.015em;
}

.mara-header .nav-link:hover,
.mara-header .nav-link.active {
  color: #FFFFFF !important;
  text-shadow: 0 0 12px rgba(39, 185, 154, 0.55);
}

.mara-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.16);
}

.mara-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.92)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.lang-toggle-btn,
.mara-header .btn-consultation {
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 10px 24px !important;
}

.hero-section {
  background: transparent;
  padding: 220px 0 120px;
  min-height: calc(100vh - 110px);
}

.hero-section .hero-badge {
  margin: 0 0 24px;
}

.hero-title {
  color: #FFFFFF;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  text-align: left;
}

.hero-title span.accent {
  background: linear-gradient(135deg, #39D0B0 25%, #27B99A 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 0 42px;
  text-align: left;
}

.section-padding {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-title {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 auto 18px;
  text-align: center;
  max-width: 860px;
}

.section-subtitle,
.hero-subtitle,
.card-desc,
.faq-body-content,
.info-details p,
.contact-info-card p,
.mara-footer .footer-copy {
  color: rgba(255, 255, 255, 0.82) !important;
}

.section-badge,
.hero-badge {
  background: rgba(39, 185, 154, 0.12);
  border-color: rgba(39, 185, 154, 0.24);
  display: inline-flex;
  justify-content: center;
  text-align: center;
  color: #B7F1E1;
}

.premium-card,
/* .calculator-card, */
.about-interactive-box,
.trends-visual-box,
.trend-mini-card,
.compliance-badge-card,
.faq-item,
.contact-info-card,
.mara-modal-container {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.18);
  color: #FFFFFF;
}

.premium-card:hover,
.calculator-card:hover,
.about-interactive-box:hover,
.trends-visual-box:hover,
.contact-info-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.premium-card,
.calculator-card,
.about-interactive-box,
.trends-visual-box,
.contact-info-card {
  border-radius: 24px;
}

.premium-card {
  padding: 36px;
}

.card-title,
.stepper-title,
.calc-title,
.footer-section-title,
.info-details h6,
.modern-form-group label {
  color: #FFFFFF !important;
}

.btn-secondary-outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-links a,
.footer-legal-trigger,
.footer-tagline {
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer-links a:hover,
.footer-legal-trigger:hover {
  color: #FFFFFF !important;
}

.mara-footer {
  background: rgba(2, 8, 18, 0.96) !important;
  padding: 70px 0 40px;
}

.mara-footer .footer-copy {
  color: rgba(255, 255, 255, 0.62) !important;
}

.bg-dark,
.bg-darker,
section.bg-dark,
section.bg-darker,
section[id] {
  background: transparent !important;
}

.hero-section,
.section-padding {
  background: transparent !important;
  position: relative;
  z-index: 2;
}

.section-padding .container {
  position: relative;
  z-index: 2;
}

.section-badge {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.94);
}

.section-title,
.section-subtitle {
  color: rgba(255,255,255,0.95) !important;
}

.premium-card,
/* .calculator-card, */
.about-interactive-box,
.trends-visual-box,
.contact-info-card,
.faq-item {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.16) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.contact-info-card,
.about-interactive-box,
.trends-visual-box {
  padding: 30px !important;
}

.info-item,
.faq-item,
.leader-avatar-placeholder,
.compliance-badge-card {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.infobox-glow,
.bg-light-band,
.bg-float-orb,
.bg-float-line,
.bg-blueprint-grid {
  opacity: 0.18 !important;
}

@media (max-width: 1199.98px) {
  .mara-header .navbar {
    min-height: 92px;
  }

  .mara-header .nav-link {
    font-size: 0.98rem;
    padding: 10px 16px !important;
  }

  .hero-section {
    padding: 160px 0 90px;
  }
}

@media (max-width: 991.98px) {
  .mara-header .navbar {
    min-height: 84px !important;
  }

  .mara-header .nav-link,
  .lang-toggle-btn,
  .mara-header .btn-consultation {
    font-size: 0.95rem !important;
  }

  .hero-title {
    font-size: 2.7rem;
  }

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

@media (max-width: 575.98px) {
  .hero-section {
    padding: 130px 0 70px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

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

  .mara-header .nav-link {
    font-size: 0.96rem;
    padding: 11px 14px !important;
  }
}

@media (max-width: 991.98px) {
  .mara-header .container {
    width: min(100% - 24px, 720px);
  }

  .mara-header .navbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 72px !important;
  }

  .mara-header .brand-logo-img {
    width: 116px !important;
    height: 54px !important;
  }

  .mara-header .navbar-toggler {
    position: relative;
    z-index: 2;
    margin-inline-start: auto;
  }

  .mara-header .navbar-collapse {
    position: absolute !important;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none !important;
    max-height: calc(100svh - 96px);
    overflow-y: auto;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(23, 63, 109, 0.12);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(23, 63, 109, 0.14);
  }

  .mara-header .navbar-collapse.show {
    display: block !important;
  }

  .mara-header .navbar-nav {
    align-items: stretch;
    text-align: center;
    gap: 4px;
    margin: 0 0 12px !important;
  }

  .mara-header .nav-link {
    padding: 10px 12px !important;
    font-size: 0.95rem;
    white-space: normal;
  }

  .mara-header .d-flex.align-items-center.gap-3 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
}

/* 100. Section readability repair */
section.section-padding {
  background: linear-gradient(180deg, #f8fcff 0%, #eef8f8 100%) !important;
  color: #103555 !important;
  isolation: isolate;
}

section.section-padding.bg-darker,
#contact.section-padding,
#market-trends.section-padding,
#how-it-works.section-padding {
  background: linear-gradient(180deg, #eef8f8 0%, #ffffff 100%) !important;
}

section.section-padding::before {
  opacity: 0 !important;
}

section.section-padding .section-title,
section.section-padding .section-title.text-white,
section.section-padding .hero-title,
section.section-padding .text-white,
section.section-padding h1,
section.section-padding h2,
section.section-padding h3,
section.section-padding h4,
section.section-padding h5,
section.section-padding h6,
section.section-padding .faq-header-btn,
section.section-padding .modern-form-group label {
  color: #103555 !important;
  text-shadow: none !important;
}

section.section-padding .section-subtitle,
section.section-padding p,
section.section-padding .card-desc,
section.section-padding .stepper-desc,
section.section-padding .faq-body-content,
section.section-padding .info-details p,
section.section-padding .calc-subtitle,
section.section-padding .calc-disclaimer,
section.section-padding .text-muted {
  color: #536c80 !important;
}

/* Features section - dark blue background as per design */
#features.section-padding {
  background: linear-gradient(180deg, var(--mara-navy) 0%, #0f2b48 100%) !important;
  color: var(--text-white) !important;
  isolation: isolate;
}

/* Force white text inside the features section to override generic section rules */
#features.section-padding .section-badge,
#features.section-padding .section-subtitle,
#features.section-padding p,
#features.section-padding .card-desc,
#features.section-padding h1,
#features.section-padding h2,
#features.section-padding h3,
#features.section-padding h5,
#features.section-padding h6 {
  color: #ffffff !important;

}
#features.section-padding h4,
#features.section-padding .section-title{
color: #24cfb0 !important;
}

/* Slightly lift the premium cards on dark background for better contrast */
#features .premium-card {
  /* background: rgba(255,255,255,0.04); */
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.10)), rgba(7, 24, 42, 0.54) !important;
  border: 1px solid rgba(255,255,255,0.06);
}


section.section-padding .section-badge {
  background: rgba(36, 207, 176, 0.12) !important;
  border: 1px solid rgba(36, 207, 176, 0.25) !important;
  color: #128673 !important;
}

section.section-padding .premium-card,
section.section-padding .calculator-card,
section.section-padding .about-interactive-box,
section.section-padding .trends-visual-box,
section.section-padding .trend-mini-card,
section.section-padding .compliance-badge-card,
section.section-padding .faq-item,
section.section-padding .contact-info-card,
section.section-padding .social-post-card,
section.section-padding .about-visual-panel,
section.section-padding .about-content-panel,
section.section-padding .about-feature-item {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(23, 63, 109, 0.12) !important;
  color: #103555 !important;
  box-shadow: 0 18px 46px rgba(15, 47, 79, 0.09) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

section.section-padding .premium-card:hover,
section.section-padding .calculator-card:hover,
section.section-padding .about-interactive-box:hover,
section.section-padding .trends-visual-box:hover,
section.section-padding .trend-mini-card:hover,
section.section-padding .compliance-badge-card:hover,
section.section-padding .faq-item:hover,
section.section-padding .contact-info-card:hover,
section.section-padding .social-post-card:hover {
  background: #ffffff !important;
  border-color: rgba(39, 185, 154, 0.38) !important;
  box-shadow: 0 24px 60px rgba(15, 47, 79, 0.14) !important;
}

section.section-padding .card-icon-container,
section.section-padding .info-icon,
section.section-padding .social-post-icon {
  /* color: #128673 !important; */
  background: rgba(36, 207, 176, 0.12) !important;
  border-color: rgba(36, 207, 176, 0.24) !important;
}



section.section-padding .modern-input {
  background: #ffffff !important;
  border-color: rgba(23, 63, 109, 0.18) !important;
  color: #103555 !important;
}

section.section-padding .modern-input::placeholder {
  color: #8395a5 !important;
}

#features .premium-card {
  /* background: var(--bg-card) !important; */
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.10)), rgba(7, 24, 42, 0.54) !important;

  border: 1px solid var(--border-color) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  color: var(--text-white) !important;
}

#features .premium-card:hover {
  background: var(--bg-card-hover) !important;
  border-color: var(--border-glow) !important;
  box-shadow: 0 20px 50px rgba(39, 185, 154, 0.08) !important;
}

#features .premium-card:hover .card-title {
  color: #24cfb0 !important;
}

#features .premium-card:hover .card-desc {
  color: #103555 !important;
}

#features .premium-card:hover .card-icon-container {
  color: #128673 !important;
  background: rgba(36, 207, 176, 0.12) !important;
  border-color: rgba(36, 207, 176, 0.28) !important;
}

#become-partner.section-padding {
  background:
    linear-gradient(135deg, rgba(16, 53, 85, 0.96), rgba(18, 134, 115, 0.94)),
    #103555 !important;
}

#become-partner .about-interactive-box {
  max-width: 1060px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.44) !important;
  border-radius: 8px !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22) !important;
}

#become-partner .hero-title,
#become-partner .hero-title span:not(.accent) {
  color: #103555 !important;
}

#become-partner .section-subtitle {
  color: #536c80 !important;
}

.mara-footer {
  background: #07182a !important;
}

/* 101. Navigation matches footer visual style */
.mara-header {
  background:
    linear-gradient(135deg, rgba(7, 24, 42, 0.98), rgba(15, 47, 79, 0.98)),
    #07182a !important;
  border-bottom: 1px solid rgba(130, 243, 211, 0.18) !important;
  box-shadow: 0 16px 42px rgba(2, 8, 18, 0.28) !important;
  overflow: hidden;
}

.mara-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(36, 207, 176, 0.20), transparent 30%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}

.mara-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #24cfb0, transparent);
}

.mara-header .container,
.mara-header .navbar {
  position: relative;
  z-index: 1;
}

.mara-header.scrolled {
  background:
    linear-gradient(135deg, rgba(7, 24, 42, 0.99), rgba(15, 47, 79, 0.99)),
    #07182a !important;
  box-shadow: 0 18px 46px rgba(2, 8, 18, 0.36) !important;
}

.mara-header .nav-link {
  color: rgba(255, 255, 255, 0.78) !important;
  text-shadow: none !important;
}

.mara-header .nav-link:hover,
.mara-header .nav-link.active {
  background: rgba(36, 207, 176, 0.12) !important;
  color: #ffffff !important;
}

.mara-header .lang-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(130, 243, 211, 0.42) !important;
  color: #82f3d3 !important;
}

.mara-header .lang-toggle-btn:hover {
  background: #24cfb0 !important;
  color: #07182a !important;
}

.mara-header .btn-consultation {
  background: linear-gradient(135deg, #24cfb0 0%, #82f3d3 100%) !important;
  color: #07182a !important;
  box-shadow: 0 12px 28px rgba(36, 207, 176, 0.24) !important;
}

.mara-header .brand-logo-img {
  filter: brightness(0) invert(1);
}

@media (max-width: 991.98px) {
  .mara-header .navbar-collapse {
    background:
      linear-gradient(135deg, rgba(7, 24, 42, 0.99), rgba(15, 47, 79, 0.99)),
      #07182a !important;
    border-color: rgba(130, 243, 211, 0.18) !important;
    box-shadow: 0 18px 38px rgba(2, 8, 18, 0.30) !important;
  }

  .mara-header .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
  }
}

/* 102. Hero video presentation repair */
.real-estate-bg {
  background: #07182a !important;
  background-image:
    linear-gradient(135deg, rgba(7, 24, 42, 0.74), rgba(18, 134, 115, 0.42)),
    url("assets/ksa-buildings-riyadh.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

.page-bg-video {
  opacity: 1 !important;
  filter: saturate(1.18) contrast(1.12) brightness(0.74) !important;
  transform: scale(1.02) !important;
}

.real-estate-bg::before {
  opacity: 1 !important;
  background:
    linear-gradient(90deg, rgba(3, 12, 22, 0.82) 0%, rgba(3, 12, 22, 0.54) 44%, rgba(3, 12, 22, 0.38) 100%),
    linear-gradient(180deg, rgba(3, 12, 22, 0.50) 0%, rgba(3, 12, 22, 0.14) 44%, rgba(3, 12, 22, 0.72) 100%) !important;
  z-index: 1;
}

.real-estate-bg::after {
  opacity: 1 !important;
  z-index: 2;
  background:
    radial-gradient(circle at 20% 34%, rgba(36, 207, 176, 0.22), transparent 30%),
    radial-gradient(circle at 80% 54%, rgba(130, 243, 211, 0.12), transparent 26%) !important;
  mix-blend-mode: screen;
}

@media (max-width: 767.98px) {
  .page-bg-video {
    display: none !important;
  }
}

section[id] {
  scroll-margin-top: 120px;
}

.mara-header .nav-link {
  white-space: nowrap;
}

@media (min-width: 992px) {
  .mara-header .navbar-nav {
    gap: 4px;
  }

  .mara-header .nav-link {
    font-size: clamp(0.94rem, 0.78vw, 1.05rem) !important;
    padding-inline: 10px !important;
  }
}

@media (min-width: 1200px) {
  .mara-header .nav-link {
    padding-inline: 12px !important;
  }
}

#home.hero-section {
  min-height: 100vh !important;
  padding: clamp(150px, 16vh, 205px) 0 clamp(70px, 9vh, 110px) !important;
  background: transparent !important;
  overflow: hidden;
}

#home.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

#home.hero-section .container {
  position: relative;
  z-index: 3;
}

#home .row {
  align-items: center !important;
}

#home .hero-badge {
  background: rgba(130, 243, 211, 0.12) !important;
  border: 1px solid rgba(130, 243, 211, 0.34) !important;
  color: #c7fff0 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-transform: none;
}

#home .hero-title {
  color: #ffffff !important;
  font-size: clamp(2.65rem, 4.2vw, 4.85rem) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  max-width: 780px;
  margin-bottom: 28px !important;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

#home .hero-title span.accent {
  background: linear-gradient(135deg, #82f3d3 0%, #24cfb0 55%, #ffffff 150%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  /* filter: drop-shadow(0 12px 32px rgba(36, 207, 176, 0.25)); */
}

#home .hero-subtitle {
  color: rgba(255, 255, 255, 0.91) !important;
  font-size: clamp(1.03rem, 1.25vw, 1.25rem) !important;
  line-height: 1.8 !important;
  max-width: 720px;
  margin-bottom: 34px !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
}

#home .hero-ctas .btn {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22) !important;
}

#home .btn-app-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff !important;
  background: rgba(7, 24, 42, 0.54);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}

#home .btn-app-download i {
  color: #82f3d3;
  font-size: 1.25rem;
}

#home .btn-app-download:hover {
  transform: translateY(-3px);
  border-color: rgba(130, 243, 211, 0.52);
  background: rgba(7, 24, 42, 0.72);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26), 0 0 0 4px rgba(36, 207, 176, 0.08) !important;
}

#home .calculator-card {
  max-width: 620px;
  margin-inline-start: auto;
  padding: clamp(26px, 3vw, 44px) !important;
  /* background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.10)),
    rgba(7, 24, 42, 0.54) !important; */
  /* border: 1px solid rgba(255, 255, 255, 0.28) !important; */
  border-radius: 8px !important;
  color: #ffffff !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38) !important;
  /* backdrop-filter: blur(22px) saturate(1.18) !important; */
  /* -webkit-backdrop-filter: blur(22px) saturate(1.18) !important; */
}

#home .calculator-card::before {
  background: radial-gradient(circle, rgba(130, 243, 211, 0.22) 0%, transparent 68%) !important;
}

#home .calc-title-badge {
  color: #24cfb0 !important;
  letter-spacing: 0.24em;
}

#home .calc-title {
  color: #ffffff !important;
  font-size: clamp(1.8rem, 2.4vw, 2.55rem) !important;
}

#home .calc-subtitle,
#home .calc-disclaimer {
  color: rgba(255, 255, 255, 0.78) !important;
}

#home .calc-metric-box {
  min-height: 78px;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

#home .calc-metric-box.total-box {
  background: rgba(36, 207, 176, 0.15) !important;
  border-color: rgba(36, 207, 176, 0.34) !important;
}

#home .calc-metric-label {
  color: #2e506d !important;
  font-size: 0.98rem;
  font-weight: 800;
}

#home .total-box .calc-metric-label {
  color: rgba(255, 255, 255, 0.90) !important;
}

#home .calc-metric-num {
  color: #173f6d !important;
}

#home .total-box .calc-metric-num {
  color: #24cfb0 !important;
}

[dir="rtl"] #home .calculator-card {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

@media (max-width: 991.98px) {
  #home.hero-section {
    padding-top: 132px !important;
  }

  #home .hero-title,
  #home .hero-subtitle {
    max-width: 100%;
    text-align: center !important;
  }

  #home .hero-badge {
    margin-inline: auto;
  }

  #home .calculator-card {
    margin: 0 auto !important;
  }
}

@media (max-width: 575.98px) {
  #home .hero-title {
    font-size: clamp(2.15rem, 11vw, 2.9rem) !important;
  }

  #home .calc-metric-box {
    min-height: 70px;
  }

  #home .btn-app-download {
    width: 100%;
  }
}

/* 103. Keep navigation hidden during loader */
body.is-loading .mara-header {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
}

body:not(.is-loading) .mara-header {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    box-shadow 0.35s ease;
}

#preloader {
  z-index: 120000 !important;
  inset: 0 !important;
  height: 100dvh !important;
  background: #ffffff !important;
}




/* ── WhatsApp Float Button - Final Fix ── */
.consult-fab {
  position: fixed !important;
  right: 32px !important;
  bottom: 104px !important;
  z-index: 999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  height: 60px !important;
  min-width: 60px !important;
  max-width: 60px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 50px !important;
  color: #07182a !important;
  background: linear-gradient(135deg, #82f3d3 0%, #24cfb0 100%) !important;
  box-shadow: 0 6px 24px rgba(36, 207, 176, 0.36) !important;
  text-decoration: none !important;
  transition: max-width 0.32s cubic-bezier(.4,0,.2,1), box-shadow 0.32s ease, transform 0.22s ease !important;
}

.consult-fab:hover {
  max-width: 310px !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(36, 207, 176, 0.46) !important;
}

.consult-fab-icon {
  width: 60px !important;
  min-width: 60px !important;
  height: 60px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  color: #07182a !important;
}

.consult-fab-label {
  max-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  padding: 0 22px 0 4px !important;
  opacity: 0 !important;
  color: #07182a !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  transition: opacity 0.22s 0.06s, max-width 0.32s !important;
}

.consult-fab:hover .consult-fab-label {
  max-width: 250px !important;
  opacity: 1 !important;
}

[dir="rtl"] .consult-fab {
  left: auto !important;
  right: 32px !important;
}

[dir="rtl"] .consult-fab:hover {
  flex-direction: row-reverse !important;
}

[dir="rtl"] .consult-fab-label {
  padding: 0 4px 0 22px !important;
  text-align: right !important;
}

.wa-fab {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  left: auto !important;
  z-index: 999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  border-radius: 50px !important;
  background: #25D366 !important;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42) !important;
  cursor: pointer !important;
  overflow: hidden !important;
  transition: max-width 0.32s cubic-bezier(.4,0,.2,1), box-shadow 0.32s ease !important;
  text-decoration: none !important;
  max-width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  border: none !important;
}

.wa-fab:hover {
  max-width: 320px !important;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.52) !important;
}

.wa-fab-icon {
  width: 60px !important;
  min-width: 60px !important;
  height: 60px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  background: transparent !important;
}

.wa-fab-icon svg {
  width: 30px !important;
  height: 30px !important;
  fill: #fff !important;
  position: relative !important;
  z-index: 2 !important;
  flex-shrink: 0 !important;
}

.wa-fab .pulse-ring {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  background: rgba(37, 211, 102, 0.38) !important;
  animation: wa-pulse 2.4s ease-out infinite !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.6);  opacity: 0;   }
  100% { transform: scale(1.6);  opacity: 0;   }
}

.wa-fab-label {
  overflow: hidden !important;
  white-space: nowrap !important;
  padding: 0 22px 0 6px !important;
  opacity: 0 !important;
  max-width: 0 !important;
  transition: opacity 0.22s 0.06s, max-width 0.32s !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.wa-fab:hover .wa-fab-label {
  opacity: 1 !important;
  max-width: 260px !important;
}

.wa-fab-label-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  display: block !important;
  line-height: 1.35 !important;
  font-family: var(--font-ar), var(--font-en) !important;
}

.wa-fab-label-sub {
  font-size: 12px !important;
  color: rgba(255,255,255,0.88) !important;
  display: block !important;
  line-height: 1.35 !important;
  direction: ltr !important;
  font-family: var(--font-en) !important;
}

/* RTL: flip to right side */
[dir="rtl"] .wa-fab {
  left: auto !important;
  right: 32px !important;
}

[dir="rtl"] .wa-fab:hover {
  flex-direction: row-reverse !important;
}

[dir="rtl"] .wa-fab-label {
  padding: 0 6px 0 22px !important;
  text-align: right !important;
}

@media (max-width: 575.98px) {
  .consult-fab {
    right: 20px !important;
    bottom: 92px !important;
  }

  .wa-fab {
    bottom: 20px !important;
    left: 20px !important;
  }

  [dir="rtl"] .consult-fab {
    left: auto !important;
    right: 20px !important;
  }

  [dir="rtl"] .wa-fab {
    left: auto !important;
    right: 20px !important;
  }
}

/* Keep the dark feature intro readable after global section repair overrides. */
#features.section-padding > .container > .text-center .section-badge {
  background: rgba(36, 207, 176, 0.16) !important;
  border-color: rgba(130, 243, 211, 0.42) !important;
  color: #b7f1e1 !important;
}

#features.section-padding > .container > .text-center .section-title {
  color: #ffffff !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22) !important;
}

#features.section-padding > .container > .text-center .section-subtitle {
  color: rgba(255, 255, 255, 0.86) !important;
}

.how-visual-card {
  position: relative;
  width: 100%;
  margin-top: 34px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(36, 207, 176, 0.24);
  background: #dce8ee;
  box-shadow: 0 24px 62px rgba(15, 47, 79, 0.14);
}

.how-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 42%, rgba(16, 53, 85, 0.20) 100%),
    linear-gradient(135deg, rgba(36, 207, 176, 0.12), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.how-visual-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991.98px) {
  .how-visual-card {
    max-width: 640px;
    margin: 28px auto 0;
  }
}

@media (max-width: 575.98px) {
  .how-visual-card {
    aspect-ratio: 4 / 3;
    margin-top: 24px;
  }
}

/* Final About section redesign */
#about.section-padding {
  padding-top: clamp(78px, 8vw, 116px);
  padding-bottom: clamp(78px, 8vw, 116px);
  background:
    linear-gradient(180deg, #f7fcff 0%, #eef8f8 48%, #ffffff 100%) !important;
}

#about .section-subtitle {
  max-width: 780px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

#about .about-interactive-box {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  position: relative;
  overflow: visible;
  padding: clamp(18px, 3vw, 28px) !important;
  border-radius: 8px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#about .about-interactive-box::before {
  content: none;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 63, 109, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 109, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.72), transparent 72%);
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.72), transparent 72%);
  pointer-events: none;
}

#about .about-nav-tabs,
#about .about-dashboard {
  position: relative;
  z-index: 1;
}

#about .about-nav-tabs {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start;
  gap: 12px;
  margin: 0 !important;
  padding: 12px !important;
  border: 1px solid rgba(23, 63, 109, 0.08) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

#about .about-tab-trigger {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 74px;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #536c80 !important;
  text-align: start;
  box-shadow: none !important;
  transform: none !important;
}

#about .about-tab-trigger::before {
  top: 10px;
  inset-inline-end: 12px;
  color: rgba(23, 63, 109, 0.22);
  font-size: 0.78rem;
}

#about .about-tab-trigger i {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(36, 207, 176, 0.10) !important;
  color: #128673 !important;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

#about .about-tab-trigger span {
  min-width: 0;
  color: inherit !important;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

#about .about-tab-trigger:hover,
#about .about-tab-trigger.active {
  background: #ffffff !important;
  border-color: rgba(36, 207, 176, 0.34) !important;
  color: #103555 !important;
  box-shadow: 0 16px 34px rgba(15, 47, 79, 0.10) !important;
}

#about .about-tab-trigger:hover i,
#about .about-tab-trigger.active i {
  transform: scale(1.04);
  background: linear-gradient(135deg, #24cfb0, #173f6d) !important;
  color: #ffffff !important;
}

#about .about-tab-trigger.active::after {
  content: "";
  position: absolute;
  inset-block: 14px;
  inset-inline-start: -13px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #24cfb0, #173f6d);
}

#about .about-dashboard {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
}

#about .about-visual-panel,
#about .about-content-panel {
  border-radius: 8px !important;
  border: 1px solid rgba(23, 63, 109, 0.10) !important;
  background: rgba(255, 255, 255, 0.84) !important;
  box-shadow: 0 18px 50px rgba(15, 47, 79, 0.08) !important;
}

#about .about-visual-panel {
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  gap: 12px;
  padding: 12px;
  overflow: hidden;
}

#about .about-visual-shell {
  min-height: 0 !important;
  height: 100%;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(16, 53, 85, 0.04), rgba(16, 53, 85, 0.54)),
    url("assets/light-trails-modern-building-background-shanghai-china.jpg") center / cover no-repeat !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20) !important;
}

#about .about-visual-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 42, 0.42), transparent 58%),
    linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  animation: aboutPanelGrid 22s linear infinite;
  opacity: 0.9;
}

#about .about-building-mark {
  inset: auto auto 24px 24px;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #128673 !important;
  font-size: 2rem !important;
  align-items: center;
  justify-content: center;
}

[dir="rtl"] #about .about-building-mark {
  right: 24px;
  left: auto;
}

#about .about-flow-line {
  left: 112px;
  right: 28px;
  bottom: 58px;
  height: 3px;
  background: rgba(255, 255, 255, 0.42);
}

[dir="rtl"] #about .about-flow-line {
  left: 28px;
  right: 112px;
}

#about .about-mini-stat {
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.93) !important;
  box-shadow: 0 16px 42px rgba(7, 24, 42, 0.18) !important;
}

#about .about-mini-stat-top {
  top: 18px;
  inset-inline-start: 18px;
}

#about .about-mini-stat-bottom {
  right: 18px;
  bottom: 18px;
}

[dir="rtl"] #about .about-mini-stat-bottom {
  right: auto;
  left: 18px;
}

#about .about-status-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

#about .about-status-list div {
  min-height: 48px;
  border-radius: 8px !important;
  background: rgba(244, 251, 250, 0.94) !important;
}

#about .about-content-panel {
  padding: clamp(24px, 4vw, 44px) !important;
  display: flex;
  align-items: center;
}

#about .about-content-kicker {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(36, 207, 176, 0.10);
  box-shadow: 0 12px 28px rgba(36, 207, 176, 0.08);
}

#about .about-tab-content h4 {
  font-size: clamp(1.9rem, 3.2vw, 3.05rem) !important;
  letter-spacing: 0 !important;
}

#about .about-copy-grid,
#about .about-feature-grid.two {
  gap: 18px;
}

#about .about-feature-grid.three {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

#about .about-feature-item,
#about .about-pill-row span {
  border-radius: 8px !important;
  background: rgba(248, 252, 255, 0.94) !important;
  border-color: rgba(23, 63, 109, 0.10) !important;
}

#about .about-feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 207, 176, 0.38) !important;
  box-shadow: 0 18px 42px rgba(15, 47, 79, 0.12) !important;
}

#about .about-interactive-box[data-active-tab="tabVision"] .about-visual-shell {
  filter: saturate(1.08) hue-rotate(8deg);
}

#about .about-interactive-box[data-active-tab="tabLeadership"] .about-visual-shell {
  filter: saturate(0.94) contrast(1.04);
}

#about .about-interactive-box[data-active-tab="tabCompliance"] .about-visual-shell {
  filter: saturate(0.86) contrast(1.08);
}

@media (max-width: 1199.98px) {
  #about .about-interactive-box,
  #about .about-dashboard {
    grid-template-columns: 1fr;
  }

  #about .about-nav-tabs {
    grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  #about .about-tab-trigger {
    min-width: 150px;
  }

  #about .about-tab-trigger.active::after {
    inset-inline-start: 14px;
    inset-inline-end: 14px;
    inset-block: auto -13px;
    width: auto;
    height: 4px;
  }
}

@media (max-width: 767.98px) {
  #about .about-nav-tabs {
    grid-template-columns: 1fr 1fr !important;
    overflow: visible;
  }

  #about .about-dashboard,
  #about .about-copy-grid,
  #about .about-feature-grid.two,
  #about .about-feature-grid.three {
    grid-template-columns: 1fr !important;
  }

  #about .about-visual-panel {
    grid-template-rows: 280px auto;
  }
}

@media (max-width: 575.98px) {
  #about .about-interactive-box {
    padding: 14px !important;
  }

  #about .about-nav-tabs {
    grid-template-columns: 1fr !important;
  }

  #about .about-tab-trigger {
    min-height: 62px;
  }

  #about .about-content-panel {
    padding: 22px 18px !important;
  }

  #about .about-visual-panel {
    grid-template-rows: 238px auto;
  }
}

/* About section v2: friendlier animated cards */
#about .section-title {
  max-width: 980px;
  font-size: clamp(2.25rem, 4vw, 4.35rem) !important;
}

#about .about-interactive-box {
  display: block !important;
  padding: clamp(16px, 2.8vw, 26px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#about .about-nav-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 0 !important;
  margin-bottom: 22px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#about .about-tab-trigger {
  min-width: 0 !important;
  min-height: 96px !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  align-content: center;
  padding: 16px !important;
  border: 1px solid rgba(23, 63, 109, 0.10) !important;
  background: rgba(255,255,255,0.84) !important;
  box-shadow: 0 12px 34px rgba(15, 47, 79, 0.06) !important;
  isolation: isolate;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease !important;
}

#about .about-tab-trigger::after {
  content: "";
  position: absolute;
  inset: auto 14px 10px;
  height: 3px;
  width: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #24cfb0, #173f6d);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

#about .about-tab-trigger::before {
  z-index: -1;
  top: auto !important;
  bottom: 11px;
  inset-inline-end: 16px !important;
  font-size: 1.35rem !important;
  line-height: 1;
  opacity: 0.12;
  color: #173f6d !important;
  transition: opacity 220ms ease, transform 220ms ease;
}

#about .about-tab-trigger i {
  width: 48px !important;
  height: 48px !important;
  font-size: 1.08rem;
  box-shadow: inset 0 0 0 1px rgba(36, 207, 176, 0.14);
}

#about .about-tab-trigger:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(36, 207, 176, 0.38) !important;
  box-shadow: 0 24px 48px rgba(15, 47, 79, 0.13) !important;
}

#about .about-tab-trigger:hover::before {
  opacity: 0.2;
  transform: translateY(-4px);
}

#about .about-tab-trigger:hover i {
  transform: translateY(-2px) rotate(-4deg) scale(1.06);
}

#about .about-tab-trigger.active {
  transform: translateY(-4px) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(233, 250, 246, 0.98)) !important;
  border-color: rgba(36, 207, 176, 0.54) !important;
  box-shadow: 0 26px 58px rgba(15, 47, 79, 0.15) !important;
}

#about .about-tab-trigger.active::after {
  opacity: 1;
  transform: scaleX(1);
}

#about .about-tab-trigger.active::before {
  opacity: 0.26;
}

#about .about-dashboard {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr) !important;
  gap: 18px !important;
}

#about .about-visual-panel,
#about .about-content-panel {
  min-height: 520px;
}

#about .about-visual-panel {
  grid-template-rows: 1fr auto;
  padding: 10px !important;
  background: #ffffff !important;
}

#about .about-visual-shell {
  position: relative;
  overflow: hidden;
}

#about .about-visual-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 25%, rgba(7, 24, 42, 0.52) 100%),
    radial-gradient(circle at 70% 24%, rgba(36, 207, 176, 0.34), transparent 24%);
  pointer-events: none;
}

#about .about-visual-shell:hover {
  transform: translateY(-2px);
}

#about .about-visual-shell:hover::before {
  animation-duration: 9s;
}

#about .about-visual-panel:hover .about-mini-stat {
  transform: translateY(-4px);
}

#about .about-content-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,252,255,0.94)) !important;
}

#about .about-content-panel::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 5px;
  background: linear-gradient(90deg, #24cfb0, #173f6d, #24cfb0);
  background-size: 200% 100%;
  animation: aboutAccentSlide 5s linear infinite;
}

#about .about-tab-content {
  animation: aboutPaneIn 360ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

#about .about-tab-content h4 {
  margin-bottom: 20px !important;
}

#about .about-content-kicker {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#about .about-content-kicker:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(36, 207, 176, 0.15);
}

#about .about-pill-row span {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

#about .about-pill-row span:hover {
  transform: translateY(-3px);
  background: rgba(36, 207, 176, 0.14) !important;
  color: #103555 !important;
}

#about .about-feature-item {
  cursor: default;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease !important;
}

#about .about-feature-item > i {
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

#about .about-feature-item:hover {
  transform: translateY(-7px) !important;
  background: #ffffff !important;
}

#about .about-feature-item:hover > i {
  transform: rotate(-5deg) scale(1.08);
  background: linear-gradient(135deg, #24cfb0, #173f6d) !important;
  color: #ffffff !important;
}

#about .about-flow-line span {
  animation-duration: 2.1s;
}

@keyframes aboutAccentSlide {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}

@media (max-width: 1199.98px) {
  #about .about-nav-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #about .about-dashboard {
    grid-template-columns: 1fr !important;
  }

  #about .about-visual-panel,
  #about .about-content-panel {
    min-height: 0;
  }

  #about .about-visual-panel {
    grid-template-rows: 360px auto;
  }
}

@media (max-width: 575.98px) {
  #about .section-title {
    font-size: 2.25rem !important;
  }

  #about .about-nav-tabs {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #about .about-tab-trigger {
    min-height: 72px !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    padding: 12px !important;
  }

  #about .about-tab-trigger i {
    width: 42px !important;
    height: 42px !important;
  }

  #about .about-visual-panel {
    grid-template-rows: 260px auto;
  }
}

/* Partner CTA: image-backed section */
#become-partner.section-padding {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(7, 24, 42, 0.88), rgba(18, 134, 115, 0.78)),
    url("assets/ksa-buildings-riyadh.jpg") center / cover no-repeat !important;
  isolation: isolate;
}

#become-partner.section-padding::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 22%, rgba(36, 207, 176, 0.26), transparent 30%),
    linear-gradient(90deg, rgba(7, 24, 42, 0.74), rgba(7, 24, 42, 0.28) 48%, rgba(7, 24, 42, 0.62));
  opacity: 1 !important;
  z-index: -1;
}

#become-partner.section-padding::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(120deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(120deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  opacity: 0.36;
  z-index: -1;
  animation: partnerGridDrift 18s linear infinite;
}

#become-partner .container {
  position: relative;
  z-index: 1;
}

.partner-cta-panel {
  /* position: relative;
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) clamp(22px, 6vw, 80px);
  overflow: hidden;
  border-radius: 8px;
  border: 0;
  background: linear-gradient(135deg, rgba(7, 24, 42, 0.54), rgba(7, 24, 42, 0.28));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 260ms ease, box-shadow 260ms ease; */
}

.partner-cta-panel::before {
  content: none;
  position: absolute;
  inset: 12px;
  border-radius: 8px;
  border: 1px solid rgba(130, 243, 211, 0.20);
  pointer-events: none;
}

.partner-cta-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -110px;
  border-radius: 50%;
  background: rgba(36, 207, 176, 0.26);
  filter: blur(18px);
  pointer-events: none;
}

.partner-cta-panel:hover {
  /* transform: translateY(-6px);
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.36); */
}

#become-partner .section-badge {
  color: #dffcf5 !important;
  background: rgba(36, 207, 176, 0.18) !important;
  border-color: rgba(130, 243, 211, 0.44) !important;
  box-shadow: 0 14px 36px rgba(36, 207, 176, 0.18);
}

#become-partner .hero-title,
#become-partner .hero-title span:not(.accent) {
  color: #ffffff !important;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

#become-partner .hero-title {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(2.7rem, 6vw, 5.75rem);
  line-height: 1.02;
}

#become-partner .hero-title .accent {
  color: #82f3d3 !important;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.28) !important;
}

#become-partner .section-subtitle {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

#become-partner .btn-primary-gold {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(130, 243, 211, 0.34);
  background: linear-gradient(135deg, #24cfb0, #173f6d) !important;
  color: #ffffff !important;
  box-shadow: 0 20px 50px rgba(36, 207, 176, 0.30);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

#become-partner .btn-primary-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.30) 45%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

#become-partner .btn-primary-gold:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 28px 68px rgba(36, 207, 176, 0.38);
}

#become-partner .btn-primary-gold:hover::before {
  transform: translateX(120%);
}

@keyframes partnerGridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(54px, 54px, 0); }
}

@media (max-width: 991.98px) {
  #become-partner.section-padding {
    min-height: 640px;
  }
}

@media (max-width: 575.98px) {
  #become-partner.section-padding {
    min-height: 590px;
    padding-block: 78px;
  }

  .partner-cta-panel {
    padding: 38px 18px;
  }

  #become-partner .hero-title {
    font-size: 2.75rem;
  }
}

/* Market trends: side image with unified cards */
#market-trends .row {
  align-items: stretch !important;
}

#market-trends .col-lg-4,
#market-trends .col-lg-8 {
  display: flex;
}

#market-trends .col-lg-4 > .reveal,
#market-trends .col-lg-8 > .reveal {
  width: 100%;
}

#market-trends .col-lg-4 > .reveal {
  /* display: flex; */
  flex-direction: column;
}

#market-trends .col-lg-8 > .reveal,
#market-trends .trends-visual-box {
  display: flex;
  flex-direction: column;
}

#market-trends .section-subtitle {
  margin-bottom: 0;
}

.market-side-image {
  position: relative;
  margin-top: 32px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(36, 207, 176, 0.24);
  box-shadow: 0 26px 70px rgba(15, 47, 79, 0.14);
}

.market-side-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 53, 85, 0.04), rgba(16, 53, 85, 0.58)),
    radial-gradient(circle at 72% 18%, rgba(36, 207, 176, 0.28), transparent 30%);
  z-index: 1;
  pointer-events: none;
}

.market-side-image::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #24cfb0, rgba(255,255,255,0.72), #173f6d);
  z-index: 2;
}

.market-side-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.market-side-image:hover img {
  transform: scale(1.06);
}

#market-trends .trends-visual-box {
  padding: clamp(24px, 3vw, 34px) !important;
  height: 100%;
}

.market-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
}

.market-card-grid .trend-mini-card,
.market-card-grid .compliance-badge-card {
  min-height: 190px;
  padding: clamp(20px, 2.4vw, 28px) !important;
  border-radius: 8px !important;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.market-card-grid .trend-mini-card:hover,
.market-card-grid .compliance-badge-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 207, 176, 0.42) !important;
  box-shadow: 0 24px 54px rgba(15, 47, 79, 0.13) !important;
}

.market-card-grid .trend-mini-num {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: #24cfb0 !important;
}

.market-card-grid h5,
.market-card-grid h6 {
  color: #103555 !important;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.25;
}

.market-card-grid p {
  color: #536c80 !important;
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  #market-trends .col-lg-4,
  #market-trends .col-lg-8,
  #market-trends .col-lg-4 > .reveal,
  #market-trends .col-lg-8 > .reveal,
  #market-trends .trends-visual-box {
    display: block;
  }

  .market-side-image {
    aspect-ratio: 16 / 8;
    max-width: 760px;
  }
}

@media (max-width: 767.98px) {
  .market-card-grid {
    grid-template-columns: 1fr;
  }

  .market-card-grid .trend-mini-card,
  .market-card-grid .compliance-badge-card {
    min-height: 0;
  }
}

/* Modal redesign: readable, bright, and consistent */
.mara-modal {
  background:
    linear-gradient(135deg, rgba(7, 24, 42, 0.82), rgba(7, 24, 42, 0.70)),
    rgba(7, 24, 42, 0.78) !important;
  backdrop-filter: blur(14px) saturate(0.95) !important;
  -webkit-backdrop-filter: blur(14px) saturate(0.95) !important;
  padding: clamp(14px, 3vw, 28px) !important;
}

.mara-modal-container {
  width: min(760px, 100%) !important;
  max-width: min(760px, calc(100vw - 28px)) !important;
  max-height: min(760px, calc(100dvh - 28px)) !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  border: 1px solid rgba(36, 207, 176, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 250, 0.96)),
    #ffffff !important;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.36) !important;
  color: #103555 !important;
  animation: maraModalIn 260ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

#partnerModal .mara-modal-container {
  width: min(920px, 100%) !important;
  max-width: min(920px, calc(100vw - 28px)) !important;
}

.mara-modal-header {
  position: relative;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 4vw, 38px) !important;
  border-bottom: 1px solid rgba(23, 63, 109, 0.10) !important;
  background:
    linear-gradient(135deg, rgba(16, 53, 85, 0.98), rgba(18, 134, 115, 0.94)),
    #103555 !important;
}

.mara-modal-header::after {
  content: "";
  position: absolute;
  left: clamp(22px, 4vw, 38px);
  right: clamp(22px, 4vw, 38px);
  bottom: -2px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #24cfb0, #82f3d3, #173f6d);
}

.mara-modal-title {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
  font-weight: 900 !important;
  line-height: 1.2;
  letter-spacing: 0 !important;
}

.mara-modal-close-btn {
  flex: 0 0 auto;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-size: 1.05rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease !important;
}

.mara-modal-close-btn:hover {
  transform: rotate(90deg) scale(1.04);
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(130, 243, 211, 0.52) !important;
}

.mara-modal-body {
  padding: clamp(24px, 4vw, 38px) !important;
  color: #536c80 !important;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem) !important;
  line-height: 1.85 !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(36, 207, 176, 0.08), transparent 26%),
    #ffffff !important;
}

.mara-modal-body p {
  margin: 0 0 18px !important;
  color: #536c80 !important;
}

.mara-modal-body p:first-child {
  color: #314f66 !important;
  font-weight: 650;
}

.mara-modal-footer {
  padding: 18px clamp(22px, 4vw, 38px) 26px !important;
  border-top: 1px solid rgba(23, 63, 109, 0.10) !important;
  background: #f7fcff !important;
}

.mara-modal-footer .btn,
.btn-modal-close {
  min-width: 132px;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  border: 1px solid rgba(23, 63, 109, 0.14) !important;
  background: #ffffff !important;
  color: #103555 !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 28px rgba(15, 47, 79, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease !important;
}

.mara-modal-footer .btn:hover,
.btn-modal-close:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 207, 176, 0.42) !important;
  background: rgba(36, 207, 176, 0.10) !important;
  box-shadow: 0 18px 38px rgba(15, 47, 79, 0.12);
}

.mara-modal .modern-form-group label {
  color: #103555 !important;
  font-weight: 800;
  margin-bottom: 8px;
}

.mara-modal .modern-input {
  min-height: 52px;
  border-radius: 8px !important;
  border: 1px solid rgba(23, 63, 109, 0.16) !important;
  background: #f8fcff !important;
  color: #103555 !important;
  box-shadow: none !important;
}

.mara-modal textarea.modern-input {
  min-height: 132px;
}

.mara-modal .modern-input::placeholder {
  color: #8395a5 !important;
}

.mara-modal .modern-input:focus {
  border-color: rgba(36, 207, 176, 0.62) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(36, 207, 176, 0.12) !important;
  outline: none;
}

.mara-modal .btn-primary-gold {
  border-radius: 999px !important;
  background: linear-gradient(135deg, #24cfb0, #173f6d) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 42px rgba(36, 207, 176, 0.24) !important;
}

.mara-modal .btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(36, 207, 176, 0.30) !important;
}

.mara-modal .form-success-alert {
  border-radius: 8px;
  background: rgba(36, 207, 176, 0.12);
  color: #103555;
}

@keyframes maraModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 575.98px) {
  .mara-modal {
    align-items: flex-end !important;
    padding: 10px !important;
  }

  .mara-modal-container {
    max-width: 100% !important;
    max-height: calc(100dvh - 20px) !important;
    border-radius: 8px 8px 0 0 !important;
  }

  .mara-modal-header {
    padding: 20px 18px !important;
  }

  .mara-modal-close-btn {
    width: 42px !important;
    height: 42px !important;
  }

  .mara-modal-body {
    padding: 22px 18px !important;
  }

  .mara-modal-footer {
    padding: 14px 18px 20px !important;
  }

  .mara-modal-footer .btn,
  .btn-modal-close {
    width: 100%;
  }
}

/* FAQ: interactive image-backed help section */
#faq.section-padding {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 24, 42, 0.88), rgba(18, 134, 115, 0.72)),
    url("assets/bridge-with-city.jpg") center / cover no-repeat !important;
  isolation: isolate;
}

#faq.section-padding::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(36, 207, 176, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(7, 24, 42, 0.76), rgba(7, 24, 42, 0.34) 52%, rgba(7, 24, 42, 0.74));
  opacity: 1 !important;
  z-index: -1;
}

#faq.section-padding::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.30;
  z-index: -1;
  animation: faqGridFloat 20s linear infinite;
}

#faq .container {
  position: relative;
  z-index: 1;
}

#faq .section-badge {
  color: #dffcf5 !important;
  background: rgba(36, 207, 176, 0.18) !important;
  border-color: rgba(130, 243, 211, 0.44) !important;
}

#faq .section-title {
  color: #ffffff !important;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

#faq .section-subtitle {
  color: rgba(255, 255, 255, 0.84) !important;
}

.faq-side-panel {
  position: sticky;
  top: 110px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.faq-side-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #24cfb0, #173f6d);
  box-shadow: 0 18px 42px rgba(36, 207, 176, 0.28);
  font-size: 1.45rem;
}

.faq-side-panel h3 {
  color: #ffffff !important;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 16px;
}

.faq-side-panel p {
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.75;
  margin-bottom: 24px;
}

.faq-side-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-side-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #e9fffa;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
  font-weight: 800;
}

#faq .faq-container {
  gap: 14px;
}

#faq .faq-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.14) !important;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

#faq .faq-item::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: linear-gradient(180deg, #24cfb0, #173f6d);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 220ms ease;
}

#faq .faq-item:hover,
#faq .faq-item.active {
  transform: translateY(-4px);
  border-color: rgba(130, 243, 211, 0.48) !important;
  background: #ffffff !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.20) !important;
}

#faq .faq-item:hover::before,
#faq .faq-item.active::before {
  transform: scaleY(1);
}

#faq .faq-header-btn {
  min-height: 78px;
  padding: 22px 26px !important;
  color: #103555 !important;
  background: transparent !important;
  font-size: clamp(1rem, 1.4vw, 1.16rem) !important;
  transition: color 180ms ease;
}

#faq .faq-header-btn span {
  color: inherit !important;
}

#faq .faq-chevron {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #128673 !important;
  background: rgba(36, 207, 176, 0.10);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

#faq .faq-item:hover .faq-chevron,
#faq .faq-item.active .faq-chevron {
  color: #ffffff !important;
  background: linear-gradient(135deg, #24cfb0, #173f6d);
}

#faq .faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

#faq .faq-body {
  background: linear-gradient(180deg, rgba(36, 207, 176, 0.06), rgba(255,255,255,0));
}

#faq .faq-body-content {
  padding: 0 26px 26px !important;
  color: #536c80 !important;
  line-height: 1.75;
  font-size: 1rem;
}

@keyframes faqGridFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(56px, 56px, 0); }
}

@media (max-width: 991.98px) {
  .faq-side-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 575.98px) {
  #faq .faq-header-btn {
    min-height: 68px;
    padding: 18px !important;
  }

  #faq .faq-body-content {
    padding: 0 18px 22px !important;
  }
}

#faq .faq-container {
  max-width: 100%;
  margin-inline: auto;
}

/* Mobile navigation toggle repair */
@media (max-width: 991.98px) {
  .mara-header,
  .mara-header.mobile-nav-open {
    overflow: visible !important;
  }

  .mara-header.mobile-nav-open {
    z-index: 9998 !important;
  }

  .mara-header .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0 !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(130, 243, 211, 0.32) !important;
    color: #ffffff !important;
    cursor: pointer;
    pointer-events: auto !important;
    z-index: 10000 !important;
  }

  .mara-header .navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(36, 207, 176, 0.16) !important;
  }

  .mara-header .navbar-collapse {
    display: none !important;
    position: fixed !important;
    top: 96px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100dvh - 112px) !important;
    overflow-y: auto !important;
    padding: 16px !important;
    border-radius: 8px !important;
    background:
      linear-gradient(135deg, rgba(7, 24, 42, 0.99), rgba(15, 47, 79, 0.99)),
      #07182a !important;
    border: 1px solid rgba(130, 243, 211, 0.22) !important;
    box-shadow: 0 22px 58px rgba(2, 8, 18, 0.38) !important;
    z-index: 9999 !important;
  }

  .mara-header .navbar-collapse.show,
  .mara-header.mobile-nav-open .navbar-collapse {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .mara-header .navbar-nav {
    display: grid !important;
    gap: 8px;
    margin-bottom: 14px !important;
  }

  .mara-header .nav-link {
    display: block;
    border-radius: 8px;
    text-align: center;
  }

  .mara-header .d-flex.align-items-center.gap-3 {
    display: grid !important;
    gap: 10px !important;
    width: 100%;
  }

  .mara-header .lang-toggle-btn,
  .mara-header .btn-consultation {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin: 0 !important;
  }
}
