/* ==========================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================== */
:root {
  --teal: #1458a4;
  --teal-light: #1169cb;
  --teal-pale: #E6F5F5;
  --amber: #f5c958;
  --amber-soft: #FDF3E0;
  --navy: #124b8b;
  --navy-mid: #113b6a;
  --slate: #5A7184;
  --mist: #F4F8FB;
  --white: #FFFFFF;
  --border: #DCE8F0;
  --text-main: #1C2B3A;
  --text-soft: #5A7184;
  --text-muted: #8FA5B5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --shadow-sm: 0 1px 6px rgba(11, 123, 122, .08);
  --shadow-md: 0 4px 20px rgba(11, 123, 122, .12);
  --shadow-lg: 0 12px 48px rgba(11, 123, 122, .16);
  --font-primary: 'Cairo', 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
  --font-display: 'Cairo', 'Georgia', serif;
  --transition: 0.22s cubic-bezier(.4, 0, .2, 1);
}

/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  width: 100%;
  background: var(--white);
  color: var(--text-main);
  transition: border var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 123, 122, .12);
}

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

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.display {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.subhead {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
}

.label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.body-lg {
  font-size: 1.1rem;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-1 {
  gap: .5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.mt-1 {
  margin-top: .5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 3rem;
}

.mt-8 {
  margin-top: 4rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

.text-soft {
  color: var(--text-soft);
}

.text-teal {
  color: var(--teal);
}

.text-amber {
  color: var(--amber);
}

.text-white {
  color: var(--white);
}

.bg-mist {
  background: var(--mist);
}

.bg-teal {
  background: var(--teal);
}

.bg-navy {
  background: var(--navy);
}

.section {
  padding: 5rem 0;
}

.section--sm {
  padding: 3rem 0;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(11, 123, 122, .3);
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11, 123, 122, .4);
}

.btn-secondary {
  background: var(--white);
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-secondary:hover {
  background: var(--teal-pale);
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 160, 32, .3);
}

.btn-amber:hover {
  background: #d4911a;
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-soft);
  padding: .75rem 1.25rem;
}

.btn-ghost:hover {
  color: var(--teal);
}

.btn-sm {
  padding: .5rem 1.2rem;
  font-size: .85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card--featured {
  border-color: var(--teal);
  border-width: 2px;
}

.card-header {
  margin-bottom: 1.25rem;
}

.card-flag {
  width: 48px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ==========================================
   BADGES & TAGS
   ========================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}

.badge-teal {
  background: var(--teal-pale);
  color: var(--teal);
}

.badge-amber {
  background: var(--amber-soft);
  color: #9A6000;
}

.badge-navy {
  background: #E8EDF5;
  color: var(--navy);
}

/* ==========================================
   FORM ELEMENTS
   ========================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-section {
  background: var(--mist);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.form-section h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--teal);
}

.checkbox-group label {
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
}

.radio-scale {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.radio-scale input[type="radio"] {
  display: none;
}

.radio-scale label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-size: .95rem;
}

.radio-scale input[type="radio"]:checked+label {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.radio-scale label:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.field-hint {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .3rem;
}

/* ==========================================
   SECTION HEADINGS
   ========================================== */
.section-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .6rem;
  display: block;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: .75rem;
}

.section-sub {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 580px;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 100px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 240px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.logo-image {
  height: 50px;
  width: auto;
}

.logo-text strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.logo-text span {
  font-size: .7rem;
  color: var(--text-soft);
  letter-spacing: .03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: var(--teal-pale);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: .25rem;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: '▾';
  font-size: .7rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .5rem;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: all var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-main);
}

.nav-dropdown-menu a:hover {
  background: var(--teal-pale);
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: .4rem .75rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.nav-lang:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* Hamburger animation when menu is open */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* ==========================================
   PAGE ROUTER (SPA simulation)
   ========================================== */
.page {
  display: none;
  padding-top: 68px;
  animation: fadeIn .3s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   HERO – HOME
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0D5F6E 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(19, 168, 158, .25) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(232, 160, 32, .15) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  opacity: .06;
}

.hero-pattern svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--amber);
}

.hero p {
  color: rgba(255, 255, 255, .75);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat .lbl {
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
  margin-top: .1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 380px;
  max-width: 100%;
}

.hero-card-bg {
  position: absolute;
  width: 340px;
  height: 220px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
}

.hero-card-bg.c1 {
  top: -20px;
  right: -20px;
  transform: rotate(4deg);
}

.hero-card-bg.c2 {
  bottom: -20px;
  left: -10px;
  transform: rotate(-3deg);
  background: rgba(232, 160, 32, .15);
}

.hero-main-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1.75rem;
  color: white;
}

.hero-main-card .trust-label {
  font-size: .75rem;
  opacity: .7;
  margin-bottom: .5rem;
}

.trust-bar-wrap {
  background: rgba(255, 255, 255, .15);
  border-radius: 50px;
  height: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.trust-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--teal-light));
  border-radius: 50px;
}

.country-list-mini .country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
}

/* ==========================================
   THREE U's SECTION
   ========================================== */
.us-section {
  background: var(--mist);
}

.us-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.us-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.us-card.unite::before {
  background: var(--teal);
}

.us-card.unify::before {
  background: var(--amber);
}

.us-card.utilize::before {
  background: var(--navy);
}

.us-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.us-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.us-icon.teal {
  background: var(--teal-pale);
}

.us-icon.amber {
  background: var(--amber-soft);
}

.us-icon.navy {
  background: #E8EDF5;
}

.us-card h3 {
  font-size: 1.4rem;
  margin-bottom: .75rem;
}

.us-card p {
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.7;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy-mid) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.stat-item .lbl {
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  margin-top: .25rem;
}

/* ==========================================
   STORY CARDS
   ========================================== */
.story-card {
  cursor: pointer;
}

.story-card-img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(135deg, var(--teal-pale), var(--mist));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.story-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card-body {
  padding: 1.25rem;
}

.story-card-meta {
  display: flex;
  gap: .75rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}

.story-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  line-height: 1.4;
}

.story-card p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.story-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--text-muted);
}

/* ==========================================
   COUNTRY CARDS
   ========================================== */
.country-card {
  cursor: pointer;
}

.country-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.country-flag-lg {
  width: 56px;
  height: 38px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--teal-pale), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--border);
}

.country-card h3 {
  font-size: 1.1rem;
}

.country-card .sub {
  font-size: .82rem;
  color: var(--text-soft);
}

.mini-progress {
  height: 6px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
  margin-top: .4rem;
}

.mini-progress .fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
}

.mini-progress .fill.amber {
  background: linear-gradient(90deg, var(--amber), #F5C04A);
}

.country-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1rem;
}

.country-stat-mini {
  text-align: center;
  background: var(--mist);
  padding: .6rem;
  border-radius: var(--radius-sm);
}

.country-stat-mini .n {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}

.country-stat-mini .l {
  font-size: .7rem;
  color: var(--text-soft);
}

/* ==========================================
   WORKSHOP CARDS
   ========================================== */
.workshop-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--teal);
  color: white;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.workshop-date-badge .day {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.workshop-date-badge .month {
  font-size: .75rem;
  opacity: .85;
}

.workshop-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

.workshop-meta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.workshop-meta span {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  color: var(--text-soft);
}

.seats-bar {
  height: 6px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: .3rem;
}

.seats-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 50px;
}

.seats-lbl {
  font-size: .75rem;
  color: var(--text-soft);
}

/* ==========================================
   COURSE CARDS
   ========================================== */
.course-card {
  cursor: pointer;
}

.course-icon {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.course-icon.teal {
  background: linear-gradient(135deg, var(--teal-pale), #C5E9E9);
}

.course-icon.amber {
  background: linear-gradient(135deg, var(--amber-soft), #FAEACC);
}

.course-icon.navy {
  background: linear-gradient(135deg, #E8EDF5, #D0DCEB);
}

.course-body {
  padding: 1.25rem;
}

.course-body h3 {
  font-size: 1rem;
  margin-bottom: .75rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-soft);
}

.lessons-count {
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ==========================================
   MENTOR CARDS
   ========================================== */
.mentor-card {
  text-align: center;
}

.mentor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--teal-pale);
  overflow: hidden;
}

.mentor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-card h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
}

.mentor-card .role {
  font-size: .82rem;
  color: var(--teal);
  margin-bottom: .5rem;
}

.mentor-card .country {
  font-size: .8rem;
  color: var(--text-soft);
}

.mentor-tags {
  display: flex;
  gap: .4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: .75rem;
}

/* ==========================================
   DASHBOARD
   ========================================== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 68px);
}

.dash-sidebar {
  background: var(--navy);
  padding: 2rem 1.25rem;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}

.dash-sidebar .sidebar-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  padding: .5rem .75rem;
  margin-top: 1.5rem;
}

.dash-sidebar .sidebar-label:first-child {
  margin-top: 0;
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: rgba(255, 255, 255, .65);
  transition: all var(--transition);
  margin-bottom: .15rem;
}

.dash-nav a:hover,
.dash-nav a.active {
  background: rgba(255, 255, 255, .1);
  color: white;
}

.dash-nav a .icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.dash-main {
  background: var(--mist);
  padding: 2rem;
  overflow-y: auto;
}

.dash-header {
  margin-bottom: 2rem;
}

.dash-header h2 {
  font-size: 1.6rem;
}

.dash-header p {
  color: var(--text-soft);
  font-size: .9rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.kpi-card .kpi-icon {
  font-size: 1.5rem;
  margin-bottom: .75rem;
}

.kpi-card .kpi-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.kpi-card .kpi-lbl {
  font-size: .8rem;
  color: var(--text-soft);
  margin-top: .15rem;
}

.kpi-card .kpi-delta {
  font-size: .78rem;
  color: #16A34A;
  font-weight: 600;
  margin-top: .5rem;
}

.chart-placeholder {
  background: var(--mist);
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-align: center;
  min-height: 220px;
}

.chart-placeholder .icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  opacity: .5;
}

.chart-bar-demo {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  height: 120px;
  margin: 1rem 0;
}

.chart-bar-demo .bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(0deg, var(--teal), var(--teal-light));
  transition: all var(--transition);
  cursor: pointer;
}

.chart-bar-demo .bar:hover {
  filter: brightness(1.1);
}

.chart-bar-demo .bar.amber {
  background: linear-gradient(0deg, var(--amber), #F5C04A);
}

.dash-charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.dash-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.activity-list .activity-item {
  display: flex;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}

.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  background: var(--teal);
}

.activity-dot.amber {
  background: var(--amber);
}

.activity-item .activity-text {
  font-size: .88rem;
  color: var(--text-main);
}

.activity-item .activity-time {
  font-size: .75rem;
  color: var(--text-muted);
}

/* ==========================================
   TIMELINE
   ========================================== */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: .85rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--teal-pale);
  z-index: 1;
}

.timeline-content {
  padding-top: .5rem;
}

.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: .25rem;
}

.timeline-content p {
  font-size: .88rem;
  color: var(--text-soft);
}

.timeline-content .year {
  font-size: .78rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: .3rem;
}

/* ==========================================
   TRUST SURVEY VISUAL
   ========================================== */
.survey-question {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.survey-question h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .5rem;
}

/* ==========================================
   GUIDELINES
   ========================================== */
.guideline-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.guideline-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.guideline-info {
  flex: 1;
}

.guideline-info h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
}

.guideline-info p {
  font-size: .82rem;
  color: var(--text-soft);
}

/* ==========================================
   PROFILE PAGE
   ========================================== */
.profile-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 8rem 0;
  color: white;
}

.profile-avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 4px solid rgba(255, 255, 255, .3);
  margin-bottom: 1rem;
}

.profile-tabs {
  display: flex;
  gap: .5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
}

.profile-tab {
  padding: .75rem 1.25rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-soft);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}

.profile-tab.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* ==========================================
   FILTERS BAR
   ========================================== */
.filters-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.filters-bar select {
  max-width: 200px;
}

.search-field {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-field input {
  padding-left: 2.5rem;
}

.search-field::before {
  content: '🔍';
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .85rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-mark {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer h4 {
  color: white;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: .5rem;
}

.footer ul li a {
  font-size: .85rem;
  transition: color var(--transition);
}

.footer ul li a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

.social-links {
  display: flex;
  gap: .75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background var(--transition);
}

.social-links a:hover {
  background: var(--teal);
}

.newsletter-inline {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 3rem;
}

.newsletter-inline h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: .4rem;
}

.newsletter-inline p {
  font-size: .85rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 440px;
}

.newsletter-form input {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  color: white;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.newsletter-form input:focus {
  border-color: var(--teal-light);
}

/* ==========================================
   PAGE-SPECIFIC: AUTH
   ========================================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.auth-visual {
  flex: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(232, 160, 32, .2) 0%, transparent 60%);
}

.auth-visual-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
}

.auth-visual h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.auth-visual p {
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
}

.auth-visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.auth-stat {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.auth-stat .n {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.auth-stat .l {
  font-size: .75rem;
  opacity: .7;
}

.auth-form-panel {
  width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: var(--white);
}

.auth-form-panel .auth-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.auth-form-panel h2 {
  font-size: 1.8rem;
  margin-bottom: .4rem;
}

.auth-form-panel .subtitle {
  color: var(--text-soft);
  font-size: .9rem;
  margin-bottom: 2rem;
}

.auth-footer-note {
  text-align: center;
  font-size: .88rem;
  color: var(--text-soft);
  margin-top: 1.5rem;
}

.auth-footer-note a {
  color: var(--teal);
  font-weight: 600;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider span {
  font-size: .8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ==========================================
   PARTNERSHIP PAGE
   ========================================== */
.partner-logos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.partner-logo-slot {
  width: 140px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: var(--mist);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  padding: .5rem;
}

/* ==========================================
   RTL SUPPORT
   ========================================== */
[dir="rtl"] {
  font-family: var(--font-arabic);
}

[dir="rtl"] .hero p,
[dir="rtl"] .section-sub {
  text-align: right;
}

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .form-row {
  direction: rtl;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }

  .dash-charts-row {
    grid-template-columns: 1fr;
  }

  .dash-bottom-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.open {
        display: flex;
    }
  .hero {
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .hero-visual {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

  .auth-form-panel {
    width: 100%;
    padding: 2rem;
  }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filters-bar select {
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   MOBILE MENU OVERLAY
   ========================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--white);
    padding: 5rem 2rem 2rem;
    display: none;
    flex-direction: column;
    gap: .5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    display: flex;
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    padding: .85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.mobile-menu a:hover {
    color: var(--teal);
    background: var(--teal-pale);
}

.mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-soft);
    padding: 0.5rem;
    line-height: 1;
}	

/* ==========================================
   MISC UTILITIES
   ========================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 9rem 0;
  color: white;
  text-align: center;
}

.page-hero h1 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: .75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, .7);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, .7);
}

.breadcrumb span {
  opacity: .5;
}

.tag-teal {
  background: var(--teal-pale);
  color: var(--teal);
  padding: .2rem .65rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
}

.tag-amber {
  background: var(--amber-soft);
  color: #9A6000;
  padding: .2rem .65rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
}

.divider-h {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: .9rem;
}

.alert-success {
  background: #ECFDF5;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.alert-info {
  background: var(--teal-pale);
  color: var(--teal);
  border: 1px solid #A7DFE0;
}

.inline-icon {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.separator {
  width: 48px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin: 1rem 0;
}

.separator.center {
  margin: 1rem auto;
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination .btn {
  min-width: 100px;
  justify-content: center;
}

/* ==========================================
   CARD BODY
   ========================================== */
.card-body {
  padding: 1.25rem;
}

/* ==========================================
   SERVICE CARD
   ========================================== */
.service-card {
  text-align: center;
}

/* ==========================================
   TESTIMONIAL CARD
   ========================================== */
.testimonial-card {
  text-align: center;
}

/* ==========================================
   PRICING CARD
   ========================================== */
.pricing-card {
  position: relative;
  text-align: center;
}

/* ==========================================
   MENTOR CARD
   ========================================== */
.mentor-card {
  text-align: center;
}

/* ==========================================
   WORKSHOP REGISTRATION
   ========================================== */
.workshop-reg-form {
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================
   SURVEY QUESTION
   ========================================== */
.survey-question {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.survey-question h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--navy);
}