/* ============================================================
   Alrouyah Capital Holding Company | Main Stylesheet
   Dark Blue & White Corporate Theme | RTL/LTR Support
   ============================================================ */

:root {
  --primary:       #0B40C0;   /* Royal blue — logo text color     */
  --primary-light: #1655D8;   /* Lighter blue for gradients       */
  --primary-dark:  #072D90;   /* Deep blue for footer/dark areas  */
  --accent:        #6ef9fc;   /* Logo cyan — bright light cyan    */
  --accent-light:  #b4fdfe;   /* Lighter cyan tint                */
  --gold:          #6ef9fc;   /* Logo cyan throughout             */
  --white:         #ffffff;
  --off-white:     #f0fffe;   /* Very subtle cyan tint of white   */
  --light-gray:    #ccfcfd;   /* Light cyan gray                  */
  --mid-gray:      #7A9EAE;
  --text-dark:     #061D6A;   /* Deep blue for headings           */
  --text-body:     #2B4468;
  --border:        #a8f7f9;   /* Cyan-tinted border               */
  --shadow:        rgba(11, 64, 192, 0.10);
  --shadow-lg:     rgba(11, 64, 192, 0.20);

  --header-h:      80px;
  --radius:        8px;
  --radius-lg:     14px;
  --transition:    0.25s ease;

  /* Arabic font stack */
  --font-ar: 'Cairo', 'Tajawal', 'Noto Sans Arabic', sans-serif;
  /* English font stack */
  --font-en: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body[lang="en"] {
  font-family: var(--font-en);
}

[dir="rtl"] { text-align: right; }
[dir="ltr"] { text-align: left; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
}

/* ── Google Fonts import ──────────────────────── */

/* ── Utility ─────────────────────────────────── */
.section-py   { padding: 80px 0; }
.section-py-sm{ padding: 50px 0; }
.text-primary-dark { color: var(--primary) !important; }
.text-accent  { color: var(--accent) !important; }
.text-gold    { color: var(--gold) !important; }
.bg-primary-dark { background-color: var(--primary) !important; }
.bg-off-white { background-color: var(--off-white) !important; }
.bg-light-blue{ background-color: #E5F5FA !important; }

.btn-primary-dark {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-primary-dark:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-outline-dark-blue {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-outline-dark-blue:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 700;
}
.btn-gold:hover { background: #3af0f3; color: var(--primary); }

/* ── Section Title ───────────────────────────── */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 10px;
}
[dir="rtl"] .section-title::after { margin-right: 0; margin-left: auto; }
[dir="ltr"] .section-title::after { margin-left: 0; margin-right: auto; }
.section-subtitle {
  color: var(--mid-gray);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar-main {
  background: var(--primary);
  padding: 0;
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px var(--shadow-lg);
}
.navbar-main .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0;
  height: var(--header-h);
  min-width: 0;
  overflow: hidden;
}
.navbar-main .navbar-brand img {
  height: 48px;
  width: auto;
}
.navbar-main .navbar-brand .brand-text-ar {
  font-size: 1rem;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}
.navbar-main .navbar-brand .brand-text-en {
  font-size: 0.75rem;
  color: var(--mid-gray);
  display: block;
  white-space: nowrap;
}
.navbar-main .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 28px 14px !important;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--white) !important;
  border-bottom-color: var(--gold);
}
.lang-btn {
  background: rgba(255,255,255,0.12);
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 6px 16px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all var(--transition);
  margin: auto 8px;
}
.lang-btn:hover {
  background: var(--white);
  color: var(--primary) !important;
  border-bottom: none !important;
}
.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* ── DROPDOWN MENUS ──────────────────────────── */
.navbar-main .dropdown-menu {
  background: var(--primary);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--shadow-lg);
  padding: 8px 0;
  margin-top: 0;
  min-width: 210px;
}
.navbar-main .dropdown-item {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 9px 20px;
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}
[dir="rtl"] .navbar-main .dropdown-item {
  border-left: none;
  border-right: 3px solid transparent;
}
.navbar-main .dropdown-item:hover,
.navbar-main .dropdown-item:focus {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border-left-color: var(--gold);
}
[dir="rtl"] .navbar-main .dropdown-item:hover,
[dir="rtl"] .navbar-main .dropdown-item:focus {
  border-left-color: transparent;
  border-right-color: var(--gold);
}
.navbar-main .dropdown-item.active,
.navbar-main .dropdown-item:active {
  background: rgba(110,249,252,0.18);
  color: var(--gold);
  border-left-color: var(--gold);
}
[dir="rtl"] .navbar-main .dropdown-item.active,
[dir="rtl"] .navbar-main .dropdown-item:active {
  border-left-color: transparent;
  border-right-color: var(--gold);
}
.navbar-main .dropdown-toggle::after {
  border-top-color: rgba(255,255,255,0.7);
}
@media (max-width: 991.98px) {
  .navbar-main .dropdown-menu {
    background: rgba(255,255,255,0.06);
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
  }
  [dir="rtl"] .navbar-main .dropdown-menu {
    padding: 0 16px 0 0;
  }
  .navbar-main .dropdown-item {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* ── HERO ────────────────────────────────────── */
.hero {
  background:
    linear-gradient(120deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 72px),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 48%, var(--primary-light) 100%);
  min-height: auto;
  padding: 78px 0 58px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.09) 52%, transparent 52%),
    linear-gradient(135deg, transparent 0 62%, rgba(255,255,255,0.08) 62% 72%, transparent 72%);
  opacity: 0.8;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 40px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0;
  white-space: nowrap;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.08rem;
  line-height: 2;
  margin-bottom: 1.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.4rem;
}
.hero-tags span {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-actions .btn {
  padding: 12px 24px;
  font-weight: 800;
  border-radius: 8px;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}
.hero-shape {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: rgba(255,255,255,0.03);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}
[dir="rtl"] .hero-shape {
  right: auto; left: 0;
  clip-path: polygon(0% 0%, 70% 0%, 100% 100%, 0% 100%);
}

/* ── STATS BAR ───────────────────────────────── */
.occasion-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.occasion-modal.is-visible { display: flex; }
.occasion-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 21, 58, 0.62);
  backdrop-filter: blur(3px);
}
.occasion-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  text-align: center;
}
.occasion-modal__close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.occasion-modal__image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}
.occasion-modal__body { padding: 30px 30px 32px; }
.occasion-modal__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  color: var(--primary);
  font-size: 1.45rem;
}
.occasion-modal h2 {
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
}
.occasion-modal p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.9;
  margin: 0 auto 22px;
}
.occasion-modal__button {
  min-width: 140px;
  border: 0;
  border-radius: 8px;
  padding: 11px 24px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
}
.occasion-modal__button:hover { background: var(--primary-dark); }

.stats-bar {
  background: var(--white);
  box-shadow: 0 4px 30px var(--shadow);
  border-radius: var(--radius-lg);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  padding: 30px 0;
}
.stat-item {
  text-align: center;
  padding: 15px;
  border-right: 1px solid var(--border);
}
[dir="rtl"] .stat-item:first-child { border-right: none; }
[dir="ltr"] .stat-item { border-right: none; border-left: 1px solid var(--border); }
[dir="ltr"] .stat-item:first-child { border-left: none; }
.stat-item:last-child { border: none; }
.stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-top: 4px;
}

/* ── CARDS ───────────────────────────────────── */
.card-hover {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  background: var(--white);
  overflow: hidden;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow-lg);
  border-color: var(--accent-light);
}

/* News card */
.news-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); transition: all var(--transition); }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px var(--shadow); }
.news-card .card-img-top { height: 200px; object-fit: cover; }
.news-card .card-body { padding: 1.2rem; }
.news-card .card-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.news-card .card-text { font-size: 0.88rem; color: var(--text-body); }
.news-card .card-meta { font-size: 0.78rem; color: var(--mid-gray); margin-bottom: 0.6rem; }
.news-card .card-category {
  display: inline-block;
  background: var(--light-gray);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Board member card */
.board-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.board-card:hover {
  box-shadow: 0 15px 40px var(--shadow);
  transform: translateY(-5px);
  border-color: var(--accent);
}
.board-card .member-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--light-gray);
  margin: 0 auto 1rem;
  display: block;
  background: var(--off-white);
}
.board-card .member-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.board-card .member-name { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.board-card .member-position { font-size: 0.88rem; color: #16ADCB; font-weight: 600; margin-top: 5px; }
.board-card .member-bio { font-size: 0.85rem; color: var(--mid-gray); margin-top: 0.8rem; }
.board-chairman { border: 2px solid var(--gold); }
.board-chairman .member-name::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 10px;
  border-radius: 2px;
}

/* Document list */
.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: all var(--transition);
  margin-bottom: 12px;
}
.doc-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--shadow);
  transform: translateX(-3px);
}
[dir="ltr"] .doc-item:hover { transform: translateX(3px); }
.doc-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 1.3rem;
}
.doc-info { flex: 1; min-width: 0; }
.doc-title { font-weight: 700; color: var(--primary); font-size: 0.95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-meta { font-size: 0.8rem; color: var(--mid-gray); }
.doc-download {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.doc-download:hover { background: var(--accent); color: var(--white); }

/* ── SEARCH & FILTER BAR ─────────────────────── */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px var(--shadow);
}
.filter-bar .form-control,
.filter-bar .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dark);
  font-size: 0.9rem;
}
.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110,249,252,0.35);
}
.filter-bar .btn-search {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 10px 24px;
  font-weight: 600;
  transition: background var(--transition);
}
.filter-bar .btn-search:hover { background: var(--accent); }

/* ── PAGE HEADER ─────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 40px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  position: relative;
  z-index: 2;
}
.page-header .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}
.page-header .breadcrumb-item { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.page-header .breadcrumb-item.active { color: var(--white); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ── ABOUT / VISION-MISSION ──────────────────── */
.vm-card {
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition);
}
.vm-card.vision { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; }
.vm-card.mission { background: var(--off-white); border: 1px solid var(--border); }
.vm-card .vm-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.vm-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.vm-card.vision h3 { color: var(--gold); }
.vm-card.mission h3 { color: var(--primary); }
.vm-card p { opacity: 0.9; line-height: 1.8; }

/* Activities */
.activity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 20px;
  margin: 6px;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition);
  font-size: 0.9rem;
}
.activity-badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.activity-badge i { color: var(--gold); }

/* ── CONTACT ─────────────────────────────────── */
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  height: 100%;
}
.contact-info-card h3 { color: var(--gold); margin-bottom: 1.5rem; font-size: 1.4rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item i {
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-info-item div { flex: 1; }
.contact-info-item .ci-label { font-size: 0.75rem; opacity: 0.7; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-info-item .ci-value {
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form-card .form-label { font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.contact-form-card .form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dark);
}
.contact-form-card .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(110,249,252,0.35); }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px var(--shadow); }
.map-container iframe { display: block; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
footer h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
footer a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
footer a:hover { color: var(--gold); }
footer .footer-links { list-style: none; padding: 0; }
footer .footer-links li { margin-bottom: 8px; font-size: 0.88rem; }
footer .footer-links li::before {
  content: '← ';
  color: var(--gold);
  font-size: 0.75rem;
}
[dir="ltr"] footer .footer-links li::before { content: '→ '; }
footer .footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  align-items: flex-start;
}
footer .footer-contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-logo-text { font-size: 1.3rem; font-weight: 800; color: var(--white); }
.footer-logo-sub { font-size: 0.8rem; color: var(--mid-gray); }
.footer-desc { font-size: 0.88rem; margin-top: 1rem; line-height: 1.8; }
.social-links { display: flex; gap: 10px; margin-top: 1rem; flex-wrap: wrap; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 0.9rem;
}
.social-links a:hover { background: var(--gold); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  margin-top: 40px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ── PAGINATION ──────────────────────────────── */
.pagination .page-link {
  color: var(--primary);
  border-color: var(--border);
  border-radius: var(--radius) !important;
  margin: 0 3px;
  font-weight: 600;
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.pagination .page-link:hover { background: var(--off-white); color: var(--primary); }

/* ── ALERTS ──────────────────────────────────── */
.alert { border-radius: var(--radius); border: none; font-weight: 500; }
.alert-success { background: #e8f8f0; color: #1a7a4a; }
.alert-danger  { background: #fdecea; color: #c0392b; }
.alert-info    { background: #E5F5FA; color: var(--primary); }

/* ── BADGES ──────────────────────────────────── */
.badge-featured {
  background: var(--gold);
  color: var(--white);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-quarter {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 0.72rem;
}

/* ── NEWS DETAIL ─────────────────────────────── */
.news-body { font-size: 1rem; line-height: 2; color: var(--text-body); }
.news-body h2, .news-body h3 { color: var(--primary); margin: 1.5rem 0 0.8rem; }
.news-body p { margin-bottom: 1.2rem; }
.news-body img { border-radius: var(--radius); margin: 1.5rem 0; }

/* ── EMPTY STATE ─────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--mid-gray);
}
.empty-state i { font-size: 4rem; margin-bottom: 1rem; display: block; }
.empty-state h4 { color: var(--primary); margin-bottom: 0.5rem; }

/* ── BACK TO TOP ─────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
[dir="rtl"] #backToTop { right: auto; left: 30px; }
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--gold); transform: translateY(-3px); }

/* ── LOADING SPINNER ─────────────────────────── */
.spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

/* ── COOKIE / PRELOADER ──────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}
#page-loader .loader-logo { color: var(--white); font-size: 1.5rem; font-weight: 800; }
#page-loader .loader-bar {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}
#page-loader .loader-fill {
  width: 0%;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: loadFill 1s ease forwards;
}
@keyframes loadFill { to { width: 100%; } }

/* ── DISCLOSURE / DOCUMENT CARDS (governance & credit-ratings) ── */
.disclosure-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.disclosure-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--shadow-lg);
  border-color: var(--accent);
}
.disclosure-header {
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.disclosure-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #1e6fc4);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}
.disclosure-body {
  padding: 18px 20px;
}
.disclosure-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}
.disclosure-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--off-white);
}
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), #1e6fc4);
  color: white;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
  width: 100%;
}
.btn-download:hover {
  background: linear-gradient(135deg, var(--gold), #b8902a);
  color: var(--primary);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 991px) {
  .navbar-main .nav-link { padding: 12px 16px !important; border-bottom: none; }
  .navbar-main .navbar-brand { max-width: calc(100% - 62px); }
  .navbar-main .navbar-brand > div { min-width: 0; overflow: hidden; }
  .navbar-main .navbar-brand .brand-text-ar,
  .navbar-main .navbar-brand .brand-text-en {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-collapse { background: var(--primary); padding: 10px 0 20px; }
  .lang-btn { margin: 10px 16px !important; display: inline-block; }
  .hero { min-height: auto; padding: 52px 0 36px; }
  .section-py { padding: 55px 0; }
  .stats-bar { margin-top: 0; border-radius: 0; }
}
@media (max-width: 767px) {
  .section-title { font-size: 1.6rem; }
  .hero { padding: 52px 0 52px; }
  .hero::after { height: 28px; }
  .hero-content {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
  .hero h1 { font-size: 1.55rem; white-space: normal; line-height: 1.45; }
  .hero p { font-size: 0.96rem; line-height: 1.8; }
  .hero-actions, .hero-tags { justify-content: center; }
  .hero-actions {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
    white-space: normal;
  }
  .hero .text-start, .hero .text-end { text-align: center !important; }
  .page-header { padding: 45px 0 30px; }
  .contact-info-card { margin-bottom: 24px; }
  .contact-info-card,
  .contact-form-card { padding: 1.5rem; }
  .doc-item { flex-wrap: wrap; }
  .doc-download { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .navbar-main .navbar-brand img { height: 40px; }
  .navbar-main .navbar-brand .brand-text-ar { font-size: 0.86rem; }
  .navbar-main .navbar-brand .brand-text-en { font-size: 0.66rem; }
  .stat-item { border: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}
