/* Team Grid Layout Fix - 4 columns with consistent spacing */
.our-people-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: start;
  align-items: start;
}

/* Preserve responsive behavior for smaller screens */
@media screen and (max-width: 991px) {
  .our-people-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 479px) {
  .our-people-row {
    grid-template-columns: 1fr;
  }
}

/* Footer Newsletter Form Styling */
.footer-form-wrapper {
  margin-top: 20px;
}

.footer-form-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.footer-form {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-form-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  min-width: 200px;
}

.footer-form-input:focus {
  outline: none;
  border-color: #38d552;
}

.footer-form-btn {
  padding: 12px 24px;
  background-color: #38d552;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.footer-form-btn:hover {
  background-color: #2fb344;
}

.success-message,
.error-message {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
}

@media screen and (max-width: 479px) {
  .footer-form {
    flex-direction: column;
  }
  
  .footer-form-input {
    width: 100%;
  }
  
  .footer-form-btn {
    width: 100%;
  }
}

/* Footer Contact Icons - Ensure consistent sizing and alignment */
.footer-icon-container {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
}

.footer-icon-container img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

/* Make email icon match the green theme color like other icons */
.footer-nav-column address .footer-list-item:has(img[alt="email icon"]) .footer-icon-container img,
.footer-nav-column address .footer-list-item:has(img[src*="mail.svg"]) .footer-icon-container img {
  filter: brightness(0) saturate(100%) invert(67%) sepia(89%) saturate(1200%) hue-rotate(85deg) brightness(105%);
}

/* Fallback for browsers that don't support :has() */
.footer-icon-container img[alt="email icon"],
.footer-icon-container img[src*="mail.svg"]:not([src*="mail-nav"]) {
  filter: brightness(0) saturate(100%) invert(67%) sepia(89%) saturate(1200%) hue-rotate(85deg) brightness(105%);
}

