.elementor-45842 .elementor-element.elementor-element-0ce9f1d{--display:flex;--min-height:0px;--background-transition:0.3s;}/* Start custom CSS for text-editor, class: .elementor-element-91dfc5d */.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.team-card {
  background: #f8f9fa;
  border: 2px solid #ddd;
  border-radius: 40px;
  padding: 25px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  min-height: 150px;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  background: #ffffff;
}

.team-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #222;
  font-weight: 600;
}

.team-card p {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #555;
}

/* ✅ Center the last card in its row */
.last-card {
  grid-column: 2 / span 1; /* places it in the middle column */
}

/* Responsive */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .last-card {
    grid-column: 1 / -1; /* centers full width on smaller screens */
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */