.subcat-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  margin-left: 320 !important;
  margin-right: 320 !important;
}

.subcat-list .subcat-link {
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: color 0.3s;
  margin-bottom: 5px;
  padding: 8px 0;
}

/* Sirf text hover */
.subcat-list .subcat-link:hover {
  color: #1d84a4;

}

/* Active subcategory */
.subcat-list .subcat-link.active {
  color: #1d84a4;

}


.portfolio-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(29, 132, 164, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;

  z-index: 2;
  pointer-events: auto;
}

.portfolio-card:hover .overlay {
  opacity: 1;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
   justify-content: center; 
  gap: 10px;
      text-align: center;  
}

.overlay-content .linksss {
  display: flex;
      justify-content: center; 
  gap: 10px;
}

.overlay-content .linksss span.ba {
  background-color: #fff;
  color: #1d84a4;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  font-weight: bold;
      text-align: center;
}

.overlay-content .linksss span.ba:hover {
  background-color: #f0f0f0;
  color: #1d84a4;
}

.language-tag {
    font-size: 14px;
    font-weight: 900;
    color: black;                  /* text color */
    background-color: rgba(247, 233, 233, 0.6); /* semi-transparent dark background */
    padding: 2px 7px;            /* spacing around text */
    border-radius: 5px;           /* rounded corners */
    margin-top: 3px;              /* space from buttons */
    display: inline-block;         /* shrink to fit text */
    text-align: center;
    letter-spacing: 1px;          /* slightly spaced letters for style */
}