* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}
header {
  background-color: #fff;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
header img {
  max-width: 180px;
  transition: transform 0.3s ease;
}
header img:hover {
  transform: scale(1.05);
}
header p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #2e4d38;
  margin-top: 10px;
}

.mobile-buttons {
  display: none;
}
@media (max-width: 600px) {
  .mobile-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }
  .mobile-buttons a {
    background-color: #2e4d38;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  .mobile-buttons a:hover {
    background-color: #3b6b4e;
    transform: translateY(-2px);
  }
}

nav {
  background-color: #2e4d38;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #a8d5ba;
}

.hamburger {
  display: none;
  cursor: pointer;
  background-color: white;
  border: 2px solid #2e4d38;
  border-radius: 6px;
  padding: 10px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #2e4d38;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services {
  background-color: #f5f5f5;
}

.services h2, .about h2, .contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2e4d38;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.hero {
  background-image: url('images/stump.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

li {
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  color: #333;
}

li::before {
  content: "✔";
  color: #2e4d38;
  font-size: 1.1rem;
  margin-right: 10px;
  margin-top: 2px;
  animation: fadeIn 0.5s ease forwards;
  flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
li:nth-child(1)::before { animation-delay: 0.1s; }
li:nth-child(2)::before { animation-delay: 0.2s; }
li:nth-child(3)::before { animation-delay: 0.3s; }
li:nth-child(4)::before { animation-delay: 0.4s; }
li:nth-child(5)::before { animation-delay: 0.5s; }
li:hover::before {
  animation: bounce 0.3s ease;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

form {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 30px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  color: #2e4d38;
}
input, textarea, select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2e4d38;
  box-shadow: 0 0 5px rgba(46,77,56,0.2);
}
textarea {
  font-family: 'Open Sans', sans-serif;
  resize: vertical;
  min-height: 100px;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%232e4d38' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
}

button {
  background-color: #2e4d38;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
  background-color: #3b6b4e;
  transform: translateY(-2px);
}
footer {
  background-color: #2e4d38;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
  font-size: 0.9rem;
}
footer p {
  margin: 5px 0;
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0.5rem 1rem;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
  }

  nav ul {
    flex-direction: column;
    background-color: #2e4d38;
    width: 100%;
    padding: 1rem;
    position: static;
    display: none;
    gap: 0.5rem;
  }

  nav ul.active {
    display: flex;
  }

  nav a {
    font-size: 1rem;
    padding: 10px;
    display: block;
    text-align: center;
  }
}

.header-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link img {
  max-width: 180px;
}

.free-estimate-btn {
  position: absolute;
  left: 50%;
  transform: translateX(calc(-50% + 200px));
  background-color: #2e4d38;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.free-estimate-btn:hover {
  background-color: #3b6b4e;
  transform: translateX(calc(-50% + 200px)) translateY(-2px);
}

@media (max-width: 600px) {
  .free-estimate-btn {
    display: none;
  }
}

/* Reviews section */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.review-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;   /* center everything inside */
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.review-stars {
  color: #f5a623;
  font-size: 1.2rem;
  margin-bottom: .5rem;
  text-align: center;   /* ensure centered */
}

.review-author {
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;   /* centered name */
}

.thumbnail {
  display: flex;
  justify-content: center;   /* center thumbnails in panel */
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.thumbnail img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .3s;
  display: inline-block;
}

.thumbnail img:hover {
  transform: scale(1.05);
}

.google-logo {
  width: 20px;
  height: 20x;
  margin-left: 6px;
  vertical-align: text-top; /* or middle, depending on taste */
}

.lightbox-arrow {
  font-size: 2rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;
}
.lightbox-arrow:hover {
  background: rgba(0,0,0,0.7);
}

.blog-post {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.blog-post h2 {
  margin-top: 0;
  color: #2e4d38;
}

.blog-post .meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.blog-post p {
  font-size: 1rem;
  color: #333;
}

.icon { width: 1em; height: 1em; vertical-align: -0.125em; margin-right: 8px; }
