:root {
  --green: #48a12f;
  --grey: #f4f4f4;
}
h1,
h2,
h3 {
  color: var(--green);
}
h1 {
  font-size: 1.8em;
}
h2 {
  font-size: 1.6em;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}
.header-wrapper {
  position: relative;
  text-align: center;
}
header {
  background: #fff;
  color: var(--green);
  padding: 1em;
  text-align: center;
}

.header-wrapper img {
  max-width: 200px;
  height: auto;
}

.phone {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
}

.navbar {
  background: var(--green);
}

.navbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 1em;
}

.hero {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: center;
  position: relative;
  padding: 2em 1em;
  background: url(CoreGreenimage.jpg);
  background-color: var(--green);
  background-attachment: fixed;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 300px;
  height: 60vh;
  color: var(--green);
}

.hero-text {
  max-width: 45vw;
  position: absolute;
  top: 2em;
  left: 2em;
  background: rgba(255, 255, 255, 0.3);
  padding: 1em 1.5em;
  border-radius: 8px;
  display: inline-block;
  }

.hero h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.1em;
  max-width: 600px;
  margin: 0 auto 1em;
}
.content-section {
  max-width: 1200px; /* limits the width for readability */
  margin: 0 auto; /* centers the section */
  padding: 2em 1em; /* space around the content */
  text-align: left; /* or center if you prefer */
}

.col-2 {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}

.col-2 > div {
  flex: 1 1 45%;
}

.col-3 {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
}

.col-3 > div {
  flex: 1 1 25%;
}

.col-1-3-2-3 {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}

.col-1-3-2-3 > div:first-child {
  flex: 1 1 30%;
}

.col-1-3-2-3 > div:last-child {
  flex: 1 1 65%;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.cta-div {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 4em 1em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-div h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: white;
  margin-top: 0;
}

.cta-div p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.cta-button {
  background: #fff;
  color: var(--green);
  text-decoration: none;
  padding: 0.75em 2em;
  border-radius: 5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition:
    background 0.3s,
    color 0.3s;
}

.cta-button:hover {
  background: #f4f4f4;
  color: var(--green);
}

.reviews-section {
  background: var(--grey);
  padding: 4em 1em;
  text-align: center;
}

.reviews-section h2 {
  margin-bottom: 2em;
  font-size: 2em;
}

.review-single {
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 45%; /* let it flex alongside */
  max-width: 500px; /* optional: cap max size */
}

.review-text {
  font-style: italic;
  margin-bottom: 1em;
}

.review-author {
  font-weight: 600;
  color: var(--green);
}

.review-stars {
  margin-top: 0.5em;
  max-width: 120px;
  margin: 0 auto 1em auto;
  height: auto;
  display: block;
}
/*ABOUT*/
.about-image img,
.map img {
  max-width: 100%;
  height: auto;
  display: block;
}
.about-image h4,
p {
  margin: 0;
}
/*Contact*/
form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

/*Services*/
.rates {
  width: 100%;
  background-color: var(--green);
  color: #fff;
  padding:20px;
  text-align: center;
  font-size: 1.3em;
}

.form-group {
  display: flex;
  flex-direction: column;
}

form label {
  font-weight: 600;
  margin-bottom: 0.25em;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

button {
  padding: 0.75em;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #3b8a2e;
}

.captcha-wrapper {
  margin-top: 1em;
}

button {
  display: block;
  width: 100%;
  padding: 0.75em;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 1.5em;
  cursor: pointer;
}

button:hover {
  background: #3b8a2e;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  padding: 0.5em;
}
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2em 1em;
  background: var(--grey);
}
.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 1em;
  padding: 1.5em;
  max-width: 300px;
  flex: 1 1 220px;
}
.service-card h3 {
  margin-top: 0;
  color: var(--green);
}

@media (max-width: 768px) {
  .navbar nav {
    flex-direction: column;
    display: none;
  }
  .navbar nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
    margin: 0 auto;
  }
  .phone {
    position: static;
    transform: none;
    display: block;
    margin-top: 0.5em;
  }
  .hero {
    height: 300px;
  }
  .hero-text {
  max-width: 98vw;
  background: rgba(255, 255, 255, 0.5);
    
  padding: 0.5em 1em;
  border-radius: 8px;
  display: inline-block;
}
  .hero-text h1{
    line-height: 1.2em;
  }
  .col-2 {
    flex-direction: column;
  }

  .col-2 > div {
    flex: 1 1 100%;
  }
  .col-1-3-2-3 {
    flex-direction: column;
  }

  .col-1-3-2-3 > div {
    flex: 1 1 100%;
  }
  .col-3 {
    flex-direction: column;
  }

  .col-3 > div {
    flex: 1 1 100%;
  }
}
