@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&family=Scheherazade+New:wght@400;500;600;700&display=swap');

:root {
  --teal: #1B3D4F;
  --teal-dark: #0f2535;
  --teal-light: #EAF0F3;
  --gold: #A8873A;
  --gold-cream: #F5EED8;
  --text-muted: #5a7a8a;
  --border: #e0e8ec;
}

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

body {
  font-family: 'Tajawal', sans-serif;
  background: #ffffff;
  color: var(--teal);
  font-size: 15px;
  line-height: 1.8;
  direction: rtl;
  text-align: right;
}

nav {
  background: var(--teal);
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  direction: rtl;
}

.nav-logo a { text-decoration: none; }
.nav-logo .name { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 2px; display: block; font-family: 'Barlow', 'Tajawal', sans-serif; }
.nav-logo .sub  { color: var(--gold); font-size: 10px; letter-spacing: 1px; display: block; font-family: 'Tajawal', sans-serif; }

.nav-links { display: flex; gap: 28px; align-items: center; flex-direction: row; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 13px; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.lang-btn { background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 5px 14px; font-size: 11px; cursor: pointer; border-radius: 3px; font-family: 'Barlow', sans-serif; font-weight: 600; transition: all 0.2s; text-decoration: none; display: inline-block; letter-spacing: 1px; }
.lang-btn:hover { background: var(--gold); color: var(--teal); }

.portal-btn { background: var(--gold); color: var(--teal); border: none; padding: 9px 20px; font-size: 12px; cursor: pointer; font-weight: 700; border-radius: 3px; text-decoration: none; display: inline-block; transition: opacity 0.2s; }
.portal-btn:hover { opacity: 0.88; }

.gold-bar { height: 3px; background: var(--gold); }

.btn-primary { background: var(--gold); color: var(--teal); border: none; padding: 14px 32px; font-size: 13px; cursor: pointer; font-weight: 700; border-radius: 3px; text-decoration: none; display: inline-block; transition: opacity 0.2s; }
.btn-primary:hover { opacity: 0.88; }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); padding: 14px 32px; font-size: 13px; cursor: pointer; font-weight: 500; border-radius: 3px; text-decoration: none; display: inline-block; transition: all 0.2s; }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.8); }
.btn-outline-dark { background: transparent; color: var(--teal); border: 1px solid var(--teal); padding: 13px 28px; font-size: 13px; cursor: pointer; font-weight: 500; border-radius: 3px; text-decoration: none; display: inline-block; transition: all 0.2s; }
.btn-outline-dark:hover { background: var(--teal); color: #fff; }

.section-label { color: var(--gold); font-size: 11px; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.section-title { font-family: 'Scheherazade New', serif; font-size: 38px; font-weight: 600; color: var(--teal); margin-bottom: 16px; line-height: 1.4; }
.section-title.light { color: #ffffff; }
.section-desc { color: var(--text-muted); font-size: 14px; line-height: 2; max-width: 600px; }

footer { background: var(--teal-dark); padding: 48px 56px 28px; direction: rtl; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-brand .name { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 2px; font-family: 'Barlow', sans-serif; }
.footer-brand .sub  { color: var(--gold); font-size: 11px; display: block; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.9; max-width: 280px; }
.footer-col h4 { color: var(--gold); font-size: 12px; margin-bottom: 14px; font-weight: 700; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 13px; text-decoration: none; display: block; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,0.25); font-size: 12px; }
.footer-bottom a { color: var(--gold); font-size: 12px; text-decoration: none; }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  footer { padding: 36px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
