

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Card styles */
.card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #555;
}

.card-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.card-footer button,
.card-footer a {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: none;
  color: white;
  flex: 1;
  text-align: center;
}

.btn-edit {
  background: #ffc107;
}

.btn-delete {
  background: #dc3545;
}

.card-footer button:hover,
.card-footer a:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .card-img-top {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .card-img-top {
    height: 150px;
  }
}
/* button  */
/* Learn More / Show Less button style */
.card-body .btn-link {
  text-decoration: none;   /* underline remove */
  padding: 0;              /* already p-0, just to be sure */
  font-weight: normal;     /* optional, normal weight */
}

.card-body .btn-link:hover {
  text-decoration: none;   /* hover me bhi underline off */
}