@font-face {
  font-family:"IBM Plex Sans Arabic";
  src:url("../../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:"IBM Plex Sans Arabic";
  src:url("../../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:"IBM Plex Sans Arabic";
  src:url("../../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:"IBM Plex Sans Arabic";
  src:url("../../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
:root {
      --primary-dark:#071A38;
      --primary:#122B59;
      --blue:#006EEB;
      --logo:#B5A89B;
      --logo-dark:#8F8275;
      --logo-soft:#F1EEE9;
      --bg:#EEF1F4;
      --soft:#F6F8FC;
      --white:#FFFFFF;
      --text:#10213F;
      --muted:#657489;
      --line:rgba(18,43,89,.12);
      --shadow:0 24px 70px rgba(8,26,56,.13);
      --shadow-soft:0 14px 38px rgba(8,26,56,.08);
      --container:1180px;
      --wide:1880px;
    }

    * { box-sizing:border-box; margin:0; padding:0; }
    html { scroll-behavior:smooth; }

    body {
      font-family:"IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
      background:#fff;
      color:var(--text);
      line-height:1.8;
      overflow-x:hidden;
    }

    a { color:inherit; text-decoration:none; }
    img { max-width:100%; display:block; }
    button { font-family:inherit; }

    .container {
      width:min(var(--container), calc(100% - 40px));
      margin-inline:auto;
    }

    .wide {
      max-width:var(--wide);
      margin-inline:auto;
    }

    .top-shell {
      background:var(--bg);
      padding:16px 20px 54px;
    }

    .site-header {
      position:sticky;
      top:16px;
      z-index:70;
      background:rgba(255,255,255,.94);
      backdrop-filter:blur(18px);
      border-radius:22px;
      padding:0 34px;
      min-height:86px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:28px;
      box-shadow:0 12px 35px rgba(8,26,56,.06);
      border:1px solid rgba(255,255,255,.7);
    }

    .brand {
      display:flex;
      align-items:center;
      gap:14px;
      min-width:max-content;
    }

    .brand-logo {
      display:block;
      width:182px;
      height:auto;
      max-height:58px;
    }

    .site-header .brand {
      padding:8px 14px;
      border-radius:18px;
      background:var(--primary);
      box-shadow:0 12px 28px rgba(8,26,56,.10);
    }

    .brand-mark {
      width:54px;
      height:54px;
      color:var(--logo-dark);
      position:relative;
      display:grid;
      place-items:center;
      flex:0 0 auto;
    }

    .brand-mark::before,
    .brand-mark::after {
      content:"";
      position:absolute;
      border:5px solid currentColor;
      border-radius:42% 58% 42% 58%;
      transform:rotate(45deg);
    }

    .brand-mark::before { inset:4px; }
    .brand-mark::after { inset:18px; border-width:3px; transform:rotate(0deg); }

    .brand-text strong {
      display:block;
      color:var(--primary);
      font-size:20px;
      line-height:1.15;
      letter-spacing:-.4px;
      font-weight:700;
    }

    .brand-text span {
      display:block;
      color:#6E7C90;
      font-size:11px;
      line-height:1.45;
      margin-top:3px;
      font-weight:500;
    }

    .nav {
      display:flex;
      align-items:center;
      justify-content:center;
      gap:30px;
      font-size:15px;
      font-weight:700;
      color:#18314F;
      flex:1;
    }

    .nav a {
      display:inline-flex;
      align-items:center;
      padding:31px 0;
      transition:.22s ease;
    }

    .nav a:hover,
    .nav a.active {
      color:var(--logo-dark);
    }

    .header-left {
      display:flex;
      align-items:center;
      gap:22px;
      min-width:max-content;
    }

    .search {
      width:42px;
      height:42px;
      display:grid;
      place-items:center;
      border:0;
      background:transparent;
      color:#18314F;
      font-size:23px;
      cursor:pointer;
      border-radius:50%;
      transition:.22s ease;
    }

    .search:hover { background:var(--logo-soft); color:var(--logo-dark); }

    .header-social {
      display:flex;
      align-items:center;
      gap:8px;
      direction:ltr;
    }

    .social-icon {
      width:42px;
      height:42px;
      display:grid;
      place-items:center;
      border-radius:50%;
      background:#fff;
      border:1px solid rgba(18,43,89,.12);
      box-shadow:0 8px 22px rgba(8,26,56,.06);
      transition:.22s ease;
    }

    .social-icon:hover {
      transform:translateY(-2px);
      background:var(--logo-soft);
    }

    .social-icon img {
      width:18px;
      height:18px;
      object-fit:contain;
    }

    .btn {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      min-height:50px;
      padding:12px 22px;
      border-radius:999px;
      border:1px solid rgba(18,43,89,.32);
      background:#fff;
      color:var(--primary);
      font-size:14px;
      font-weight:700;
      cursor:pointer;
      transition:.25s ease;
      white-space:nowrap;
    }

    .btn:hover {
      background:var(--primary);
      color:#fff;
      transform:translateY(-2px);
      box-shadow:0 18px 35px rgba(18,43,89,.18);
    }

    .btn-solid {
      background:var(--primary);
      color:#fff;
      border-color:var(--primary);
      box-shadow:0 18px 36px rgba(18,43,89,.18);
    }

    .btn-logo {
      background:var(--logo-dark);
      color:#fff;
      border-color:var(--logo-dark);
      box-shadow:0 18px 36px rgba(143,130,117,.18);
    }

    .menu-toggle {
      display:none;
      width:48px;
      height:48px;
      border-radius:50%;
      border:1px solid var(--line);
      background:#fff;
      color:var(--primary);
      font-size:24px;
      cursor:pointer;
    }

    .page-hero {
      position:relative;
      min-height:440px;
      margin-top:32px;
      border-radius:20px;
      overflow:hidden;
      background:
        linear-gradient(90deg, rgba(7,26,56,.96) 0%, rgba(18,43,89,.86) 48%, rgba(18,43,89,.50) 100%),
        url('../../img/eventhero.webp') center/cover;
      box-shadow:var(--shadow);
    }

    .page-hero::after {
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(circle at 16% 18%, rgba(181,168,155,.24), transparent 30%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px);
      pointer-events:none;
    }

    .hero-logo {
      position:absolute;
      z-index:1;
      left:7%;
      top:12%;
      width:360px;
      height:360px;
      opacity: 0.06;
      pointer-events: none;
    }

    .page-hero-inner {
      position:relative;
      z-index:2;
      min-height:440px;
      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
      padding:70px 40px;
    }

    .page-hero h1 {
      color:#fff;
      font-size:clamp(46px, 6vw, 82px);
      line-height:1.15;
      letter-spacing:-2px;
      margin-bottom:18px;
      font-weight:700;
    }

    .page-hero p {
      max-width:760px;
      margin-inline:auto;
      color:rgba(255,255,255,.78);
      font-size:18px;
      line-height:2;
    }

    .events-page {
      padding:86px 0 96px;
      background:#fff;
    }

    .section-head {
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:30px;
      margin-bottom:38px;
    }

    .kicker {
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--logo-dark);
      font-size:14px;
      font-weight:700;
      margin-bottom:10px;
    }

    .kicker::before {
      content:"";
      width:38px;
      height:2px;
      background:var(--logo);
    }

    .section-head h2 {
      color:var(--primary);
      font-size:clamp(32px, 4vw, 52px);
      line-height:1.25;
      letter-spacing:-1.2px;
      font-weight:700;
    }

    .section-head p {
      color:var(--muted);
      max-width:650px;
      margin-top:10px;
      font-size:16px;
      line-height:2;
    }

    .featured-event {
      display:grid;
      grid-template-columns:.94fr 1.06fr;
      gap:28px;
      align-items:stretch;
      margin-bottom:54px;
    }

    .featured-image {
      min-height:580px;
      border-radius:36px;
      overflow:hidden;
      position:relative;
      box-shadow:var(--shadow-soft);
      background:
        linear-gradient(0deg, rgba(7,26,56,.56), transparent 58%),
        url('../../img/eventhero.webp') center/cover;
    }

    .featured-image::after {
      content:"";
      position:absolute;
      inset:18px;
      border:1px solid rgba(255,255,255,.18);
      border-radius:26px;
      pointer-events:none;
    }

    .event-date-badge {
      position:absolute;
      right:28px;
      top:28px;
      width:108px;
      height:108px;
      border-radius:30px;
      background:#fff;
      color:var(--primary);
      display:grid;
      place-items:center;
      text-align:center;
      box-shadow:0 20px 42px rgba(0,0,0,.18);
      border-bottom:6px solid var(--logo);
      z-index:2;
    }

    .event-date-badge strong {
      display:block;
      font-size:34px;
      line-height:1;
      font-weight:700;
    }

    .event-date-badge span {
      display:block;
      font-size:13px;
      color:var(--logo-dark);
      font-weight:700;
      margin-top:6px;
    }

    .featured-content {
      border-radius:36px;
      padding:38px;
      background:
        radial-gradient(circle at 12% 18%, rgba(181,168,155,.18), transparent 26%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
      color:#fff;
      overflow:hidden;
      position:relative;
      box-shadow:var(--shadow-soft);
      display:flex;
      flex-direction:column;
      justify-content:center;
    }

    .featured-content::after {
      content:"اللقاءات";
      position:absolute;
      left:24px;
      bottom:-8px;
      color:rgba(255,255,255,.06);
      font-size:90px;
      line-height:1;
      font-weight:700;
    }

    .status {
      display:inline-flex;
      width:max-content;
      align-items:center;
      gap:8px;
      padding:8px 14px;
      border-radius:999px;
      background:rgba(181,168,155,.18);
      border:1px solid rgba(181,168,155,.25);
      color:#F3EBDD;
      font-size:13px;
      font-weight:700;
      margin-bottom:18px;
      position:relative;
      z-index:2;
    }

    .featured-content h2 {
      color:#fff;
      font-size:clamp(32px, 4vw, 48px);
      line-height:1.35;
      letter-spacing:-1px;
      font-weight:700;
      margin-bottom:14px;
      position:relative;
      z-index:2;
    }

    .featured-content p {
      color:rgba(255,255,255,.74);
      font-size:16px;
      line-height:2;
      margin-bottom:26px;
      position:relative;
      z-index:2;
    }

    .event-info-grid {
      display:grid;
      grid-template-columns:repeat(2, 1fr);
      gap:12px;
      margin-bottom:26px;
      position:relative;
      z-index:2;
    }

    .event-info {
      padding:15px 16px;
      border-radius:18px;
      background:rgba(255,255,255,.10);
      border:1px solid rgba(255,255,255,.13);
    }

    .event-info span {
      display:block;
      color:var(--logo);
      font-size:12px;
      font-weight:700;
      margin-bottom:4px;
    }

    .event-info strong {
      display:block;
      color:#fff;
      font-size:15px;
      line-height:1.5;
      font-weight:700;
    }

    .countdown {
      display:grid;
      grid-template-columns:repeat(4, 1fr);
      gap:10px;
      margin-bottom:28px;
      position:relative;
      z-index:2;
    }

    .count-item {
      min-height:88px;
      border-radius:20px;
      display:grid;
      place-items:center;
      text-align:center;
      background:#fff;
      color:var(--primary);
      box-shadow:0 14px 32px rgba(0,0,0,.10);
    }

    .count-item strong {
      display:block;
      font-size:30px;
      line-height:1;
      font-weight:700;
    }

    .count-item span {
      display:block;
      color:var(--logo-dark);
      font-size:12px;
      font-weight:700;
      margin-top:7px;
    }

    .featured-actions {
      display:flex;
      align-items:center;
      gap:12px;
      flex-wrap:wrap;
      position:relative;
      z-index:2;
    }

    .events-grid {
      display:grid;
      grid-template-columns:repeat(3, 1fr);
      gap:24px;
      align-items:stretch;
    }

    .event-card {
      background:#fff;
      border:1px solid var(--line);
      border-radius:32px;
      overflow:hidden;
      box-shadow:0 12px 34px rgba(8,26,56,.055);
      transition:.25s ease;
      display:flex;
      flex-direction:column;
    }

    .event-card:hover {
      transform:translateY(-6px);
      box-shadow:0 24px 60px rgba(8,26,56,.12);
      border-color:rgba(181,168,155,.45);
    }

    .event-card-image {
      min-height:250px;
      position:relative;
      background:center/cover;
    }

    .event-card:nth-child(1) .event-card-image {
      background-image:
        linear-gradient(0deg, rgba(7,26,56,.35), transparent),
        url('https://images.unsplash.com/photo-1528605248644-14dd04022da1?auto=format&fit=crop&w=900&q=80');
    }

    .event-card:nth-child(2) .event-card-image {
      background-image:
        linear-gradient(0deg, rgba(7,26,56,.35), transparent),
        url('https://images.unsplash.com/photo-1515187029135-18ee286d815b?auto=format&fit=crop&w=900&q=80');
    }

    .event-card:nth-child(3) .event-card-image {
      background-image:
        linear-gradient(0deg, rgba(7,26,56,.35), transparent),
        url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=900&q=80');
    }

    .event-card:nth-child(4) .event-card-image {
      background-image:
        linear-gradient(0deg, rgba(7,26,56,.35), transparent),
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80');
    }

    .event-card:nth-child(5) .event-card-image {
      background-image:
        linear-gradient(0deg, rgba(7,26,56,.35), transparent),
        url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=900&q=80');
    }

    .event-card:nth-child(6) .event-card-image {
      background-image:
        linear-gradient(0deg, rgba(7,26,56,.35), transparent),
        url('https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=900&q=80');
    }

    .small-date {
      position:absolute;
      right:18px;
      bottom:18px;
      min-width:78px;
      padding:11px 13px;
      border-radius:18px;
      background:#fff;
      color:var(--primary);
      text-align:center;
      box-shadow:0 15px 34px rgba(0,0,0,.16);
      border-bottom:5px solid var(--logo);
    }

    .small-date strong {
      display:block;
      font-size:24px;
      line-height:1;
      font-weight:700;
    }

    .small-date span {
      display:block;
      color:var(--logo-dark);
      font-size:12px;
      font-weight:700;
      margin-top:5px;
    }

    .event-card-body {
      padding:24px;
      display:flex;
      flex-direction:column;
      flex:1;
    }

    .event-card-body h3 {
      color:var(--primary);
      font-size:22px;
      line-height:1.5;
      font-weight:700;
      margin-bottom:10px;
    }

    .event-card-body p {
      color:var(--muted);
      font-size:14px;
      line-height:1.95;
      margin-bottom:18px;
    }

    .mini-info {
      display:grid;
      gap:8px;
      margin-bottom:20px;
    }

    .mini-info span {
      display:flex;
      align-items:center;
      gap:8px;
      color:#31435F;
      font-size:13px;
      font-weight:600;
    }

    .mini-info span::before {
      content:"";
      width:7px;
      height:7px;
      border-radius:50%;
      background:var(--logo);
      flex:0 0 auto;
    }

    .event-card-body .btn {
      margin-top:auto;
      align-self:flex-start;
    }

    .past-section {
      margin-top:86px;
      padding-top:86px;
      border-top:1px solid var(--line);
    }

    .past-section .event-card {
      background:linear-gradient(180deg, #fff, #FBFCFE);
    }

    .past-section .event-card-image::after {
      content:"لقاء سابق";
      position:absolute;
      left:18px;
      top:18px;
      padding:7px 12px;
      border-radius:999px;
      background:rgba(255,255,255,.92);
      color:var(--primary);
      font-size:12px;
      font-weight:700;
      box-shadow:0 12px 26px rgba(0,0,0,.12);
    }

    .footer {
      background:var(--primary-dark);
      color:#fff;
      padding:66px 0 24px;
      border-top:8px solid var(--logo);
    }

    .footer-grid {
      display:grid;
      grid-template-columns:1.15fr .85fr .85fr;
      gap:34px;
      margin-bottom:44px;
    }

    .footer .brand-mark { color:var(--logo); }
    .footer .brand-text strong { color:#fff; }

    .footer .brand-text span,
    .footer p,
    .footer li,
    .footer a {
      color:rgba(255,255,255,.64);
      font-size:14px;
    }

    .footer p {
      max-width:330px;
      margin-top:16px;
    }

    .footer h3 {
      font-size:17px;
      margin-bottom:16px;
      color:#fff;
      font-weight:700;
    }

    .footer ul {
      list-style:none;
      display:grid;
      gap:9px;
    }

    .footer a:hover { color:#fff; }

    .copyright {
      padding-top:22px;
      border-top:1px solid rgba(255,255,255,.1);
      color:rgba(255,255,255,.54);
      font-size:13px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      flex-wrap:wrap;
    }

    .social {
      display:flex;
      align-items:center;
      gap:14px;
      direction:ltr;
    }

    .footer .social-icon {
      background:rgba(255,255,255,.95);
      border-color:rgba(255,255,255,.18);
      box-shadow:none;
    }

    @media (max-width:1200px) {
      .nav, .header-left { display:none; }
      .menu-toggle { display:grid; place-items:center; }

      .featured-event {
        grid-template-columns:1fr;
      }

      .featured-image {
        min-height:430px;
      }

      .events-grid {
        grid-template-columns:repeat(2, 1fr);
      }

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

    @media (max-width:760px) {
      .top-shell { padding:10px 10px 40px; }
      .container { width:min(100% - 28px, var(--container)); }

      .site-header {
        top:10px;
        min-height:76px;
        padding:0 16px;
        border-radius:18px;
      }

      .brand-mark { width:44px; height:44px; }
      .brand-mark::before { border-width:3px; }
      .brand-mark::after { inset:16px; border-width:2px; }
      .brand-text strong { font-size:17px; }
      .brand-text span { display:none; }

      .page-hero {
        min-height:360px;
        margin-top:18px;
        border-radius:18px;
      }

      .page-hero-inner {
        min-height:360px;
        padding:52px 22px;
      }

      .page-hero h1 {
        font-size:40px;
        letter-spacing:-1px;
      }

      .page-hero p {
        font-size:15px;
      }

      .events-page {
        padding:62px 0;
      }

      .section-head {
        display:block;
        margin-bottom:28px;
      }

      .section-head h2 {
        font-size:32px;
      }

      .featured-image {
        min-height:330px;
        border-radius:28px;
      }

      .featured-content {
        padding:28px 22px;
        border-radius:28px;
      }

      .event-info-grid,
      .countdown,
      .events-grid {
        grid-template-columns:1fr;
      }

      .countdown {
        grid-template-columns:repeat(2, 1fr);
      }

      .event-card {
        border-radius:26px;
      }

      .past-section {
        margin-top:62px;
        padding-top:62px;
      }

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

      .copyright {
        display:grid;
        justify-content:center;
        text-align:center;
      }

      .social {
        justify-content:center;
        flex-wrap:wrap;
      }
    }
