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%;
}

:root {
  --primary-font: 'Open Sans', sans-serif;
  --secondary-font: 'Vollkorn', serif;
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa;
  color: #000;
  font-family: var(--secondary-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
button,
.btn,
.nav-link,
label,
.fw-bold,
b,
strong,
em,
i {
  font-family: var(--primary-font);
}

/* Common Card Styling */
.card {
  border: none;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  /* Soft shadow */
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Modern Form Inputs */
.form-control,
.form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.6rem 1rem;
  transition: all 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus {
  border-color: #002c59;
  box-shadow: 0 0 0 0.2rem rgba(0, 44, 89, 0.25);
}

/* Button Overrides */
.btn {
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn[style*="background-color: #002c59"],
.btn[style*="background-color: #f09650"] {
  color: white !important;
}

.btn[style*="background-color: #002c59"]:hover,
.btn[style*="background-color: #f09650"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -5px rgba(0, 44, 89, 0.4);
  opacity: 0.95;
}

.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;
}