:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --white: #ffffff;
}

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

html,
body {
  height: 100%;
}

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

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

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

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

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

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

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

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

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

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

.logo-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  margin-right: 8px;
  font-weight: bold;
  color: var(--primary-color);
}

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

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

.nav-link.active {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
}

.hero-section {
  padding-top: 80px;
}

.hero-section h1 {
  line-height: 1.2;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.125rem;
  line-height: 1.6;
}

.benefits-section h2,
.practices-section h2,
.testimonials-section h2,
.values-section h2,
.service-faq h2 {
  font-weight: 700;
  line-height: 1.2;
}

.benefit-card,
.practice-card,
.testimonial-card,
.profile-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover,
.practice-card:hover,
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.benefit-card h4,
.profile-card h4 {
  font-weight: 600;
}

.practice-card h4 {
  font-weight: 600;
  margin-top: 1rem;
}

.testimonial-card p:first-child {
  font-style: italic;
}

.page-hero {
  background-color: var(--light-color);
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-hero h1 {
  font-weight: 700;
}

.faq-item h5 {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--secondary-color);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info h5 {
  font-weight: 600;
}

.contact-item {
  margin-bottom: 2rem;
}

.form-wrapper {
  background-color: var(--white);
}

.form-control {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

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

.form-check-input {
  margin-top: 0.3rem;
}

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

.map-placeholder {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
}

.cta-section,
.services-cta,
.contact-cta {
  background-color: var(--primary-color);
}

.cta-section h2,
.services-cta h2,
.contact-cta h2 {
  font-weight: 700;
}

.footer {
  background-color: var(--dark-color);
  color: var(--white);
}

.footer h5 {
  font-weight: 600;
  color: var(--white);
}

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

.footer a:hover {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-color);
  color: var(--white);
  padding: 1.5rem 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
}

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

.cookie-banner p {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 40px;
  }

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

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

  .practice-card {
    margin-bottom: 2rem;
  }

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

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

  .contact-cta,
  .services-cta,
  .cta-section {
    text-align: center;
  }

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

  .form-wrapper {
    margin-top: 2rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

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

  .cookie-banner .col-md-4 {
    width: 100%;
    margin-top: 1rem;
    text-align: left;
  }

  .cookie-banner .text-md-right {
    text-align: left;
  }

  .btn-outline-primary {
    margin-right: 0.5rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.25rem;
  }

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

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

  .lead {
    font-size: 1rem;
  }

  .benefit-card,
  .profile-card {
    margin-bottom: 1.5rem;
  }

  .page-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .btn {
    width: 100%;
  }

  .btn-sm {
    width: auto;
  }

  .footer {
    text-align: center;
  }

  .footer .col-md-4 {
    margin-bottom: 2rem;
  }

  .footer a {
    display: block;
  }
}

.text-balance {
  text-wrap: balance;
}
