.blog-container {
  max-width: 1200px;
  width: 100%;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #333;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.blog-card {
  background-color: #fff;
  width: 100%;
  max-width: 350px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 20px;
  color: #007acc;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-title i {
  color: #007acc;
}

.blog-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.read-more {
  align-self: flex-start;
  color: #007acc;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #007acc;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.read-more i {
  color: #007acc;
}

.read-more:hover {
  background-color: #007acc;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-list {
    justify-content: center;
  }
}
