:root {
  --knphi-blue: #35459c;
  --knphi-green: #90c63e;
  --ink: #172033;
  --muted: #5f6b7a;
  --soft: #f4f7fb;
  --danger: #d93832;
  --border: #dfe5ef;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
}

a {
  color: var(--knphi-blue);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

.container {
  margin-inline: auto;
  max-width: 1140px;
  padding-inline: 1rem;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -.75rem;
}

.row > * {
  padding-inline: .75rem;
  width: 100%;
}

.g-3 {
  row-gap: 1rem;
}

.g-4 {
  row-gap: 1.5rem;
}

.g-5 {
  row-gap: 3rem;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.gap-2 {
  gap: .5rem;
}

.gap-3 {
  gap: 1rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: .5rem;
}

.ms-auto {
  margin-left: auto;
}

.w-100 {
  width: 100%;
}

.text-white {
  color: #fff;
}

.fw-bold {
  font-weight: 800;
}

.display-4 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.12;
}

.lead {
  font-size: 1.25rem;
}

.bg-white {
  background: #fff;
}

.shadow-sm {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: .375rem;
  cursor: pointer;
  display: inline-flex;
  gap: .5rem;
  justify-content: center;
  line-height: 1.5;
  padding: .65rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-lg {
  border-radius: .5rem;
  font-size: 1.05rem;
  padding: .85rem 1.15rem;
}

.btn-light {
  background: #fff;
  border-color: #fff;
}

.btn-outline-light {
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #fff;
  color: var(--knphi-blue);
}

.badge {
  border-radius: 999px;
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  padding: .45rem .7rem;
}

.text-bg-light {
  background: #eef3f9;
  color: var(--ink);
}

.navbar {
  align-items: center;
  display: flex;
  padding: .5rem 0;
}

.navbar > .container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.navbar-brand {
  margin-right: 1rem;
  text-decoration: none;
}

.navbar-toggler {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: .375rem;
  margin-left: auto;
  padding: .5rem .65rem;
}

.navbar-toggler-icon {
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-position: center 20%, center, center 80%;
  background-repeat: no-repeat;
  background-size: 1.5rem 2px;
  display: block;
  height: 1.5rem;
  width: 1.5rem;
}

.collapse:not(.show) {
  display: none;
}

.navbar-collapse {
  flex-basis: 100%;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 1rem 0 0;
  padding-left: 0;
}

.nav-link {
  display: block;
  text-decoration: none;
}

.skip-link {
  background: var(--knphi-blue);
  color: #fff;
  left: 1rem;
  padding: .65rem 1rem;
  position: absolute;
  top: -4rem;
  z-index: 1100;
}

.skip-link:focus {
  top: 1rem;
}

.topline {
  background: var(--knphi-blue);
  color: #fff;
  font-size: .95rem;
  padding: .55rem 0;
}

.topline i {
  color: var(--knphi-green);
  margin-right: .35rem;
}

.navbar {
  min-height: 86px;
}

.brand-logo {
  height: 58px;
  max-width: min(420px, 70vw);
  object-fit: contain;
}

.navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 650;
  padding-inline: .8rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--knphi-blue);
}

.section-pad {
  padding: 5rem 0;
  scroll-margin-top: 120px;
}

.hero {
  background:
    radial-gradient(circle at 80% 8%, rgba(144, 198, 62, .26), transparent 34%),
    linear-gradient(135deg, #28347c 0%, var(--knphi-blue) 46%, #4a58b5 100%);
  overflow: hidden;
  padding-bottom: 0;
  position: relative;
}

.hero::before {
  content: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--knphi-green);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: .65rem;
  text-transform: uppercase;
}

.text-white-75 {
  color: rgba(255, 255, 255, .82);
}

.hero h1 {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.btn-knphi-green {
  background: var(--knphi-green);
  border-color: var(--knphi-green);
  color: #102300;
  font-weight: 800;
}

.btn-knphi-green:hover,
.btn-knphi-green:focus {
  background: #7fb331;
  border-color: #7fb331;
  color: #102300;
}

.hero-visual {
  min-height: 420px;
  position: relative;
}

.circle {
  align-items: center;
  background: #fff;
  border: 12px solid #fff;
  border-radius: 50%;
  box-shadow: 0 22px 50px rgba(18, 29, 70, .35);
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: absolute;
}

.image-circle img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.circle-large {
  height: 360px;
  right: -25px;
  top: -35px;
  width: 360px;
}

.circle-large i {
  color: #89d94d;
  font-size: 8rem;
}

.circle-small {
  bottom: 28px;
  height: 190px;
  left: 20px;
  width: 190px;
}

.pulse-card {
  background: #fff;
  border-left: 7px solid var(--knphi-green);
  bottom: 30px;
  box-shadow: 0 18px 40px rgba(20, 25, 50, .22);
  padding: 1.25rem 1.4rem;
  position: absolute;
  right: 18px;
  width: 230px;
}

.pulse-card span {
  color: var(--muted);
  display: block;
  font-size: .85rem;
  font-weight: 700;
}

.pulse-card strong {
  color: var(--danger);
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.hero-footer {
  background: #fff;
  color: var(--ink);
  margin-top: 3rem;
  padding: 1.4rem 0;
}

.hero-footer strong {
  font-size: 1.2rem;
}

.hero-footer span {
  color: var(--knphi-blue);
  font-weight: 800;
}

.alert-band {
  background: var(--danger);
  color: #fff;
  padding: 1.2rem 0;
}

.call-button {
  color: var(--danger);
  font-weight: 850;
  min-width: 160px;
}

.section-heading {
  margin: 0 auto 2.25rem;
  max-width: 780px;
  text-align: center;
}

.section-heading h2,
#about h2,
#contact h2,
.action-section h2 {
  font-weight: 850;
  line-height: 1.14;
}

.section-heading p,
.section-copy {
  color: var(--muted);
  font-size: 1.07rem;
}

.bg-soft {
  background: var(--soft);
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 100%;
  padding: 1.35rem;
}

.info-card i {
  align-items: center;
  background: rgba(144, 198, 62, .18);
  color: var(--knphi-blue);
  display: inline-flex;
  font-size: 1.65rem;
  height: 3rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 3rem;
}

.info-card h3,
.check-panel h3,
.cta-panel h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

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

.check-panel {
  background: #f7fbef;
  border-left: 8px solid var(--knphi-green);
  height: 100%;
  padding: 2rem;
}

.check-panel-blue {
  background: #f3f5ff;
  border-left-color: var(--knphi-blue);
}

.check-list {
  display: grid;
  gap: .85rem;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.check-list li {
  padding-left: 2rem;
  position: relative;
}

.check-list li::before {
  color: var(--knphi-green);
  content: "\F26E";
  font-family: "bootstrap-icons";
  font-weight: 400;
  left: 0;
  position: absolute;
  top: .05rem;
}

.action-section {
  background: linear-gradient(135deg, #2f3d8f, var(--knphi-blue));
}

.action-steps {
  color: rgba(255, 255, 255, .88);
  display: grid;
  font-size: 1.1rem;
  gap: .75rem;
  margin: 1.5rem 0 0;
  padding-left: 1.4rem;
}

.cta-panel {
  background: #fff;
  border-top: 8px solid var(--knphi-green);
  box-shadow: 0 24px 60px rgba(9, 16, 44, .28);
  padding: 2rem;
}

.cta-panel p {
  color: var(--muted);
}

.resource-link {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  font-weight: 800;
  gap: 1rem;
  min-height: 92px;
  padding: 1.25rem;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.resource-link i {
  color: var(--knphi-blue);
  font-size: 1.8rem;
}

.resource-link:hover,
.resource-link:focus {
  border-color: var(--knphi-green);
  box-shadow: 0 14px 34px rgba(40, 53, 112, .12);
  transform: translateY(-2px);
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}

.contact-item i {
  color: var(--knphi-green);
  font-size: 1.4rem;
}

.contact-item span {
  color: var(--muted);
  display: block;
  font-size: .9rem;
  font-weight: 700;
  margin-top: .6rem;
}

.contact-item strong {
  display: block;
  line-height: 1.3;
  margin-top: .2rem;
}

.site-footer {
  background: #111827;
  color: rgba(255, 255, 255, .78);
  padding: 2.5rem 0 0;
}

.footer-logo {
  background: #fff;
  height: 70px;
  max-width: min(430px, 100%);
  object-fit: contain;
  padding: .35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--knphi-green);
}

.footer-stripes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 10px;
  margin-top: 2rem;
}

.footer-stripes span:nth-child(1) {
  background: #111;
}

.footer-stripes span:nth-child(2) {
  background: var(--danger);
}

.footer-stripes span:nth-child(3) {
  background: #2f9e63;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

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

.hero .reveal {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .hero::before {
    height: 30%;
  }

  .hero-visual {
    min-height: 330px;
  }

  .circle-large {
    height: 285px;
    right: 0;
    width: 285px;
  }

  .circle-small {
    bottom: 18px;
    height: 150px;
    left: 0;
    width: 150px;
  }

  .pulse-card {
    bottom: 10px;
    width: 210px;
  }

  .section-pad {
    padding: 4rem 0;
  }
}

@media (min-width: 768px) {
  .flex-md-row {
    flex-direction: row;
  }

  .align-items-md-center {
    align-items: center;
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    margin: 0 0 0 auto;
  }

  .mb-lg-0 {
    margin-bottom: 0;
  }

  .flex-lg-row {
    flex-direction: row;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }
}

@media (max-width: 767.98px) {
  .brand-logo {
    height: 44px;
    max-width: 68vw;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions .btn,
  .call-button {
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    height: auto;
  }
}
