/* =========================================================
   Learning Content - For Companies - page styles  (e-learning.html)
   Shared styles live in css/style.css.
   ========================================================= */

:root { --ink: #0b1220; }
.page-hero {
  position: sticky; top: 0; z-index: 0; display: flex; align-items: flex-end; min-height: 46svh; overflow: hidden; background: #0a1220;
}
@media (min-width: 768px) { .page-hero { min-height: 60svh; } }
.page-hero > .ph-bg { position: absolute; inset: 0; background: url('../../image/neww.png') center / cover no-repeat; transform-origin: center; will-change: transform; }
.page-hero > .ph-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(2,20,48,.78) 0%, rgba(2,20,48,.48) 45%, rgba(2,20,48,.18) 100%), linear-gradient(to top, rgba(2,20,48,.44) 0%, transparent 40%); }
.page-hero > .ph-dim { position: absolute; inset: 0; background: var(--brand-navy); opacity: 0; pointer-events: none; }
.page-hero > .ph-inner { position: relative; width: 100%; will-change: transform, opacity; }
main > section:not(.page-hero) { position: relative; z-index: 1; }
.co-intro-title .text-brand-blue { color: var(--ink); transition: color .3s ease; }
body.co-scrolled .co-intro-title .text-brand-blue { color: var(--brand-blue); }
.about-btn.pm-btn { margin-top: 0; justify-content: center; padding: .72rem 1rem; font-size: .82rem; gap: .45rem; }
.about-btn.pm-btn { white-space: nowrap; }
.about-btn.pm-btn svg { width: 1rem; height: 1rem; flex: none; }
.about-btn.pm-btn-line { background: transparent; color: #0b72c9; box-shadow: inset 0 0 0 1px #0b72c9; }
.about-btn.pm-btn-line:hover { background: transparent; color: #0b72c9; box-shadow: inset 0 0 0 1px #0b72c9; transform: none; }
.co-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 2.25rem; }
@media (max-width: 639.98px) { .co-actions { margin-top: 1.25rem; } .anim > span:last-child { padding: .9rem 1rem 1rem; } .anim .go { margin-top: .6rem; } }
@media (max-width: 639.98px) { .about-btn.pm-btn { padding: .58rem .72rem; font-size: .72rem; gap: .35rem; } }
.crumb a:hover { color: var(--brand-gold); }
.pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: 0 1.5rem; font-size: .9rem; font-weight: 600; border-radius: 999px; transition: background-color .25s, color .25s, transform .25s, border-color .25s; }
.pill-btn svg { width: 1rem; height: 1rem; transition: transform .25s; }
.pill-btn:hover svg { transform: translateX(3px); }
.pill-dark { color: #fff; background: var(--ink); }
.pill-dark:hover { background: var(--brand-gold); color: var(--ink); transform: translateY(-2px); }
.pill-line { color: var(--ink); border: 1px solid #b9c9d8; background: #fff; }
.pill-line:hover { border-color: var(--brand-gold); background: rgba(245,184,46,.14); transform: translateY(-2px); }

/* Layered team photo slider */
.company-figure { position: relative; min-width: 0; margin: 0; }
.team-slider { position: relative; width: 100%; aspect-ratio: 1.14 / 1; display: grid; place-items: center; isolation: isolate; }
.team-stack { position: relative; width: 82%; height: 82%; perspective: 900px; }
.team-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; padding: 8px; background: #fff; border: 1px solid #d7dce1; box-shadow: 0 18px 38px -22px rgba(2,20,48,.55); transition: transform .55s cubic-bezier(.2,.75,.25,1), opacity .45s, filter .45s; }
.team-photo { cursor: zoom-in; }
.team-photo-front { z-index: 3; transform: translateZ(55px) scale(1.04); }
.team-photo-back { z-index: 2; transform: translateX(-29%) rotateY(13deg) scale(.84); filter: brightness(.88); }
.team-photo-side { z-index: 1; transform: translateX(29%) rotateY(-13deg) scale(.84); filter: brightness(.88); }
.team-arrow { position: absolute; z-index: 5; top: 50%; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid rgba(11,18,32,.15); border-radius: 50%; color: #0b1220; background: rgba(255,255,255,.9); font-size: 1.7rem; line-height: 1; transform: translateY(-50%); box-shadow: 0 5px 16px rgba(2,20,48,.12); cursor: pointer; transition: background .2s, transform .2s; }
.team-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.team-prev { left: 0; } .team-next { right: 0; }
.team-dots { position: absolute; z-index: 6; bottom: .1rem; left: 50%; display: flex; gap: .45rem; transform: translateX(-50%); }
.team-dots button { width: .48rem; height: .48rem; padding: 0; border: 0; border-radius: 50%; background: #bac4cf; cursor: pointer; }
.team-dots button[aria-current=true] { width: 1.35rem; border-radius: 999px; background: var(--brand-blue); }
.company-figure figcaption { position: relative; display: flex; align-items: center; justify-content: center; margin-top: .5rem; font-size: .82rem; color: #64748b; }
@media (max-width: 639.98px) { .team-slider { aspect-ratio: 1.2 / 1; } .team-stack { width: 80%; height: 78%; } .team-photo { padding: 5px; } .team-arrow { width: 2rem; height: 2rem; font-size: 1.35rem; } }
@media (prefers-reduced-motion: reduce) { .team-photo, .team-arrow { transition: none; } }
.team-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 2rem; background: rgba(3,10,20,.88); cursor: zoom-out; }
.team-lightbox[hidden] { display: none; }
.team-lightbox img { display: block; width: auto; max-width: min(92vw, 1200px); max-height: 88vh; object-fit: contain; background: #fff; padding: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.5); box-sizing: border-box; }
.team-lightbox-close { position: absolute; top: 1rem; right: 1.2rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 1.8rem; cursor: pointer; }
@media (max-width: 639.98px) {
  .team-lightbox { inset: 0; width: auto; height: 100dvh; min-height: 100vh; padding: 1rem; box-sizing: border-box; }
  .team-lightbox img { width: auto; max-width: 100%; max-height: calc(100dvh - 2rem); margin: auto; }
  .team-lightbox-close { top: max(1rem, env(safe-area-inset-top)); right: max(1rem, env(safe-area-inset-right)); }
}

/* formats band */
.band { position: relative; overflow: hidden; background: var(--ink); background-image: radial-gradient(46rem 22rem at 100% 0%, rgba(46,155,255,.2), transparent 60%), radial-gradient(30rem 18rem at 0% 100%, rgba(245,184,46,.14), transparent 60%); }

.cta-title { text-wrap: balance; }
@media (min-width: 640px) { h2.cta-title { font-size: clamp(1.35rem, 3.5vw, 2.25rem); white-space: nowrap; } }
/* what we build + formats (merged) */
.band.wb { background: linear-gradient(90deg, rgba(11,18,32,.9) 0%, rgba(11,18,32,.72) 50%, rgba(11,18,32,.5) 100%), url('../../image/conttact1.jpg') center / cover no-repeat, var(--ink); }
@media (max-width: 1023.98px) { .band.wb { background: linear-gradient(180deg, rgba(11,18,32,.88), rgba(11,18,32,.7)), url('../../image/conttact1.jpg') 70% center / cover no-repeat, var(--ink); } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: 0; padding-left: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .8rem .42rem .6rem; font-size: .8rem; font-weight: 600; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); border-radius: 999px; transition: border-color .25s, background-color .25s; }
.chip:hover { border-color: var(--brand-gold); background: rgba(245,184,46,.1); }
.chip svg { flex: none; width: 1rem; height: 1rem; color: var(--brand-gold); }
.wb-title { font-size: clamp(1.15rem, 5.6vw, 2.25rem); white-space: nowrap; }
@media (min-width: 1024px) { .wb-title { font-size: clamp(1.75rem, 2.75vw, 2.25rem); } }
.svc-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.svc { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 14px; transition: border-color .3s, background-color .3s, transform .3s; }
.svc:hover { border-color: rgba(245,184,46,.7); background: rgba(255,255,255,.07); transform: translateX(4px); }
.svc-n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--brand-gold); border: 1px solid rgba(245,184,46,.5); background: rgba(245,184,46,.08); border-radius: 50%; }
.svc h3 { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.svc p { margin-top: .25rem; font-size: .87rem; line-height: 1.55; color: rgba(255,255,255,.7); }
@media (max-width: 639.98px) {
  .svc { gap: .8rem; padding: .85rem .9rem; border-radius: 12px; }
  .svc-n { width: 2rem; height: 2rem; font-size: .7rem; }
  .svc:hover { transform: none; }
  .svc h3 { font-size: .95rem; }
  .svc p { font-size: .8rem; line-height: 1.55; }
  .chip { font-size: .74rem; padding: .36rem .65rem .36rem .5rem; }
}

/* related animations */
.anim { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #d5e1ea; border-radius: 10px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.anim:hover { transform: translateY(-5px); border-color: var(--brand-gold); box-shadow: 0 24px 36px -26px rgba(2,20,48,.55); }
.anim-img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.anim-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.anim:hover .anim-img img { transform: scale(1.06); }
.tag { display: inline-block; padding: .22rem .6rem; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a5f00; background: #fff3d1; border-radius: 999px; }
.go { display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 600; color: var(--brand-blue); transition: gap .25s, color .25s; }
.anim:hover .go { gap: .8rem; color: var(--ink); }
.go svg { width: 1rem; height: 1rem; }

/* animation cards play their YouTube video inline */
.anim-img { position: relative; display: block; aspect-ratio: 16 / 9; }
.anim-img img { width: 100%; height: 100%; object-fit: cover; }
.anim-img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.yt-btn:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: -3px; }
.yt-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: -1.6rem 0 0 -1.6rem; color: #0b72c9; background: #fff; border-radius: 50%; box-shadow: 0 0 0 8px rgba(255,255,255,.25); transition: transform .3s, box-shadow .3s; }
.yt-play svg { width: 1.25rem; height: 1.25rem; margin-left: .15rem; }
.anim:hover .yt-play { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(255,255,255,.3); }
.yt-go { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.yt-go:disabled { cursor: default; color: #64748b; }
@media (max-width: 639.98px) { .yt-play { width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; box-shadow: 0 0 0 5px rgba(255,255,255,.25); } .yt-play svg { width: 1rem; height: 1rem; } }

/* only two animation cards: two equal columns on desktop too (a third card brings back 3 per row) */
@media (min-width: 1024px) { .anim-grid:has(> article:nth-of-type(2):last-of-type) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
