/* Industry detail page. Loaded after service-detail-style.css and reuses its
   hero, badge, section-heading and "why choose" styles; only the parts that are
   new to industry pages live here. */

.ind-section { padding: 80px 15px; }
.ind-section--tint { background: linear-gradient(to top, #f7f8ff 0%, #ffffff 100%); }
.ind-container { max-width: 1290px; margin: 0 auto; }
.ind-header { text-align: center; margin-bottom: 48px; }
.ind-header .svc-overview-divider { margin: 18px auto 22px; }
.ind-header-sub { color: #475569; font-size: 15px; line-height: 1.8; max-width: 720px; margin: 0 auto; }

/* Hero */
.ind-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ind-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 50px; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
/* Same look as the header "Book A Meeting" button; glow pulse from the shared .btn-btn-schedule class. */
.ind-btn--primary { background-image: linear-gradient(120deg, #041334, #175cff); color: #fff; }
.ind-btn--primary:hover { color: #fff; }
.ind-btn--ghost { background: #fff; color: #102c6d; border: 1px solid rgba(20, 80, 222, .25); }
.ind-btn:hover { transform: translateY(-2px); }
/* Hero visual: four puzzle pieces (Strategy, Design, Build, Launch) fly in from the
   corners, lock into one square, glow, show a "Ready to launch" badge, then drift
   apart and repeat. Common to every industry page. All parts share one 8s loop;
   each tile starts from its own corner (--fx/--fy/--r) after its own delay (--d). */
/* Keeps service-detail-style.css's 420px wrapper height so the hero stays the same height;
   the puzzle (380px) + overlapping badge fit inside it. */
.svc-hero-visual .svc-canvas-wrap { display: flex; align-items: center; justify-content: center; }
/* Desktop: the puzzle sits near the right edge of the content area (40px in, so the ring stays inside). */
@media (min-width: 992px) { .svc-hero-visual .svc-canvas-wrap { justify-content: flex-end; } .svc-canvas-wrap .ind-pz-scene { width: auto; margin-right: 40px; } }
.ind-pz-scene { position: relative; width: 100%; max-width: 620px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ind-pz-ring { position: absolute; left: 50%; top: 47%; width: min(440px, 100vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed rgba(20, 80, 222, .18); animation: ind-spin 60s linear infinite; }
@keyframes ind-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.ind-pz { position: relative; z-index: 1; width: min(380px, 82vw); aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; animation: ind-pz-glow 8s ease-in-out infinite; }
@keyframes ind-pz-glow {
  0%, 24% { box-shadow: 0 0 0 0 rgba(20, 80, 222, 0), 0 0 0 0 rgba(16, 44, 109, 0); }
  32% { box-shadow: 0 0 0 14px rgba(20, 80, 222, .14), 0 30px 60px rgba(16, 44, 109, .22); }
  44%, 82% { box-shadow: 0 0 0 0 rgba(20, 80, 222, 0), 0 30px 60px rgba(16, 44, 109, .18); }
  92%, 100% { box-shadow: 0 0 0 0 rgba(20, 80, 222, 0), 0 0 0 0 rgba(16, 44, 109, 0); }
}
.ind-pz-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; animation: ind-pz-in 8s cubic-bezier(.16, 1, .3, 1) infinite both; animation-delay: var(--d); }
@keyframes ind-pz-in {
  0% { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--r)) scale(.85); }
  14%, 82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translate(calc(var(--fx) * .35), calc(var(--fy) * .35)) rotate(calc(var(--r) * .5)) scale(.95); }
}
/* Checkerboard: blue pieces carry the knobs, so they sit above the white ones. */
.ind-pz-tile--tl { --fx: -200px; --fy: -160px; --r: -14deg; --d: 0s; z-index: 2; border-radius: 30px 0 0 0; background: #1450de; color: #fff; }
.ind-pz-tile--tr { --fx: 200px; --fy: -160px; --r: 12deg; --d: .3s; z-index: 1; border-radius: 0 30px 0 0; background: #fff; color: #102c6d; }
.ind-pz-tile--bl { --fx: -200px; --fy: 160px; --r: 10deg; --d: .6s; z-index: 1; border-radius: 0 0 0 30px; background: #fff; color: #102c6d; }
.ind-pz-tile--br { --fx: 200px; --fy: 160px; --r: -12deg; --d: .9s; z-index: 2; border-radius: 0 0 30px 0; background: #102c6d; color: #fff; }
.ind-pz-tile--tl::after, .ind-pz-tile--tl::before, .ind-pz-tile--br::after, .ind-pz-tile--br::before { content: ""; position: absolute; width: var(--knob); height: var(--knob); border-radius: 50%; background: inherit; }
.ind-pz { --knob: 44px; }
.ind-pz-tile--tl::after { right: calc(var(--knob) / -2); top: calc(50% - var(--knob) / 2); }
.ind-pz-tile--tl::before { bottom: calc(var(--knob) / -2); left: calc(50% - var(--knob) / 2); }
.ind-pz-tile--br::after { top: calc(var(--knob) / -2); left: calc(50% - var(--knob) / 2); }
.ind-pz-tile--br::before { left: calc(var(--knob) / -2); top: calc(50% - var(--knob) / 2); }
.ind-pz-num { position: absolute; top: 18px; left: 22px; font-size: 13px; font-weight: 700; letter-spacing: .06em; opacity: .6; }
.ind-pz-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .16); }
.ind-pz-icon svg { width: 29px; height: 29px; }
.ind-pz-tile--tr .ind-pz-icon, .ind-pz-tile--bl .ind-pz-icon { background: #E9EEFC; color: #1450de; }
.ind-pz-label { font-size: 17.5px; font-weight: 800; }
.ind-pz-badge { position: relative; z-index: 3; margin-top: -24px; display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px 12px 12px; border-radius: 50px; background: #fff; border: 1px solid rgba(22, 163, 74, .25); box-shadow: 0 14px 30px rgba(16, 44, 109, .12); font-size: 15.5px; font-weight: 700; color: #102c6d; animation: ind-pz-badge 8s cubic-bezier(.16, 1, .3, 1) infinite both; }
@keyframes ind-pz-badge {
  0%, 26% { opacity: 0; transform: translateY(10px) scale(.9); }
  32%, 82% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(6px); }
}
.ind-pz-badge-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #16a34a; color: #fff; }
.ind-pz-badge-icon svg { width: 13px; height: 13px; }
@media (prefers-reduced-motion: reduce) {
  .ind-pz-ring { animation: none !important; }
  .ind-pz, .ind-pz-tile, .ind-pz-badge { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Challenges: sticky intro on the left, numbered list on the right (no boxes) */
/* Trim the stacked paddings between Challenges and What We Build. */
.ind-section--ch { padding-bottom: 32px; }
.ind-section--build { padding-top: 56px; }
.ind-ch { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.ind-ch-intro { position: sticky; top: 110px; }
.ind-ch-heading { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: #102c6d; line-height: 1.18; margin: 0; }
.ind-ch-intro .svc-overview-divider { margin: 18px 0 20px; }
.ind-ch-sub, .ind-ch-intro-text p { color: #475569; font-size: 15.5px; line-height: 1.85; margin: 0 0 18px; max-width: 480px; }
.ind-ch-list { list-style: none; margin: 0; padding: 0; }
.ind-ch-item { display: flex; gap: 26px; padding: 30px 0; border-bottom: 1px solid rgba(20, 80, 222, .12); }
.ind-ch-item:first-child { padding-top: 6px; }
.ind-ch-item:last-child { border-bottom: none; }
.ind-ch-num { flex-shrink: 0; width: 72px; font-size: 52px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(20, 80, 222, .35); transition: color .3s ease, -webkit-text-stroke-color .3s ease; }
.ind-ch-item:hover .ind-ch-num { color: #1450de; -webkit-text-stroke-color: #1450de; }
.ind-ch-title { font-size: 20px; font-weight: 700; color: #102c6d; margin: 4px 0 8px; }
.ind-ch-desc { font-size: 15px; line-height: 1.75; color: #475569; margin: 0; }

/* Solutions: vertical tab list + one highlighted panel */
.ind-tabs { display: grid; grid-template-columns: 4fr 7fr; gap: 28px; align-items: stretch; }
.ind-tablist { display: flex; flex-direction: column; gap: 8px; }
.ind-tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: #475569; font: inherit; font-size: 15.5px; font-weight: 600; text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ind-tab:hover { color: #102c6d; background: rgba(20, 80, 222, .05); }
.ind-tab.is-active { color: #102c6d; background: #fff; border-color: rgba(20, 80, 222, .16); box-shadow: 0 10px 28px rgba(16, 44, 109, .08); }
.ind-tab-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(20, 80, 222, .07); color: #1450de; transition: background .2s ease, color .2s ease; }
.ind-tab-icon svg { width: 20px; height: 20px; }
.ind-tab.is-active .ind-tab-icon { background: #1450de; color: #fff; }
.ind-tab:focus-visible { outline: 2px solid #1450de; outline-offset: 2px; }
/* The box takes the tab list's height: on desktop the panels are absolutely positioned,
   so only the tab list sizes the row and the box's top/bottom line up with tab 1 / tab 6.
   Below 1200px (tabs in a row above the box) the panels share one grid cell instead, so the box
   is as tall as the tallest panel and doesn't jump between tabs. */
.ind-panels { display: grid; position: relative; }
@media (min-width: 1200px) { .ind-panels .ind-panel { position: absolute; inset: 0; } }
.ind-panel { grid-area: 1 / 1; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 28px 40px; border-radius: 24px; background: #fff; border: 1px solid rgba(20, 80, 222, .14); box-shadow: 0 24px 60px rgba(16, 44, 109, .10); }
.ind-panel[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.ind-panel.is-active { animation: ind-panel-in .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes ind-panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ind-panel-num { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #64748b; margin-bottom: 12px; }
.ind-panel-icon { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #E9EEFC; color: #1450de; margin-bottom: 14px; }
.ind-panel-icon svg { width: 28px; height: 28px; }
.ind-panel-title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: #102c6d; margin: 0 0 8px; }
.ind-panel-desc { font-size: 15px; line-height: 1.75; color: #475569; margin: 0 0 16px; max-width: 620px; }
.ind-panel-subhead { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1450de; margin: 0 0 10px; }
.ind-panel-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; max-width: 640px; }
.ind-panel-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #102c6d; }
.ind-panel-check { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #E9EEFC; color: #1450de; }
.ind-panel-check svg { width: 12px; height: 12px; }
.ind-panel-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 50px; background-image: linear-gradient(120deg, #041334, #175cff); color: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ind-panel-link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 80, 222, .3); }

/* Services: cards, 4 per row with the remainder centred, all in the theme blue. */
/* Services sit right above the process section: trim the stacked paddings between them. */
.ind-section--svc { padding-bottom: 24px; }
.service-process-award-section.ind-process { padding-top: 40px; }
.ind-sc-grid { --gap: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.ind-sc { --c: #1450de; --c-soft: #E9EEFC; position: relative; overflow: hidden; width: calc((100% - 3 * var(--gap)) / 4); display: flex; flex-direction: column; padding: 28px 28px 34px; background: #fff; border: 1px solid rgba(20, 80, 222, .10); border-radius: 18px; box-shadow: 0 10px 30px rgba(16, 44, 109, .06); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ind-sc::after { content: ""; position: absolute; right: -34px; bottom: -46px; width: 128px; height: 96px; border-radius: 60% 40% 0 0 / 80% 70% 0 0; background: var(--c-soft); transform: rotate(-14deg); transition: transform .35s ease; pointer-events: none; }
.ind-sc:hover { transform: translateY(-6px); border-color: var(--c-soft); box-shadow: 0 22px 46px rgba(16, 44, 109, .12); }
.ind-sc:hover::after { transform: rotate(-14deg) scale(1.15); }
.ind-sc-icon { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c); margin-bottom: 20px; }
.ind-sc-icon svg { width: 36px; height: 36px; }
.ind-sc-arrow { position: absolute; top: 24px; right: 22px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--c-soft); color: var(--c); transition: background .25s ease, color .25s ease, transform .25s ease; }
.ind-sc-arrow svg { width: 15px; height: 15px; }
.ind-sc:hover .ind-sc-arrow { background: var(--c); color: #fff; transform: translateX(3px); }
.ind-sc-title { position: relative; z-index: 1; font-size: 19px; font-weight: 800; line-height: 1.35; color: #102c6d; margin: 0 0 10px; }
.ind-sc-desc { position: relative; z-index: 1; font-size: 14.5px; line-height: 1.7; color: #475569; margin: 0; }
.ind-sc:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }


@media (max-width: 1199px) {
  .ind-tabs { grid-template-columns: 1fr; }
  .ind-tablist { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .ind-tab { width: auto; flex-shrink: 0; }
}
@media (max-width: 991px) {
  .ind-ch { grid-template-columns: 1fr; gap: 36px; }
  .ind-ch-intro { position: static; }
    .ind-sc { width: calc((100% - var(--gap)) / 2); }
  .svc-hero-visual { margin-top: 32px; }
}
@media (max-width: 600px) {
  .ind-section { padding: 56px 16px; }
  .ind-ch-num { width: 52px; font-size: 40px; }
  .ind-ch-item { gap: 16px; padding: 24px 0; }
  .ind-panel { padding: 30px 22px; }
  .ind-panel-list { grid-template-columns: 1fr; }
  .ind-sc { width: 100%; padding: 24px 22px 28px; }
  .ind-sc-icon { width: 60px; height: 60px; }
  .ind-sc-icon svg { width: 30px; height: 30px; }
  .ind-pz-scene { padding: 16px 0; }
  .ind-pz { width: min(300px, 76vw); --knob: 32px; border-radius: 24px; }
  .ind-pz-tile { gap: 10px; }
  .ind-pz-icon { width: 40px; height: 40px; border-radius: 12px; }
  .ind-pz-icon svg { width: 20px; height: 20px; }
  .ind-pz-label { font-size: 14px; }
  .ind-pz-badge { font-size: 13.5px; }
  .ind-pz-num { top: 10px; left: 12px; font-size: 11px; }
  /* service-detail-style.css pulls its 3D canvas up with a negative margin on
     phones; this scene needs normal flow instead. */
  .svc-hero-visual .svc-canvas-wrap { height: auto; margin-block: 0 !important; }
  .svc-hero-visual { min-height: 0; margin-top: 8px; }
}

/* Closing CTA banner: light #F7F7FF card, two buttons, stats row. */
.ind-cta-section { padding: 30px 15px 90px; }
.ind-cta { position: relative; overflow: hidden; max-width: 1290px; margin: 0 auto; padding: 56px 56px 40px; border-radius: 28px; color: #102c6d;
  background-color: #F7F7FF;
  border: 1px solid rgba(20, 80, 222, .14);
  box-shadow: 0 24px 60px rgba(16, 44, 109, .10); }
.ind-cta-glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.ind-cta-glow--1 { width: 320px; height: 320px; top: -120px; right: -60px; background: rgba(20, 80, 222, .14); animation: ind-cta-drift 9s ease-in-out infinite; }
.ind-cta-glow--2 { width: 260px; height: 260px; bottom: -120px; left: 10%; background: rgba(124, 58, 237, .10); animation: ind-cta-drift 11s ease-in-out infinite reverse; }
@keyframes ind-cta-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 20px); } }
.ind-cta-top, .ind-cta-stats { position: relative; z-index: 1; }
.ind-cta-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ind-cta-text { max-width: 640px; }
.ind-cta-title { margin: 0 0 14px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.2; color: #102c6d; }
.ind-cta-sub { margin: 0; font-size: 15.5px; line-height: 1.8; color: #475569; }
.ind-cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 250px; }
.ind-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 50px; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
/* Same look as the header "Book A Meeting" button; the glow pulse comes from the shared .btn-btn-schedule class. */
.ind-cta-btn--primary { background-image: linear-gradient(120deg, #041334, #175cff); color: #fff; }
.ind-cta-btn--primary:hover { color: #fff; transform: translateY(-2px); }
.ind-cta-btn--primary svg { transition: transform .2s ease; }
.ind-cta-btn--primary:hover svg { transform: translateX(4px); }
.ind-cta-btn--ghost { color: #1450de; background: #fff; border: 1.5px solid rgba(20, 80, 222, .3); }
.ind-cta-btn--ghost:hover { color: #1450de; background: #fff; border-color: #1450de; }
.ind-cta-mail { margin: 2px 0 0; text-align: center; font-size: 13px; color: #64748b; }
.ind-cta-mail a { color: #1450de; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ind-cta-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(20, 80, 222, .14); }
.ind-cta-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ind-cta-stat + .ind-cta-stat { border-left: 1px solid rgba(20, 80, 222, .12); }
.ind-cta-num { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.1; color: #1450de; }
.ind-cta-label { font-size: 13.5px; color: #475569; }
@media (max-width: 991px) {
  .ind-cta { padding: 44px 32px 32px; }
  .ind-cta-top { flex-direction: column; align-items: flex-start; gap: 28px; }
  .ind-cta-actions { flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; }
  .ind-cta-mail { width: 100%; text-align: left; }
}
@media (max-width: 600px) {
  .ind-cta-section { padding: 10px 12px 60px; }
  .ind-cta { padding: 36px 22px 26px; border-radius: 22px; }
  .ind-cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .ind-cta-mail { text-align: center; }
  .ind-cta-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; margin-top: 32px; }
  .ind-cta-stat:nth-child(3) { border-left: none; }
}
@media (prefers-reduced-motion: reduce) { .ind-cta-glow { animation: none; } }

/* FAQ: a little breathing room between the illustration and the Start Project button. */
.ind-faq .shiny-cta { margin-top: 20px; }
