:root {
  --primary-color: #dc3545;
  --primary-dark: #c82333;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --border-color: #dee2e6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 76px;
}

.navbar {
  transition: all 0.3s ease;
}

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

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

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

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 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: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-outline-dark {
  border-width: 2px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #fff 0%, var(--bg-light) 100%);
}

.hero-section h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.hero-section .lead {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-section img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-header {
  padding: 4rem 0 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.page-header h1 {
  color: white;
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.9);
}

.benefits-section .card,
.services-preview .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits-section .card:hover,
.services-preview .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon,
.service-feature-icon {
  font-size: 3rem;
  line-height: 1;
}

.features-section img {
  transition: transform 0.3s ease;
}

.features-section img:hover {
  transform: scale(1.02);
}

.card {
  border-radius: 0.5rem;
  overflow: hidden;
}

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

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.footer {
  margin-top: 4rem;
}

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

.footer a:hover {
  opacity: 0.8;
}

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

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

.cookie-consent a {
  color: white;
  text-decoration: underline;
}

.cookie-consent .btn {
  min-width: 100px;
}

.testimonials-section .card {
  border-left: 4px solid var(--primary-color);
}

.cta-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
}

.contact-info strong {
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

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

.thank-you-section {
  padding: 6rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto;
  font-weight: bold;
}

.legal-content {
  font-size: 0.95rem;
}

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

.legal-content ul {
  margin-bottom: 1rem;
}

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

.legal-content .alert {
  border-left: 4px solid #856404;
}

.table {
  margin-top: 1rem;
}

.table th {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }

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

  .hero-section .lead {
    font-size: 1.1rem;
  }

  .page-header {
    padding: 3rem 0 1.5rem;
  }

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

@media (max-width: 767.98px) {
  body {
    padding-top: 66px;
  }

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

  .hero-section img {
    margin-top: 2rem;
  }

  .cookie-consent .btn {
    width: 100%;
    margin-top: 0.5rem;
  }

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

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

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