.port-folios  *{font-family: 'Red Hat Display', sans-serif;}
.port-folios  header {
    position: relative;
    background-color: black;
    height: 50vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
  }
.port-folios .btn{background-color: transparent;color: #fff;}
.port-folios .btn#loadMoreBtn{color: black;}
.port-folios   header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }
  
  .port-folios   header .container {
    position: relative;
    z-index: 2;
  }
  
  .port-folios  header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
  }

  .port-folios  .card-body .card-text,
  .port-folios  .card-body h4{color:#fff;}
  .port-folios   img{max-width: 100%;;}
  
  .port-folios  .border-radius-50{border-radius:50px;}
  .port-folios  .mobile-portfolios.portfolios .card {height: auto; background-color: black;}
  .port-folios  .portfolios .card {background-color: transparent;background-size: 100%;position: relative;height: 480px;transition: all ease 5s;background-position: top  center; cursor: pointer;box-shadow: 0 0 6px 2px rgba(0,0,0,.4);}
  .port-folios  .portfolios .card:hover{background-position: bottom center;}
  .port-folios  .portfolios .card .card-body{background-color: transparent;position: absolute;bottom: 0;left: 0;right: 0;display: block;z-index: 9;color: #fff;padding: 1.25rem 1rem 1rem;background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);}
  .port-folios .portfolios .card:hover:after{background:linear-gradient(0deg, black, transparent, transparent, #00000000);position: absolute;top:0;right: 0;bottom: 0;left: 0;content: '';z-index: 0;}
  .port-folios .portfolios .card .card-body h4{font-size: 1rem;font-weight: 700;margin: 0 0 0.2rem;line-height: 1.3;}
  .port-folios .portfolios .card .card-body .card-text{font-size: 0.8rem;margin: 0 0 0.6rem;opacity: 0.85;}
  .port-folios .portfolios .card .card-body .btn{font-size: 0.78rem;padding: 0.35rem 0.9rem;}
  .port-folios .portfolios .col-md-4{margin-bottom: 2rem;}

  .port-folios .dark-bg{background-color: black;}

  /* ── Our Clients logo grid ── */
  /* top breathing room so the grid doesn't collide with the dark banner */
  .port-folios section.brands-items { padding-top: 3rem; padding-bottom: 3rem; }

  /* vertical gap between logo rows */
  .port-folios .brands-items .row > div { margin-bottom: 1.25rem; }

  /* logo cell: border, shadow, padding, flex-centre */
  .port-folios .brands-items .row > div > div {
    box-shadow: 0 0 4px 1px rgba(0,0,0,0.2);
    border: 1px solid #e0e0e0;
    padding: 18px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    background: #fff;
    border-radius: 6px;
  }

  /* logo images: consistent height, preserve aspect ratio, no stretch */
  .port-folios .brands-items .row > div > div img {
    height: 56px;
    width: 100%;
    object-fit: contain;
    object-position: center;
  }

@media (pointer: coarse) and (hover: none) {
  .port-folios  header {      background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;    }
  .port-folios   header video {    display: none;    }
  }
  

