* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.blog-heading {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  font-family: Playfair Display, serif;
  position: relative;
  padding-bottom: 10px;
  padding-top: 2rem;
  margin-bottom: 1rem;
}
.blog-heading::after {
  content: "";
  position: absolute;
  width: 136px;
  border-radius: 10px;
  height: 5px;
  background: #00417a;
  bottom: 0;
  transform: translateX(-100%);
}
.blog-heading span:nth-child(1) {
  color: #00417a;
  font-family: Playfair Display, serif;
}
.blog-heading span:nth-child(2) {
  color: #000205;
  font-family: Playfair Display, serif;
}
.blog-contenainer {
  padding-top: 100px;
}

.hover-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}

.hover-card img {
  transition: transform 0.5s ease;
}

.hover-card:hover {
  transform: translateY(-5px); /* Card moves slightly upwards */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.hover-card:hover img {
  transform: scale(1.1); /* Image zooms slightly */
  filter: brightness(70%); /* Darkens the image */
}

.hover-card .card-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  transition: background 0.3s ease;
  /* background: rgba(0, 0, 0, 0.6); */
  width: 100%;
  /* height: 100%; */
  color: white;
  padding: 20px;
  /* text-align: center; */
  align-items: start;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.3rem;
  font-family: Playfair Display, serif;
  text-transform: capitalize;
  font-weight: 300;
}
.card-title:hover {
}
.hover-card .card-title,
.hover-card .card-text,
.hover-card .btn-primary {
  transition: color 0.3s ease;
  text-align: left;
}

.hover-card:hover .card-title {
  color: rgb(4, 218, 234);
}

.hover-card:hover .btn-primary {
  /* background-color: rgb(4, 218, 234); Button color change */

  color: #fff;
  border: none;
}
