.hero-image {
  background-image: url("../pics/banner.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  padding-top: 70px;
  width: 100%;
  height: calc(100dvw / 2.98);
  display: flex;
  align-items: center;
  justify-content: center;
}

#main{
  font-size: x-large;
}

.clients {
  margin-top: 50px;
}

.image {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
  position: relative;
}

/* Make the whole card link area clickable and indicate interactivity */
.col-md-4 > a {
  display: block;
  cursor: pointer;
}

/* Also reveal overlays on touch / focus for mobile devices */
.col-md-4:active .overlay,
.col-md-4:focus-within .overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure overlay is positioned relative to the column so it matches the image width */
.col-md-4 {
  position: relative;
}


/* Overlay appearance and reveal */
.overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: clamp(14px, 2.5vw, 18px);
  text-align: center;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  transform: translateY(6px);
  box-sizing: border-box;
  max-width: 100%;
}

.col-md-4:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Always show overlays on small screens (mobile/touch devices) */
@media (max-width: 768px) {
  .col-md-4 .overlay {
    opacity: 1 !important;
    transform: none !important;
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    padding: 0.75rem 1rem;
  }
}

a:link:active:visited{
  color: burlywood;
  text-decoration: none;
}

a:hover{
  color: blue;
  text-decoration: none;
}

a {
  color: burlywood;
  text-decoration: none;
}

.tns {
  background-color: #031a60;
}

.nmwh {
  background-color: #598697;
}