.custom-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.custom-logo-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 40px; /* Adjust the gap between logos */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.custom-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Align the text at the bottom */
  text-align: center;
}

.custom-logo-img {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.custom-logo-section p,
.custom-logo-container p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #251e62;
  margin-bottom: 0; /* Ensure there's no extra space below the text */
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover .custom-logo-img {
  opacity: 0.8;
}

a:hover p {
  color: #333;
}

.blogs-content {
  width: 100%;
  aspect-ratio: 4 / 3; /* Set a consistent aspect ratio for all images */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-main_img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill the container without distortion */
}

.blos-links {
  display: inline-block;
  position: relative;
}

.blos-links:hover .blog-main_img {
  filter: brightness(90%);
}
.service_hero h1 {
  opacity: 0;
  text-align: center;
  transform: scale(0.9);
  animation: fadeInScale 1.2s ease-out forwards;
}
