/* ============ NAVBAR ============ */
.kc-navbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--kc-navy);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.kc-navbar .kc-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
}

/* Brand anchor + image */
.kc-brand{
  display: flex;
  align-items: center;
}
.kc-brand img{
  /* Make the logo clearly visible and stable */
  height: 66px;                /* desktop default */
  max-height: 66px;
  width: auto;
  aspect-ratio: 5 / 2;         /* keeps proportions predictable */
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Burger and links */
.kc-burger{
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.kc-burger span{
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: .2s;
}

.kc-navlinks{
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.kc-navlinks a{
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: .9;
}
.kc-navlinks a:hover,
.kc-navlinks a.active{
  opacity: 1;
  border-bottom: 2px solid var(--kc-green);
  padding-bottom: 10px;
}

/* Mobile nav */
@media (max-width: 900px){
  .kc-brand img{
    height: 54px;             /* slightly smaller on tablet */
    max-height: 54px;
  }
  .kc-burger{ display: block; }
  .kc-navlinks{
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--kc-navy-2);
    flex-direction: column;
    padding: 18px 22px;
    gap: 14px;
    transform: translateY(-120%);
    transition: .25s;
  }
  .kc-navlinks.open{ transform: translateY(0) }
}

@media (max-width: 520px){
  .kc-brand img{
    height: 46px;             /* phone */
    max-height: 46px;
  }
}

/* ============ CTA band ============ */
.cta-band{
  background: var(--kc-light);
  padding: 46px 0;
  border-top: 1px solid #e9eef8;
}
.cta-band .kc-container{
  display: flex;
  justify-content: center;
}

/* ============ FOOTER ============ */
.kc-footer{
  background: var(--kc-navy);
  color: #cfe0ff;
  padding: 40px 0 8px;
  margin-top: 20px;
}

/* Keep brand column wide enough so the logo never collapses */
.kc-footer-grid{
  display: grid;
  grid-template-columns:
    minmax(260px, 2fr)         /* brand column: never smaller than 260px */
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    minmax(220px, 1.4fr);
  gap: 30px;
}

/* Footer brand block */
.kc-footer-brand{
  display: grid;
  gap: 12px;
  align-content: start;
}
.kc-footer-brand img{
  height: 96px;               /* crisp, visible size on desktop */
  max-height: 96px;
  width: auto;
  object-fit: contain;
  display: block;
  /* a soft shadow so the logo reads on navy backgrounds */
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
}

.kc-footer h4{
  color: #fff;
  margin: .2rem 0 .6rem;
}
.kc-footer ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.kc-footer a{
  color: #e2eeff;
  text-decoration: none;
}
.kc-footer a:hover{ text-decoration: underline }

.kc-copy{
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 14px;
  color: #bcd3ff;
  font-size: .92rem;
}

/* Responsive footer */
@media (max-width: 900px){
  .kc-footer-grid{
    grid-template-columns: 1fr 1fr;
  }
  .kc-footer-brand img{
    height: 78px;
    max-height: 78px;
  }
}
@media (max-width: 600px){
  .kc-footer-grid{
    grid-template-columns: 1fr;
  }
  .kc-copy{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .kc-footer-brand img{
    height: 64px;
    max-height: 64px;
  }
}
