/* ============================================================
   BANTUTEC — MAIN STYLESHEET
   Fonts: Manrope (primary), Red Hat Mono (eyebrows only)
   Palette extracted from the logo brand sheet (BANTU TECH Logo-03):
   teal  #0EA7A4 → green #47B882 → green-lime #8DCC5A → lime #E4E528
   Light-first theme: no black/near-black section fills; the former
   "dark" sections now use a soft brand-tinted background instead.
   ============================================================ */

/* ---------- Tokens ---------- */
:root{
  --color-primary:     #181818;   /* headings / near-black text */
  --color-secondary:   #000000;   /* reserved for small high-contrast UI only, not section fills */
  --color-text:        #5B6585;
  --color-accent:      #FFFFFF;
  --color-teal:        #0EA7A4;
  --color-teal-deep:   #0B7D7A;   /* WCAG-safe teal for text on white (large text: 4.97:1) */
  --color-navy:        #226784;   /* text-safe accent — better contrast on light backgrounds than teal/lime */
  --color-light-grey:  #EEEEEE;
  --color-mid-grey:    #C2C2C2;
  --color-dark-grey:   #4B4E50;
  --color-lime:        #E4E528;
  --color-green-mid:   #47B882;
  --color-lime-mid:    #8DCC5A;
  --color-bg-light:    #F3F5F7;
  --color-bg-surface:  #F0F0F0;
  --color-bg-soft:      #EFF9F5; /* soft brand-tinted light background, replaces black section fills */
  --color-border:      #87868636;
  --color-divider:     #D7D7D7;

  --gradient-brand: linear-gradient(120deg, #0EA7A4 0%, #47B882 33%, #8DCC5A 66%, #E4E528 100%);
  --gradient-brand-soft: linear-gradient(120deg, #E7F9F5 0%, #F6FBE4 100%);
  /* darker than --gradient-brand on purpose: this fill carries white text (buttons,
     avatars, active pills) and needs to clear 4.5:1 contrast, which the brighter
     teal/green/lime stops above do not (2.4–3:1). Verified: 4.97:1 / 5.3:1. */
  --gradient-btn: linear-gradient(120deg, #0B7D7A 0%, #1F7A52 100%);

  --container: 1140px;
  --container-wide: 1600px;

  --font-primary: 'Manrope', sans-serif;
  --font-mono: 'Red Hat Mono', monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure{ margin: 0; padding: 0; }
ul{ list-style: none; }
a{ text-decoration: none; color: inherit; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; }

body{
  font-family: var(--font-primary);
  color: var(--color-text);
  background: #F7FBFA;
  font-size: 15px;
  line-height: 1.6em;
  font-weight: 400;
  overflow-x: hidden;
}

/* ---------- Typography scale ---------- */
h1, .h1{
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 80px);
  line-height: 1.1em;
  letter-spacing: 0px;
  color: var(--color-primary);
}
h2, .h2{
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1em;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}
h3, .h3{
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.1em;
  letter-spacing: -1.5px;
  color: var(--color-primary);
}
@media (min-width: 1025px){ h3, .h3{ letter-spacing: -3px; } }
h4, .h4{
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3em;
  letter-spacing: -0.3px;
  color: var(--color-primary);
}
h5, .h5{
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(19px, 1.4vw, 18px);
  line-height: 1.5em;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}
h6, .h6{
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(15px, 1.2vw, 16px);
  letter-spacing: -0.3px;
  color: var(--color-primary);
}
p{ font-size: 15px; line-height: 1.6em; font-weight: 400; color: var(--color-text); }
@media (max-width: 1024px){ p{ font-size: 14px; } }

/* Eyebrow uses navy rather than teal/lime as its default colour: at 12px/600-weight
   it doesn't qualify as "large text" for WCAG purposes, and navy on white clears
   AA contrast where teal and lime both fall short. */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.8em;
  color: var(--color-navy);
  margin-bottom: 18px;
}
@media (max-width: 1024px){ .eyebrow{ font-size: 12px; } }
@media (max-width: 767px){ .eyebrow{ font-size: 11px; } }
.eyebrow::before{ content: none; }
.eyebrow.on-dark{ color: var(--color-navy); }

/* ---------- Layout ---------- */
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide{ max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

.section{ padding-top: 100px; padding-bottom: 100px; position: relative; }
@media (max-width: 1024px){ .section{ padding-top: 70px; padding-bottom: 70px; } }
@media (max-width: 767px){ .section{ padding-top: 48px; padding-bottom: 48px; } }

.section.light{ background: #F7FBFA; }
/* "dark" now means "soft brand-tinted section" — no black fills anywhere on the site */
.section.dark{ background: var(--color-bg-soft); color: var(--color-text); }
.section.dark h2, .section.dark h3, .section.dark h4, .section.dark h5, .section.dark h6{ color: var(--color-primary); }
.section.dark p{ color: var(--color-text); }

.section-head{ max-width: 640px; margin-bottom: 60px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head p{ margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-btn);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3em;
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 16px 30px;
  transition: background .25s ease, gap .2s ease, filter .25s ease;
  white-space: nowrap;
}
.btn:hover{ filter: brightness(0.92); color: #FFFFFF; gap: 14px; }
.btn::after{
  content: '';
  width: 7px; height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.btn:hover::after{ transform: rotate(45deg) translate(2px, -2px); }
.btn .btn-arrow{ display: none; } /* legacy inline-svg arrows superseded by the ::after arrow above */
.btn-whatsapp{
  background: #0F7A3F;
  color: #fff;
}
.btn-whatsapp:hover{ background: #0D6938; filter: none; }
.btn-outline{
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
}
.btn-outline:hover{ background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.section.dark .btn-outline{ color: var(--color-primary); border-color: var(--color-mid-grey); }
.btn-text{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--color-primary);
  position: relative; padding-bottom: 2px;
}
.btn-text::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.btn-text:hover::after{ transform: scaleX(1); }
.section.dark .btn-text{ color: var(--color-primary); }

/* ---------- Cards ---------- */
.card-dark{
  background-color: #FFFFFF;
  border: 1px solid var(--color-divider);
  border-radius: 25px;
  padding: 40px;
  color: var(--color-text);
}
.card-dark h3, .card-dark h4, .card-dark h5{ color: var(--color-primary); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}
#navbar.nav-solid{
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-divider);
}
.nav-inner{
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo{ position: relative; width: 50px; height: 50px; display: block; }
.nav-logo img{ position: absolute; inset: 0; height: 50px; width: 50px; object-fit: contain; transition: opacity .35s ease; }
.nav-logo-white{ opacity: 1; }
.nav-logo-gradient{ opacity: 0; }
#navbar.nav-solid .nav-logo-white{ opacity: 0; }
#navbar.nav-solid .nav-logo-gradient{ opacity: 1; }
.nav-links{ display: flex; align-items: center; gap: 36px; }
.nav-links a{
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  position: relative;
  padding: 6px 0;
  transition: color .35s ease;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
#navbar.nav-solid .nav-links a{ color: var(--color-primary); text-shadow: none; }
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-lime-mid);
  transition: width .2s ease;
}
#navbar.nav-solid .nav-links a::after{ background: var(--color-teal); }
.nav-links a:hover::after, .nav-links a.active::after{ width: 100%; }
.nav-links a.active{ color: var(--color-lime-mid); }
#navbar.nav-solid .nav-links a.active{ color: var(--color-navy); }
.nav-right{ display: flex; align-items: center; gap: 22px; }
.nav-hamburger{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; padding: 6px;
}
.nav-hamburger span{ width: 24px; height: 2px; background: #FFFFFF; display: block; transition: background .35s ease; }
#navbar.nav-solid .nav-hamburger span{ background: var(--color-primary); }

@media (max-width: 1024px){
  .nav-links{ gap: 22px; }
}
@media (max-width: 900px){
  .nav-links{
    position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 22px;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ color: var(--color-primary); text-shadow: none; }
  .nav-hamburger{ display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero{
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8em;
  padding-bottom: 4em;
}
@media (max-width: 767px){ #hero{ padding-top: 6em; padding-bottom: 3em; min-height: 92vh; } }

.hero-bg-image{
  position: absolute; inset: 0;
  background-image: url('../images/hero-brand-story.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #021212 0%, #0D645E 45%, #1BA7A6 100%);
  opacity: .35;
  z-index: 1;
}

.hero-inner{
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  text-align: left;
}
@media (max-width: 767px){ .hero-inner{ padding: 0 24px; } }

.hero-title{ color: #FFFFFF; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,.25); max-width: 760px; }
.hero-title span{ color: var(--color-lime-mid); }
.hero-sub{ color: rgba(255,255,255,.92); max-width: 560px; margin-bottom: 34px; text-shadow: 0 1px 12px rgba(0,0,0,.3); }

/* ============================================================
   CLIENT LOGOS (dark brand-gradient section — flat fill, no photo)
   ============================================================ */
#clients{
  position: relative;
  padding-top: 90px; padding-bottom: 90px;
  background: linear-gradient(120deg, #021212 0%, #0D645E 55%, #106A6A 100%);
  color: rgba(255,255,255,.85);
}
.clients-grid-layout{ display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
@media (max-width: 900px){ .clients-grid-layout{ grid-template-columns: 1fr; } }
.clients-stat{ font-family: var(--font-primary); font-weight: 800; font-size: clamp(48px,6vw,84px); line-height: 1; color: var(--color-lime-mid); }
.clients-stat-label{ color: #FFFFFF; font-size: 20px; font-weight: 700; margin-top: 8px; }
.clients-desc{ color: rgba(255,255,255,.72); margin-top: 18px; max-width: 380px; }
.clients-image{ margin-top: 30px; border-radius: 20px; overflow: hidden; aspect-ratio: 16/10; }
.clients-image img{ width: 100%; height: 100%; object-fit: cover; }
.clients-logo-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 560px){ .clients-logo-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.clients-logo-card{
  background: #FFFFFF; border: 1px solid var(--color-divider); border-radius: 20px;
  padding: 28px 20px; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.85);
  transition: opacity .5s ease, transform .5s ease, background .2s ease, border-color .2s ease;
}
.clients-logo-card.in{ opacity: 1; transform: scale(1); }
.clients-logo-card:hover{ background: var(--color-bg-light); border-color: var(--color-teal); }
.clients-logo-card img{ max-height: 34px; width: auto; filter: grayscale(1); opacity: .75; }

/* ============================================================
   ABOUT / OUR STORY (standalone section, moved after Hero)
   ============================================================ */
#about-story{ background: #F7FBFA; }
.about-story-grid{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
@media (max-width: 1000px){ .about-story-grid{ grid-template-columns: 1fr; } }

.about-collage{ position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-collage img{ border-radius: 20px; object-fit: cover; width: 100%; height: 100%; }
.about-collage .tall{ grid-row: span 2; height: 100%; }
.about-collage .short{ height: 160px; }

/* ============================================================
   SHARED HOVER-CARD COMPONENT
   (used by Services teaser + Industries; light-themed default
   state with the brand gradient carrying the hover reveal)
   ============================================================ */
.hover-card-grid{ display: grid; gap: 18px; }
.hover-card{
  position: relative; border-radius: 25px; overflow: hidden; aspect-ratio: 3/4;
  background: var(--gradient-brand-soft);
  border: 1px solid var(--color-divider);
}
.hover-card-default{
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; transition: opacity .3s ease;
}
.hover-card-default .num-big{ font-family: var(--font-mono); color: rgba(24,24,24,.18); font-size: 42px; font-weight: 700; margin-bottom: auto; }
.hover-card-divider{ width: 100%; height: 1px; background: rgba(24,24,24,.15); margin-bottom: 12px; }
.hover-card-label{ display: flex; align-items: center; gap: 10px; color: var(--color-primary); font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.hover-card-reveal{
  position: absolute; inset: 0; background: var(--gradient-btn);
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.hover-card:hover .hover-card-reveal{ opacity: 1; transform: translateY(0); }
.hover-card:hover .hover-card-default{ opacity: 0; }
.hover-card-reveal h4{ color: #fff; margin-bottom: 6px; font-size: 19px; }
.hover-card-reveal p{ color: #ffffffe6; font-size: 13px; }
.hover-card-arrow{
  position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%;
  background: #ffffff40; display: flex; align-items: center; justify-content: center; color: #fff;
  opacity: 0; transform: scale(.7); transition: opacity .3s ease, transform .3s ease;
}
.hover-card:hover .hover-card-arrow{ opacity: 1; transform: scale(1); }
/* touch devices: no hover, so tapping shows the reveal via .touch-active toggled by JS */
.hover-card.touch-active .hover-card-reveal{ opacity: 1; transform: translateY(0); }
.hover-card.touch-active .hover-card-default{ opacity: 0; }

/* ============================================================
   SERVICES TEASER (homepage — Aurelian-style expertise cards + modal;
   full accordion detail still lives on services.html)
   ============================================================ */
#services-teaser{ background: #F7FBFA; }
.services-teaser-grid{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1280px){ .services-teaser-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px){ .services-teaser-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .services-teaser-grid{ grid-template-columns: 1fr; } }

.expertise-card{
  position: relative; border-radius: 20px; overflow: hidden; cursor: pointer;
  aspect-ratio: 3/4; background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: box-shadow .3s ease, transform .3s ease;
  border: none; display: block; width: 100%; text-align: left; padding: 0; font: inherit; color: inherit;
}
.expertise-card:hover{ box-shadow: 0 10px 30px rgba(11,125,122,.25); transform: translateY(-3px); }
.expertise-card-img-wrap{ position: absolute; inset: 0; }
.expertise-card-img-wrap img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.expertise-card:hover .expertise-card-img-wrap img{ transform: scale(1.06); }
.expertise-card-overlay{ position: absolute; inset: 0; background: rgba(2,18,18,.60); transition: background .3s ease; }
.expertise-card:hover .expertise-card-overlay{ background: rgba(2,18,18,.82); }
.expertise-card-body{
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 16px; text-align: center;
}
.expertise-card-title{
  font-family: var(--font-primary); font-size: clamp(17px, 1.9vw, 22px); font-weight: 700; color: #fff; line-height: 1.4;
  letter-spacing: 0.1px; margin: 0 0 12px; text-shadow: 0 1px 4px rgba(0,0,0,.55); transition: transform .3s ease;
}
.expertise-card-desc{
  font-size: 13px; color: rgba(255,255,255,.9); line-height: 1.45; max-width: 220px;
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.expertise-card:hover .expertise-card-title{ transform: translateY(-4px); }
.expertise-card:hover .expertise-card-desc{ opacity: 1; transform: translateY(0); }
.expertise-card-learn{
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--color-lime-mid);
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease .05s, transform .3s ease .05s;
}
.expertise-card:hover .expertise-card-learn{ opacity: 1; transform: translateY(0); }

/* Modal */
.exp-modal-overlay{
  position: fixed; inset: 0; background: rgba(2,18,18,.65); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s;
}
.exp-modal-overlay.open{ opacity: 1; visibility: visible; pointer-events: auto; backdrop-filter: blur(4px); }
.exp-modal-box{
  background: #fff; border-radius: 20px; overflow: hidden; max-width: 640px; width: 100%;
  max-height: 88vh; overflow-y: auto; box-shadow: 0 24px 64px rgba(2,18,18,.3);
  transform: translateY(20px) scale(.97); transition: transform .25s ease; position: relative;
}
.exp-modal-overlay.open .exp-modal-box{ transform: translateY(0) scale(1); }
.exp-modal-img{ width: 100%; height: 260px; object-fit: cover; display: block; }
.exp-modal-body{ padding: 32px 36px 36px; }
.exp-modal-close{
  position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,.4); border: none;
  font-size: 20px; line-height: 1; color: #fff; cursor: pointer; padding: 8px 12px; border-radius: 999px;
  transition: background .2s ease; z-index: 10;
}
.exp-modal-close:hover{ background: rgba(0,0,0,.65); }
.exp-modal-num{ font-family: var(--font-mono); color: var(--color-navy); font-size: 13px; font-weight: 600; display: block; margin-bottom: 10px; }
.exp-modal-title{ font-size: clamp(22px,3vw,28px); font-weight: 800; color: var(--color-primary); margin-bottom: 16px; }
.exp-modal-desc{ font-size: 15px; color: var(--color-text); line-height: 1.7; margin-bottom: 20px; }
.exp-modal-tags{ display: flex; flex-wrap: wrap; gap: 10px; }
.exp-modal-tags span{ font-size: 12px; text-transform: uppercase; letter-spacing: .4px; padding: 7px 14px; background: var(--color-bg-surface); border-radius: 20px; color: var(--color-dark-grey); font-weight: 600; }

/* Full detail accordion (used on services.html only) retained below */
.services-tabs{ display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--color-divider); }
.svc-tab{ border-bottom: 1px solid var(--color-divider); }
.svc-tab-head{
  display: flex; align-items: center; gap: 20px;
  padding: 26px 0; cursor: pointer;
  background: none; border: none; width: 100%; text-align: left;
}
.svc-tab-num{ font-family: var(--font-mono); color: var(--color-navy); font-size: 15px; font-weight: 600; }
.svc-tab-head h4{ flex: 1; font-size: clamp(20px,2.2vw,26px); }
.svc-tab-icon{ width: 34px; height: 34px; border: 1px solid var(--color-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--color-primary); transition: transform .25s ease, background .25s ease; flex-shrink: 0; }
.svc-tab.active .svc-tab-icon{ transform: rotate(45deg); background: var(--gradient-btn); color: #fff; border-color: var(--color-teal-deep); }
.svc-tab-body{ max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.svc-tab.active .svc-tab-body{ max-height: 400px; }
.svc-tab-body-inner{ padding: 0 0 30px 54px; }
.svc-tags{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.svc-tags span{ font-size: 12px; text-transform: uppercase; letter-spacing: .4px; padding: 7px 14px; background: var(--color-bg-surface); border-radius: 20px; color: var(--color-dark-grey); font-weight: 600; }
.svc-learn{ display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--color-primary); margin-top: 6px; }
.svc-learn::after{ content: '→'; transition: transform .2s ease; }
.svc-learn:hover::after{ transform: translateX(4px); }

/* ============================================================
   INDUSTRIES (retained in CSS for the shared hover-card component;
   section itself removed from all pages per request)
   ============================================================ */
#industries{ background: #F7FBFA; }
.industries-grid.hover-card-grid{ grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); }
@media (max-width: 1000px){ .industries-grid.hover-card-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .industries-grid.hover-card-grid{ grid-template-columns: 1fr; } }
.hover-card.industry-card{ aspect-ratio: 4/3; }

/* ============================================================
   WHY CHOOSE (dark brand-gradient section — flat fill, no photo;
   each card carries its own photo + overlay instead)
   ============================================================ */
#why-choose{
  background: linear-gradient(135deg, #04302C 0%, #0D645E 60%, #1BA7A6 100%);
  color: rgba(255,255,255,.85);
}
#why-choose .eyebrow{ color: var(--color-lime-mid); }
#why-choose .eyebrow::before{ background: var(--color-lime-mid); }
#why-choose .section-head h2{ color: #FFFFFF; }
#why-choose .section-head p{ color: rgba(255,255,255,.75); }
.why-grid{ display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: 20px; margin-top: 50px; }
@media (max-width: 1000px){ .why-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .why-grid{ grid-template-columns: 1fr; } }
.why-card{
  position: relative; overflow: hidden; border-radius: 20px;
  min-height: 280px; cursor: default;
}
.why-card-bg{ position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transition: transform .45s ease; }
.why-card:hover .why-card-bg{ transform: scale(1.05); }
.why-card-overlay{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(2,18,18,.92) 0%, rgba(2,18,18,.35) 55%, rgba(2,18,18,.1) 100%);
  transition: background .3s ease;
}
.why-card:hover .why-card-overlay{ background: linear-gradient(to top, rgba(2,18,18,.96) 0%, rgba(2,18,18,.55) 60%, rgba(2,18,18,.15) 100%); }
.why-card-label{
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 18px 20px; display: flex; align-items: center; gap: 12px;
}
.why-card-icon{ width: 26px; height: 26px; flex-shrink: 0; color: var(--color-lime-mid); }
.why-card-icon svg{ width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-card-name{ color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; }
.why-card-desc{
  position: absolute; bottom: 58px; left: 0; right: 0; z-index: 2;
  padding: 0 20px; font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.5;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .32s ease, opacity .28s ease;
}
.why-card:hover .why-card-desc{ max-height: 120px; opacity: 1; }
.why-card-bg.wc-people{ background-image: url('../images/women-in-african-tech.webp'); }
.why-card-bg.wc-local{ background-image: url('../images/why-local-insight.webp'); }
.why-card-bg.wc-scale{ background-image: url('../images/why-scalability.webp'); }
.why-card-bg.wc-quality{ background-image: url('../images/why-quality.webp'); }

/* ============================================================
   PROCESS
   ============================================================ */
#process{ background: #F7FBFA; }
.process-tags{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.process-tags span{ font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--color-navy); border: 1px solid var(--color-border); border-radius: 20px; padding: 8px 16px; }
.process-intro{ max-width: 780px; margin-bottom: 60px; }
.process-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .process-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .process-grid{ grid-template-columns: 1fr; } }
.process-card{ background: var(--color-bg-light); border-radius: 25px; padding: 32px 28px; }
.process-card .num{
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-btn);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.process-card h4{ margin-bottom: 12px; font-size: 20px; }
.process-card p{ font-size: 14px; }

/* ============================================================
   TECH STACK
   ============================================================ */
#tech-stack{ background: #231F20; color: rgba(255,255,255,.85); }
#tech-stack .eyebrow{ color: var(--color-lime-mid); }
#tech-stack .eyebrow::before{ background: var(--color-lime-mid); }
#tech-stack .section-head h2{ color: #FFFFFF; }
.tech-tabs-nav{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.tech-tab-btn{
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .5px;
  background: transparent; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); border-radius: 20px; padding: 10px 18px;
  transition: all .2s ease;
}
.tech-tab-btn.active, .tech-tab-btn:hover{ background: var(--gradient-btn); border-color: var(--color-teal-deep); color: #fff; }
.tech-panel{ display: none; }
.tech-panel.active{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.tech-panel.single{ grid-template-columns: 1fr; }
@media (max-width: 700px){ .tech-panel.active{ grid-template-columns: 1fr; } }
.tech-col h5{ color: var(--color-lime-mid); font-family: var(--font-mono); text-transform: uppercase; font-size: 13px; letter-spacing: .5px; margin-bottom: 18px; }
.tech-pills{ display: flex; flex-wrap: wrap; gap: 10px; }
.tech-pills span{ background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #FFFFFF; font-size: 13px; padding: 9px 16px; border-radius: 20px; text-transform: capitalize; }

/* ============================================================
   OUR APPROACH
   ============================================================ */
#approach{ background: #F7FBFA; }
.approach-intro{ display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 50px; flex-wrap: wrap; }
.approach-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px){ .approach-grid{ grid-template-columns: 1fr; } }
.approach-card{ background: var(--color-bg-light); border: 1px solid var(--color-divider); border-radius: 25px; padding: 30px 24px; color: var(--color-text); overflow: hidden; }
.approach-card-img{ margin: -30px -24px 20px; height: 140px; background-size: cover; background-position: center; }
.approach-card-img.ac-uiux{ background-image: url('../images/approach-uiux.webp'); }
.approach-card-img.ac-web{ background-image: url('../images/approach-web-dev.webp'); }
.approach-card-img.ac-mobile{ background-image: url('../images/approach-mobile-dev.webp'); }
.approach-card h5{ color: var(--color-primary); margin-bottom: 14px; font-weight: 700; }
.approach-card p{ font-size: 13px; margin-bottom: 18px; }
.approach-card ul li{ font-size: 12px; padding: 8px 0; border-top: 1px solid var(--color-divider); color: var(--color-dark-grey); }

/* ============================================================
   TEAM
   ============================================================ */
#team{ background: var(--color-bg-soft); }
.team-badge{ font-family: var(--font-mono); color: var(--color-navy); font-size: 13px; letter-spacing: .5px; margin-bottom: 8px; display: block; }
.team-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 900px){ .team-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .team-grid{ grid-template-columns: 1fr; } }
.team-grid.single{ grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
.team-card{ background: #FFFFFF; border: 1px solid var(--color-divider); border-radius: 25px; padding: 30px; text-align: center; }
.team-avatar{
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-btn);
  color: #ffffff; font-weight: 800; font-size: 24px;
}
.team-card h4{ font-size: 18px; margin-bottom: 6px; }
.team-card p{ font-size: 13px; color: var(--color-navy); }

/* ============================================================
   CASE STUDIES
   ============================================================ */
#case-studies{ background: #F7FBFA; }
.cs-filters{ display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.cs-filter-btn{
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .5px;
  background: none; border: 1px solid var(--color-border); color: var(--color-dark-grey); border-radius: 20px; padding: 10px 18px;
}
.cs-filter-btn.active, .cs-filter-btn:hover{ background: var(--gradient-btn); color: #fff; border-color: var(--color-teal-deep); }
.cs-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px){ .cs-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .cs-grid{ grid-template-columns: 1fr; } }
.cs-card{ border-radius: 25px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-bg-light); display: none; }
.cs-card.show{ display: block; }
.cs-card-media{ aspect-ratio: 4/3; background: var(--gradient-brand-soft); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.cs-card-media span{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(24,24,24,.14); font-size: 40px; font-weight: 800; }
.cs-card-media.cs-01{ background-image: url('../images/cs-cloud-infra.webp'); }
.cs-card-media.cs-02{ background-image: url('../images/cs-client-success.webp'); }
.cs-card-media.cs-03{ background-image: url('../images/cs-business-analysis-2.webp'); }
.cs-card-media.cs-04{ background-image: url('../images/cs-mentorship.webp'); }
.cs-card-media.cs-05{ background-image: url('../images/cs-mentorship-2.webp'); }
.cs-card-media.cs-06{ background-image: url('../images/connectivity-rural-urban-2.webp'); }
.cs-card-body{ padding: 26px 28px; }
.cs-tag{ font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--color-navy); letter-spacing: .5px; }
.cs-card h4{ font-size: 19px; margin: 10px 0 6px; }
.cs-card .cs-cat{ font-size: 13px; color: var(--color-dark-grey); }
.cs-view-all{ text-align: center; margin-top: 40px; }

/* ============================================================
   TESTIMONIALS (Tailored Bay-style single-quote carousel)
   ============================================================ */
#testimonials{ background: #231F20; }
#testimonials .eyebrow{ color: var(--color-lime-mid); }
#testimonials .eyebrow::before{ background: var(--color-lime-mid); }
#testimonials .section-head h2{ color: #FFFFFF; }
.testi-carousel{ max-width: 720px; margin: 0 auto; text-align: center; }
.testi-slide{ display: none; }
.testi-slide.active{ display: block; animation: testiFade .5s ease; }
@keyframes testiFade{ from{ opacity: 0; transform: translateY(8px); } to{ opacity: 1; transform: translateY(0); } }
.testi-quote{
  font-size: clamp(15px, 1.3vw, 17px); line-height: 1.75em; color: #FFFFFF; font-weight: 400; font-style: italic;
  position: relative; padding: 0 20px;
}
.testi-quote::before, .testi-quote::after{ color: var(--color-lime-mid); font-family: Georgia, serif; font-size: 1.2em; font-style: normal; }
.testi-quote::before{ content: '\201C'; margin-right: 4px; }
.testi-quote::after{ content: '\201D'; margin-left: 4px; }
.testi-author{ margin-top: 26px; }
.testi-author strong{ color: #FFFFFF; font-size: 15px; }
.testi-author span{ color: rgba(255,255,255,.6); font-size: 13px; }
.testi-dots{ display: flex; justify-content: center; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.testi-dot{
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid transparent;
  background: var(--gradient-btn);
  color: #ffffff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .2s ease, transform .2s ease; opacity: .55;
}
.testi-dot:hover{ transform: translateY(-3px); }
.testi-dot.active{ border-color: var(--color-lime-mid); opacity: 1; }

/* ============================================================
   CEO CONTACT CARD
   ============================================================ */
#ceo-contact{ background: #231F20; }
.ceo-card{ display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 25px; padding: 40px; }
@media (max-width: 700px){ .ceo-card{ grid-template-columns: 1fr; text-align: center; } }
.ceo-avatar{ width: 74px; height: 74px; border-radius: 50%; background: var(--gradient-btn); }
.ceo-info h4{ color: #FFFFFF; margin-bottom: 4px; }
.ceo-info span{ color: var(--color-lime-mid); font-size: 13px; }
.ceo-details{ display: flex; gap: 30px; flex-wrap: wrap; }
.ceo-details div{ font-size: 13px; color: rgba(255,255,255,.65); }
.ceo-details strong{ display: block; color: #FFFFFF; font-size: 14px; margin-bottom: 4px; }

/* ============================================================
   CTA (old hero photo now lives here, with a stronger overlay
   since this section carries a heading, copy, and two buttons)
   ============================================================ */
#cta{ position: relative; overflow: hidden; text-align: left; }
#cta-bg-image{ position: absolute; inset: 0; background-image: url('../images/orizonjpg-032.webp'); background-size: cover; background-position: center; z-index: 0; }
#cta-overlay{ position: absolute; inset: 0; background: linear-gradient(120deg, #021212 0%, #0D645E 45%, #1BA7A6 100%); opacity: .55; z-index: 1; }
#cta .container{ position: relative; z-index: 2; }
#cta h2{ margin-bottom: 20px; color: #FFFFFF; max-width: 620px; }
#cta p{ max-width: 600px; margin: 0 0 8px; color: rgba(255,255,255,.88); }
.cta-actions{ display: flex; justify-content: flex-start; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ============================================================
   FOOTER (dark charcoal — matches the brand's own dark-panel
   presentation page, #231F20, not flat black)
   ============================================================ */
footer{ background: #231F20; position: relative; overflow: hidden; padding: 90px 0 0; }
footer .container-wide{ max-width: 1320px; }
.footer-top{ position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: 10px; padding-bottom: 70px; border-bottom: 1px solid rgba(255,255,255,.12); overflow: hidden; }
@media (max-width: 900px){ .footer-top{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-brand img{ height: 60px; width: 60px; display: block; margin: 0 0 20px; }
.footer-brand p{ font-size: 13px; color: rgba(255,255,255,.6); max-width: 100%; margin-bottom: 24px; text-align: left; }
.footer-brand{ display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100%; }
.footer-col{ min-width: 0; overflow-wrap: break-word; }
.footer-socials{ display: flex; gap: 10px; }
.footer-socials a{
  width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; color: #231F20; border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background .2s ease, color .2s ease;
}
.footer-socials a:hover{ background: var(--gradient-btn); color: #fff; border-color: var(--color-teal-deep); }

.footer-col h6{ color: #FFFFFF; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; margin-bottom: 22px; font-family: var(--font-mono); font-weight: 600; }
.footer-col ul li{ margin-bottom: 13px; }
.footer-col ul li a{ font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer-col ul li a:hover{ color: var(--color-lime-mid); }
.footer-contact-rows li{ display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-rows .fc-icon{ color: var(--color-teal); font-size: 15px; flex-shrink: 0; line-height: 1.5; }
.footer-contact-rows li span:last-child, .footer-contact-rows li a{ font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-bottom{ position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 26px 0; flex-wrap: wrap; gap: 14px; }
.footer-bottom p{ font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom-links{ display: flex; gap: 24px; }
.footer-bottom-links a{ font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover{ color: var(--color-lime-mid); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top{
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-btn); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
}
#scroll-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-top:hover{ filter: brightness(0.92); }

/* ============================================================
   PAGE BANNER (sub-page heroes — full-bleed photo + 35% overlay,
   left-aligned, matching the home hero treatment)
   ============================================================ */
.page-banner{
  position: relative; overflow: hidden;
  padding: 308px 0 140px;
  text-align: left;
}
.page-banner-bg{ position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-banner-overlay{ position: absolute; inset: 0; background: linear-gradient(120deg, #021212 0%, #0D645E 45%, #1BA7A6 100%); opacity: .35; z-index: 1; }
.page-banner .container{ position: relative; z-index: 2; }
.page-banner h1{ color: #FFFFFF; font-size: clamp(34px, 5vw, 56px); text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.page-banner-sub{ color: rgba(255,255,255,.85); font-size: 16px; max-width: 480px; margin-top: 18px; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.page-banner-bg.pb-about{ background-image: url('../images/team-collaboration.webp'); }
.page-banner-bg.pb-services{ background-image: url('../images/approach-uiux.webp'); }
.page-banner-bg.pb-portfolio{ background-image: url('../images/cs-client-success.webp'); }
.page-banner-bg.pb-contact{ background-image: url('../images/connectivity-rural-urban.webp'); }

/* ============================================================
   CONTACT PAGE FORM (Tailored Bay-style enhancements)
   ============================================================ */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-info-item{ display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--color-divider); }
.contact-info-icon{ width: 46px; height: 46px; border-radius: 50%; background: var(--color-bg-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--color-navy); font-size: 18px; }
.contact-info-item h5{ margin-bottom: 6px; }
.contact-form-wrap{ position: relative; }
.contact-form{ background: var(--color-bg-light); border-radius: 25px; padding: 44px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }
.form-field{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label{ font-size: 13px; font-weight: 700; color: var(--color-primary); }
.form-field input, .form-field textarea, .form-field select{
  border: 1px solid var(--color-mid-grey); background: #fff; border-radius: 8px; padding: 14px 16px; font-size: 14px; color: var(--color-primary);
  font-family: var(--font-primary); width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ outline: 2px solid var(--color-teal); border-color: var(--color-teal); }
.form-word-count{ font-size: 12px; color: var(--color-dark-grey); text-align: right; margin-top: 6px; }
.form-word-count.limit-reached{ color: var(--color-navy); font-weight: 700; }
.form-consent{ display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.form-consent input{ margin-top: 3px; }
.form-consent label{ font-size: 12px; color: var(--color-dark-grey); line-height: 1.5em; }
.form-consent a{ color: var(--color-navy); font-weight: 700; }
.form-success{
  display: none; text-align: center; padding: 60px 30px;
  background: var(--color-bg-light); border-radius: 25px;
}
.form-success.show{ display: block; }
.form-success-check{
  width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-btn); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 22px;
}
.form-success h4{ margin-bottom: 10px; }
.form-error{
  display: none; margin-bottom: 20px; padding: 14px 18px;
  background: rgba(220,53,69,.1); border: 1px solid rgba(220,53,69,.35);
  border-radius: 10px; color: #dc3545; font-size: 14px;
}
.form-error.show{ display: block; }
.map-embed{ border-radius: 25px; overflow: hidden; margin-top: 40px; border: 1px solid var(--color-divider); }
.map-iframe{ border: 0; display: block; width: 100%; height: 480px; }
@media (max-width: 767px){ .map-iframe{ height: 320px; } }
.hidden{ display: none; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ============================================================
   PORTFOLIO / REVIEWS PAGE GRID (full listing pages)
   ============================================================ */
.full-cs-grid, .full-review-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px){ .full-cs-grid, .full-review-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .full-cs-grid, .full-review-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   UTILITY CLASSES (spacing / sizing helpers — no inline styles)
   ============================================================ */
.mt-8{ margin-top: 8px; }
.mt-12{ margin-top: 12px; }
.mt-14{ margin-top: 14px; }
.mt-16{ margin-top: 16px; }
.mt-20{ margin-top: 20px; }
.mt-22{ margin-top: 22px; }
.mt-24{ margin-top: 24px; }
.mt-30{ margin-top: 30px; }
.mt-40{ margin-top: 40px; }
.mb-6{ margin-bottom: 6px; }
.mb-20{ margin-bottom: 20px; }
.no-pt{ padding-top: 0; }
.no-mt{ margin-top: 0; }
.max-w-260{ max-width: 260px; }
.max-w-420{ max-width: 420px; }
.max-w-480{ max-width: 480px; }
.max-w-520{ max-width: 520px; }
.max-w-600{ max-width: 600px; }
.text-title-40{ font-size: clamp(28px, 3vw, 40px); }
.text-title-42{ font-size: clamp(28px, 3vw, 42px); }
.text-title-52{ font-size: clamp(30px, 4vw, 52px); }
.align-center{ text-align: center; }
.grid-single-col{ grid-template-columns: 0.85fr 1.15fr; }

/* Now that every section is light, "on-dark"/"on-light" card modifiers converge
   on the same light-card treatment — kept as aliases so existing markup still works. */
.process-card.on-dark{ background: #fff; border: 1px solid var(--color-divider); }
.process-card.on-dark h4{ color: var(--color-primary); }
.process-card.on-dark p{ color: var(--color-text); }
.process-intro.on-dark{ color: var(--color-primary); }


.team-card.on-light{ background: #FFFFFF; border-color: var(--color-divider); }
.team-card.on-light h4{ color: var(--color-primary); }
.team-card.on-light p{ color: var(--color-navy); }

.testimonial-card.on-light{ background: var(--color-bg-light); border: 1px solid var(--color-border); }
.testimonial-card.on-light p{ color: var(--color-dark-grey); }
.testimonial-card.on-light .testimonial-author h5{ color: var(--color-primary); }
.testimonial-card.on-light .testimonial-author span{ color: var(--color-text); }

/* ============================================================
   RESPONSIVE ADDITIONS — Tailored Bay Digital
   Fills breakpoint gaps identified across all pages
   ============================================================ */

/* Page banner (sub-page hero) — reduce towering top padding on mobile */
@media (max-width: 900px){
  .page-banner{ padding: 220px 0 90px; }
}
@media (max-width: 767px){
  .page-banner{ padding: 160px 0 60px; }
  .page-banner-sub{ font-size: 14px; }
}

/* Footer — reduce vertical padding on mobile */
@media (max-width: 767px){
  footer{ padding: 60px 0 0; }
}

/* Process intro margin — less gap on mobile */
@media (max-width: 767px){
  .process-intro{ margin-bottom: 36px; }
}

/* Contact form card — reduce padding on small screens */
@media (max-width: 560px){
  .contact-form{ padding: 28px 20px; }
}

/* About collage — collapse 2-col grid to single column on very small screens */
@media (max-width: 480px){
  .about-collage{ grid-template-columns: 1fr; }
  .about-collage .tall{ grid-row: auto; height: 220px; }
  .about-collage .short{ height: 180px; }
}

/* Service expertise modals — tighter padding and shorter image on small screens */
@media (max-width: 560px){
  .exp-modal-img{ height: 180px; }
  .exp-modal-body{ padding: 20px 20px 24px; }
}

/* Nav — close menu when clicking outside (handled in JS) but ensure
   nav-links don't bleed over hamburger at very narrow widths */
@media (max-width: 360px){
  .nav-inner{ padding: 6px 16px; }
  .hero-inner{ padding: 0 16px; }
  .container{ padding: 0 16px; }
  .container-wide{ padding: 0 16px; }
}

/* Approach intro — stack at narrow viewport */
@media (max-width: 560px){
  .approach-intro{ flex-direction: column; gap: 16px; }
}

/* CTA actions — stack buttons on small screens */
@media (max-width: 480px){
  .cta-actions{ flex-direction: column; align-items: flex-start; }
  .cta-actions .btn{ width: 100%; justify-content: center; }
}

/* Expertise cards — full-width on mobile */
@media (max-width: 400px){
  .expertise-card{ border-radius: 16px; }
}

/* Footer bottom — stack on very small screens */
@media (max-width: 400px){
  .footer-bottom{ flex-direction: column; align-items: center; }
}

/* Section heading — ensure eyebrow + title don't overflow on tiny screens */
@media (max-width: 360px){
  .text-title-42{ font-size: clamp(28px, 8vw, 42px); }
  .text-title-52{ font-size: clamp(28px, 8vw, 52px); }
}

/* Tailored Bay footer credit link */
.footer-tb-link{
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-tb-link:hover{ color: #AA2CA5; }

/* ── Footer contact row links — inherit footer text colour, not browser blue ── */
.footer-contact-rows a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.footer-contact-rows a:hover {
  color: #8DCC5A;
  text-decoration: none;
}

/* ── Contact page info-block links — lime on hover ── */
.contact-info-item a {
  color: inherit;
  text-decoration: none;
}
.contact-info-item a:hover {
  color: #8DCC5A;
}

/* ── Approach section — centre on mobile ── */
@media (max-width: 560px) {
  .approach-intro { text-align: center; align-items: center; }
  .approach-intro .btn { display: inline-flex; }
}

/* ── Footer — centre all contents on mobile ── */
@media (max-width: 560px) {
  .footer-top { text-align: center; }
  .footer-brand img { margin: 0 auto 20px; }
  .footer-brand p { max-width: 100%; text-align: center; }
  .footer-contact-rows { align-items: center; }
  .footer-contact-rows li { justify-content: center; }
  .footer-col ul { padding-left: 0; list-style: none; }
  .footer-bottom { align-items: center; text-align: center; }
  .footer-bottom p { text-align: center; }
  /* Legal links above copyright on mobile */
  .footer-bottom-links { order: -1; justify-content: center; }
}
