:root {
  --color-primary: #16a34a;
  --color-secondary: #1f2937;
  --color-light: #f3f4f6;
  --color-white: #ffffff;
  --color-dark: #111827;
  --color-text: #374151;
  --color-border: #e5e7eb;
}

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

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

body {
  background-color: var(--color-white);
}

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

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

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

.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-header {
  background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.8;
}

.service-card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-card .card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.testimonial-card {
  border: none;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.testimonial-card .card-text {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.testimonial-card .stars {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.faq-card {
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.faq-card .card-header {
  background-color: var(--color-primary) !important;
  border: none;
  cursor: pointer;
  padding: 1.25rem;
  font-weight: 500;
}

.faq-card .card-header h6 {
  font-size: 1.05rem;
}

.faq-card .card-body {
  color: var(--color-text);
  line-height: 1.8;
}

.cta-section {
  background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
  border-radius: 10px;
  padding: 3rem 2rem !important;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section .btn-light {
  background-color: white;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
  background-color: var(--color-light);
  transform: scale(1.05);
}

.btn-success {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #15803d !important;
  border-color: #15803d !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(22, 163, 74, 0.3);
}

.btn-lg {
  padding: 0.8rem 2.5rem !important;
  font-size: 1.1rem;
}

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

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

.form-check-label {
  color: var(--color-text);
}

.form-check-label a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.form-check-label a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--color-secondary);
  color: white;
  margin-top: 5rem;
}

footer h5 {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

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

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

.cookie-consent .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-consent p {
  margin: 0;
  flex: 1;
  margin-right: 2rem;
  min-width: 200px;
}

.cookie-consent > div {
  display: flex;
  align-items: center;
}

.min-vh-100 {
  min-height: 100vh;
}

.section-alternating {
  transition: background-color 0.3s ease;
}

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

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

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

.text-muted {
  color: #9ca3af;
}

.cursor-pointer {
  cursor: pointer;
}

hr {
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.7rem;
  }

  .cookie-consent .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent p {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .cookie-consent > div {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 576px) {
  .hero-section {
    height: 350px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .cta-section {
    padding: 2rem 1rem !important;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }
}
