:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --text: #15161a;
  --muted: #6f737a;
  --brand: #1c8b57;
  --brand-dark: #156b42;
  --secondary: #1c8b57;
  --secondary-dark: #156b42;
  --stroke: #e1e3e8;
  --deep: #121316;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  display: inline-block;
}

.logo img {
  display: block;
  height: 58px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #302a23;
  transition: color 0.28s ease, opacity 0.28s ease;
}

.nav-links a:hover {
  color: var(--secondary);
  opacity: 0.95;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 92px 0 64px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(13, 15, 18, 0.83), rgba(13, 15, 18, 0.82)),
    url("https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #433626;
  transition: transform 0.9s ease, opacity 0.9s ease;
}

.hero-content {
  color: #f1ecde;
}

.kicker {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  font-weight: 800;
  color: var(--secondary);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

.hero-text {
  margin-top: 1rem;
  max-width: 60ch;
  color: #d5cbb8;
}

.hero-actions,
.cta-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.metrics {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.kpi-section {
  padding-top: 26px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: #b7dcc8;
  box-shadow: 0 10px 26px rgba(17, 38, 28, 0.08);
}

.metric-card strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--secondary);
}

.metric-card span {
  color: #5f666e;
  font-size: 0.9rem;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface-soft);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

#programme {
  background: #f5f6f7;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.section-head p,
.muted {
  max-width: 56ch;
  color: var(--muted);
}

h2 {
  font-size: clamp(1.95rem, 3vw, 3rem);
}

.service-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 1.35rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-grid .card:nth-child(1),
.service-grid .card:nth-child(2) {
  grid-column: span 3;
}

.service-grid .card:nth-child(n + 3) {
  grid-column: span 2;
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.45rem;
}

.icon-box {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--secondary);
  background: #eef8f2;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.icon-box svg {
  width: 36px;
  height: 36px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card a {
  margin-top: 0.8rem;
  display: inline-block;
  color: var(--secondary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.24s ease, color 0.24s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #b7dcc8;
  box-shadow: 0 18px 36px rgba(21, 22, 26, 0.08);
}

.card:hover a {
  transform: translateX(4px);
  color: var(--secondary);
}

.card:hover .icon-box {
  transform: translateY(-3px);
  background: var(--secondary);
  color: #eafff3;
}

.service-card {
  min-height: 320px;
  will-change: transform, box-shadow;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card a {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.34s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), color 0.28s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: #abd9c2;
  box-shadow: 0 16px 38px rgba(15, 11, 7, 0.42);
}

.service-card:hover a,
.service-card:focus-within a {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.service-card .icon-box {
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

.programme-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.programme-card {
  background: #141a16;
  color: #d8efe2;
  border: 1px solid #26382f;
  border-radius: 18px;
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.programme-card:hover {
  transform: translateY(-6px);
  border-color: #3e5b4c;
  box-shadow: 0 16px 38px rgba(15, 11, 7, 0.42);
}

.programme-card p {
  margin: 0;
  color: #a7c7b6;
}

.programme-card strong {
  display: block;
  font-size: 2rem;
  color: #7bdfad;
}

.programme-card span {
  color: #cabca3;
}

.trust-grid,
.post-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust {
  background: linear-gradient(180deg, #fff, #fbfefc);
}

.logo-slider {
  margin-top: 1rem;
  display: block;
}

.logo-viewport {
  overflow: hidden;
  width: 100%;
}

.logo-track {
  display: flex;
  transition: transform 0.65s ease;
  width: 100%;
}

.logo-slide {
  min-width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.logo-item {
  margin: 0;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: #fff;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.1rem;
  overflow: visible;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.logo-item img {
  width: 100%;
  height: 100%;
  max-width: 54%;
  max-height: 54%;
  object-fit: contain;
  object-position: center 42%;
  display: block;
  border-radius: 10px;
  filter: none;
  opacity: 1;
  transition: transform 0.24s ease;
}

.logo-item:hover {
  transform: translateY(-3px);
  border-color: #9fceb6;
  box-shadow: 0 8px 18px rgba(17, 38, 28, 0.08);
}

.logo-item:hover img {
  transform: translateY(-1px) scale(1.01);
}

.post {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-6px);
  border-color: #b2d8c3;
  box-shadow: 0 16px 32px rgba(27, 23, 16, 0.1);
}

.post-media {
  position: relative;
  height: 230px;
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.post:hover .post-media img {
  transform: scale(1.04);
}

.post-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.post-body {
  padding: 1.2rem 1.2rem 1rem;
}

.post h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}

.post p {
  margin: 0.7rem 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.post-meta {
  border-top: 1px solid var(--stroke);
  padding-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #7a7f86;
}

.link {
  color: var(--secondary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.24s ease, opacity 0.24s ease;
}

.link:hover {
  color: var(--secondary);
  opacity: 0.96;
}

.contact-section {
  padding: 72px 0;
  border-top: 1px solid var(--stroke);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
  max-width: 54ch;
}

.contact-points {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #3f4a43;
}

.contact-points li {
  margin-bottom: 0.5rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 1.2rem;
  display: grid;
  gap: 0.7rem;
  box-shadow: 0 10px 24px rgba(18, 22, 19, 0.05);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8dde3;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #7dc8a1;
  box-shadow: 0 0 0 3px rgba(28, 139, 87, 0.14);
}

.btn {
  display: inline-block;
  background: var(--secondary);
  border: 1px solid var(--secondary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  transition: background-color 0.28s ease, border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.btn:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(29, 21, 8, 0.22);
}

.btn-outline {
  background: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-small {
  font-size: 0.9rem;
  padding: 0.55rem 0.95rem;
}

.footer {
  background: var(--deep);
  color: #e5dcc9;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.footer h3 {
  font-size: 1.8rem;
}

.footer-logo {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
}

.footer h4 {
  font-size: 1.35rem;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: #9ce0be;
  transition: color 0.24s ease;
}

.footer a:hover {
  color: #d0fbe4;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .btn,
  .card,
  .post,
  .programme-card,
  .logo-grid span,
  .metrics li,
  .nav-links a,
  .link {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid .card,
  .service-grid .card:nth-child(1),
  .service-grid .card:nth-child(2),
  .service-grid .card:nth-child(n + 3) {
    grid-column: span 1;
  }

  .logo-slide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-links,
  .btn-small {
    display: none;
  }

  .metrics,
  .trust-grid,
  .post-grid,
  .footer-grid,
  .programme-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .logo-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 72px;
  }
}

@media (max-width: 560px) {
  .logo-slide {
    grid-template-columns: 1fr;
  }
}
