body {
    background: #e8f5e9;
    color: #004d40;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

/* Layout Containers */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
    color: #004d40;
    padding-bottom: .25em;
}

.site-title a,
.site-title a:link,
.site-title a:visited,
.site-title a:hover,
.site-title a:active {
    text-decoration: none;
    color: inherit;
}

.bi {
    vertical-align: middle;
}

/* Custom icon color */
.icon-green {
    color: #004d40;
}

.icon-green:hover {
    color: #00695c;
}

/* Language Selector */
.lang-select {
    width: 120px;
}

/* Footer */
.site-footer {
    background-color: #ffffffee;
    border-top: 1px solid #b2dfdb;
    color: #004d40;
}

.site-footer a {
    color: #004d40;
    text-decoration: none;
    margin: 0 0.5rem;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ===============================
   Global Branding Additions
================================= */

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 77, 64, 0.7), rgba(0, 77, 64, 0.7)),
                url("/static/hero-bg.svg") center/cover no-repeat;
    color: #ffffff;
    padding: 6rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Features Section */
.features .feature-card {
    background-color: #ffffffee;
    border-radius: 1rem;
    padding: 2rem 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #b2dfdb;
}

.features .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.features i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00796b;
}

/* Call to Action */
.cta {
    background: linear-gradient(to right, #00796b, #004d40);
    color: #fff;
    padding: 4rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    background-color: #00796b;
    border-color: #00796b;
}

.btn-primary:hover {
    background-color: #004d40;
    border-color: #004d40;
}

.btn-custom {
    background-color: #00796b;
    color: white;
}

.btn-custom:hover {
    background-color: #004d40;
    color: white;
}

.btn-outline-custom {
    border: 2px solid #00796b;
    color: #00796b;
}

.btn-outline-custom:hover {
    background-color: #00796b;
    color: #fff;
}

.lang-dropdown .btn-outline-secondary {
    border-width: 2px;
}

/* Utilities */
.rounded {
    border-radius: 1rem !important;
}

/* =========================================================
   Landing Page: Hero, Transforming Nav, Sections, Offcanvas
   (Safe to append at end of your existing styles.css)
========================================================= */

/* Smooth anchor scroll + sticky offset when nav is docked on top */
:root { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; } /* adjust if you change nav height */

/* ===== Fullscreen Hero ===== */
/* Make the hero a two-row grid: content + nav bar */
.landing-hero {
  min-height: 100svh; /* mobile-friendly full viewport */
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  padding: 0rem;
  grid-template-rows: 1fr auto; /* hero content fills, nav sits at bottom */
  background: linear-gradient(to bottom, #f4feff, #e8f5e9);
}
/* .landing-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(0, 77, 64, 0.65), rgba(0, 77, 64, 0.65)),
    url("/static/hero-bg.svg") center/cover no-repeat;
  border-radius: 0;
  z-index: 0;
} */
.landing-hero > .hero-inner {
  position: relative; z-index: 1;
  color: #0b3143;
}
.hero-logo {
  width: clamp(160px, 25vw, 400px);
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.25));
}
.hero-title {
  font-weight: 800;
  letter-spacing: .2px;
  margin-bottom: .25rem;
}
.hero-teaser {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  opacity: .95;
}

/* ===== Transforming Nav Bar (bottom -> top sticky) ===== */
/* Footer-inside-hero; becomes fixed header when .stuck */

/* Ensure the nav spans full viewport width while inside the hero */
.site-header.sticky-top{
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: auto;
  border-top: none;
  border-bottom: 1px solid #b2dfdb;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  background-color: #ffffffee;
  border-bottom: 1px solid #b2dfdb;
  backdrop-filter: saturate(120%) blur(4px);
  width: 100%;
  justify-self: stretch; /* stretch across the grid */
  align-self: end;       /* sit at the bottom row */
}
.landing-nav{
  position: sticky;
  bottom: 0;
  z-index: 1030;
  background-color: #ffffffee;
  border-top: 1px solid #b2dfdb;
  border-bottom: 1px solid #b2dfdb;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  backdrop-filter: saturate(120%) blur(4px);
  transition: box-shadow .3s ease, border-color .3s ease, transform .25s ease;
  width: 100%;
  justify-self: stretch; /* stretch across the grid */
  align-self: end;       /* sit at the bottom row */
}
.landing-nav .container-wide,
.site-header .container-wide{
  display:flex;align-items:center;justify-content:space-between;min-height:64px;gap:.75rem;
}
.landing-nav .nav-logo,
.site-header .nav-logo {
  height: 30px;
}
.landing-nav.stuck{
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: auto;
  border-top: none;
  border-bottom: 1px solid #b2dfdb;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.nav-spacer{height:0}
.nav-spacer.push-down{min-height:65px;}

/* Brand + menu */
.landing-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.landing-menu a.nav-link {
  color: #004d40;
  text-decoration: none;
  padding: .25rem .5rem;
  border-radius: .5rem;
}
.landing-menu a.nav-link:hover {
  background-color: #e0f7fa;
}

/* Right controls */
.landing-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.btn-outline-custom i,
.btn-primary i {
  vertical-align: -2px;
  margin-right: .35rem;
}

/* ===== Sections (below hero) ===== */
section.section {
  padding: 4rem 0;
}

/* Features */
.features .feature-card {
  background-color: #ffffffee;
  border-radius: 1rem;
  padding: 2rem 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid #b2dfdb;
  height: 100%;
}
.features .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.features i {
  font-size: 2.25rem;
  color: #00796b;
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, #00796b 0%, #004d40 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 3rem 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

/* ===== Offcanvas (mobile menu) ===== */
.landing-toggler {
  display: none; /* shown on md- and below via media query */
}

@media (max-width: 1024px) {
  .landing-menu {
    display: none !important; /* hidden on mobile; use offcanvas instead */
  }
  .landing-toggler {
    display: inline-flex;
  }
  .landing-nav .site-title,
  .site-header .site-title {
    font-size: 2rem;
  }
}

/* ===== Nav active state + underline ===== */
.landing-menu a.nav-link.active,
.offcanvas .nav-link.active {
  color: #00796b;
  position: relative;
}

.landing-menu a.nav-link.active::after,
.offcanvas .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* Optional: subtle transition for hover/active */
.landing-menu a.nav-link,
.offcanvas .nav-link {
  transition: color .15s ease, background-color .15s ease;
}