/* === BASE === */
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto Slab", serif;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #605e5e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.logo {
  width: 200px;
  height: auto;
  max-width: 100%;
}

.spacer {
  flex-grow: 1;
}

#nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.navbar li {
  text-align: right;
}

.nav-button {
  background-color: #91c743;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 2em;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
  background-color: #349214;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* === ESTIMATE BUTTON === */
#estimate {
  font-size: 2em;
  padding: 5px 20px;
  border-radius: 2em;
  background-color: #91c743;
  transition: background-color 0.3s ease;
}

#estimate:hover {
  background-color: #349214;
  color: black;
  text-decoration: underline;
}

/* === BANNER === */
.banner-card {
  width: 100%;
  margin: 0 auto;
}

.banner {
  width: 100%;
  height: auto;
  display: block;
  min-height: 500px;
}

.banner-text {
  position: absolute;
  top: 30%;
  right: 0;
  transform: translateY(50%);
  background-color: #91c73e;
  color: whitesmoke;
  padding: 20px;
  border-top-left-radius: 5em;
  border-bottom-right-radius: 5em;
  box-shadow: 50px 50px 100px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.banner-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.banner-btn {
  padding: 15px 30px;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 2em;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s ease;
  text-align: center;
}

.call-btn {
  background-color: #349214;
}

.call-btn:hover {
  background-color: #2a7410;
}

.estimate-btn {
  background-color: #1a73e8;
}

.estimate-btn:hover {
  background-color: #135cc7;
}

.banner-text ul {
  margin-top: 10px;
  column-count: 2;
  column-gap: 30px;
  list-style: none;
  padding: 0;
}

.banner-text li {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

/* === INFO BLOCKS === */
.block-element-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 40px 20px;
}
.block-element-box a {
  text-decoration: none;
  color: white;
}
.block-info {
  display: block;
  background-color: #91c743;
  color: white;
  width: 300px;
  height: 500px;
  padding: 20px;
  border-top-left-radius: 2em;
  border-bottom-right-radius: 2em;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block-info img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.block-info h2 {
  font-size: 2em;
  margin: 10px 0;
  font-weight: bold;
}

.block-info p {
  font-size: 1.1em;
  line-height: 1.5;
}

.block-info:hover {
  transform: translateY(-22px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.block-info h2:hover {
  color: black;
  text-decoration: underline;
}

/* === MEET THE COMPANY === */
.block-element-infobox {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 20px;
  background-color: #f5f5f5;
}

.block-text {
  max-width: 600px;
  text-align: center;
  margin: -20px auto 0;
}

.block-text h2 {
  height: 100px;
  font-size: 3em;
  background-color: #91c743;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3em 3em 0 0;
  padding: 10px;
}

.block-text p {
  font-size: 1.2em;
  line-height: 1.5;
  margin-top: 10px;
}

.block-text img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
}

/* === SERVICE AREA === */
.info-block {
  background-color: #eef9e9;
  padding: 20px 25px;
  border-left: 6px solid #91c743;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  color: #2e4622;
  margin: 30px auto;
  max-width: 800px;
}

.info-block h3 {
  color: #4a6f2f;
  margin: 0 0 10px;
}

/* === CONTACT FORM === */
.contact-form-section {
  background-color: #f5f5f5;
  padding: 40px 20px;
  border-top-right-radius: 3em;
  border-bottom-left-radius: 3em;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 50px auto;
  max-width: 700px;
}

.contact-form-section h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  font-size: 1em;
  border: 2px solid #91c73e;
  border-radius: 10px;
  font-family: "Roboto Slab", serif;
}

.contact-form button {
  background-color: #44a11b;
  color: white;
  font-size: 1.2em;
  padding: 12px;
  border: none;
  border-radius: 2em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #369214;
}

/* === FOOTER === */
.footer {
  background-color: #605e5e;
  color: whitesmoke;
  padding: 20px 40px;
  border-top-left-radius: 3em;
  border-top-right-radius: 3em;
  margin-top: 50px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left p {
  margin: 0;
}

.footer-right a {
  color: whitesmoke;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #91c743;
  text-decoration: underline;
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }

    #nav-links {
      flex-direction: column;
      align-items: center;
      width: 100%;
      gap: 15px;
      padding: 0;
      margin: 10px 0;
    }

    .nav-button {
      font-size: 1.2em;
      padding: 10px 20px;
      text-align: center;
    }

    .logo {
      width: 150px;
    }

    .spacer {
      display: none; /* Not needed in column layout */
    }

    .logo {
      width: 150px;
    }

    .block-element-box {
      flex-direction: column;
    }

    .contact-form-section {
      border-radius: 1em;
      padding: 30px 15px;
    }

    .contact-form button {
      font-size: 1.3em;
    }

    .footer-content {
      flex-direction: column;
      text-align: center;
    }

    .footer-right a {
      display: block;
      margin: 10px 0;
    }
  }
  @media (max-width: 420px) {
    .banner-text li {
      display: none;
    }
  }
}
.tree-service-section {
  min-height: 900px;
  max-width: 1100px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

.tree-service-section h2 {
  font-size: 2.5em;
  color: #4a6f2f;
  margin-bottom: 30px;
}

.tree-service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.tree-service-card {
  background-color: #91c743;
  color: white;
  width: 250px;
  padding: 15px;
  border-radius: 1.5em;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  text-align: center;
}

.tree-service-card img {
  width: 100%;
  height: auto;
  border-radius: 1em;
}

.tree-service-card h3 {
  margin-top: 15px;
  font-size: 1.3em;
}

.tree-service-card:hover {
  transform: translateY(-10px);
}
.service-card {
  background-color: #91c743;
  color: white;
  padding: 15px;
  border-radius: 1.5em;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .tree-service-section h2 {
    font-size: 2em;
  }

  .tree-service-card {
    width: 90%;
  }
}
