/* GC Academy professional UI layer — built on top of the stable production theme */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

:root{
  --gc-heading:"Alexandria","Tajawal",Tahoma,Arial,sans-serif;
  --gc-body:"Tajawal",Tahoma,Arial,sans-serif;
  --gc-gold:#e7b94f;
  --gc-gold-light:#ffe09a;
  --gc-deep:#031127;
  --gc-navy:#071c3d;
  --gc-blue:#17358d;
  --gc-glow:rgba(231,185,79,.28);
}
html,body{max-width:100%;overflow-x:hidden}
body{font-family:var(--gc-body);font-weight:500}
.ltr{font-family:var(--gc-body)}
h1,h2,h3,h4,h5,h6,.brand b,.main-nav,.button,.kicker,.program-filters button{font-family:var(--gc-heading)}
.hero-title,.programs-hero h1{font-weight:800;letter-spacing:-.035em}
.hero-lead,.programs-hero p{font-weight:500}
.site-header{box-shadow:0 10px 35px rgba(3,17,39,.06)}
.button{position:relative;overflow:hidden}
.button::after{content:"";position:absolute;inset:-120% -35%;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.28),transparent 65%);transform:translateX(-55%) rotate(8deg);transition:transform .7s ease}
.button:hover::after{transform:translateX(55%) rotate(8deg)}

/* Home hero */
.hero{isolation:isolate;background:radial-gradient(circle at 82% 18%,rgba(37,83,178,.72),transparent 34%),radial-gradient(circle at 18% 80%,rgba(231,185,79,.12),transparent 31%),linear-gradient(135deg,#020d20 0%,#061d40 52%,#172f86 100%)}
.hero::after{content:"";position:absolute;inset:auto -12% -55% auto;width:620px;height:620px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 70px rgba(255,255,255,.018),0 0 0 140px rgba(255,255,255,.012);pointer-events:none}
.hero-layout{min-height:700px;padding-block:70px;grid-template-columns:minmax(0,1.04fr) minmax(460px,.96fr);gap:64px}
.hero-content{position:relative;z-index:4}
.hero-title{font-size:clamp(46px,5.1vw,78px)!important;line-height:1.18!important}
.hero-title strong{color:var(--gc-gold-light);display:block}
.hero-slogan{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid rgba(255,224,154,.38);border-radius:999px;background:rgba(4,20,45,.35);backdrop-filter:blur(12px)}
.hero-slogan b{font-family:var(--gc-heading);font-size:14px}
.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:690px;margin:30px 0 0;border:1px solid rgba(255,255,255,.12);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.045);backdrop-filter:blur(13px)}
.hero-stats>div{padding:16px 14px;text-align:center;border-inline-end:1px solid rgba(255,255,255,.1)}
.hero-stats>div:last-child{border-inline-end:0}
.hero-stats b,.hero-stats span{display:block}.hero-stats b{font-family:var(--gc-heading);font-size:24px;color:var(--gc-gold-light)}.hero-stats span{font-size:11px;color:#d9e7f7}
.hero-badges{margin-top:20px}
.gc-hero-visual{position:relative;min-height:520px;display:grid;place-items:center;perspective:1200px}
.gc-hero-card{position:relative;width:min(100%,660px);aspect-ratio:16/10;border-radius:34px;overflow:hidden;background:linear-gradient(145deg,#071c3d,#183e8d);border:1px solid rgba(255,224,154,.36);box-shadow:0 42px 100px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.04) inset;transform-style:preserve-3d}
.gc-hero-card::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.09),transparent 38%,rgba(255,215,120,.1));z-index:2;pointer-events:none}
.gc-hero-image{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.04) contrast(1.03)}
.gc-hero-shade{position:absolute;inset:0;z-index:3;background:linear-gradient(180deg,rgba(2,13,32,.03),rgba(2,13,32,.38)),linear-gradient(90deg,rgba(3,17,39,.16),transparent 48%)}
.gc-hero-brandmark{position:absolute;z-index:5;inset-inline-start:26px;bottom:24px;display:flex;align-items:center;gap:13px;max-width:360px;padding:13px 17px;border-radius:18px;color:#071c3d;background:rgba(255,255,255,.94);border:1px solid rgba(255,224,154,.78);box-shadow:0 24px 55px rgba(0,0,0,.25);backdrop-filter:blur(12px)}
.gc-hero-brandmark img{width:58px;height:58px;object-fit:contain;flex:0 0 auto}.gc-hero-brandmark strong,.gc-hero-brandmark span{display:block}.gc-hero-brandmark strong{font-family:var(--gc-heading);font-size:18px}.gc-hero-brandmark span{font-size:11px;color:#59667a;line-height:1.55}
.gc-hero-badge{position:absolute;z-index:6;display:flex;align-items:center;gap:9px;padding:10px 14px;border-radius:14px;border:1px solid rgba(255,224,154,.45);background:rgba(3,17,39,.82);color:#fff;box-shadow:0 18px 45px rgba(0,0,0,.22);backdrop-filter:blur(14px);font-size:12px;font-weight:800}
.gc-hero-badge i{width:9px;height:9px;border-radius:50%;background:#4ee0aa;box-shadow:0 0 0 6px rgba(78,224,170,.12)}
.gc-hero-badge-top{top:28px;inset-inline-end:25px}.gc-hero-badge-bottom{bottom:28px;inset-inline-end:25px;color:var(--gc-gold-light)}
.gc-hero-ring{position:absolute;border:1px solid rgba(255,224,154,.2);border-radius:50%;pointer-events:none}.gc-hero-ring.one{width:500px;height:500px}.gc-hero-ring.two{width:590px;height:590px;border-style:dashed;animation:gcSpin 30s linear infinite}.gc-hero-dot{position:absolute;width:14px;height:14px;border-radius:50%;background:var(--gc-gold);box-shadow:0 0 28px var(--gc-glow);top:12%;inset-inline-start:7%;animation:gcFloat 4.2s ease-in-out infinite}

/* Programs landing hero */
.programs-hero{padding:78px 0 84px;background:radial-gradient(circle at 76% 18%,rgba(57,72,188,.64),transparent 35%),radial-gradient(circle at 12% 86%,rgba(231,185,79,.13),transparent 28%),linear-gradient(135deg,#020d20,#071c3d 52%,#182f82)}
.programs-hero-layout{grid-template-columns:minmax(0,1fr) minmax(480px,.95fr);gap:70px}
.programs-hero h1{font-size:clamp(44px,5vw,72px)!important;line-height:1.2!important}
.gc-programs-stage{position:relative;min-height:520px;padding:22px;display:grid;place-items:center}
.gc-programs-stage::before{content:"";position:absolute;inset:8% 6%;border:1px solid rgba(255,224,154,.18);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.018),0 0 0 110px rgba(255,255,255,.012)}
.gc-programs-collage{position:relative;z-index:2;width:min(100%,620px);display:grid;grid-template-columns:1.08fr .92fr;grid-template-rows:repeat(2,220px);gap:15px;transform-style:preserve-3d}
.gc-program-tile{position:relative;overflow:hidden;border-radius:23px;border:1px solid rgba(255,224,154,.36);box-shadow:0 26px 60px rgba(0,0,0,.32);background:#081a39;transition:transform .35s ease,box-shadow .35s ease}
.gc-program-tile:first-child{grid-row:1/3}.gc-program-tile:hover{transform:translateY(-7px) scale(1.015);box-shadow:0 34px 75px rgba(0,0,0,.42)}
.gc-program-tile img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.gc-program-tile:hover img{transform:scale(1.055)}
.gc-program-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 36%,rgba(2,13,32,.9))}
.gc-program-tile span{position:absolute;z-index:2;inset-inline:17px;bottom:15px;color:#fff}.gc-program-tile small,.gc-program-tile b{display:block}.gc-program-tile small{color:var(--gc-gold-light);font-size:10px;font-weight:800;margin-bottom:4px}.gc-program-tile b{font-family:var(--gc-heading);font-size:15px;line-height:1.45}
.gc-programs-center{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);width:104px;height:104px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.96);border:2px solid var(--gc-gold-light);box-shadow:0 24px 55px rgba(0,0,0,.3)}
.gc-programs-center img{width:72px;height:72px;object-fit:contain}.gc-programs-count{position:absolute;z-index:6;inset-inline-end:0;bottom:12px;padding:11px 15px;border-radius:15px;background:rgba(3,17,39,.88);border:1px solid rgba(255,224,154,.45);backdrop-filter:blur(12px)}.gc-programs-count b,.gc-programs-count span{display:block}.gc-programs-count b{font-family:var(--gc-heading);font-size:22px;color:var(--gc-gold-light)}.gc-programs-count span{font-size:10px;color:#dce8f7}
.programs-summary-grid>div{transition:background .25s ease}.programs-summary-grid>div:hover{background:#f8fbff}
.program-list-card{transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease}.program-list-card:hover{border-color:rgba(216,170,67,.45)}
.program-list-image{overflow:hidden}.program-list-image img{transition:transform .65s ease}.program-list-card:hover .program-list-image img{transform:scale(1.045)}

/* Progressive reveal and motion */
html.gc-motion .gc-reveal{opacity:0;transform:translateY(28px);transition:opacity .75s cubic-bezier(.2,.72,.2,1),transform .75s cubic-bezier(.2,.72,.2,1)}
html.gc-motion .gc-reveal.gc-from-start{transform:translateX(30px)}
html[dir="ltr"].gc-motion .gc-reveal.gc-from-start{transform:translateX(-30px)}
html.gc-motion .gc-reveal.gc-from-end{transform:translateX(-30px)}
html[dir="ltr"].gc-motion .gc-reveal.gc-from-end{transform:translateX(30px)}
html.gc-motion .gc-reveal.is-visible{opacity:1;transform:none}
.gc-stagger>*{transition-delay:calc(var(--gc-i,0) * 70ms)!important}
@keyframes gcSpin{to{transform:rotate(360deg)}}
@keyframes gcFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-15px)}}

/* Responsive system */
@media(max-width:1180px){
  .nav-shell{gap:16px}.brand{min-width:230px}.main-nav{gap:14px;font-size:13px}
  .hero-layout,.programs-hero-layout{grid-template-columns:1fr;gap:44px}
  .hero-content{max-width:900px}.gc-hero-visual,.gc-programs-stage{min-height:auto}
  .gc-hero-card{width:min(100%,780px)}.gc-programs-collage{width:min(100%,760px)}
}
@media(max-width:920px){
  .top-strip .contact-mini span{display:none}.nav-shell{height:78px}.brand{min-width:0;flex:1}.brand img{width:56px;height:56px}.brand small{display:none}
  .menu-toggle{display:block;position:relative;z-index:1002}.nav-action{display:none}
  .main-nav{position:fixed;z-index:1001;top:116px;inset-inline:14px;display:grid;gap:0;padding:12px;border-radius:20px;background:rgba(255,255,255,.98);box-shadow:0 28px 80px rgba(3,17,39,.25);border:1px solid rgba(7,28,61,.1);transform:translateY(-16px) scale(.98);opacity:0;visibility:hidden;transition:.25s ease}
  .main-nav.open{transform:none;opacity:1;visibility:visible}.main-nav a{padding:12px 14px;border-bottom:1px solid #edf1f6}.main-nav a:last-child{border-bottom:0}.main-nav a::after{display:none}
  body.gc-menu-open{overflow:hidden}
  .hero-layout{padding-block:56px}.hero-title{font-size:clamp(40px,8vw,62px)!important}.hero-lead{font-size:18px}
  .gc-hero-ring{display:none}.gc-programs-stage{padding-inline:0}
}
@media(max-width:720px){
  :root{--container:100%}.container{width:calc(100% - 24px)}.top-strip-inner{min-height:34px}.contact-mini{gap:10px;font-size:11px}.contact-mini a:first-child{display:none}.language{font-size:11px}
  .site-header{position:sticky}.nav-shell{height:72px}.brand{gap:8px}.brand img{width:50px;height:50px}.brand b{font-size:16px}.menu-toggle span{width:24px}
  .main-nav{top:108px;inset-inline:10px}
  .hero-layout{padding-block:44px;gap:36px}.hero-title{font-size:clamp(36px,11vw,50px)!important;line-height:1.2!important}.hero-lead{font-size:16px}.hero-buttons{margin:25px 0 22px}.hero-buttons .button{flex:1;min-width:140px}.hero-stats{grid-template-columns:repeat(3,1fr);margin-top:22px}.hero-stats>div{padding:12px 6px}.hero-stats b{font-size:19px}.hero-stats span{font-size:9px}.hero-badges{grid-template-columns:1fr;gap:9px}
  .gc-hero-card{border-radius:22px;aspect-ratio:16/11}.gc-hero-brandmark{inset-inline:12px;bottom:12px;padding:9px 11px;max-width:260px;border-radius:14px}.gc-hero-brandmark img{width:42px;height:42px}.gc-hero-brandmark strong{font-size:14px}.gc-hero-brandmark span{font-size:9px}.gc-hero-badge{padding:8px 10px;font-size:10px}.gc-hero-badge-top{top:12px;inset-inline-end:12px}.gc-hero-badge-bottom{display:none}.gc-hero-dot{display:none}
  .programs-hero{padding:50px 0 58px}.programs-hero h1{font-size:clamp(36px,10vw,49px)!important}.programs-hero p{font-size:16px}.programs-hero-actions .button{flex:1;min-width:140px}
  .gc-programs-collage{grid-template-columns:1fr 1fr;grid-template-rows:190px 150px;gap:10px}.gc-program-tile:first-child{grid-row:auto;grid-column:1/3}.gc-program-tile{border-radius:17px}.gc-program-tile b{font-size:12px}.gc-programs-center{width:76px;height:76px}.gc-programs-center img{width:52px;height:52px}.gc-programs-count{bottom:-18px;inset-inline-end:8px;padding:8px 11px}.gc-programs-count b{font-size:17px}
  .programs-summary-grid{grid-template-columns:repeat(2,1fr)}.programs-summary-grid>div{padding:10px}.programs-summary-grid b{font-size:22px}.programs-summary-grid span{font-size:11px}
  .program-list-card{border-radius:17px}.program-list-content{padding:18px}.program-list-content h3{font-size:20px}.program-list-actions .button{width:100%}
  .section{padding:68px 0}.section-copy h2,.section-heading h2,.contact-cta h2{font-size:clamp(29px,8vw,40px)}
}
@media(max-width:430px){
  .hero-buttons,.programs-hero-actions{display:grid;grid-template-columns:1fr}.hero-buttons .button,.programs-hero-actions .button{width:100%}
  .hero-stats{grid-template-columns:1fr}.hero-stats>div{display:flex;align-items:center;justify-content:space-between;text-align:initial;border-inline-end:0;border-bottom:1px solid rgba(255,255,255,.1)}.hero-stats>div:last-child{border-bottom:0}
  .gc-programs-collage{grid-template-rows:170px 135px}.gc-programs-center{display:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}html.gc-motion .gc-reveal{opacity:1;transform:none}}

/* Dynamic media placements from the admin library */
.gc-programs-hero-image,
.trainers-hero-custom,
.contact-hero-image{
  position:relative;
  width:min(100%,760px);
  aspect-ratio:4/3;
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(243,210,124,.46);
  background:rgba(255,255,255,.06);
  box-shadow:0 32px 80px rgba(0,0,0,.3);
}
.gc-programs-hero-image>img,
.trainers-hero-custom>img,
.contact-hero-image>img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.gc-programs-hero-image .gc-programs-count{
  position:absolute;
  inset-inline-end:18px;
  bottom:18px;
  margin:0;
  background:rgba(4,20,45,.9);
  backdrop-filter:blur(12px);
  border:1px solid rgba(243,210,124,.42);
}
.trainers-hero-custom,
.contact-hero-image{justify-self:center}

@media (max-width:1050px){
  .gc-programs-hero-image,
  .trainers-hero-custom,
  .contact-hero-image{width:100%;max-width:780px;margin-inline:auto}
}
@media (max-width:640px){
  .gc-programs-hero-image,
  .trainers-hero-custom,
  .contact-hero-image{border-radius:20px;aspect-ratio:1/1}
  .gc-programs-hero-image .gc-programs-count{inset-inline:12px;bottom:12px}
}
