/* Photographic theme: hero slider, collage, photo cards, marquee, photo sections and page headers. */

/* Hero slider */
.slider { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.slides { position: relative; height: clamp(560px, 86vh, 780px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.is-active .slide-img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 11, 31, .94) 0%, rgba(8, 22, 66, .82) 42%, rgba(8, 22, 66, .25) 100%), linear-gradient(0deg, rgba(5, 11, 31, .55), transparent 40%); }
.slide-content { position: relative; z-index: 1; padding-bottom: 60px; }
.slide h1, .slide-title { color: #fff; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4rem); font-weight: 800; max-width: 15ch; margin-bottom: 1.1rem; letter-spacing: -.025em; line-height: 1.08; }
.slide-text { font-size: 1.15rem; color: #d3ddf5; max-width: 54ch; margin-bottom: 2rem; }
.slide .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.slide .eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--brand); }
.slide.is-active .slide-content > * { animation: rxc-rise .8s both; }
.slide.is-active .slide-content > :nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide-content > :nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide-content > :nth-child(4) { animation-delay: .3s; }
@keyframes rxc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots .dot { width: 34px; height: 5px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); padding: 0; transition: background .2s, width .2s; }
.slider-dots .dot.is-active { background: var(--brand); width: 56px; }
.slider-btns { display: flex; gap: 10px; }
.slider-btns button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(5, 11, 31, .35); color: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.slider-btns button:hover, .slider-btns button:focus-visible { background: var(--brand); border-color: var(--brand); }

/* Cards that overlap the bottom of the slider */
.float-cards { position: relative; z-index: 3; margin-top: -76px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(10, 26, 68, .45); overflow: hidden; }
.float-card { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; text-decoration: none; color: var(--text); border-right: 1px solid var(--line); transition: background .2s; position: relative; }
.float-card:last-child { border-right: 0; }
.float-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform .25s; }
.float-card:hover { background: #f6f9ff; }
.float-card:hover::after { transform: scaleX(1); }
.float-card strong { display: block; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1rem; line-height: 1.25; }
.float-card small { display: block; color: var(--muted); font-size: .84rem; margin-top: 5px; line-height: 1.45; }

/* Eyebrow with a short bar */
.eyebrow-line { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-line::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--brand); }
.eyebrow-line.center { justify-content: center; }

/* About / program collage */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.collage { position: relative; min-height: 560px; }
.collage img { position: absolute; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(10, 26, 68, .5); }
.collage .col-a { left: 0; top: 0; width: 70%; height: 440px; }
.collage .col-b { right: 0; bottom: 0; width: 60%; height: 300px; border: 8px solid #fff; }
.collage-badge { position: absolute; left: 6%; bottom: 46px; z-index: 2; width: 210px; padding: 22px; border-radius: 14px; background: var(--brand); color: #fff; border: 6px solid #fff; box-shadow: var(--shadow); }
.collage-badge i { font-size: 2rem; display: block; margin-bottom: 8px; }
.collage-badge strong { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.15; }
.collage-badge span { font-size: .85rem; opacity: .9; }
.collage-bar { position: absolute; left: 73%; top: 0; width: 8px; height: 230px; border-radius: 4px; background: var(--brand); }
.collage-dots { position: absolute; left: -26px; top: 120px; width: 90px; height: 220px; background-image: radial-gradient(#b7c6e6 1.5px, transparent 1.6px); background-size: 16px 16px; z-index: -1; }
.feature-rows { display: grid; gap: 22px; margin: 28px 0 32px; }
.feature-rows > div { display: flex; gap: 18px; }
.feature-rows > div > i { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-050); color: var(--brand); font-size: 1.5rem; }
.feature-rows h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature-rows p { margin: 0; color: var(--muted); }

/* Marquee */
.marquee { background: var(--brand); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: rxc-marquee 38s linear infinite; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { font-style: normal; opacity: .7; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes rxc-marquee { to { transform: translateX(-50%); } }

/* Photo service cards */
.photo-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.photo-card { position: relative; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.photo-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(10, 26, 68, .45); }
.pc-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-card:hover .pc-img img { transform: scale(1.06); }
.pc-badge { position: absolute; left: 20px; bottom: -24px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--tone, var(--brand)); border: 4px solid #fff; z-index: 1; }
.pc-body { padding: 36px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.15rem; }
.pc-body h3 a { color: var(--ink); text-decoration: none; }
.pc-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.pc-body p { color: var(--muted); font-size: .93rem; flex: 1; }

/* Section with a photo background */
.section-photo { position: relative; background: var(--navy-950) var(--bg) center / cover no-repeat; color: #c9d4ee; isolation: isolate; }
.section-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 31, .93), rgba(8, 22, 66, .9)); z-index: -1; }
.section-photo h2, .section-photo h3 { color: #fff; }
.section-photo .section-lead { color: #b8c6e8; }

/* Cloud photo with platform panel */
.cloud-photo { position: relative; }
.cloud-photo img { width: 100%; height: 520px; object-fit: cover; border-radius: 20px; }
.platforms-over { position: absolute; left: -40px; bottom: -30px; width: min(340px, 90%); box-shadow: var(--shadow); }

/* Who we help: photo tiles */
.who-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.who-tile { position: relative; border-radius: 18px; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.who-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.who-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 11, 31, .05) 20%, rgba(5, 11, 31, .9) 100%); }
.who-tile:hover img { transform: scale(1.06); }
.wt-body { padding: 24px; }
.wt-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand); margin-bottom: 12px; font-size: 1.15rem; }
.who-tile h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.who-tile p { margin: 0; font-size: .92rem; color: #dbe3f5; }

.faq-photo img { width: 100%; height: 260px; object-fit: cover; border-radius: 18px; margin-top: 24px; }

/* Inner page headers with a photo */
.page-hero-photo { position: relative; background: var(--navy-950) var(--bg) center / cover no-repeat; isolation: isolate; padding: clamp(72px, 8vw, 130px) 0 clamp(72px, 8vw, 120px); }
.page-hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 11, 31, .94) 0%, rgba(8, 22, 66, .84) 50%, rgba(8, 22, 66, .5) 100%); }

/* Call to action with a photo */
.cta-photo { position: relative; background: var(--navy-950) var(--bg) center / cover no-repeat; isolation: isolate; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(10, 26, 68, .95) 0%, rgba(10, 26, 68, .88) 50%, rgba(0, 74, 173, .78) 100%); }

@media (max-width: 1199.98px) {
  .photo-cards { grid-template-columns: repeat(2, 1fr); }
  .float-cards { grid-template-columns: repeat(2, 1fr); }
  .float-card:nth-child(2) { border-right: 0; }
  .float-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 991.98px) {
  .about-grid { grid-template-columns: 1fr; }
  .collage { min-height: 480px; max-width: 560px; }
  .who-tiles { grid-template-columns: 1fr 1fr; }
  .platforms-over { position: static; width: auto; margin-top: -60px; margin-left: 16px; margin-right: 16px; }
  .cloud-photo img { height: 360px; }
  .slider-controls { bottom: 96px; }
}
@media (max-width: 767.98px) {
  .slides { height: clamp(600px, 92vh, 700px); }
  .slide::after { background: linear-gradient(180deg, rgba(5, 11, 31, .55) 0%, rgba(5, 11, 31, .92) 55%); }
  .slide-content { padding-bottom: 120px; align-self: flex-end; }
  .slider-controls { bottom: 92px; }
  .slider-btns button { width: 40px; height: 40px; }
  .float-cards, .photo-cards, .who-tiles { grid-template-columns: 1fr; }
  .float-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .collage { min-height: 400px; }
  .collage .col-a { width: 78%; height: 320px; }
  .collage .col-b { width: 64%; height: 210px; }
  .collage-badge { width: 170px; padding: 16px; bottom: 20px; }
  .collage-badge strong { font-size: 1.1rem; }
  .marquee-track { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .slide-img, .slide.is-active .slide-img { transform: none; transition: none; }
  .slide.is-active .slide-content > * { animation: none; }
}
html.a11y-motion .marquee-track { animation: none !important; }

/* Poppins headings: slightly tighter weights */
h1, h2 { font-weight: 700; letter-spacing: -.015em; }
.slide h1, .slide-title { font-weight: 700; }

/* Offcanvas company panel */
.oc-overlay { position: fixed; inset: 0; background: rgba(5, 11, 31, .6); z-index: 1200; opacity: 0; transition: opacity .3s; }
.oc-overlay.is-open { opacity: 1; }
.offcanvas-info { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 1201; padding: 36px 34px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; box-shadow: -20px 0 50px -20px rgba(5, 11, 31, .5); }
.offcanvas-info.is-open { transform: none; }
.oc-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.05rem; }
.oc-logo { height: 62px; width: auto; margin-bottom: 18px; }
.oc-text { color: var(--muted); }
.oc-h { font-size: 1.15rem; padding-bottom: 12px; margin: 26px 0 14px; border-bottom: 1px solid var(--line); }
.oc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.oc-gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; transition: opacity .2s; }
.oc-gallery a:hover img { opacity: .8; }
.oc-hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.oc-hours dt { font-weight: 600; color: var(--ink); }
.oc-hours dd { margin: 0; color: var(--muted); }
.oc-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.oc-contact li { display: flex; gap: 12px; align-items: flex-start; }
.oc-contact i { color: var(--brand); font-size: 1.1rem; }
.oc-contact a { color: var(--ink); text-decoration: none; }
body.oc-lock { overflow: hidden; }
.info-open i { font-size: 1.25rem; }
@media (max-width: 1199.98px) { .info-open { display: none !important; } }

/* Back to top with a progress ring */
.to-top { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: 96px; z-index: 1090; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; font-size: 1.15rem;
  background: radial-gradient(closest-side, var(--brand) 78%, transparent 80% 100%), conic-gradient(var(--brand) calc(var(--p, 0) * 1%), #cdd9f5 0); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; box-shadow: 0 10px 24px -10px rgba(0, 74, 173, .7); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; transform: translateY(-2px); }

/* Facts strip (true facts only) */
.facts { list-style: none; padding: 0; margin: -10px 0 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -30px rgba(10, 26, 68, .45); border: 1px solid var(--line); }
.facts li { padding: 28px 24px; text-align: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 8px; }
.facts span { color: var(--muted); font-size: .92rem; }

/* How it works: photo panel + numbered cards */
.how-grid { display: grid; grid-template-columns: .85fr 1.6fr; gap: 26px; }
.how-panel { position: relative; border-radius: 18px; overflow: hidden; padding: 40px 34px; color: #dbe4f8; display: flex; flex-direction: column; justify-content: flex-end; min-height: 480px; isolation: isolate; background: var(--navy-900) var(--bg) center / cover; }
.how-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(0, 74, 173, .55) 0 38%, rgba(10, 26, 68, .92) 38% 100%); }
.how-panel h3 { color: #fff; font-size: 1.7rem; margin-bottom: 10px; }
.how-panel .btn { align-self: flex-start; margin-top: 8px; }
.how-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-card { position: relative; background: #fff; border: 1px solid #cfdcf7; border-radius: 16px; padding: 26px 22px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.how-card:hover { border-color: var(--brand); box-shadow: 0 18px 40px -24px rgba(0, 74, 173, .6); transform: translateY(-3px); }
.how-num { position: absolute; top: 14px; right: 18px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: #e3ebfb; }
.how-ic { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--brand-050); color: var(--brand); font-size: 1.6rem; margin-bottom: 16px; outline: 2px dashed var(--brand-300); outline-offset: 4px; }
.how-card h3 { font-size: 1.15rem; }
.how-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* How can we help you? (FAQ over photos) */
.help { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 90px 0; background: linear-gradient(90deg, var(--tint) 0 50%, #fff 50%); }
.help-photos { position: relative; padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px)); z-index: 1; }
.help-photos .hp-a { width: 100%; height: 520px; object-fit: cover; border-radius: 18px 0 0 18px; display: block; }
.help-photos .hp-b { position: absolute; right: -40px; bottom: -40px; width: 46%; height: 220px; object-fit: cover; border-radius: 14px; border: 8px solid #fff; box-shadow: var(--shadow); }
.help-panel { position: relative; background: var(--navy-900) url("../img/hero-tech-1200.webp") center / cover; color: #c9d4ee; padding: 64px max(20px, calc((100vw - 1240px) / 2 + 20px)) 64px 90px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin-left: -60px; }
.help-panel h2 { color: #fff; margin-bottom: 24px; }
.help-panel .faq-list { border: 0; display: grid; gap: 12px; }
.help-panel .faq-item { background: #fff; border: 0; border-radius: 10px; padding: 0 20px; }
.help-panel .faq-item summary { padding: 16px 0; }
.help-panel .faq-item summary h3 { font-size: 1rem; color: var(--ink); }
.help-panel .faq-a p { color: var(--muted); }
.help-more { margin: 20px 0 0; color: #c9d4ee; }
.help-more a { color: #fff; font-weight: 600; }

@media (max-width: 1199.98px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-panel { min-height: 300px; }
  .help { grid-template-columns: 1fr; background: var(--tint); padding: 0; }
  .help-photos { padding: 56px 20px 0; }
  .help-photos .hp-a { border-radius: 18px; height: 380px; }
  .help-photos .hp-b { right: 30px; bottom: -30px; }
  .help-panel { margin: 60px 0 0; padding: 60px 20px; }
}
@media (max-width: 991.98px) {
  .how-cards { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
  .how-cards, .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .help-photos .hp-b { display: none; }
  .to-top { bottom: 90px; right: 16px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .offcanvas-info, .oc-overlay, .to-top { transition: none; } }

/* Brand colours from the logo, used everywhere: logo blue #004aad (+ one darker, one lighter shade), blue-black, white */
:root { --brand: #004aad; --brand-600: #003a8a; --brand-300: #8fb4ff; --brand-050: #eef4ff; --navy-950: #05061a; --navy-900: #0b0d2b; --navy-800: #0a1a44; --indigo: #0b0d2b; --ink: #0b0d1f; --ok: #004aad; }
.btn-brand { background: var(--brand); border-color: var(--brand); box-shadow: 0 8px 20px -10px rgba(0, 74, 173, .75); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--brand-600); border-color: var(--brand-600); }
.nav-cta { background: linear-gradient(135deg, var(--brand-600), var(--brand)); }
.eyebrow-light { color: var(--brand-300); }

/* Header fit with the info-panel button */
@media (max-width: 1599.98px) and (min-width: 1200px) { .nav-tools { margin: 0 8px 0 2px; } .nav-tools > * { padding: 0 8px; } .nav-top { padding-left: 8px; padding-right: 8px; } }
@media (max-width: 1439.98px) and (min-width: 1200px) { .nav-top { padding-left: 6px; padding-right: 6px; font-size: .93rem; } .brand-slash { width: 30px; } }
@media (max-width: 1799.98px) { .lang-btn span { display: none; } .nav-tools > * { padding: 0 8px; } }
@media (max-width: 1319.98px) and (min-width: 1200px) { .info-open { display: none !important; } .nav-tools > .lang { border-left: 0; } }

/* Portfolio: live demo website cards */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.demo-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(5, 11, 31, .45); }
.dc-shot { position: relative; display: block; background: #eef1f7; padding-top: 26px; overflow: hidden; }
.dc-chrome { position: absolute; top: 9px; left: 12px; display: flex; gap: 5px; }
.dc-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #c9d0de; }
.dc-shot img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: top; transition: transform 3s ease; }
.demo-card:hover .dc-shot img { transform: translateY(-4%); }
.dc-view { position: absolute; inset: 26px 0 0; display: grid; place-items: center; background: rgba(0, 74, 173, .82); color: #fff; font-weight: 700; opacity: 0; transition: opacity .25s; }
.dc-shot:hover .dc-view, .dc-shot:focus-visible .dc-view { opacity: 1; }
.dc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.dc-type { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.dc-body h3 { font-size: 1.2rem; }
.dc-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; font-size: .88rem; color: var(--muted); }
.demo-note i { color: var(--brand); }
@media (max-width: 991.98px) { .demo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .demo-grid { grid-template-columns: 1fr; } }
.how-num::before { content: attr(data-n); }
