* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
  padding: 20px;
  
}
body {
    
  }

.agent-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.agent-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s;
}

.agent-card:hover {
  transform: scale(1.05);
}

.agent-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%; /* Optional: Makes the photo circular */
  display: flex;
  justify-content: center;
  align-items: center;
  /*background-color: #eaeaea;*/
}

.agent-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensures full image is visible without cropping */
  object-position: center; /* Centers the image inside the container */
}

.agent-info {
  padding: 15px;
  text-align: center;
}

.agent-info h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #333;
}

.agent-info p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #555;
}

.agent-info a {
  color: #007bff;
  text-decoration: none;
}


.agent-info a:hover {
  text-decoration: underline;
}
.formatted-phone {
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.5px;
}