/* ============================================================
   Linqit Solutions — Global Stylesheet
   Brand colours, typography, layout, and components
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy:   #0D1F3C;
  --teal:   #00AEEF;
  --orange: #F57C00;
  --offwhite: #F4F6F9;
  --charcoal: #2C2C2C;
  --white:  #FFFFFF;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Roboto Mono', monospace;

  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.25s ease;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(13,31,60,0.10);
  --shadow-hover: 0 8px 32px rgba(13,31,60,0.18);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p  { font-size: 1rem; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-teal  { color: var(--teal); }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.8125rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: #e06c00; color: var(--white); border-color: #e06c00; }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover { background: #008fc4; color: var(--white); }

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 0.4rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(13,31,60,0.08);
  height: var(--nav-height);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 20px rgba(13,31,60,0.14);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-logo span { color: var(--teal); }
.nav-logo:hover { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  display: block;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--offwhite); }

/* Dropdown */
.has-dropdown > a::after {
  content: " ▾";
  font-size: 0.7em;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 0.5rem 0;
  border-top: 3px solid var(--teal);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  font-size: 0.8125rem;
  border-radius: 0;
  padding: 0.6rem 1.25rem;
  color: var(--charcoal);
}
.dropdown a:hover { background: var(--offwhite); color: var(--teal); }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--transition);
}
.nav-hamburger:hover { background: var(--offwhite); }
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile Drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  margin-bottom: 2rem;
}
.drawer-links { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.drawer-links a {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: block;
}
.drawer-links a:hover { color: var(--teal); }
.drawer-sub { padding-left: 1.25rem; }
.drawer-sub a { font-size: 0.9375rem; color: rgba(255,255,255,0.8); }
.drawer-cta { margin-top: 2rem; }
.drawer-cta .btn { width: 100%; display: block; text-align: center; }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero-full { min-height: 100vh; display: flex; align-items: center; }
.hero-medium { min-height: 55vh; display: flex; align-items: center; }
.hero-short { min-height: 40vh; display: flex; align-items: center; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
/* Decorative gradient overlay — sits above animation layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,60,0.92) 0%, rgba(0,174,239,0.25) 100%);
  z-index: 1;
}
/* Lighter overlay when canvas animation is present */
.hero:has(.hero-canvas)::before {
  background: linear-gradient(135deg, rgba(13,31,60,0.60) 0%, rgba(13,31,60,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ============================================================
   HERO ANIMATIONS
   All ::after pseudo-elements sit at z-index 0 (behind the
   ::before gradient overlay at z-index 1).
   ============================================================ */

/* 1. HOME — Aurora: slow shifting diagonal gradient */
.hero-aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, #0D1F3C 0%, #005f8a 20%, #00AEEF 45%, #1a0a3c 70%, #0D1F3C 100%);
  background-size: 400% 400%;
  animation: heroAurora 14s ease infinite;
  z-index: 0;
}
@keyframes heroAurora {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 2. ABOUT — Floating orbs */
.hero-orbs::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 75%, rgba(0,174,239,0.35) 0%, transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(245,124,0,0.18) 0%, transparent 35%),
    radial-gradient(circle at 55% 55%, rgba(0,174,239,0.18) 0%, transparent 30%);
  animation: heroOrbs 9s ease-in-out infinite;
  z-index: 0;
}
@keyframes heroOrbs {
  0%, 100% { transform: translateY(0)   scale(1);    opacity: 0.8; }
  33%       { transform: translateY(-18px) scale(1.03); opacity: 1;   }
  66%       { transform: translateY(10px)  scale(0.97); opacity: 0.7; }
}

/* 3. SOLUTIONS OVERVIEW — Drifting node grid */
.hero-grid-anim::after {
  content: '';
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(rgba(0,174,239,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,174,239,0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: heroGrid 18s linear infinite;
  z-index: 0;
}
@keyframes heroGrid {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(64px, 64px); }
}

/* 4. SYSPRO ERP — Circuit board lines */
.hero-circuit::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(0,174,239,0.07) 80px, rgba(0,174,239,0.07) 81px),
    repeating-linear-gradient(0deg,  transparent, transparent 50px, rgba(0,174,239,0.05) 50px, rgba(0,174,239,0.05) 51px);
  animation: heroCircuit 12s linear infinite;
  z-index: 0;
}
@keyframes heroCircuit {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 160px 0, 0 100px; }
}

/* 5. FLOWGEAR — Undulating wave ellipses */
.hero-wave::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(0,174,239,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(0,174,239,0.16) 0%, transparent 50%);
  animation: heroWave 7s ease-in-out infinite;
  z-index: 0;
}
@keyframes heroWave {
  0%, 100% { transform: scaleX(1)    scaleY(1);    opacity: 0.7; }
  50%       { transform: scaleX(1.12) scaleY(0.88); opacity: 1;   }
}

/* 6. TRANSLUTION WMS — Moving scan lines */
.hero-scan::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 10px,
    rgba(0,174,239,0.05) 10px,
    rgba(0,174,239,0.05) 11px
  );
  animation: heroScan 5s linear infinite;
  z-index: 0;
}
@keyframes heroScan {
  0%   { background-position: 0 0; }
  100% { background-position: 0 -110px; }
}

/* 7. ZAP DATA HUB — Concentric pulsing rings */
.hero-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vw;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,174,239,0.18) 0%,
    rgba(0,174,239,0.10) 20%,
    rgba(0,174,239,0.05) 40%,
    transparent 65%
  );
  animation: heroPulse 4s ease-out infinite;
  z-index: 0;
}
@keyframes heroPulse {
  0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

/* 8. LASERFICHE — Vertical cascading lines */
.hero-cascade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 44px,
    rgba(0,174,239,0.07) 44px,
    rgba(0,174,239,0.07) 45px
  );
  animation: heroCascade 6s linear infinite;
  z-index: 0;
}
@keyframes heroCascade {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0  100%; }
}

/* 9. INDUSTRIES — Morphing rotating blob */
.hero-morph::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(0,174,239,0.12) 0%, transparent 70%);
  border: 1px solid rgba(0,174,239,0.12);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: heroMorph 22s linear infinite;
  z-index: 0;
}
@keyframes heroMorph {
  0%   { transform: rotate(0deg);   border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25%  { transform: rotate(90deg);  border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50%  { transform: rotate(180deg); border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  75%  { transform: rotate(270deg); border-radius: 42% 58% 25% 75% / 46% 76% 24% 54%; }
  100% { transform: rotate(360deg); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* 10. SERVICES — Expanding ripple from bottom-left */
.hero-ripple::after {
  content: '';
  position: absolute;
  bottom: -250px;
  left: -250px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,0.18) 0%, transparent 65%);
  animation: heroRipple 6s ease-in-out infinite;
  z-index: 0;
}
@keyframes heroRipple {
  0%, 100% { transform: scale(0.75); opacity: 0.5; }
  50%       { transform: scale(1.15); opacity: 1;   }
}

/* 11. NEWS — Diagonal scrolling stripes */
.hero-news::after {
  content: '';
  position: absolute;
  inset: -200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 34px,
    rgba(0,174,239,0.05) 34px,
    rgba(0,174,239,0.05) 35px
  );
  animation: heroDiagonal 12s linear infinite;
  z-index: 0;
}
@keyframes heroDiagonal {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(140px, 140px); }
}

/* 12. CONTACT — Breathing centre glow */
.hero-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,174,239,0.28) 0%, rgba(13,31,60,0) 65%);
  animation: heroGlow 5s ease-in-out infinite;
  z-index: 0;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.4; transform: scale(1);    }
  50%       { opacity: 1;   transform: scale(1.06); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text { max-width: 600px; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p   { color: rgba(255,255,255,0.85); font-size: 1.125rem; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Animated graphic placeholder */
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-nodes {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--offwhite); padding: 2rem 0; }
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem;
}
.trust-icon {
  width: 52px; height: 52px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.trust-item p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--navy);
  margin: 0;
}

/* ============================================================
   SECTIONS — General
   ============================================================ */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-navy { background: var(--navy); }
.section-offwhite { background: var(--offwhite); }

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading h2 { margin-bottom: 0.75rem; }
.section-heading p { color: #555; max-width: 640px; margin: 0 auto; }
.section-navy .section-heading h2 { color: var(--white); }
.section-navy .section-heading p  { color: rgba(255,255,255,0.75); }

/* Two-column content layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.content-block h2 { margin-bottom: 1.25rem; }
.content-block p { color: #4a4a4a; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--teal);
  margin-top: 1.25rem;
}
.text-link:hover { color: var(--orange); }
.text-link::after { content: '→'; }

/* Solution logo display */
.solution-logo-display {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e8ecf2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 3rem;
}
.solution-logo-display img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Placeholder image block */
.img-placeholder {
  background: linear-gradient(135deg, var(--offwhite) 0%, #dce3ed 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  color: #8a9ab5;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem;
}
.img-placeholder .img-icon { font-size: 3rem; margin-bottom: 1rem; }

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.cards-grid {
  display: grid;
  gap: 1.75rem;
}
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), #005f9e);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.card h3 { margin-bottom: 0.75rem; }
.card p  { color: #555; flex: 1; }
.card .text-link { margin-top: 1rem; }

/* Feature block (icon + heading + text) */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--offwhite);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 1.375rem;
}
.feature-block h3 { font-size: 1.0625rem; }
.feature-block p  { color: #555; font-size: 0.9375rem; }

/* ============================================================
   INDUSTRIES SECTION (Dark Navy)
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.industry-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  text-align: center;
  transition: background var(--transition);
  cursor: default;
}
.industry-tile:hover { background: rgba(0,174,239,0.15); }
.industry-tile-icon {
  font-size: 2rem;
  color: var(--teal);
}
.industry-tile p {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-wrap { position: relative; overflow: hidden; }
.testimonials-slider {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.4s ease;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  min-width: 320px;
  flex: 1 0 calc(33.333% - 1.25rem);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.25rem;
  left: 1.75rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.25;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
}
.testimonial-author strong { color: var(--navy); font-size: 0.9375rem; }
.testimonial-author span  { color: #888; font-size: 0.8125rem; }

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.slider-dot.active { background: var(--teal); }

/* ============================================================
   NEWS / BLOG CARDS
   ============================================================ */
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.post-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #b8cce4 0%, #dce3ed 100%);
  display: flex; align-items: center; justify-content: center;
  color: #8a9ab5;
  font-size: 2.5rem;
  overflow: hidden;
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-category {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.post-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--teal); }
.post-excerpt { color: #666; font-size: 0.875rem; flex: 1; }
.post-meta { color: #888; font-size: 0.8125rem; margin-top: 1rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--teal);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; font-size: clamp(1.625rem, 3vw, 2.25rem); }
.cta-banner p  { color: rgba(255,255,255,0.9); font-size: 1.0625rem; max-width: 580px; margin: 0 auto 2rem; }
.cta-banner .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-banner .cta-content { position: relative; z-index: 1; }

/* ============================================================
   SOLUTION CARDS (Large Alternating)
   ============================================================ */
.solution-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid #eef0f4;
}
.solution-card:last-child { border-bottom: none; }
.solution-card.reverse .solution-card-visual { order: 1; }
.solution-card.reverse .solution-card-text { order: 2; }
.solution-card-text h2 { margin-bottom: 1.25rem; }
.solution-card-text p  { color: #4a4a4a; margin-bottom: 1.5rem; }
.solution-card-visual {
  background: linear-gradient(135deg, var(--offwhite) 0%, #dce3ed 100%);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--teal);
}
.solution-card-visual.has-logo {
  background: var(--white);
  border: 1px solid #e8ecf2;
}
.solution-card-visual img {
  max-width: 70%;
  max-height: 160px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ============================================================
   CAPABILITY / FEATURE LISTS
   ============================================================ */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.feature-check {
  color: var(--teal);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.feature-item h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.feature-item p  { color: #555; font-size: 0.875rem; margin: 0; }

/* ============================================================
   HIGHLIGHT BOXES (2x2)
   ============================================================ */
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.highlight-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
  display: flex;
  gap: 1rem;
}
.highlight-box-icon {
  font-size: 1.75rem;
  color: var(--teal);
  flex-shrink: 0;
}
.highlight-box h4 { margin-bottom: 0.4rem; }
.highlight-box p  { color: #555; font-size: 0.875rem; margin: 0; }

/* ============================================================
   NUMBERED LIST / SERVICE STEPS
   ============================================================ */
.numbered-list { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 1rem; }
.numbered-list li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.numbered-list li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion { display: flex; flex-direction: column; gap: 0; }
.accordion-item { border-bottom: 1px solid #e2e6ec; }
.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}
.accordion-btn:hover { color: var(--teal); }
.accordion-icon { flex-shrink: 0; font-style: normal; font-size: 1.25rem; color: var(--teal); transition: transform var(--transition); }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-panel { display: none; padding-bottom: 1.25rem; }
.accordion-item.open .accordion-panel { display: block; }
.accordion-panel p { color: #4a4a4a; }

/* ============================================================
   TABS (Industries)
   ============================================================ */
.industry-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.industry-tab-btn {
  background: var(--offwhite);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0.625rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.industry-tab-btn:hover, .industry-tab-btn.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.industry-panel { display: none; }
.industry-panel.active { display: block; }
.industry-panel-content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}
.industry-panel-content h2 { margin-bottom: 1.5rem; }
.challenge-block, .help-block {
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.challenge-block h4, .help-block h4 {
  color: var(--teal);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.solution-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.solution-tag {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background var(--transition);
}
.solution-tag:hover { background: var(--teal); color: var(--white); }

/* ============================================================
   SERVICE LIFECYCLE TIMELINE
   ============================================================ */
.lifecycle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 2rem 0;
}
.lifecycle-step {
  display: flex;
  align-items: center;
}
.lifecycle-label {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.625rem 1.125rem;
  border-radius: 6px;
  white-space: nowrap;
}
.lifecycle-arrow {
  color: var(--teal);
  font-size: 1.25rem;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--offwhite);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.contact-detail-body h4 { font-size: 0.875rem; color: #888; font-weight: 600; margin-bottom: 0.2rem; }
.contact-detail-body p, .contact-detail-body a { color: var(--charcoal); font-size: 0.9375rem; margin: 0; display: block; }
.contact-detail-body small { color: #888; font-size: 0.8125rem; }

/* Contact Form */
.contact-form-wrap h3 { margin-bottom: 1.5rem; }
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #dce3ed;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-submit { width: 100%; padding: 1rem; font-size: 1rem; }
.form-note { color: #888; font-size: 0.8125rem; margin-top: 0.5rem; }
.form-success {
  background: #e6f9f0;
  border: 2px solid #28a87a;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: #1a6b48;
  display: none;
}
.form-success h3 { color: #1a6b48; }

/* Map */
.map-embed { width: 100%; height: 400px; border: none; border-radius: var(--radius); }

/* ============================================================
   NEWS PAGE
   ============================================================ */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.25rem 0;
  background: var(--white);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  border-bottom: 1px solid #eee;
}
.filter-btn {
  background: var(--offwhite);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--teal);
  color: var(--white);
}

.featured-post-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 3rem;
}
.featured-post-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #b8cce4 0%, #8ab4d8 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: var(--white);
}
.featured-post-body {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-post-body h2 { margin-bottom: 1rem; }
.featured-post-body p { color: #555; margin-bottom: 1.5rem; }
.post-meta-bar { color: #888; font-size: 0.8125rem; margin-bottom: 0.75rem; }

/* Newsletter */
.newsletter-section {
  background: var(--offwhite);
  padding: 3.5rem 0;
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #dce3ed;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
}
.newsletter-form input:focus { border-color: var(--teal); }

/* ============================================================
   RELATED SOLUTIONS CARDS
   ============================================================ */
.related-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.related-card h4 { color: var(--navy); }
.related-card p  { color: #555; font-size: 0.875rem; flex: 1; margin: 0; }
.related-card a  { margin-top: 0.75rem; }

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.25rem;
  color: var(--white);
  margin: 0 auto 1.25rem;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.team-card .role { color: var(--teal); font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.team-card p { color: #555; font-size: 0.875rem; margin: 0; }

/* Partner Logos */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.partner-logo {
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #8a9ab5;
  transition: color var(--transition), background var(--transition);
  min-width: 140px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo:hover { color: var(--navy); background: #dce3ed; }
.partner-logo img {
  max-height: 52px;
  width: auto;
  max-width: 130px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter var(--transition), opacity var(--transition);
  display: block;
}
.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .nav-logo { color: var(--white); display: inline-flex; align-items: center; margin-bottom: 0.75rem; }
.footer-brand .nav-logo img { height: 38px; filter: brightness(0) invert(1); }
.footer-brand .tagline { color: var(--teal); font-style: italic; font-size: 0.9375rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.7); }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-col ul a:hover { color: var(--teal); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item span { font-size: 1rem; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8125rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--teal); }

/* Social Icons */
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: var(--teal); color: var(--white); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 2000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-banner p { font-size: 0.875rem; color: rgba(255,255,255,0.85); margin: 0; }
.cookie-banner a { color: var(--teal); }
.cookie-btns { display: flex; gap: 0.75rem; }

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse > * { order: unset; direction: ltr; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .solution-card { grid-template-columns: 1fr; }
  .solution-card.reverse .solution-card-visual { order: unset; }
  .solution-card.reverse .solution-card-text { order: unset; }
  .contact-grid { grid-template-columns: 1fr; }
  .featured-post-card { grid-template-columns: 1fr; }
  .featured-post-body { padding: 2rem; }
  .feature-list { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .cols-3, .cols-2, .cols-4 { grid-template-columns: 1fr; }
  .trust-bar-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-slider { flex-direction: column; }
  .testimonial-card { min-width: unset; flex: unset; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .feature-list { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .lifecycle { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .lifecycle-arrow { transform: rotate(90deg); }
  .hero-full { min-height: 80vh; }
  .cta-banner { padding: 3.5rem 0; }
  .newsletter-form { flex-direction: column; }
  .two-col { gap: 2rem; }
  .solution-card { padding: 2.5rem 0; }
  .category-filter { top: var(--nav-height); }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .trust-bar-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .cta-banner .cta-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn, .cta-banner .cta-btns .btn { width: 100%; text-align: center; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
