/* Resetting margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #ffffff;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

header {
  padding: 20px;
  text-align: left;
}

.logo {
  width: 150px;
}

.team-section {
  text-align: center;
  padding: 20px;
}

.team-section h1 {
  font-size: 36px;
  margin-bottom: 40px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.team-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-card h2 {
  font-size: 22px;
  margin: 15px 0;
}

.team-card p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #777;
}

.team-card:hover {
  transform: scale(1.05);
}

/* Footer with Back to Home button */
footer {
  margin-top: 50px;
  text-align: center;
  padding-bottom: 30px;
}

.back-button {
  background-color: #007bff;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-button:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-card {
    width: 80%;
  }
}
