
/* [CRITICAL] RESET & BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', sans-serif;
  color: #111;
  background: #fff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* [CRITICAL] CSS VARIABLES */
:root {
  --primary:      #550091;
  --primary-dark: #3d0069;
  --accent:       #FFB503;
  --accent-dark:  #e09e00;
  --text-dark:    #1F1F1F;
  --text-mid:     #3a3a3a;
  --text-light:   #666666;
  --border-light: #e4d9f5;
  --bg-light:     #FBF5FF;
  --white:        #ffffff;
  --font:         'Poppins', sans-serif;
  /*--cmax:         1280px;*/
--clr-light-cell:  #ede8fc;
--clr-dark-cell:   #380764;
--clr-purple:      #550091;
--clr-text-dark:   #1a1a1a;
--clr-text-muted:  #555555;
--clr-cell-body:   #000000;

/* PNG sprite — 320×64px source, displayed at 52×52px per icon     */
--sprite-url:      url('../../../uploads/2026/04/collab-sprite.webp');
--sprite-bg-size:  260px 52px;   /* 320×(52/64)  64×(52/64)       */
--icon-size:       52px;
--icon-step:       52px;         /* each icon's column width in CSS */

--ki-h1: clamp(2rem, 3.8vw, 3.25rem);
--ki-h2: clamp(1.8rem, 3vw, 2.5rem);
--ki-h3: 1.625rem;
--ki-h4: 1rem;
--ki-h5: 1rem;
--ki-p: 1.125rem;
--ki-heading-color: #111111;
--ki-body-color: #333333;
--ki-primary: #550091;
}

/* [CRITICAL] CONTAINER OVERRIDE — 1278px max */
/* .locations-page .container { max-width: var(--cmax) !important; }*/
.locations-page a.bluelink{color: #4f149a !important;}

/* ================================================================
   HERO [CRITICAL]
================================================================ */
.locations-page .hero-section {
  background-color: var(--primary);
  min-height: 560px;
  overflow: hidden;
  padding: 0px !important;
  position: relative; /* ← ADD this */ 
}

/*
  KEY ALIGNMENT RULE:
  The hero lives inside container-fluid (no margin).
  To make the title align with the logo (which is inside a 1278px container),
  we push the content left edge to match the container's computed left offset:
    offset = (viewport - 1278px) / 2   ← container margin
    plus Bootstrap's default col gutter = 0.75rem (12px)
  Using CSS max() so it never goes negative on small screens.
*/
.locations-page .hero-content-col {
  padding-top:    88px;
  padding-bottom: 88px;
  padding-right:  48px;
  /*padding-left:   max(calc((100vw - var(--cmax)) / 2 + 0.75rem), 1.25rem);*/
  padding-left:   0;    /* ← ADD this line instead */
}

.locations-page .hero-image-col {
  padding: 0;
  min-height: 520px;
  overflow: hidden;
}

/* ADD after .locations-page .hero-image-col rules */
.locations-page .hero-container {
position: relative;
z-index: 2;
}
.hero-image-abs {
position: absolute;
top: 0; right: 0; bottom: 0;
width: 41.666%;
z-index: 1;
}
.hero-image-abs img {
width: 100%; height: 100%;
object-fit: cover;
display: block;
}
.locations-page .rank-math-breadcrumb {margin-bottom: 10px;}
.locations-page .rank-math-breadcrumb a {color: rgba(255, 255, 255, 0.70);font-size: 1rem;}
.locations-page .rank-math-breadcrumb span.separator {color: rgba(255, 255, 255, 0.70);}
.locations-page .rank-math-breadcrumb a:hover {color: var(--accent);}


.locations-page .hero-breadcrumb {margin-bottom: 18px;}
.locations-page .breadcrumb-list {display: flex;align-items: center;flex-wrap: wrap;gap: 0;list-style: none;padding: 0;margin: 0;}
.locations-page .breadcrumb-item {display: flex;align-items: center;font-size: 1rem;font-weight: 500;color: rgba(255, 255, 255, 0.65);}
/* Chevron separator — CSS-only, no icon library needed */
.locations-page .breadcrumb-item + .breadcrumb-item::before {content: "";display: inline-block;width: 5px;height: 5px;border-right: 1.5px solid rgba(255, 255, 255, 0.45);border-top:   1.5px solid rgba(255, 255, 255, 0.45);transform: rotate(45deg);margin: 0 8px;flex-shrink: 0;}
.locations-page .breadcrumb-item a {color: rgba(255, 255, 255, 0.70);text-decoration: none;transition: color 0.18s;}
.locations-page .breadcrumb-item a:hover {color: var(--accent);text-decoration: underline;text-underline-offset: 3px;}
/* Active / current page */
.locations-page .breadcrumb-item.active {color: var(--accent);font-weight: 600;}
@media (max-width: 991.98px) {
.hero-image-abs {
position: relative;
width: 100%;
height: 260px;
}
.locations-page .hero-section {
display: flex;
flex-direction: column;
}
}


.locations-page .hero-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title — matches Figma's ~52px at desktop, scales down gracefully */
.locations-page .hero-title {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
}
.locations-page .hero-subtitle {
  font-size: 1.5rem !important;
  color: #FFFFFF;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 680px;
}

/* Trust row — single line: badge | avatars | reviews */
.locations-page .hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-bottom: 32px;
}
.locations-page .trusted-badge {
  font-size: 1.5rem !important;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Avatars — 42px, slightly deeper overlap */
.avatar-stack { display: flex; align-items: center; }
.av, .av-arrow {
display: inline-block;
width: 42px; height: 42px;
border-radius: 50%;
border: 2.5px solid var(--white);
margin-left: -12px;
background-image: url("../../../uploads/2026/03/reviews-sprite.webp");
background-size: 308px 76px; /* ← scaled up to fill circles */
background-repeat: no-repeat;
flex-shrink: 0;
overflow: hidden;
}
.av:first-child { margin-left: 0; }

.av-1    { background-position:   -11px -19px; }
.av-2    { background-position:  -61px -19px; }
.av-3    { background-position: -111px -19px; }
.av-4    { background-position: -160px -19px; }
.av-5    { background-position: -210px -19px; }

.av-arrow {
background-color: var(--white);
background-position: -259px -19px;
border: 2.5px solid var(--white);
}

.locations-page .reviews-badge { display: inline-flex; align-items: center; gap: 7px; flex-wrap: nowrap; white-space: nowrap;flex-shrink: 0;}
.locations-page .reviews-count { font-size: 1.5rem !important; font-weight: 700; color: var(--accent); }
.locations-page .stars-row { color: var(--accent); font-size: .82rem; display: flex; gap: 2px; }
.locations-page .reviews-label {
  font-size: .75rem; font-weight: 700;
  color: var(--accent); letter-spacing: .08em; text-transform: uppercase;
}

/* CTA button */
a.btn-hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--text-dark) !important;
  font-family: var(--font);
  font-size: 1.125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 38px;
  border-radius: 5px; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-hero-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ================================================================
   SHARED SECTION UTILITIES
================================================================ */
.sec-pad     { padding: 80px 0; }
.sec-pad-sm  { padding: 68px 0; }
.sec-bg-light  { background: var(--white); }
.sec-bg-purple { background-color: var(--primary); background-image: linear-gradient(to bottom, #550091, #7E45A3);}
.sec-bg-purple-brands { background-color: var(--primary); }

.locations-page .sec-title {
  font-size: clamp(1.625rem, 3vw, 2.5rem) !important;
  font-weight: 800; color: var(--text-dark);
  text-align: center; margin-bottom: 12px;
  background: none;height: auto;
}
.locations-page .sec-subtitle {
  font-size: 1.125rem; color: var(--text-light);
  text-align: center; max-width: 954px;
  margin: 0 auto 40px; line-height: 1.75;
}
.locations-page .sec-title-white  { color: var(--white); }
.locations-page .sec-sub-white    { color: rgba(255,255,255,.82); }

/* ================================================================
   2. STRATEGY & TECHNOLOGY
================================================================ */
 .locations-page .check-list a {color: #4f149a !important;}
.locations-page .strategy-heading {
font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
font-weight: 800 !important;
color: var(--text-dark) !important;
line-height: 1.22;
margin-bottom: 28px !important;
}
.locations-page .strategy-body {
  font-size: 1.125rem !important; color: var(--text-mid);
  line-height: 1.82; margin-bottom: 20px;
}
.locations-page .strategy-body:last-child { margin-bottom: 0; }

/* Cards — gray border (not purple), proper shadow matching Figma */
.side-card {
  background: #FBF5FF;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  padding: 28px 28px 24px;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  transition: box-shadow .25s;
}
.side-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.10); }
.side-card:last-child { margin-bottom: 0; }

.locations-page .side-card-title {
font-size: 1.625rem !important;
font-weight: 700 !important;
color: var(--primary) !important;
margin-bottom: 18px !important;
}
.locations-page .buttons-block {
margin:20px 0;display:flex;flex-direction:column;gap:10px;
}
.locations-page .buttons-block a.shopifyapp{
display:block;background:#64943E;color:#fff;text-align:center;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:600;
}
.locations-page .buttons-block a.wooplugin{
display:block;background:#720EEC;color:#fff;text-align:center;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:600;
}
.locations-page .buttons-block a.demostore{
display:block;background:#6C757D;color:#fff;text-align:center;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:600;
}
.locations-page .buttons-block a.ytlink{
display:block;background:#dc3545;color:#fff;text-align:center;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:600;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 1.125rem; color: var(--text-mid);
  line-height: 1.65; margin-bottom: 14px;
}
.check-list li:last-child { margin-bottom: 0; }
/* .check-list li .bi-check-circle-fill {
  color: var(--primary); font-size: 1rem;
  margin-top: 2px; flex-shrink: 0;
} */
/* Add this instead */
.check-icon {
display: inline-block;
width: 20px;
height: 20px;
background-image: url('../../../uploads/2026/04/check.webp');
background-size: 20px 20px;
background-repeat: no-repeat;
background-position: 0 0;
flex-shrink: 0;
margin-top: 3px;
}

/* ================================================================
3. BRANDS BENCHMARKED
================================================================ */

/* ── Desktop default ── */
.brands-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px 10px;
margin: 8px auto 0;
max-width: 890px;         /* constrains to ~3 rows on desktop */
}

.brands-grid h5 {
margin: 0;
padding: 0;
font-size: inherit;
font-weight: inherit;
line-height: normal;
display: contents;
}

.brand-pill {
display: inline-flex;
align-items: center;
gap: 10px;
background: var(--white);
color: var(--text-dark) !important;
font-family: var(--font);
font-size: .95rem;
font-weight: 600;
padding: 13px 24px 13px 16px;
border-radius: 50px;
border: none;
text-decoration: none;
cursor: pointer;
white-space: nowrap;      /* single line on desktop only */
transition: transform .15s, box-shadow .15s;
}

.brand-pill:hover {
color: var(--text-dark);
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

/* Purple dot */
.brand-dot {
display: inline-block;
width: 11px;
height: 11px;
border-radius: 50%;
background: var(--primary);
flex-shrink: 0;
}

/* .brand-pill-wide has no special desktop styling — only mobile */

/* ── Tablet (768px – 991px) ── */
@media (min-width: 768px) and (max-width: 991.98px) {
.brands-grid {
max-width: 680px;
gap: 20px 8px;
}
.brand-pill {
font-size: .88rem;
padding: 11px 20px 11px 14px;
}
}

/* ── Mobile (< 768px): 2-column flex, long names full row ── */
@media (max-width: 767.98px) {
.brands-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
max-width: 420px;
margin: 0 auto;
}

.brand-pill {
width: 100%;
white-space: normal;
word-break: break-word;
justify-content: center;
text-align: center;
font-size: .9rem;
padding: 12px 11px;
}

/* Wide items take full row */
.brand-pill.brand-pill-wide {
/*grid-column: span 2;*/
width: 100%;
}
}

/* ── Small mobile (< 420px): tighten further ── */
@media (max-width: 419.98px) {
.brands-grid {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
max-width: 340px;
}

.brand-pill {
font-size: .82rem;
padding: 10px 12px;
}

.brand-pill.brand-pill-wide {
font-size: .82rem;
padding: 11px 20px;
}
}

/* ================================================================
   4. PORTFOLIO
================================================================ */
/* Filter tabs — individual buttons with gaps (not a connected strip) */
.filter-tabs {
 display: flex;
justify-content: center;
gap: 0;
margin-bottom: 40px;
flex-wrap: wrap;
}
.filter-tab {
  background: var(--white);
border: 1.5px solid #d0d0d0;
color: var(--text-mid);
font-family: var(--font);
font-size: .85rem; font-weight: 600;
padding: 10px 28px;
cursor: pointer;
border-radius: 0;
border-right-width: 0;
transition: background .18s, color .18s, border-color .18s;
line-height: 1.4;
}

.filter-tab:first-child { border-radius: 6px 0 0 6px; }
.filter-tab:last-child  { border-radius: 0 6px 6px 0; border-right-width: 1.5px; }
.filter-tab.active,
.filter-tab:hover {
background: var(--primary);
border-color: var(--primary);
color: var(--white);
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Portfolio grid cards */
.portfolio-card {
  background: #FBF5FF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(85,0,145,.13);
}
.portfolio-card img {
  width: 100%; height: 210px; object-fit: cover;
}
/* Card body: centered title matching Figma */
.portfolio-card-body { padding: 16px 18px 20px;    background: #FBF5FF; }
.portfolio-card-body h5 {
font-size: 1rem;
font-weight: 700;
color: var(--text-dark);
margin: 0;
text-align: center;
}
.portfolio-card-body h6 {
    font-size: 1rem; font-weight: 700;
color: var(--text-dark); margin: 0;
text-align: center;
}
.portfolio-card-body a {
color: var(--text-dark);
text-decoration: none;
}
.portfolio-card-body a:hover {
color: var(--primary);
}
.portfolio-item         { display: none; }
.portfolio-item.show    { display: block; }

@media (max-width: 767px) {

.filter-tabs {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
}

.filter-tab {
flex: 1;                 /* each tab takes equal width */
padding: 8px 6px;        /* reduce padding */
font-size: 0.75rem;      /* smaller text */
text-align: center;
white-space: nowrap;     /* keep single line */
}

}

/* ================================================================
   5. TECHNOLOGY PLATFORMS
================================================================ */

.pi-sprite {
display: inline-block;
width: 40px;
height: 40px;
background-image: url("https://www.keyideasinfotech.com/wp-content/uploads/2026/08/tech-sprite-complete-logos.webp");
background-size: 1558px 40px; 
background-repeat: no-repeat;
flex-shrink: 0;
}
.pi-laravel     { background-position:    0px 0; }
.pi-react       { background-position:  -42px 0; width: 46px; }
.pi-shopify     { background-position:  -86px 0; }
.pi-woocommerce { background-position: -126px 0; width: 40px; }
.pi-adobe       { background-position: -169px 0; width: 48px;}
.pi-bigcommerce { background-position: -222px 0; width: 48px;}
.pi-prestashop  { background-position: -270px 0; width: 44px;}
.pi-squarespace { background-position: -314px 0; width: 50px;}
.pi-wix         { background-position: -367px 0; width: 44px; }

/* ── NEW icons ─────────────────────────────────────────────── */
.pi-google-ads      { background-position: -417px 0; width: 40px; }
.pi-google-merchant { background-position: -462px 0; width: 40px; }
.pi-meta-ads        { background-position: -507px 0; width: 46px; }
.pi-semrush         { background-position: -558px 0; width: 50px; }
.pi-ahrefs          { background-position: -613px 0; width: 59px; }
.pi-nodejs          { background-position: -676px 0; width: 107px;}

.pi-wordpress       { background-position: -793px 0; width: 40px;}
.pi-aspnet          { background-position: -838px 0; width: 56px;}
.pi-nextjs          { background-position: -895px 0; width: 40px;}
.pi-angularjs       { background-position: -941px 0; width: 40px;}
.pi-mongodb         { background-position: -978px  0; width: 29px;}


.pi-vuejs {background-position: -1516px 0;width: 40px;}
.pi-redux {background-position: -1007px 0;width: 40px;}
.pi-jquery {background-position: -1052px 0;width: 40px;}
.pi-javascript {background-position: -1098px 0;width: 40px;}
.pi-php {background-position: -1142px 0;width: 71px;}
.pi-codeigniter {background-position: -1213px 0;width: 40px;}
.pi-aws {background-position: -1303px 0;width: 63px;}
.pi-azure {background-position: -1252px 0;width: 50px;}
.pi-klaviyo {background-position: -1370px 0;width: 104px;}
.pi-maui {background-position: -1472px 0;width: 40px;}

/* ════════════════════════════════════════════════════════════════
SECTION
════════════════════════════════════════════════════════════════ */
.sec-tech {
padding-top: 60px;
padding-bottom: 60px;
}

/* ════════════════════════════════════════════════════════════════
GROUP LABEL  (We Build On / We Migrate From)
════════════════════════════════════════════════════════════════ */
.tech-group-label {
font-size: 1.625rem !important;
font-weight: bold;
color: #fff;
margin: 0 0 18px;
text-align: center;
}

/* ════════════════════════════════════════════════════════════════
CARD GRID
════════════════════════════════════════════════════════════════ */
.tech-cards-grid {
display: grid;
gap: 14px;
margin: 8px auto 36px;
}
.tech-cards-custom-width {
max-width: 1050px;
}
.tech-cards-build   { grid-template-columns: repeat(4, 1fr); }
.tech-cards-migrate { grid-template-columns: repeat(5, 1fr); }

/* ════════════════════════════════════════════════════════════════
SINGLE CARD
════════════════════════════════════════════════════════════════ */
.tech-card {
display: flex;
align-items: center;
gap: 14px;
background: #fff;
border-radius: 8px;
padding: 14px 18px;
border-left: 4px solid transparent;
text-decoration: none;
color: inherit;
cursor: pointer;
transition: box-shadow 0.2s, transform 0.2s;
min-width: 0;
box-sizing: border-box;
}
.tech-card:hover {
box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
transform: translateY(-2px);
color: inherit;
text-decoration: none;
}
/* "We Build On" cards only get yellow border */
.tech-card-build  { border-left-color: #F5B800; }
/* Migrate cards: no left colour accent (matches reference) */
.tech-card-migrate { border-left-color: #9F9F9F; }

/* ════════════════════════════════════════════════════════════════
CARD TEXT
════════════════════════════════════════════════════════════════ */
.tc-text {
display: flex;
flex-direction: column;
min-width: 0;
}
.tc-name {
font-weight: 500;
font-size: 1.125rem;
color: #1F1F1F;
line-height: 1.25;
white-space: nowrap;
text-align: left;
}
.tc-sub {
font-size: 0.70rem;
color: #666;
letter-spacing: 0.07em;
margin-top: 3px;
white-space: nowrap;
text-align: left;
}

/* ════════════════════════════════════════════════════════════════
RESPONSIVE — TABLET  ≤ 991px
════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
.tech-cards-build   { grid-template-columns: repeat(2, 1fr); }
.tech-cards-migrate { grid-template-columns: repeat(3, 1fr); }
}

/* ════════════════════════════════════════════════════════════════
RESPONSIVE — TABLET PORTRAIT  ≤ 768px
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
.tech-cards-build,
.tech-cards-migrate { grid-template-columns: repeat(2, 1fr); }
.tc-name { font-size: 0.88rem; }
.tc-sub  { font-size: 0.67rem; }
}

/* ════════════════════════════════════════════════════════════════
RESPONSIVE — MOBILE  ≤ 576px
Build On order  (matches reference screenshot):
 HTML[1] Laravel     → display position 1  (col 1, row 1)
 HTML[2] React       → display position 4  (full-width, row 3)
 HTML[3] Shopify     → display position 2  (col 2, row 1)
 HTML[4] WooCommerce → display position 3  (full-width, row 2)
Migrate order:
 HTML[1] Magento     → position 5  (full-width, row 4)
 HTML[2] BigCommerce → position 4  (full-width, row 3)
 HTML[3] PrestaShop  → position 1  (col 1, row 1)
 HTML[4] Squarespace → position 3  (full-width, row 2)
 HTML[5] Wix         → position 2  (col 2, row 1)
════════════════════════════════════════════════════════════════ */
@media (max-width: 576px) {
/* ✅ AUTO RESPONSIVE GRID */
.tech-cards-build,
.tech-cards-migrate {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 10px;
}

/* ✅ CARD */
.tech-card {
width: 100%;
padding: 10px 12px;   /* fixed padding issue */
gap: 10px;
align-items: center;
}

/* ✅ TEXT */
.tc-name {
font-size: 0.85rem;
white-space: normal; /* 🔥 IMPORTANT: allows wrapping */
}

.tc-sub {
font-size: 0.65rem;
white-space: normal;
}


}

/* ──  Add this block after your existing .tech-cards-build / responsive rules (so it overrides them via source order — no need to touch the grid rules themselves):*/
/* ── Center incomplete last row (e.g. NodeJS on row 2) ── */
.tech-cards-build {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px; /* matches .tech-cards-grid gap */
}

.tech-cards-build .tech-card {
  flex: 0 1 calc(25% - 10.5px); /* 4 per row, accounts for 3 gaps of 14px */
  max-width: calc(25% - 10.5px);
}

/* Tablet: 2 per row */
@media (max-width: 991px) {
  .tech-cards-build .tech-card {
    flex: 0 1 calc(50% - 7px);
    max-width: calc(50% - 7px);
  }
}

/* Mobile: keep 2 per row, centered */
@media (max-width: 576px) {
  .tech-cards-build .tech-card {
    flex: 0 1 calc(50% - 5px);
    /* max-width: calc(50% - 5px);*/
  }
}

/* ── We Migrate From: center incomplete rows ── */
.tech-cards-migrate {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.tech-cards-migrate .tech-card {
  flex: 0 1 calc(20% - 11.2px); /* 5 per row, 4 gaps of 14px */
  max-width: calc(20% - 11.2px);
  min-width: 0;
}

/* Tablet ≤991px: 3 per row */
@media (max-width: 991px) {
  .tech-cards-migrate .tech-card {
    flex: 0 1 calc(33.333% - 9.33px);
    max-width: calc(33.333% - 9.33px);
  }
}

/* Tablet portrait / mobile ≤768px: 2 per row */
@media (max-width: 768px) {
  .tech-cards-migrate .tech-card {
    flex: 0 1 calc(50% - 7px);
    max-width: calc(50% - 7px);
  }
}

@media (max-width: 576px) {
  .tech-cards-migrate .tech-card {
    flex: 0 1 calc(50% - 5px);
    /* max-width: calc(50% - 5px); */
  }

  .tech-cards-migrate .tc-name,
  .tech-cards-migrate .tc-sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ================================================================
   6. FEATURE CARDS + STATS
================================================================ */
.feature-card {
  background: #FBF5FF;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 26px 24px 24px;
  height: 100%;
  transition: box-shadow .25s, border-color .25s;
}

.feature-card:hover {
  box-shadow: 0 5px 26px rgba(85,0,145,.09);
  border-color: #c9a8e9;
}
.feature-card-title {
  font-size: 1.625rem !important; font-weight: 700;
  color: var(--primary); margin-bottom: 14px;
}
.feature-checklist { list-style: none; padding: 0; margin: 0 0 14px; }
.feature-checklist li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 1rem; font-weight: 600;
  color: var(--primary);
  margin-bottom: 7px; line-height: 1.5;
}
div.feature-checklist {
padding: 0;
margin: 0 0 14px;
}

div.feature-checklist h4 {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 1rem;
font-weight: 600;
color: var(--primary);
margin-bottom: 7px;
line-height: 1.5;
}
.feature-checklist li .bi-check-circle-fill {
  font-size: .9rem; margin-top: 1px; flex-shrink: 0;
}
.feature-body-text {
  font-size: 1.125rem !important; color: var(--text-mid);
  line-height: 1.75; margin: 0;
}
.feature-body-text a {
  color: var(--text-dark); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}

.locations-page a.builderapp{
  display:block;background:#720EEC;color:#fff;text-align:center;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:600;margin-bottom:10px;
}
.locations-page a.searchapp{
  display:block;background:#720EEC;color:#fff;text-align:center;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:600;margin-bottom:10px;
}
.locations-page a.configapp{
  display:block;background:#720EEC;color:#fff;text-align:center;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:600;margin-bottom:10px;
}
.locations-page a.tryonlink{
  display:block;background:#720EEC;color:#fff;text-align:center;padding:10px 14px;border-radius:6px;text-decoration:none;font-weight:600;margin-bottom:10px;
}


/* Stats card */
.stats-card {
background: #FBF5FF;
border: 1.5px solid var(--border-light);
border-radius: 12px;
height: 100%;
display: flex; flex-direction: column; justify-content: center;
overflow: hidden;
}

.stat-item {
padding: 28px 32px;
text-align: center;
display: flex;
align-items: baseline;
gap: 10px;
justify-content: center; /* ← center the number + label together */
}

.stat-item + .stat-item { border-top: 1.5px solid var(--border-light); }

.stat-number {
font-size: 2.4rem; font-weight: 800;
color: var(--primary); line-height: 1;
white-space: nowrap;
flex-shrink: 0;
}

.stat-label {
font-size: 1rem; font-weight: 600;
color: var(--primary);
white-space: nowrap;
}


/* =====================================================
SECTION WRAPPER
===================================================== */
.collab-section {
/*padding: 80px 0 90px;*/
background-color: #ffffff;
}


/* =====================================================
SECTION HEADER
===================================================== */
.collab-header {
margin-bottom: 2.75rem;
}

.collab-title {
font-size: 2.5rem;       /* 40px */
font-weight: 700;
color: var(--clr-text-dark);
line-height: 1.2;
margin-bottom: 1rem;
}

.collab-subtitle {
font-size: 1.125rem;
color: var(--clr-text-muted);
line-height: 1.65;
margin-bottom: 0;
max-width: 680px;
margin-left:  auto;
margin-right: auto;
}


/* =====================================================
GRID  — Desktop: 5 equal columns × 2 rows
===================================================== */
.collab-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(2, 1fr);
}


/* =====================================================
INDIVIDUAL CELLS
===================================================== */
.collab-cell {
aspect-ratio: 1 / 1;
overflow: hidden;
position: relative;
}

.collab-light { background-color: var(--clr-light-cell); }
.collab-dark  { background-color: var(--clr-dark-cell);  }


/* =====================================================
CONTENT CELL INNER LAYOUT
===================================================== */
.collab-cell-inner {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 1rem 1rem;
width: 100%;
height: 100%;
}


/* =====================================================
PNG SPRITE ICONS
Sprite sheet: icons-sprite.png  (320 × 64 px)
5 icons × 64 px each, left → right:
 0  Slack   (Project Management)
 1  GitHub  (Development)
 2  Trello  (Maintenance)
 3  Figma   (Design)
 4  Teams   (Communication)

Displayed at 52 × 52 px  →  background-size: 260px 52px
Each icon step in CSS    =  64 × (52/64) = 52 px
===================================================== */
.collab-icon {
display: inline-block;
flex-shrink: 0;
width:  var(--icon-size);
height: var(--icon-size);
margin-bottom: 0.875rem;
background-image:    var(--sprite-url);
background-repeat:   no-repeat;
background-size:     var(--sprite-bg-size);
}

/*.icon-slack   { background-position:    0px 0; }
.icon-github  { background-position:  -104px 0; }
.icon-trello  { background-position: -208px 0; } 
.icon-figma   { background-position: -52px 0; } 
.icon-teams   { background-position: -156px 0; } */

.icon-slack   { background-position:    0px 0; }   /* step 0 */
.icon-github  { background-position:  -52px 0; }   /* step 1 */
.icon-trello  { background-position: -104px 0; }   /* step 2 */
.icon-figma   { background-position: -156px 0; }   /* step 3 */
.icon-teams   { background-position: -208px 0; }   /* step 4 */


/* =====================================================
CELL TYPOGRAPHY
===================================================== */
.collab-cell-title {
font-size: 1.625rem !important;
font-weight: bold  !important;
color: var(--clr-purple)  !important;
line-height: 1.3;
margin-bottom: 0.625rem;
}

.collab-cell-text {
font-size: 1.125rem !important;
color: var(--clr-cell-body);
line-height: 1.55;
margin-bottom: 0;
}


/* =====================================================
IMAGE CELLS
===================================================== */
.collab-img-cell { padding: 0; }

.collab-img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
}


/* =====================================================
TABLET  768–991px
Keep 5-col; scale icon to 40px
===================================================== */
@media (min-width: 768px) and (max-width: 991px) {
.collab-grid {
grid-template-columns: repeat(3, 1fr);
}
.collab-cell-inner  { padding: 1.25rem 1rem; }
.collab-cell-title  { font-size: 0.9375rem; }
.collab-cell-text   { font-size: 0.8125rem; }

/* Scale icon: 64 px source → 40 px display  (step = 40px) */
.collab-icon        { width: 40px; height: 40px; margin-bottom: 0.625rem;
                    background-size: 200px 40px; }
.icon-slack         { background-position:    0px 0; }
.icon-github        { background-position:  -40px 0; }
.icon-trello        { background-position:  -80px 0; }
.icon-figma         { background-position: -120px 0; }
.icon-teams         { background-position: -160px 0; }
}


/* =====================================================
MOBILE  < 768px
2-column grid, zigzag order via CSS order property
===================================================== */
@media (max-width: 767px) {

.collab-section  { padding: 50px 0 60px; }
.collab-header   { margin-bottom: 2rem; }
.collab-title    { font-size: 1.875rem; }
.collab-subtitle { font-size: 0.9375rem; }

/* Full-width grid: break out of 15px container padding */
/* .collab-grid {
grid-template-columns: repeat(2, 1fr);
/*margin-left:  -15px;
margin-right: -15px;*/
/*}*/

/*
Desired mobile zigzag order
┌─────────────┬─────────────────┐
│ 1  PM       │ 6  solitaire    │
│ 2  ring-img │ 7  Design       │
│ 3  Dev      │ 8  necklace     │
│ 4  earr-img │ 9  Comm         │
│ 5  Maint    │ 10 bracelet     │
└─────────────┴─────────────────┘
HTML order : 1 2 3 4 5  6 7 8 9 10
CSS order  : 1 3 5 7 9  2 4 6 8 10
*/


/* 🔥 Switch to FLEX for mobile */
.collab-grid {
display: flex;
flex-wrap: wrap;
}

.collab-cell {
width: 50%;
aspect-ratio: auto; /* important fix */

}

/* 🔥 Correct zigzag order */
.collab-cell:nth-child(1)  { order: 1; }
.collab-cell:nth-child(6)  { order: 2; }
.collab-cell:nth-child(2)  { order: 3; }
.collab-cell:nth-child(7)  { order: 4; }
.collab-cell:nth-child(3)  { order: 5; }
.collab-cell:nth-child(8)  { order: 6; }
.collab-cell:nth-child(4)  { order: 7; }
.collab-cell:nth-child(9)  { order: 8; }
.collab-cell:nth-child(5)  { order: 9; }
.collab-cell:nth-child(10) { order: 10; }

.collab-cell-inner  { padding: 1.375rem 1rem; }
.collab-cell-title  { font-size: 1.375rem !important; margin-bottom: 0.5rem; }
.collab-cell-text   { font-size: 0.8125rem; }

/* Scale icon: 64 px source → 42 px display  (step = 42px) */
.collab-icon        { width: 42px; height: 42px; margin-bottom: 0.625rem;
                    background-size: 210px 42px; }
.icon-slack         { background-position:    0px 0; }
.icon-github        { background-position:  -42px 0; }
.icon-trello        { background-position:  -84px 0; }
.icon-figma         { background-position: -126px 0; }
.icon-teams         { background-position: -168px 0; }
}
/* ================================================================
   8. FAQ ACCORDION
================================================================ */
.locations-page .accordion-body{
padding: 2px 35px 20px 4px;
}
.faq-wrap { max-width: 860px; margin: 0 auto; }
    .accordion-item {
      border: 0;
      border-bottom: 1px solid #D6D6D6;
      border-radius: 0 !important;
      background: transparent;
    }
    .accordion-item:first-of-type { border-top: 1px solid #D6D6D6; }
    .accordion-button {
      font-family: var(--font);
      font-size: 1.125rem; font-weight: 400;
      color: var(--white);
      background: transparent;
      padding: 20px 4px;
      line-height: 1.5rem;
    }
.accordion-header {
    margin-bottom: 0 !important;
}
    .accordion-button:not(.collapsed) {
      color: var(--white);
      background: transparent;
      box-shadow: none;
    }
    .accordion-button:focus { box-shadow: none; outline:none !important;}
    .accordion-body {
      font-size: 1.125rem; color: var(--text-mid);
      line-height: 1.75; padding: 2px 4px 20px;
      color: var(--white);
      background: transparent;
    }

.locations-page .faq-section{ margin: 80px 0}
.locations-page .faq-section .sec-title{ color: var(--white) !important;}
.locations-page .faq-section .sec-title{ color: var(--white) !important;}
.locations-page .faq-section .sec-subtitle{ color: var(--white) !important;}
.locations-page .faq-section .accordion-button::after {background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");}

@media (max-width: 575.98px) {
  .locations-page .faq-section {
      margin: 0;
  }
}

/* ================================================================
9. CTA BANNER
================================================================ */
.locations-page .cta-banner-section {
background-image: linear-gradient(to bottom, #550091 0%, #550091 40%, #7E45A3 100%);
background-color: #550091;
padding: 52px 0 !important;
}

.cta-banner-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 32px;
flex-wrap: nowrap;
}

.locations-page .cta-banner-title {
font-size: clamp(1.75rem, 3vw, 2.5rem); /* 28px → 40px */
font-weight: 800;
color: var(--white);
line-height: 1.3;
margin: 0;
flex: 1;
margin-left: calc((100% - 860px) / 2);
/* margin-left: max(0px, calc((100% - 860px) / 2));  ← aligns with FAQ */
}
.cta-banner-title a {
color: var(--accent);
font-size: inherit;   
font-weight: inherit;
}
/*a.orangetext{color: var(--accent);font-size: 1.5rem !important;}*/

.btn-connect {
display: inline-block;
background: var(--accent);
color: var(--text-dark) !important;
font-family: var(--font);
font-size: 1.125rem; font-weight: 700;
letter-spacing: .12em; text-transform: uppercase;
padding: 16px 44px;
border-radius: 4px; border: none; cursor: pointer;
white-space: nowrap;
text-decoration: none;
transition: background .2s, transform .15s;
flex-shrink: 0;   /* ← never shrink */
align-self: center; /* ← stay vertically centered */
margin-left: auto;  /* ← push to far right */
}
.btn-connect:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* Mobile: stack vertically */
@media (max-width: 767.98px) {
.cta-banner-inner {
flex-wrap: wrap;
justify-content: center;
text-align: center;
}

.cta-banner-title {
margin-left: 0  !important;
width: 100%;        /* ← forces full row, pushes button below */
flex: none !important;         /* ← override flex:1 from desktop */
}

.btn-connect {
margin-left: 0;
width: auto;
}
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   Single HTML, one set of media queries — no duplicate layout
================================================================ */

/* ── Large tablet / small desktop (< 992px) ── */
@media (max-width: 991.98px) {
  .sec-pad    { padding: 64px 0; }
  .sec-pad-sm { padding: 52px 0; }

  .hero-content-col {
    padding-top: 52px; padding-bottom: 44px;
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
  .hero-image-col   { min-height: 260px; }

  .process-arrow { display: none; }
  .process-wrap  { flex-wrap: wrap; justify-content: center; gap: 24px 8px; }
  .process-step  { min-width: 130px; max-width: 150px; }
}

/* ── Tablet portrait (< 768px) ── */
@media (max-width: 767.98px) {
  .sec-pad    { padding: 52px 0; }
  .sec-pad-sm { padding: 44px 0; }

  /* Hero stacks: text top, image bottom */
  .hero-content-col {
    padding-top: 44px; padding-bottom: 36px;
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
  .hero-image-col   { min-height: 220px; order: 1; }

  /* Filter tabs already individual — just adjust gap on mobile */
  .filter-tabs { gap: 5px; }

  .cta-box { padding: 44px 28px; margin-top: 32px; }

  .stat-number { font-size: 1.75rem; }
  .process-icon { width: 76px; height: 76px; font-size: 1.65rem; }
  .side-card  { padding: 22px 20px 18px; }
}

/* ── Mobile (< 576px) ── */
@media (max-width: 575.98px) {
  .sec-pad    { padding: 44px 0; }
  .sec-pad-sm { padding: 36px 0; }

  .hero-title       { font-size: 1.75rem; }
  .hero-trust-row   { gap: 10px; }
  .hero-content-col {
    padding-top: 40px !important; padding-bottom: 32px !important;
    padding-left: 1rem !important; padding-right: 1rem !important;
  }

  .sec-title        { font-size: 1.42rem; }
  .strategy-heading { font-size: 1.42rem; }

  .tech-pill        { padding: 9px 14px; font-size: .8rem; }
  /*.brand-pill       { padding: 9px 16px; font-size: .82rem; }*/

  .award-badge      { width: 100px; height: 100px; }

  .cta-box          { padding: 40px 20px; }
  .cta-box-title    { font-size: 1.3rem; }

  .stat-number      { font-size: 1.6rem; }
}

  /* NEW CSS */
    /* Remove class="show" default visibility — items start hidden */

    
/*  hover new effect */
/* ── Card shell ── */
.portfolio-hover-effect .portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1a1535;
  cursor: pointer;
}

/* ── Image ── */
.portfolio-hover-effect .portfolio-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: 0.45;
  transition: opacity .35s ease, transform .35s ease;
}

/* ── Dark purple overlay (default) ── */
.portfolio-hover-effect .portfolio-card-overlay {
  position: absolute; inset: 0;
  background: rgba(22, 18, 60, 0.35);
  transition: opacity .35s ease;
}

/* ── Centered name + country (default) ── */
.portfolio-hover-effect .portfolio-card-default {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 16px; text-align: center;
  transition: opacity .3s ease;
}
.portfolio-hover-effect .portfolio-card-default h5 {
  font-size: 26px; font-weight: 800;
  color: #fff; margin: 0 0 7px; line-height: 1.75;
}
.portfolio-hover-effect .portfolio-card-default h5 a { color: inherit; text-decoration: none; }
.portfolio-hover-effect .portfolio-card-country {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: 1.5px; text-transform: uppercase; margin: 0;
}


/* ── Lavender footer (hover) — slides up from bottom ── */
.portfolio-hover-effect .portfolio-card-hover {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: #EDE8F8;
  padding: 14px 16px 16px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
  border-radius: 0 0 16px 16px;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}
.portfolio-hover-effect .portfolio-hover-name {
  font-size: 14px; font-weight: 700;
  color: #1a1a1a; margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.portfolio-hover-effect .portfolio-hover-name a { color: inherit; text-decoration: none; }
.portfolio-hover-effect .portfolio-hover-arrow {
  width: 30px; height: 30px; min-width: 30px;
  border-radius: 50%; background: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: bold; color: #1a1a1a;
 /* box-shadow: 0 1px 5px rgba(0,0,0,.1); */
}

/* ── Hover triggers ── */
.portfolio-hover-effect .portfolio-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}
.portfolio-hover-effect .portfolio-card:hover .portfolio-card-overlay { opacity: 0; }
.portfolio-hover-effect .portfolio-card:hover .portfolio-card-default { opacity: 0; pointer-events: none; }
.portfolio-hover-effect .portfolio-card:hover .portfolio-card-hover   { transform: translateY(0); }

/* ── Filter show/hide ── */
.portfolio-hover-effect .portfolio-item      { display: none; }
.portfolio-hover-effect .portfolio-item.show { display: block; }

/*  hover new effect */

.portfolio-item { display: none; }
.portfolio-item.show { display: block; }    /* or flex/grid if needed */

.btn-load-more {
  padding: 10px 28px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}
.btn-load-more:hover { background: #f5f5f5; }
.btn-load-more:disabled { opacity: 0.45; cursor: default; }

.portfolio-hover-effect .portfolio-card img {
  opacity: 0.60; /* was 0.45 */
transform: scale(1.06);   /* image starts slightly zoomed */
}
.portfolio-hover-effect .portfolio-card-overlay {
  background: rgba(22, 18, 60, 0.35); /* was 0.35 */
}
.portfolio-hover-effect .portfolio-card-default h5 {
    font-size: 26px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 7px;
    line-height: 1.75;
}
.portfolio-hover-effect .portfolio-card:hover img {
    opacity: 1;
    transform: scale(1);
    border-radius: 18px;
}
.portfolio-hover-effect .portfolio-card:hover {
    
   background: transparent;
 
}


/* ===== Industry section Base ===== */
#ki-industries {
  padding: 20px 0;
  background: #fff;
}

.ki-section-heading h2 {
  margin-bottom: 1rem;
  font-weight: 700;
  color: #1f1f1f;
  font-size: var(--ki-h2);
  line-height: 1.2;
}

.ki-section-heading h2 {
  margin: 0;
}

#ki-industries .ki-section-heading p {
  max-width: 850px;
  margin: 1rem auto 0;
  color: #1f1f1f;
}

.ki-section-heading p {
    font-size: var(--ki-p);
    line-height: 1.8;
    margin-bottom: 2rem !important;
}

.ki-industry-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 4px 4px 19px 2px #00000024;
  overflow: visible;
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
  z-index: 1;
  height: 100%;
}

.ki-industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 16px;
  transition: background 0.3s ease;
  z-index: -1;
}

.ki-industry-header p {
  margin: 0px;
  color: #000;
}

.ki-industry-header div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ki-industry-card.active,
.ki-industry-card:hover {
  z-index: 100;
}

.ki-industry-card.active::before,
.ki-industry-card:hover::before {
  background: #f7f0ff;
}

.ki-industry-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 16px;
}

.ki-industry-header img {
  width: 133px;
  height: 127px;
  object-fit: cover;
  border-radius: 18px;
  flex-shrink: 0;
}

.ki-industry-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
}

.ki-industry-body {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: -10px;
  background: #f7f0ff;
  border-radius: 0 0 24px 24px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  display: none;
}

.ki-industry-card.active .ki-industry-body,
.ki-industry-card:hover .ki-industry-body {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  box-shadow: 0 8px 7px 0 #00000024;
}

.ki-industry-body ul {
  list-style: none;
  margin: 0;
  padding: 20px 0px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* ← now 2 columns */
  gap: 1rem;
  border-top: 2px solid rgb(0 0 0 / 0.2);
}
.ki-industry-body li {
    white-space: pre-wrap;
}

.ki-industry-body li {
  margin: 0;
  white-space: nowrap;
}

.ki-industry-body a {
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #1f1f1f;
  transition: all 0s;
}

.ki-industry-body a:hover {
  color: #550091;
  text-decoration: underline;
}

.ki-industry-card.active .ki-industry-body,
.ki-industry-card:hover .ki-industry-body {
  display: block;
}

/* ===== max-width: 991.98px ===== */
@media (max-width: 991.98px) {
  .ki-industry-body ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== max-width: 767.98px ===== */
@media (max-width: 767.98px) {
  .ki-industry-card {
    min-height: auto;
  }

  .ki-industry-header {
    align-items: flex-start;
  }

  .ki-industry-header img {
    width: 90px;
    height: 90px;
  }

  .ki-industry-header h3 {
    font-size: 0.875rem;
  }

  .ki-industry-body {
    position: absolute;
    margin-top: 0rem;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: 0 0;
    padding: 16px;
    background: #f7f0ff;
  }

  .ki-industry-card.active .ki-industry-body,
  .ki-industry-card:hover .ki-industry-body {
    display: none;
  }

  .ki-industry-card.active .ki-industry-body,
  .ki-industry-card:hover .ki-industry-body {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    box-shadow: 0 8px 7px 0 #00000024;
    margin-top: -11px;
  }

  .ki-industry-header img {
    width: 152px;
    height: 149px;
  }

  .ki-industry-body ul {
    grid-template-columns: 1fr;
  }

  .ki-industry-header {
    flex-direction: column;
    padding: 10px;
  }

  .g-5,
  .gy-5 {
    --bs-gutter-y: 1.25rem;
  }
  .g-5,
  .gx-5 {
    --bs-gutter-x: 1.25rem;
  }
}

/* ===== min-width: 950px and max-width: 1600px ===== */
@media (min-width: 950px) and (max-width: 1600px) {
  .ki-industry-body li {
    margin: 0;
    white-space: pre-wrap;
  }
}

/* ===== max-width: 468px ===== */
@media (max-width: 468px) {
  .ki-industry-header img {
    width: 100%;
    height: 149px;
  }
}

/* ===== Mobile "Load More" grid behavior (max-width: 991.98px) ===== */
@media (max-width: 991.98px) {
  #industryGrid > div {
    display: none;
  }

  #industryGrid > div.show-mobile {
    display: block;
  }
}

/* ===== Load More button ===== */
#loadMoreBtn,
#industryLoadMoreBtn {
  width: 219px;
  height: 60px;
  border-radius: 5px;
  border: 1px solid #1f1f1f;
  padding: 16px 14px;
  font-weight: 500;
  font-size: 22px;
  line-height: 100%;
  color: #1f1f1f;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  margin: auto;
}

/* Desktop: hide #loadMoreBtn (shared selector, included for completeness) */
@media (min-width: 992px) {
  #loadMoreBtn {
    display: none;
  }
}