/* Base */
*{box-sizing:border-box}
html,body{margin:0}
body{
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color:#3b3f42; background:#fff; line-height:1.6;
}

/* Header/Nav */
.site-header{
  position:sticky; top:0; z-index:1000;
  background:#fff; border-bottom:1px solid #e7ebed;
}
.container{max-width:1100px;margin:0 auto;padding:0 20px}
.header-wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;font-weight:800;color:#124d3c}

.brand-name{font-size:18px}
.nav a{
  text-decoration:none; color:#6b6f73; font-weight:600; margin-left:18px;

  color: #333;
  font-weight: 600;
}
.nav a:hover{color:#3b3f42}

/* Hero */
.hero{
  height: 75vh; position:relative;
  background:url('assets/hero.jpg') center/cover no-repeat;
  display:flex; align-items:center; justify-content:center; text-align:center; color:#fff;
}
.overlay{position:absolute;inset:0;background:rgba(0,0,0,0.5)}
.hero-content{position:relative;z-index:1;max-width:800px;padding:20px}
.hero h1{font-size:2.1rem;margin-bottom:12px}
.hero p{font-size:1.1rem;margin-bottom:18px}
.cta-btn{ background:#124d3c; color:#fff; border:2px solid #124d3c; padding:16px 24px; font-weight:700; border-radius:8px; text-decoration:none; display:inline-block; font-size:1rem; }


.cta-btn:hover{ background:#0d382b; color:#fff; border-color:#0d382b; }



/* Sections */
.section{padding:48px 0 padding: 96px 20px; }
.section h2{text-align:center;color:#124d3c;margin:0 0 18px}
.alt{background:#f6f8f7}

.grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;margin-top:12px
}
.card{
  background:#fff;border-radius:10px;padding:18px;
  box-shadow:0 2px 12px rgba(0,0,0,0.06); text-align:center
}
.card h3{margin:0 0 8px;color:#124d3c}

.pricing-grid{
  display:flex;flex-wrap:wrap;gap:18px;justify-content:center;margin-top:12px
}
.price-card{
  background:#fff;border-radius:10px;padding:18px;min-width:240px;flex:1;max-width:320px;
  box-shadow:0 2px 12px rgba(0,0,0,0.06);text-align:center
}
.price{font-size:22px;color:#124d3c;font-weight:800;margin:6px 0}

/* About */
.about-list{margin:10px auto 0;max-width:700px}
.about-list li{margin:6px 0}

/* Forms */
.form{max-width:760px;margin:10px auto 0}
.form .row{display:flex;gap:12px;flex-wrap:wrap}
.form label{display:block;flex:1;min-width:220px;font-size:14px;color:#3b3f42}
.form input,.form textarea{
  width:100%;padding:10px;border:1px solid #e1e4e6;border-radius:6px;margin-top:6px;background:#fff;color:#3b3f42
}
.muted{color:#6b6f73;font-size:13px;margin-top:10px;text-align:center}

/* Footer */
.site-footer{border-top:1px solid #e7ebed;padding:18px 0;text-align:center;color:#6b6f73}


/* Header logo styling */
`px;
  margin-left: 12px;
  vertical-align: middle;
}


/* Adjusted header logo sizing and spacing */
`px;
  margin-right: 12px;
  vertical-align: middle;
}
.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #124d3c;
}



/* --- Anchor scroll offset and smooth scrolling --- */
:root { --nav-offset: 96px; } /* adjust to your header height */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-offset); }
section[id] { scroll-margin-top: var(--nav-offset); }

.panel{background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}
.panel-accent{background:#f7faf9;border:1px solid #e3eee9}
.grid.two{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.grid.three{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.steps .step{background:#fff;border:1px solid #eef2f4;border-radius:12px;padding:18px}
.bullets{margin:0;padding-left:18px}
.bullets li{margin:6px 0}

@media (max-width: 768px){
  .section{padding:72px 16px}
  .grid.two, .grid.three{grid-template-columns:1fr}
}

/* Extra breathing room between key sections */
.section-spaced{ margin-top: 64px; margin-bottom: 64px; }
.section + .section { margin-top: 48px; }
@media (max-width: 768px){
  .section-spaced{ margin-top: 48px; margin-bottom: 48px; }
  .section + .section { margin-top: 36px; }
}

/* Large hero CTA button */
.cta-btn--hero{
  background: rgba(18,77,60,0.82);
  color:#fff;
  border: 2px solid rgba(18,77,60,0.82);
  padding:24px 44px;
  font-size:1.4rem;
  font-weight:700;
  border-radius:10px;
  backdrop-filter: blur(10px);
  text-decoration:none;
  display:inline-block;
  transition:all .2s ease-in-out;
}
.cta-btn--hero:hover{
  background: rgba(13,56,43,0.9);
  transform:scale(1.05);
}
.cta-btn--hero:hover{
  background:#0d382b;
  color:#fff;
  transform:scale(1.05);
}

/* Subtle brand-green divider line before footer */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #124d3c;
  opacity: 0.2;
  margin: 60px 0 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.18)); /* subtle dark overlay */
  z-index: 1;
}
.hero * {
  position: relative;
  z-index: 2;
}

.hero h1, .hero p {
  text-align: center;
  text-shadow: 0 0 6px rgba(0,0,0,0.5), 0 0 12px rgba(0,0,0,0.3);
}

.header-logo{height:40px;width:auto;margin-right:10px;vertical-align:middle}


/* Logo sizing (higher specificity + responsive) */
.site-header .header-logo{height:44px;width:auto;margin-right:10px;vertical-align:middle}
@media (min-width: 1280px){
  .site-header .header-logo{height:52px}
}


/* Navigation hover and active highlight */
.nav a {
  position: relative;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  transition: color 0.2s ease-in-out;
}

.nav a:hover,
.nav a.active {
  color: #124d3c;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #124d3c;
  transition: width 0.25s ease-in-out;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}


/* Responsive Navigation */
.nav-toggle{display:none;position:relative;width:40px;height:32px;border:0;background:transparent;cursor:pointer}
.nav-toggle .bar{display:block;width:100%;height:3px;margin:6px 0;transition:transform .25s ease, opacity .2s ease; background:currentColor}
body.nav-open .nav-toggle .bar:nth-child(1){transform:translateY(9px) rotate(45deg)}
body.nav-open .nav-toggle .bar:nth-child(2){opacity:0}
body.nav-open .nav-toggle .bar:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

/* Mobile overlay & menu (translucent dropdown) */
.mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);backdrop-filter:blur(2px);z-index:98}
.mobile-menu{position:fixed;top:64px;right:12px;left:12px;border-radius:12px;background:rgba(255,255,255,0.9);backdrop-filter:saturate(120%) blur(6px);box-shadow:0 10px 30px rgba(0,0,0,.15);z-index:99;padding:12px}
.mobile-menu a{display:block;padding:14px 16px;border-radius:8px;text-decoration:none;color:#124d3c;font-weight:600}
.mobile-menu a:hover{background:rgba(18,77,60,0.08)}

/* Layout rules */
@media (max-width: 900px){
  .header-wrap{height:64px}
  .js .nav-toggle{display:inline-block}
  /* Hide desktop nav on small screens */
  .js .site-header .nav{display:none}
}

@media (min-width: 901px){
  .mobile-overlay, .mobile-menu{display:none !important}
}

/* Ensure header is sticky if desired */
.site-header{position:sticky;top:0;z-index:100;background:#fff}

.nav-toggle{z-index:101}


/* --- Mobile alignment & iOS safe-area tweaks --- */
:root{ --header-height: 64px; }
.site-header{ position:sticky; top:0; z-index:100; background:#fff; padding-top: env(safe-area-inset-top, 0); }
.header-wrap{ display:flex; align-items:center; justify-content:space-between; height:var(--header-height); padding:0 12px; }

/* Put hamburger on far right on mobile */
.nav-toggle{ display:none; margin-left:auto; width:40px; height:40px; align-items:center; justify-content:center; }
@media (max-width: 900px){
  .nav-toggle{ display:inline-flex; }
  .js .site-header .nav{ display:none; }
}

/* Anchor dropdown under the button on the right side */
.mobile-menu{
  position:fixed;
  top: calc(env(safe-area-inset-top, 0) + var(--header-height));
  right: 12px;
  left: auto;
  min-width: 220px;
  max-width: 90vw;
}
/* Larger touch targets */
.mobile-menu a{ padding:16px 18px; }

/* Ensure the button is above the overlay and easy to tap */
.nav-toggle{ z-index: 110; }
.mobile-overlay{ z-index: 105; }

.nav-toggle{ color:#124d3c }
.nav-toggle .bar{ height:3.5px }


/* Flash confirmation / errors */
.flash{margin:16px auto;max-width:900px;padding:14px 16px;border-radius:10px;font-weight:600}
.flash.ok{background:rgba(18,77,60,0.08);color:#124d3c;border:1px solid rgba(18,77,60,0.25)}
.flash.err{background:rgba(171,14,14,0.06);color:#6b1010;border:1px solid rgba(171,14,14,0.25)}

/* Ensure hidden elements never display (iOS Safari quirk) */
[hidden]{ display:none !important; }
