:root {
  --primary: #0066cc;
  --primary-dark: #004499;
  --secondary: #666666;
  --light: #f5f5f5;
  --dark: #1a1a1a;
  --border: #dddddd;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background-color: #ffffff;
  line-height: 1.6;
}

main {
  min-height: calc(100vh - 200px);
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  top: 0;
}

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

.nav-link {
  color: var(--secondary) !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

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

.hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.btn-light {
  color: var(--primary);
  font-weight: 600;
}

.btn-light:hover {
  background-color: #f5f5f5;
  color: var(--primary-dark);
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
}

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

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

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

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

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

img {
  max-width: 100%;
  height: auto;
}

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

.shadow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
}

footer a {
  transition: color 0.3s ease;
}

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

.form-control {
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-check-input {
  border-color: var(--border);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 0;
  }

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

  .hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero img {
    margin-top: 1rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .container-lg {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .text-center {
    text-align: center;
  }

  h3 {
    font-size: 1.5rem;
  }

  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .col-md-4,
  .col-md-3 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

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

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

  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }

  main {
    margin-top: 60px;
  }

  .hero {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .btn-lg {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }

  .footer {
    font-size: 0.9rem;
  }

  .text-secondary {
    font-size: 0.95rem;
  }
}
