:root {
  --primary-color: #2d7a4f;
  --primary-dark: #1e5438;
  --secondary-color: #4a9d6f;
  --accent-color: #6abf8f;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --border-color: #e0e0e0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  padding-top: 70px;
}

.navbar {
  transition: all 0.3s ease;
}

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

.nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

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

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

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

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

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

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

.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9f5ef 100%);
}

.hero-section h1 {
  color: var(--dark-color);
  margin-bottom: 20px;
}

.hero-section .lead {
  color: #555;
  font-size: 1.2rem;
}

.features-section {
  padding: 80px 0;
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
  font-size: 3rem;
}

.icon-circle {
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-card img {
  height: 200px;
  object-fit: cover;
}

.page-header {
  background: linear-gradient(135deg, #2d7a4f 0%, #4a9d6f 100%);
  color: white;
  padding: 60px 0 40px 0;
  margin-bottom: 0;
}

.page-header h1 {
  color: white;
}

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

.about-preview,
.about-content,
.services-detail,
.contact-content {
  padding: 80px 0;
}

.approach-card,
.benefit-card {
  transition: transform 0.3s ease;
}

.approach-card:hover,
.benefit-card:hover {
  transform: translateY(-5px);
}

.icon-large {
  font-size: 3rem;
}

.value-item,
.process-step {
  padding: 20px;
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
}

.contact-form-wrapper {
  position: relative;
}

.form-control {
  border: 2px solid var(--border-color);
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(45, 122, 79, 0.15);
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.map-placeholder {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

.legal-text h2 {
  color: var(--primary-color);
  font-size: 1.75rem;
}

.legal-text h4 {
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.legal-text ul {
  margin-bottom: 1.5rem;
}

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

.contact-details,
.cookie-table {
  border-left: 4px solid var(--primary-color);
}

.footer {
  margin-top: 80px;
}

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

.footer a:hover {
  opacity: 0.8;
}

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

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

.cookie-banner p {
  margin: 0;
}

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

.thank-you-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  padding: 100px 0;
}

.thank-you-content {
  max-width: 700px;
  margin: 0 auto;
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-weight: bold;
}

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

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

  .features-section,
  .about-preview,
  .services-preview {
    padding: 40px 0;
  }

  .service-card img {
    height: 150px;
  }

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

  .page-header {
    padding: 40px 0 20px 0;
  }

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

  .cookie-banner .row {
    text-align: center;
  }

  .cookie-banner .text-md-right {
    text-align: center !important;
    margin-top: 15px;
  }

  .thank-you-section {
    padding: 60px 0;
  }

  .action-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 60px;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

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

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

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

  .icon-circle {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.5rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.25rem;
  }
}
