* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to bottom right, #ffffff, #f7f7f7);
  color: #222;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

header h1 {
  font-size: 2.2rem;
  color: #d90429; 
  text-transform: uppercase;
  letter-spacing: 2px;
}

header p {
  color: #555;
  font-size: 1rem;
}

.blog-main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 1.5rem;
}

.card-content h2 {
  color: #d90429;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.card-content p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.back-btn {
  display: inline-block;
  background: #d90429;
  color: white;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.back-btn:hover {
  background: #b30321;
}

footer {
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #eee;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  .card img {
    height: 220px;
  }

  .card-content h2 {
    font-size: 1.3rem;
  }
}
