/* ===== FONTS ===== */
@font-face {
  font-family: 'HelveticaNeueLT Arabic 45 Light';
  src: local('HelveticaNeueLT Arabic 45 Light'),
       url('../fonts/HelveticaNeueLT Arabic 45 Light.ttf') format('truetype'),
       url('../fonts/HelveticaNeueLTArabic-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FF Shamel Family Sans One';
  src: local('FF Shamel Family Sans One'),
       local('FFShamelFamily-SansOneBook'),
       url('../fonts/ArbFONTS-FFShamelFamily-SansOneBook.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FF Shamel Family Sans One Bold';
  src: local('FF Shamel Family Sans One Bold'),
       local('FFShamelFamily-SansOneBold'),
       url('../fonts/ArbFONTS-FFShamelFamily-SansOneBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  background: var(--navy);
  color: #1a1a2e;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.ar {
  
  direction: rtl
}

body.en {
  
  direction: ltr
}

body.en [data-ar] {
  display: none !important
}

body.ar [data-en] {
  display: none !important
}

img {
  display: block;
  max-width: 100%
}

a {
  text-decoration: none;
  color: inherit
}

/* ===== COLORS ===== */
:root {
  --navy: #102542;
  --navy2: #0d1e38;
  --gold: #847ea6; /* Updated to brand gold */
  --gold2: #dfb530;
  --lavender: #b4b7de; /* Brand lavender */
  --teal: #0e6e6d; /* Updated to brand teal */
  --orange: #d17a22; /* Brand orange */
  --off: #f7f8fc;
  --mid: #5a607a;
  --light-gold: rgba(201, 162, 39, .15);
  --light-lavender: rgba(180, 183, 222, .12);
}

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(10, 20, 45, .88);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .2);
  transition: background .4s, box-shadow .4s;
}

#nav.scrolled {
  background: rgba(16, 37, 66, .97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: opacity .3s, transform .3s;
}

.nav-brand:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.nav-logo-img, .ft-logo-img {
  height: 42px;
  width: auto;
  user-select: none;
  pointer-events: none;
}

.amra-logo-img {
  height: 80px; /* Larger for section profile */
  width: auto;
}

.nav-logo-text {
  
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 3px;
}

.nav-divider {
  width: 1.5px;
  height: 30px;
  background: rgba(180, 183, 222, .6)
}

.nav-brand-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-brand-en {
  
  font-size: .54rem;
  font-weight: 500;
  color: rgba(180, 183, 222, .9);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-brand-ar {
  
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none
}

.nav-links li {
  display: flex;
  align-items: center
}

.nav-sep {
  width: 1px;
  height: 20px;
  background: rgba(180, 183, 222, .3);
  margin: 0 .6rem
}

.nav-links a {
  color: rgba(255, 255, 255, .75);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .5px;
  padding: .45rem .9rem;
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}

body.ar .nav-links a {
  
  font-size: .88rem;
  letter-spacing: 0;
  padding: .45rem .85rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: .9rem;
  left: .9rem;
  height: 2px;
  background: var(--lavender);
  transform: scaleX(0);
  transition: transform .25s;
  transform-origin: center;
}

.nav-links a:hover {
  color: #fff
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1)
}

.nav-links a.active {
  color: #fff
}

/* News tab â€” pill style */
.nav-links a.nav-news {
  color: var(--lavender);
  border: 1.5px solid rgba(180, 183, 222, .45);
  border-radius: 2px;
  padding: .38rem .9rem;
  margin-left: .3rem;
  transition: background .25s, color .25s, border-color .25s;
}

body.ar .nav-links a.nav-news {
  margin-left: 0;
  margin-right: .3rem
}

.nav-links a.nav-news:hover,
.nav-links a.nav-news.active {
  background: var(--lavender);
  color: var(--navy);
  border-color: var(--lavender);
}

.nav-links a.nav-news::after {
  display: none
}

/* Board tab â€” pill style */
.nav-links a.nav-board {
  color: var(--lavender);
  border: 1.5px solid rgba(180, 183, 222, .45);
  border-radius: 2px;
  padding: .38rem .9rem;
  margin-left: .3rem;
  transition: background .25s, color .25s, border-color .25s;
}

body.ar .nav-links a.nav-board {
  margin-left: 0;
  margin-right: .3rem;
}

.nav-links a.nav-board:hover,
.nav-links a.nav-board.active {
  background: var(--lavender);
  color: var(--navy);
  border-color: var(--lavender);
}

.nav-links a.nav-board::after {
  display: none
}

.lang-btn {
  background: transparent;
  border: 1.5px solid rgba(180, 183, 222, .7);
  color: var(--lavender);
  
  font-size: .78rem;
  font-weight: 700;
  padding: 7px 22px;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: .5px;
}

.lang-btn:hover {
  background: var(--lavender);
  color: var(--navy)
}

.mobile-menu-btn {
  display: none;
}

/* ===== HERO SLIDER ===== */
#hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: visible;
}

.hero-slides-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(.45) saturate(.7);
}

.slide.active {
  opacity: 1
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 20, 45, .65) 0%, rgba(10, 20, 45, .72) 40%, rgba(10, 20, 45, .92) 100%)
}

body.en .slide-overlay {
  background: linear-gradient(to bottom, transparent 40%, rgba(5, 12, 30, .75) 100%);
}

.slide-overlay2 {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 50%, rgba(10, 20, 45, 0.85) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(5, 12, 30, .6) 0%, transparent 25%),
    linear-gradient(to top, rgba(5, 12, 30, .5) 0%, transparent 35%);
  pointer-events: none;
}

body.en .slide-overlay2 {
  background:
    radial-gradient(circle at 15% 50%, rgba(10, 20, 45, 0.85) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(5, 12, 30, .6) 0%, transparent 25%),
    linear-gradient(to top, rgba(5, 12, 30, .5) 0%, transparent 35%);
}

.hero-content {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  right: 6%;
  z-index: 5;
  max-width: 720px;
  opacity: 0;
  animation: heroReveal 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.2s;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(-35%); }
  to { opacity: 1; transform: translateY(-50%); }
}

body.en .hero-content {
  right: auto;
  left: 6%
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(180, 183, 222, .18);
  border: 1px solid rgba(180, 183, 222, .45);
  color: var(--lavender);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  margin-bottom: 1.8rem;
}

body.ar .hero-eyebrow {
  
  letter-spacing: 0;
  font-size: .82rem;
}

.hero-h1 {
  
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

body.en .hero-h1 {
  
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.hero-h1 span {
  color: var(--lavender)
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .88);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 3rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

body.en .hero-sub {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lavender);
  color: var(--navy);
  padding: 15px 38px;
  
  font-size: .95rem;
  font-weight: 800;
  transition: all .28s;
  cursor: pointer;
  border: none;
}

body.en .btn-primary {
  
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: .88rem
}

.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(180, 183, 222, .5)
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .75);
  padding: 15px 38px;
  
  font-size: .95rem;
  font-weight: 600;
  transition: all .28s;
  cursor: pointer;
}

body.en .btn-outline {
  
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: .88rem
}

.btn-outline:hover {
  border-color: var(--lavender);
  color: var(--lavender)
}

/* Slider dots */
.slider-nav {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: .75rem;
  display: none !important
}

.sdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: all .3s;
  border: none;
  padding: 0;
}

.sdot.active {
  background: var(--lavender);
  width: 28px;
  border-radius: 4px
}

/* Slide counter */
.slide-counter {
  position: absolute;
  bottom: 8%;
  right: 6%;
  z-index: 6;
  
  font-weight: 700;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  display: none !important
}

body.ar .slide-counter {
  right: auto;
  left: 6%
}

.slide-counter span {
  color: #fff;
  font-size: 1.1rem
}

/* Stats bar */
.stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(16, 37, 66, .92);
  backdrop-filter: blur(14px);
  border-top: 2px solid rgba(180, 183, 222, .35);
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}

.stat {
  padding: 1.2rem 2rem;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .15);
  flex: 1;
  min-width: 140px;
  max-width: 220px;
}

body.ar .stat {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, .15)
}

.stat:first-child {
  border-right: none
}

body.ar .stat:first-child {
  border-left: none
}

.stat-n {
  
  font-weight: 900;
  font-size: 2rem;
  color: var(--lavender);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-l {
  font-size: .68rem;
  color: rgba(255, 255, 255, .85);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.ar .stat-l {
  
  letter-spacing: 0;
  font-size: .75rem
}

/* ===== SECTIONS ===== */
section {
  padding: 7rem 6%
}

.wrap {
  max-width: 1280px;
  margin: 0 auto
}

.tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: .9rem;
}

body.ar .tag {
  
  letter-spacing: 0;
  font-size: .85rem
}

h2.title {
  
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

body.en h2.title {
  
  line-height: 1.1
}

h2.title.light {
  color: #fff
}

.gold-line {
  width: 52px;
  height: 3px;
  background: var(--lavender);
  margin-bottom: 1.8rem;
}

p.body-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--mid);
  max-width: 660px;
}

body.en p.body-text {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

/* ===== REVEAL ===== */
.rv {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1)
}

.rv.show {
  opacity: 1;
  transform: none
}

.rv.delay1 {
  transition-delay: .1s
}

.rv.delay2 {
  transition-delay: .2s
}

.rv.delay3 {
  transition-delay: .3s
}

.rv.delay4 {
  transition-delay: .4s
}

/* ===== AMRA HERO ===== */
#amra {
  padding: 0;
  position: relative
}

.amra-fullscreen {
  height: 90vh;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amra-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}

.amra-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 20, 45, .95) 15%, rgba(16, 37, 66, .7) 100%);
}

.amra-content {
  position: relative;
  z-index: 2;
  padding: 0 6%;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.amra-logo-box {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0;
  background: transparent;
  border: none;
}

.amra-logo-img {
  display: block;
  margin: 0 auto;
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.amra-h2 {
  
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

body.en .amra-h2 {
  
  line-height: 1.05
}

.amra-h2 span {
  color: var(--lavender)
}

.amra-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 3rem;
}

body.en .amra-desc {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.amra-facts {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.af {
  text-align: center
}

.af-n {
  
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--lavender);
  line-height: 1;
}

.af-l {
  font-size: .7rem;
  color: rgba(255, 255, 255, .5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

body.ar .af-l {
  
  letter-spacing: 0;
  font-size: .78rem
}

/* ===== STATS COUNTER ===== */
#stats {
  background: var(--navy);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.stats-full {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  background: var(--navy);
}

.stats-full-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .06;
  filter: blur(3px);
}

.stats-full-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 20, 45, .98) 0%, rgba(16, 37, 66, .96) 60%, rgba(10, 30, 55, .98) 100%);
}

.stats-full-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4rem 6%;
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.sc {
  text-align: center;
  flex: 1;
  min-width: 180px;
  padding: 1.8rem 2rem;
  position: relative;
}

.sc-n {
  
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  color: var(--lavender);
  line-height: 1;
  display: block;
  letter-spacing: -1px;
}

.sc-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .5px;
  margin-top: .7rem;
  display: block;
  
  line-height: 1.5;
}

body.ar .sc-label {
  
  letter-spacing: 0;
  font-size: .88rem
}

.sc-divider {
  width: 1px;
  height: 60px;
  background: rgba(180, 183, 222, .2);
  flex-shrink: 0;
}

/* ===== PROJECTS ===== */
#projects {
  background: var(--navy);
  padding: 5rem 0 0
}

.proj-header {
  padding: 0 6%;
  margin-bottom: 3.5rem
}

.proj-header .title {
  color: #fff
}

.proj-header .body-text {
  color: rgba(255, 255, 255, .6)
}

/* Showcase wrapper */
.proj-showcase {
  position: relative;
  width: 100%
}

/* Tab nav */
.proj-tabs {
  display: flex;
  padding: 0 6%;
  gap: .5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.ptab {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(180, 183, 222, .12);
  padding: .7rem 1.4rem;
  cursor: pointer;
  transition: all .25s;
  flex: 1;
  min-width: 160px;
  text-align: right;
}

body.en .ptab {
  text-align: left
}

.ptab:hover {
  background: rgba(180, 183, 222, .1);
  border-color: rgba(180, 183, 222, .3)
}

.ptab.active {
  border-color: var(--lavender);
  background: rgba(180, 183, 222, .08)
}

.ptab-num {
  
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--lavender);
  line-height: 1;
  flex-shrink: 0;
}

.ptab.active .ptab-num {
  color: var(--lavender)
}

.ptab-label {
  font-size: .75rem;
  color: rgba(255, 255, 255, .5);
  
  line-height: 1.3;
}

body.en .ptab-label {
  
  font-size: .72rem
}

.ptab.active .ptab-label {
  color: rgba(255, 255, 255, .9)
}

.ptab-bar {
  height: 2px;
  background: var(--lavender);
  width: 0;
  transition: width .4s ease;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

.ptab.active .ptab-bar {
  width: 100%
}

/* Stage */
.proj-stage {
  position: relative;
  overflow: hidden;
}

@keyframes proj-fadein {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.proj-panel {
  display: none;
  width: 100%;
}

.proj-panel.active {
  display: flex;
  animation: proj-fadein .4s ease forwards;
}

/* Image side */
.proj-panel-img {
  flex: 0 0 58%;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

body.ar .proj-panel-img {
  order: 2
}

body.en .proj-panel-img {
  order: 1
}

.proj-panel-img img,
.proj-panel-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}

.proj-panel:hover .proj-panel-img img {
  transform: scale(1.04)
}

.proj-panel-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-panel-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(10, 20, 45, .7) 0%, transparent 40%);
}

body.en .proj-panel-img::after {
  background: linear-gradient(to right, rgba(10, 20, 45, .7) 0%, transparent 40%);
}

/* Info side */
.proj-panel-info {
  background: var(--navy);
  flex: 1;
  padding: 4rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

body.ar .proj-panel-info {
  order: 1;
  border-right: 3px solid var(--accent-color, var(--lavender))
}

body.en .proj-panel-info {
  order: 2;
  border-left: 3px solid var(--accent-color, var(--lavender))
}

.proj-panel-num {
  
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, .06);
  position: absolute;
  top: 2rem;
}

body.ar .proj-panel-num {
  right: 3rem
}

body.en .proj-panel-num {
  left: 3rem
}

.proj-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.2rem;
}

.proj-panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color, var(--lavender));
  flex-shrink: 0;
}

.proj-panel-tag-text {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}

.proj-panel-title {
  
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

body.en .proj-panel-title {
  
  font-size: 1.1rem
}

.proj-panel-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.proj-panel-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.proj-stat-val {
  
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1;
}

.proj-stat-lbl {
  font-size: .68rem;
  color: #fff;
  
  letter-spacing: .3px;
}

body.en .proj-stat-lbl {
  
  letter-spacing: .8px;
  text-transform: uppercase
}

.proj-panel-desc {
  font-size: .9rem;
  color: #fff;
  line-height: 1.9;
  
}

body.en .proj-panel-desc {
  
  font-size: .87rem
}

/* Responsive */
@media(max-width:860px) {
  .proj-stage {
    flex-direction: column;
    min-height: auto
  }

  .proj-panel.active {
    flex-direction: column
  }

  .proj-panel-img {
    flex: 0 0 260px;
    order: 1 !important
  }

  .proj-panel-info {
    flex: none;
    order: 2 !important;
    border: none !important;
    border-top: 3px solid var(--accent-color, var(--lavender)) !important;
    padding: 2rem 6%
  }

  .ptab {
    min-width: calc(50% - .5rem)
  }

  .proj-panel-num {
    display: none
  }
}

@media(max-width:560px) {
  .ptab {
    min-width: 100%
  }
}


/* ===== WHY ===== */
#why {
  background: var(--navy)
}

/* Why section */
#why {
  background: var(--navy);
  padding: 6rem 0
}

#why .title {
  color: #fff
}

#why .tag {
  color: var(--lavender);
  border-color: rgba(180, 183, 222, .25)
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.wcard {
  position: relative;
  overflow: hidden;
  padding: 3rem 2.5rem 2.5rem;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(180, 183, 222, .15);
  border-radius: 12px;
  transition: transform .35s, box-shadow .35s, background .35s, border-color .35s;
  cursor: default;
}

.wcard::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--w-accent, var(--lavender));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}

body.en .wcard::before {
  transform-origin: left
}

.wcard:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(180, 183, 222, .3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255,255,255,.05);
}

.wcard:hover::before {
  transform: scaleX(1)
}

/* Big faded number behind */
.wcard-bg-num {
  position: absolute;
  top: -.5rem;
  
  font-weight: 900;
  font-size: 8rem;
  line-height: 1;
  color: rgba(255, 255, 255, .04);
  pointer-events: none;
  user-select: none;
}

body.ar .wcard-bg-num {
  right: 1rem
}

body.en .wcard-bg-num {
  left: 1rem
}

.wcard:hover .wcard-bg-num {
  color: rgba(255, 255, 255, .07)
}

/* Law Download Button Styling - Standout version */
.law-download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 20px rgba(16, 37, 66, 0.15);
  border: 1px solid transparent;
}

.law-download-btn .icon {
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.4s;
}

.law-download-btn .text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

body.ar .law-download-btn .text {
  
  font-size: 1.15rem;
}

.law-download-btn:hover {
  transform: translateY(-5px);
  background: var(--navy2);
  box-shadow: 0 15px 35px rgba(16, 37, 66, 0.25);
  border-color: var(--lavender);
}

.law-download-btn:hover .icon {
  transform: scale(1.15) rotate(5deg);
  background: var(--lavender);
}

.law-download-btn:hover .text {
  color: var(--lavender);
}

/* Icon circle */
.wicon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(180, 183, 222, .2);
  border-radius: 50%;
  margin-bottom: 1.8rem;
  transition: background .3s, border-color .3s;
  position: relative;
  z-index: 1;
}

.wcard:hover .wicon {
  background: var(--w-accent, var(--lavender));
  border-color: var(--w-accent, var(--lavender));
}

.wicon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--lavender);
  stroke-width: 1.8;
  transition: stroke .3s
}

.wcard:hover .wicon svg {
  stroke: #fff
}

/* Label chip */
.wcard-chip {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  
  color: var(--w-accent, var(--lavender));
  border: 1px solid rgba(180, 183, 222, .15);
  padding: .25rem .7rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.wtitle {
  
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: .9rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

body.en .wtitle {
  
  font-weight: 700;
  font-size: 1rem
}

.wdesc {
  font-size: .88rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

body.en .wdesc {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}


/* ===== MAP ===== */
#map-sec {
  background: var(--navy)
}

#map-sec .title {
  color: #fff
}

#map-sec p.body-text {
  color: rgba(255, 255, 255, .65)
}

.map-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}

.map-img {
  width: 100%;
  border: 2px solid rgba(180, 183, 222, .3);
  transition: border-color .3s;
}

.map-img:hover {
  border-color: var(--lavender)
}

.map-pts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

.mpt {
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-left: 3px solid var(--lavender);
  border-radius: 8px;
  transition: background .25s, border-color .25s, box-shadow .25s;
}

.mpt:hover {
  background: rgba(180, 183, 222, .12);
  border-color: rgba(180, 183, 222, .2);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.mpt-icon {
  display: none
}

.mpt-title {
  
  font-weight: 700;
  font-size: .92rem;
  color: #fff;
  margin-bottom: .3rem;
}

body.en .mpt-title {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.mpt-desc {
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.65
}

body.en .mpt-desc {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

/* ===== GOALS ===== */
#goals {
  padding: 0
}

.goals-full {
  background: var(--navy);
  overflow: hidden;
}

.goals-over {
  display: none
}

.goals-content {
  padding: 6rem 6%;
  max-width: 1280px;
  margin: 0 auto;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.goal {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(180, 183, 222, .1);
  padding: 2rem 2.2rem;
  display: flex;
  gap: 1.2rem;
  transition: background .3s, border-color .3s, transform .3s;
}

.goal:hover {
  background: rgba(180, 183, 222, .08);
  border-color: rgba(180, 183, 222, .28);
  transform: translateY(-4px);
}

.gdot {
  width: 8px;
  height: 8px;
  background: var(--lavender);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.gtext {
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.8
}

body.en .gtext {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

/* ===== TIMELINE ===== */
#phases {
  background: var(--navy)
}

.tl-wrap {
  margin-top: 4rem;
  position: relative
}

.tl-track {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(16, 37, 66, .1);
}

.tl-prog {
  height: 100%;
  width: 25%;
  background: var(--lavender);
  transition: width 1s ease
}

.tl-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 58px;
}

.tl-item {
  padding: 40px 30px;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 0 10px;
  transform-style: preserve-3d;
}

.tl-item:hover {
  border-color: var(--lavender);
}

.tl-dot {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(16, 37, 66, .15);
  background: var(--navy);
  transition: all .3s;
}

.tl-item.on .tl-dot {
  background: var(--lavender);
  border-color: var(--lavender);
  box-shadow: 0 0 0 5px rgba(180, 183, 222, .2)
}

.tl-yr {
  
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .3rem;
}

.tl-item.on .tl-yr {
  color: var(--lavender)
}

.tl-ph {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: .4rem;
}

body.ar .tl-ph {
  
  letter-spacing: 0
}

.tl-label {
  
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: .5rem;
}

body.en .tl-label {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.tl-desc {
  font-size: .82rem;
  color: var(--mid);
  line-height: 1.65
}

body.en .tl-desc {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy2);
  border-top: 2px solid var(--lavender);
  padding: 5.5rem 6% 2.5rem;
  position: relative;
  overflow: hidden;
}

.footer-deco {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 183, 222, .06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ft-logo {
  
  font-weight: 900;
  font-size: 2rem;
  color: #fff;
  letter-spacing: 3px;
  display: block;
  margin-bottom: .4rem;
}

.ft-name-en {
  font-size: .58rem;
  font-weight: 500;
  color: var(--lavender, .7);
  letter-spacing: 2px;
  text-transform: uppercase
}

.ft-name-ar {
  
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 1.5rem
}

.ft-promise {
  
  font-weight: 600;
  font-size: .88rem;
  color: var(--lavender);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  border-right: 3px solid rgba(180, 183, 222, .3);
  padding-right: 1rem;
}

body.en .ft-promise {
  
  border-right: none;
  border-left: 3px solid rgba(180, 183, 222, .3);
  padding-right: 0;
  padding-left: 1rem
}

.socials {
  display: flex;
  gap: .6rem
}

.soc {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  font-size: .8rem;
  font-weight: 700;
  transition: all .2s;
  
}

.soc:hover {
  border-color: var(--lavender);
  color: var(--lavender)
}

.ft-col-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 1.5rem;
}

body.ar .ft-col-title {
  
  letter-spacing: 0;
  font-size: .82rem
}

.ft-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem
}

.ft-links a {
  color: rgba(255, 255, 255, .5);
  font-size: .87rem;
  transition: color .2s;
}

body.ar .ft-links a {
  font-family: 'FF Shamel Family Sans One Bold', 'FF Shamel Family Sans One', 'Cairo', sans-serif
}

.ft-links a:hover {
  color: var(--lavender)
}

.ft-info {
  display: flex;
  flex-direction: column;
  gap: .85rem
}

.fti {
  display: flex;
  gap: .8rem;
  align-items: flex-start
}

.fti-icon {
  color: var(--lavender);
  flex-shrink: 0;
  margin-top: 2px
}

.fti-text {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.6
}

body.ar .fti-text {
  font-family: 'FF Shamel Family Sans One Bold', 'FF Shamel Family Sans One', 'Cairo', sans-serif
}

.ft-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.ft-copy {
  font-size: .75rem;
  color: rgba(255, 255, 255, .25)
}

body.ar .ft-copy {
  font-family: 'FF Shamel Family Sans One Bold', 'FF Shamel Family Sans One', 'Cairo', sans-serif
}

.ft-vision {
  font-size: .72rem;
  color: rgba(255, 255, 255, .25)
}

body.ar .ft-vision {
  font-family: 'FF Shamel Family Sans One Bold', 'FF Shamel Family Sans One', 'Cairo', sans-serif
}

/* ===== RESPONSIVE ===== */
@media(max-width:1100px) {
  section {
    padding: 5.5rem 5%
  }

  .about-grid,
  .invest-layout,
  .map-layout {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .proj-grid,
  .pillars-row {
    grid-template-columns: 1fr 1fr
  }

  .goals-grid {
    grid-template-columns: 1fr 1fr
  }

  .why-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .tl-row {
    grid-template-columns: 1fr 1fr;
    padding-top: 0
  }

  .tl-track,
  .tl-dot {
    display: none
  }

  .amra-fullscreen {
    height: 70vh
  }

  .stats-row .sc-divider {
    display: none
  }

  .stats-full {
    min-height: auto
  }
}

@media(max-width:680px) {
  #nav {
    padding: 0 4%
  }

  .nav-links {
    display: none
  }

  .mobile-menu-btn {
    display: block;
  }

  section {
    padding: 4.5rem 4%
  }

  .proj-grid,
  .pillars-row,
  .why-grid,
  .goals-grid,
  .tl-row,
  .map-layout {
    grid-template-columns: 1fr
  }

  .invest-cards-grid {
    grid-template-columns: 1fr 1fr
  }

  .amra-facts {
    gap: 1.5rem
  }

  .stats-bar,
  .stats-row {
    flex-wrap: wrap
  }

  .stat {
    padding: 1rem 1.8rem
  }

  .hero-h1 {
    font-size: clamp(2rem, 8vw, 2.8rem)
  }

  .amra-h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem)
  }
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.ft-logo-img {
  height: 70px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

/* ===== BOARD ===== */
#board {
  background: #f0f2f8;
  padding: 6rem 0
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media(max-width:960px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:560px) {
  .board-grid {
    grid-template-columns: 1fr
  }
}

/* Card */
.bcard {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(16, 37, 66, .07);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(16, 37, 66, .14);
}

/* Photo area */
.bcard-photo {
  width: 100%;
  height: 200px;
  background: linear-gradient(160deg, var(--navy) 0%, #1e3a5f 60%, #203a6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bcard-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(180, 183, 222, .15) 0%, transparent 70%);
}

.bcard-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 2px solid rgba(180, 183, 222, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.bcard-photo-placeholder svg {
  width: 46px;
  height: 46px;
  stroke: rgba(180, 183, 222, .6);
  fill: none;
  stroke-width: 1.4;
}

.bcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Accent bar */
.bcard-accent {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin: 0 auto;
  background: var(--lavender);
  flex-shrink: 0;
}

/* Body */
.bcard-body {
  padding: 1.4rem 1.6rem 1.8rem;
  flex: 1;
  width: 100%
}

.bcard-role {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: .55rem;
  
}

body.ar .bcard-role {
  
  letter-spacing: 0;
  font-size: .78rem
}

.bcard-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold2);
  line-height: 1.4;
  margin-bottom: 1rem;
}

body.en .bcard-name {
  
  font-weight: 700;
  font-size: .93rem
}

.bcard-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-size: .72rem;
  color: rgba(255, 255, 255, .6);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.2rem;
  margin-top: auto;
  flex-wrap: wrap;
}

body.en .bcard-meta {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.bcard-date {
  
  font-size: .68rem;
  color: rgba(90, 96, 122, .5);
}

.board-foot {
  text-align: center;
  font-size: .85rem;
  color: var(--mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8
}

body.en .board-foot {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

/* Board view toggle */
body:not(.board-view) #board {
  display: none !important
}

body.board-view section:not(#board),
body.board-view footer#contact {
  display: none !important
}

body.board-view #board {
  display: block !important;
  padding-top: 7rem
}

/* ===== NEWS ===== */
body:not(.news-view) #news-page {
  display: none !important
}

body.news-view section:not(#news-page),
body.news-view footer#contact {
  display: none !important
}

body.news-view #news-page {
  display: block !important;
  padding-top: 7rem;
  min-height: 100vh
}

/* ===== ABOUT PAGE ===== */
body:not(.about-view) #about-page {
  display: none !important
}

body.about-view section:not(#about-page),
body.about-view footer#contact {
  display: none !important
}

body.about-view #about-page {
  display: block !important;
  padding-top: 7rem;
  min-height: 100vh;
  background: var(--off)
}

/* Force all .rv visible inside board/news/about when active */
body.board-view #board .rv,
body.news-view #news-page .rv,
body.about-view #about-page .rv {
  opacity: 1 !important;
  transform: none !important;
}

/* Hide ALL hero elements (slides div is outside section) */
body.board-view #hero,
body.news-view #hero,
body.about-view #hero,
body.board-view .slides,
body.news-view .slides,
body.about-view .slides,
body.board-view .slide,
body.news-view .slide,
body.about-view .slide,
body.board-view .slide-overlay,
body.news-view .slide-overlay,
body.about-view .slide-overlay,
body.board-view .slide-overlay2,
body.news-view .slide-overlay2,
body.about-view .slide-overlay2,
body.board-view #top,
body.news-view #top,
body.about-view #top {
  display: none !important;
  visibility: hidden !important;
}

/* Force dark nav when SPA view is active */
body.board-view #nav,
body.news-view #nav,
body.about-view #nav {
  background: rgba(16, 37, 66, .97) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}

#news-page {
  background: var(--off)
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media(max-width:960px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:580px) {
  .news-grid {
    grid-template-columns: 1fr
  }
}

.ncard {
  background: transparent;
  border-radius: 20px;
  transition: transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow .4s ease;
  cursor: pointer;
}

.ncard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 37, 66, .15);
}

/* Legacy ncard styles handled by JS inline styles, removed conflicting classes */

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ncard:hover .preview-img {
  transform: scale(1.05);
}

.ncard-body {
  padding: 1.5rem 1.8rem
}

.ncard-date {
  
  font-size: .72rem;
  color: var(--lavender);
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.ncard-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: .8rem;
}

body.en .ncard-title {
  
  font-size: .95rem
}

.ncard-excerpt {
  font-size: .85rem;
  color: var(--mid);
  line-height: 1.7;
  
}

body.en .ncard-excerpt {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.news-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--mid);
  font-size: 1rem;
}

.news-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  opacity: .3
}

/* ===== TEAM SECTION ===== */
.team-section {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(16, 37, 66, .1)
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto
}

@media(max-width:560px) {
  .team-grid {
    grid-template-columns: 1fr
  }
}

.tcard {
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  transition: transform .3s, box-shadow .3s
}

.tcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(16, 37, 66, .1)
}

.tcard-accent {
  width: 4px;
  flex-shrink: 0;
  background: var(--navy)
}

.tcard-body {
  padding: 1.6rem 1.8rem
}

.tcard-role {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: .5rem;
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

body.ar .tcard-role {
  
  letter-spacing: 0;
  font-size: .78rem
}

.tcard-name {
  
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.4
}

body.en .tcard-name {
  
  font-weight: 700
}

/* CEO Card â€” featured */
.tcard-ceo {
  background: var(--navy);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 1.6rem;
  transition: transform .3s, box-shadow .3s;
  position: relative;
}

.tcard-ceo:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(16, 37, 66, .3)
}

.tcard-ceo-accent {
  width: 5px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, var(--lavender), #d4c27a);
}

.tcard-ceo-body {
  padding: 2rem 2.2rem;
  flex: 1
}

.tcard-ceo-badge {
  display: inline-block;
  
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--lavender);
  padding: .25rem .75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

body.ar .tcard-ceo-badge {
  
  letter-spacing: .5px;
  font-size: .72rem
}

.tcard-ceo-role {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(180, 183, 222, .8);
  margin-bottom: .5rem;
  
}

body.ar .tcard-ceo-role {
  
  letter-spacing: 0;
  font-size: .82rem
}

.tcard-ceo-name {
  
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.4;
}

body.en .tcard-ceo-name {
  
  font-weight: 800
}

.tcard-ceo-note {
  margin-top: .9rem;
  font-size: .72rem;
  color: rgba(180, 183, 222, .5);
  
  line-height: 1.6;
}

body.en .tcard-ceo-note {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}



/* ===== TEAM SECTION ===== */
.team-section {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(16, 37, 66, .1)
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto
}

@media(max-width:560px) {
  .team-grid {
    grid-template-columns: 1fr
  }
}

/* Team card */
.tcard {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(16, 37, 66, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
}

.tcard:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(16, 37, 66, .13)
}

.tcard-photo {
  width: 100%;
  height: 160px;
  background: linear-gradient(160deg, #1a3058 0%, #243d6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.tcard-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(180, 183, 222, .12) 0%, transparent 70%);
}

.tcard-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 2px solid rgba(180, 183, 222, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.tcard-photo-placeholder svg {
  width: 36px;
  height: 36px;
  stroke: rgba(180, 183, 222, .6);
  fill: none;
  stroke-width: 1.5
}

.tcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.tcard-accent-bar {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  margin: .9rem auto 0;
  flex-shrink: 0
}

.tcard-body {
  padding: 1rem 1.5rem 1.6rem;
  width: 100%
}

.tcard-role {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: .45rem;
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

body.ar .tcard-role {
  
  letter-spacing: 0;
  font-size: .78rem
}

.tcard-name {
  
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.4
}

body.en .tcard-name {
  
  font-weight: 700
}

/* CEO card */
.tcard-ceo {
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(16, 37, 66, .2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.8rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
}

.tcard-ceo:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(16, 37, 66, .3)
}

.tcard-ceo-photo {
  width: 100%;
  height: 180px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(180, 183, 222, .1);
  position: relative;
  overflow: hidden;
}

.tcard-ceo-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(180, 183, 222, .1) 0%, transparent 65%);
}

.tcard-ceo-photo-placeholder {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 2px solid rgba(180, 183, 222, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.tcard-ceo-photo-placeholder svg {
  width: 44px;
  height: 44px;
  stroke: rgba(180, 183, 222, .5);
  fill: none;
  stroke-width: 1.4
}

.tcard-ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.tcard-ceo-badge {
  display: inline-block;
  margin-top: 1.2rem;
  
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--lavender);
  padding: .25rem .85rem;
  border-radius: 3px;
}

body.ar .tcard-ceo-badge {
  
  letter-spacing: .5px;
  font-size: .72rem
}

.tcard-ceo-body {
  padding: .8rem 2rem 1.8rem;
  width: 100%
}

.tcard-ceo-role {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(180, 183, 222, .7);
  margin-bottom: .4rem;
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

body.ar .tcard-ceo-role {
  
  letter-spacing: 0;
  font-size: .8rem
}

.tcard-ceo-name {
  
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.4
}

body.en .tcard-ceo-name {
  
  font-weight: 800
}

.tcard-ceo-note {
  margin-top: .8rem;
  font-size: .7rem;
  color: rgba(180, 183, 222, .45);
  
  line-height: 1.6
}

body.en .tcard-ceo-note {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

/* Leaflet custom styles */
.amra-popup .leaflet-popup-content-wrapper {
  background: var(--navy);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(16, 37, 66, .18);
  border: 1px solid rgba(16, 37, 66, .08);
  padding: 0;
}

.amra-popup .leaflet-popup-content {
  margin: 14px 16px;
}

.amra-popup .leaflet-popup-tip {
  background: var(--navy)
}

.map-tooltip {
  background: rgba(10, 20, 45, .9) !important;
  border: 1px solid rgba(180, 183, 222, .3) !important;
  color: #fff !important;
  border-radius: 6px !important;
  
  font-size: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3) !important;
}

.map-tooltip::before {
  border-top-color: rgba(10, 20, 45, .9) !important
}

/* ===== 3D CITY ===== */
#city3d {
  background: #050d1a;
  padding: 0;
  position: relative;
}

.city3d-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  padding: 2.5rem 6% 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 13, 26, .9) 0%, transparent 100%);
}

.city3d-header .title {
  color: #fff
}

.city3d-canvas-wrap {
  width: 100%;
  height: 680px;
  position: relative;
  cursor: grab;
}

.city3d-canvas-wrap:active {
  cursor: grabbing
}

.city3d-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Info panel */
.city3d-panel {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-50%) translateX(20px);
  width: 300px;
  background: rgba(5, 13, 26, .92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(180, 183, 222, .2);
  border-radius: 14px;
  padding: 1.8rem;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s, transform .4s;
}

body.ar .city3d-panel {
  right: auto;
  left: 2.5rem;
  transform: translateY(-50%) translateX(-20px);
}

.city3d-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(-50%) translateX(0);
}

.c3p-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: .5rem;
  
}

.c3p-title {
  
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.35;
  margin-bottom: .8rem;
}

body.en .c3p-title {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.c3p-desc {
  font-size: .8rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
  
  margin-bottom: 1rem;
}

body.en .c3p-desc {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.c3p-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem
}

.c3p-chip {
  font-size: .65rem;
  font-weight: 600;
  padding: .22rem .65rem;
  border-radius: 20px;
  background: rgba(180, 183, 222, .1);
  color: var(--lavender);
  border: 1px solid rgba(180, 183, 222, .2);
  
}

.c3p-close {
  position: absolute;
  top: .8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, .4);
  font-size: .9rem;
  transition: color .2s;
}

body.ar .c3p-close {
  left: .9rem
}

body.en .c3p-close {
  right: .9rem
}

.c3p-close:hover {
  color: #fff
}

/* Controls hint */
.city3d-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.2rem;
  z-index: 10;
  pointer-events: none;
}

.c3h-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  color: rgba(255, 255, 255, .35);
  
  background: rgba(0, 0, 0, .3);
  padding: .3rem .7rem;
  border-radius: 20px;
}

.c3h-item svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, .35);
  fill: none;
  stroke-width: 1.8
}

/* Fly-in button */
.city3d-flyBtn {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  background: var(--lavender);
  color: var(--navy);
  border: none;
  border-radius: 30px;
  padding: .6rem 1.8rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  
  transition: background .25s, transform .25s;
  display: flex;
  align-items: center;
  gap: .5rem;
}

body.ar .city3d-flyBtn {
  
  letter-spacing: 0
}

.city3d-flyBtn:hover {
  background: var(--navy);
  transform: translateX(-50%) scale(1.04)
}

@media(max-width:768px) {
  .city3d-canvas-wrap {
    height: 440px
  }

  .city3d-panel {
    width: 260px;
    right: 1rem
  }

  body.ar .city3d-panel {
    left: 1rem
  }
}

/* Google Map container */
#googleMap3d {
  width: 100%;
  height: 680px;
  border-radius: 0 0 12px 12px;
}

@media(max-width:768px) {
  #googleMap3d {
    height: 440px
  }
}

/* API notice overlay */
.c3-apinotice {
  display: none !important
}

.c3-apinotice.hidden {
  display: none
}

.c3-apinotice-box {
  text-align: center;
  padding: 2.5rem;
  max-width: 420px;
}

.c3-apinotice-box h3 {
  
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .8rem;
}

body.en .c3-apinotice-box h3 {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.c3-apinotice-box p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  
}

body.en .c3-apinotice-box p {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.c3-apinotice-box code {
  background: rgba(180, 183, 222, .15);
  color: var(--lavender);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: .85rem;
}

.c3-apilink {
  display: inline-block;
  margin-top: .5rem;
  background: var(--lavender);
  color: var(--navy);
  padding: .55rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .8rem;
  text-decoration: none;
  transition: background .2s;
}

.c3-apilink:hover {
  background: var(--navy)
}

/* Custom Google Maps info window */
.gmap-iw {
  
  direction: rtl;
  min-width: 220px;
  max-width: 260px;
}

body.en .gmap-iw {
  direction: ltr;
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.gmap-iw-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8b8fc4;
  margin-bottom: .35rem;
  
}

.gmap-iw-title {
  font-size: 1rem;
  font-weight: 800;
  color: #102542;
  margin-bottom: .5rem;
  line-height: 1.35;
}

.gmap-iw-desc {
  font-size: .78rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: .7rem;
}

.gmap-iw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem
}

.gmap-iw-chip {
  font-size: .62rem;
  font-weight: 600;
  padding: .18rem .55rem;
  border-radius: 20px;
  background: #eef0f8;
  color: #102542;
  
}
/* ===== BRAND IDENTITY ENHANCEMENTS ===== */
.brand-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: 
    linear-gradient(45deg, var(--navy) 25%, transparent 25%),
    linear-gradient(-45deg, var(--navy) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--navy) 75%),
    linear-gradient(-45deg, transparent 75%, var(--navy) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  pointer-events: none;
  z-index: 1;
}

.brand-pattern.light {
  background-image: 
    linear-gradient(45deg, #ffffff 25%, transparent 25%),
    linear-gradient(-45deg, #ffffff 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ffffff 75%),
    linear-gradient(-45deg, transparent 75%, #ffffff 75%);
  opacity: 0.06;
}

.btn-primary {
  background: var(--lavender) !important;
  color: #fff !important; 
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3) !important;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  
  transition: background .25s, transform .25s;
  display: flex;
  align-items: center;
  gap: .5rem;
}

body.ar .city3d-flyBtn {
  
  letter-spacing: 0
}

.city3d-flyBtn:hover {
  background: var(--navy);
  transform: translateX(-50%) scale(1.04)
}

@media(max-width:768px) {
  .city3d-canvas-wrap {
    height: 440px
  }

  .city3d-panel {
    width: 260px;
    right: 1rem
  }

  body.ar .city3d-panel {
    left: 1rem
  }
}

/* Google Map container */
#googleMap3d {
  width: 100%;
  height: 680px;
  border-radius: 0 0 12px 12px;
}

@media(max-width:768px) {
  #googleMap3d {
    height: 440px
  }
}

/* API notice overlay */
.c3-apinotice {
  display: none !important
}

.c3-apinotice.hidden {
  display: none
}

.c3-apinotice-box {
  text-align: center;
  padding: 2.5rem;
  max-width: 420px;
}

.c3-apinotice-box h3 {
  
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .8rem;
}

body.en .c3-apinotice-box h3 {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.c3-apinotice-box p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  
}

body.en .c3-apinotice-box p {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.c3-apinotice-box code {
  background: rgba(180, 183, 222, .15);
  color: var(--lavender);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: .85rem;
}

.c3-apilink {
  display: inline-block;
  margin-top: .5rem;
  background: var(--lavender);
  color: var(--navy);
  padding: .55rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .8rem;
  text-decoration: none;
  transition: background .2s;
}

.c3-apilink:hover {
  background: var(--navy)
}

/* Custom Google Maps info window */
.gmap-iw {
  
  direction: rtl;
  min-width: 220px;
  max-width: 260px;
}

body.en .gmap-iw {
  direction: ltr;
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.gmap-iw-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8b8fc4;
  margin-bottom: .35rem;
  
}

.gmap-iw-title {
  font-size: 1rem;
  font-weight: 800;
  color: #102542;
  margin-bottom: .5rem;
  line-height: 1.35;
}

.gmap-iw-desc {
  font-size: .78rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: .7rem;
}

.gmap-iw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem
}

.gmap-iw-chip {
  font-size: .62rem;
  font-weight: 600;
  padding: .18rem .55rem;
  border-radius: 20px;
  background: #eef0f8;
  color: #102542;
  
}
/* ===== BRAND IDENTITY ENHANCEMENTS ===== */
.brand-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: 
    linear-gradient(45deg, var(--navy) 25%, transparent 25%),
    linear-gradient(-45deg, var(--navy) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--navy) 75%),
    linear-gradient(-45deg, transparent 75%, var(--navy) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  pointer-events: none;
  z-index: 1;
}

.brand-pattern.light {
  background-image: 
    linear-gradient(45deg, #ffffff 25%, transparent 25%),
    linear-gradient(-45deg, #ffffff 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ffffff 75%),
    linear-gradient(-45deg, transparent 75%, #ffffff 75%);
  opacity: 0.06;
}

.btn-primary {
  background: var(--lavender) !important;
  color: #fff !important; 
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3) !important;
}
.btn-primary:hover {
  background: var(--gold2) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(201, 162, 39, 0.4) !important;
}
.glass-dark {
  background: rgba(16, 37, 66, 0.35) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}
.glass-light {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 8px 32px rgba(16, 37, 66, 0.05) !important;
}

.city3d-flyBtn {
  align-items: center;
  gap: .5rem;
}

body.ar .city3d-flyBtn {
  
  letter-spacing: 0
}

.city3d-flyBtn:hover {
  background: var(--navy);
  transform: translateX(-50%) scale(1.04)
}

@media(max-width:768px) {
  .city3d-canvas-wrap {
    height: 440px
  }

  .city3d-panel {
    width: 260px;
    right: 1rem
  }

  body.ar .city3d-panel {
    left: 1rem
  }
}

/* Google Map container */
#googleMap3d {
  width: 100%;
  height: 680px;
  border-radius: 0 0 12px 12px;
}

@media(max-width:768px) {
  #googleMap3d {
    height: 440px
  }
}

/* API notice overlay */
.c3-apinotice {
  display: none !important
}

.c3-apinotice.hidden {
  display: none
}

.c3-apinotice-box {
  text-align: center;
  padding: 2.5rem;
  max-width: 420px;
}

.c3-apinotice-box h3 {
  
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .8rem;
}

body.en .c3-apinotice-box h3 {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.c3-apinotice-box p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  
}

body.en .c3-apinotice-box p {
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.c3-apinotice-box code {
  background: rgba(180, 183, 222, .15);
  color: var(--lavender);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: .85rem;
}

.c3-apilink {
  display: inline-block;
  margin-top: .5rem;
  background: var(--lavender);
  color: var(--navy);
  padding: .55rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .8rem;
  text-decoration: none;
  transition: background .2s;
}

.c3-apilink:hover {
  background: var(--navy)
}

/* Custom Google Maps info window */
.gmap-iw {
  
  direction: rtl;
  min-width: 220px;
  max-width: 260px;
}

body.en .gmap-iw {
  direction: ltr;
  font-family: 'HelveticaNeueLT Arabic 45 Light', 'Helvetica Neue', 'Barlow', sans-serif
}

.gmap-iw-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8b8fc4;
  margin-bottom: .35rem;
  
}

.gmap-iw-title {
  font-size: 1rem;
  font-weight: 800;
  color: #102542;
  margin-bottom: .5rem;
  line-height: 1.35;
}

.gmap-iw-desc {
  font-size: .78rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: .7rem;
}

.gmap-iw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem
}

.gmap-iw-chip {
  font-size: .62rem;
  font-weight: 600;
  padding: .18rem .55rem;
  border-radius: 20px;
  background: #eef0f8;
  color: #102542;
  
}
/* ===== BRAND IDENTITY ENHANCEMENTS ===== */
.brand-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: 
    linear-gradient(45deg, var(--navy) 25%, transparent 25%),
    linear-gradient(-45deg, var(--navy) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--navy) 75%),
    linear-gradient(-45deg, transparent 75%, var(--navy) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  pointer-events: none;
  z-index: 1;
}

.brand-pattern.light {
  background-image: 
    linear-gradient(45deg, #ffffff 25%, transparent 25%),
    linear-gradient(-45deg, #ffffff 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ffffff 75%),
    linear-gradient(-45deg, transparent 75%, #ffffff 75%);
  opacity: 0.06;
}

.hero-eyebrow {
  background: rgba(201, 162, 39, 0.15) !important;
  border-color: rgba(201, 162, 39, 0.45) !important;
  color: var(--lavender) !important;
}
.nav-links a.nav-news {
  color: var(--lavender) !important;
  border-color: var(--lavender) !important;
}
.nav-links a.nav-news:hover, .nav-links a.nav-news.active {
  background: var(--lavender) !important;
  color: #fff !important;
}
.nav-links a.nav-board {
  color: var(--lavender) !important;
  border-color: var(--lavender) !important;
}
.nav-links a.nav-board:hover, .nav-links a.nav-board.active {
  background: var(--lavender) !important;
  color: #fff !important;
}

.bcard-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: inherit; transition: transform 0.4s ease; }
.bcard:hover .bcard-img { transform: scale(1.05); }

.tcard-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: inherit; transition: transform 0.4s ease; }
.tcard:hover .tcard-img { transform: scale(1.05); }

/* ===== PROFESSIONAL ROADMAP GRID (ELITE) ===== */
.roadmap-grid-professional {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.roadmap-card-new {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.roadmap-card-new:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.rmc-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.rmc-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 12, 30, 0.8) 0%, transparent 100%);
}

.rmc-body {
  padding: 2rem;
  flex: 1;
}

.rmc-year {
  color: var(--gold2);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  display: inline-block;
  background: rgba(223, 181, 48, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.rmc-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.rmc-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media(max-width: 1100px) {
  .roadmap-grid-professional { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 650px) {
  .roadmap-grid-professional { grid-template-columns: 1fr; }
  .rmc-title { font-size: 1.2rem; }
  .roadmap-section { padding: 4rem 0; }
}

/* Animated Gradient Text */
.text-gradient-animated {
  background: linear-gradient(
    to right,
    var(--gold2) 0%,
    var(--lavender) 30%,
    var(--gold2) 60%,
    #ffffff 90%
  );
  background-size: 200% auto;
  color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shineText 5s linear infinite;
  display: inline-block;
  line-height: inherit;
}
@keyframes shineText {
  to { background-position: 200% center; }
}

/* Partners Logo Carousel */
.partners-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}
.partners-carousel::before,
.partners-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--off) 0%, transparent 100%);
}
.partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--off) 0%, transparent 100%);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 8rem;
  padding: 0 4rem;
  animation: scrollLogos 25s linear infinite;
}
.partners-track:hover {
  animation-play-state: paused;
}
.partner-logo {
  flex-shrink: 0;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}
@keyframes scrollLogos {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / 3)); }
}
body.ar .partners-track {
  animation: scrollLogosRTL 25s linear infinite;
}
@keyframes scrollLogosRTL {
  from { transform: translateX(calc(-100% / 3)); }
  to { transform: translateX(0); }
}
@media(max-width: 768px) {
  .partners-carousel::before, .partners-carousel::after { width: 50px; }
  .partners-track { gap: 4rem; padding: 0 2rem; }
}

/* Lenis Basics for Performance */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scroll {
  touch-action: none; /* Prevents bounce back on Mac/iOS */
}

/* Subtle Glass Glow Pointer Background (Hardware Accelerated) */
.pointer-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(180, 183, 222, 0.05) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  top: 0; left: 0;
  display: none;
  /* GPU acceleration via translate3d from JS */
}

@media (pointer: fine) {
  .pointer-glow {
    display: block;
  }
}

/* Performance-Optimized Custom Fluid Cursor */
body.custom-cursor-active,
body.custom-cursor-active * {
  cursor: none !important;
}

.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  display: none; /* Hidden by default until activated via JS (for fine pointers only) */
}

body.custom-cursor-active .cursor-dot,
body.custom-cursor-active .cursor-outline {
  display: block;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold2);
  /* The transform is set via JS directly without transition for instant following */
}

.cursor-outline {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(212, 194, 122, 0.6); /* --gold2 */
  z-index: 99998;
  /* Soft transition for snapping when hovering */
  transition: width 0.25s cubic-bezier(0.2, 1, 0.3, 1), height 0.25s cubic-bezier(0.2, 1, 0.3, 1), background-color 0.2s;
}

.cursor-outline.hovering {
  width: 55px;
  height: 55px;
  background-color: rgba(212, 194, 122, 0.15); /* Slightly glowing gold */
  border-color: rgba(212, 194, 122, 0.3);
}

/* ===== NEWS MODAL ===== */
.news-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.news-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.news-modal-content {
  background: var(--navy);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 16px;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.news-modal-overlay.active .news-modal-content {
  transform: translateY(0);
}
.news-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-modal-close:hover {
  background: var(--navy);
}
#news-modal-img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}
.news-modal-body {
  padding: 2.5rem;
}
.news-modal-date {
  font-size: 0.85rem;
  color: var(--lavender);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}
.news-modal-title {
  font-size: 1.8rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.news-modal-text {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  white-space: pre-wrap;
}
body.ar .news-modal-title {
  font-size: 1.5rem;
}
body.ar .news-modal-date {
  letter-spacing: 0;
}
@media (max-width: 768px) {
  .news-modal-overlay { padding: 1rem; }
  .news-modal-body { padding: 1.5rem; }
  .news-modal-title { font-size: 1.4rem; }
}
