html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Site-specific additions */
/* Hero adjustments for comfortable spacing */
.hero { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero .card { border: 0; }
.hero .card .card-body { padding: 1.25rem; }
.avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.15); box-shadow: 0 6px 18px rgba(16,32,64,0.08); }
.card .card-title { margin-bottom: .5rem; }
.site-header .brand { font-weight: 600; }
.tools .card { transition: transform .12s ease, box-shadow .12s ease; }
.tools .card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(20,40,80,0.08); }

/* Section and typography spacing */
section.py-5, .section { padding-top: 3rem; padding-bottom: 3rem; }
h1.display-4 { line-height: 1.05; margin-bottom: .5rem; }
h2 { margin-top: 1rem; margin-bottom: 1rem; }
.lead { margin-bottom: 1rem; }

/* Feature card spacing tweaks */
.feature-card { padding: 1.5rem; }
.feature-card .display-6 { margin-bottom: .5rem; }
.feature-card p { min-height: 3.6rem; }
/* Feature card styles for homepage */
.feature-card { background: #fff; border-radius: 12px; border: 1px solid rgba(20,40,80,0.04); box-shadow: 0 6px 18px rgba(16,32,64,0.04); }
.feature-card h5 { font-weight: 600; }
.feature-card .display-6 { font-size: 2.1rem; }
.feature-card p { min-height: 3.2rem; }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.material-symbols-outlined {
    flex: 0 0 1.5rem;
    width: 1.5rem;
}

.knowledge-base-navigation {
    min-width: 220px;
    max-width: 320px;
}