/* =====================================================================
   agentX Riyadh - shared stylesheet
   - All classes are prefixed with "ax-" and every global rule is scoped
     under ".ax-page", so this file can be loaded on the inner pages
     without clashing with other styles.
   - Theme colours / font live in the variables below. Re-use them.
   ===================================================================== */
.ax-page{
  --ax-navy:#060b1f; --ax-navy-2:#0a1230; --ax-ink:#0a1740;
  --ax-green:#54e89c; --ax-green-dark:#36d98a;
  --ax-blue:#2b7fff; --ax-blue-link:#1b5fd9; --ax-blue-soft:#4d96ff;
  --ax-text:#eaf1ff; --ax-text-muted:#c5d3f0; --ax-text-soft:#9fb0d0;
  --ax-font:"Almarai",system-ui,sans-serif;
}
/* optional: add class "ax-body" to <body> on pages that use this theme full-bleed */
.ax-body{margin:0;background:#060b1f}
.ax-page{width:100%;margin:0;background:var(--ax-navy);color:var(--ax-text);font-family:var(--ax-font);overflow:hidden;position:relative;isolation:isolate}
.ax-page,.ax-page *,.ax-page *::before,.ax-page *::after{box-sizing:border-box}
.ax-page a{color:inherit;text-decoration:none}
:where(.ax-page) img{height:auto}
.ax-ed[hidden]{display:none}
.ax-hl-tab{color:#fff}
.ax-hl-tab[aria-selected="true"]{color:var(--ax-green);border-bottom-color:var(--ax-green)}
.ax-navlink{color:#d7e3ff}.ax-navlink:hover{color:#54e89c}
.ax-wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.ax-h2{margin:8px 0 0;font-size:clamp(32px,4vw,54px);line-height:1.3;font-weight:800;color:#fff}
.ax-lift{transition:transform .25s,border-color .25s}.ax-lift:hover{transform:translateY(-6px);border-color:rgba(84,232,156,.5)}
.ax-btn:hover{filter:brightness(1.1)}
.ax-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 24px;font-weight:800;font-size:18px;color:#0a1740;min-height:44px}
.ax-faq summary::-webkit-details-marker{display:none}
.ax-faq summary::after{content:"+";font-size:26px;color:#1b5fd9;flex:none}
.ax-faq details[open] summary::after{content:"–"}
.ax-faq p{margin:0;padding:0 24px 22px;color:#3a4a73;line-height:2;font-size:16px}
.ax-mq{overflow:hidden;direction:ltr;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.ax-mq-track{display:flex;width:max-content;animation:axMqMove 45s linear infinite}
.ax-mq:hover .ax-mq-track{animation-play-state:paused}
.ax-mq-grp{display:flex;align-items:center;gap:56px;padding-right:56px;flex:none}
.ax-mq-grp img{flex:none}
@keyframes axMqMove{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ax-mq-track{animation:none}.ax-mq{overflow-x:auto}}
.ax-sponsors .ax-mq img.ax-sp{width:var(--w)!important;height:var(--h)!important;max-width:none!important}
/* كل الشعارات بحجم متوازن حسب نسبتها (--w/--h من ax_logos في index.php) حتى تتساوى أوزانها المرئية والمسافات بينها */
.ax-sponsors img.ax-sp{width:var(--w)!important;height:var(--h)!important;max-width:100%!important;object-fit:contain!important;flex:none;margin:0!important}
@media (min-width:900px){.ax-sponsors .ax-sponsor-row{flex-wrap:nowrap!important}}
@media (max-width:700px){.ax-hero{padding-top:130px!important;padding-bottom:70px!important}.ax-nav{flex-wrap:nowrap!important;justify-content:space-between!important;gap:12px!important;padding:14px 16px!important}.ax-nav img{height:52px!important}}
@media (max-width:700px){.ax-tracks>div{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.ax-tracks article{min-height:330px!important;padding:10% 5%!important;gap:10px!important}.ax-tracks article h3{font-size:16px!important}.ax-tracks article a{padding:8px 22px!important;font-size:15px!important;margin:auto auto 14%!important}}
@media (max-width:700px){.ax-nav a.ax-navlink{padding:12px 4px!important}.ax-footer a{padding:8px 0;display:inline-block}}
.ax-sp{height:64px;max-width:170px;width:auto;object-fit:contain}
.ax-logo-glow{animation:axLogoGlow 3s ease-in-out infinite}
.ax-bot-float{animation:axBotFloat 3.6s ease-in-out infinite}
@keyframes axBotFloat{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-10px) rotate(1.5deg)}}
@media (prefers-reduced-motion:reduce){.ax-bot-float{animation:none}}
.ax-tl{max-width:560px;margin:0 auto}
.ax-tl-item{position:relative;display:flex;align-items:center;gap:26px;margin-bottom:36px;min-height:84px}
.ax-tl-item:not(:last-child)::after{content:"";position:absolute;right:42px;top:calc(50% + 42px);height:36px;border-right:2px dashed rgba(43,127,255,.55)}
.ax-tl-num{flex:none;width:84px;height:84px;display:flex;align-items:center;justify-content:center;font-size:54px;font-weight:300;line-height:1;color:#fff;background:url('../assets/ui/number-frame.webp') center/100% 100% no-repeat}
.ax-tl-title{font-weight:800;font-size:22px;line-height:1.5;color:#fff}
.ax-tl-sub{margin-top:2px;color:#c5d3f0;font-size:15px;font-weight:400}
.ax-tl-date{margin-top:6px;color:#54e89c;font-weight:700;font-size:14px;display:flex;align-items:center;gap:6px}
.ax-pcard{position:relative;z-index:1;margin-inline:-8px;margin-bottom:8px;width:268px;aspect-ratio:287/311;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px 30px 32px;background-size:100% 100%;background-repeat:no-repeat;transition:.35s}
.ax-pcard-first{z-index:3;width:312px;aspect-ratio:363/390;padding:40px 34px 36px;margin-bottom:0;filter:drop-shadow(0 22px 50px rgba(54,217,138,.28))}
.ax-pc-rank{font-weight:800;font-size:clamp(17px,2.1vw,21px);color:#dbe6ff;margin-bottom:24px}
.ax-pc-amt{display:inline-flex;align-items:center;gap:8px;font-size:clamp(23px,3vw,30px);font-weight:800;color:#fff;justify-content:center;direction:ltr}
.ax-hl-tab{background:none;border:0;border-bottom:2px solid transparent;padding:6px 6px 10px;font-family:inherit;font-size:20px;font-weight:700;cursor:pointer;min-height:44px;transition:color .25s,border-color .25s}
.ax-hl-tab:hover{color:#54e89c !important}
.ax-hl-grid{display:grid;direction:ltr;gap:16px}
.ax-hl-col{display:grid;gap:16px;align-content:start}
.ax-hl-duo{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ax-hl-grid img{display:block;width:100%;height:auto;object-fit:cover;border-radius:22px;box-shadow:0 14px 36px rgba(0,0,0,.45)}
.ax-vid-big{position:fixed!important;inset:0!important;margin:auto!important;width:min(1000px,90vw)!important;height:auto!important;aspect-ratio:16/9!important;max-height:90vh;z-index:9999!important;background:#000!important;box-shadow:0 30px 80px rgba(0,0,0,.6)!important}
.ax-vid-big::before{content:"";position:fixed;inset:0;z-index:-1;background:rgba(3,6,18,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.ax-vid-btn{position:absolute;bottom:12px;right:12px;z-index:3;width:34px;height:34px;border-radius:50%;border:1.5px solid rgba(255,255,255,.7);background:rgba(6,11,31,.7);color:#fff;font-size:17px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.ax-vid-close{display:none;top:14px;bottom:auto;right:14px;width:40px;height:40px;font-size:22px}.ax-vid-big .ax-vid-close{display:flex}.ax-vid-big .ax-vid-enl{display:none}
.ax-hl-prev{right:-64px}.ax-hl-next{left:-64px}
@media (max-width:1320px){.ax-hl-arrow.ax-hl-prev{right:-20px}.ax-hl-arrow.ax-hl-next{left:-20px}.ax-hl-arrow.ax-hl-prev,.ax-hl-arrow.ax-hl-next{width:40px;height:40px}}
.ax-hl-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:48px;height:48px;border-radius:50%;border:1.5px solid rgba(255,255,255,.5);background:rgba(6,11,31,.55);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
@media (max-width:760px){.ax-hl-grid{grid-template-columns:1fr !important}}
.ax-stars{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(1200px 600px at 80% 0,rgba(43,127,255,.18),transparent 60%),radial-gradient(1000px 600px at 0 1500px,rgba(54,217,138,.10),transparent 55%)}
.ax-stars::before{content:"";position:absolute;inset:0;opacity:.5;background-image:radial-gradient(1.4px 1.4px at 20% 30%,#cfe0ff 50%,transparent),radial-gradient(1.2px 1.2px at 70% 60%,#bcd4ff 50%,transparent),radial-gradient(1.6px 1.6px at 40% 80%,#9fd9ff 50%,transparent),radial-gradient(1.1px 1.1px at 90% 20%,#d9e8ff 50%,transparent),radial-gradient(1.3px 1.3px at 55% 15%,#bfe6ff 50%,transparent);background-size:520px 520px;animation:axStarDrift 60s linear infinite}
@keyframes axStarDrift{to{background-position:520px 520px}}
@media (prefers-reduced-motion:reduce){.ax-stars::before{animation:none}}
.ax-ic-neon{animation:axIcNeon 4s linear infinite}
@keyframes axIcNeon{0%,18%,22%,60%,64%,100%{filter:brightness(1.35) drop-shadow(0 0 .6px #54e89c) drop-shadow(0 0 .6px #54e89c) drop-shadow(0 0 1.2px #54e89c)}19%,21%,62%{filter:brightness(.45)}20%,63%{filter:brightness(.8) drop-shadow(0 0 .6px #54e89c)}}
@media (prefers-reduced-motion:reduce){.ax-ic-neon{animation:none;filter:brightness(1.35) drop-shadow(0 0 .6px #54e89c) drop-shadow(0 0 1.2px #54e89c)}}
.ax-x-anim{animation:axXFloat 5s ease-in-out infinite,axXNeon 4s linear infinite}
@keyframes axXFloat{0%,100%{transform:translateY(0) rotate(-2deg) scale(1)}50%{transform:translateY(-16px) rotate(2deg) scale(1.03)}}
@keyframes axXNeon{0%,18%,22%,60%,64%,100%{filter:drop-shadow(0 0 .6px #54e89c) drop-shadow(0 0 .6px #54e89c) drop-shadow(0 0 1.2px #54e89c)}19%,21%,62%{filter:none}20%,63%{filter:drop-shadow(0 0 .6px #54e89c)}}
@media (prefers-reduced-motion:reduce){.ax-x-anim{animation:none;filter:drop-shadow(0 0 .6px #54e89c) drop-shadow(0 0 .6px #54e89c) drop-shadow(0 0 1.2px #54e89c)}}
@keyframes axLogoGlow{0%,100%{filter:drop-shadow(0 0 8px rgba(84,232,156,.35)) drop-shadow(0 0 20px rgba(43,127,255,.3))}50%{filter:drop-shadow(0 0 16px rgba(84,232,156,.65)) drop-shadow(0 0 36px rgba(43,127,255,.5))}}
@media (prefers-reduced-motion:reduce){.ax-logo-glow{animation:none;filter:drop-shadow(0 0 16px rgba(84,232,156,.6))}}

/* =====================================================================
   Section / component styles (moved out of the HTML)
   Selector: ".ax-page .ax-<section>-<tag><n>"  -  traceable from the markup.
   ===================================================================== */

/* ---- NAV ---- */
.ax-page .ax-nav-nav1{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px 52px;max-width:1400px;margin:0 auto;padding:22px 24px}
.ax-page .ax-nav-img1{height:68px;width:auto;display:block}
.ax-page .ax-nav-div1{display:flex;flex-wrap:wrap;gap:6px 38px;font-size:18px;font-weight:700}
.ax-page .ax-nav-toggle{display:none}
@media (max-width:700px){
.ax-page .ax-nav-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:46px;height:46px;padding:0 11px;flex:none;border-radius:12px;border:1px solid rgba(120,150,210,.3);background:rgba(6,11,31,.55);cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.ax-page .ax-nav-toggle span{display:block;height:2px;border-radius:2px;background:#fff;transition:transform .25s,opacity .2s}
.ax-page .ax-nav-open .ax-nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.ax-page .ax-nav-open .ax-nav-toggle span:nth-child(2){opacity:0}
.ax-page .ax-nav-open .ax-nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.ax-page .ax-nav-div1{display:none!important;position:absolute;top:100%;left:16px;right:16px;flex-direction:column;gap:0!important;padding:8px 18px;font-size:17px!important;border-radius:16px;border:1px solid rgba(84,232,156,.35);background:rgba(6,11,31,.96);box-shadow:0 18px 40px rgba(0,0,0,.45)}
.ax-page .ax-nav-open .ax-nav-div1{display:flex!important}
.ax-page .ax-nav-div1 a.ax-navlink{border-bottom:1px solid rgba(120,150,210,.15)}
.ax-page .ax-nav-div1 a.ax-navlink:last-child{border-bottom:0}
}

/* ---- HERO ---- */
.ax-page .ax-hero-header1{position:relative;isolation:isolate;overflow:hidden;width:100%;box-sizing:border-box;aspect-ratio:16/9;min-height:640px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:120px 24px;background:linear-gradient(180deg,#03061a 0%,#060b1f 70%,#060b1f 100%)}
.ax-page .ax-hero-video1{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}
.ax-page .ax-hero-div1{position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(6,11,31,.45) 0%,rgba(6,11,31,0) 22%,rgba(6,11,31,0) 60%,rgba(6,11,31,.8) 100%)}
.ax-page .ax-hero-img1{width:min(460px,78%);height:auto;margin-bottom:34px;filter:drop-shadow(0 0 12px rgba(84,232,156,.55)) drop-shadow(0 0 28px rgba(43,127,255,.45))}
.ax-page .ax-hero-div2{display:flex;gap:16px;justify-content:center;direction:ltr}
.ax-page .ax-hero-div3{width:104px;height:114px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:url('../assets/ui/number-frame.webp') center/100% 100% no-repeat}
.ax-page .ax-hero-div4{font-size:46px;font-weight:800;line-height:1.1;color:#fff}
.ax-page .ax-hero-div5{font-size:14px;color:#b9c6e4}
.ax-page .ax-hero-div6{margin-top:26px;color:#54e89c;font-weight:800;font-size:24px;text-shadow:0 2px 12px rgba(6,11,31,.8)}
.ax-page .ax-hero-div7{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:22px}
.ax-page .ax-hero-a1{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 40px;border-radius:999px;background:linear-gradient(90deg,#36d98a,#54e89c);color:#06231a;font-weight:800;font-size:19px;box-shadow:0 10px 30px rgba(54,217,138,.45)}
.ax-page .ax-hero-a2{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 40px;border-radius:999px;border:1.5px solid #54e89c;background:rgba(6,11,31,.55);color:#54e89c;font-weight:800;font-size:19px}

/* ---- ABOUT ---- */
.ax-page .ax-about-section1{padding-top:110px}
.ax-page .ax-about-div1{display:flex;flex-wrap:wrap;gap:44px;align-items:center}
.ax-page .ax-about-div2{flex:1 1 380px;min-width:0;text-align:center}
.ax-page .ax-about-img1{width:min(500px,100%);height:auto;margin:0 auto}
.ax-page .ax-about-div3{flex:1 1 460px;min-width:0}
.ax-page .ax-about-h21{color:#54e89c}
.ax-page .ax-about-div4{margin:10px 0 20px;max-width:190px}
.ax-page .ax-about-div5{color:#fff;font-weight:800;font-size:21px;line-height:1.5}
.ax-page .ax-about-div6{height:2px;margin-top:8px;background:linear-gradient(90deg,transparent,#36d98a 20%,#54e89c 55%,transparent)}
.ax-page .ax-about-p1{margin:0 0 16px;font-size:17px;line-height:2;color:#c5d3f0;text-align:justify;text-justify:inter-word}
.ax-page .ax-about-b1{color:#fff}
.ax-page .ax-about-p2{margin:0;font-size:17px;line-height:2;color:#c5d3f0;text-align:justify;text-justify:inter-word}

/* ---- GOALS ---- */
.ax-page .ax-goals-section1{padding-top:110px}
.ax-page .ax-goals-h21{text-align:center;margin-bottom:40px}
.ax-page .ax-goals-div1{display:flex;flex-wrap:wrap;gap:18px}
.ax-page .ax-goals-article1{flex:1 1 300px;display:flex;align-items:center;justify-content:center;border-radius:22px}
.ax-page .ax-goals-img3{width:100%;height:auto;max-width:360px;display:block}
.ax-page .ax-goals-anim .ax-goals-article1{opacity:0}
.ax-page .ax-goals-anim .ax-goals-article1.ax-in{opacity:1;animation:axBlockEnter 1.15s cubic-bezier(.16,.84,.32,1) backwards}
.ax-page .ax-goals-anim .ax-goals-article1.ax-in:nth-child(1){--dx:240px;--dy:0px;animation-delay:.05s}
.ax-page .ax-goals-anim .ax-goals-article1.ax-in:nth-child(2){--dx:0px;--dy:110px;animation-delay:.22s}
.ax-page .ax-goals-anim .ax-goals-article1.ax-in:nth-child(3){--dx:-240px;--dy:0px;animation-delay:.05s}
@keyframes axBlockEnter{0%{opacity:0;transform:translate(var(--dx,0),var(--dy,0)) scale(.74);filter:blur(10px)}50%{opacity:1;filter:blur(0)}80%{transform:translate(0,0) scale(1.035)}100%{opacity:1;transform:translate(0,0) scale(1);filter:blur(0)}}

/* ---- TRACKS ---- */
.ax-page .ax-tracks-section1{padding-top:110px;max-width:1620px}
.ax-page .ax-tracks-h21{text-align:center;margin-bottom:40px}
.ax-page .ax-tracks-div1{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;max-width:1600px;margin:0 auto;align-items:stretch}
.ax-page .ax-tracks-article1{min-width:0;min-height:540px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:20px;text-align:center;padding:8%;background:url('../assets/tracks/blockw.png') center/100% 100% no-repeat}
.ax-page .ax-tracks-img1{animation-delay:0s;width:100%;max-width:330px;height:auto;aspect-ratio:1/.85;object-fit:cover;flex:none;margin-top:6%}
.ax-page .ax-tracks-h31{margin:0;font-size:26px;font-weight:800;line-height:1.5;flex:none;color:#fff}
.ax-page .ax-tracks-a1{display:block;width:fit-content;margin:auto auto 21%;padding:12px 44px;border-radius:999px;background:linear-gradient(90deg,#36d98a,#54e89c);color:#06231a;font-weight:800;font-size:22px}
.ax-page .ax-tracks-img2{animation-delay:-.9s;width:100%;max-width:330px;height:auto;aspect-ratio:1/.85;object-fit:cover;flex:none;margin-top:6%}
.ax-page .ax-tracks-img3{animation-delay:-1.8s;width:100%;max-width:330px;height:auto;aspect-ratio:1/.85;object-fit:cover;flex:none;margin-top:6%}
.ax-page .ax-tracks-img4{animation-delay:-2.7s;width:100%;max-width:330px;height:auto;aspect-ratio:1/.85;object-fit:cover;flex:none;margin-top:6%}

/* ---- DETAILS ---- */
.ax-page .ax-details-section1{padding-top:110px}
.ax-page .ax-details-h31{text-align:center;margin:0 0 34px;font-size:clamp(34px,4.4vw,56px);font-weight:400;color:#fff}
@media (min-width:900px){.ax-page .ax-details-h31{margin:72px 0 -38px;position:relative;z-index:1}}
.ax-page .ax-details-div1{display:flex;flex-wrap:wrap;gap:28px;align-items:center}
.ax-page .ax-details-div2{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:14px}
.ax-page .ax-details-div3{display:flex;gap:26px;align-items:center;padding:6px 0}
.ax-page .ax-details-img1{animation-delay:0s;width:100px;height:100px;object-fit:contain;flex:none}
.ax-page .ax-details-h41{margin:0;font-size:30px;font-weight:800;line-height:1.4}
.ax-page .ax-details-p1{margin:2px 0 0;color:#c5d3f0;font-size:16px}
.ax-page .ax-details-img2{animation-delay:-1.3s;width:100px;height:100px;object-fit:contain;flex:none}
.ax-page .ax-details-img3{animation-delay:-2.6s;width:100px;height:100px;object-fit:contain;flex:none}
.ax-page .ax-details-div4{flex:1 1 380px;min-width:0;display:flex;justify-content:center;align-items:flex-end;min-height:560px}
.ax-page .ax-details-img4{height:620px;width:auto;max-width:100%;object-fit:contain;-webkit-mask-image:linear-gradient(180deg,#000 82%,transparent 100%);mask-image:linear-gradient(180deg,#000 82%,transparent 100%)}
.ax-page .ax-details-h32{margin:80px 0 14px;font-size:clamp(34px,4.4vw,56px);font-weight:400;color:#fff;text-align:center}
.ax-page .ax-details-p2{margin:0 0 40px;color:#eaf1ff;font-size:20px;text-align:center}
.ax-page .ax-details-img5{height:646px;width:auto;max-width:100%;object-fit:contain;-webkit-mask-image:linear-gradient(180deg,#000 82%,transparent 100%);mask-image:linear-gradient(180deg,#000 82%,transparent 100%)}
.ax-page .ax-details-div5{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:46px}
.ax-page .ax-details-div6{display:flex;gap:26px;align-items:center}
.ax-page .ax-details-img6{animation-delay:0s;width:100px;height:80px;object-fit:contain;flex:none}
.ax-page .ax-details-img7{animation-delay:-1s;width:100px;height:80px;object-fit:contain;flex:none}
.ax-page .ax-details-img8{animation-delay:-2s;width:100px;height:80px;object-fit:contain;flex:none}
.ax-page .ax-details-img9{animation-delay:-3s;width:100px;height:80px;object-fit:contain;flex:none}

/* ---- FIND ---- */
.ax-page .ax-find-section1{padding-top:110px}
.ax-page .ax-find-h21{text-align:center;margin-bottom:40px}
.ax-page .ax-find-span1{direction:ltr;display:inline-block;color:#54e89c}
.ax-page .ax-find-div1{display:flex;flex-wrap:wrap;gap:18px}
.ax-page .ax-find-div2{flex:1 1 340px;position:relative;min-height:240px;border-radius:24px;overflow:hidden;border:1.5px solid rgba(84,232,156,.75)}
.ax-page .ax-find-img1{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ax-page .ax-find-div3{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,11,31,0) 40%,rgba(8,18,48,.6) 68%,rgba(12,32,80,.72))}
.ax-page .ax-find-div4{position:relative;container-type:inline-size;display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-height:240px;padding:24px}
.ax-page .ax-find-h31{margin:0 0 6px;font-size:23px;color:#54e89c}
.ax-page .ax-find-p1{margin:0;color:#d7e3ff;line-height:1.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:clamp(12px,calc(100cqi / 22.8),16px)}
.ax-page .ax-find-img2{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:46% 22%}
.ax-page .ax-find-img3{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.ax-page .ax-find-img4{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 40%}

/* ---- STATS ---- */
.ax-page .ax-stats-section1{padding-top:90px}
.ax-page .ax-stats-div1{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.ax-page .ax-stats-div2{position:relative;min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.ax-page .ax-stats-img1{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:270px;width:auto;opacity:.9}
.ax-page .ax-stats-div3{position:relative;font-size:62px;font-weight:800;color:#fff;line-height:1.2;text-shadow:0 0 18px rgba(84,232,156,.35)}
.ax-page .ax-stats-div4{position:relative;color:#fff;font-weight:800;font-size:21px}

/* ---- TIMELINE ---- */
.ax-page .ax-timeline-section1{padding-top:110px}
.ax-page .ax-timeline-h21{margin:0 0 10px;text-align:center;font-size:clamp(30px,3.4vw,42px);font-weight:400;color:#fff;line-height:1.3}
.ax-page .ax-timeline-p1{text-align:center;color:#eaf1ff;font-size:14px;margin:0 0 46px}
.ax-page .ax-tl-item:last-child>div:nth-child(2){flex:1}
.ax-page .ax-tl-trophy-wrap{flex:none;display:inline-flex;animation:axFloaty 5s ease-in-out infinite}
.ax-page .ax-timeline-img1{display:block;width:120px;height:auto;object-fit:contain;filter:drop-shadow(0 0 18px rgba(43,127,255,.35));transition:transform .7s ease}
.ax-page .ax-tl-trophy-wrap:hover .ax-timeline-img1{transform:rotate(360deg)}
@media (max-width:640px){.ax-page .ax-timeline-img1{width:84px}}
@keyframes axFloaty{50%{transform:translateY(-10px)}}
.ax-page .ax-timeline-div1{display:flex;align-items:center;justify-content:center;gap:30px;flex-wrap:wrap;max-width:620px;margin:46px auto 0}
.ax-page .ax-timeline-p2{margin:0;font-size:clamp(14px,3.5vw,21px);font-weight:800;line-height:1.7;color:#fff;white-space:nowrap}
.ax-page .ax-tl-bot{width:150px;height:150px;flex:none;animation:axCtaBotFloat 4s ease-in-out infinite;transform-origin:center bottom;filter:drop-shadow(0 12px 26px rgba(43,127,255,.4))}
.ax-page .ax-timeline-img2{width:100%;height:100%;object-fit:contain}
@keyframes axCtaBotFloat{0%{transform:translateY(0) rotate(-5deg) scale(1)}25%{transform:translateY(-12px) rotate(0deg) scale(1.04)}50%{transform:translateY(-18px) rotate(5deg) scale(1)}75%{transform:translateY(-10px) rotate(0deg) scale(1.04)}100%{transform:translateY(0) rotate(-5deg) scale(1)}}
@media (prefers-reduced-motion:reduce){.ax-page .ax-tl-bot,.ax-page .ax-tl-trophy-wrap{animation:none}}
/* بطاقة Lovable عند الخطوة 3 — على الشاشات العريضة تظهر يمين الرقم، وعلى الأضيق تنزل تحت النص */
.ax-page .ax-tl-item--lovable{flex-wrap:wrap;row-gap:18px}
.ax-page .ax-tl-item--lovable::after{top:84px;height:calc(100% - 48px)}
.ax-page .ax-tl-item--lovable>div:nth-child(2){flex:1 1 0;min-width:0}
.ax-page .ax-tl-lovable{flex:0 0 100%;box-sizing:border-box;padding-inline-start:110px;position:relative;animation:axLovableFloat 5s ease-in-out infinite}
.ax-page .ax-tl-lovable__card{position:relative;width:fit-content;max-width:100%;box-sizing:border-box;padding:16px 26px 14px;border:1px solid rgba(126,170,255,.5);border-radius:18px;background:linear-gradient(160deg,#13224a 0%,#0b1634 100%);text-align:center;box-shadow:inset 0 0 22px rgba(43,127,255,.14),0 0 0 rgba(43,127,255,0);animation:axLovableGlow 3.6s ease-in-out infinite}
.ax-page .ax-tl-lovable__card::before{content:"";position:absolute;width:16px;height:16px;background:#12204a;border:1px solid rgba(126,170,255,.5);border-width:1px 0 0 1px;inset-inline-start:34px;top:-9px;transform:rotate(45deg)}
.ax-page .ax-tl-lovable__brand{display:flex;align-items:center;justify-content:center;gap:.43em;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:33px;font-weight:700;letter-spacing:-.04em;color:#fff;line-height:1}
/* القلب أطول قليلًا من الحرف الكبير، ومتمركز على الكلمة */
.ax-page .ax-tl-lovable__brand>span{display:block;line-height:1}
.ax-page .ax-tl-lovable__heart{flex:none;width:.9em;height:.9em;transform-origin:50% 60%;filter:drop-shadow(0 0 8px rgba(255,79,123,.45));animation:axLovableBeat 2.4s ease-in-out infinite}
.ax-page .ax-tl-lovable__msg{margin-top:6px;font-size:24px;font-weight:800;color:#fff;line-height:1.5}
.ax-page .ax-tl-lovable__bar{display:block;width:110px;height:4px;margin:10px auto 0;border-radius:4px;background:linear-gradient(90deg,#ff9a3d,#ff4f7b,#b25cf6,#4c7bff,#ff9a3d);background-size:200% 100%;animation:axLovableBar 3s linear infinite}
.ax-page .ax-tl-lovable__dot{display:none}
@media (min-width:1240px){
  .ax-page .ax-tl-item--lovable{flex-wrap:nowrap}
  .ax-page .ax-tl-item--lovable::after{top:calc(50% + 42px);height:36px}
  .ax-page .ax-tl-lovable{position:absolute;left:calc(100% + 30px);top:50%;margin:0;padding:0;width:300px;translate:0 -50%}
  .ax-page .ax-tl-lovable__card{width:auto}
  .ax-page .ax-tl-lovable__card::before{inset-inline-start:auto;left:-9px;top:50%;margin-top:-8px;border-width:0 0 1px 1px;transform:rotate(45deg)}
  .ax-page .ax-tl-lovable__dot{display:block;position:absolute;right:calc(100% + 6px);top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:#4fd8ff;box-shadow:0 0 10px #4fd8ff;animation:axLovableDot 2s ease-out infinite}
}
@media (max-width:640px){
  .ax-page .ax-tl-lovable__card{padding:14px 16px 12px}
  .ax-page .ax-tl-lovable__brand{font-size:28px}
  .ax-page .ax-tl-lovable__msg{font-size:20px}
}
@keyframes axLovableFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes axLovableGlow{0%,100%{border-color:rgba(126,170,255,.45);box-shadow:inset 0 0 22px rgba(43,127,255,.12),0 0 0 rgba(43,127,255,0)}50%{border-color:rgba(160,195,255,.8);box-shadow:inset 0 0 26px rgba(43,127,255,.2),0 0 26px rgba(43,127,255,.32)}}
@keyframes axLovableBeat{0%,40%,100%{transform:scale(1)}12%{transform:scale(1.18)}24%{transform:scale(.96)}32%{transform:scale(1.1)}}
@keyframes axLovableBar{to{background-position:-200% 0}}
@keyframes axLovableDot{0%{box-shadow:0 0 10px #4fd8ff,0 0 0 0 rgba(79,216,255,.55)}70%,100%{box-shadow:0 0 10px #4fd8ff,0 0 0 10px rgba(79,216,255,0)}}
@media (prefers-reduced-motion:reduce){.ax-page .ax-tl-lovable,.ax-page .ax-tl-lovable__card,.ax-page .ax-tl-lovable__heart,.ax-page .ax-tl-lovable__bar,.ax-page .ax-tl-lovable__dot{animation:none}}

/* ---- STORY ---- */
.ax-page .ax-story-section1{padding-top:100px;max-width:1100px}
.ax-page .ax-story-div1{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:46px;align-items:center}
.ax-page .ax-story-div2{min-width:0}
.ax-page .ax-story-h21{margin:0 0 20px;text-align:start;font-size:clamp(30px,4.6vw,54px);font-weight:800;line-height:1.25;color:#2b7fff}
.ax-page .ax-story-p1{margin:0 0 14px;color:#cdd9f4;line-height:1.85}
.ax-page .ax-story-b1{direction:ltr;display:inline-block;color:#fff}
.ax-page .ax-story-p2{margin:0 0 14px;color:#54e89c;font-weight:800}
.ax-page .ax-story-p3{margin:0}
.ax-page .ax-story-a1{color:#4d96ff;font-weight:700;direction:ltr;display:inline-block}
.ax-page .ax-story-a2{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;border-radius:24px;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.6);box-shadow:0 24px 60px rgba(0,0,0,.45)}
.ax-page .ax-story-img1{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ax-page .ax-story-span1{position:absolute;inset:0;background:rgba(0,0,0,.28)}
.ax-page .ax-story-span2{position:relative;width:64px;height:64px;border-radius:50%;border:2px solid #2b7fff;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.9)}
.ax-page .ax-story-svg1{transform:translateX(.3px)}

/* ---- PRIZES ---- */
.ax-page .ax-prizes-section1{position:relative;overflow:hidden;padding:100px 0;text-align:center;margin-top:60px}
.ax-page .ax-prizes-img1{position:absolute;top:-60px;right:-40px;width:min(680px,62%);height:auto;opacity:.4;z-index:-1;pointer-events:none;filter:brightness(.85) saturate(1) drop-shadow(0 0 40px rgba(54,217,138,.3))}
@media (max-width:640px){.ax-page .ax-prizes-section1{padding:70px 0}.ax-page .ax-prizes-img1{width:230px;top:-10px;right:-6px;opacity:.7}}
@media (min-width:641px){.ax-page .ax-prizes-section1{padding-bottom:215px}}
.ax-page .ax-prizes-div1{position:relative;z-index:1;max-width:1180px}
.ax-page .ax-prizes-div2{display:inline-flex;flex-direction:column;align-items:center;margin-bottom:10px}
.ax-page .ax-prizes-span1{color:#54e89c;font-weight:800;font-size:clamp(16px,2.2vw,22px);margin-bottom:-6px}
.ax-page .ax-prizes-span2{display:inline-flex;direction:ltr;align-items:center;gap:14px;font-size:clamp(46px,8vw,80px)}
.ax-page .ax-prizes-img2{height:.8em;width:auto}
.ax-page .ax-prizes-span3{font-variant-numeric:tabular-nums;font-size:clamp(92px,16vw,160px);font-weight:800;color:#fff;line-height:1.1;text-shadow:0 0 30px rgba(54,217,138,.5)}
.ax-page .ax-prizes-div3{display:flex;direction:ltr;justify-content:center;align-items:flex-end;margin-top:50px;flex-wrap:wrap;gap:0}
.ax-page .ax-prizes-div4{background-image:url('../assets/prizes/card-frame.webp')}
.ax-page .ax-prizes-img3{width:100px;height:121px;object-fit:contain;margin:0 auto 16px}
.ax-page .ax-prizes-div5{background-image:url('../assets/prizes/card-frame-first.webp')}
.ax-page .ax-prizes-img4{width:124px;height:150px;object-fit:contain;margin:0 auto 16px}
.ax-page .ax-prizes-div6{color:#54e89c}

/* ---- HIGHLIGHTS ---- */
.ax-page .ax-highlights-section1{padding-top:60px;max-width:1180px}
.ax-page .ax-highlights-div1{text-align:center;margin-bottom:36px}
.ax-page .ax-highlights-h21{font-weight:400}
.ax-page .ax-highlights-div2{display:flex;justify-content:center;gap:56px;margin-top:26px;flex-wrap:wrap}
.ax-page .ax-highlights-div3{position:relative}
.ax-page .ax-highlights-div4{grid-template-columns:1.4fr 1fr}
.ax-page .ax-highlights-img1{aspect-ratio:8/7}
.ax-page .ax-highlights-img2{aspect-ratio:7/10}
.ax-page .ax-highlights-img3{aspect-ratio:16/9}
.ax-page .ax-highlights-img4{aspect-ratio:1/1}
.ax-page .ax-highlights-div5{grid-template-columns:2.07fr 1fr}
.ax-page .ax-highlights-div6{overflow:hidden;border-radius:22px;aspect-ratio:3/2;box-shadow:0 14px 36px rgba(0,0,0,.45)}
.ax-page .ax-highlights-img5{width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:none;transform:scale(1.22);transform-origin:0 50%}
.ax-page .ax-highlights-img6{aspect-ratio:3/2}

/* ---- SPONSORS ---- */
.ax-page .ax-sponsors-section1{margin-top:110px;background:#fff;color:#0a1740;padding:80px 0;text-align:center}
.ax-page .ax-sponsors-h21{margin:0 0 44px;font-size:clamp(30px,3.6vw,46px);font-weight:800;color:#0a1740}
.ax-page .ax-sponsors-div1{color:#1b5fd9;font-weight:800;margin-bottom:16px}
.ax-page .ax-sponsors-div2{margin-bottom:40px}
.ax-page .ax-sponsors-img1{height:90px;max-width:260px;margin:0 auto}
.ax-page .ax-sponsors-div3{display:flex;flex-wrap:wrap;gap:30px 56px;justify-content:center;align-items:center;margin-bottom:40px}
.ax-page .ax-sponsors-img2{width:210px;height:auto;max-width:100%}
.ax-page .ax-sponsors-img3{height:auto;width:210px;max-width:100%}
.ax-page .ax-sponsors-div4{display:flex;flex-wrap:wrap;gap:30px 56px;justify-content:center;margin-bottom:40px}
.ax-page .ax-sponsors-div5{display:flex;flex-wrap:wrap;gap:30px 56px;justify-content:center;align-items:center}
@media (max-width:640px){.ax-page :is(.ax-sponsors-div3,.ax-sponsors-div4,.ax-sponsors-div5){gap:24px 28px}}
/* الصفوف ذات 3 شعارات فأكثر على الشاشات الأصغر: شبكة 2×2 متساوية، وكل شعار في منتصف خانته أفقيًا وعموديًا
   بدل الالتفاف غير المتوازن (1 ثم 1 ثم 2) */
@media (max-width:899px){.ax-page .ax-sponsors-div3:has(> img:nth-child(3)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));place-items:center;gap:28px 24px;max-width:460px;margin-inline:auto}}
.ax-page .ax-sponsors-div6{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;align-items:center}
/* صفوف المجموعتين المتجاورتين (مثل شريك التمكين/المدينة): أعمدة بعرض متساوٍ ومنطقة شعار بارتفاع ثابت
   (أقصى ارتفاع في ax_logos = 90px) حتى يقع كل شعار في منتصف خانته أفقيًا وعموديًا */
.ax-page .ax-sponsors-div4{flex-wrap:nowrap}
.ax-page .ax-sponsors-div4>div{flex:0 1 240px;min-width:0;display:flex;flex-direction:column;align-items:center}
.ax-page .ax-sponsors-div4 .ax-sponsors-div6{min-height:90px;width:100%}
/* الجوال: أربع مجموعات في سطر واحد تضيق كثيرًا، فتصبح شبكة 2×2 */
@media (max-width:640px){.ax-page .ax-sponsors-div4:has(> div:nth-child(3)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px;max-width:460px;margin-inline:auto}}

/* ---- FAQ ---- */
.ax-page .ax-faq-section1{background:#eef3ff;color:#0a1740;padding:80px 0}
.ax-page .ax-faq-div1{max-width:860px}
.ax-page .ax-faq-h21{margin:0 0 36px;text-align:center;font-size:clamp(30px,3.6vw,46px);font-weight:800;color:#0a1740}
.ax-page .ax-faq-div2{display:flex;flex-direction:column;gap:12px}
.ax-page .ax-faq-details1{background:#fff;border-radius:18px;box-shadow:0 6px 20px rgba(10,23,64,.07)}

/* ---- FOOTER ---- */
.ax-page .ax-footer-footer1{background:#0a1230;border-top:1px solid rgba(120,160,255,.18);line-height:normal}
.ax-page .ax-footer-div1{padding-top:52px;padding-bottom:40px;display:flex;flex-wrap:wrap;gap:36px;justify-content:space-between}
.ax-page .ax-footer-div2{flex:2 1 320px;min-width:0}
.ax-page .ax-footer-img1{height:64px;width:auto}
.ax-page .ax-footer-p1{margin:12px 0 4px;color:#54e89c;font-weight:800}
.ax-page .ax-footer-p2{margin:0;color:#9fb0d0;line-height:1.9;max-width:420px}
.ax-page .ax-socials{display:flex;gap:10px;margin-top:16px}
.ax-page .ax-socials a{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(120,150,210,.18);transition:.25s}
.ax-page .ax-socials a:hover{background:#2b7fff;transform:translateY(-3px)}
.ax-page .ax-socials svg{width:20px;height:20px;fill:#fff}
.ax-page .ax-footer-div3{flex:1 1 150px}
.ax-page .ax-footer-h51{margin:0 0 18px;font-size:17px;line-height:1.4}
.ax-page .ax-footer-div4{display:flex;flex-direction:column;align-items:flex-start;gap:14px;color:#9fb0d0}
.ax-page .ax-footer-div4 a{line-height:1.5}
/* الجوال: عمودا الروابط جنبًا إلى جنب فتتقابل الأسطر، بمسافة ثابتة بين كل رابط والآخر */
@media (max-width:700px){.ax-page .ax-footer-div1{column-gap:24px;row-gap:36px}.ax-page .ax-footer-div3{flex:1 1 130px}.ax-page .ax-footer-div4{gap:4px}.ax-page .ax-footer-div4 a{padding:6px 0}}
.ax-page .ax-footer-div5{flex:1 1 180px}
.ax-page .ax-footer-img2{height:72px;width:auto}
.ax-page .ax-footer-div6{text-align:center;padding:16px;border-top:1px solid rgba(120,160,255,.12);color:#9fb0d0;font-size:14px}
