:root {
  --kc-cyan-300: #2eb9dd;
  --kc-cyan-400: #00a6d0;
  --kc-cyan-500: #0098c1;
  --kc-cyan-700: #01637d;
  --kc-deep-900: #0b1118;
  --kc-surface: #f5fbfd;
  --kc-border: #d7e8ef;
  --kc-text: #111827;
  --bs-primary: var(--kc-cyan-500);
  --bs-primary-rgb: 0, 152, 193;
}

body.kc-theme {
  min-height: 100vh;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--kc-text);
  background:
    linear-gradient(rgba(245, 251, 253, 0.95), rgba(245, 251, 253, 0.95)),
    url("../img/branding/kc-bg-4.jpg") center / cover fixed no-repeat;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Archivo Black", "Montserrat", sans-serif;
  letter-spacing: 0.01em;
}

.kc-navbar {
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(1, 99, 125, 0.18);
  backdrop-filter: blur(8px);
}

.kc-brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.kc-brand-wordmark {
  font-family: "Archivo Black", "Montserrat", sans-serif;
  font-size: 0.92rem;
  color: var(--kc-deep-900);
  letter-spacing: 0.02em;
}

.kc-nav-links .nav-link {
  color: #22313e;
  font-weight: 600;
}

.kc-nav-links .nav-link:hover,
.kc-nav-links .nav-link:focus-visible {
  color: var(--kc-cyan-700);
}

.kc-main {
  position: relative;
  z-index: 1;
}

.kc-hero {
  background:
    linear-gradient(145deg, rgba(9, 14, 20, 0.7), rgba(0, 150, 190, 0.5)),
    url("../img/branding/kc-bg-1.jpg") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.kc-hero-overlay {
  background: linear-gradient(110deg, rgba(9, 14, 20, 0.4), rgba(9, 14, 20, 0.15));
}

.kc-hero-logo {
  max-width: 310px;
  width: 68%;
  height: auto;
}

.kc-hero-card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.card {
  border: 1px solid var(--kc-border);
  border-radius: 0.85rem;
  box-shadow: 0 10px 22px rgba(10, 35, 52, 0.08);
}

.btn-dark {
  --bs-btn-bg: var(--kc-deep-900);
  --bs-btn-border-color: var(--kc-deep-900);
  --bs-btn-hover-bg: #05080d;
  --bs-btn-hover-border-color: #05080d;
  --bs-btn-active-bg: #05080d;
  --bs-btn-active-border-color: #05080d;
}

.btn-outline-dark {
  --bs-btn-color: var(--kc-deep-900);
  --bs-btn-border-color: rgba(11, 17, 24, 0.45);
  --bs-btn-hover-bg: var(--kc-deep-900);
  --bs-btn-hover-border-color: var(--kc-deep-900);
  --bs-btn-active-bg: var(--kc-deep-900);
  --bs-btn-active-border-color: var(--kc-deep-900);
}

.btn-primary {
  --bs-btn-bg: var(--kc-cyan-500);
  --bs-btn-border-color: var(--kc-cyan-500);
  --bs-btn-hover-bg: #007fa1;
  --bs-btn-hover-border-color: #007fa1;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(0, 152, 193, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(0, 152, 193, 0.2);
}

.table {
  --bs-table-bg: rgba(255, 255, 255, 0.92);
}

.alert-info {
  --bs-alert-color: #073445;
  --bs-alert-bg: rgba(46, 185, 221, 0.2);
  --bs-alert-border-color: rgba(0, 152, 193, 0.35);
}

.kc-footer {
  border-top: 1px solid rgba(1, 99, 125, 0.18);
  background: rgba(255, 255, 255, 0.88);
}

.kc-footer-logo {
  height: 26px;
  width: auto;
}

.kc-profile-card {
  overflow: hidden;
}

.kc-profile-image-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(140deg, rgba(46, 185, 221, 0.12), rgba(11, 17, 24, 0.1));
}

.kc-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease;
}

.kc-profile-media-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.kc-profile-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 0.85rem 0.75rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 17, 24, 0) 0%, rgba(11, 17, 24, 0.86) 100%);
  opacity: 0.96;
}

.kc-profile-overlay-name {
  font-weight: 700;
  line-height: 1.1;
}

.kc-profile-overlay-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}

.kc-profile-card:hover .kc-profile-image {
  transform: scale(1.08);
}

.kc-profile-placeholder {
  min-height: 100%;
  width: 100%;
  background: linear-gradient(140deg, rgba(46, 185, 221, 0.12), rgba(11, 17, 24, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .page-link {
  color: var(--kc-deep-900);
  border-color: rgba(11, 17, 24, 0.12);
}

.pagination .page-item.active .page-link {
  background: var(--kc-deep-900);
  border-color: var(--kc-deep-900);
}

@media (max-width: 991.98px) {
  .kc-brand-wordmark {
    display: none;
  }

  .kc-nav-links .nav-link {
    font-size: 0.95rem;
  }

  .kc-hero-logo {
    width: min(78%, 280px);
  }
}
