:root {
  --primary: #2d7a4f;
  --primary-light: #4a9f6d;
  --primary-dark: #1f5636;
  --secondary: #f0f0f0;
  --text-dark: #1a1a1a;
  --text-muted: #666;
  --border-color: #e0e0e0;
  --bg-light: #fafafa;
  --success: #27ae60;
}

* {
  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;
  color: var(--text-dark);
  background-color: #fff;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 600;
}

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

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

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

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

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-outline-light {
  border-color: #fff;
  color: #fff;
}

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

.btn-outline-secondary {
  color: var(--text-muted);
  border-color: var(--text-muted);
}

.btn-outline-secondary:hover {
  background-color: var(--text-muted);
  border-color: var(--text-muted);
  color: #fff;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.brand-accent {
  color: var(--primary);
  margin-right: 5px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin-left: 1rem;
}

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

.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-section h1 {
  color: #fff;
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

.btn-group-custom {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-header {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

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

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

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-card {
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.value-card {
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.testimonial-card {
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

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

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.95);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.contact-item h6 {
  color: var(--primary);
}

.contact-form .form-control {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

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

.contact-form textarea {
  resize: vertical;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  margin-right: 0.5rem;
}

.checkbox-text {
  font-size: 0.95rem;
}

.form-control-lg {
  font-size: 1rem;
}

footer {
  margin-top: auto;
}

footer a {
  color: inherit;
  text-decoration: none;
}

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

.cookie-banner {
  background-color: var(--bg-light);
  border-top: 2px solid var(--border-color);
  padding: 1.5rem 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-muted);
}

.cookie-banner a {
  color: var(--primary);
}

.py-md-8 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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

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

  .btn-group-custom {
    flex-direction: column;
  }

  .btn-group-custom .btn {
    width: 100%;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    position: relative;
  }

  .py-md-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  footer {
    text-align: center;
  }

  .col-md-6.text-md-right {
    text-align: center !important;
  }
}

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

  .h1 {
    font-size: 1.75rem;
  }

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

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

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

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

body {
  display: flex;
  flex-direction: column;
}

main,
section {
  flex: 1;
}
