/* ============================================
   MIZA CAPITAL - Corporate Compliance Website
   Premium aesthetic matching miza.capital identity
   Cormorant Garamond italic headings, glass-morphic cards,
   wave textures, eclipse gradients, teal palette
   ============================================ */

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

/* --- Variables --- */
:root {
  --bg-dark: #0b1a1b;
  --bg-deep: #091415;
  --bg-card: #0f2526;
  --bg-card-hover: #133031;
  --bg-warm: #f7f8f8;
  --bg-warm-alt: #f2f3f3;
  --bg-warm-card: #ffffff;
  --gold: #FED45F;
  --gold-light: #fee588;
  --gold-dim: #d4b34e;
  --gold-glow: rgba(254,212,95,0.10);
  --teal-accent: #ffffff;
  --teal-light: #ffffff;
  --teal-deep: #1a2e30;
  --text-light: #e8e6e0;
  --text-light-secondary: rgba(232,230,224,0.6);
  --text-light-muted: rgba(232,230,224,0.35);
  --text-dark: #0b1a1b;
  --text-dark-secondary: #4a5c58;
  --border-glass: rgba(255,255,255,0.08);
  --border-glass-hover: rgba(255,255,255,0.15);
  --border-gold: rgba(254,212,95,0.25);
  --border-warm: #e4e5e5;
  --glass-bg: rgba(11,26,27,0.6);
  --glass-bg-hover: rgba(11,26,27,0.75);
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-ar: 'Cairo', 'Segoe UI', sans-serif;
  --nav-height: 80px;
  --max-width: 1140px;
  --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}
body[dir="rtl"] * {
  font-style: normal !important;
}

a { color: var(--text-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(11, 26, 27, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(9, 20, 21, 0.95);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.nav-inner,
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo .logo-img { height: 22px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a,
.nav-links .nav-link {
  color: var(--text-light-secondary);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links .nav-link:hover,
.nav-links a.active,
.nav-links .nav-link.active {
  color: var(--text-light);
}

.nav-links .btn-nav {
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 20px;
  margin-left: 8px;
}
body[dir="rtl"] .nav-links .btn-nav { margin-left: 0; margin-right: 8px; }
.nav-links .btn-nav:hover { background: var(--gold-light); color: var(--bg-dark); }

.lang-toggle,
.language-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 3px;
  margin-left: 12px;
}

body[dir="rtl"] .lang-toggle,
body[dir="rtl"] .language-toggle { margin-left: 0; margin-right: 12px; }

.lang-toggle button,
.language-toggle button,
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-light-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.lang-toggle button.active,
.language-toggle button.active,
.lang-btn.active {
  background: var(--gold);
  color: var(--bg-dark);
}

/* Mobile hamburger */
.nav-hamburger,
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span,
.hamburger-menu span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 900px) {
  .nav-hamburger, .hamburger-menu { display: flex; z-index: 1001; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(9, 20, 21, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    border-bottom: 1px solid var(--border-glass);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a, .nav-links .nav-link { width: 100%; padding: 14px 16px; }
  .lang-toggle, .language-toggle { margin: 12px 0 0 0; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 24px 100px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d2324 50%, var(--bg-dark) 100%);
}

/* Wave texture overlay */
.hero .wave-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  overflow: hidden;
}

.hero .wave-bg svg {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 110%;
  height: 80%;
}


.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 1px;
  background: var(--border-glass);
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1,
.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

.hero h1 .accent,
.hero-heading .accent {
  color: var(--gold);
}

.hero p,
.hero-subtitle p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-light-secondary);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta,
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
  box-shadow: 0 8px 30px rgba(254,212,95,0.25);
}

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* --- Glass Card Component --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color var(--transition), background var(--transition);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  background: var(--glass-bg-hover);
}

.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 14px;
  letter-spacing: 0;
}

.glass-card p {
  color: var(--text-light-secondary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

/* White top accent variant */
.glass-card--gold {
  border-top: 2px solid rgba(255,255,255,0.25);
}

.glass-card--gold:hover {
  border-top-color: rgba(255,255,255,0.5);
}

/* --- Sections --- */
.section {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

.section .container,
.services-container,
.why-miza-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-header h2,
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text-light);
  letter-spacing: 0;
}

.section-header p,
.section-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-light-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* --- Services Section (warm offset) --- */
.services-overview,
.services-section {
  position: relative;
  z-index: 1;
  padding: 110px 0;
  background: var(--bg-warm);
  overflow: hidden;
}

.services-overview .section-header h2,
.services-section .section-header h2 {
  color: var(--text-dark);
}

.services-overview .glass-card {
  background: var(--bg-warm-card);
  backdrop-filter: none;
  border: 1px solid var(--border-warm);
}

.services-overview .glass-card:hover {
  background: var(--bg-warm-card);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.services-overview .glass-card h3 {
  color: var(--text-dark);
}

.services-overview .glass-card p {
  color: var(--text-dark-secondary);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Service cards on warm bg */
.service-card {
  background: var(--bg-warm-card);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 40px 36px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.15;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 14px;
  color: var(--text-dark);
  letter-spacing: 0;
}

.service-card p {
  color: var(--text-dark-secondary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

/* --- Why Miza / Split Layout Section --- */
.why-miza {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0e2526 100%);
  overflow: hidden;
}


.why-miza::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(254,212,95,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.why-miza .section-header {
  text-align: left;
  margin-bottom: 0;
}

body[dir="rtl"] .why-miza .section-header { text-align: right; }

.why-miza .section-header h2 { color: var(--text-light); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Split layout: heading left, cards right */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.split-layout .split-heading {
  position: sticky;
  top: 120px;
}

.split-layout .split-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 20px;
}

.split-layout .split-heading p {
  color: var(--text-light-secondary);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  max-width: 420px;
}

.split-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-layout .split-heading { position: static; }
}

/* Why card */
.why-card {
  padding: 0 0 0 20px;
  border-left: 2px solid rgba(255,255,255,0.20);
}

body[dir="rtl"] .why-card {
  border-left: none;
  padding: 0 20px 0 0;
  border-right: 2px solid rgba(255,255,255,0.20);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 10px;
  color: var(--text-light);
  letter-spacing: 0;
}

.why-card p {
  color: var(--text-light-secondary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

/* --- Light Sections --- */
.section-light {
  background: var(--bg-warm);
  color: var(--text-dark);
}

.section-light .section-header h2,
.section-light .section-title,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5 {
  color: var(--text-dark);
}

.section-light .section-header p,
.section-light p {
  color: var(--text-dark-secondary);
}

.section-light .section-label {
  color: var(--text-dark-secondary);
}

.section-light a { color: var(--text-dark); }
.section-light a:hover { color: var(--text-dark-secondary); }

.section-light .content-block {
  background: var(--bg-warm-card);
  backdrop-filter: none;
  border-color: var(--border-warm);
}

.section-light .content-block:hover {
  background: var(--bg-warm-card);
  border-color: rgba(0,0,0,0.12);
}

.section-light .content-block h3 { color: var(--text-dark); }
.section-light .content-block p { color: var(--text-dark-secondary); }

.section-light .glass-card {
  background: var(--bg-warm-card);
  backdrop-filter: none;
  border: 1px solid var(--border-warm);
}

.section-light .glass-card:hover {
  background: var(--bg-warm-card);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.section-light .glass-card h3 { color: var(--text-dark); }
.section-light .glass-card p { color: var(--text-dark-secondary); }

.section-light .team-card {
  background: var(--bg-warm-card);
  backdrop-filter: none;
  border-color: var(--border-warm);
}

.section-light .team-card:hover { border-color: rgba(0,0,0,0.12); }
.section-light .team-card h4 { color: var(--text-dark); }
.section-light .team-card .role { color: var(--text-dark-secondary); }

.section-light .info-table {
  background: var(--bg-warm-card);
  backdrop-filter: none;
  border-color: var(--border-warm);
}

.section-light .info-table th {
  background: rgba(0,0,0,0.02);
  color: var(--text-dark-secondary);
}

.section-light .info-table td { color: var(--text-dark); }
.section-light .info-table th,
.section-light .info-table td { border-bottom-color: var(--border-warm); }

.section-light .contact-info-item {
  background: var(--bg-warm-card);
  backdrop-filter: none;
  border: 1px solid var(--border-warm);
}

.section-light .contact-info-item:hover {
  background: var(--bg-warm-card);
  border-color: rgba(0,0,0,0.12);
}

.section-light .contact-content h4 { color: var(--text-dark-secondary); }
.section-light .contact-content p { color: var(--text-dark); }
.section-light .contact-content a { color: var(--text-dark); }

.section-light .complaint-notice {
  background: rgba(0,0,0,0.02);
  border-color: var(--border-warm);
  border-left-color: var(--gold-dim);
}

.section-light .complaint-notice h5 { color: var(--text-dark); }
.section-light .complaint-notice p { color: var(--text-dark-secondary); }

.section-light .org-node {
  background: var(--bg-warm-card);
  backdrop-filter: none;
  border-color: var(--border-warm);
}

.section-light .org-node:hover { border-color: rgba(0,0,0,0.12); }
.section-light .org-node.head {
  border-color: var(--border-warm);
  background: rgba(0,0,0,0.02);
}

.section-light .org-node h5 { color: var(--text-dark); }
.section-light .org-node span { color: var(--text-dark-secondary); }
.section-light .org-connector { background: var(--border-warm); }
.section-light .org-hline { background: var(--border-warm); }

.section-light .license-strip {
  background: var(--bg-warm-card);
  border-color: var(--border-warm);
}

.section-light .license-strip .label { color: var(--text-dark-secondary); }
.section-light .license-strip .value { color: var(--text-dark); }

.services-overview a,
.why-miza a { color: var(--gold); }
.services-overview a:hover,
.why-miza a:hover { color: var(--gold-light); }

/* --- Stats Bar --- */
.stats-bar {
  position: relative;
  z-index: 1;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 0;
}

.stats-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .stats-container { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px 28px;
  border-right: 1px solid var(--border-glass);
}

body[dir="rtl"] .stat-item { border-right: none; border-left: 1px solid var(--border-glass); }
.stat-item:last-child { border-right: none; }
body[dir="rtl"] .stat-item:last-child { border-left: none; }

.stat-label {
  font-size: 11px;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 400;
}

.stat-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
}

/* --- Regulatory Strip --- */
.regulatory-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 24px 0;
  background: rgba(254,212,95,0.02);
}

.regulatory-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.regulatory-item { display: flex; flex-direction: column; gap: 2px; }
.regulatory-item strong {
  font-size: 11px; color: var(--text-light-muted);
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500;
}
.regulatory-item > span { font-size: 15px; font-weight: 600; color: var(--text-light); }

/* --- Page Header (inner pages) --- */
.page-header {
  position: relative;
  z-index: 1;
  padding: 160px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d2324 100%);
  overflow: hidden;
}


.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 16px;
  color: var(--text-light);
  letter-spacing: 0;
  position: relative;
}

.page-header p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-light-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* --- Content Blocks (glass cards on dark) --- */
.content-block {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 24px;
  transition: background var(--transition), border-color var(--transition);
}

.content-block:hover {
  background: var(--glass-bg-hover);
  border-color: var(--border-glass-hover);
}

.content-block h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 18px;
  letter-spacing: 0;
}

.content-block h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-light);
}

.content-block p {
  color: var(--text-light-secondary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 12px;
}

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

/* Callout block */
.content-block.callout-block {
  border-left: 3px solid var(--gold);
  background: rgba(254,212,95,0.03);
}

body[dir="rtl"] .content-block.callout-block {
  border-left: 1px solid var(--border-glass);
  border-right: 3px solid var(--gold);
}

/* --- Info Table --- */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}

body[dir="rtl"] .info-table th,
body[dir="rtl"] .info-table td { text-align: right; }

.info-table th {
  background: rgba(255,255,255,0.03);
  color: var(--text-light-secondary);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 35%;
}

.info-table td { color: var(--text-light); font-size: 15px; }
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

/* --- Team Cards --- */
.team-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 28px;
  transition: border-color var(--transition);
}

.team-card:hover {
  border-color: var(--border-glass-hover);
}

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 4px;
  color: var(--text-light);
}

.team-card .role {
  font-size: 13px;
  color: var(--text-light-secondary);
  font-weight: 500;
}

/* --- Org Chart --- */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.org-connector {
  width: 2px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto;
}

.org-hline {
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto;
  width: 50%;
}

.org-node {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 18px 28px;
  text-align: center;
  min-width: 180px;
  transition: border-color var(--transition);
}

.org-node:hover { border-color: var(--border-glass-hover); }

.org-node.head {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}

.org-node h5 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 2px;
}

.org-node span {
  font-size: 12px;
  color: var(--text-light-secondary);
}

/* --- Org Chart: Grid Layout with Dual Reporting --- */
.org-chart-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  max-width: 600px;
  margin: 0 auto;
}

.org-grid-board {
  display: flex;
  justify-content: center;
  width: 100%;
}

.org-grid-connectors-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  width: 100%;
  height: 36px;
  position: relative;
}

/* Horizontal line connecting the two vertical drops */
.org-grid-connectors-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: var(--border-warm);
}

.org-vline {
  width: 2px;
  height: 100%;
  z-index: 1;
}

.org-vline-solid {
  background: var(--border-warm);
}

.org-vline-dashed {
  background: none;
  border-left: 2px dashed var(--border-warm);
}

.org-grid-level2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 24px;
  width: 100%;
}

.org-grid-level2 .org-node {
  min-width: 180px;
  width: 100%;
  max-width: 240px;
}

.org-grid-connectors-bot {
  width: 50%;
  align-self: flex-start;
  display: flex;
  justify-content: center;
  height: 36px;
}

.org-grid-level3 {
  display: flex;
  justify-content: center;
  gap: 24px;
  position: relative;
  width: 50%;
  align-self: flex-start;
}

.org-grid-level3-hline {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  height: 2px;
  background: var(--border-warm);
}

/* Vertical stubs from hline down to each level3 node */
.org-grid-level3 .org-node {
  position: relative;
}
.org-grid-level3 .org-node::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: 2px;
  height: 12px;
  background: var(--border-warm);
}

.section-light .org-grid-connectors-top::after,
.section-light .org-grid-level3-hline,
.section-light .org-grid-level3 .org-node::before {
  background: var(--border-warm);
}

@media (max-width: 480px) {
  .org-chart-grid { max-width: 100%; }
  .org-grid-level2 .org-node { min-width: 140px; padding: 14px 16px; }
  .org-grid-level3 { width: 100%; }
  .org-grid-connectors-bot { width: 100%; }
}

/* --- Accordion --- */
.accordion { display: flex; flex-direction: column; gap: 8px; }

.accordion-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.accordion-item.open { border-color: rgba(255,255,255,0.15); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  transition: background var(--transition);
  user-select: none;
}

.accordion-header:hover { background: rgba(255,255,255,0.02); }

.accordion-header h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0;
}

.accordion-header .chevron {
  color: var(--text-light-muted);
  font-size: 18px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.accordion-item.open .chevron { transform: rotate(180deg); }

.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }

.accordion-body-inner {
  padding: 0 24px 24px;
  color: var(--text-light-secondary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
}

.accordion-body-inner h5 {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.accordion-body-inner ul { list-style: none; padding: 0; }

.accordion-body-inner ul li {
  padding: 4px 0 4px 20px;
  position: relative;
}

.accordion-body-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.5;
}

body[dir="rtl"] .accordion-body-inner ul li { padding: 4px 20px 4px 0; }
body[dir="rtl"] .accordion-body-inner ul li::before { left: auto; right: 0; }

/* --- Contact Items --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 60px 0;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-column { display: flex; flex-direction: column; gap: 24px; }

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: background var(--transition), border-color var(--transition);
}

.contact-info-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--border-glass-hover);
}

.contact-content h4 {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.contact-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2px;
}

.contact-content a { color: var(--text-light); font-weight: 500; }

/* Complaint notice */
.complaint-notice {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--gold);
  padding: 28px;
  border-radius: 16px;
}

body[dir="rtl"] .complaint-notice {
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 3px solid var(--gold);
}

.complaint-notice h5 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 12px;
}

.complaint-notice p {
  font-size: 14px;
  color: var(--text-light-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

.complaint-notice p:last-child { margin-bottom: 0; }

/* --- Contact Form (retained) --- */
.contact-form-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 36px;
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 28px;
  color: var(--text-light);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text-light);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light-muted); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(254,212,95,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aaba5' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

body[dir="rtl"] .form-group select {
  background-position: left 12px center;
  padding-right: 16px;
  padding-left: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.contact-form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* --- Card (generic) --- */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 36px;
  transition: border-color var(--transition), background var(--transition);
}

.card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--border-glass-hover);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-light-secondary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.card-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

/* --- License Strip --- */
.license-strip {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin: 40px 0;
  text-align: center;
}

.license-strip .item { display: flex; flex-direction: column; gap: 2px; }
.license-strip .label {
  font-size: 11px; color: var(--text-light-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.license-strip .value { font-size: 14px; font-weight: 600; color: var(--text-light); }

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
  padding: 48px 0 32px;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-logo-img { height: 18px; width: auto; opacity: 0.5; }

.footer-disclosure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-disclosure p {
  color: var(--text-light-muted);
  font-size: 13px;
  line-height: 1.75;
}

.footer-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}

.footer-contact a {
  color: var(--text-light-muted);
  transition: color var(--transition);
}

.footer-contact a[href^="tel:"]::before { content: "☎  "; }
.footer-contact a[href^="mailto:"]::before { content: "✉  "; }

.footer-contact a:hover { color: var(--text-light); }

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
}

.footer-bottom p { color: var(--text-light-muted); font-size: 12px; margin: 0; }

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Language Toggle Content --- */
[data-lang="ar"] { display: none; }
body[dir="rtl"] [data-lang="en"] { display: none; }
body[dir="rtl"] [data-lang="ar"] { display: block; }

span[data-lang="ar"], a[data-lang="ar"] { display: none; }
body[dir="rtl"] span[data-lang="en"], body[dir="rtl"] a[data-lang="en"] { display: none; }
body[dir="rtl"] span[data-lang="ar"], body[dir="rtl"] a[data-lang="ar"] { display: inline; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal-accent); }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .contact-form-card { padding: 24px; }
  .contact-info-item { padding: 16px; }
  .content-block { padding: 28px; }
  .service-card { padding: 28px 24px; }
  .section { padding: 80px 0; }
  .page-header { padding: 130px 0 50px; }
  .hero { min-height: 80vh; }
}
