:root {
  --bg: #f6f4ef;
  --text: #0b1220;
  --muted: #556070;

  /* BSI-inspired */
  --accent: #0a2a6e; /* deep blue */
  --accent2: #576b91;
  --accent3: #e78b12; /* orange */

  --card: rgba(255, 255, 255, 0.72);
  --card2: rgba(255, 255, 255, 0.55);
  --line: rgba(11, 18, 32, 0.1);
  --shadow: 0 20px 20px rgba(11, 18, 32, 0.04);
  --radius: 22px;
  --radius2: 16px;

  --tap: 44px;
  --text2: black;
  --nav-gap: 110px; /* space for fixed nav */
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
}

/* HERO */
.hero {
  min-height: 10vh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* background image + soft overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 500px at 15% 15%,
      rgba(10, 42, 110, 0.16),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 70% 20%,
      rgba(231, 139, 18, 0.12),
      transparent 58%
    ),
    linear-gradient(
      90deg,
      rgba(246, 244, 239, 0.95) 0%,
      rgba(246, 244, 239, 0.78) 0%,
      rgba(246, 244, 239, 0.35) 30%,
      rgba(246, 244, 239, 0) 100%
    ),
    url("../images/hero.png") center/cover no-repeat;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.02);
}

.container {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  z-index: auto; /* ✅ important */
}

/* NAV */
header {
  padding-top: 104px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.nav-shell {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 44px));
  z-index: 999999;

  background: #ffffff; /* solid */
  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.14);
  box-shadow: 0 12px 35px rgba(11, 18, 32, 0.18);

  backdrop-filter: none !important; /* just in case */
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
  isolation: isolate;
}

.nav {
  position: relative; /* no longer fixed */
  z-index: 1;
  background: transparent; /* nav itself doesn't paint */
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
}

/* header {
  padding-top: 96px;
} */

@media (max-width: 520px) {
  .nav {
    top: 10px;
    padding: 12px 14px;
    border-radius: 16px;

    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0.88)
    );
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
  min-width: 140px;
}

.brand img {
  width: 200px;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 40px rgba(10, 42, 110, 0.18);
  position: relative;
  flex: 0 0 auto;
}
.mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  right: -4px;
  top: -4px;
  background: var(--accent3);
  box-shadow: 0 0 0 6px rgba(231, 139, 18, 0.16);
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}
nav a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  min-height: var(--tap);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-weight: 750;
  font-size: 14px;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  border: none;
  color: #1a1206;
  background: linear-gradient(135deg, var(--accent3), #ffd08a);
  box-shadow: 0 18px 45px rgba(231, 139, 18, 0.18);
}

/* Mobile menu (no JS) */
/* ===== Fixed navbar ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;

  /* REMOVE any margin/padding causing gaps */
  margin: 0;
  padding: 0;

  background: transparent; /* important */
}
.site-header::before,
.site-header::after,
.nav-shell::before,
.nav-shell::after,
.nav::before,
.nav::after {
  pointer-events: none;
}

/* Set your navbar height once */
:root {
  --nav-h: 72px; /* change to match your real nav height */
}

/* Make the nav area match --nav-h */
.nav-shell {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* IMPORTANT: push page content below fixed header */

/* ===== Desktop vs Mobile visibility ===== */
.desktop-nav {
  display: flex;
  gap: 18px;
}

.hamburger {
  display: none;
}

/* Mobile panel is hidden on desktop */
.mobile-panel {
  display: none;
}

/* ===== Mobile layout ===== */
@media (max-width: 900px) {
  .desktop-nav {
    display: none; /* hide desktop nav on mobile */
  }

  .hamburger {
    display: inline-flex; /* show hamburger on mobile */
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .hamburger span {
    position: absolute;
    width: 26px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  }
  .hamburger span:nth-child(1) {
    top: 14px;
  }
  .hamburger span:nth-child(2) {
    top: 21px;
  }
  .hamburger span:nth-child(3) {
    top: 28px;
  }

  /* turn into X */
  .hamburger.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

  /* ===== Fixed mobile panel under the fixed navbar ===== */
  .mobile-panel {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-h); /* sits under navbar */
    z-index: 10000;
    background: #fff;
    margin: 23px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    /* hidden state */
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mobile-panel.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-links {
    display: flex;
    flex-direction: column;
    padding: 14px 18px;
    gap: 10px;
  }

  .mobile-links a {
    padding: 10px 0;
    text-decoration: none;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
  }
}

/* CONTENT */
.content {
  padding: 60px 0 34px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 750;
  font-size: 13px;
  margin-top: 60px;
}
.kdot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent2);
  box-shadow: 0 0 0 6px rgba(87, 107, 145, 0.18);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 18ch;
  color: var(--accent);
}
.sub {
  margin: 0;
  color: rgba(12, 12, 12, 0.733);
  font-size: 16px;
  line-height: 1.75;
  max-width: 62ch;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(11, 18, 32, 0.08);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  backdrop-filter: blur(10px);
}
.chip b {
  color: var(--text);
  font-weight: 800;
}

/* STATS CARD */
.stats {
  margin-top: 22px;
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.stat {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.08);
  background: var(--card2);
}
.stat .t {
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.stat .v {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.stat .d {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* FOOT SCROLL HINT */
.scroll {
  padding: 18px 0 22px;
  display: flex;
  justify-content: center;
}
.scroll .hint {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  color: rgba(11, 18, 32, 0.8);
  font-weight: 800;
  font-size: 12px;
}

/* RESPONSIVE (tablet first: keep desktop feel, still clean) */
@media (max-width: 920px) {
  nav {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
  .content {
    padding: 46px 0 26px;
  }
  .stats {
    display: none;
  }
}

/* SMALL PHONES (beautiful, “app-like” layout) */
/* ===== APP-LIKE MOBILE HERO (LESS STACKED) ===== */
@media (max-width: 520px) {
  /* tighter layout */
  .container {
    width: min(1200px, calc(100% - 22px));
    margin-top: 80px;
  }
  header {
    padding-top: 12px;
  }
  .content {
    padding: 28px 0 20px;
    gap: 14px;
  }

  /* reduce long copy */
  .sub {
    font-size: 14px;
    line-height: 1.7;
    max-width: 36ch;
    opacity: 0.9;
    margin-top: 4px;
    margin-bottom: 10px;
  }

  .brand img {
    width: 150px;
  }

  /* app-like title size */
  h1 {
    font-size: clamp(30px, 9vw, 42px);
    margin-top: 4px;
    margin-bottom: 6px;
    line-height: 1.02;
    max-width: 14ch;
  }

  /* kicker spacing */
  .kicker {
    margin-bottom: 4px;
    font-size: 12px;
    opacity: 0.9;
  }

  /* Only ONE CTA visible (feels like an app) */
  .actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 12px;
  }
  .actions .btn {
    width: 100%;
    border-radius: 18px;
    padding: 13px 14px;
    font-size: 15px;
  }
  /* hide extra buttons on mobile */
  .actions .btn:not(.primary) {
    display: none;
  }

  /* hide scroll hint (app feel) */
  .scroll {
    display: none;
  }

  /* --- Collapsible "More details" drawer --- */
  .mobile-more {
    margin-top: 8px;
    border-radius: 18px;
    border: 1px solid rgba(11, 18, 32, 0.1);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    overflow: hidden;
  }

  .mobile-more > summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    user-select: none;
  }
  .mobile-more > summary::-webkit-details-marker {
    display: none;
  }

  .sum-title {
    font-weight: 850;
    color: var(--accent);
  }
  .sum-sub {
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
    margin-left: auto;
  }

  /* arrow */
  .mobile-more > summary::after {
    content: "›";
    font-size: 22px;
    font-weight: 900;
    color: var(--accent);
    transform: rotate(90deg);
    transition: transform 0.15s ease;
  }
  .mobile-more[open] > summary::after {
    transform: rotate(-90deg);
  }

  /* inside drawer */
  .mobile-more[open] {
    box-shadow: 0 18px 55px rgba(11, 18, 32, 0.12);
  }

  .mobile-more .chips {
    padding: 0 12px 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
  }

  .mobile-more .chip {
    width: 100%;
    border-radius: 16px;
    padding: 10px 10px;
    min-height: 44px;
    justify-content: flex-start;
  }

  .mobile-more .stats {
    display: none;
  }

  /* chips: clean grid with space */
  .chips {
    margin-top: 6px;
    gap: 12px; /* key change */
  }

  .mobile-more .stat {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(11, 18, 32, 0.08);
  }
  /* soften background behind text */
  .hero::before {
    background: linear-gradient(
        180deg,
        rgba(246, 244, 239, 0.96) 0%,
        rgba(246, 244, 239, 0.88) 35%,
        rgba(246, 244, 239, 0.55) 65%,
        rgba(246, 244, 239, 0.2) 100%
      ),
      url("../images/hero.png") center/cover no-repeat;
  }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* ===== MAIN CONTENT STYLES (after hero) ===== */
.main {
  background: linear-gradient(
    180deg,
    rgba(246, 244, 239, 0) 0%,
    rgba(246, 244, 239, 1) 20%
  );
  padding: 60px 0 10px;
}

@media (max-width: 520px) {
  .main {
    padding: 10px 0 10px;
  }
}

/* .section {
  padding: 15px 0;
} */

@media (max-width: 250px) {
  .section h2 {
    margin: 40px 0;
  }
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  color: var(--accent);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;

  margin-bottom: 20px;
}

.p-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Steps */
/* Steps grid */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

/* Connecting line (desktop) */
.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(122, 0, 0, 0.35),
    rgba(0, 0, 0, 0.1),
    rgba(122, 0, 0, 0.35)
  );
  z-index: 0;
}

/* Step card */
.step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;

  padding: 18px 18px 16px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);

  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.14);
}

/* Number badge (fun) */
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;

  font-weight: 900;
  letter-spacing: -0.02em;

  color: white;
  background: var(--accent);

  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

/* Headings + text inside card */
.step h3 {
  margin: 2px 0 6px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.72);
}

/* Make the middle step “featured” */

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 20px 20px 22px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.14);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* Badge (Pillar / Focus) */
.badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent2);

  border: 1px solid rgba(122, 0, 0, 0.18);
}

/* Pill label */
.pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.75);
}

.card h3 {
  margin: 6px 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--accent);
}

/* Copy */
.card p {
  margin: 0;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.72);
}

/* FEATURE AGRI CARDS (auto-highlight) */
.card .pill:contains("Agribusiness") {
  background: rgba(0, 128, 0, 0.1);
  color: #065f46;
}

/* Mobile spacing */
@media (max-width: 900px) {
  #services.section {
    padding: 56px 0;
  }
}

.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(122, 0, 0, 0.35),
    rgba(255, 211, 106, 0.35)
  );
}

.card:hover::after {
  opacity: 0.18;
}

/* Impact section */
.impact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 60px rgba(11, 18, 32, 0.08);
}

.impact-left h2 {
  margin: 0;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.impact-left p {
  margin: 8px 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.impact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.impact-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.impact-k {
  color: var(--muted);
  font-weight: 850;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.impact-v {
  color: var(--accent);
  font-weight: 950;
  font-size: 20px;
  margin-top: 6px;
}
.impact-d {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: linear-gradient(
    135deg,
    rgba(10, 42, 110, 0.1),
    rgba(231, 139, 18, 0.1)
  );
}

.cta-band h2 {
  margin: 0;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.cta-band p {
  margin: 6px 0 0;
  color: var(--muted);
}

/* Footer */
.footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  background: rgba(255, 255, 255, 0.35);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-muted {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .impact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 24px 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band .btn {
    width: 100%;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* about */
.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 700;
  font-size: 0.9rem;
}

.about-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 60ch;
  color: rgba(0, 0, 0, 0.75);
}

.about-pills {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-pills li {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 0.95rem;
}

.about-cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Visual Card */
.about-card {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
}

/* Image */
.about-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* If image missing, show a “fun” gradient placeholder */
.about-card.no-img::before {
  content: "";
  display: block;
  height: 240px;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(255, 211, 106, 0.95),
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 35%,
      rgba(77, 163, 255, 0.95),
      transparent 55%
    ),
    radial-gradient(circle at 50% 90%, rgba(122, 0, 0, 0.95), transparent 60%),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.55)
    );
}

.about-card-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.stat {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-num {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.stat-label {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
}

.about-wrap {
  margin-top: 90px;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 520px) {
  .about-wrap {
    margin-top: 60;
  }
}
/* About section */
.about {
  position: relative;
  padding: 72px 0;
}

/* --- RESPONSIVE STYLES --- */

/* Tablet and Small Desktops */
@media (max-width: 1024px) {
  .about {
    padding: 60px 20px; /* Add horizontal padding so content doesn't touch screen edges */
  }

  .about-wrap {
    gap: 40px;
    grid-template-columns: 1fr; /* Stack vertically */
  }

  .about-head {
    text-align: center; /* Center text for a better mobile look */
  }

  .about-lead {
    margin: 0 auto; /* Center the paragraph */
  }

  .about-pills,
  .about-cta {
    justify-content: center; /* Center buttons and pills */
  }
}

/* Mobile Phones */
@media (max-width: 600px) {
  .about {
    padding: 48px 15px;
  }

  .about-head h2 {
    font-size: 28px; /* Fixed size for small screens if clamp is too big */
  }

  .about-cta {
    flex-direction: column; /* Stack buttons on top of each other */
    width: 100%;
  }

  .about-cta .btn {
    width: 100%; /* Make buttons full width for easier tapping */
    text-align: center;
    justify-content: center;
  }

  .stat {
    grid-template-columns: 1fr; /* Stack stat number and label vertically */
    text-align: center;
    padding: 15px;
  }

  .about-card img {
    height: 200px; /* Reduce image height on mobile */
  }
}

/* services */
/* SECTION – fully transparent */
#services.section {
  padding: 72px 0;
  background: transparent;
}

/* Header */
#services .section-head {
  max-width: 70ch;
  margin-bottom: 28px;
}

#services .section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

#services .section-head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.72);
}

/* contact page */
.contact-section {
  margin-top: 0 !important;
  padding: 24px 0 60px;
  place-items: center;
  background-color: var(--gray-bg);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  width: min(1100px, calc(100% - 30px));
}

/* ---- MOBILE: stack & reduce the image dominance ---- */
@media (max-width: 780px) {
  :root {
    --nav-gap: 96px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Info Sidebar (Navy) */
.contact-info {
  position: relative;
  background: url("../images/framchise.png") center/cover;
  color: var(--white);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto !important;
  padding: 18px !important;
  border-radius: 20px;
}

.contact-info::before {
  content: "";
  inset: 0;
  position: absolute;
  background: radial-gradient(
      900px 500px at 15% 15%,
      rgba(10, 42, 110, 0.16),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 70% 20%,
      rgba(231, 139, 18, 0.12),
      transparent 58%
    ),
    linear-gradient(
      90deg,
      rgba(246, 244, 239, 0.95) 0%,
      rgba(246, 244, 239, 0.78) 0%,
      rgba(246, 244, 239, 0.35) 60%,
      rgba(246, 244, 239, 0) 100%
    );
}

/* Reduce background image height / zoom */
.contact-info::before,
.contact-info::after {
  opacity: 0.55; /* if you use overlay layers */
}

.contact-info * {
  position: relative;
  z-index: 1;
}

.contact-info h1 {
  color: #ffffff;
  font-size: clamp(32px, 3vw, 44px);
  letter-spacing: -0.02em;
}
.contact-info p {
  opacity: 0.8;
  line-height: 1.6;
  color: rgb(32, 60, 87);
  font-weight: 600;
}

.info-items {
  margin-top: 14px;
  gap: 12px;
}
.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 18, 32, 0.1);
  border-radius: 16px;
  padding: 12px 12px;
}
.info-item .icon {
  font-size: 1.5rem;
  background: white;
  padding: 10px;
  border-radius: 12px;
  color: var(--accent);
}
.info-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
}

/* Form Area */
.contact-form-wrap {
  padding: 60px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.input-group {
  margin-bottom: 25px;
}
.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--accent);
}
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fdfdfd;
  outline: none;
  transition: 0.3s;
}

.input-group input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.btn-submit {
  background: var(--accent3);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

/* form becomes a clean card */
.contact-form-wrap {
  border-radius: 20px;
  padding: 18px;
}

/* --- RESPONSIVE MOBILE FIXES --- */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  } /* Stack vertically */
  .contact-info {
    padding: 40px;
  }
  .contact-form-wrap {
    padding: 40px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  } /* Stack form inputs */
}

@media (max-width: 600px) {
  .contact-section {
    padding: 20px;
  }
  .contact-info h2 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  .btn-submit {
    width: 100%;
  }
}

.contact-info {
  background-size: cover;
  background-position: center top;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--accent3);
  transform: translateY(-3px);
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.6;
  color: #222;
}

/* index page contact */
/* Contact + Map block */
.contact-map-block {
  padding: 56px 0;
  background: transparent;
}

.contact-map-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

/* Contact side */
.contact-strip .section-head h2,
.contact-strip h2 {
  margin: 0 0 10px;
}

/* Pills row */
.contact-inline {
  display: grid;
  grid-template-columns: 1fr;
  background-color: white;
  gap: 12px;
  border-radius: 10px;
  padding: 10px;
}

/* Pill */
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  min-height: var(--tap);

  background: var(--card2);

  color: var(--text);
  text-decoration: none;

  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-pill:hover {
  transform: translateY(-1px);
  background: var(--card);
}

.contact-pill i {
  color: var(--accent);
  font-size: 0.95rem;
}

/* Small label inside pill */
.contact-pill span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.55);
}

.contact-pill b {
  font-weight: 800;
  color: var(--text);
}

/* Map card */
.map-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid var(--line);
}

.map-kicker {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.55);
}

.map-title {
  font-weight: 900;
  color: var(--text);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.map-link:hover {
  text-decoration: underline;
}

/* Embed */
.map-embed {
  aspect-ratio: 16 / 11;
  width: 100%;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer line */
.map-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.map-foot i {
  color: var(--accent3);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-map-grid {
    grid-template-columns: 1fr;
  }

  .map-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 520px) {
  .contact-pill {
    width: 100%; /* pills become full-width on small screens */
    justify-content: flex-start;
    border-radius: var(--radius2);
  }
}

/* footer logo */
.footer-brand img {
  width: 200px;
}

@media (max-width: 520px) {
  .footer-brand img {
    width: 190px;
    margin-left: 90px;
  }

  .footer-socials {
    margin-left: 100px;
  }

  .footer-links {
    margin-left: 40px;
  }
}

.contact-info .email {
  color: var(--accent);
  font-weight: 600;
}

.contact-info .email:hover {
  color: #ffb350;
}

/* service page */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid .card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.grid .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.grid .card-content {
  padding: 1.5rem;
}

.grid .card-content h3 {
  margin-top: 0;
  color: var(--accent);
}

.grid .card-content p {
  color: #555;
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  background: var(--accent3);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.toggle-btn {
  display: block;
  margin: 2rem auto;
  padding: 0.7rem 1.2rem;
  background: var(--accent3);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.hidden {
  display: none;
}

/*  */
.btn-learn {
  background-color: var(--accent3);
  display: flex;
  justify-content: center;
  height: 40px;
  font-size: 16px;
  font-weight: 500;
  margin: 20px;
  padding: 10px;
  color: white;
  max-width: 130px;
  border-radius: 8px;
}

.container-tn {
  display: flex;
  justify-content: center;
  padding: 8px;
}

.form-status {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid var(--line);
  background: var(--card2);
}
.form-status.success {
  color: var(--accent);
}
.form-status.error {
  color: #b00020;
}

/* toast */

/* Toast popup */
/* Bottom toast popup */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 9999999;

  display: flex;
  align-items: center;
  gap: 12px;

  width: min(560px, calc(100% - 32px));
  padding: 12px 14px;

  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--text);

  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.toast i {
  color: var(--accent);
  font-size: 1.05rem;
}

.toast span {
  flex: 1;
  font-weight: 700;
}

.toast-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.toast-close:hover {
  background: rgba(10, 42, 110, 0.08);
  color: var(--accent);
}

/* Mobile safe spacing */
@media (max-width: 600px) {
  .toast {
    bottom: 96px; /* stays above mobile browser UI */
  }
}

@media (max-width: 600px) {
  .toast {
    top: calc(var(--nav-h) + 12px); /* below fixed navbar */
    bottom: auto;

    transform: translateX(-50%) translateY(-12px);
  }

  .toast.show {
    transform: translateX(-50%) translateY(0);
  }
}

@media (min-width: 768px) {
  .hero {
    height: 200px;
    overflow: hidden;
  }
}

/* MOBILE: stop hero background from feeling too tall */
@media (min-width: 768px) {
  .hero {
    min-height: 600px; /* pick a nice cap */
    grid-template-rows: auto auto auto;
  }

  .hero::before {
    background-position: center top;
    background-size: cover; /* keep cover but control the section height */
    transform: none; /* remove scale that makes it feel zoomed */
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 600px;
  }
}

/*  */
.hero {
  min-height: 78vh; /* tall hero again */
}

/* keep it from becoming ridiculous on super tall screens */
@media (min-width: 1100px) {
  .hero {
    min-height: 720px;
  }
}

/* MOBILE stays compact (what you already liked) */
@media (min-width: 768px) {
  .hero {
    min-height: 700px; /* your mobile good height */
  }
}

.text-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.text-container a {
  color: var(--accent3);
  font-weight: 700;
}

.text-container a:hover {
  color: var(--accent);
}

/* subscribe */
.sub-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 20px 0 20px 0;
  background: url("../images/tool.png") center/cover;
  border-radius: 10px;
}

@media (max-width: 520px) {
  .sub-container {
    background: none;
  }
}
.subscribe-box {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 420px;
  width: 100%;
}
.subscribe-box h2 {
  margin-bottom: 1rem;
  color: var(--accent);
}
.subscribe-box p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.subscribe-form input[type="email"] {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}
.subscribe-form input[type="email"]:focus {
  border-color: var(--accent);
}
.subscribe-form .agreement {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #555;
  text-align: left;
}
.subscribe-form .agreement input {
  margin-right: 0.5rem;
}
.subscribe-form button {
  padding: 0.8rem 1.2rem;
  background: var(--accent3);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.subscribe-form button:hover {
  transform: translateY(-2px);
}
.subscribe-success {
  display: none;
  margin-top: 1rem;
  color: #00796b;
  font-weight: 600;
}
.error-message {
  display: none;
  margin-top: 0.5rem;
  color: #d9534f;
  font-size: 0.85rem;
}

/* ===== Button Spinner ===== */
.btn-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit.loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.btn-submit.loading .btn-spinner {
  display: inline-block;
}

.btn-submit.loading .btn-text {
  opacity: 0.7;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* drop down */
/* Desktop dropdown (hover) - keep as you had */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.25s ease;
  border-radius: 6px;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- MOBILE (<=520px) ---------- */
@media (max-width: 520px) {
  /* Hide desktop nav on mobile if you already do this */
  .desktop-nav {
    display: none;
  }

  /* Mobile dropdown styles */
  .mobile-dropdown {
    width: 100%;
  }

  .mobile-drop-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 12px 0;
    font: inherit;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--accent);
    font-weight: 700;
  }

  .mobile-drop-menu {
    display: none;
    padding-left: 14px;
    padding-bottom: 8px;
  }

  /* When open */
  .mobile-dropdown.open .mobile-drop-menu {
    display: block;
  }

  .mobile-dropdown.open .chev {
    transform: rotate(180deg);
  }

  .chev {
    transition: transform 0.2s ease;
    display: inline-block;
  }

  .mobile-drop-menu a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
  }
}

/* Image spinner wrapper */
.image-loader {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Image hidden until loaded */
.image-loader img {
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Spinner */
.img-spinner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.6);
  z-index: 2;
}

/* Spinner circle */
.img-spinner::after {
  content: "";
  width: 36px;
  height: 36px;
  border: 3px solid #ddd;
  border-top-color: var(--accent);

  animation: spin 0.9s linear infinite;
}

/* Stop spinner when loaded */
.image-loader.loaded .img-spinner {
  display: none;
}

.image-loader.loaded img {
  opacity: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* summary */

.exec-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.exec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.03);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.exec-title {
  margin: 14px 0 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.exec-lead {
  /* margin: 0 0 10px; */
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1f1f1f;
}

.exec-text {
  margin: 0 0 18px;
  line-height: 1.8;
  color: #3b3b3b;
}

.exec-features {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.exec-feature {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.exec-feature h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #111;
}

.exec-feature p {
  margin: 0;
  color: #444;
  line-height: 1.7;
  font-size: 0.95rem;
}

.exec-feature .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 5px;
}

.exec-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.exec-visual {
  display: grid;
  gap: 14px;
}

.exec-image-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.exec-image-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
}

.exec-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.exec-metric {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 10px 10px;
  display: grid;
  gap: 2px;
  text-align: center;
}

.exec-metric .num {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111;
}

.exec-metric .label {
  font-size: 0.82rem;
  color: #444;
}

.exec-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-card {
  border-radius: 16px;
  padding: 14px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

.mini-title {
  display: block;
  font-weight: 650;
  color: #111;
  margin-bottom: 4px;
}

.mini-sub {
  display: block;
  color: #444;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* MOBILE <= 520px */
@media (max-width: 520px) {
  .exec-hero {
    padding: 36px 0;
  }

  .exec-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .exec-image-card img {
    height: 240px;
  }

  .exec-overlay {
    grid-template-columns: repeat(3, 1fr);
  }

  .exec-mini-cards {
    grid-template-columns: 1fr;
  }
}

/* coaching */
/* --- Coaching & Mentoring: Modern, visual, no images --- */
.cm {
  padding: 56px 0;
}

.cm-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

/* Left */
.cm-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.03);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cm-title {
  margin: 14px 0 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.cm-lead {
  margin: 0 0 14px;
  line-height: 1.8;
  color: #222;
  font-size: 1.02rem;
}

.cm-features {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.cm-feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.cm-feature h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #111;
}

.cm-feature p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
}

.cm-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--accent);
}
.cm-icon svg {
  width: 22px;
  height: 22px;
}

.cm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Right visual */
.cm-visual {
  position: relative;
}

.cm-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

.cm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 240px at 20% 0%,
      rgba(0, 0, 0, 0.035),
      transparent 60%
    ),
    radial-gradient(
      500px 240px at 90% 10%,
      rgba(0, 0, 0, 0.03),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 40%);
  pointer-events: none;
}

.cm-card-head {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cm-pulse {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}
.cm-pulse::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 999px;
  background: var(--accent3);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  animation: pulse 1.8s ease-in-out infinite;
}

.cm-card-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #444;
}
.cm-card-title {
  margin-top: 2px;
  font-weight: 650;
  color: #111;
}

.cm-steps {
  position: relative;
  display: grid;
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.cm-step {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

.cm-step-tag {
  width: 40px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 0.9rem;
}

.cm-step-title {
  font-weight: 650;
  color: #111;
}
.cm-step-sub {
  color: #444;
  font-size: 0.92rem;
  margin-top: 2px;
}

.cm-card-foot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cm-metric {
  text-align: center;
  padding: 10px 10px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
}

.cm-metric-num {
  font-weight: 750;
  color: #111;
}
.cm-metric-label {
  font-size: 0.82rem;
  color: #444;
  margin-top: 2px;
}

.cm-glow {
  position: absolute;
  inset: -40px -40px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.04), transparent 60%);
  pointer-events: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
}

/* Mobile <= 520px */
@media (max-width: 520px) {
  .cm {
    padding: 38px 0;
  }
  .cm-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cm-card-foot {
    grid-template-columns: 1fr;
  }
}

/* org structure */
/* --- Matches your site UI style (accent, soft cards, clean type) --- */
.org {
  padding: 56px 0;
}

.org-head {
  max-width: 860px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.org-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.03);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.org-title {
  margin: 14px 0 8px;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.org-lead {
  margin: 0 0 18px;
  line-height: 1.8;
  color: #3b3b3b;
}

/* Table container */
.org-table-wrap {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

/* Table */
.org-table {
  width: 100%;
  border-collapse: collapse;
}

.org-table thead th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 650;
  color: #111;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01));
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.org-table tbody td {
  padding: 14px 16px;
  vertical-align: top;
  color: #2e2e2e;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.org-table tbody tr:last-child td {
  border-bottom: none;
}

.org-table tbody tr {
  transition: transform 0.18s ease, background 0.18s ease;
}

.org-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* Position cell */
.pos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pos-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--accent);
  flex: 0 0 auto;
}
.pos-icon svg {
  width: 20px;
  height: 20px;
}

.pos-title {
  font-weight: 650;
  color: #111;
}

/* Note */
.org-note {
  margin-top: 14px;
  max-width: 900px;
  line-height: 1.8;
  color: #3b3b3b;
}

/* --- Mobile <= 520px: turns rows into stacked cards (still table semantics) --- */
@media (max-width: 520px) {
  .org {
    padding: 38px 0;
  }

  .org-table-wrap {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  }

  .org-table thead {
    display: none;
  }

  .org-table,
  .org-table tbody,
  .org-table tr,
  .org-table td {
    display: block;
    width: 100%;
  }

  .org-table tbody tr {
    padding: 14px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
  }

  .org-table tbody tr:hover {
    background: #fff; /* no hover on mobile */
  }

  .org-table tbody td {
    border: none;
    padding: 10px 0 0;
  }

  /* Label for second column */
  .org-table tbody td[data-label="Key Skills & Expertise"]::before {
    content: "Key Skills & Expertise";
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 6px;
  }

  /* Keep Position compact */
  .org-table tbody td[data-label="Position"] {
    padding-top: 0;
  }

  .pos-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }
}

/* --- Conclusion v2: mosaic image layout --- */
.concl2 {
  padding: 56px 0;
}

.concl2-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.concl2-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.03);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.concl2-title {
  margin: 14px 0 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #111;
}

.concl2-lead {
  margin: 0 0 10px;
  line-height: 1.8;
  color: #222;
  font-size: 1.02rem;
}

.concl2-text {
  margin: 0 0 10px;
  line-height: 1.85;
  color: #3b3b3b;
}

.concl2-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.concl2-bullets {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.concl2-bullet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.concl2-bullet .tick {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--accent);
  flex: 0 0 auto;
  font-weight: 800;
}

/* Mosaic */
.concl2-mosaic {
  position: relative;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 140px 160px;
  gap: 12px;
}

.tile {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

/* Layout positions */
.tile-a {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
} /* wide top image */
.tile-b {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
} /* tall left image */
.tile-c {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
} /* small right image */
.tile-d {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
} /* accent card */

/* Accent card */
.tile-d {
  box-shadow: none;
  background: rgba(0, 0, 0, 0.02);
}
.accent-card {
  height: 100%;
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
}

.accent-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.accent-top .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.06);
}
.accent-top .label {
  font-weight: 700;
  color: #111;
}

.accent-mid {
  font-weight: 750;
  font-size: 1.1rem;
  color: #111;
  line-height: 1.25;
}

.accent-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.accent-foot span {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  color: #111;
}

/* Mobile <= 520px */
@media (max-width: 520px) {
  .concl2 {
    padding: 38px 0;
  }

  .concl2-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 120px 140px;
    gap: 10px;
  }

  .tile {
    border-radius: 16px;
  }

  /* Keep it tight on small screens */
  .tile-a {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .tile-b {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
  }
  .tile-c {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .tile-d {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
}

@media (max-width: 520px) {
  .contact-info .intro,
  .accent-foot {
    display: none;
  }

  .contact-container p {
    font-size: 15px;
    line-height: normal;
  }

  .contact-container {
    margin-top: 40px;
  }
}

/* org structure */

.org-structure {
  max-width: 980px;
  margin: 4rem auto;
  margin-top: 130px;
  padding: 2.75rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 28px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(10, 42, 110, 0.08);
}

.org-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  color: var(--accent);
}

.org-top {
  display: grid;
  gap: 1.25rem;
  justify-content: center;
  position: relative;
  padding-bottom: 2rem;
}

.org-node {
  width: min(560px, 100%);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.org-node h4 {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.org-node.board {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.org-node.ceo {
  background: linear-gradient(135deg, var(--accent3), #f3a43a);
}

/* Vertical connector line between Board and CEO */
/* .org-top::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -10%);
  width: 2px;
  height: 64px;
  background: rgba(10, 42, 110, 0.18);
  border-radius: 2px;
} */

/* Departments grid */
.org-branches {
  position: relative;
  margin-top: 0.75rem;
  padding-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Horizontal connector above departments */
.org-branches::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 7%;
  right: 7%;
  height: 2px;
  background: rgba(10, 42, 110, 0.16);
  border-radius: 2px;
}

.org-branch {
  background: #ffffff;
  border: 1px solid rgba(10, 42, 110, 0.1);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  text-align: center;
  font-weight: 650;
  color: #1f2a44;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

/* small vertical connector from the line to each box */
.org-branch::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 14px;
  background: rgba(10, 42, 110, 0.16);
  border-radius: 2px;
}

.org-branch:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 980px) {
  .org-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .org-branches::before {
    left: 10%;
    right: 10%;
  }
}

@media (max-width: 560px) {
  .org-structure {
    padding: 2rem 1.25rem;
  }
  .org-branches {
    grid-template-columns: 1fr;
  }
  .org-branches::before {
    display: none;
  }
  .org-branch::before {
    display: none;
  }
}
