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;
}

/* Modern base typography and background */
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background-image: url('/images/Maize_slider_72dpi_1920x550px.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: #222;
}

/* translucent content card to improve readability on background */
.site-card {
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  margin-top: 28px;
  margin-bottom: 28px;
}

/* Forms and buttons */
.form-control, .form-select, .form-check-input {
  border-radius: 8px;
  padding: 10px 12px;
}

.btn-primary {
  background: linear-gradient(90deg,#2573d6,#1a6fd1);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
}

/* Footer spacing */
footer.footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.472);
  padding: 12px 0;
}

/* Logo sizing in navbar */
.navbar-logo {
  height: 48px;
  width: auto;
}

.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;
}