/* ===========================
   LIGHT CORPORATE BOXED THEME
   Modern + Bold + Investment-grade
   =========================== */

:root{
  /* Core (LIGHT) */
  --bg:#F3F6FB;               /* light canvas */
  --panel:#FFFFFF;            /* boxed sections */
  --card:#FFFFFF;             /* cards */
  --card2:#F7F9FC;            /* alternate cards */
  --text:#0B1F3B;             /* corporate navy text */
  --muted:#5C6B7A;            /* professional grey */
  --border:rgba(11,31,59,.12);

  /* Brand */
  --brand:#1F6F63;            /* Ndende green */
  --brand2:#19B29C;           /* teal accent */
  --accent:#B7BDC6;           /* silver */

  /* Layout */
  --max:1180px;
  --pad:22px;
  --radius:18px;
  --radius-sm:14px;

  /* Shadows (LIGHT) */
  --shadow: 0 18px 40px rgba(11,31,59,.12);
  --shadow-sm: 0 10px 22px rgba(11,31,59,.10);
  --shadow-xs: 0 6px 14px rgba(11,31,59,.08);

  /* Typography */
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(1000px 520px at 12% -8%, rgba(31,111,99,.18), rgba(31,111,99,0) 60%),
    radial-gradient(900px 520px at 95% 0%, rgba(25,178,156,.12), rgba(25,178,156,0) 60%),
    linear-gradient(180deg, #EEF3FA 0%, #F3F6FB 60%, #EEF3FA 100%);
  color:var(--text);
  line-height:1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.container{ max-width:var(--max); margin:0 auto; padding:0 var(--pad); }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

/* ===== Header ===== */
header{
  position: sticky;
  top:0;
  z-index:100;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--border);
}

.navbar{
  height: 82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing: .10em;
}

.brand-badge{
  width:38px; height:38px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 900;
  color:#fff;
  background: linear-gradient(135deg, #0B1F3B 0%, #12365E 100%);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(11,31,59,.16);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:8px;
  font-size: 14px;
  color: rgba(11,31,59,.92);
}

.nav-links a{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.nav-links a:hover{
  background: rgba(11,31,59,.05);
  border-color: rgba(11,31,59,.10);
}

.nav-links a.active{
  background: rgba(31,111,99,.12);
  border-color: rgba(31,111,99,.25);
}

.actions{ display:flex; align-items:center; gap:10px; }

.mobile-toggle{
  display:none;
  background: rgba(11,31,59,.04);
  color: var(--text);
  border: 1px solid rgba(11,31,59,.12);
  border-radius: 14px;
  padding:10px 12px;
  font-weight:900;
}

.mobile-menu{
  display:none;
  padding: 12px 0 18px;
  border-top: 1px solid var(--border);
}
.mobile-menu.show{ display:block; }
.mobile-menu a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  font-weight:900;
  margin: 6px 0;
  border: 1px solid rgba(11,31,59,.12);
  background: rgba(255,255,255,.70);
}
.mobile-menu a.active{
  border-color: rgba(31,111,99,.28);
  background: rgba(31,111,99,.10);
}
/* ===== Header Brand (Logo + Name) ===== */
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}

.brand-logo{
  height: 34px;        /* balanced corporate size */
  width: auto;
  object-fit: contain;
}

.brand-name{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0B1F3B;      /* corporate navy */
}

/* Desktop refinement */
@media (min-width: 980px){
  .brand-logo{ height: 38px; }
  .brand-name{ font-size: 19px; }
}

/* Mobile: keep it clean */
@media (max-width: 820px){
  .brand-name{
    font-size: 16px;
    letter-spacing: 0.10em;
  }
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 14px;
  cursor:pointer;
  border: 1px solid rgba(11,31,59,.16);
  background: rgba(255,255,255,.86);
  color: var(--text);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(11,31,59,.24);
}

.btn.primary{
  color:#fff;
  background: linear-gradient(135deg, #0B1F3B 0%, #12365E 100%);
  border-color: rgba(11,31,59,.25);
}
.btn.primary:hover{
  box-shadow: var(--shadow);
}

.btn.ghost{
  background: transparent;
  border: 1px solid rgba(11,31,59,.18);
}

/* ===== Hero ===== */
.hero{
  padding: 84px 0 52px;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(11,31,59,.80);
  font-weight: 900;
  margin-bottom: 12px;

  /* FIXED: no nested selector */
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,31,59,.12);
  background: rgba(255,255,255,.65);
}
.kicker::before{
  content:"";
  width:10px; height:10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  box-shadow: 0 0 0 6px rgba(31,111,99,.12);
}

h1{
  margin:0 0 14px;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #0B1F3B;
}

.lead{
  margin:0 0 20px;
  max-width: 80ch;
  color: var(--muted);
  font-size: 16px;
}

.cta-bar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 18px;
}

/* ===== Sections become boxed blocks ===== */
.section{
  padding: 0;
  border-top: none;
  margin: 22px 0;
}

.section .container{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow:hidden;
}

/* subtle corporate border glow */
.section .container::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 22px;
  padding:1px;
  background: linear-gradient(
    135deg,
    rgba(31,111,99,.22),
    rgba(255,255,255,0),
    rgba(11,31,59,.18)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
}

.section-title{
  font-size: 30px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 14px;
  color: #0B1F3B;
}
.section-title::before{
  content:"";
  position:absolute;
  left:0; top:50%;
  transform: translateY(-50%);
  width:6px; height:22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand2), var(--brand));
}

.section-sub{
  margin:0 0 18px;
  color: var(--muted);
  max-width: 90ch;
}

/* ===== Grid / Cards (bold boxes, light) ===== */
.grid{ display:grid; gap: 16px; }
.grid.cols2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.cols3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

.card{
  background: var(--card);
  border: 1px solid rgba(11,31,59,.12);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-xs);
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.card:hover{
  transform: translateY(-3px);
  border-color: rgba(31,111,99,.26);
  box-shadow: var(--shadow-sm);
}

.card.elevated{
  background: var(--card2);
}

.card h3{
  margin:0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #0B1F3B;
}
.card p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}
/* ===== Portfolio Logos ===== */
.logo-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom: 14px;
  min-height: 46px;
}

.logo-wrap img{
  max-height: 38px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}

/* Optional: soften very bright logos */
.logo-wrap img.soft{
  opacity: .92;
}

/* ===== Badges ===== */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 12px;
}
.badge{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,31,59,.12);
  background: rgba(11,31,59,.04);
  color: rgba(11,31,59,.88);
}
.badge.brand{
  border-color: rgba(31,111,99,.28);
  background: rgba(31,111,99,.12);
  color: rgba(11,31,59,.92);
}

/* Split */
.split{
  display:grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items:start;
}

.hr{ height:1px; background: rgba(11,31,59,.12); margin: 18px 0; }
.list{ margin:0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.small{ font-size: 13px; color: var(--muted); }

/* Notice */
.notice{
  background: linear-gradient(180deg, rgba(31,111,99,.10), rgba(11,31,59,.04));
  border: 1px solid rgba(31,111,99,.22);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-xs);
}

/* ===== Forms ===== */
.form{ display:grid; gap:12px; }
.field{ display:grid; gap:6px; }
label{ font-size: 13px; font-weight: 900; color: rgba(11,31,59,.90); }

input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,31,59,.14);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  outline:none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input::placeholder, textarea::placeholder{ color: rgba(11,31,59,.45); }
input:focus, textarea:focus, select:focus{
  border-color: rgba(31,111,99,.40);
  box-shadow: 0 0 0 4px rgba(31,111,99,.12);
}
textarea{ min-height: 120px; resize: vertical; }
.checkbox{ display:flex; gap:10px; align-items:flex-start; }
.checkbox input{ width:auto; margin-top:3px; }

/* Tables */
.table{
  width:100%;
  border-collapse: separate;
  border-spacing:0;
  border: 1px solid rgba(11,31,59,.12);
  border-radius: 18px;
  overflow:hidden;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.table th, .table td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(11,31,59,.10);
  text-align:left;
  color: rgba(11,31,59,.90);
}
.table th{
  background: rgba(11,31,59,.05);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.table tr:last-child td{ border-bottom:none; }

/* Page head */
.page-head{ padding: 44px 0 10px; }
.page-title{
  margin:0 0 8px;
  font-size: 40px;
  letter-spacing: -0.03em;
  color:#0B1F3B;
}
.page-desc{ margin:0; color: var(--muted); max-width: 92ch; }

/* Footer */
footer{
  margin-top: 28px;
  padding: 26px 0;
  border-top: 1px solid rgba(11,31,59,.10);
  background: rgba(255,255,255,.70);
}
.footer-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  color: rgba(11,31,59,.70);
  font-size: 13px;
}
.footer-links{ display:flex; flex-wrap:wrap; gap:14px; }
.footer-links a{
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.footer-links a:hover{
  border-color: rgba(11,31,59,.12);
  background: rgba(11,31,59,.05);
}

/* Responsive */
@media (max-width: 980px){
  .grid.cols3{ grid-template-columns:1fr; }
  .grid.cols2{ grid-template-columns:1fr; }
  .split{ grid-template-columns:1fr; }
  h1{ font-size: 42px; }
}
@media (max-width: 820px){
  .nav-links{ display:none; }
  .mobile-toggle{ display:inline-flex; }
}
