.footer {
  background: linear-gradient(to top, #5a9e36 0%, #5aa4dc 100%);
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  border-radius: 16px;
}

.footer-top h2 {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 10px;
  margin-top: 15px;
  text-shadow: 1px 1px 2px #333;
}

.footer-bottom h2 {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px #333;
}

.footer-top p {
  margin: 6px 0;
  color: #f5f5f5;
  font-size: 1em;
}

.footer-bottom p {
  margin: 6px 0;
  color: #f5f5f5;
  font-size: 1em;
}

.footer-top a {
  color:white;
}

.footer-bottom a {
  color:white;
}

/* Inherit the feature tile styles */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 0 15px;
}

.feature-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.feature-box {
  background: #f9fff9;
  border: 2px solid #95c445;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.feature-boxcatalogue {
  background: #f9fff9;
  border: 2px solid #95c445;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}


.feature-link:hover .feature-box {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.feature-box img {
  display: block;
  width: 100%;
  height: auto;
  max-width:152px;
  margin: 0 auto;
}

.feature-box h3 {
  margin-top: 6px;
  font-size: 1.5em;
  color: #5e8c1e;
  padding:0px;
  text-align:center;
}

.cta-button {
  display: inline-block;
  max-width: 90%;         /* Prevent overflow */
  box-sizing: border-box; /* Include padding in width */
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #3498db;
  color: white;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;    /* Prevent text from wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-link:hover .cta-button {
  background-color: #2c80b4; /* darker blue */
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

