:root {
  --brand-green: #2E7D32;
  --brand-light: #66BB6A;
  --brand-bg: #F5F9F5;
  --ink: #222;
  --muted: #5b6b63;
  --card: #ffffff;
  --accent: #1B5E20;
  --link: #0B72B9;
  --shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background-color: var(--brand-bg);
  line-height: 1.7;
  margin: 0;
}

/* Banner text font styles applied globally */
.banner-text {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--brand-green);
  text-align: center;
  padding: 2rem 1rem;
}

/* Header / Banner specific styles for layout */
header {
  position: relative;
  margin: 0;
  padding: 0;
}

header img.banner {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  margin: 0;
}

header .banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
  font-size: clamp(1.03rem, 2.52vw, 1.44rem);
  max-width: 90%;
  z-index: 1;
  /* Note: font-weight and color are removed here to avoid conflicts */
}

/* Layout */
.container {
  max-width: 980px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
}

.card {
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem;
  margin: 1.25rem 0;
}

/* Navigation */
nav {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  min-height: 60px;
}

nav .brand {
  display: flex;
  align-items: center;
  height: 100%;
}

nav a {
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

nav a.active,
nav a:hover {
  background: var(--brand-bg);
  color: var(--brand-green);
}

.brand img {
  width: 30px !important;
  height: auto !important;
  display: block;
}

/* Typography */
h1,
h2 {
  font-weight: 800;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  margin: 0.5rem 0 0.75rem;
}

h1.title-green {
  color: var(--brand-green);
}

h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  margin: 1.25rem 0 0.5rem;
  color: var(--brand-green);
}

h3 {
  font-size: 1.05rem;
  margin: 1rem 0 0.5rem;
  color: var(--brand-green);
}

.lead {
  color: #2a2a2a;
  font-size: 1.05rem;
}

/* Grid Layout */
.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-inner > div:last-child {
    display: flex;
    gap: 0.5rem;
  }
}

/* Badges */
.badge {
  display: inline-block;
  background: var(--brand-bg);
  color: var(--brand-green);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0.25rem 0.25rem 0 0;
}

/* Call to Action Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-green);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--brand-green);
  transition: all 0.2s ease;
  cursor: pointer;
}

.cta.secondary {
  background: transparent;
  color: var(--brand-green);
  border-color: var(--brand-green);
}

.cta:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
}

/* Lists */
ul.check {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

ul.check li {
  padding-left: 1.6rem;
  position: relative;
  margin: 0.45rem 0;
}

ul.check li:before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand-light);
  font-weight: 900;
}

/* Extra styling for homepage columns cards */
.grid-features > div {
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
  padding: 2rem 2rem;
  line-height: 1.5;
  transition: box-shadow 0.3s ease;
}

.grid-features > div:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.11);
}

/* Distinguishing heading style inside columns */
.grid-features h3 {
  margin-top: 0;
  color: var(--brand-green);
  font-weight: 700;
  font-size: 1.3rem;
}

/* Footer */
footer {
  color: var(--muted);
  opacity: 0.9;
  padding: 2rem 0;
}

footer .fine {
  color: var(--muted);
  font-size: 0.9rem;
}
