/* ============================================
   MARSLAND SERVICES LIMITED
   Corporate Blue & Green — East Africa Theme
   ============================================ */

:root {
  --navy:        #0b2d6e;
  --navy-deep:   #071d4a;
  --navy-mid:    #5a8a00;
  --blue:        #5a8a00;
  --blue-light:  #e8f1fb;
  --green:       #5a8a00;
  --green-dark:  #446800;
  --green-light: #eef5e0;
  --white:       #ffffff;
  --off-white:   #f5f7fc;
  --gray-light:  #edf0f7;
  --gray:        #8c97ae;
  --text:        #1a2340;
  --text-muted:  #5a6480;
  --border:      rgba(11,45,110,0.1);

  --shadow-sm:  0 2px 12px rgba(11,45,110,0.08);
  --shadow:     0 6px 32px rgba(11,45,110,0.12);
  --shadow-lg:  0 16px 64px rgba(11,45,110,0.18);

  --font-display: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul   { list-style: none; }

/* UTILITIES */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5.5rem 0; }

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
.section-title em { font-style: normal; color: var(--blue); }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-header p { margin-top: 0.85rem; color: var(--text-muted); font-size: 0.98rem; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.logo-text { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo-text em { font-style: normal; color: var(--blue); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 6px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  transition: background var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: var(--transition); }
.mobile-menu { display: none; flex-direction: column; background: var(--white); padding: 1.5rem 2rem; border-top: 1px solid var(--border); }
.mobile-menu a { padding: 0.85rem 0; font-size: 1rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }

/* ── HERO ── */
/* ══════════════════════════════════════════
   HERO — Two-column with background image
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Real photo background */
.hero-img-bg {
  position: absolute; inset: 0;
  background-image: url('images/mars.jpeg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Gradient overlay — heavy navy on left, lighter on right so image shows */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,29,74,0.97)  0%,
    rgba(11,45,110,0.93) 40%,
    rgba(18,70,160,0.78) 65%,
    rgba(11,45,110,0.55) 100%
  );
  z-index: 1;
}

/* Subtle grid texture */
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 55px 55px;
}

/* Inner two-column layout */
.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 9rem;
  padding-bottom: 8rem;
}

/* LEFT column */
.hero-left { display: flex; flex-direction: column; }

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero-title em { font-style: normal; color: #7ec8ff; }

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  font-weight: 400;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 3rem; }

/* Stats row inside left column */
.hero-stats {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  gap: 0.2rem;
  text-align: center;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.hero-stat .badge-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat .badge-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

/* RIGHT column — feature cards */
.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  backdrop-filter: blur(12px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.hero-card:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(126,200,255,0.4);
  transform: translateY(-3px);
}
.hero-card-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #7ec8ff;
}
.hero-card-icon svg { width: 24px; height: 24px; }
.hero-card strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.hero-card span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* Wave bottom */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 4;
  line-height: 0;
}
.hero-wave svg {
  width: 100%; height: 80px;
  display: block;
}

/* Preserve badge selectors used elsewhere */
.badge { display: flex; flex-direction: column; gap: 0.2rem; padding-left: 1rem; border-left: 3px solid rgba(126,200,255,0.5); }
.badge-num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.badge-label { font-size: 0.73rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 7rem; }
  .hero-right  { grid-template-columns: repeat(2, 1fr); }
  .hero-title  { font-size: clamp(2rem, 5vw, 3.2rem); }
}
@media (max-width: 640px) {
  .hero-inner  { padding-top: 8rem; padding-bottom: 6rem; gap: 2.5rem; }
  .hero-right  { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats  { flex-wrap: wrap; }
  .hero-stat   { min-width: 50%; }
}


/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--green); color: var(--white);
  padding: 0.85rem 2rem; font-size: 0.9rem; font-weight: 700;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(90,138,0,0.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(90,138,0,0.4); }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--white); font-size: 0.9rem; font-weight: 700;
  padding: 0.83rem 2rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-light {
  display: inline-flex; align-items: center;
  background: var(--green); color: var(--white);
  padding: 0.9rem 2.25rem; font-size: 0.92rem; font-weight: 700;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 20px rgba(90,138,0,0.35);
}
.btn-light:hover { background: var(--green-dark); transform: translateY(-2px); }

.link-arrow { font-size: 0.9rem; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 0.3rem; transition: gap var(--transition); }
.link-arrow:hover { gap: 0.6rem; }

/* ── ANIMATIONS ── */
.reveal { opacity:0; transform:translateY(22px); transition:opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal:nth-child(2){transition-delay:.1s} .reveal:nth-child(3){transition-delay:.2s}
.reveal:nth-child(4){transition-delay:.3s} .reveal:nth-child(5){transition-delay:.4s}
.reveal-card { opacity:0; transform:translateY(28px); transition:opacity .55s ease,transform .55s ease; }
.reveal-card.visible { opacity:1; transform:translateY(0); }

/* ── INTRO ── */
.intro-section { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.intro-right p { color: var(--text-muted); margin-bottom: 1.2rem; font-size: 1rem; }

/* ── SECTORS ── */
.sectors-section { background: var(--off-white); }
.sectors-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.sector-card {
  background: var(--white); padding: 2.25rem 2rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.sector-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform:scaleX(0); transform-origin:left; transition:transform var(--transition);
}
.sector-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent; }
.sector-card:hover::before { transform:scaleX(1); }

.sector-icon {
  width:50px; height:50px; background:var(--blue-light); color:var(--navy);
  border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:1.5rem;
}
.sector-icon svg { width:28px; height:28px; }
.sector-card h3 { font-size:1.15rem; font-weight:700; margin-bottom:.75rem; color:var(--navy); }
.sector-card p { color:var(--text-muted); font-size:.93rem; margin-bottom:1.5rem; line-height:1.7; }
.card-link { font-size:.85rem; font-weight:700; color:var(--blue); transition:letter-spacing var(--transition); }
.sector-card:hover .card-link { letter-spacing:.05em; }

/* ── PROCESS ── */
.process-section { background:var(--white); }
.process-bg { display:none; }
.process-steps { display:flex; align-items:stretch; gap:0; }
.process-step {
  flex:1; display:flex; flex-direction:column; gap:1rem;
  padding:2rem 1.75rem; background:var(--off-white);
  border-radius:var(--radius); border:1px solid var(--border); position:relative;
  transition:background var(--transition), box-shadow var(--transition);
}
.process-step:hover { background:var(--blue-light); box-shadow:var(--shadow-sm); }
.process-connector { width:40px; height:2px; background:linear-gradient(90deg,var(--navy),var(--blue)); align-self:center; flex-shrink:0; }
.step-num { font-size:2.5rem; font-weight:800; color:var(--blue-light); -webkit-text-stroke:2px var(--navy); line-height:1; }
.step-content h4 { font-size:1.02rem; font-weight:700; color:var(--navy); margin-bottom:.4rem; }
.step-content p { font-size:.88rem; color:var(--text-muted); line-height:1.6; }

/* ── WHY ── */
.why-section { background:var(--off-white); }
.why-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:5rem; align-items:center; }
.why-card-stack { display:flex; flex-direction:column; gap:1.5rem; }
.why-stat-card {
  background:linear-gradient(135deg, var(--navy-deep), var(--navy));
  color:var(--white); padding:2rem; border-radius:var(--radius-lg); box-shadow:var(--shadow);
}
.stat-label { display:block; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.6); margin-bottom:1rem; font-weight:700; }
.stat-logos { display:flex; flex-wrap:wrap; gap:.6rem; }
.stat-logos span { background:rgba(255,255,255,.12); padding:.35rem .9rem; border-radius:999px; font-size:.82rem; font-weight:700; border:1px solid rgba(255,255,255,.2); }
.why-quote-card { background:var(--white); padding:2rem; border-radius:var(--radius-lg); border-left:4px solid var(--green); box-shadow:var(--shadow-sm); }
.why-quote-card p { font-size:1.05rem; font-weight:600; color:var(--navy); margin-bottom:.75rem; line-height:1.5; }
.why-quote-card cite { font-size:.8rem; color:var(--gray); font-style:normal; }

.why-list { display:flex; flex-direction:column; gap:1.5rem; margin:2rem 0 2.5rem; }
.why-list li { display:flex; gap:1.25rem; align-items:flex-start; }
.why-icon { width:32px; height:32px; background:var(--green-light); color:var(--green); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:.9rem; flex-shrink:0; margin-top:.1rem; }
.why-list strong { display:block; font-size:1rem; font-weight:700; color:var(--navy); margin-bottom:.3rem; }
.why-list p { font-size:.9rem; color:var(--text-muted); }

/* ── CTA BANNER ── */
.cta-banner {
  background:linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--blue) 100%);
  padding:6rem 0; position:relative; overflow:hidden;
}
.cta-bg { position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size:28px 28px; }
.cta-inner { text-align:center; position:relative; z-index:1; }
.cta-inner h2 { font-size:clamp(1.8rem,3.5vw,2.8rem); font-weight:800; color:var(--white); margin-bottom:.85rem; }
.cta-inner p { font-size:1.05rem; color:rgba(255,255,255,.75); margin-bottom:2.5rem; max-width:480px; margin-left:auto; margin-right:auto; }

/* ── FOOTER ── */
.footer { background:var(--navy-deep); padding:5rem 0 2rem; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:3rem; padding-bottom:3rem; border-bottom:1px solid rgba(255,255,255,.08); margin-bottom:2rem; }
.footer-brand .logo-mark { background:linear-gradient(135deg, var(--blue), #7ec8ff); }
.footer-brand .logo-text { color:var(--white); }
.footer-brand p { color:rgba(255,255,255,.45); font-size:.88rem; margin-top:1rem; line-height:1.7; }
.footer-col h5 { font-size:.7rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:rgba(126,200,255,.8); margin-bottom:1.25rem; }
.footer-col a, .footer-col span { display:block; color:rgba(255,255,255,.5); font-size:.88rem; margin-bottom:.65rem; transition:color var(--transition); }
.footer-col a:hover { color:var(--white); }
.footer-bottom { display:flex; justify-content:space-between; font-size:.82rem; color:rgba(255,255,255,.3); }

/* ── PAGE HERO ── */
.page-hero { padding:10rem 0 5rem; position:relative; overflow:hidden; background:linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.page-hero::after { content:''; position:absolute; bottom:-1px; left:0; right:0; height:70px; background:var(--white); clip-path:ellipse(56% 100% at 50% 100%); }
.page-hero--short { padding:9rem 0 4rem; }
.page-hero-title { font-size:clamp(2.2rem,5vw,3.8rem); font-weight:800; line-height:1.1; color:var(--white); margin-bottom:1.25rem; }
.page-hero-title em { font-style:normal; color:#7ec8ff; }
.page-hero-sub { font-size:1.05rem; color:rgba(255,255,255,.7); max-width:560px; line-height:1.8; }

/* ── ABOUT PAGE ── */
.mv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.mv-card { padding:2.25rem; background:var(--white); border-radius:var(--radius-lg); border:1px solid var(--border); transition:box-shadow var(--transition); }
.mv-card:hover { box-shadow:var(--shadow); }
.mv-card--accent { background:linear-gradient(135deg, var(--navy-deep), var(--navy)); border-color:transparent; }
.mv-card--accent h3 { color:var(--white); } .mv-card--accent p { color:rgba(255,255,255,.7); }
.mv-icon { font-size:1.75rem; color:var(--blue); margin-bottom:1.25rem; display:block; }
.mv-card--accent .mv-icon { color:#7ec8ff; }
.mv-card h3 { font-size:1.35rem; font-weight:700; margin-bottom:.85rem; color:var(--navy); }

.story-section { background:var(--white); }
.story-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:5rem; align-items:center; }
.story-content p { color:var(--text-muted); margin-bottom:1.2rem; }
.story-stat-block { display:flex; flex-direction:column; gap:2.5rem; padding:3rem; background:linear-gradient(135deg, var(--navy-deep), var(--navy)); border-radius:var(--radius-lg); }
.story-stat { display:flex; flex-direction:column; gap:.3rem; }
.big-num { font-size:3.5rem; font-weight:800; color:#7ec8ff; line-height:1; }
.story-stat span:not(.big-num) { font-size:.88rem; color:rgba(255,255,255,.6); }

.team-section { background:var(--off-white); }
.team-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
.team-card { background:var(--white); padding:2rem 1.75rem; border-radius:var(--radius-lg); border:1px solid var(--border); transition:transform var(--transition), box-shadow var(--transition); }
.team-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.team-avatar { width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.1rem; color:var(--white); margin-bottom:1.25rem; background:linear-gradient(135deg, var(--navy), var(--blue)); }
.team-card h4 { font-size:1.08rem; font-weight:700; margin-bottom:.25rem; color:var(--navy); }
.team-role { font-size:.75rem; color:var(--green); margin-bottom:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.team-card p { font-size:.87rem; color:var(--text-muted); line-height:1.6; }

.affil-section { background:var(--white); }
.affil-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.affil-card { padding:1.75rem; border:1px solid var(--border); border-radius:var(--radius); transition:border-color var(--transition), background var(--transition); }
.affil-card:hover { border-color:var(--blue); background:var(--blue-light); }
.affil-card strong { display:block; font-size:1.15rem; color:var(--navy); margin-bottom:.35rem; font-weight:700; }
.affil-card span { font-size:.88rem; color:var(--text-muted); }

/* ── SERVICES PAGE ── */
.services-list { display:flex; flex-direction:column; gap:0; }
.service-item { display:grid; grid-template-columns:80px 1fr; gap:2.5rem; padding:3rem 0; border-bottom:1px solid var(--border); align-items:start; }
.service-item:last-child { border-bottom:none; }
.service-number { font-size:2.5rem; font-weight:800; color:var(--blue-light); -webkit-text-stroke:2px var(--navy); padding-top:.2rem; }
.service-item:hover .service-number { -webkit-text-stroke-color:var(--blue); transition:-webkit-text-stroke-color var(--transition); }
.service-body h3 { font-size:1.5rem; font-weight:700; margin-bottom:.7rem; color:var(--navy); }
.service-body p { font-size:.97rem; color:var(--text-muted); margin-bottom:1.25rem; line-height:1.8; }
.service-tags { display:flex; flex-wrap:wrap; gap:.5rem; }
.service-tags li { background:var(--blue-light); color:var(--blue); padding:.3rem .9rem; border-radius:999px; font-size:.78rem; font-weight:700; }

.industries-section { background:var(--off-white); }
.industries-grid { display:flex; flex-wrap:wrap; gap:.75rem; justify-content:center; }
.industry-pill { background:var(--white); border:1.5px solid var(--border); padding:.6rem 1.4rem; border-radius:999px; font-size:.88rem; font-weight:600; transition:background var(--transition), border-color var(--transition), color var(--transition); }
.industry-pill:hover { background:var(--navy); color:var(--white); border-color:var(--navy); }

/* ── SECTORS PAGE ── */
.sector-tabs { display:flex; gap:0; border-bottom:2px solid var(--border); margin-bottom:3rem; }
.sector-tab { padding:1rem 2rem; font-size:.9rem; font-weight:600; color:var(--text-muted); border-bottom:3px solid transparent; margin-bottom:-2px; transition:all var(--transition); background:none; }
.sector-tab:hover { color:var(--navy); }
.sector-tab.active { color:var(--navy); border-bottom-color:var(--blue); }
.sector-panel { display:none; }
.sector-panel.active { display:block; }
.sector-detail-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:4rem; align-items:start; }
.sector-badge { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; padding:.35rem .9rem; border-radius:999px; margin-bottom:1.25rem; }
.sector-badge--blue { background:var(--blue-light); color:var(--blue); }
.sector-badge--green { background:var(--green-light); color:var(--green); }
.sector-badge--rose { background:#fde8e8; color:#c0392b; }
.sector-detail-content h2 { font-size:clamp(1.7rem,3vw,2.4rem); font-weight:700; line-height:1.2; color:var(--navy); margin-bottom:1.5rem; }
.sector-detail-content h2 em { font-style:normal; color:var(--blue); }
.sector-detail-content p { color:var(--text-muted); margin-bottom:1.2rem; line-height:1.8; }
.sector-detail-content h4 { font-size:.78rem; font-weight:700; margin:2rem 0 1rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-muted); }
.sector-list { display:flex; flex-direction:column; gap:.6rem; }
.sector-list li { font-size:.95rem; color:var(--text-muted); padding-left:1.25rem; position:relative; }
.sector-list li::before { content:'—'; position:absolute; left:0; color:var(--blue); font-size:.85rem; }
.sector-aside-card { background:var(--off-white); padding:2rem; border-radius:var(--radius-lg); border:1px solid var(--border); }
.sector-aside-card h5 { font-size:.7rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--blue); margin-bottom:1.5rem; }
.framework-item { padding:.85rem 0; border-bottom:1px solid var(--border); }
.framework-item:last-child { border-bottom:none; }
.framework-item strong { display:block; font-size:.77rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); margin-bottom:.3rem; }
.framework-item span { font-size:.9rem; color:var(--text); }

/* ── CONTACT PAGE ── */
.contact-section { background:var(--white); }
.contact-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:5rem; align-items:start; }
.contact-form-wrap h3 { font-size:1.9rem; font-weight:700; color:var(--navy); margin-bottom:.5rem; }
.form-subtitle { color:var(--text-muted); font-size:.95rem; margin-bottom:2rem; }
.contact-form { display:flex; flex-direction:column; gap:1.25rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; }
.form-group { display:flex; flex-direction:column; gap:.4rem; }
.form-group label { font-size:.77rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { padding:.85rem 1rem; border:1.5px solid var(--border); border-radius:var(--radius); background:var(--off-white); font-family:var(--font-body); font-size:.95rem; color:var(--text); transition:border-color var(--transition), background var(--transition); outline:none; appearance:none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--blue); background:var(--white); }
.form-group textarea { resize:vertical; min-height:130px; }
.form-success,.form-error { display:none; padding:1rem 1.25rem; border-radius:var(--radius); font-size:.9rem; font-weight:600; }
.form-success { background:var(--green-light); color:var(--green); border:1px solid rgba(90,138,0,.2); }
.form-error { background:#fde8e8; color:#c0392b; border:1px solid #f0c0c0; }
.form-success.show,.form-error.show { display:block; }
.contact-info-wrap { display:flex; flex-direction:column; gap:2rem; }
.contact-info-block h3 { font-size:1.75rem; font-weight:700; color:var(--navy); margin-bottom:1.5rem; }
.info-items { display:flex; flex-direction:column; gap:1.5rem; }
.info-item { display:flex; gap:1rem; align-items:flex-start; }
.info-icon { width:36px; height:36px; background:var(--blue-light); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--blue); }
.info-icon svg { width:18px; height:18px; }
.info-item strong { display:block; font-size:.77rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-muted); margin-bottom:.25rem; font-weight:700; }
.info-item p,.info-item a { font-size:.95rem; color:var(--text); line-height:1.6; }
.info-item a:hover { color:var(--blue); }
.response-card { background:var(--off-white); padding:2rem; border-radius:var(--radius-lg); border:1px solid var(--border); }
.response-card h5 { font-size:.7rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--blue); margin-bottom:1.5rem; }
.next-steps { display:flex; flex-direction:column; gap:1.25rem; }
.next-step { display:flex; gap:1rem; align-items:flex-start; }
.next-num { width:28px; height:28px; background:var(--navy); color:var(--white); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:700; flex-shrink:0; }
.next-step p { font-size:.88rem; color:var(--text-muted); line-height:1.6; }

/* FAQ */
.faq-section { background:var(--off-white); }
.faq-list { max-width:800px; margin:0 auto; display:flex; flex-direction:column; gap:0; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-question { width:100%; text-align:left; padding:1.5rem 0; font-size:1rem; font-weight:600; color:var(--text); display:flex; justify-content:space-between; align-items:center; gap:1rem; transition:color var(--transition); }
.faq-question::after { content:'+'; font-size:1.4rem; font-weight:300; color:var(--blue); flex-shrink:0; transition:transform var(--transition); }
.faq-question.open::after { transform:rotate(45deg); }
.faq-question:hover { color:var(--blue); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .4s ease,padding .3s ease; }
.faq-answer.open { max-height:300px; padding-bottom:1.5rem; }
.faq-answer p { font-size:.95rem; color:var(--text-muted); line-height:1.8; }

/* RESPONSIVE */
@media (max-width:1024px) {
  .sectors-grid{grid-template-columns:repeat(2,1fr)} .team-grid{grid-template-columns:repeat(2,1fr)}
  .affil-grid{grid-template-columns:repeat(2,1fr)} .footer-grid{grid-template-columns:1fr 1fr}
  .intro-grid{grid-template-columns:1fr;gap:2.5rem} .why-grid{grid-template-columns:1fr;gap:3rem}
  .story-grid{grid-template-columns:1fr;gap:3rem} .contact-grid{grid-template-columns:1fr;gap:3rem}
  .sector-detail-grid{grid-template-columns:1fr;gap:2.5rem} .mv-grid{grid-template-columns:1fr}
  .process-steps{flex-direction:column}
  .process-connector{width:2px;height:28px;align-self:center;margin:0;background:linear-gradient(to bottom,var(--navy),var(--blue))}
}
@media (max-width:768px) {
  .nav-links{display:none} .hamburger{display:flex} .section{padding:3.5rem 0}
  .hero{min-height:auto;padding-top:7rem} .hero::after{height:55px} .hero-badges{gap:1.5rem;margin-top:3rem}
  .sectors-grid{grid-template-columns:1fr} .team-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr;gap:2rem} .scroll-hint{display:none}
  .form-row{grid-template-columns:1fr} .sector-tabs{overflow-x:auto}
  .sector-tab{white-space:nowrap} .footer-bottom{flex-direction:column;gap:.5rem}
}
@media (max-width:480px) {
  .container{padding:0 1.25rem} .team-grid{grid-template-columns:1fr} .affil-grid{grid-template-columns:1fr}
  .hero-actions{flex-direction:column;align-items:flex-start} .hero-badges{flex-direction:column;gap:1.25rem}
  .service-item{grid-template-columns:1fr;gap:.5rem} .service-number{font-size:1.5rem}
}

/* ── CLIENTS SECTION ── */
.clients-section { background: var(--white); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.client-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.client-card:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.client-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.client-card span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
@media (max-width: 1024px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .clients-grid { grid-template-columns: 1fr 1fr; } }

/* CEO card span fix */
.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-card[style*="grid-column: span 2"] { grid-column: span 2; }
@media (max-width: 1024px) {
  .team-card[style*="grid-column: span 2"] { grid-column: span 2; flex-direction: column; }
}
@media (max-width: 768px) {
  .team-card[style*="grid-column: span 2"] { grid-column: span 1; flex-direction: column; }
}

/* ── WHY PARTNER SECTION ── */
.why-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.wp-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.wp-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(126,200,255,0.35);
  transform: translateY(-4px);
}
.wp-icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; }
.wp-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.65rem; }
.wp-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

@media (max-width: 1024px) { .why-partner-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .why-partner-grid { grid-template-columns: 1fr; } }

/* ── CONTACT HERO DETAILS ── */
.contact-hero-details {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.contact-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition), border-color var(--transition);
  text-decoration: none;
}
.contact-hero-link:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
.contact-hero-icon { font-size: 1rem; }

/* ── ABOUT STORY SECTION FIX ── */
.story-content p { color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.8; }

/* ── SOCIAL ICONS ── */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.social-icon:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}
.social-icon[aria-label="WhatsApp"]:hover { background: #25d366; border-color: #25d366; }
.social-icon[aria-label="Facebook"]:hover  { background: #1877f2; border-color: #1877f2; }
.social-icon[aria-label="LinkedIn"]:hover  { background: #0a66c2; border-color: #0a66c2; }
.social-icon[aria-label="Email"]:hover     { background: var(--green); border-color: var(--green); }
.social-icon svg { width: 16px; height: 16px; display: block; }

/* ── LIFE SCIENCES SECTION ── */
.sector-badge--teal { background: #e0f5f5; color: #006b6b; }

.lifesci-section { background: var(--white); }

.lifesci-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Content side */
.lifesci-content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.lifesci-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.5rem;
}

.lifesci-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}

.lifesci-list li svg {
  color: #006b6b;
  flex-shrink: 0;
}

.lifesci-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Visual side */
.lifesci-visual { display: flex; flex-direction: column; gap: 1.25rem; }

.lifesci-badge-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lifesci-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.lifesci-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.lifesci-badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #e0f5f5, #c2eeee);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #006b6b;
  flex-shrink: 0;
}

.lifesci-badge strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.lifesci-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Highlight card */
.lifesci-highlight-card {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  color: var(--white);
}

.lifesci-highlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lifesci-highlight-stat {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lifesci-highlight-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.lifesci-authority-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.lifesci-authority-row span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
}

/* Responsive */
@media (max-width: 900px) {
  .lifesci-grid { grid-template-columns: 1fr; gap: 3rem; }
  .lifesci-list { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .lifesci-badge-row { grid-template-columns: 1fr; }
}

/* ============================================
   ENHANCED ANIMATIONS & IMAGE STYLES
   ============================================ */

/* ── KEYFRAMES ── */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(90,138,0,0.35); }
  70%  { box-shadow: 0 0 0 14px rgba(90,138,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(90,138,0,0); }
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(30px,-20px) scale(1.08); }
  66%       { transform: translate(-20px,15px) scale(0.95); }
}

/* ── HERO FLOATING ORBS ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: orbDrift 18s ease-in-out infinite;
}
.hero-orb--1 {
  width: 320px; height: 320px;
  top: -80px; right: 15%;
  background: radial-gradient(circle, rgba(126,200,255,0.08) 0%, transparent 70%);
  animation-delay: 0s;
}
.hero-orb--2 {
  width: 200px; height: 200px;
  bottom: 15%; left: 8%;
  background: radial-gradient(circle, rgba(90,138,0,0.1) 0%, transparent 70%);
  animation-delay: -7s;
  animation-duration: 14s;
}

/* ── HERO CARD FLOAT ANIMATIONS ── */
.float-card          { animation: floatY  6s ease-in-out infinite; }
.float-card--delay1  { animation: floatY2 7s ease-in-out infinite; animation-delay: -1.5s; }
.float-card--delay2  { animation: floatY  6.5s ease-in-out infinite; animation-delay: -3s; }
.float-card--delay3  { animation: floatY2 7.5s ease-in-out infinite; animation-delay: -4.5s; }

/* ── SCROLL-REVEAL VARIANTS ── */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-fade.visible { opacity: 1; transform: translateY(0); }

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-slide-left.visible { opacity: 1; transform: translateX(0); }

.reveal-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-slide-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.3s !important; }
.delay-3 { transition-delay: 0.45s !important; }

/* ── INTRO IMAGE ── */
.intro-grid--with-image {
  grid-template-columns: 1.1fr 1fr !important;
  align-items: center;
}
.intro-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.intro-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  transition: transform 0.6s ease;
}
.intro-image-wrap:hover .intro-img { transform: scale(1.02); }
.intro-img-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  animation: pulse-ring 3s infinite;
}
.intro-img-badge strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.intro-img-badge span { font-size: 0.75rem; color: var(--text-muted); }

/* ── LIFE SCIENCES IMAGE ── */
.lifesci-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.lifesci-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  transition: transform 0.6s ease;
}
.lifesci-img-wrap:hover .lifesci-img { transform: scale(1.04); }
.lifesci-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(7,29,74,0.85) 0%, transparent 100%);
}
.lifesci-img-overlay .lifesci-authority-row { margin-bottom: 0; }
.lifesci-img-overlay .lifesci-authority-row span {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
}

/* ── WHY IMAGE ── */
.why-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.why-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.why-img-wrap:hover .why-img { transform: scale(1.04); }

/* ── CTA IMAGE OVERLAY ── */
.cta-img-bg {
  position: absolute; inset: 0;
  background-image: url('images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0;
}

/* ── WHY-LIST ANIMATION ── */
.why-list li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.why-list li.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── PROCESS STEP HOVER HIGHLIGHT ── */
.process-step {
  cursor: default;
}
.process-step .step-num {
  transition: -webkit-text-stroke-color var(--transition), color var(--transition);
}
.process-step:hover .step-num {
  -webkit-text-stroke-color: var(--blue);
  color: var(--blue-light);
}

/* ── SECTOR CARD ICON PULSE ── */
.sector-card:hover .sector-icon {
  animation: pulse-ring 1.5s ease-out 1;
}

/* ── RESPONSIVE for new image layouts ── */
@media (max-width: 1024px) {
  .intro-grid--with-image { grid-template-columns: 1fr !important; }
  .intro-img { height: 320px; }
  .intro-img-badge { left: 10px; bottom: -14px; }
}
@media (max-width: 768px) {
  .intro-img { height: 260px; }
  .why-img  { height: 200px; }
  .lifesci-img { height: 220px; }
  .float-card { animation: none; }
}

/* ============================================
   LOGO IMAGE REPLACEMENT
   ============================================ */
.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15));
  display: block;
}
.logo-img--footer {
  width: 50px;
  height: 50px;
  filter: brightness(1.1) drop-shadow(0 1px 4px rgba(0,0,0,0.3));
  display: block;
}
/* Keep logo-mark styles but hide the span since we use img now */
.logo .logo-mark { display: none !important; }
.logo-mark { display: none !important; }

/* ============================================
   PAGE HERO: PHOTO BACKGROUNDS
   ============================================ */
.page-hero--img {
  position: relative;
  overflow: hidden;
}
.page-hero-imgbg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.page-hero--img:hover .page-hero-imgbg { transform: scale(1); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,29,74,0.92) 0%,
    rgba(11,45,110,0.85) 50%,
    rgba(7,29,74,0.75) 100%
  );
  z-index: 1;
}

/* ============================================
   HERO PHOTO STRIP (index.html)
   ============================================ */
.hero-photo-strip {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 0 0 3.5rem;
  position: relative;
  z-index: 4;
  flex-wrap: wrap;
}
.hero-photo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: fadeInUp 0.8s ease both;
}
.hero-photo-item:nth-child(1) { animation-delay: 0.6s; }
.hero-photo-item:nth-child(2) { animation-delay: 0.75s; }
.hero-photo-item:nth-child(3) { animation-delay: 0.9s; }
.hero-photo-item:nth-child(4) { animation-delay: 1.05s; }
.hero-photo-frame {
  width: 200px; height: 130px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform var(--transition), border-color var(--transition);
}
.hero-photo-frame:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: rgba(126,200,255,0.5);
}
.hero-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hero-photo-frame:hover img { transform: scale(1.08); }
.hero-photo-item span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ============================================
   ABOUT PAGE ENHANCEMENTS
   ============================================ */
.story-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.story-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}
.story-img-stats {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-top: 1.25rem;
  display: flex;
  gap: 0;
  justify-content: space-around;
}
.story-img-stats .story-stat {
  text-align: center;
  flex: 1;
  padding: 0 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.story-img-stats .story-stat:last-child { border-right: none; }
.story-img-stats .big-num { font-size: 2.4rem; }
.story-img-stats .story-stat span:not(.big-num) { font-size: 0.78rem; }

/* About photo band */
.about-photo-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 260px;
  overflow: hidden;
}
.apb-item {
  position: relative;
  overflow: hidden;
}
.apb-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.apb-item:hover img { transform: scale(1.06); }
.apb-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(7,29,74,0.85) 0%, transparent 100%);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   SERVICES PAGE ENHANCEMENTS
   ============================================ */
.svc-visual-intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  height: 300px;
  overflow: hidden;
}
.svc-vi-img { position: relative; overflow: hidden; }
.svc-vi-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.svc-vi-img:hover img { transform: scale(1.05); }

.svc-mid-panel {
  position: relative;
  height: 320px;
  overflow: hidden;
  margin: 0;
}
.svc-mid-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}
.svc-mid-panel:hover .svc-mid-img { transform: scale(1.04); }
.svc-mid-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,29,74,0.88) 0%, rgba(11,45,110,0.65) 60%, rgba(7,29,74,0.3) 100%);
  display: flex;
  align-items: center;
}
.svc-mid-content {
  max-width: 500px;
  padding: 0 5rem;
}
.svc-mid-content h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin: 0.75rem 0 1.5rem;
  line-height: 1.3;
}

/* ============================================
   SECTORS PAGE ENHANCEMENTS
   ============================================ */
/* Hero quick nav cards */
.sector-hero-cards {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.shc-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.35rem 1rem 0.35rem 0.35rem;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
  cursor: default;
}
.shc-card:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(126,200,255,0.5);
}
.shc-card img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.shc-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

/* Panel hero images */
.sector-panel-hero {
  position: relative;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.sector-panel-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}
.sector-panel-hero:hover .sector-panel-img { transform: scale(1.04); }
.sector-panel-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(7,29,74,0.75) 0%, rgba(7,29,74,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 2rem;
}
.sector-panel-img-overlay .sector-badge { margin-bottom: 0.4rem; }
.sector-panel-img-overlay p {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin: 0;
  letter-spacing: 0.05em;
}

/* ============================================
   CONTACT PAGE ENHANCEMENTS
   ============================================ */
.nairobi-banner {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.nairobi-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}
.nairobi-banner:hover .nairobi-img { transform: scale(1.03); }
.nairobi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(7,29,74,0.8) 0%, rgba(7,29,74,0.4) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 4rem;
}
.nairobi-pin {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.nairobi-pin strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.nairobi-pin span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.contact-logo-card {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.contact-logo-watermark {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.1);
}
.contact-logo-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 1024px) {
  .hero-photo-frame { width: 170px; height: 110px; }
  .about-photo-band { grid-template-columns: 1fr 1fr; }
  .about-photo-band .apb-item:last-child { display: none; }
  .svc-visual-intro { grid-template-columns: 1fr 1fr; height: 240px; }
  .svc-visual-intro .svc-vi-img:last-child { display: none; }
  .sector-hero-cards { gap: 0.5rem; }
}
@media (max-width: 768px) {
  .hero-photo-strip { gap: 0.75rem; padding-bottom: 2.5rem; }
  .hero-photo-frame { width: 140px; height: 90px; }
  .hero-photo-item:nth-child(4) { display: none; }
  .about-photo-band { height: 180px; }
  .svc-visual-intro { height: 200px; }
  .sector-panel-hero { height: 160px; }
  .nairobi-banner { height: 200px; }
  .nairobi-overlay { padding: 0 1.5rem; }
  .svc-mid-content { padding: 0 2rem; }
  .story-img { height: 280px; }
  .sector-hero-cards .shc-card span { font-size: 0.72rem; }
}
@media (max-width: 480px) {
  .hero-photo-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-photo-item:nth-child(4) { display: flex; }
  .hero-photo-frame { width: 100%; height: 100px; }
  .about-photo-band { grid-template-columns: 1fr; height: 200px; }
  .about-photo-band .apb-item:not(:first-child) { display: none; }
  .svc-visual-intro { grid-template-columns: 1fr; height: 200px; }
  .svc-visual-intro .svc-vi-img:not(:first-child) { display: none; }
  .sector-hero-cards { display: none; }
}

/* ============================================
   SECTORS PAGE — ALTERNATING LAYOUT
   ============================================ */

/* Section wrapper — alternating white / light-grey */
.sector-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.sector-section--alt {
  background: var(--bg-light, #f8fafc);
}

/* Scroll-to offset so sticky nav doesn't cover anchor */
.sector-section::before {
  content: '';
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
  pointer-events: none;
}

/* Two-column flex row */
.sector-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.sector-row--reverse {
  direction: rtl; /* flips columns */
}
.sector-row--reverse > * {
  direction: ltr; /* reset text inside */
}

/* ── IMAGE COLUMN ── */
.sector-img-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sector-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(7,29,74,0.18);
}

.sector-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.sector-img-wrap:hover .sector-main-img {
  transform: scale(1.04);
}

/* Badge overlay top-left */
.sector-img-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.sector-img-badge--blue  { background: rgba(11,45,110,0.78); }
.sector-img-badge--green { background: rgba(60,100,0,0.78); }
.sector-img-badge--rose  { background: rgba(160,30,90,0.78); }

/* Stat chip bottom-right */
.sector-img-stat {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 0.65rem 1rem;
  text-align: right;
  box-shadow: 0 4px 18px rgba(0,0,0,0.14);
  line-height: 1.2;
}
.sis-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}
.sis-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Two small images side by side */
.sector-img-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.sim-img {
  border-radius: 14px;
  overflow: hidden;
  height: 130px;
}
.sim-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.sim-img:hover img { transform: scale(1.07); }

/* ── CONTENT COLUMN ── */
.sector-content-col {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sector-content-col .section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.25;
}
.sector-content-col p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  font-size: 0.97rem;
}

/* 2-col service checklist */
.sector-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}
.ssv-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.ssv-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

/* Framework pill row */
.sector-framework-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sfr-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 100px;
}
.sfr-item strong {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sfr-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

/* Hero anchor cards — make them clickable links */
.sector-hero-cards a.shc-card {
  text-decoration: none;
}
.sector-hero-cards a.shc-card:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(126,200,255,0.6);
  transform: translateY(-2px);
  transition: all 0.25s ease;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .sector-row {
    gap: 3rem;
  }
  .sector-main-img { height: 300px; }
  .sim-img { height: 110px; }
}
@media (max-width: 768px) {
  .sector-section { padding: 4rem 0; }
  .sector-row,
  .sector-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
    padding: 0 1.25rem;
  }
  .sector-services-grid { grid-template-columns: 1fr; }
  .sector-main-img { height: 260px; }
  .sector-framework-row { gap: 0.5rem; }
  .sfr-item { min-width: 80px; }
}
@media (max-width: 480px) {
  .sector-main-img { height: 220px; }
  .sim-img { height: 90px; }
  .sector-services-grid { gap: 0.45rem; }
}

/* ============================================
   MISSING CLASSES — FIXES & ADDITIONS
   ============================================ */

/* hero-bg container used in page heroes (about/services/sectors/contact) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Page-hero orb positioning (orb1 / orb2 alias classes) */
.hero-orb.orb1 {
  width: 340px; height: 340px;
  top: -100px; right: 10%;
  background: radial-gradient(circle, rgba(126,200,255,0.1) 0%, transparent 70%);
  animation: orbDrift 18s ease-in-out infinite;
  animation-delay: 0s;
}
.hero-orb.orb2 {
  width: 220px; height: 220px;
  bottom: 5%; left: 5%;
  background: radial-gradient(circle, rgba(90,138,0,0.12) 0%, transparent 70%);
  animation: orbDrift 14s ease-in-out infinite;
  animation-delay: -5s;
}

/* intro-section layout columns (index.html Who We Are) */
.intro-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.intro-left p { color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.8; }
.intro-image-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* why-section columns (index.html Why Marsland) */
.why-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.why-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* story-visual column (about.html) */
.story-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* why-partner-section (services.html dark section) */
.why-partner-section {
  position: relative;
}

/* ============================================
   END OF STYLESHEET
   ============================================ */
