  :root{
    --ink:      #000878;
    --onyx:     #1a1a1a;
    --mauve:    #7c7287;
    --sky:      #6ccff6;
    --paper:    #f6f7fb;
    --white:    #ffffff;
    --ink-soft: #0a1470;
    --mx: 50%;
    --my: 40%;
    --maxw: 1180px;
    --font: 'Almarai', 'Segoe UI', sans-serif;
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    font-family:var(--font);
    background:var(--paper);
    color:var(--onyx);
    line-height:1.75;
    overflow-x:hidden;
  }
  /* one continuous background behind hero→about→vision→goals→stats,
     so the gradient never restarts/seams at a section boundary */
  .navy-cluster{background:linear-gradient(135deg, #000878 0%, #10125c 100%);}
  img,svg{display:block;max-width:100%;}
  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}
  section{position:relative;}
  section[id]{scroll-margin-top:100px;}
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;}
  .eyebrow{
    display:inline-flex;align-items:center;gap:10px;
    font-size:13px;font-weight:700;letter-spacing:.4px;
    color:var(--sky);text-transform:uppercase;
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:"";width:22px;height:2px;background:var(--sky);
    display:inline-block;border-radius:2px;
  }
  h1,h2,h3{font-weight:800;color:var(--ink);}
  .section-label{
    font-size:clamp(28px,4vw,44px);
    line-height:1.25;
    margin-bottom:22px;
  }
  .section-copy{
    font-size:17px;color:#3a3a44;font-weight:400;max-width:64ch;
  }
  .btn{
    display:inline-flex;align-items:center;gap:10px;
    background:var(--ink);color:var(--white);
    padding:15px 30px;border-radius:100px;
    font-weight:700;font-size:15px;
    border:1px solid var(--ink);
    cursor:pointer;transition:all .35s ease;
    position:relative;overflow:hidden;
  }
  .btn:hover{background:var(--ink-soft);transform:translateY(-2px);box-shadow:0 12px 30px -10px rgba(0,8,120,.5);}
  .btn.outline{background:transparent;color:var(--ink);}
  .btn.outline:hover{background:var(--ink);color:var(--white);}

  /* ============ NAV ============ */
  header{
    position:absolute;top:0;left:0;right:0;z-index:50;
    padding:18px 0;
    background:rgba(246,247,251,0);
    backdrop-filter:blur(0px);
    transition:all .4s ease;
  }
  header.scrolled{
    background:rgba(246,247,251,.85);
    backdrop-filter:blur(14px);
    box-shadow:0 1px 0 rgba(0,8,120,.08);
    padding:12px 0;
  }
  .header-inner{position:relative;display:flex;align-items:center;justify-content:center;}
  /* single brand mark, top-left — stays in view as the page scrolls */
  .site-logo{
    position:fixed;top:14px;left:24px;z-index:60;display:flex;flex:none;
    padding:8px;border-radius:50%;
    background:rgba(0,8,120,.55);
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    box-shadow:0 4px 14px -4px rgba(0,0,0,.35);
  }
  .site-logo img{width:44px;height:44px;object-fit:contain;}
  nav{display:flex;align-items:center;justify-content:center;gap:14px;}
  /* ---- nav bar ---- */
  .nav-links{
    display:flex;align-items:center;gap:6px;
    background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);
    border-radius:100px;padding:6px;
  }
  .nav-mark{
    display:flex;align-items:center;justify-content:center;
    padding:10px 12px;flex:none;border-radius:100px;
    background:none;border:none;cursor:pointer;font:inherit;
    transition:background .2s ease;
  }
  .nav-mark:hover{background:rgba(255,255,255,.16);}
  header.scrolled .nav-mark:hover{background:rgba(0,8,120,.08);}
  .nav-mark .chevrons{width:24px;gap:4px;}
  .nav-mark .chevrons span{height:5px;background:var(--white);transition:background .3s ease;}
  header.scrolled .nav-mark .chevrons span{background:var(--ink);}

  /* ---- side menu drawer ---- */
  body.menu-open{overflow:hidden;}
  .menu-overlay{
    position:fixed;inset:0;z-index:90;
    background:rgba(4,4,20,.55);
    opacity:0;pointer-events:none;
    transition:opacity .3s ease;
  }
  .menu-overlay.open{opacity:1;pointer-events:auto;}
  .side-menu{
    position:fixed;top:0;bottom:0;right:0;z-index:91;
    width:min(320px,84vw);
    background:var(--ink);color:var(--white);
    box-shadow:-20px 0 50px -20px rgba(0,0,0,.4);
    transform:translateX(100%);
    transition:transform .35s cubic-bezier(.22,1,.36,1);
    display:flex;flex-direction:column;
    padding:22px 22px 30px;
  }
  .side-menu.open{transform:translateX(0);}
  .side-menu-head{
    display:flex;align-items:center;justify-content:space-between;
    margin-bottom:30px;
  }
  .side-menu-title{font-weight:800;font-size:15px;color:var(--sky);}
  .menu-close{
    width:36px;height:36px;border-radius:50%;flex:none;
    background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);
    color:var(--white);font-size:20px;line-height:1;cursor:pointer;
    display:flex;align-items:center;justify-content:center;
    transition:background .2s ease;
  }
  .menu-close:hover{background:rgba(255,255,255,.18);}
  .side-menu-links{display:flex;flex-direction:column;gap:4px;}
  .side-menu-links a{
    padding:15px 6px;font-weight:700;font-size:16px;
    border-bottom:1px solid rgba(255,255,255,.1);
    transition:color .2s ease,padding-inline-start .2s ease;
  }
  .side-menu-links a:hover{color:var(--sky);padding-inline-start:12px;}
  .nav-links a{
    color:var(--white);font-weight:700;font-size:14.5px;
    padding:10px 18px;border-radius:100px;white-space:nowrap;
    transition:background .2s ease,color .2s ease;
  }
  .nav-links a:hover{background:rgba(255,255,255,.16);}
  header.scrolled .nav-links{background:rgba(0,8,120,.06);border-color:rgba(0,8,120,.14);}
  header.scrolled .nav-links a{color:var(--ink);}
  header.scrolled .nav-links a:hover{background:rgba(0,8,120,.08);}

  @media(max-width:760px){
    .nav-links{gap:2px;padding:5px;}
    .nav-links a{padding:9px 12px;font-size:13px;}
  }

  @media(max-width:600px){
    .wrap{padding:0 16px;}
    nav{flex-wrap:wrap;}
  }
  @media(max-width:760px){
    .site-logo{top:80px;left:16px;}
    .site-logo img{width:38px;height:38px;}
  }


  /* ============ HERO ============ */
  .hero{
    min-height:100vh;
    display:flex;flex-direction:column;justify-content:center;
    background:radial-gradient(700px 600px at var(--mx) var(--my), rgba(108,207,246,.12), transparent 65%);
    color:var(--white);
    padding:140px 0 90px;
    position:relative;
    overflow:hidden;
  }
  .hero-grid{
    display:flex;flex-direction:column;align-items:center;text-align:center;
    position:relative;z-index:2;width:100%;
  }

  /* entrance choreography */
  @keyframes heroFadeUp{
    from{opacity:0;transform:translateY(26px);}
    to{opacity:1;transform:translateY(0);}
  }
  .hero h1{
    font-size:clamp(52px,13vw,180px);
    font-weight:800;line-height:1.05;color:var(--white);
    display:flex;flex-direction:column;align-items:center;gap:4px;
    width:100%;
  }
  .hero h1 .word{
    opacity:0;
    display:inline-block;
    color:var(--white);
    animation:heroFadeUp .9s cubic-bezier(.22,1,.36,1) forwards;
  }
  .hero h1 .word:nth-child(1){animation-delay:.32s;}
  .hero h1 .word:nth-child(2){animation-delay:.46s;color:var(--sky);}

  .hero-highlights{
    display:flex;justify-content:center;gap:52px;flex-wrap:nowrap;
    margin-top:96px;position:relative;z-index:2;
  }
  .hero-highlight{
    display:flex;flex-direction:column;align-items:center;gap:14px;
  }
  .hl-icon{position:relative;display:inline-flex;}
  .hl-icon img{position:relative;z-index:3;display:block;width:52px;height:52px;object-fit:contain;}
  .hl-icon::before,.hl-icon::after{content:"";position:absolute;display:none;}
  /* graduated accent color across the four icons, matching the reference design */
  /* item 1 (جامعة الإمام): white square fill behind the icon's hollow interior,
     with just the arch area accented sky-blue on top of that (bars stay white,
     drawn by the icon itself on top of both) */
  .hero-highlight:nth-child(1) .hl-icon::before{
    display:block;z-index:1;background:var(--white);
    left:24.4%;top:24.6%;width:51.2%;height:50.7%;
  }
  .hero-highlight:nth-child(1) .hl-icon::after{
    display:block;z-index:2;background:var(--sky);
    left:29.2%;top:29.4%;width:41.4%;height:41.1%;
  }
  /* item 2 (الأسس المحاسبية): solid sky-blue square fill, with the arch
     punched back white on top of it (frame stays white, drawn by the icon
     itself on top of both) */
  .hero-highlight:nth-child(2) .hl-icon::before{
    display:block;z-index:4;inset:0;background:var(--sky);
    -webkit-mask-image:url(assets/club-mark-white.webp);mask-image:url(assets/club-mark-white.webp);
    -webkit-mask-size:contain;mask-size:contain;
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
    -webkit-mask-position:center;mask-position:center;
    clip-path:polygon(
      24.4% 24.6%, 75.6% 24.6%, 75.6% 75.3%, 24.4% 75.3%, 24.4% 29.4%,
      29.2% 29.4%, 29.2% 70.4%, 70.6% 70.4%, 70.6% 29.4%, 29.2% 29.4%, 24.4% 29.4%
    );
  }
  /* item 3 (المعايير المحاسبية): frame recolored sky-blue on top of the icon
     (square interior and bars are left untouched, shown white by the icon) */
  .hero-highlight:nth-child(3) .hl-icon::after{
    display:block;z-index:4;inset:0;background:var(--sky);
    -webkit-mask-image:url(assets/club-mark-white.webp);mask-image:url(assets/club-mark-white.webp);
    -webkit-mask-size:contain;mask-size:contain;
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
    -webkit-mask-position:center;mask-position:center;
    clip-path:polygon(
      0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 24.6%,
      24.4% 24.6%, 24.4% 75.3%, 75.6% 75.3%, 75.6% 24.6%, 24.4% 24.6%, 0% 24.6%
    );
  }
  /* item 4 (القوائم المالية): just the bars recolored sky-blue on top of the
     icon (frame and square border are left untouched, shown white) */
  .hero-highlight:nth-child(4) .hl-icon::before{
    display:block;z-index:4;inset:0;background:var(--sky);
    -webkit-mask-image:url(assets/club-mark-white.webp);mask-image:url(assets/club-mark-white.webp);
    -webkit-mask-size:contain;mask-size:contain;
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
    -webkit-mask-position:center;mask-position:center;
    clip-path:inset(46.4% 34.4% 32.8% 34.2%);
  }
  .hero-highlight span{font-size:14px;font-weight:400;color:var(--white);white-space:nowrap;}
  @media(max-width:600px){
    .hero h1{font-size:clamp(40px,20vw,280px);}
    .hero-highlights{gap:13px;margin-top:60px;}
    .hero-highlight{flex:1;min-width:0;gap:6px;}
    .hl-icon img{width:26px;height:26px;}
    .hero-highlight span{font-size:8.8px;line-height:1.3;}
  }

  /* ============ ABOUT ============ */
  .about{padding:50px 0;}
  .about-grid{
    display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center;
    max-width:1100px;margin:0 auto;
  }
  .about-block{border-right:4px solid var(--sky);padding-right:26px;}
  .about h2{color:var(--sky);}
  .about p.section-copy{
    font-size:clamp(16px,1.7vw,20px);font-weight:400;line-height:1.8;
    color:rgba(255,255,255,.95);
  }
  .about-photo img{width:100%;border-radius:20px;}

  /* ============ VISION (dark band) ============ */
  .vision{
    color:var(--white);padding:50px 0;position:relative;
  }
  .vision-grid{
    display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center;
    max-width:1100px;margin:0 auto;position:relative;z-index:1;
  }
  .vision-block{border-right:4px solid var(--sky);padding-right:26px;}
  .vision-title{color:var(--sky);}
  .vision blockquote{
    font-size:clamp(16px,1.7vw,20px);font-weight:400;line-height:1.8;color:rgba(255,255,255,.95);
  }
  .vision-photo img{width:100%;border-radius:20px;}

  @media(max-width:760px){
    .about-grid,.vision-grid{grid-template-columns:1fr;gap:26px;}
    .about-photo,.vision-photo{max-width:340px;margin:0 auto;}
    .about-photo img,.vision-photo img{border-radius:18px;}
  }

  /* ============ GOALS ============ */
  .goals{padding:50px 0;}
  .goals-block{border-right:4px solid var(--sky);padding-right:26px;}
  .goals-title{color:var(--sky);}
  .goals p.section-copy{
    font-size:clamp(16px,1.7vw,20px);font-weight:400;line-height:1.8;
    color:rgba(255,255,255,.95);max-width:820px;
  }
  .goals-list{
    display:grid;grid-template-columns:1fr;gap:1px;
    background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);
    border-radius:18px;overflow:hidden;margin-top:50px;
  }
  @media(min-width:760px){.goals-list{grid-template-columns:1fr 1fr;}}
  .goal-item{
    background:transparent;padding:38px 34px;
    display:flex;flex-direction:column;gap:18px;
    transition:background .3s ease;
  }
  .goal-item:hover{background:rgba(255,255,255,.05);}
  .chevrons{display:flex;flex-direction:column;gap:6px;width:46px;}
  .chevrons span{
    display:block;height:8px;border-radius:2px;
    clip-path:polygon(14% 0,100% 0,100% 100%,14% 100%,0 50%);
    background:var(--sky);
  }
  .goal-item:nth-child(odd) .chevrons span{background:var(--sky);}
  .goal-item:nth-child(even) .chevrons span{background:var(--white);}
  .chevrons span:nth-child(1){width:40%;}
  .chevrons span:nth-child(2){width:70%;}
  .chevrons span:nth-child(3){width:100%;}
  .goal-item p{font-size:16.5px;font-weight:700;color:var(--white);max-width:34ch;}

  /* ============ STATS / أرقامنا ============ */
  .stats{
    padding:110px 0;color:var(--white);
    position:relative;overflow:hidden;
  }
  .stats::before{
    content:"";position:absolute;right:-8%;bottom:-25%;
    width:560px;height:560px;border-radius:50%;
    background:radial-gradient(circle, rgba(124,114,135,.28), transparent 70%);
    pointer-events:none;
  }
  .stats .wrap{position:relative;z-index:1;}
  .stats-title{color:var(--sky);}
  .stats p.section-copy{color:rgba(255,255,255,.75);max-width:60ch;}

  .stats-columns{
    display:grid;grid-template-columns:repeat(3,1fr);gap:0 22px;
    margin-top:56px;
  }
  .stats-col{display:flex;flex-direction:column;align-items:stretch;}
  .stats-col:nth-child(2){margin-top:64px;}
  .stats-col:nth-child(3){margin-top:0;}

  .stat-connector{
    width:2px;min-height:34px;margin:0 auto;
    background:linear-gradient(to bottom, var(--sky), rgba(108,207,246,.25));
  }

  .stat-pill{
    display:flex;align-items:center;gap:12px;justify-content:center;
    background:var(--sky);color:var(--ink);
    border-radius:999px;
    padding:18px 22px;
    text-align:center;
    box-shadow:0 14px 30px -14px rgba(0,0,0,.45);
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .stat-pill:hover{transform:translateY(-3px);box-shadow:0 18px 34px -12px rgba(0,0,0,.55);}
  .stat-pill .stat-icon{
    display:inline-flex;align-items:center;justify-content:center;
    width:26px;height:26px;flex:none;color:var(--ink);
  }
  .stat-pill .stat-icon svg{width:20px;height:20px;fill:currentColor;}
  .stat-pill .stat-num{font-weight:800;font-size:19px;white-space:nowrap;}
  .stat-pill .stat-label{font-weight:700;font-size:14.5px;white-space:nowrap;}

  @media (max-width:600px){
    .stats-columns{grid-template-columns:1fr;gap:24px 0;max-width:420px;margin-inline:auto;}
    .stats-col:nth-child(2),.stats-col:nth-child(3){margin-top:0;}
    .stat-connector{min-height:24px;}
  }
  @media (max-width:480px){
    .stat-pill{
      flex-direction:column;flex-wrap:nowrap;gap:4px;
      padding:14px 16px;border-radius:20px;
    }
    .stat-pill .stat-num{font-size:17px;}
    .stat-pill .stat-label{font-size:13px;}
  }

/* Events Section */
.events-section{
    padding:40px 5%;
    background:white;
}

.events-hero{
    min-height:360px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.events-hero > .tagline,
.events-hero > .events-inner{
    position:relative;
    z-index:2;
}

.events-container{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(240px, 280px));
    justify-content:center;
    gap:25px;
}
.events-loading{
    grid-column:1/-1;
    text-align:center;
    color:var(--white);
    font-weight:700;
    padding:20px 0;
}

.event-card{
    width:100%;
    min-height:360px;
    background:white;
    border:2px solid var(--ink);
    border-radius:16px;
    overflow:hidden;
    cursor:pointer;
    transition:0.4s ease;
    position:relative;
    display:flex;
    flex-direction:column;
}

.event-card:hover{
    transform:scale(1.04);
}

.event-image{
    width:100%;
    height:170px;
    flex-shrink:0;
}

.event-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.event-content{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:15px;
    box-sizing:border-box;
}

.event-content h3{
    margin:0 0 8px;
    color:var(--ink);
    font-size:clamp(12px,1.2vw,17px);
    line-height:1.4;
    overflow-wrap:break-word;
}

.event-description{
    flex:1;
    font-size:clamp(10px,1vw,14px);
    color:#555;
    line-height:1.5;
    margin:5px 0;
    overflow:hidden;
}

.event-info{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:clamp(9px,1vw,12px);
    color:var(--ink);
    margin-bottom:12px;
}

.register-btn{
    width:100%;
    display:block;
    box-sizing:border-box;
    text-align:center;
    background:var(--ink);
    color:white;
    border:none;
    border-radius:8px;
    padding:8px;
    font-family:var(--font);
    font-weight:700;
    font-size:clamp(10px,1vw,13px);
    cursor:pointer;
    margin-top:auto;
}

.register-btn--soon{
    cursor:default;
}

.register-btn:hover{
    background:var(--ink-soft);
}

  /* ============ FEATURED EVENTS/VISITS MARQUEE ============ */
  .featured{padding:70px 0 30px;background:var(--paper);}
  .photo-band{
    background:var(--ink);color:var(--white);overflow:hidden;
  }
  .photo-band-bg{
    position:absolute;inset:0;display:flex;z-index:0;
  }
  .photo-band-bg span{
    flex:1;background-size:cover;background-position:center;
    filter:blur(5px) brightness(.7);
    transform:scale(1.08);
  }
  .photo-band::after{
    content:"";position:absolute;inset:0;z-index:1;
    background:rgba(0,0,0,.22);
  }
  .photo-band .eyebrow,
  .photo-band h2{text-shadow:0 2px 14px rgba(0,0,0,.55);}
  .photo-band > .wrap,
  .photo-band > .mini-marquee{position:relative;z-index:2;}
  .photo-band .eyebrow{color:var(--sky);font-size:17px;}
  .photo-band .eyebrow::before{display:none;}
  .photo-band .section-label,
  .photo-band h2{color:var(--white);}
  .photo-band .btn.outline{border-color:rgba(255,255,255,.4);color:var(--white);}
  .photo-band .btn.outline:hover{background:var(--white);color:var(--ink);}
  @media(max-width:700px){
    .photo-band-bg span:nth-child(3){display:none;}
  }
  .featured-head{
    display:flex;align-items:center;justify-content:space-between;
    flex-wrap:wrap;gap:18px;margin-bottom:34px;
  }
  .featured-head h2{margin-bottom:0;}
  .mini-marquee{
    direction:ltr;
    position:relative;width:100%;overflow:hidden;padding:6px 0 40px;
  }
  .mini-track{
    direction:ltr;
    display:flex;align-items:stretch;gap:20px;width:max-content;
    animation:miniScroll 45s linear infinite;
      will-change: transform;
    --mini-shift:-50%;
  }
  .mini-track--reverse{animation-direction:reverse;animation-duration:45s;}
  @keyframes miniScroll{
    from{transform:translateX(0);}
    to{transform:translateX(var(--mini-shift));}
  }
  .mini-card{
    direction:rtl;
    flex:none;width:230px;background:var(--white);border-radius:16px;
    padding:0 0 20px;border:1px solid #eceef5;overflow:hidden;
    box-shadow:0 10px 26px -16px rgba(0,8,120,.15);
  }
  .mini-photo{width:100%;height:120px;background:var(--paper);}
  .mini-photo img{width:100%;height:100%;object-fit:cover;display:block;}
  .mini-card .mini-date{
    display:inline-block;font-size:12px;font-weight:700;color:var(--sky);
    background:var(--ink);padding:4px 10px;border-radius:999px;margin:16px 20px 12px;
  }
  .mini-card h4{font-size:15.5px;font-weight:800;color:var(--ink);line-height:1.5;margin:0 20px;}
  .mini-card--visits .mini-date{background:var(--mauve);color:var(--white);}

  /* ============ SPONSORS MARQUEE ============ */
  .sponsors{padding:80px 0 90px;background:var(--white);overflow:hidden;}
  .sponsors .eyebrow{color:var(--ink);}
  .sponsors-marquee{
    direction:ltr;
    margin-top:46px;position:relative;width:100%;overflow:hidden;
  }
  .sponsors-track{
    direction:ltr;
    display:flex;align-items:center;gap:64px;width:max-content;
    animation:sponsorsScroll 45s linear infinite;
    --sponsors-shift:-50%;
  }
  .sponsors-track img{height:46px;width:auto;object-fit:contain;filter:grayscale(15%);opacity:.9;flex:none;}
  @keyframes sponsorsScroll{
    from{transform:translateX(0);}
    to{transform:translateX(var(--sponsors-shift));}
  }

  /* ============ ORG CHART ============ */
  .membership{
    padding:110px 0;background:var(--ink);color:var(--white);
    position:relative;overflow:hidden;
  }
  .membership::after{
    content:"";position:absolute;left:-10%;top:-30%;
    width:520px;height:520px;border-radius:50%;
    background:radial-gradient(circle, rgba(108,207,246,.25), transparent 70%);
    pointer-events:none;
  }
  .membership-box{position:relative;z-index:1;max-width:100%;margin:0 auto;text-align:center;}
  .membership .eyebrow{color:var(--sky);justify-content:center;}
  .membership h2{color:var(--white);}
  .membership p.section-copy{color:rgba(255,255,255,.75);margin-bottom:36px;}
  .org-chart-img{
    max-width:100%;height:auto;display:block;margin:0 auto;
  }

  /* ============ CONTACT / FOOTER ============ */
  .contact{padding:120px 0 60px;background:var(--paper);}
  .contact-inner{text-align:center;max-width:640px;margin:0 auto;}
  .contact .tagline{font-size:clamp(24px,3.4vw,34px);font-weight:800;color:var(--ink);margin-bottom:14px;}
  .contact p.section-copy{margin:0 auto 40px;}
  .social-row{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-bottom:20px;}
  .social-pill{
    display:flex;align-items:center;gap:10px;padding:13px 22px;border-radius:100px;
    background:var(--white);border:1px solid rgba(0,8,120,.12);
    font-weight:700;font-size:14.5px;color:var(--ink);
    transition:all .25s ease;
  }
  .social-pill:hover{background:var(--ink);color:var(--white);border-color:var(--ink);transform:translateY(-2px);}
  .social-pill svg{width:18px;height:18px;}
  footer{
    text-align:center;padding:34px 0;font-size:13px;color:var(--mauve);
    border-top:1px solid rgba(0,8,120,.08);
    background:var(--paper);
  }

  [data-reveal]{opacity:0;transform:translateY(28px);transition:opacity .8s ease, transform .8s ease;}
  [data-reveal].is-visible{opacity:1;transform:translateY(0);}

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    .hero h1 .word{animation:none !important;opacity:1 !important;transform:none !important;}
    [data-reveal]{transition:none;opacity:1;transform:none;}
  }
  /* ===== منع اسم الشركة من النزول ===== */
.company-name {
  font-size: 12px;              /* تصغير الخط */
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;          /* ← يمنع النزول للسطر الثاني */
  overflow: hidden;             /* يخفي النص الزائد */
  text-overflow: ellipsis;      /* يضيف ... إذا النص طويل */
  max-width: 90px;              /* عرض أقصى للاسم */
  display: inline-block;
  direction: rtl;               /* عشان النص يبدأ من اليمين */
}
.mini-card--visits .company-logo{
  width:100%;
  height:120px;
  margin-top:12px;
  border-radius:12px;
  overflow:hidden;
  background:var(--paper);
  display:flex;align-items:center;justify-content:center;
  padding:14px;
}

.mini-card--visits .company-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
