/* Tiba Foundation — Shared Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #2b3f3d;
  --primary-light: #3a5450;
  --gold: #b5945e;
  --gold-dark: #9e7e4a;
  --white: #ffffff;
  --off-white: #F8F8F8;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #777;
  --border: #e8e8e8;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(31,58,55,0.10);
}

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

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

/* NAV */
nav {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.nav-logo img { height: 48px; width: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text strong { font-size: 15px; font-weight: 800; color: var(--white); }
.nav-logo-text span { font-size: 11px; color: var(--gold); font-weight: 500; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold); color: var(--primary); border: none; padding: 10px 24px;
  border-radius: 8px; font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background 0.2s; text-decoration: none;
}
.nav-cta:hover { background: var(--gold-dark); }

/* PAGE HEADER */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 64px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(181,148,94,0.05) 40px, rgba(181,148,94,0.05) 80px);
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: var(--white); margin-bottom: 10px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.75); font-weight: 500; }
.page-hero .badge { display: inline-block; background: rgba(181,148,94,0.2); border: 1px solid var(--gold); color: var(--gold); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; }

/* CONTENT */
.page-content { max-width: 860px; margin: 0 auto; padding: 64px 80px; }

.legal-section { margin-bottom: 48px; }
.legal-section h2 {
  font-size: 22px; font-weight: 800; color: var(--primary);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gold); display: flex; align-items: center; gap: 10px;
}
.legal-section h2 .sec-num {
  width: 32px; height: 32px; background: var(--gold); color: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; flex-shrink: 0;
}
.legal-section p { font-size: 15px; color: var(--text-mid); margin-bottom: 12px; line-height: 1.9; }
.legal-section ul { list-style: none; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.legal-section ul li { font-size: 15px; color: var(--text-mid); padding-right: 20px; position: relative; line-height: 1.8; }
.legal-section ul li::before { content: '✦'; position: absolute; right: 0; color: var(--gold); font-size: 10px; top: 6px; }

.info-card {
  background: var(--off-white); border-radius: 12px; padding: 28px;
  border-right: 4px solid var(--gold); margin: 20px 0;
}
.info-card p { margin: 0; font-size: 15px; color: var(--text-mid); }

.highlight-box {
  background: rgba(43,63,61,0.06); border-radius: 12px; padding: 24px 28px;
  margin: 20px 0; border: 1px solid rgba(43,63,61,0.12);
}

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.step-card {
  background: var(--white); border-radius: 12px; padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow); border-bottom: 3px solid var(--gold);
}
.step-card .step-n {
  width: 52px; height: 52px; background: var(--primary); color: var(--gold);
  border-radius: 50%; font-size: 20px; font-weight: 900; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 14px;
}
.step-card h4 { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* CONTACT STRIP */
.contact-strip {
  background: var(--primary); padding: 48px 80px;
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.cstrip-item { text-align: center; color: var(--white); }
.cstrip-item .icon { font-size: 24px; margin-bottom: 8px; }
.cstrip-item strong { display: block; font-size: 13px; color: var(--gold); margin-bottom: 4px; }
.cstrip-item span { font-size: 14px; color: rgba(255,255,255,0.8); }
.cstrip-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.cstrip-item a:hover { color: var(--gold); }

/* FOOTER */
footer { background: #1a2e2b; color: var(--white); padding: 32px 80px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--gold); text-decoration: none; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-nav a:hover, .footer-nav a.active { color: var(--gold); }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .page-hero, .page-content, .contact-strip, footer { padding-left: 20px; padding-right: 20px; }
  .steps-grid { grid-template-columns: 1fr; }
}
