body {
  font-family: Arial, sans-serif;
  background: #f8f9fa;
  margin: 0;
  padding: 2rem;
}

.card-container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 100px;
  word-spacing: 3px;
  margin-top: 150px;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* <-- Shadow added */
  overflow: hidden;
  width: 300px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
 
}




.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced on hover */
}


.card img {
  width: 100%;
  height: 300px;         /* Increase this value as needed */
  object-fit: cover;     /* Ensures the image covers the box without stretching */
  display: block;
}
.category {
  background-color: #1a1a1a;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 6px 10px;
  display: inline-block;
  margin: 10px;
  border-radius: 4px;
  
}






.card-title {
  display: block;
  font-weight: bold;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  margin: 10px;
  line-height: 1.5; /* Adjust this value as needed */
}
.card-title:hover {
  color: #007bff;
}

.card p {
  font-size: 14px;
  margin: 10px;
  color: #333;
  word-spacing: 4px;
}

.card-footer {
  font-size: 12px;
  color: #666;
  margin: 10px;
}


.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.pagination button {
  background-color: white;
  border: 1px solid #007bff;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  color: #007bff;
  transition: 0.2s;
}

.pagination button:hover {
  background-color: #007bff;
  color: white;
}
.category a{
  text-decoration: none;
  color: white;
}

.category a:hover{
  color: aquamarine;
}
