/* Blog Section */
.blog {
  background: #f9f2f6;
  padding: 40px 20px;
  text-align: center;
}

.blog h2 {
  font-size: 2rem;
  color: #800040;
  margin-bottom: 10px;
}

.blog .intro {
  max-width: 90%;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #555;
}

.blog-grid {
display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 25px;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-info {
  padding: 20px;
}

.blog-info h3 a {
  color: #800040;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s;
}

.blog-info h3 a:hover {
  color: #b30059;
}

.blog-info p {
  color: #444;
  font-size: 0.95rem;
  margin: 10px 0 15px;
}

.blog-info .date {
  font-size: 0.85rem;
  color: #777;
}
.blog-card {
  background: #f9f2f6;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  height: 550px;
  position: relative; /* IMPORTANT */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.read-more {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #800040;
  color: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.read-more:hover {
  background: #b30059;
}

@media (max-width:560px) {
  .blog-grid{
    display: flex;
    flex-direction: column;
  }
  .blog-card {
    height: 600px;
  }
  
}
@media (max-width: 1024px) and (min-width: 561px) {
  .blog-card {
    height: 720px;
  }
  
}