/* GC Academy 2026 visual layer — additive, scoped, no interference with v13 transitions. */
:root{--gc24-blue:#2867ef;--gc24-cyan:#3fd2f1;--gc24-violet:#8659eb;--gc24-ink:#0d1742;--gc24-ease:cubic-bezier(.2,.75,.22,1)}
.gc24-student-link{position:relative;white-space:nowrap;font-weight:800!important;color:#1963d8!important}
.gc24-student-link::after{content:'';display:block;width:100%;height:2px;background:linear-gradient(90deg,var(--gc24-blue),var(--gc24-cyan));border-radius:2px;transform:scaleX(0);transform-origin:center;transition:transform .25s ease}
.gc24-student-link:hover::after,.gc24-student-link:focus-visible::after{transform:scaleX(1)}
/* Floating social hub, keyboard navigable with escape and outside-click dismissal */
.gc24-social-hub{--gc24-hub-shadow:0 15px 40px rgba(12,35,91,.19);position:fixed;z-index:1100;bottom:calc(23px + env(safe-area-inset-bottom,0px));right:clamp(14px,2.3vw,34px);display:flex;align-items:flex-end;flex-direction:column;gap:12px;pointer-events:none}
.gc24-social-hub>*{pointer-events:auto}.gc24-social-trigger{border:1px solid rgba(255,255,255,.28);background:linear-gradient(130deg,#1749cc,#277cf3 54%,#35b8e9);box-shadow:var(--gc24-hub-shadow),inset 0 1px 0 rgba(255,255,255,.32);border-radius:999px;min-height:56px;min-width:56px;display:flex;align-items:center;justify-content:center;gap:5px;padding:9px 16px;color:#fff;font:inherit;cursor:pointer;isolation:isolate;transition:box-shadow .25s ease,filter .25s ease}.gc24-social-trigger:hover{filter:brightness(1.08);box-shadow:0 19px 50px rgba(22,78,181,.31)}.gc24-social-trigger:focus-visible,.gc24-social-item:focus-visible{outline:3px solid #7be5ff;outline-offset:3px}.gc24-social-plus{font-family:system-ui,sans-serif;font-size:1.75rem;line-height:1;display:inline-block;transition:transform .3s var(--gc24-ease)}.gc24-social-hub[data-open="true"] .gc24-social-plus{transform:rotate(45deg)}.gc24-social-caption{font-size:.85rem;font-weight:800;white-space:nowrap}.gc24-social-list{display:flex;align-items:flex-end;flex-direction:column;gap:9px;max-height:min(66vh,560px);overflow-y:auto;overflow-x:visible;padding:4px 4px 4px 10px;opacity:0;visibility:hidden;transform:translateY(10px) scale(.97);transform-origin:bottom right;transition:opacity .23s ease,visibility .23s,transform .32s var(--gc24-ease);pointer-events:none;scrollbar-width:thin}.gc24-social-hub[data-open="true"] .gc24-social-list{opacity:1;visibility:visible;transform:none;pointer-events:auto}.gc24-social-item{--gc24-platform:#3547B0;display:flex;align-items:center;gap:9px;text-decoration:none!important;transition:transform .2s var(--gc24-ease);transform:translateY(6px);border-radius:999px}.gc24-social-hub[data-open="true"] .gc24-social-item{transform:none}.gc24-social-item:hover{transform:translateX(-4px)!important}.gc24-social-label{font-weight:800;font-size:.8rem;line-height:1.2;background:#fff;color:#1b2e60;border:1px solid #e4eaff;padding:11px 14px;border-radius:12px;box-shadow:0 6px 26px rgba(20,40,90,.1)}.gc24-social-symbol{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;color:#fff;background:var(--gc24-platform);border-radius:50%;box-shadow:0 8px 22px color-mix(in srgb,var(--gc24-platform) 26%,transparent),inset 0 1px 0 rgba(255,255,255,.25)}.gc24-social-symbol svg{width:23px;height:23px;stroke:currentColor;fill:none}.gc24-social-list[aria-hidden="true"] a{pointer-events:none}
/* Showcase cards: avoid autoplay, use deliberate user interaction with a poster-first player */
.gc24-video-section{position:relative;padding:clamp(46px,6vw,92px) 0;isolation:isolate;background:linear-gradient(160deg,#f6faff,#fff 53%,#f8f7ff);overflow:hidden}.gc24-video-section:before{content:'';position:absolute;width:420px;height:420px;pointer-events:none;border-radius:50%;top:-240px;inset-inline-end:-150px;background:radial-gradient(circle,rgba(87,209,241,.27),transparent 69%);z-index:-1}.gc24-video-heading{margin-bottom:clamp(18px,3vw,30px);max-width:750px}.gc24-video-eyebrow{font-size:.72rem;font-weight:900;letter-spacing:.2em;color:#285fed}.gc24-video-heading h2{font:800 clamp(1.55rem,2.8vw,2.5rem)/1.3 'Alexandria','Manrope',sans-serif;color:var(--gc24-ink);margin:12px 0}.gc24-video-placement{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px}.gc24-film-card{border:1px solid rgba(36,91,192,.1);border-radius:24px;overflow:hidden;position:relative;box-shadow:0 20px 60px rgba(23,48,101,.10);background:#0e1b4f}.gc24-film-card:focus-within{outline:3px solid var(--gc24-cyan);outline-offset:3px}.gc24-film-play{position:relative;display:flex;aspect-ratio:16/9;width:100%;padding:0;border:0;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;background:radial-gradient(circle at 70% 23%,rgba(77,220,239,.62),transparent 42%),linear-gradient(130deg,#092657,#192765 52%,#6541ab);color:#fff}.gc24-film-play::after{content:'';pointer-events:none;position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,14,43,.92),transparent 58%)}.gc24-film-play img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;transition:transform .65s var(--gc24-ease)}.gc24-film-play:hover img{transform:scale(1.045)}.gc24-film-art{position:absolute;inset:0;background:radial-gradient(circle at 35% 45%,rgba(91,194,255,.65),transparent 23%),repeating-linear-gradient(125deg,transparent 0 28px,rgba(255,255,255,.04) 29px 30px)}.gc24-film-play-icon{position:relative;z-index:2;display:grid;place-items:center;width:72px;height:72px;aspect-ratio:1;border:1px solid rgba(255,255,255,.72);background:rgba(255,255,255,.18);backdrop-filter:blur(12px);border-radius:50%;transition:transform .22s var(--gc24-ease),background .22s}.gc24-film-play-icon svg{width:29px;height:29px;stroke:#fff;fill:none}.gc24-film-play:hover .gc24-film-play-icon{transform:scale(1.085);background:rgba(255,255,255,.3)}.gc24-film-meta{position:absolute;z-index:2;inset-inline:20px;bottom:17px;display:grid;gap:5px;text-align:start;font-family:'Alexandria','Manrope',sans-serif}.gc24-film-meta b{font-size:clamp(.95rem,1.5vw,1.14rem);color:#fff}.gc24-film-meta small{font-size:.75rem;color:#e6efff;line-height:1.6}
.gc24-video-modal{position:fixed;inset:0;z-index:6000;display:grid;place-items:center;padding:clamp(12px,3vw,32px);background:rgba(4,9,27,.89);backdrop-filter:blur(9px)}.gc24-video-dialog{width:min(100%,1050px);color:#fff;position:relative}.gc24-video-modal-title{font:800 1rem/1.6 'Alexandria',sans-serif;padding:8px 60px 17px 5px}.gc24-video-close{position:absolute;top:0;inset-inline-end:0;border:1px solid #b3bdd7;color:#fff;background:#182752;font-size:1.65rem;cursor:pointer;border-radius:50%;width:44px;height:44px;display:grid;place-items:center}.gc24-video-frame{width:100%;aspect-ratio:16/9;border-radius:16px;overflow:hidden;box-shadow:0 25px 80px rgba(0,0,0,.4)}.gc24-video-frame iframe{width:100%;height:100%;border:0;display:block}
/* Add a safe surface enhancement while respecting the earlier animation system. */
.gc24-video-section .gc24-film-card{transition:box-shadow .32s ease,border-color .32s ease}.gc24-video-section .gc24-film-card:hover{box-shadow:0 24px 68px rgba(26,66,161,.17);border-color:rgba(57,153,236,.42)}.gc24-enhanced .gc24-reveal{opacity:0;transform:translateY(22px);transition:opacity .65s var(--gc24-ease),transform .65s var(--gc24-ease)}.gc24-enhanced .gc24-reveal.gc24-visible{opacity:1;transform:none}.gc24-video-section .gc24-film-card:nth-child(2){transition-delay:.075s}.gc24-video-section .gc24-film-card:nth-child(3){transition-delay:.13s}
body.gc24-modal-open{overflow:hidden!important}
@media(max-width:700px){.gc24-social-caption{display:none}.gc24-social-trigger{padding:0;width:54px;height:54px}.gc24-social-symbol{width:44px;height:44px;flex-basis:44px}.gc24-video-section{padding:48px 0}.gc24-video-heading h2{font-size:1.55rem}.gc24-film-play-icon{width:59px;height:59px}.gc24-film-play-icon svg{width:23px;height:23px}}
@media(prefers-reduced-motion:reduce){.gc24-social-trigger,.gc24-social-plus,.gc24-social-list,.gc24-social-item,.gc24-film-play img,.gc24-film-play-icon,.gc24-reveal{transition:none!important;animation:none!important}.gc24-enhanced .gc24-reveal{opacity:1!important;transform:none!important}}

.gc24-hero-video{max-width:470px;margin-top:19px}.gc24-hero-video .gc24-film-card{border:1px solid rgba(255,255,255,.33);border-radius:18px}.gc24-hero-video .gc24-film-play{aspect-ratio:16/8.5}.gc24-hero-video .gc24-film-play-icon{width:55px;height:55px}.gc24-hero-video .gc24-film-meta{bottom:10px;inset-inline:13px}.gc24-hero-video .gc24-film-meta small{display:none}

/* Progressive enhancement: WhatsApp remains accessible if JS fails. */
.gc24-social-trigger{display:none}.gc24-social-hub.gc24-is-ready .gc24-social-trigger{display:flex}.gc24-social-fallback{display:grid;place-items:center;width:54px;height:54px;border-radius:100px;color:#fff!important;background:#13b867;box-shadow:var(--gc24-hub-shadow);text-decoration:none}.gc24-social-fallback svg{width:26px;height:26px}.gc24-social-hub.gc24-is-ready .gc24-social-fallback{display:none}

.gc24-social-item{direction:ltr}.gc24-social-label{direction:rtl}
body.gc9-menu-open .gc24-social-hub,body.gc-v5-enquiry-visible .gc24-social-hub{opacity:0;visibility:hidden;pointer-events:none}


/* ====================================================================
   GC Academy V16.2 – iOS/RTL-safe fixed Social Hub & motion polish
   Does not rewrite legacy site sections, forms, images, or their transitions.
   Source: recorded mobile regression 2026-11-23.
   ==================================================================== */
:root{--gc24-premium-ease:cubic-bezier(.19,.9,.24,1)}
/* In RTL, flex-end on a shrink-to-fit fixed container becomes the LEFT edge,
   pushing the trigger toward the middle. Use an explicit LTR flex context,
   then pin the Arabic version to the opposite physical edge of its CTAs. */
html body .gc24-social-hub{
  position:fixed!important;z-index:4500!important;
  direction:ltr!important;box-sizing:border-box;
  bottom:calc(24px + env(safe-area-inset-bottom,0px))!important;
  width:max-content;max-width:min(88vw,335px);
  display:flex;flex-direction:column;gap:12px;
  transform:none!important;translate:none!important;filter:none!important;
  transition:opacity .18s ease,visibility .18s ease;
  -webkit-transform:translateZ(0);
}
html body.rtl .gc24-social-hub{left:clamp(15px,2vw,30px)!important;right:auto!important;align-items:flex-start!important}
html body.ltr .gc24-social-hub{right:clamp(15px,2vw,30px)!important;left:auto!important;align-items:flex-end!important}
html body .gc24-social-hub .gc24-social-trigger{
  position:relative!important;display:none;
  width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;
  padding:0!important;border-radius:23px!important;
  align-items:center;justify-content:center;flex-shrink:0;
  background:linear-gradient(137deg,#102c89 0%,#2756db 46%,#08b7ed 100%)!important;
  border:1px solid rgba(255,255,255,.48)!important;
  color:#fff!important;cursor:pointer;
  box-shadow:0 16px 32px rgba(16,58,154,.27),0 6px 12px rgba(12,38,89,.12),inset 0 2px 2px rgba(255,255,255,.32)!important;
  -webkit-tap-highlight-color:transparent;
  transition:transform .27s var(--gc24-premium-ease),box-shadow .28s ease,background .28s ease!important;
}
html body .gc24-social-hub.gc24-is-ready .gc24-social-trigger{display:flex!important}
html body .gc24-social-hub .gc24-social-trigger::before{
  content:"";position:absolute;inset:5px;border:1px solid rgba(255,255,255,.23);
  border-radius:18px;pointer-events:none;
}
html body .gc24-social-hub .gc24-social-trigger::after{
  content:"";position:absolute;top:8px;right:8px;width:7px;height:7px;
  border-radius:50%;background:#79ffe0;box-shadow:0 0 0 3px rgba(121,255,224,.15);
  pointer-events:none;
}
.gc24-trigger-icon{display:grid;place-items:center;position:absolute;inset:0;transition:opacity .19s ease,transform .26s var(--gc24-premium-ease)}
.gc24-trigger-icon svg{width:31px;height:31px;display:block;stroke:none;fill:none;filter:drop-shadow(0 2px 3px rgba(12,35,91,.1))}
.gc24-trigger-close{opacity:0;transform:rotate(-70deg) scale(.5)}
.gc24-social-hub[data-open="true"] .gc24-trigger-chat{opacity:0;transform:rotate(70deg) scale(.65)}
.gc24-social-hub[data-open="true"] .gc24-trigger-close{opacity:1;transform:rotate(0) scale(1)}
html body .gc24-social-hub[data-open="true"] .gc24-social-trigger{
  box-shadow:0 18px 38px rgba(18,63,170,.31),0 5px 12px rgba(12,38,89,.12),inset 0 2px 2px rgba(255,255,255,.35)!important;
}
@media (hover:hover) and (pointer:fine){
  html body .gc24-social-hub .gc24-social-trigger:hover{transform:translateY(-3px) scale(1.03)!important;box-shadow:0 22px 45px rgba(22,76,184,.35),inset 0 1px 0 rgba(255,255,255,.28)!important}
}
html body .gc24-social-hub .gc24-social-trigger:active{transform:scale(.95)!important}
html body .gc24-social-hub .gc24-social-trigger:focus-visible{outline:3px solid #59e7ff!important;outline-offset:4px}
/* Platform menu opens ABOVE the floating button without expanding it sideways. */
html body .gc24-social-hub .gc24-social-list{
  box-sizing:border-box;max-width:min(85vw,310px);width:max-content;
  max-height:min(61dvh,480px);overflow-y:auto;overscroll-behavior:contain;
  direction:ltr!important;gap:10px;padding:7px;
  display:flex;flex-direction:column;align-items:stretch;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translate3d(0,12px,0) scale(.985);transform-origin:bottom center;
  transition:opacity .19s ease,transform .28s var(--gc24-premium-ease),visibility .19s ease!important;
  scrollbar-color:#b1c5ed transparent;scrollbar-width:thin;
}
html body .gc24-social-hub[data-open="true"] .gc24-social-list{
  opacity:1;visibility:visible;pointer-events:auto;transform:translate3d(0,0,0) scale(1);
}
html body .gc24-social-hub .gc24-social-item{
  display:flex;align-items:center;gap:9px;max-width:100%;min-height:50px;
  transform:translate3d(0,9px,0) scale(.965);opacity:0;
  transition:transform .27s var(--gc24-premium-ease),opacity .2s ease!important;
  transition-delay:0ms!important;text-decoration:none!important;
}
html body.rtl .gc24-social-hub .gc24-social-item{flex-direction:row-reverse!important;justify-content:flex-end}
html body.ltr .gc24-social-hub .gc24-social-item{flex-direction:row!important;justify-content:flex-end}
html body .gc24-social-hub[data-open="true"] .gc24-social-item{
  opacity:1;transform:translate3d(0,0,0) scale(1);
  transition-delay:calc(var(--gc24-order,0) * 32ms)!important;
}
html body .gc24-social-hub .gc24-social-item:hover{transform:translateY(-2px)!important}
html body .gc24-social-hub .gc24-social-label{
  box-sizing:border-box;max-width:220px;width:auto;
  border-radius:13px!important;padding:10px 12px!important;
  background:#fff!important;border:1px solid #e0eaff!important;
  color:#142d60!important;font-size:12px!important;font-weight:800!important;
  direction:inherit!important;white-space:normal;overflow-wrap:anywhere;
  box-shadow:0 7px 20px rgba(14,39,87,.12)!important;
}
html body.rtl .gc24-social-hub .gc24-social-label{direction:rtl!important;text-align:right}
html body.ltr .gc24-social-hub .gc24-social-label{direction:ltr!important;text-align:left}
html body .gc24-social-hub .gc24-social-symbol{
  display:grid!important;place-items:center!important;flex:0 0 50px!important;
  width:50px!important;height:50px!important;border-radius:16px!important;
  color:#fff!important;background:var(--gc24-platform,#375ce3)!important;
  border:1px solid rgba(255,255,255,.65)!important;
  box-shadow:0 9px 20px rgba(21,47,109,.22),inset 0 2px 1px rgba(255,255,255,.23)!important;
  transition:transform .24s var(--gc24-premium-ease),filter .24s ease!important;
}
/* The previous rule used fill:none on the outer svg, hiding filled brand glyphs. */
html body .gc24-social-hub .gc24-social-symbol svg{
  width:27px!important;height:27px!important;
  color:#fff!important;fill:currentColor!important;stroke:currentColor;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.12));display:block;
}
html body .gc24-social-hub .gc24-social-item:hover .gc24-social-symbol{transform:scale(1.065);filter:saturate(1.16)}
html body .gc24-social-hub .gc24-social-item[data-platform="instagram"] .gc24-social-symbol{background:linear-gradient(135deg,#ffbf43,#fa3e63 34%,#d72fc2 65%,#7048ec)!important}
html body .gc24-social-hub .gc24-social-item[data-platform="tiktok"] .gc24-social-symbol{background:linear-gradient(125deg,#141922,#090d15)!important;box-shadow:-3px 4px 0 rgba(35,236,247,.54),3px -3px 0 rgba(255,55,101,.4),0 10px 20px rgba(19,24,43,.24)!important}
html body .gc24-social-hub .gc24-social-item[data-platform="youtube"] .gc24-social-symbol{background:#ff202f!important}
html body .gc24-social-hub .gc24-social-item[data-platform="whatsapp"] .gc24-social-symbol{background:linear-gradient(140deg,#28df75,#079d56)!important}
html body .gc24-social-hub .gc24-social-item[data-platform="telegram"] .gc24-social-symbol{background:linear-gradient(140deg,#36bafa,#1889d6)!important}
html body .gc24-social-hub .gc24-social-item[data-platform="facebook"] .gc24-social-symbol,
html body .gc24-social-hub .gc24-social-item[data-platform="conference_facebook"] .gc24-social-symbol{background:linear-gradient(135deg,#278dff,#1556d9)!important}
/* Primary forms and course interactions: softer and more coherent desktop motion;
   do not alter touch-device card transforms or legacy scroll-reveal ownership. */
@media (hover:hover) and (pointer:fine){
  body .program-list-card,body .v4-course-card,body .related-grid article{transition:box-shadow .38s var(--gc24-premium-ease),border-color .32s ease,transform .38s var(--gc24-premium-ease)!important}
  body :is(.program-list-card,.v4-course-card,.related-grid article):hover{box-shadow:0 25px 60px rgba(15,59,125,.18)!important}
  body :is(.program-list-card,.v4-course-card) img{transition:transform .6s var(--gc24-premium-ease),filter .5s ease!important}
  body :is(.program-list-card,.v4-course-card):hover img{filter:saturate(1.05)}
}
/* Video cards should never fade to an invisible state when a webview skips IO. */
.gc24-enhanced .gc24-reveal,.gc24-enhanced .gc24-reveal.gc24-visible{opacity:1!important;transform:none!important}
@keyframes gc24-premium-arrive{from{opacity:.8;translate:0 12px}to{opacity:1;translate:0 0}}
@media (prefers-reduced-motion:no-preference){
 .gc24-enhanced .gc24-reveal.gc24-visible{animation:gc24-premium-arrive .55s var(--gc24-premium-ease) both}
}
@media(max-width:700px){
  html body .gc24-social-hub{bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
  html body .gc24-social-hub .gc24-social-trigger{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;border-radius:21px!important}
  html body .gc24-social-hub .gc24-social-trigger::before{border-radius:16px}
  .gc24-trigger-icon svg{width:29px;height:29px}
  html body .gc24-social-hub .gc24-social-list{max-height:min(58dvh,435px)}
  html body .gc24-social-hub .gc24-social-symbol{width:48px!important;height:48px!important;flex-basis:48px!important}
}
@media(prefers-reduced-motion:reduce){
  .gc24-social-hub *,.gc24-social-hub *::before,.gc24-social-hub *::after{transition:none!important;animation:none!important}
  .gc24-enhanced .gc24-reveal.gc24-visible{animation:none!important}
}

/* Quiet glass panel groups social channels without obscuring programme CTAs. */
html body .gc24-social-hub .gc24-social-list{
  background:rgba(248,251,255,.92);
  border:1px solid rgba(179,202,242,.65);
  border-radius:24px;
  padding:12px!important;
  box-shadow:0 17px 46px rgba(9,33,83,.16);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
@media(max-width:700px){
  html body .gc24-social-hub .gc24-social-list{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(248,251,255,.98)}
}
/* Elegant once-per-navigation section copy; avoid scroll listeners & image parallax.
   Earlier gc-pro.js remains the single owner of the scroll-reveal system. */
@keyframes gc24-hero-word-arrive{
  from{opacity:.35;translate:0 13px}
  to{opacity:1;translate:0 0}
}
@media (prefers-reduced-motion:no-preference){
  body .program-detail-hero .program-detail-copy > .kicker{animation:gc24-hero-word-arrive .55s var(--gc24-premium-ease) .03s both}
  body .program-detail-hero .program-detail-copy > h1{animation:gc24-hero-word-arrive .68s var(--gc24-premium-ease) .09s both}
  body .program-detail-hero .program-detail-copy > h2{animation:gc24-hero-word-arrive .64s var(--gc24-premium-ease) .17s both}
  body .program-detail-hero .program-detail-copy > p{animation:gc24-hero-word-arrive .58s var(--gc24-premium-ease) .23s both}
  body .program-detail-hero .program-detail-actions{animation:gc24-hero-word-arrive .55s var(--gc24-premium-ease) .27s both}
}
/* The FAQ open indicator feels responsive and avoids an abrupt +-flip. */
body .faq-list details summary > span{transition:transform .25s var(--gc24-premium-ease),color .25s ease!important}
@media (hover:hover) and (pointer:fine){
  body .faq-list details:hover{border-color:#b7cceb!important;box-shadow:0 12px 30px rgba(14,58,124,.08)!important}
  body .program-detail-actions a:focus-visible,body .program-list-actions a:focus-visible{outline:3px solid #42d8f6;outline-offset:3px}
}
