/* ===========================
   بيت الاستثمار - Investment House
   Main Stylesheet — Luxury Edition
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Tajawal:wght@300;400;500;700;800&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

:root {
  --primary: #162040;
  --primary-light: #243566;
  --primary-dark: #0d1428;
  --gold: #c9a84c;
  --gold-light: #e2c46a;
  --gold-dark: #9a7828;
  --gold-shine: #f0d98a;
  --cream: #f8f5ef;
  --cream-dark: #ede8dd;
  --text-dark: #0f1523;
  --text-mid: #2e3350;
  --text-light: #6b6f88;
  --white: #ffffff;
  --shadow-soft: 0 4px 28px rgba(15, 21, 35, 0.07);
  --shadow-medium: 0 10px 50px rgba(15, 21, 35, 0.13);
  --shadow-strong: 0 24px 70px rgba(15, 21, 35, 0.20);
  --shadow-gold: 0 8px 30px rgba(201, 168, 76, 0.25);
  --border-light: rgba(201, 168, 76, 0.12);
  --border-gold: rgba(201, 168, 76, 0.30);
  --transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.85;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
}

.arabic-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
}

/* ===== GOLD SHIMMER UTILITY ===== */
.gold-text {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s linear infinite;
}

@keyframes goldShimmer {
  to { background-position: 200% center; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ===== HEADER ===== */
#site-header {
  background: var(--primary-dark);
  padding: 11px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  position: relative;
  overflow: hidden;
}

#site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

#site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

.header-contact-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.80rem;
  font-family: 'Tajawal', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.header-contact-item:hover {
  color: var(--gold-light);
}

.header-contact-item i {
  color: var(--gold);
  font-size: 0.82rem;
}

.header-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 6px;
}

/* ===== NAVBAR ===== */
#main-navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.15), var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(201,168,76,0.08);
}

#main-navbar.scrolled {
  box-shadow: var(--shadow-strong);
  border-bottom: 1px solid rgba(201,168,76,0.30);
  background: rgba(255, 255, 255, 0.99);
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(15, 21, 35, 0.30), inset 0 1px 0 rgba(201,168,76,0.20);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.18);
}

.brand-logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(201, 168, 76, 0.3) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
  position: relative;
  z-index: 1;
}

.brand-text-ar {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.brand-text-en {
  font-family: 'Tajawal', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--gold-dark);
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

.nav-link-custom {
  font-family: 'Tajawal', sans-serif;
  font-weight: 500;
  color: var(--text-mid) !important;
  font-size: 0.90rem;
  letter-spacing: 0.3px;
  padding: 8px 18px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 18px;
  left: 18px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  border-radius: 2px;
}

.nav-link-custom:hover {
  color: var(--primary-dark) !important;
  background: rgba(201, 168, 76, 0.05);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

.nav-link-custom.active {
  color: var(--primary-dark) !important;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  background-size: 200% auto;
  color: var(--primary-dark) !important;
  padding: 10px 26px !important;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  border: none;
}

.nav-cta-btn:hover {
  background-position: right center;
  color: var(--primary-dark) !important;
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.50);
  transform: translateY(-2px);
}

.nav-cta-btn::after {
  display: none !important;
}

/* ===== HERO SECTION ===== */
#hero {
  min-height: 94vh;
  background: linear-gradient(165deg, var(--primary-dark) 0%, #192645 35%, #1e3060 70%, #243060 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Diagonal gold luxury stripe */
#hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 55%, rgba(201, 168, 76, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 15%, rgba(201, 168, 76, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 85%, rgba(15, 21, 35, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.hero-decorative-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
  pointer-events: none;
  animation: pulse-ring 6s ease-in-out infinite;
}

.hero-circle-1 {
  width: 500px; height: 500px;
  top: -150px; left: -100px;
}

.hero-circle-2 {
  width: 300px; height: 300px;
  bottom: -80px; right: 100px;
  animation-delay: 2s;
}

.hero-circle-3 {
  width: 200px; height: 200px;
  top: 50%; right: -60px;
  animation-delay: 4s;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.9s ease both;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-light);
  padding: 7px 22px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: 'Tajawal', sans-serif;
}

.hero-eyebrow::before {
  content: '◆';
  font-size: 0.55rem;
  color: var(--gold);
}

.hero-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  color: var(--white);
  line-height: 1.20;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  animation: goldShimmer 5s linear infinite;
}

.hero-subtitle-en {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(0.82rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.38);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 2;
  font-weight: 300;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  background-size: 200% auto;
  color: var(--primary-dark);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.45);
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.3px;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  background-position: right center;
  box-shadow: 0 14px 38px rgba(201, 168, 76, 0.60);
  color: var(--primary-dark);
}

.hero-btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.88);
  padding: 14px 38px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Tajawal', sans-serif;
  border: 1px solid rgba(255,255,255,0.28);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(4px);
}

.hero-btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.50);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 44px;
  border-top: 1px solid rgba(201,168,76,0.18);
  position: relative;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-stat-value {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-image-side {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.9s 0.3s ease both;
}

.hero-card-float {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 1px 0 rgba(201,168,76,0.15);
}

.hero-property-badge {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  font-family: 'Tajawal', sans-serif;
  text-transform: uppercase;
}

.hero-property-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-property-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}

.hero-property-location i { color: var(--gold); margin-left: 5px; }

.hero-property-price {
  font-family: 'Tajawal', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-property-meta {
  display: flex;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-property-meta-item {
  text-align: center;
}

.hero-property-meta-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.hero-property-meta-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ===== SECTION COMMON ===== */
.section-pad {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.divider-line.reverse {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.divider-diamond {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(201,168,76,0.6);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 0.98rem;
  max-width: 550px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.9;
}

/* ===== FEATURES ===== */
#features {
  background: var(--white);
  position: relative;
}

#features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-light), var(--gold-dark), transparent);
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.10);
  border-radius: 20px;
  padding: 38px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  transform: scaleX(0);
  transition: transform 0.45s ease;
  transform-origin: right;
  border-radius: 0 0 2px 2px;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(201, 168, 76, 0.22);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrap {
  width: 76px; height: 76px;
  background: linear-gradient(145deg, var(--cream), var(--cream-dark));
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(15,21,35,0.06);
}

.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.feature-icon-wrap i {
  font-size: 1.65rem;
  color: var(--gold-dark);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap i {
  color: var(--primary-dark);
}

.feature-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  letter-spacing: 0.1px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.85;
  font-weight: 300;
}

/* ===== ABOUT ===== */
#about {
  background: linear-gradient(180deg, var(--cream) 0%, #f3ede0 100%);
  position: relative;
}

.about-image-block {
  position: relative;
}

.about-main-image {
  width: 100%;
  height: 450px;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-strong);
}

.about-image-inner {
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Crect fill='%232d437f' width='800' height='600'/%3E%3Cellipse cx='400' cy='400' rx='300' ry='200' fill='%23c9a84c' opacity='0.05'/%3E%3Cpath fill='%23c9a84c' opacity='0.15' d='M100 600 L100 350 L180 280 L260 350 L260 600z'/%3E%3Cpath fill='%23c9a84c' opacity='0.1' d='M250 600 L250 300 L370 200 L490 300 L490 600z'/%3E%3Cpath fill='%23c9a84c' opacity='0.12' d='M460 600 L460 380 L560 300 L660 380 L660 600z'/%3E%3Cpath fill='%23c9a84c' opacity='0.07' d='M600 600 L600 420 L680 360 L760 420 L760 600z'/%3E%3Crect fill='%23c9a84c' opacity='0.2' x='140' y='280' width='80' height='60'/%3E%3Crect fill='%23c9a84c' opacity='0.15' x='300' y='200' width='140' height='100'/%3E%3Crect fill='%23c9a84c' opacity='0.18' x='490' y='300' width='120' height='80'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  left: 30px;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-light);
}

.about-badge-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(201,168,76,0.35);
}

.about-badge-icon i { color: var(--white); font-size: 1.4rem; }

.about-badge-num {
  font-family: 'Tajawal', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.about-badge-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
}

.about-content {
  padding-right: 20px;
}

.about-list {
  list-style: none;
  margin: 24px 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.92rem;
  color: var(--text-mid);
}

.about-list li i {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.about-cta-btn {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  background-size: 200% auto;
  color: var(--primary-dark);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow-gold);
}

.about-cta-btn:hover {
  transform: translateY(-3px);
  background-position: right center;
  box-shadow: 0 12px 32px rgba(201,168,76,0.45);
  color: var(--primary-dark);
}

/* ===== PROPERTIES ===== */
#properties {
  background: var(--white);
  position: relative;
}

#properties::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-light), var(--gold-dark), transparent);
}

.property-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 9px 26px;
  border-radius: 50px;
  border: 1px solid rgba(201,168,76,0.22);
  background: transparent;
  color: var(--text-mid);
  font-family: 'Tajawal', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.filter-tab:hover,
.filter-tab.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.property-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201,168,76,0.08);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 70px rgba(15,21,35,0.18), 0 0 0 1px rgba(201,168,76,0.25);
  border-color: rgba(201, 168, 76, 0.30);
}

.property-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.property-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

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

.property-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--primary-dark);
  font-size: 0.70rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  letter-spacing: 1px;
  z-index: 2;
  text-transform: uppercase;
}

.property-badge.badge-sold {
  background: #c0392b;
  color: var(--white);
}

.property-badge.badge-special {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--gold-light);
}

.property-fav {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.property-fav:hover {
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.property-fav i { color: var(--text-light); font-size: 0.9rem; transition: var(--transition); }
.property-fav:hover i { color: #e74c3c; }

.property-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-type-tag {
  display: inline-block;
  background: rgba(201,168,76,0.10);
  color: var(--gold-dark);
  border: 1px solid rgba(201,168,76,0.22);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  font-family: 'Tajawal', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.property-name {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.property-location {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.property-location i { color: var(--gold); margin-left: 5px; font-size: 0.78rem; }

.property-specs {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 16px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-mid);
}

.spec-item i { color: var(--primary); font-size: 0.85rem; }

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

.property-price {
  font-family: 'Tajawal', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.3px;
}

.property-price span {
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: 'Tajawal', sans-serif;
  font-weight: 400;
  display: block;
}

.property-details-btn {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--primary-dark);
  border: none;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.80rem;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-gold);
}

.property-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.45);
  color: var(--primary-dark);
}

/* ===== STATS BANNER ===== */
#stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #192040 40%, #1c2850 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

#stats-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stat-item {
  text-align: center;
  padding: 42px 20px;
  position: relative;
  z-index: 1;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  height: 50%;
  width: 1px;
  background: rgba(201,168,76,0.18);
}

.stat-num {
  font-family: 'Tajawal', sans-serif;
  font-size: 3.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.50);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-light), var(--gold-dark), transparent);
}

.testimonial-card {
  background: var(--white);
  border-radius: 22px;
  padding: 38px 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201,168,76,0.08);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(201,168,76,0.07), transparent 70%);
  pointer-events: none;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.20);
}

.testimonial-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.20;
  position: absolute;
  top: 10px;
  right: 24px;
  font-weight: 700;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 24px;
  font-weight: 300;
  
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--cream-dark);
}

.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  font-family: 'Tajawal', sans-serif;
}

.author-title {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===== CTA SECTION ===== */
#cta-section {
  background: linear-gradient(155deg, var(--primary-dark) 0%, #192040 40%, #1e2d5a 100%);
  position: relative;
  overflow: hidden;
}

#cta-section::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.14) 0%, transparent 65%);
  top: -250px; right: -200px;
  pointer-events: none;
}

#cta-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 65%);
  bottom: -150px; left: -100px;
  pointer-events: none;
}

.cta-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 0.98rem;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.9;
}

.cta-phone-btn {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
  color: var(--primary-dark);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(201,168,76,0.40);
}

.cta-phone-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(201,168,76,0.55);
  color: var(--primary-dark);
}

.cta-whatsapp-btn {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.88);
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Tajawal', sans-serif;
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(6px);
}

.cta-whatsapp-btn:hover {
  background: #25d366;
  border-color: #25d366;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* ===== FOOTER ===== */
#site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.70);
  padding-top: 80px;
  border-top: 1px solid rgba(201,168,76,0.15);
  position: relative;
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-light), var(--gold-dark), transparent);
}

.footer-brand-col .brand-text-ar { color: var(--white); }
.footer-brand-col .brand-text-en { color: var(--gold); }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  line-height: 1.85;
  font-weight: 300;
  max-width: 280px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social-link {
  width: 40px; height: 40px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-social-link:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(201,168,76,0.30);
}

.footer-heading {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 36px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.87rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--gold);
  padding-right: 6px;
}

.footer-links a i {
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0.5;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.10);
  padding: 22px 0;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-copyright span { color: var(--gold); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--primary-dark);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  z-index: 999;
}

#backToTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(201,168,76,0.50);
}

#backToTop.show { display: flex; animation: fadeInUp 0.4s ease; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .section-pad { padding: 70px 0; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 2rem; }
  .about-content { padding-right: 0; padding-top: 60px; }
  .about-badge-float { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .stat-item + .stat-item::before { display: none; }
}

@media (max-width: 768px) {
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-card-float { max-width: 100%; }
  .header-contact-bar { justify-content: center; }
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  left: 30px;
  width: 48px; height: 48px;
  background: #25d366;
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 22px rgba(37,211,102,0.40);
  transition: var(--transition);
  z-index: 999;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(37,211,102,0.55);
  color: var(--white);
}

/* ===== LUXURY SELECTION COLOR ===== */
::selection {
  background: rgba(201,168,76,0.25);
  color: var(--primary-dark);
}


@media (max-width: 768px) {
  .section-pad { padding: 55px 0; }
  .whatsapp-float { bottom: 82px; left: 20px; }
  #backToTop { left: 20px; bottom: 24px; }
}

/* ============================================================
   ABOUT PAGE
============================================================ */

/* ---- About Hero ---- */
#about-hero {
  min-height: 55vh;
  background: linear-gradient(165deg, var(--primary-dark) 0%, #192040 40%, #1e2d5a 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 55%, rgba(201,168,76,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 15%, rgba(201,168,76,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.about-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.about-hero-content {
  padding: 100px 0 80px;
  position: relative;
  z-index: 2;
}

.about-hero-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.about-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.about-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.40);
}

.about-hero-breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.3s;
}

.about-hero-breadcrumb a:hover { color: var(--gold); }

.about-hero-breadcrumb span { color: rgba(255,255,255,0.25); }

/* ---- Story Section ---- */
#our-story { background: var(--cream); }

.story-image-block {
  position: relative;
}

.story-main-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(201,168,76,0.18);
  line-height: 0;
}

.story-year-badge {
  position: absolute;
  bottom: -16px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  border-radius: 18px;
  padding: 18px 28px;
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.story-year-num {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.story-year-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

.story-trust-badge {
  position: absolute;
  top: 20px;
  left: -14px;
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.20);
  border-radius: 50px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  box-shadow: var(--shadow-soft);
}

.story-trust-badge i { color: var(--gold); }

.story-text {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 2;
  font-weight: 300;
}

.story-text strong { color: var(--primary-dark); font-weight: 700; }

.story-pillars {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 16px;
  transition: var(--transition);
}

.story-pillar:hover {
  border-color: rgba(201,168,76,0.30);
  box-shadow: var(--shadow-soft);
  transform: translateX(-4px);
}

.story-pillar-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201,168,76,0.30);
}

.story-pillar-icon i { color: var(--primary-dark); font-size: 1.1rem; }

.story-pillar-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.story-pillar-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ---- About Stats ---- */
#about-stats {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #192040 40%, #1c2850 100%);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

/* ---- Values Cards ---- */
.value-card {
  background: var(--cream);
  border: 1px solid rgba(201,168,76,0.10);
  border-radius: 22px;
  padding: 38px 28px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.value-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  transform: scaleX(0);
  transition: transform 0.45s ease;
  transform-origin: right;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(201,168,76,0.22);
}

.value-card:hover::before { transform: scaleX(1); }

.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 20px;
  letter-spacing: -2px;
}

/* ---- Team Cards ---- */
.team-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.10);
  border-radius: 24px;
  padding: 38px 28px 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(201,168,76,0.28);
}

.team-avatar {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.team-avatar-inner {
  width: 80px; height: 80px;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 20px rgba(15,21,35,0.25);
}

.team-avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,0.30);
  transition: var(--transition);
}

.team-card:hover .team-avatar-ring {
  border-color: var(--gold);
  inset: -8px;
}

.team-name {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-social a {
  width: 36px; height: 36px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.team-social a:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ---- Certifications ---- */
.cert-card {
  background: var(--cream);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 22px;
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(201,168,76,0.28);
}

.cert-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 6px 20px rgba(201,168,76,0.30);
}

.cert-icon i {
  font-size: 1.6rem;
  color: var(--primary-dark);
}

.cert-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.cert-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.85;
  font-weight: 300;
}

/* ---- About Page Responsive ---- */
@media (max-width: 991px) {
  .story-trust-badge { left: 10px; }
  .about-hero-content { padding: 80px 0 60px; }
  .story-pillar:hover { transform: translateX(0) translateY(-2px); }
}

@media (max-width: 768px) {
  .about-hero-title { font-size: 2.4rem; }
  .story-year-badge { right: 50%; transform: translateX(50%); }
  .story-trust-badge { display: none; }
}

/* ============================================================
   CONTACT PAGE
============================================================ */

/* ---- Contact Hero ---- */
#contact-hero {
  min-height: 50vh;
  background: linear-gradient(165deg, var(--primary-dark) 0%, #192040 40%, #1e2d5a 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 20%, rgba(201,168,76,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.contact-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.contact-hero-content {
  padding: 100px 0 80px;
  position: relative;
  z-index: 2;
}

/* ---- Info Cards ---- */
.contact-info-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.10);
  border-radius: 22px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: right;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(201,168,76,0.25);
}

.contact-info-card:hover::before { transform: scaleX(1); }

.contact-info-card--gold {
  background: linear-gradient(145deg, var(--primary-dark) 0%, #1c2850 100%);
  border-color: rgba(201,168,76,0.25);
}

.contact-info-card--gold .contact-info-title { color: var(--white); }
.contact-info-card--gold .contact-info-text  { color: rgba(255,255,255,0.70); }
.contact-info-card--gold .contact-info-icon  {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.30);
  color: var(--gold-light);
}
.contact-info-card--gold .contact-info-link  { color: var(--gold-light); }

.contact-info-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(201,168,76,0.10), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.20);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-dark);
  margin-bottom: 18px;
  transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(201,168,76,0.35);
}

.contact-info-card--gold:hover .contact-info-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--primary-dark);
}

.contact-info-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.contact-info-text {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.8;
  font-weight: 300;
  flex: 1;
}

.contact-info-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.3s;
}

.contact-info-link:hover { color: var(--gold); }

/* ---- Form Wrapper ---- */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.10);
  border-radius: 28px;
  padding: 48px 44px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-light), var(--gold-dark), transparent);
}

.contact-form-header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(201,168,76,0.10);
}

/* ---- Form Controls ---- */
.form-group { margin-bottom: 4px; }

.form-label-custom {
  display: block;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.required-star { color: var(--gold-dark); }

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap > i {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: 0.85rem;
  pointer-events: none;
  transition: color 0.3s;
  z-index: 1;
}

.textarea-wrap > i {
  top: 18px;
  transform: none;
}

.input-custom {
  width: 100%;
  background: var(--cream);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 14px;
  padding: 13px 46px 13px 16px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.90rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.input-custom::placeholder { color: var(--text-light); opacity: 0.7; }

.input-custom:focus {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.10);
}

.input-custom:focus + i,
.input-icon-wrap:focus-within > i { color: var(--gold); }

.input-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 42px;
}

.input-textarea {
  resize: vertical;
  min-height: 130px;
  padding-top: 14px;
}

/* ---- Submit Button ---- */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  background-size: 200% auto;
  color: var(--primary-dark);
  font-family: 'Tajawal', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.contact-submit-btn:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(201,168,76,0.50);
}

.btn-shine {
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.5s ease-in-out infinite;
}

@keyframes btnShine {
  0%   { left: -60%; }
  50%  { left: 130%; }
  100% { left: 130%; }
}

/* ---- Success / Error messages ---- */
.contact-success-msg {
  text-align: center;
  padding: 48px 24px;
}

.contact-success-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-gold);
}

.contact-success-icon i { font-size: 1.8rem; color: var(--primary-dark); }

.contact-success-msg h5 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.contact-success-msg p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.85;
}

.contact-error-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(192,57,43,0.07);
  border: 1px solid rgba(192,57,43,0.20);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #c0392b;
  margin-bottom: 24px;
}

.contact-error-msg i { flex-shrink: 0; }

/* ---- Map ---- */
.contact-map-wrap {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.15);
  box-shadow: var(--shadow-soft);
  position: relative;
  margin-bottom: 24px;
}

.map-overlay-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--primary-dark);
  border: 1px solid rgba(201,168,76,0.30);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  backdrop-filter: blur(8px);
}

.map-overlay-badge i { color: var(--gold); font-size: 0.85rem; }

/* ---- Direct Contact Sidebar ---- */
.contact-direct-wrap {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.10);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.contact-direct-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,168,76,0.10);
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201,168,76,0.08);
  text-decoration: none;
  transition: var(--transition);
}

.contact-direct-item:last-of-type { border-bottom: none; }

.contact-direct-item:hover { transform: translateX(-4px); }

.contact-direct-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201,168,76,0.25);
}

.contact-direct-info { flex: 1; }

.contact-direct-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.contact-direct-value {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 1px;
}

.contact-direct-arrow {
  color: rgba(201,168,76,0.40);
  font-size: 0.75rem;
  transition: var(--transition);
}

.contact-direct-item:hover .contact-direct-arrow { color: var(--gold); }

.contact-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  margin-top: 4px;
}

.contact-social-label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 400;
  white-space: nowrap;
}

/* ---- FAQ Accordion ---- */
.faq-item {
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.faq-item:hover { border-color: rgba(201,168,76,0.28); }

.faq-item.faq-open {
  border-color: rgba(201,168,76,0.35);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: var(--transition);
}

.faq-question:hover { background: rgba(201,168,76,0.04); }

.faq-icon {
  color: var(--gold-dark);
  font-size: 0.78rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.faq-open .faq-icon { color: var(--gold); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 0.90rem;
  color: var(--text-light);
  line-height: 1.9;
  font-weight: 300;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.faq-open .faq-answer {
  max-height: 200px;
  padding: 0 24px 22px;
}

/* ---- Contact Page Responsive ---- */
@media (max-width: 991px) {
  .contact-form-wrap { padding: 36px 28px; }
}

@media (max-width: 768px) {
  .contact-form-wrap { padding: 28px 20px; }
  .contact-hero-content { padding: 80px 0 60px; }
}

/* ============================================================
   LEGAL PAGES  (privacy.php / terms.php)
============================================================ */

/* ---- Shared Hero ---- */
.legal-hero {
  min-height: 46vh;
  background: linear-gradient(165deg, var(--primary-dark) 0%, #192040 40%, #1e2d5a 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 75% 40%, rgba(201,168,76,0.11) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 70%, rgba(201,168,76,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.legal-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}

.legal-hero-content {
  padding: 100px 0 80px;
  position: relative;
  z-index: 2;
}

/* ---- Section ---- */
.legal-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

/* ---- Main card ---- */
.legal-wrap {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.10);
  border-radius: 28px;
  padding: 56px 56px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.legal-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-light), var(--gold-dark), transparent);
}

/* ---- Intro paragraph ---- */
.legal-intro {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(201,168,76,0.10);
}

.legal-intro p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 2;
}

.legal-intro strong { color: var(--primary-dark); }

/* ---- Content block ---- */
.legal-block {
  padding: 28px 0;
  border-bottom: 1px solid rgba(201,168,76,0.08);
}

.legal-heading {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.legal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--primary-dark);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(201,168,76,0.28);
  letter-spacing: 0;
}

.legal-block p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 12px;
  font-weight: 300;
}

.legal-block p:last-child { margin-bottom: 0; }

/* ---- List ---- */
.legal-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.91rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  padding-right: 4px;
}

.legal-list li::before {
  content: '◆';
  color: var(--gold-dark);
  font-size: 0.45rem;
  margin-top: 8px;
  flex-shrink: 0;
}

.legal-list li strong { color: var(--primary-dark); font-weight: 700; }

/* ---- Notice box ---- */
.legal-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.22);
  border-right: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.legal-notice i {
  color: var(--gold-dark);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Table ---- */
.legal-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid rgba(201,168,76,0.12);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-table thead tr {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

.legal-table thead th {
  color: var(--gold-light);
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  padding: 14px 20px;
  text-align: right;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  border: none;
}

.legal-table tbody tr {
  border-bottom: 1px solid rgba(201,168,76,0.08);
  transition: background 0.25s;
}

.legal-table tbody tr:last-child { border-bottom: none; }

.legal-table tbody tr:hover { background: rgba(201,168,76,0.04); }

.legal-table tbody td {
  padding: 13px 20px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
}

/* ---- Link ---- */
.legal-link {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(201,168,76,0.40);
  transition: color 0.3s, border-color 0.3s;
}

.legal-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---- Contact row inside legal ---- */
.legal-contact-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.legal-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.90rem;
  color: var(--text-mid);
  font-weight: 400;
}

.legal-contact-item i {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 0.82rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(201,168,76,0.25);
}

.legal-contact-item a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.legal-contact-item a:hover { color: var(--gold-dark); }

/* ---- CTA strip (privacy) ---- */
.legal-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e2d5a 100%);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 22px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-cta-text h5 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 4px;
}

.legal-cta-text p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.50);
  margin: 0;
  font-weight: 300;
}

/* ---- Related links (terms) ---- */
.legal-related {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-related-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 16px;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--primary-dark);
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}

.legal-related-item:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
  color: var(--primary-dark);
}

.legal-related-item > i:first-child {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(201,168,76,0.25);
}

.legal-related-item span { flex: 1; }

.legal-related-item > i:last-child {
  color: rgba(201,168,76,0.40);
  font-size: 0.75rem;
  transition: var(--transition);
}

.legal-related-item:hover > i:last-child { color: var(--gold); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .legal-wrap { padding: 40px 36px; }
  .legal-cta  { padding: 28px 30px; }
}

@media (max-width: 768px) {
  .legal-wrap  { padding: 28px 20px; }
  .legal-hero-content { padding: 80px 0 60px; }
  .legal-cta   { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .legal-table thead th,
  .legal-table tbody td { padding: 11px 14px; }
}