* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main,
section {
  flex: 1;
}

footer {
  margin-top: auto;
}

.bg-primary {
  background-color: #0056b3 !important;
}

.text-primary {
  color: #0056b3 !important;
}

.btn-primary {
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
}

.btn-primary:hover {
  background-color: #003d82 !important;
  border-color: #003d82 !important;
}

.btn-outline-primary {
  color: #0056b3;
  border-color: #0056b3;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #0056b3;
  border-color: #0056b3;
}

.border-primary-light {
  border-color: #e0e7ff !important;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.1) !important;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0056b3 !important;
}

.nav-link.active {
  color: #0056b3 !important;
  border-bottom: 2px solid #0056b3;
}

.hero-section {
  background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
}

.hero-section img {
  max-height: 400px;
  object-fit: cover;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

.text-white-50 {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }

  .hero-section .row {
    flex-direction: column-reverse;
  }

  .nav-link {
    padding: 0.5rem 0 !important;
  }

  .card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .btn {
    width: 100%;
  }

  .form-control {
    margin-bottom: 0.5rem;
  }
}

.form-control:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.checkbox-input {
  accent-color: #0056b3;
}

input[type="checkbox"]:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}
