.doctor-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin: 15px;
  background-color: #ffffff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.doctor-card img.doctor-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.doctor-card h3 {
  margin: 10px 0;
  font-size: 20px;
  color: #2c3e50;
}

.doctor-card p {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Grid container for all doctor cards */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row on desktop */
  gap: 20px;
  margin-top: 30px;
}

/* Individual doctor card styling */
.doctor-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Doctor photo styling */
.doctor-card img.doctor-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

/* Text styling */
.doctor-card h3 {
  margin: 10px 0;
  font-size: 20px;
  color: #2c3e50;
}

.doctor-card p {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Responsive breakpoints */
@media (max-width: 991px) {
  .doctor-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablets */
  }
}

@media (max-width: 575px) {
  .doctor-grid {
    grid-template-columns: 1fr; /* 1 card per row on mobile */
  }
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #2c3e50; /* Replace with your brand color */
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #1a252f; /* Darker shade on hover */
  transform: translateY(-3px);
}