@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:wght@700;800&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --blue:        #0b4a7a;
  --blue-dark:   #07325a;
  --blue-mid:    #1560a0;
  --green:       #0f7b2a;
  --green-dark:  #0a5a1e;
  --green-light: #e6f4ea;
  --blue-light:  #e8f1f9;
  --bg:          #f5f7fa;
  --bg-alt:      #eef1f6;
  --surface:     #ffffff;
  --text:        #0d1726;
  --text-2:      #1d2227;
  --muted:       #6b7a8d;
  --border:      #dde3ec;
  --border-2:    #c8d2e0;
  --shadow-xs:   0 1px 3px rgba(10,20,40,.07);
  --shadow-sm:   0 4px 12px rgba(10,20,40,.08);
  --shadow-md:   0 8px 28px rgba(10,20,40,.11);
  --shadow-lg:   0 20px 56px rgba(10,20,40,.14);
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --container:   1100px;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
main { overflow-x: hidden; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Topbar ──────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid var(--border);
}
.brand-title strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -.2px;
}
.brand-title span { font-size: 12px; color: #052543;; }
.nav-right { display: flex; align-items: center; gap: 8px; }

nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav a, nav summary {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: background .15s, color .15s;
  border: 1px solid transparent;
}
nav a:hover, nav summary:hover {
  background: var(--blue-light);
  color: var(--blue);
}
nav a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; gap: 4px; user-select: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-caret {
  width: 22px; height: 22px;
  border: none; background: none;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: inherit; padding: 0;
}
.nav-caret::after {
  content: "▾";
  font-size: 22px;
  opacity: .90;
  line-height: 1;
}
.nav-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 200;
}
.nav-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: background .15s, color .15s;
}
.nav-menu a:hover { background: var(--blue-light); color: var(--blue); }

.mobile-nav-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 9px;
  border: 1.5px solid var(--border-2);
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  padding: 0;
}
.mobile-nav-btn::before,
.mobile-nav-btn::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
}
/* middle bar via SVG background so no extra HTML needed */
.mobile-nav-btn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14' viewBox='0 0 18 14'%3E%3Crect y='0' width='18' height='2' rx='1' fill='%2307325a'/%3E%3Crect y='6' width='18' height='2' rx='1' fill='%2307325a'/%3E%3Crect y='12' width='18' height='2' rx='1' fill='%2307325a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 14px;
}
.mobile-nav-btn::before,
.mobile-nav-btn::after { display: none; }

.mobile-panel {
  position: fixed;
  inset: 74px 12px auto 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  z-index: 150;
}
.mobile-panel ul { display: grid; gap: 4px; }
.mobile-panel > ul > li > a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  border: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.mobile-panel > ul > li > a:hover { background: var(--blue-light); color: var(--blue); }
/* Mobile services accordion */
.mobile-panel details {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.mobile-panel details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .15s;
  gap: 8px;
}
.mobile-panel details summary::-webkit-details-marker { display: none; }
.mobile-panel details summary:hover { background: var(--blue-light); color: var(--blue); }
.mobile-panel details summary::after {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233a4a5c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: transform .2s;
}
.mobile-panel details[open] summary::after {
  transform: rotate(180deg);
}
.mobile-panel details[open] summary {
  background: var(--blue-light);
  color: var(--blue);
  border-bottom: 1px solid var(--border);
}
.mobile-panel .sub {
  display: grid;
  gap: 2px;
  padding: 6px 8px;
  background: var(--bg);
}
.mobile-panel .sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: background .15s, color .15s;
}
.mobile-panel .sub a:hover { background: var(--blue-light); color: var(--blue); }
body.mobile-nav-open { overflow: hidden; }
.nav-meta { display: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 48px 0 32px; }

.hero-card {
  background: var(--blue-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
/* Geometric background pattern */
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 600px at 75% 50%, rgba(15,123,42,.25) 0%, transparent 65%),
    radial-gradient(circle 400px at 20% -20%, rgba(255,255,255,.06) 0%, transparent 60%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.015) 40px,
      rgba(255,255,255,.015) 41px
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 56px 48px 52px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.hero-art { display: none; } /* replaced by grid layout */

.hero-left { display: flex; flex-direction: column; gap: 20px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .5px;
  text-transform: uppercase;
  width: fit-content;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.5px;
  margin: 0;
}
.hero h1 em {
  font-style: normal;
  color: #6ee7a0;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #fff;
  color: var(--blue-dark);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.20);
  cursor: pointer;
  transition: background .18s;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* Hero image panel */
.hero-image-panel {
  display: flex;
  align-items: stretch;
}
.hero-image-placeholder {
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  display: block;
}

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero { padding: 36px 0 0; }
.page-hero .hero-card {
  border-radius: var(--radius-xl);
}
.page-hero .hero-inner {
  display: block;
  padding: 44px 48px 40px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  color: #fff;
  margin: 0 0 14px;
}
.page-hero p {
  color: #fff;
  font-size: 15.5px;
  max-width: 60ch;
  line-height: 1.68;
  margin: 0 0 10px;
}
.page-hero .hero-eyebrow { margin-bottom: 18px; }

/* ── Section band ────────────────────────────────────────── */
.band { padding: 40px 0 48px; }
.band.soft {
  background: var(--bg);
}

/* ── Section header ──────────────────────────────────────── */
.section-header {
  margin-bottom: 28px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--green);
  margin-bottom: 8px;
}
.section-label::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--green);
  border-radius: 2px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--blue-dark);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-2);
  margin-top: 8px;
  max-width: 58ch;
  line-height: 1.65;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card.slim { padding: 20px 22px; }

/* ── Panel ───────────────────────────────────────────────── */
.panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ── Grids ───────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.block-stack { display: grid; gap: 20px; }
.block-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ── Service item card ───────────────────────────────────── */
.service-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative;
  overflow: hidden;
}
.service-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity .2s;
}
.service-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-2);
}
.service-item:hover::before { opacity: 1; }

/* Service icon */
.service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.service-icon.blue  { background: var(--blue-light); color: var(--blue); }
.service-icon.green { background: var(--green-light); color: var(--green); }

.service-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 8px;
  line-height: 1.3;
}
.service-item p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 0 12px;
}

/* ── Typography ──────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--blue-dark);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-dark);
  margin: 0 0 14px;
}
h3 {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--blue-dark);
  margin: 0 0 10px;
}
p {
  font-size: 15px;
  line-height: 1.7;
  color: black;
  margin: 0 0 12px;
}
p:last-child { margin-bottom: 0; }

/* Card heading accent */
.card h2, .card h3 {
  padding-left: 12px;
  border-left: 3px solid var(--blue);
  margin-bottom: 12px;
}

/* ── Lists ───────────────────────────────────────────────── */
ul.list-dot {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 7px;
}
ul.list-dot li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #151515;
  line-height: 1.55;
}
ul.list-dot li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 7px;
}

ul.list-check {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
ul.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.6;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
ul.list-check li::before {
  content: "";
  width: 18px; height: 18px;
  background: url("../assets/check.png") no-repeat center/contain;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Feature card (Why SG Consultants) ──────────────────── */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}
.feature-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}
.feature-grid-2x2 .feature-card {
  width: 100%;
  max-width: 100%;
}
.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color .2s, box-shadow .2s;
  flex: 1 1 calc(33.333% - 9.33px);
  min-width: 260px;
  max-width: 360px;
}
.feature-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11,74,122,.07);
}
.feature-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-card p {
  font-size: 13.5px;
  margin: 0;
  color: var(--text-2);
  line-height: 1.55;
  font-weight: 500;
}

/* ── Sector card ─────────────────────────────────────────── */
.sector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sector-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.sector-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sector-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sector-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0;
}

.sector-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.sector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.sector-row .sector-card {
  flex: 1 1 320px;
  max-width: 320px;
}

/* ── CTA strip ───────────────────────────────────────────── */
.cta-strip {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  width: 100%;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 400px at 80% 50%, rgba(15,123,42,.3), transparent);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip-text h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  margin: 0 0 6px;
  font-weight: 700;
}

.cta-strip-text p {
  color: rgba(255, 255, 255, 0.882);
  font-size: 14px;
  margin: 0;
}

/* ── Old .cta link (kept for HTML compat) ────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  transition: background .18s, transform .18s;
  text-decoration: none;
}
.cta:hover { background: var(--blue-mid); transform: translateY(-1px); }

/* ── Info card for contact ───────────────────────────────── */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-icon {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-item p { font-size: 14px; margin: 0; }
.info-item strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #07325a; font-weight: 700; margin-bottom: 3px; }

/* ── Career panel ────────────────────────────────────────── */
.career-benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s, box-shadow .2s;
}
.career-benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.career-benefit-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.career-benefit h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0;
}
.career-benefit p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

/* ── Founder Section Layout (photo left, text right) ──────── */
.founder-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}
.founder-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-top: 4px;
}
.founder-photo-wrapper {
  position: sticky;
  top: 90px;
}
.founder-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  border: 3px solid var(--border);
  box-shadow: var(--shadow-md);
  display: block;
}
.founder-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.founder-info h3 {
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 700;
  color: var(--blue-dark) !important;
  margin: 0 0 4px 0 !important;
}
.founder-info > div:first-child p {
  color: var(--muted) !important;
  font-size: 13.5px !important;
  margin: 0 0 12px 0 !important;
}
.founder-info p {
  color: var(--text-2) !important;
  font-size: 14.5px !important;
  line-height: 1.72 !important;
  margin: 0 0 12px 0 !important;
}
@media (max-width: 820px) {
  .founder-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .founder-photo-wrapper {
    position: static;
  }
  .founder-photo {
    width: 100%;
    height: 340px;
    object-position: top center;
  }
}

/* ── Timeline / experience ───────────────────────────────── */
.experience-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.experience-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}
.experience-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.experience-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* ── Stats row ───────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.stat-box-number {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-box-number span { color: var(--green); }
.stat-box-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-top: 5px;
}

/* ── Stats row dark variant (matches CTA strip) ──────────── */
.stats-row--dark {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  gap: 0;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}
.stats-row--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 500px at 80% 50%, rgba(15,123,42,.28), transparent);
  pointer-events: none;
}
.stats-row--dark .stat-box {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  padding: 16px 24px;
  box-shadow: none;
  position: relative;
}
.stats-row--dark .stat-box:last-child {
  border-right: none;
}
.stats-row--dark .stat-box-number {
  color: #fff;
  font-size: 34px;
}
.stats-row--dark .stat-box-number span {
  color: #6ee7a0;
}
.stats-row--dark .stat-box-label {
  color: #dde3ec;
  margin-top: 6px;
}

/* ── Divider ─────────────────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

/* ── Select ──────────────────────────────────────────────── */
.services-jump { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
select {
  appearance: none;
  padding: 10px 38px 10px 13px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background:
    var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a2b44' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--blue-dark);
  padding: 52px 0 28px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 0% 0%,   rgba(11,74,122,.4), transparent 55%),
    radial-gradient(ellipse 600px 300px at 100% 100%, rgba(15,123,42,.25), transparent 50%);
  pointer-events: none;
}
.footer > .container { position: relative; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.footer-brand { display: flex; gap: 13px; align-items: flex-start; }
.footer-brand img {
  width: 46px; height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  object-fit: contain;
}
.footer-brand-name {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand-tagline {
  font-size: 12.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  max-width: 24ch;
  margin-top: 6px;
}
.footer h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.60);
  margin: 0 0 14px;
}
.footer ul { display: grid; gap: 8px; }
.footer li { font-size: 13.5px; color: #fff; }
.footer a { color: #fff; transition: color .15s; }
.footer a:hover { color: rgba(255,255,255,.75); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px;
  color: rgba(255,255,255,.70);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Form ────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--surface);
  color: var(--text);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11,74,122,.09);
}
textarea { min-height: 120px; resize: vertical; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 20px;
  border-radius: 8px; border: none;
  background: var(--blue); color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  cursor: pointer; text-decoration: none;
  transition: background .18s, transform .18s;
}
.btn:hover { background: var(--blue-mid); transform: translateY(-1px); }

/* ── Reveal animation ────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; margin-top: 28px;}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 32px 36px; }
  .hero-image-panel { display: none; }
  .stats-row  { grid-template-columns: repeat(2, 1fr); }
  .stats-row--dark .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,.10); }
  .stats-row--dark .stat-box:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.10); }
  .stats-row--dark .stat-box:last-child,
  .stats-row--dark .stat-box:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}
@media (max-width: 880px) {
  .grid-2        { grid-template-columns: 1fr; }
  .grid-3        { grid-template-columns: 1fr; }
  .block-row     { grid-template-columns: 1fr; }
  .split         { grid-template-columns: 1fr; }
  .service-grid  { grid-template-columns: 1fr; }
  .feature-grid  { flex-direction: column; }
  .feature-grid-2x2 { grid-template-columns: 1fr; }
  .feature-card  { flex: 1 1 100%; max-width: 100%; }
  .sector-layout { display: block; }
  .sector-row { display: block; }
  .sector-row .sector-card { max-width: none; width: 100%; margin-top: 15px; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .cta-strip     { flex-direction: column; align-items: flex-start; padding: 28px 28px; margin-top: 28px; }
}
@media (max-width: 900px) {
  .mobile-nav-btn { display: flex; }
  .nav-right nav  { display: none; }
  .brand img      { width: 42px; height: 42px; }
}
@media (max-width: 600px) {
  .hero-inner       { padding: 32px 20px 28px; }
  .page-hero .hero-inner { padding: 32px 24px 28px; }
  .stats-row        { grid-template-columns: 1fr 1fr; }
  .footer-inner     { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .form-grid        { grid-template-columns: 1fr; }
}

/* ===== CAROUSEL SECTION ===== */
.carousel-section {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 16 / 9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.carousel-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  transition: opacity 0.5s ease;
}

.carousel-image.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.carousel-prev,
.carousel-next {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: white;
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #07325a;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
  background: #1560a0;
  width: 28px;
  border-radius: 5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .carousel-section {
    padding: 12px;
  }

  .carousel-container {
    aspect-ratio: 16 / 10 !important;
    border-radius: 8px;
  }

  .carousel-image {
    object-fit: contain !important;
    object-position: center top;
  }

  .carousel-prev,
  .carousel-next {
    width: 34px;
    height: 34px;
  }

  .carousel-controls {
    padding: 0 10px;
  }

  .carousel-indicators {
    bottom: 10px;
    gap: 5px;
  }

  .carousel-indicator {
    width: 9px;
    height: 9px;
  }

  .carousel-indicator.active {
    width: 22px;
  }
}

@media (max-width: 480px) {
  .carousel-section {
    padding: 8px;
  }

  .carousel-container {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
  }

  .carousel-image {
    object-fit: contain !important;
    object-position: center top;
  }

  .carousel-prev,
  .carousel-next {
    width: 30px;
    height: 30px;
  }

  .carousel-controls {
    padding: 0 8px;
  }

  .carousel-indicators {
    bottom: 8px;
    gap: 4px;
  }

  .carousel-indicator {
    width: 8px;
    height: 8px;
  }

  .carousel-indicator.active {
    width: 18px;
  }
}

/* ── Carousel mobile fix — no cropping ───────────────────── */
/* @media (max-width: 600px) {
  .carousel-container {
    aspect-ratio: 16 / 10 !important;
    border-radius: 8px;
  }
  .carousel-image {
    object-fit: contain !important;
    background: #0d1726;
  }
} */
/* @media (max-width: 480px) {
  .carousel-container {
    aspect-ratio: 16 / 10 !important;
  }
  .carousel-image {
    object-fit: contain !important;
    background: #0d1726;
  }
} */

/* ── Service Images Desktop View (no cropping) ───────────── */
@media (min-width: 769px) {
  .service-item img {
    object-fit: contain !important;
    background-color: #fff;
  }
  .sector-card img {
    object-fit: contain !important;
    background-color: #fff;
  }
}