
    :root {
      --gold: #CFA634;
      --sand: #E8D9B5;
      --blue: #0C2C56;
      --black: #111111;
      --text: #1A1A1A;
    }

    html, body {
      height: 100%;
      margin: 0;
      background: #ffffff;
    }

    body {
      font-family: "El Messiri", system-ui, -apple-system, "Segoe UI", sans-serif;
      color: var(--text);
    }

    /* Egyptian motif border */
    .motif {
      background:
        repeating-linear-gradient(
          90deg,
          var(--gold) 0,
          var(--gold) 16px,
          transparent 16px,
          transparent 24px
        ),
        linear-gradient(var(--sand), var(--sand));
      height: 12px;
      width: 100%;
    }

    /* Header */
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 16px;
      border-bottom: 1px solid rgba(0,0,0,0.08);
      background: #fff;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    header .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none; /* removes underline */
      color: inherit;        /* keeps original colors */

    }
    header .brand img {
      height: 40px;
      width: auto;
      object-fit: contain;
    }
    header .brand .title {
      font-weight: 700;
      color: var(--blue);
      letter-spacing: 0.5px;
    }
    nav {
      display: flex;
      gap: 16px;
      font-family: "Inter", system-ui, sans-serif;
    }
    nav a {
      color: var(--blue);
      text-decoration: none;
      font-weight: 600;
    }
h1 {
  display: flex;
  justify-content: center;
}
/* Container */
.board {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Member */
.member {
  display: inline-block;
  cursor: pointer;
  text-align: center;
}

/* Image */
.member img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: 0.3s;
}

.member img:hover {
  transform: scale(1.03);
}

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
}

/* Popup content */
.popup-content {
  background: white;
  padding: 10px;
  position: relative;
  display: inline-block;   /* ✅ shrink to fit content */
  max-width: 90vw;         /* prevent overflow */
  max-height: 90vh;
  border-radius: 10px;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
}

/* Bio image (NEW) */
.popup img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;      /* ✅ natural width */
  height: auto;     /* ✅ natural height */
  object-fit: contain;
}

/* Responsive */
@media (max-width: 900px) {
  .member {
    width: 45%;
  }
}

@media (max-width: 500px) {
  .member {
    width: 100%;
  }
}

    .logo-wrap {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      background: rgba(255,255,255,0.6);
      padding: 8px 12px;
      border-radius: 10px;
      backdrop-filter: blur(4px);
      border: 1px solid rgba(0,0,0,0.06);
    }
    .logo-wrap img {
      height: 56px;
      width: auto;
    }

    .highlight {
      display: inline-block;
      background: #f4f4b3d6;
      color: #000;
      padding: 8px 14px;
      border-radius: 10px;
      font-weight: 700;
    }

    /* Footer */
    footer {
      background: var(--sand);
      padding: 20px 16px;
      margin-top: 24px;
      border-top: 2px solid var(--gold);
    }
    footer .cols {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }
    footer h4 {
      margin: 0 0 8px;
      color: var(--blue);
    }
    footer p, footer a {
      margin: 0;
      color: var(--black);
      text-decoration: none;
    }

    /* English pairing (LTR areas) */
    .en {
      font-family: "Inter", system-ui, sans-serif;
      direction: ltr;
      text-align: left;
    }