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

:root {
  --primary-blue: #0056b3;
  --dark-blue: #003d7a;
  --light-gray: #f8f9fa;
  --dark-gray: #212529;
  --border-color: #dee2e6;
}

html,
body {
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #ffffff;
  color: var(--dark-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.navbar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--primary-blue) !important;
}

.nav-link {
  color: var(--dark-gray) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue) !important;
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  font-weight: 600;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

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

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-title {
  color: var(--dark-gray);
  font-weight: 600;
}

.text-primary {
  color: var(--primary-blue) !important;
}

.bg-light {
  background-color: var(--light-gray) !important;
}

.bg-dark {
  background-color: var(--dark-gray) !important;
}

.border-bottom {
  border-bottom: 1px solid var(--border-color) !important;
}

.border-secondary {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

footer {
  margin-top: auto;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-blue) !important;
}

.cookie-banner {
  display: none;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
  display: flex;
}

.text-info {
  color: #17a2b8 !important;
}

.text-info:hover {
  color: #138496 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-gray);
  font-weight: 600;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.small {
  font-size: 0.9rem;
}

.form-control {
  border-color: var(--border-color);
  border-radius: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.form-group label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.alert-info {
  background-color: #e7f3ff;
  border-color: #b3d9ff;
  color: #004085;
}

.custom-control-label {
  font-size: 0.95rem;
}

.display-4 {
  font-size: 2.5rem;
  font-weight: 700;
}

.display-5 {
  font-size: 2rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.25rem;
  }

  .nav-link {
    margin: 5px 0;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1rem;
  }

  .cookie-banner {
    flex-direction: column;
  }

  .cookie-banner .btn {
    margin-top: 10px;
    margin-left: 0 !important;
  }

  .card-img-top {
    height: 150px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .display-4 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 0.95rem;
  }
}
