﻿* {
  box-sizing: border-box;
}

:root {
  --primary-color: #1a4f3a;
  --primary-light: #4ade80;
  --accent-color: #059669;
  --text-color: #1e293b;
  --text-light: #64748b;
  --bg-color: #f8fafc;
  --bg-secondary: #e2e8f0;
  --white: #ffffff;
  --dark: #0f172a;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-color);
}

h1 { font-size: calc(2.5rem + 1.5vw); }
h2 { font-size: calc(1.425rem + 1.1vw); }
h3 { font-size: calc(1.375rem + .8vw); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.375rem; }
h6 { font-size: 1.125rem; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--text-color);
}

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

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

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-3 { flex: 0 0 auto; width: 25%; }

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../gfx/s0pcs1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 79, 58, 0.85) 0%, rgba(5, 150, 105, 0.7) 100%);
  z-index: -1;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  padding-bottom: .75rem;
  transition: all 0.3s ease;
}

.navbar-brand {
  padding-top: .5rem;
  padding-bottom: .5rem;
  margin-right: 1.25rem;
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: .75rem 1.25rem;
  color: var(--text-color);
  font-weight: 500;
  transition: color .3s ease;
}

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

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: .375rem .875rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid var(--primary-color);
  border-radius: .75rem;
  color: var(--primary-color);
  cursor: pointer;
}

.collapse:not(.show) {
  display: none;
}

.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  border-radius: .75rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.btn-action-1:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 79, 58, 0.3);
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border-color: white;
}

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

.btn-lg {
  padding: 1.125rem 1.875rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: .875rem;
}

.form-control, .form-select {
  display: block;
  width: 100%;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-color);
  background-color: white;
  border: 2px solid var(--bg-secondary);
  border-radius: .75rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.3rem rgba(26, 79, 58, 0.15);
}

.form-label {
  margin-bottom: .75rem;
  display: inline-block;
  font-weight: 500;
}

.form-check {
  display: block;
  min-height: 1.75rem;
  padding-left: 2.5rem;
  margin-bottom: 0;
}

.form-check-input {
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0;
  margin-left: -2.5rem;
  vertical-align: top;
  background-color: white;
  border: 2px solid var(--bg-secondary);
  appearance: none;
  border-radius: .375rem;
  cursor: pointer;
}

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

.form-check-label {
  cursor: pointer;
  font-size: .95rem;
}

.bg-bg-2 { background-color: var(--bg-secondary); }
.bg-bg-3 { background-color: var(--bg-color); }
.bg-action-1 { background-color: var(--primary-color); }
.bg-white { background-color: var(--white); }
.bg-dark { background-color: var(--dark); }

.text-white { color: white !important; }
.text-muted { color: var(--text-light) !important; }
.text-action-1 { color: var(--primary-color) !important; }
.text-white-50 { color: rgba(255,255,255,0.5) !important; }

.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; }
.sticky-top { position: sticky !important; top: 0 !important; z-index: 1020; }
.overflow-hidden { overflow: hidden !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.min-vh-100 { min-height: 100vh !important; }

.fw-bold { font-weight: 600 !important; }
.fw-medium { font-weight: 500 !important; }
.opacity-90 { opacity: 0.9 !important; }

.rounded { border-radius: .5rem !important; }
.rounded-3 { border-radius: 1rem !important; }
.rounded-circle { border-radius: 50% !important; }
.border-start { border-left: 1px solid !important; }
.border-5 { border-width: 5px !important; }
.border-action-1 { border-color: var(--primary-color) !important; }

.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }

.list-unstyled { padding-left: 0; list-style: none; }

.img-fluid { max-width: 100%; height: auto; }

.gap-3 > * + * { margin-left: 1rem !important; }

.display-3 { font-size: calc(1.675rem + 4.2vw); font-weight: 700; line-height: 1.15; }
.display-4 { font-size: calc(1.575rem + 3.9vw); font-weight: 700; line-height: 1.15; }
.display-5 { font-size: calc(1.525rem + 2.4vw); font-weight: 600; line-height: 1.15; }

.fs-1 { font-size: 1.625rem !important; }
.fs-2 { font-size: 1.4375rem !important; }
.fs-3 { font-size: 1.3125rem !important; }
.fs-4 { font-size: 1.1875rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .75rem !important; }
.mb-3 { margin-bottom: .875rem !important; }
.mb-4 { margin-bottom: 1.25rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.mb-6 { margin-bottom: 1.75rem !important; }
.mb-7 { margin-bottom: 2rem !important; }
.mb-8 { margin-bottom: 2.25rem !important; }
.mb-9 { margin-bottom: 2.5rem !important; }
.mb-16 { margin-bottom: 4rem !important; }

.mt-7 { margin-top: 2rem !important; }
.mt-16 { margin-top: 4rem !important; }

.me-3 { margin-right: .875rem !important; }
.ms-3 { margin-left: .875rem !important; }
.ms-auto { margin-left: auto !important; }

.p-4 { padding: 1.25rem !important; }
.p-7 { padding: 2rem !important; }
.p-8 { padding: 2.25rem !important; }

.py-3 { padding-top: .875rem !important; padding-bottom: .875rem !important; }
.py-8 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
.py-11 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.px-4 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-5 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-7 { padding-left: 2rem !important; padding-right: 2rem !important; }

.ps-7 { padding-left: 2rem !important; }
.ps-13 { padding-left: 3.5rem !important; }

.pt-9 { padding-top: 2.5rem !important; }
.pb-16 { padding-bottom: 4rem !important; }

.g-4 > * { padding: .75rem; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  z-index: 1050;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 576px) {
  .container { max-width: 560px; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }
}

@media (min-width: 768px) {
  .container { max-width: 740px; }
  
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }

  .flex-md-row { flex-direction: row !important; }
  .text-md-start { text-align: left !important; }
  .justify-content-md-end { justify-content: flex-end !important; }
  .justify-content-md-start { justify-content: flex-start !important; }
  
  .mb-md-0 { margin-bottom: 0 !important; }
  .py-md-21 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
}

@media (min-width: 992px) {
  .container { max-width: 980px; }
  
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }

  .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .navbar-nav .nav-link { padding-right: .75rem; padding-left: .75rem; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mb-lg-13 { margin-bottom: 3.5rem !important; }
  .mb-lg-21 { margin-bottom: 5rem !important; }
  .py-lg-21 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
  .text-lg-start { text-align: left !important; }
}

@media (min-width: 1200px) {
  .container { max-width: 1160px; }
  
  .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
  
  h1 { font-size: 4.5rem; }
  h2 { font-size: 2.125rem; }
  .display-3 { font-size: 4.75rem; }
  .display-4 { font-size: 3.5rem; }
  .display-5 { font-size: 3.25rem; }
}

@media (min-width: 1400px) {
  .container { max-width: 1340px; }
  
  .col-xxl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xxl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xxl-6 { flex: 0 0 auto; width: 50%; }
  .col-xxl-7 { flex: 0 0 auto; width: 58.33333333%; }
}