.irregular-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}
.portfolio-item {
  background-size: cover;
  background-position: center;
  position: relative;
}
.large-image {
  flex: 1 1 60%;
  height: 400px;
}
.small-image {
  flex: 1 1 30%;
 
}
.portfolio-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}
.portfolio-hover-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 16px;
}

.portfolio-link:hover .portfolio-hover-title {
    opacity: 1;
}
.trx_addons_image_thumb.portfolio-category {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /*border-radius: 8px;*/
    transition: transform 0.3s ease;
}

.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
}

.portfolio-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    /*border-radius: 8px;*/
}

.trx_addons_image_thumb:hover img {
    transform: scale(1.05); /* ✅ Slight zoom effect on hover */
}

.portfolio-category-title {
    position: absolute;
    bottom: 13px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 14px;
    font-size: 1.1em;
    font-weight: 600;
    /*border-radius: 4px;*/
    margin: 0;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
    width: 100%;
}
span.category-title-span {
    margin-left: 30px;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    /*border-radius: 8px;*/
    height: 400px;
    cursor: pointer;
}

.portfolio-item.large-image {
    height: 400px;
}

.portfolio-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-bg-image {
    transform: scale(1.06); /* ✅ Zoom effect */
}

.portfolio-hover-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    font-size: 1em;
    /*border-radius: 4px;*/
}

/* Center the filter bar */
.portfolio-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Button base style */
.portfolio-filter-btn {
    background: transparent;
    border: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    color: #91999e;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Active button with color and underline */
.portfolio-filter-btn.active {
    color: #04bbe8; /* Active text color */
    font-weight: 600;
    border-bottom: 2px solid #04bbe8; /* Active underline */
}

/* Optional: Hover effect */
.portfolio-filter-btn:hover {
    color: #000;
    border-bottom: 2px solid #04bbe8;
}
