body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('/images/bg.jpg');
}

/*  ADD THIS RIGHT HERE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  overflow-x: hidden;
}
/* Center wrapper */

.wrapper {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  border-left: 2px solid #5d8426;
  border-right: 2px solid #5d8426;

}
@media (max-width: 768px) {
  .wrapper {
    border-left: none;
    border-right: none;
    box-shadow: none;
  }
}


/* Top banner */
.top {
  width: 100%;
  background: none;          /* REMOVE black background */
  padding: 0;
  border-radius: 20px 20px 0 0;
  overflow: hidden;          /* ensures rounded corners clip image */
}
@media (max-width: 768px) {
  .top {
    border-radius: 0;
  }
}
/* Stretch header image properly */
.header-img {
  width: 100%;
  height: auto;             /* adjust based on your design */
  object-fit: cover;         /* fills box nicely without distortion */
  display: block;
}


.banner img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.service-areas {
  position: absolute;
  right: 10px;
  top: 10px;
  text-align: right;
}

/* Tagline bar */
.tagline {
  background: #dfeadf;
  text-align: center;
  padding: 8px;
  font-style: italic;
  border-bottom: 4px solid #79a83b;
}

/* Layout */
.content {
  display: flex;
  padding: 10px;
  max-width: 100%;
  overflow: hidden;

  /* Base color (fallback) */
  background-color: #85b347;

  /* Gradient from your screenshot */
  background-image: linear-gradient(
    to bottom,
    #9ecb5c 0%,    /* lighter top */
    #8fbe4f 25%,
    #85b347 50%,
    #79a83b 75%,
    #6f9f2f 100%   /* darker bottom */
  );

  /* Slight depth like original */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -3px 5px rgba(0,0,0,0.2);
}
/* Sidebar */
.sidebar {
  width: 200px;
 flex-shrink: 0;
  background: transparent; /* IMPORTANT */
}


/* Navigation */
/* Base button style (used everywhere now) */
.nav-btn {
  display: block;
  padding: 9px 10px;

  font-weight: bold;
  font-size: 14px;
  color: #000;
  text-decoration: none;

  border: 2px solid #3e5f1a;
  border-radius: 3px;

  background-image: linear-gradient(
    to bottom,
    #b8e07a 0%,
    #9ccc4a 15%,
    #86b63d 50%,
    #6f9f2f 85%,
    #648f2a 100%
  );

  box-shadow:
    inset 0 1px 0 #dfffaa,
    inset 0 -2px 2px rgba(0,0,0,0.25),
    0 1px 0 rgba(0,0,0,0.2);
}
.nav a {
  display: block;
  margin-bottom: 6px;
  text-align: left;
}
.nav ul {
  list-style: none;   /* removes dots */
  margin: 0;
  padding: 0;
}
.nav li {
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;           /* THIS makes buttons work */
  margin-bottom: 6px;
  text-align: left;
}


.nav-btn:hover {
  background: #fff;               /* white background */
  color: #3e5f1a;                /* green text */
  border-color: #3e5f1a;         /* keep border visible */

  /* remove the gradient and bevel look */
  box-shadow: none;
}


.nav-btn:active {
  background: #e6e6e6;
  color: #3e5f1a;

  transform: translateY(1px);
}
/* Main */
.main {
  flex: 1;
  min-width: 0;
  padding: 10px;
}

/* Boxes */

.box {
  border: 1px solid #999;
  border-radius: 8px;
}


/* Columns */
.columns {
  display: flex;
  gap: 20px;
}

.columns.small > div {
  flex: 1;
  font-size: 14px;
}

/* Image placeholders */
.image-row {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.img-box {
  flex: 1;
  height: 120px;
  background: #ccc;
  border: 1px solid #999;
}

/* Footer */
.footer {
  background: black;
  color: white;
  padding: 10px;
  margin-top: 10px;
  text-align: center;
}

.footer-member {
  background: #7fb24a; /* green strip behind */
  padding: 10px 0;
	width: 100%;
}

.member-inner {
  background: #3e7375; /* teal panel */
  color: #fff;

  margin: 0 auto;
  width: 100%;
  max-width: 1000px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 15px;
  position: relative;
}

/* Logo on left */
.member-logo {
  position: absolute;
  left: 15px;
}

.member-logo img {
  height: 70px;
}

/* Center text */
.member-text {
  text-align: center;
}

.member-text .small {
  font-size: 18px;
}

.member-text .large {
  font-size: 32px;
  letter-spacing: 1px;
}

.top-content {
  background: #eee;
  padding: 15px;
}
.footer-bar {
  background: #000;
  color: #fff;
  width: 100%;
  display: flex;
  justify-content: space-between;

  padding: 8px 15px;
  font-size: 14px;
}
.footer-bottom {
  background: #87c440;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  padding: 20px 0;
}

/* Centered text */
.footer-credit {
  text-align: center;
  font-size: 12px;
}

.footer-credit a {
  color: inherit;          /* same color as surrounding text */
  text-decoration: none;   /* removes underline */
  font-size: inherit;      /* same size as copyright */
  font-family: inherit;    /* same font */
}

.footer-credit a:hover {
  text-decoration: none;   /* prevents underline on hover */
  color: inherit;
}

/* Facebook icon right */
.footer-social {
  position: absolute;
  right: 20px;
}

.footer-social img {
  width: 30px;
}
.footer-member {
  background: #87c440;   /* same green as rest */
  text-align: center;
}

.footer-member img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* Flag strip */
.flag-banner {
  height: 60px;
  background: url('images/flag.jpg') no-repeat center;
  background-size: cover;
  margin-bottom: 10px;
}

.special {
  font-style: italic;
  margin: 0;
}

.headline {
  font-size: 32px;
  margin: 10px 0;
}

.headline span {
  font-weight: bold;
}

/* Service bullets */
.service-list {
  margin-left: 20px;
}

.service-list li {
  margin-bottom: 10px;
}

.service-list strong {
  color: #79a83b;
  font-style: italic;
}

.service-list p {
  margin: 5px 0 0 15px;
}
.headline-bar {
  background: #a8c37c;
  padding: 8px 15px;
  font-size: 18px;
  border-top: 1px solid #6f9f2f;
  border-bottom: 1px solid #6f9f2f;
}
.feature-section {
  display: flex;
  border: 1px solid #333;
  background: #fff;
  max-width: 100%;
  overflow: hidden;
}

/* LEFT GRID */
.feature-grid {
min-width: 0;
  width: 50%;
}
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
.feature {
  border: 1px solid #999;
  text-align: center;
}

.feature img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.caption {
  padding: 5px;
  font-size: 14px;
}

/* RIGHT IMAGE */
.feature-large {
  flex: 1;
  border-left: 1px solid #999;
  width: 50%;
  min-width: 0;
}

.feature-large img {
  width: 100%;
  height: 100%;
  display: block;
}
.callout-bar {
  background: #87c440;
  text-align: center;
  padding: 10px;
}

.callout-bar .nav-btn {
  display: inline-block;
}


.sample-btn {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 10px;

  background: #eee;
  border: 1px solid #444;

  text-decoration: none;
  color: #000;
  font-size: 13px;
}
.seasonal-callout {
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;   /* fills entire area cleanly */

}
/* Text area */
.callout-text {
  white-space: nowrap;
  display: inline-block;

  font-size: 20px;
  font-weight: bold;

  padding-left: 100%;
  line-height: 75px;   /* vertically center within 75px */

  animation: scroll-text 25s linear infinite;
}


/* Scrolling animation */
@keyframes scroll-text {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.winter .callout-text {
  font-family: Georgia, serif;
  color: #202020;
}

.spring .callout-text {
  font-family: Tahoma, sans-serif;
  color: #000080;
}

.summer .callout-text {
  font-family: Tahoma, sans-serif;
  color: #000;
}

.fall .callout-text {
  font-family: Tahoma, sans-serif;
  color: #000;
}
@media (max-width: 768px) {

  /* Stack layout */
  .content {
    flex-direction: column;
    padding: 5px;
  }

  /* Sidebar becomes top section */
  .sidebar {
    width: 200px;
	flex-shrink: 0;
  }

  .main {
	flex: 1;
    padding: 10px;
  }

  /* Improve text readability */
  .headline {
    font-size: 24px;
  }

  /* Stack columns */
  .columns {
    flex-direction: column;
  }

  /* Image row stacks */
  .image-row {
    flex-direction: column;
  }

  /* Feature section stacks cleanly */
.feature-section {
  display: flex;
  border: 1px solid #333;
  background: #fff;

  max-width: 100%;    
  overflow: hidden;   
}

.feature-grid {
  width: 50%;
  min-width: 0;       
}

.feature-large {
  width: 50%;
  min-width: 0;       
}

  /* Seasonal banner becomes readable */
  .seasonal-callout {
    height: auto;
    padding: 10px;
	width: 100%;
  }

  .callout-text {
    white-space: normal;
    animation: none;
    padding-left: 0;
    line-height: normal;
    font-size: 16px;
    text-align: center;
  }

  /* Footer stacking */
  .footer-bar {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-social {
    position: static;
    margin-top: 10px;
  }
}
/* Hide toggle checkbox */
#nav-toggle {
  display: none;
}

/* Toggle button */
.nav-toggle-label {
  display: none;
  background: #3e5f1a;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

/* Default nav */
.nav-menu {
  margin: 0;
  padding: 0;
}

/* MOBILE NAV */
@media (max-width: 768px) {

  .nav-toggle-label {
    display: block;
  }

  .nav-menu {
    display: none;
  }

  /* SHOW when checked */
  #nav-toggle:checked + .nav-menu {
    display: block;
  }

  /* Make buttons bigger for touch */
  .nav-btn {
    font-size: 16px;
    padding: 12px;
  }
}