/* BANNER */
#banner {
  background-image: url(/assets/img/portfolio-hero-img.png);
}

/* BRAND LIST */
.container-fluid {
  padding: 70px 20px;
  background: #efefef;

  .ff-c {
    gap: 0px;

    @media (max-width: 1024px) {
      gap: 20px;
    }
  }

  .ff {
    width: fit-content;

    @media (max-width: 1024px) {
      width: 100%;
    }
  }
}

.brand-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.brand-card {
  background: #fff;
  aspect-ratio: 1/1;
  cursor: pointer;
  text-align: center;

  img {
    max-width: 220px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    transition-property: color, background-color, border-color,
      text-decoration-color, fill, stroke, opacity, box-shadow, transform,
      filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }

  img:hover {
    filter: none;
  }
}

/* .brand-card.brand-card-2 {
  padding: 19.747px 36.175px 18.457px 30.449px;
}
.brand-card.brand-card-3 {
  padding: 7.06px 23.489px 5.77px 17.762px;
}
.brand-card.brand-card-4 {
  padding: 23.807px 40.235px 22.517px 34.509px;
}
.brand-card.brand-card-5 {
  padding: 13.657px 30.086px 12.367px 24.359px;
}
.brand-card.brand-card-6 {
  padding: 10.612px 27.041px 9.322px 21.314px;
}
.brand-card.brand-card-7 {
  padding: 4.015px 20.444px 2.725px 14.717px;
}
.brand-card.brand-card-8 {
  padding: 13.15px 29.578px 11.859px 23.852px;
}
.brand-card.brand-card-9 {
  padding: 22.284px 38.713px 20.994px 32.986px;
}
.brand-card.brand-card-10 {
  padding: 8.582px 25.011px 7.292px 19.284px;
}
.brand-card.brand-card-11 {
  padding: 13.657px 30.086px 12.367px 24.359px;
}
.brand-card.brand-card-12 {
  padding: 5.537px 21.966px 4.247px 16.24px;
} */

.load-more-btn {
  display: flex;
  width: 188px;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--Primary-Purple, #595378);
  color: var(--Primary-Purple, #595378);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 24px */
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .search-component,
  .dropdown-component {
    input.input {
      width: 261px;
    }
  }

  .container-fluid {
    padding: 90px 64px;
  }

  .brand-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  /* .brand-card.brand-card-2 {
    padding: 33px 60px;
  }
  .brand-card.brand-card-3 {
    padding: 8px 35px;
  }
  .brand-card.brand-card-4 {
    padding: 41px 68px;
  }
  .brand-card.brand-card-5 {
    padding: 21px 48px;
  }
  .brand-card.brand-card-6 {
    padding: 15px 42px;
  }
  .brand-card.brand-card-7 {
    padding: 2px 29px;
  }
  .brand-card.brand-card-8 {
    padding: 20px 47px;
  }
  .brand-card.brand-card-9 {
    padding: 38px 65px;
  }
  .brand-card.brand-card-10 {
    padding: 11px 38px;
  }
  .brand-card.brand-card-11 {
    padding: 5px 32px;
  }
  .brand-card.brand-card-12 {
    padding: 21px 48px;
  } */
}

@media (min-width: 1280px) {
  .brand-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.portfolio-modal {
  .modal-dialog {
    max-width: 1150px;
    inset: 0;
    position: fixed;
    display: flex;
    align-items: center;
    padding: 0px;

    @media (max-width: 1024px) {
      padding: 0px 10px;
    }
  }

  .modal-dialog:before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    inset: 0;
    z-index: 1;
  }

  .modal-content {
    z-index: 99;
  }

  .close-icon {
    display: flex;
    width: 24px;
    height: 24px;
    padding: 6px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 10px;
    top: 9.5px;
    z-index: 99;
    cursor: pointer;

    svg {
      fill: #000;
    }
  }
  .modal-body {
    display: flex;
    padding: 50px 50px 32px 50px;
    align-items: flex-start;
    gap: 40px;
    flex-shrink: 0;
    border: 3px solid var(--Primary-Purple, #595378);
    background: #fff;
    width: 100%;

    #modal-mobile-title {
      display: none;
    }

    @media (max-width: 1024px) {
      display: flex;
      padding: 40px 20px 32px 20px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 4px;
      flex-shrink: 0;
      border: 3px solid var(--Primary-Purple, #595378);
      background: #fff;
      width: 100%;

      #modal-mobile-title {
        display: block;
      }
    }

    .left {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding-bottom: 32px;

      @media (max-width: 1024px) {
        width: 100%;
        padding-bottom: 0px;
      }

      #modal-mobile-title {
        color: var(--Primary-Purple, #595378);
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
        text-transform: uppercase;
      }

      .logo {
        padding: 24px 32px;
        min-height: 265px;
        aspect-ratio: 399/265;
        max-width: 399px;
        width: 100%;

        @media (max-width: 1024px) {
          min-height: unset;
          aspect-ratio: 298/169;
          padding: 10px 0px;
          max-height: 169px;
        }

        img {
          width: 100%;
          height: 100%;
          object-fit: contain;
          object-position: center;
        }
      }

      .details {
        .item {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 24px;
          width: 100%;

          @media (max-width: 1024px) {
            flex-direction: column;
            width: fit-content;
            gap: 0px;
            text-align: start;
            align-items: start;
            justify-content: start;
            margin-bottom: 10px;
          }

          .key {
            color: var(--Primary-Purple, #595378);
            font-size: 16px;
            font-style: normal;
            font-weight: 700;
            line-height: 130%; /* 20.8px */
            min-width: 124px;
          }

          .value {
            color: var(--Black, #212529);
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 130%; /* 20.8px */
            text-align: left;
            width: 100%;
          }
        }
      }
    }

    .right {
      display: block;

      .title {
        color: var(--Primary-Purple, #595378);
        font-size: 48px;
        font-weight: 700;
        line-height: 120%;
        text-transform: uppercase;

        margin-bottom: 24px;

        @media (max-width: 1024px) {
          display: none;
          margin-bottom: 16px;
        }
      }

      .description {
        color: var(--Black, #212529);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
        margin-bottom: 24px;

        @media (max-width: 1024px) {
          margin-bottom: 16px;
        }
      }

      .links-container {
        display: none;
        flex-direction: column;
        gap: 12px;
      }

      .links-container.show {
        display: flex;
      }

      .link {
        background: var(--Primary-Purple, #595378);
        display: flex;
        padding: 8px 20px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        color: var(--White, #fff);
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%;
        width: fit-content;
        text-decoration: none;
        transition: opacity 0.2s;
      }

      .link:hover {
        opacity: 0.9;
      }
    }
  }
}

.portfolio-modal.show {
  display: block !important;
}
.load-more-btn {
  margin-top: 50px;
  cursor: pointer;
}
div#load-more-btn.hide-loadmore {
  visibility: hidden;
}