:root {
  --primary-color: #1e3a8a;
  --primary-dark: #1e293b;
  --secondary-color: #3b82f6;
  --accent-color: #0ea5e9;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

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

.navbar-brand {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

.navbar {
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

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

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85), rgba(14, 165, 233, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header {
  padding: 4rem 0;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0.5rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.shadow-sm {
  box-shadow: var(--shadow);
}

.shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.rounded {
  border-radius: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-banner a {
  color: var(--accent-color);
  text-decoration: underline;
}

.cookie-banner .btn {
  font-weight: 600;
  padding: 0.5rem 1.5rem;
}

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

footer a:hover {
  opacity: 0.8;
}

.policy-content h2 {
  color: var(--primary-color);
}

.policy-content h5 {
  color: var(--text-dark);
}

.policy-content ul {
  padding-left: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.accordion .btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.accordion .btn-link:hover {
  color: var(--primary-dark);
}

.min-vh-100 {
  min-height: 100vh;
}

@media (max-width: 991.98px) {
  .hero-section {
    height: 400px;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay .lead {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .cookie-banner .text-right {
    text-align: left !important;
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    height: 300px;
  }

  .order-lg-1 {
    order: 1;
  }

  .order-lg-2 {
    order: 2;
  }
}
