:root {
  --color-primary: #1e3a8a;
  --color-primary-dark: #1e40af;
  --color-secondary: #3b82f6;
  --color-accent: #60a5fa;
  --color-text: #111827;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-light: #f9fafb;
  --color-border: #e5e7eb;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

input[type="checkbox"]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-primary);
}

ul {
  list-style-position: inside;
}

section {
  position: relative;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

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

#mobile-menu-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

#mobile-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.submit-spinner .iconify {
  width: 1.25rem;
  height: 1.25rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
  transition: var(--transition);
}

form input[type="text"]:hover,
form input[type="email"]:hover,
form input[type="tel"]:hover,
form select:hover,
form textarea:hover {
  border-color: #9ca3af;
}

form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.iconify {
  display: inline-block;
  vertical-align: middle;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

article h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

article h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

article p {
  margin-bottom: 1rem;
}

article ul, article ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

article li {
  margin-bottom: 0.5rem;
}

article a {
  color: var(--color-primary);
  text-decoration: underline;
}

article a:hover {
  color: var(--color-primary-dark);
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

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

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

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.cookie-modal-content {
  background: white;
  border-radius: 0.5rem;
  padding: 2rem;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.smooth-scroll {
  scroll-behavior: smooth;
}