/* =====================================================================
   منصة المعلم المتميز والمدارس المتميزة — Landing (photo-top redesign)
   Ministry of Education · State of Kuwait
   ===================================================================== */
:root{
  --royal:#0B3D91; --royal-2:#1553C7; --navy:#0A2A6E;
  --ink:#12203A; --muted:#54648F; --line:#E6ECF6; --bg:#F4F7FD;
  --gold:#E7B24C; --teal:#0F6E56; --teal2:#1FB89A;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; font-family:'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif;
  color:var(--ink); background:var(--bg); line-height:1.9; font-size:17px;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none}
/* keep the hero title in the decorative face; everything else normal */
.heroT h1{font-family:'Tajawal','IBM Plex Sans Arabic',sans-serif}
.heroT h1 .accent{color:var(--royal-2)}
.container{max-width:1180px;margin:0 auto;padding:0 22px}

/* ===================== normal WHITE top menu bar (not sticky, dark logo) ===================== */
.menubar{position:static;width:100%;margin:0;background:#fff;border-bottom:1px solid #E7EDF8;box-shadow:0 4px 18px rgba(11,61,145,.07)}
.menu{
  max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;
  gap:14px;padding:12px 22px
}
.brand{display:flex;align-items:center;gap:10px}
.brand__logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.brand__logo img{height:50px;width:auto;object-fit:contain;display:block}
/* menu link buttons (restyled, rounded, on white) */
.links{display:flex;gap:4px}
.links a{padding:11px 20px;border-radius:30px;font-weight:800;font-size:16px;color:var(--ink);transition:.16s;white-space:nowrap}
.links a:hover{background:#EEF3FE;color:var(--royal)}
.links a.on{background:linear-gradient(135deg,var(--royal),var(--royal-2));color:#fff;box-shadow:0 8px 18px rgba(11,61,145,.28)}
.sep{display:none}
.login{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--royal),var(--royal-2));color:#fff;border-radius:34px;padding:12px 24px;font-weight:900;font-size:15px;white-space:nowrap;box-shadow:0 12px 26px rgba(11,61,145,.30)}
.login:hover{filter:brightness(1.05)}
.burger{display:none;font-size:22px;color:var(--royal);background:#EEF3FE;border:1px solid #DCE6FA;border-radius:12px;width:46px;height:46px;cursor:pointer}
.heroT{padding-top:0}
@media(max-width:600px){.brand__logo img{height:44px}.menu{padding-top:18px;padding-bottom:18px;row-gap:12px}}
/* mobile-only hero login (menu login hidden to avoid overflow with logo) */
.hero__login-mobile{display:none}
@media(max-width:1000px){
  .links{display:none;order:5;flex-basis:100%;flex-direction:column;gap:4px;padding-top:8px}
  .links.open{display:flex}
  .menu{flex-wrap:wrap}
  .burger{display:inline-flex;align-items:center;justify-content:center;order:2}
  .login{display:none}                     /* hide menu login on mobile */
  .brand small{display:none}
  .hero__login-mobile{display:flex;justify-content:center;margin-top:6px}
}

/* back-to-top button */
.gotop{position:fixed;bottom:24px;left:24px;width:54px;height:54px;border-radius:50%;
  background:linear-gradient(135deg,var(--royal),var(--royal-2));color:#fff;border:0;
  display:none;align-items:center;justify-content:center;font-size:20px;cursor:pointer;
  box-shadow:0 14px 30px rgba(11,61,145,.36);z-index:60;transition:transform .15s}
.gotop:hover{transform:translateY(-3px)}
.gotop.show{display:inline-flex}

.sec,.heroT{scroll-margin-top:12px}

/* ===================== HERO: image top + content bottom ===================== */
.heroT{background:linear-gradient(180deg,#EEF4FF,var(--bg))}
.heroT__img{width:100%;height:440px;overflow:hidden}
.heroT__img img{
  width:100%;height:100%;object-fit:cover;
  -webkit-mask-image:linear-gradient(180deg,#000 72%,transparent);
  mask-image:linear-gradient(180deg,#000 72%,transparent);
}
.heroT__c{text-align:center;max-width:840px;margin:0 auto;padding:26px 20px 62px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:#EAF1FE;color:var(--royal);border-radius:30px;padding:9px 18px;font-weight:800;font-size:15px;margin-bottom:20px}
.eyebrow b{color:#993C1D}
.heroT h1{font-size:clamp(40px,6vw,68px);font-weight:700;margin:0 0 16px;color:var(--navy);line-height:1.28}
.heroT p{font-size:23px;color:#33436B;margin:0 auto 28px;max-width:620px}
.hero__cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
@media(max-width:700px){
  .heroT__img{height:220px}          /* keep image on top, resized on mobile */
  .heroT__c{padding-top:22px}
  .heroT p{font-size:18px}
}
@media(max-width:460px){.heroT__img{height:180px}}

/* ===================== buttons ===================== */
.bg{display:inline-flex;gap:9px;align-items:center;border-radius:34px;padding:16px 38px;font-weight:900;font-size:18.5px;transition:.2s}
.bg--royal{background:linear-gradient(135deg,var(--royal),var(--royal-2));color:#fff;box-shadow:0 16px 34px rgba(11,61,145,.34)}
.bg--royal:hover{transform:translateY(-2px)}
.bg--soft{background:#fff;color:var(--royal);border:1.5px solid #C9D9F3}

/* ===================== sections ===================== */
.sec{padding:60px 0}
.sec--alt{background:#fff}
.sec__title{text-align:center;font-size:41px;font-weight:900;margin:0 0 6px}
.sec__title span{color:var(--royal-2)}
.sec__sub{text-align:center;color:var(--muted);font-size:20px;margin:0 0 32px}
.dash{width:92px;height:5px;border-radius:5px;margin:14px auto 0;background:linear-gradient(90deg,transparent,var(--gold),transparent)}

/* ===================== services ===================== */
.tracks{display:grid;grid-template-columns:1fr 1fr;gap:26px}
@media(max-width:820px){.tracks{grid-template-columns:1fr}}
.track{position:relative;background:#fff;border:1px solid var(--line);border-radius:26px;padding:34px;box-shadow:0 16px 38px rgba(11,61,145,.08);transition:.22s;overflow:hidden}
.track::before{content:"";position:absolute;inset-inline-end:-40px;top:-40px;width:150px;height:150px;border-radius:50%;background:linear-gradient(135deg,var(--royal),var(--royal-2));opacity:.08}
.track--school::before{background:linear-gradient(135deg,var(--teal),var(--teal2))}
.track:hover{transform:translateY(-6px);box-shadow:0 28px 52px rgba(11,61,145,.16)}
.track__ic{width:86px;height:86px;border-radius:24px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;color:#fff;font-size:38px;background:linear-gradient(150deg,var(--royal),var(--royal-2));box-shadow:0 14px 28px rgba(11,61,145,.32)}
.track--school .track__ic{background:linear-gradient(150deg,var(--teal),var(--teal2))}
.track h3{margin:0 0 10px;font-size:28px;font-weight:900}
.track p{margin:0 0 16px;color:var(--muted);font-size:18.5px}
.track__link{display:inline-flex;align-items:center;gap:8px;color:var(--royal);font-weight:900;font-size:17px}
.track__soon{display:inline-block;background:#EEF1F6;color:#6B7B95;font-weight:800;border-radius:20px;padding:7px 16px;font-size:15px}

/* ===================== conditions — bordered rows + gradient icons ===================== */
.cond{display:flex;flex-direction:column;gap:16px}
.cond__row{
  display:flex;align-items:center;gap:20px;background:#fff;
  border:1.5px solid var(--line);border-radius:20px;padding:22px 26px;
  box-shadow:0 10px 26px rgba(11,61,145,.06);transition:.2s
}
.cond__row:hover{transform:translateY(-3px);border-color:#C9D9F3;box-shadow:0 18px 34px rgba(11,61,145,.13)}
.cond__ic{width:64px;height:64px;flex-shrink:0;border-radius:18px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;background:linear-gradient(150deg,var(--royal),var(--royal-2));box-shadow:0 10px 22px rgba(11,61,145,.28)}
.cond__t{font-size:20.5px;font-weight:700;flex:1;color:var(--ink)}
.cond__p{flex-shrink:0;color:#993C1D;background:#FBEAE2;border-radius:20px;padding:6px 16px;font-weight:800;font-size:14px}
@media(max-width:600px){.cond__row{gap:14px;padding:18px}.cond__ic{width:54px;height:54px;font-size:24px}.cond__t{font-size:16.5px}.cond__p{display:none}}

/* ===================== criteria — table with card-like rows ===================== */
.tblcard{width:100%;border-collapse:separate;border-spacing:0 14px}
.tblcard thead th{background:linear-gradient(135deg,var(--royal),var(--royal-2));color:#fff;padding:18px 22px;font-size:19px;font-weight:800;text-align:right}
.tblcard thead th:first-child{border-radius:0 16px 16px 0}
.tblcard thead th:last-child{border-radius:16px 0 0 16px;text-align:center;width:120px}
.tblcard tbody tr{box-shadow:0 8px 20px rgba(11,61,145,.06)}
.tblcard tbody td{background:#fff;border-top:1.5px solid var(--line);border-bottom:1.5px solid var(--line);padding:22px;font-size:20px}
.tblcard tbody td:first-child{border-inline-start:1.5px solid var(--line);border-radius:0 16px 16px 0}
.tblcard tbody td:last-child{border-inline-end:1.5px solid var(--line);border-radius:16px 0 0 16px;text-align:center}
.no{display:inline-flex;width:44px;height:44px;border-radius:12px;color:#fff;align-items:center;justify-content:center;font-weight:900;font-size:18px;margin-left:16px}
.nm{font-weight:700;font-size:20px}
.pts{display:inline-block;min-width:54px;text-align:center;padding:8px 18px;border-radius:99px;color:#fff;font-weight:800;font-size:17px}
.n-b,.p-b{background:#1553C7}.n-t,.p-t{background:#0F6E56}.n-g,.p-g{background:#B8901C}
.n-c,.p-c{background:#C2410C}.n-p,.p-p{background:#6D28D9}.n-r,.p-r{background:#993556}
.total{display:flex;justify-content:space-between;align-items:center;margin-top:8px;border-radius:18px;padding:22px 28px;color:#fff;background:linear-gradient(135deg,var(--navy),var(--royal))}
.total span{font-weight:800;font-size:20px}
.total b{font-size:32px;color:#F2CE86}
@media(max-width:600px){
  .tblcard td,.tblcard thead th{font-size:15.5px;padding:14px 12px}
  .nm{font-size:15.5px}.no{width:38px;height:38px;font-size:16px;margin-left:10px}
}

/* ===================== timeline ===================== */
.tl{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:760px){.tl{grid-template-columns:1fr}}
.tlc{background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px;text-align:center;box-shadow:0 14px 30px rgba(11,61,145,.07)}
.tlc__n{width:58px;height:58px;border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:24px;background:linear-gradient(135deg,var(--royal),var(--royal-2))}
.tlc h4{margin:0 0 8px;font-size:21px;font-weight:900}
.tlc p{margin:0;color:var(--muted);font-size:18px}

/* ===================== footer (with MOE logo) ===================== */
.foot{background:linear-gradient(135deg,var(--navy),#081C3A);color:#cdd8ee;text-align:center;padding:38px 20px;border-top:3px solid var(--gold)}
.foot__logo{height:64px;width:auto;object-fit:contain;filter:drop-shadow(0 2px 8px rgba(0,0,0,.4));margin-bottom:12px}
.foot__name{font-size:19px;font-weight:800;color:#fff;margin-bottom:6px}
.foot__copy{font-size:13.5px;opacity:.85}

@media(max-width:600px){.sec__title{font-size:30px}.sec__sub{font-size:16px}}

/* ======================= شعار منصة ياء ======================= */
.yaa-brand{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:16px}
.yaa-ico{display:block;filter:drop-shadow(0 8px 18px rgba(11,31,64,.28))}
.yaa-word{font-family:'Tajawal','IBM Plex Sans Arabic',sans-serif;font-weight:900;font-size:2.1rem;color:#0B3D91;line-height:1}
.yaa-x{position:relative;display:inline-block;padding-bottom:5px}
.yaa-x::after{content:"";position:absolute;inset-inline:0;bottom:0;height:3.5px;border-radius:3px;
  background:linear-gradient(90deg,#E6C457,#D8A72A)}
/* الهيدر — شعار + اسم ككتلة واحدة أعلى اليسار (أكبر) */
.brand__yaa{display:inline-flex;align-items:center;gap:11px;margin-inline-start:auto;text-decoration:none}
.brand__yaa .yaa-ico{width:54px;height:54px;border-radius:14px;filter:drop-shadow(0 5px 12px rgba(11,31,64,.26))}
.brand__yaa-word{font-family:'Tajawal','IBM Plex Sans Arabic',sans-serif;font-weight:900;
  font-size:1.72rem;color:#0B3D91;line-height:1;white-space:nowrap}
.brand__yaa-word .yaa-x{padding-bottom:4px}
.brand__yaa:hover .brand__yaa-word{color:var(--royal-2)}
/* الفوتر — في المنتصف */
.yaa-ico--foot{margin:0 auto 12px;display:block;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35))}
.foot .foot__name{font-weight:900}
.foot .foot__name .yaa-x::after{height:3px;bottom:-1px}

/* الهيرو — تكبير كتلة الشعار قليلاً */
.yaa-brand{gap:12px;margin-bottom:18px}
.yaa-brand .yaa-ico{width:120px;height:120px}
.yaa-word{font-size:2.45rem}

@media(max-width:600px){
  .yaa-word{font-size:1.85rem}
  .yaa-brand .yaa-ico{width:92px;height:92px}
  .brand__yaa-word{font-size:1.4rem}
  .brand__yaa .yaa-ico{width:46px;height:46px}
}

/* ======================= بوّابتا الدخول (الهيرو) ======================= */
.portals{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:760px;margin:6px auto 0;text-align:right}
@media(max-width:760px){.portals{grid-template-columns:1fr}}
.portal{display:flex;align-items:center;gap:16px;background:#fff;border:1.5px solid #D7E3F7;
  border-radius:22px;padding:20px 22px;box-shadow:0 16px 34px rgba(11,61,145,.10);
  transition:.2s;text-decoration:none;position:relative;overflow:hidden}
.portal:hover{transform:translateY(-4px);box-shadow:0 26px 48px rgba(11,61,145,.20);border-color:transparent}
.portal__ic{flex:0 0 auto;width:64px;height:64px;border-radius:18px;display:flex;align-items:center;
  justify-content:center;color:#fff;font-size:28px}
.portal--teacher .portal__ic{background:linear-gradient(150deg,var(--royal),var(--royal-2))}
.portal--school .portal__ic{background:linear-gradient(150deg,var(--teal),var(--teal2))}
.portal__tx{display:flex;flex-direction:column;gap:5px;min-width:0}
.portal__tx b{font-size:1.28rem;font-weight:900;color:var(--navy)}
.portal__tx small{font-size:.92rem;color:var(--muted);line-height:1.5;font-weight:600}
.portal__go{color:#9FB3D6;font-size:1.05rem;margin-inline-start:auto;flex:0 0 auto;transition:.2s}
.portal--teacher:hover .portal__go{color:var(--royal)}
.portal--school:hover .portal__go{color:var(--teal)}

/* ======================= زرّا الدخول في القائمة العلوية ======================= */
.menu-logins{display:flex;align-items:center;gap:8px}
.login--teacher{background:linear-gradient(135deg,var(--royal),var(--royal-2))}
.login--school{background:linear-gradient(135deg,var(--teal),var(--teal2))}
.login--teacher,.login--school{padding:11px 18px;font-size:14px}
@media(max-width:1000px){.menu-logins{display:none}}

/* ======================= قسم المدارس المتميزة (أحقية + شروط) ======================= */
.schsec{background:linear-gradient(180deg,#F1FBF8,var(--bg))}
.bg--teal{background:linear-gradient(135deg,var(--teal),var(--teal2));color:#fff;box-shadow:0 16px 34px rgba(15,110,86,.30)}
.bg--teal:hover{transform:translateY(-2px)}
.schsec .sec__title span{color:var(--teal2)}
.schsec .dash{background:linear-gradient(90deg,transparent,var(--teal2),transparent)}

/* بطاقة من له حق التقديم — مميّزة */
.schwho{position:relative;display:flex;gap:22px;align-items:center;flex-wrap:wrap;
  background:#fff;border:2px solid #BFE8DD;border-radius:26px;padding:26px 28px;margin:6px 0 30px;
  box-shadow:0 20px 44px rgba(15,110,86,.12);overflow:hidden}
.schwho::before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:8px;
  background:linear-gradient(180deg,var(--teal),var(--teal2))}
.schwho__badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--teal),var(--teal2));
  color:#fff;font-weight:900;font-size:15px;border-radius:30px;padding:10px 18px;box-shadow:0 10px 22px rgba(15,110,86,.30)}
.schwho__body{flex:1 1 320px;min-width:260px}
.schwho__body h3{margin:0 0 8px;font-size:26px;font-weight:900;color:var(--navy)}
.schwho__body p{margin:0 0 14px;font-size:18.5px;color:#2B4A52;line-height:1.7}
.schwho__body b{color:var(--teal)}
.schwho__chips{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.schchip{display:inline-flex;align-items:center;gap:8px;font-weight:900;font-size:16px;border-radius:30px;padding:10px 18px}
.schchip--main{background:#E4F6F0;color:var(--teal);border:1.5px solid #9FD9C9}
.schchip--alt{background:#FFF6E6;color:#9A6A12;border:1.5px solid #ECCF8E}
.schchip__or{font-weight:800;color:var(--muted);font-size:14px}

/* شروط الترشيح — شبكة بطاقات */
.schgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:820px){.schgrid{grid-template-columns:1fr}}
.schcard{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #D7EFE8;
  border-radius:20px;padding:18px 20px;box-shadow:0 12px 28px rgba(15,110,86,.08);transition:.2s}
.schcard:hover{transform:translateY(-3px);box-shadow:0 20px 40px rgba(15,110,86,.16);border-color:transparent}
.schcard__ic{flex:0 0 auto;width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:24px;background:linear-gradient(150deg,var(--teal),var(--teal2));box-shadow:0 10px 22px rgba(15,110,86,.28)}
.schcard__t{font-size:17.5px;color:#243B41;line-height:1.6}
.schcard__t b{color:var(--teal)}
.schcta{text-align:center;margin-top:28px}
@media(max-width:600px){
  .schwho__body h3{font-size:22px}
  .schwho__body p{font-size:16.5px}
  .schcard__t{font-size:16px}
}

/* ======================= جدول معايير المدرسة المتميزة (فيروزي) ======================= */
.tblcard--sch thead th{background:linear-gradient(135deg,var(--teal),var(--teal2))}
.n-sch{background:linear-gradient(150deg,var(--teal),var(--teal2))}
.p-sch{background:linear-gradient(150deg,var(--teal),var(--teal2))}
.total--sch{background:linear-gradient(135deg,#0A3B30,var(--teal))}
.total--sch b{color:#FFE08A}

/* زر لوحة التحكم في القائمة عند تسجيل الدخول */
.login--dash{background:linear-gradient(135deg,#0A2A6E,#1553C7)}

/* ======================= حالة «مسجّل الدخول» في الهيرو ======================= */
.signed{max-width:720px;margin:6px auto 0;display:flex;flex-direction:column;gap:14px;align-items:center}
.signed__note{display:inline-flex;align-items:center;gap:9px;background:#EAF7EF;color:#0F7A4E;
  border:1.5px solid #9FD9C9;border-radius:30px;padding:11px 22px;font-weight:800;font-size:16px}
.signed__note .fa-circle-check{color:#12A05E}
.signed__btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* منع قصّ شعار الهيدر من اليسار */
.brand__yaa{flex-shrink:0}
.menu{row-gap:10px}
/* =====================================================================
   الأندية المدرسية المسائية — additions on top of the landing theme
   ===================================================================== */

/* hero: open period chip */
.heroT__period{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1.5px solid #D7E3F7;
  border-radius:30px;padding:9px 20px;margin:0 auto 24px;font-weight:800;font-size:16px;color:var(--navy);
  box-shadow:0 10px 24px rgba(11,61,145,.08)}
.heroT__period i{color:var(--teal)}
.heroT__period--closed i{color:#B4412A}

/* about: image + text */
.about{display:grid;grid-template-columns:1.1fr 1fr;gap:36px;align-items:center}
@media(max-width:900px){.about{grid-template-columns:1fr}}
.about__img{border-radius:26px;overflow:hidden;box-shadow:0 22px 46px rgba(11,61,145,.16);aspect-ratio:16/10}
.about__img img{width:100%;height:100%;object-fit:cover;display:block}
.about__t h3{font-size:30px;font-weight:900;margin:0 0 12px;color:var(--navy)}
.about__t p{font-size:19px;color:#33436B;margin:0 0 22px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 10px;text-align:center;
  box-shadow:0 10px 24px rgba(11,61,145,.06)}
.stat b{display:block;font-size:30px;font-weight:900;color:var(--royal-2);line-height:1.3}
.stat span{font-size:15px;color:var(--muted);font-weight:700}

/* clubs: one card per club type */
.clubs{display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
.clubs .club{flex:0 1 calc(33.333% - 16px)}
@media(max-width:1000px){.clubs .club{flex-basis:calc(50% - 12px)}}
@media(max-width:640px){.clubs .club{flex-basis:100%}}
.club{position:relative;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;
  box-shadow:0 16px 36px rgba(11,61,145,.08);transition:.22s;overflow:hidden;display:flex;flex-direction:column}
.club::before{content:"";position:absolute;inset-inline-end:-40px;top:-40px;width:140px;height:140px;border-radius:50%;
  background:linear-gradient(135deg,var(--royal),var(--royal-2));opacity:.07}
.club:hover{transform:translateY(-6px);box-shadow:0 26px 50px rgba(11,61,145,.15)}
.club__ic{width:72px;height:72px;border-radius:20px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;
  color:#fff;font-size:32px;background:linear-gradient(150deg,var(--royal),var(--royal-2));box-shadow:0 12px 24px rgba(11,61,145,.28)}
.club:nth-child(2) .club__ic{background:linear-gradient(150deg,var(--teal),var(--teal2));box-shadow:0 12px 24px rgba(15,110,86,.28)}
.club:nth-child(3) .club__ic{background:linear-gradient(150deg,#B86B10,var(--gold));box-shadow:0 12px 24px rgba(184,107,16,.28)}
.club:nth-child(4) .club__ic{background:linear-gradient(150deg,#7A2E8E,#B158C8);box-shadow:0 12px 24px rgba(122,46,142,.28)}
.club:nth-child(5) .club__ic{background:linear-gradient(150deg,#2E6B2A,#5BA84F);box-shadow:0 12px 24px rgba(46,107,42,.28)}
.club h3{margin:0 0 10px;font-size:23px;font-weight:900;line-height:1.5}
.club__acts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.club__acts span{background:#EEF3FE;color:var(--royal);border-radius:20px;padding:4px 14px;font-weight:800;font-size:14.5px}
.club__cond{margin-top:auto;display:flex;gap:10px;align-items:flex-start;background:var(--bg);border:1px dashed #C9D9F3;
  border-radius:16px;padding:12px 14px;font-size:15.5px;color:#33436B;line-height:1.7}
.club__cond i{color:var(--royal-2);margin-top:5px}

/* positions band */
.positions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:30px}
.position{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1.5px solid #D7E3F7;border-radius:30px;
  padding:10px 22px;font-weight:900;font-size:17px;color:var(--navy)}
.position i{color:var(--gold)}

/* conditions: note row (interview) */
.cond__p--note{color:var(--teal);background:#E2F5EF}
.cond__row--note .cond__ic{background:linear-gradient(150deg,var(--teal),var(--teal2));box-shadow:0 10px 22px rgba(15,110,86,.28)}

/* application period */
.period{max-width:860px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px;
  box-shadow:0 18px 40px rgba(11,61,145,.09);text-align:center}
.period__status{display:inline-flex;align-items:center;gap:8px;border-radius:24px;padding:7px 18px;font-weight:900;font-size:15px;
  margin-bottom:20px;background:#E2F5EF;color:var(--teal)}
.period__status--closed{background:#FBEAE2;color:#993C1D}
.period__dates{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;margin-bottom:22px}
.period__d{background:var(--bg);border-radius:20px;padding:16px}
.period__d small{display:block;color:var(--muted);font-weight:800;font-size:15px}
.period__d b{display:block;font-size:28px;font-weight:900;color:var(--navy);direction:ltr}
.period__arrow{color:var(--gold);font-size:26px}
.period__left{font-size:18px;color:#33436B;margin-bottom:22px}
.period__left b{color:var(--royal-2);font-size:22px}
@media(max-width:600px){.period__dates{grid-template-columns:1fr}.period__arrow{transform:rotate(-90deg)}}

/* steps: 4 columns */
.tl--4{grid-template-columns:repeat(4,1fr)}
@media(max-width:1000px){.tl--4{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.tl--4{grid-template-columns:1fr}}
.tlc__ic{color:var(--royal-2);font-size:26px;margin-bottom:8px}

/* brand: منصة الأندية المسائية (text brand, replaces the old logo) */
.evc-brand{font-family:'Tajawal','IBM Plex Sans Arabic',sans-serif;font-weight:900;font-size:22px;color:var(--navy);white-space:nowrap}
.evc-word{font-family:'Tajawal','IBM Plex Sans Arabic',sans-serif;font-weight:900;font-size:30px;color:var(--navy);margin:6px 0 14px}
.evc-brand .yaa-x,.evc-word .yaa-x{color:var(--royal-2)}
.foot__name .yaa-x{color:var(--gold)}
@media(max-width:600px){.evc-brand{font-size:17px}.evc-word{font-size:24px}}

/* hero positions + CTA */
.positions--hero{margin:0 0 22px}
.hero__cta{display:flex;justify-content:center}

/* second image band */
.evc-band{border-radius:26px;overflow:hidden;box-shadow:0 22px 46px rgba(11,61,145,.14);margin:0 0 30px;height:300px}
.evc-band img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:600px){.evc-band{height:170px}}

/* required data lists */
.evc-list{margin:0;padding:0;list-style:none}
.evc-list li{position:relative;padding:8px 26px 8px 0;border-bottom:1px dashed var(--line);font-size:18px;font-weight:700;color:var(--ink)}
.evc-list li:last-child{border-bottom:0}
.evc-list li::before{content:"";position:absolute;right:4px;top:19px;width:9px;height:9px;border-radius:50%;background:var(--gold)}

/* hero title = platform name (bigger) */
.heroT h1.evc-title{font-size:clamp(46px,7vw,80px);margin:8px 0 24px}
/* period card inside the hero */
.period--hero{margin:0 auto 26px;max-width:640px;padding:22px 24px}
.period__head{font-family:'Tajawal','IBM Plex Sans Arabic',sans-serif;font-size:26px;font-weight:900;color:var(--navy);margin-bottom:8px}
.period--hero .period__status{margin-bottom:16px}
.period--hero .period__dates{margin-bottom:0}

/* hero image: taller, with the apply button on the image */
.heroT__img{position:relative;height:600px}
.heroT__img img{object-position:center;
  -webkit-mask-image:linear-gradient(180deg,#000 82%,transparent);
  mask-image:linear-gradient(180deg,#000 82%,transparent)}
.heroT__btn{position:absolute;inset-inline:0;bottom:22%;display:flex;justify-content:center;z-index:2}
.heroT__btn .bg{font-size:21px;padding:18px 46px;border:3px solid rgba(255,255,255,.85);
  box-shadow:0 18px 40px rgba(8,28,58,.45)}
.heroT__btn .bg:hover{transform:translateY(-3px)}
@media(max-width:1000px){.heroT__img{height:460px}}
@media(max-width:700px){
  .heroT__img{height:360px}
  .heroT__btn{bottom:20%}
  .heroT__btn .bg{font-size:18px;padding:14px 34px}
}
@media(max-width:460px){.heroT__img{height:320px}}

/* period card stays side by side on phones */
@media(max-width:600px){
  .period--hero{padding:18px 14px}
  .period__head{font-size:22px}
  .period__dates{grid-template-columns:1fr auto 1fr;gap:8px}
  .period__arrow{transform:none;font-size:18px}
  .period__d{padding:12px 6px}
  .period__d b{font-size:19px}
}

/* ---- v3: apply button at the bottom of the hero image ---- */
.heroT__img img{-webkit-mask-image:linear-gradient(180deg,#000 90%,transparent);mask-image:linear-gradient(180deg,#000 90%,transparent)}
.heroT__btn{bottom:7%}
@media(max-width:700px){.heroT__btn{bottom:6%}}

a.login-m{display:none}
.links a.login-m{align-items:center;gap:8px;justify-content:center;
  background:linear-gradient(135deg,var(--royal),var(--royal-2));color:#fff;margin-top:6px}
/* ---- v3: header in ONE row on mobile, menu opens as a dropdown ---- */
.menubar{position:relative;z-index:50}
@media(max-width:1000px){
  .menu{flex-wrap:nowrap;position:relative;padding-top:12px;padding-bottom:12px}
  .brand__logo img{height:42px}
  .evc-brand{order:1;margin-inline-start:auto;font-size:18px}
  .burger{order:3;flex-shrink:0;margin-inline-start:10px}
  .sep{display:none}
  .links{position:absolute;top:100%;inset-inline:0;order:9;background:#fff;
    padding:10px 16px 14px;border-bottom:1px solid #E7EDF8;box-shadow:0 14px 26px rgba(11,61,145,.12)}
  .links.open{display:flex}
  .links .login-m{display:flex}
}
@media(max-width:600px){
  .menu{gap:8px;padding:10px 12px}
  .brand{min-width:0;flex-shrink:1}
  .brand__logo img{height:34px}
  .evc-brand{font-size:16px}
  .burger{width:40px;height:40px;font-size:19px;margin-inline-start:4px}
}
@media(max-width:360px){.evc-brand{font-size:14px}.brand__logo img{height:30px}}

/* second image: full picture at its own ratio (1920x819), no cropping */
.evc-band{height:auto!important;aspect-ratio:auto}
.evc-band img{width:100%;height:auto!important;object-fit:contain;display:block}
@media(max-width:600px){.evc-band{height:auto!important}}

/* hero image: whole picture at its own ratio, bottom not cut or faded */
.heroT__img,
.heroT__img{height:auto!important;max-height:none!important}
@media(max-width:1000px){.heroT__img{height:auto!important}}
@media(max-width:700px){.heroT__img{height:auto!important}}
@media(max-width:460px){.heroT__img{height:auto!important}}
.heroT__img img{width:100%;height:auto!important;object-fit:contain!important;display:block;
  -webkit-mask-image:none!important;mask-image:none!important}
.heroT__btn{bottom:5%}
@media(max-width:700px){.heroT__btn{bottom:4%}.heroT__btn .bg{font-size:15px;padding:10px 24px}}

/* phones: the image is short, so the button goes right under it instead of covering it */
@media(max-width:700px){
  .heroT__btn{position:static!important;margin:14px 0 0}
  .heroT__btn .bg{font-size:17px;padding:13px 34px}
}

/* apply button under the platform name (not on the image) */
.heroT__btn{position:static!important;display:flex;justify-content:center;margin:0 0 26px!important}
.heroT__btn .bg{font-size:20px;padding:16px 44px;border:0;box-shadow:0 14px 30px rgba(11,61,145,.28)}
@media(max-width:700px){.heroT__btn .bg{font-size:17px;padding:13px 34px}}