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

:root {
  --primary-color: #6d5b95;
  --primary-dark: #5a4a7a;
  --primary-light: #8b7ba8;
  --accent-color: #6d5b95;
  --text-dark: #2c2c2c;
  --text-light: #555555;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.hero-section {
  padding: 60px 0;
  background-size: cover;
  background-position: center;
}

.hero-section h1 {
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.25rem;
  opacity: 0.95;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  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 12px rgba(109, 91, 149, 0.3);
}

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

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

.card {
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

h5 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-light);
  line-height: 1.8;
}

strong {
  color: var(--text-dark);
  font-weight: 700;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

footer {
  background-color: #1a1a1a;
  margin-top: 4rem;
  padding-top: 3rem;
}

footer h6 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
  color: white;
  text-decoration: none;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c2c2c;
  color: white;
  padding: 1.5rem 0;
  border-top: 3px solid var(--primary-color);
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

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

.cookie-banner .btn {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
}

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

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(109, 91, 149, 0.25);
  color: var(--text-dark);
}

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

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(109, 91, 149, 0.25);
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

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

  .hero-section {
    padding: 40px 0;
  }

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

  .hero-section p {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  .row {
    margin: -0.5rem;
  }

  [class*="col-"] {
    padding: 0.5rem;
  }

  .cookie-banner {
    padding: 1rem 0;
  }

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

  .cookie-banner .col-md-4 {
    text-align: left;
    margin-top: 0.75rem;
  }

  .col-md-4.text-right {
    text-align: left !important;
  }

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

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .card-title {
    font-size: 1rem;
  }

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

  .cookie-banner p {
    font-size: 0.85rem;
  }
}
