/* =========================================
   PORTFOLIO PAGE
========================================= */

/* FILTER AREA */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* FILTER INPUTS */
.portfolio-filters select,
.portfolio-filters input {
  height: 48px;
  padding: 0 16px;

  border-radius: 12px;
  border: 1px solid #E5E7EB;
  background: #FFF;

  font-size: 14px;
  color: #111827;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* FILTER FOCUS */
.portfolio-filters select:focus,
.portfolio-filters input:focus {
  outline: none;
  border-color: #0054A5;
  box-shadow: 0 0 0 4px rgba(0,84,165,0.08);
}

#resetBtn {
  display: flex;
  width: 96px;
  padding: 12px 0;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;

  border-radius: 12px;
  border: none; /* ❌ remove border */

  /* TEXT */
  color: #0054A5;
  text-align: center;

  font-family: "Neo Sans Arabic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;

  background: transparent; /* 👈 important */

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;

  cursor: pointer;
}

/* =========================================
   PORTFOLIO GRID
========================================= */

#portfolioGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(194px, 1fr));
  gap: 24px;
}

/* =========================================
   PORTFOLIO CARD
========================================= */

.portfolio-card {
  position: relative;

  width: 194px;
  height: 120px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto;
  padding: 24px;

  border-radius: 16px;
  background: #FFF;

  box-shadow: 0 8px 24px rgba(5, 36, 83, 0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;

  overflow: hidden;
  cursor: pointer;
}

/* CARD HOVER */
.portfolio-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 16px 40px rgba(5, 36, 83, 0.16);
}

/* LOGO */
.portfolio-card img {
  max-width: 130px;
  max-height: 52px;

  object-fit: contain;

  transition: transform 0.35s ease;
}

/* LOGO HOVER */
.portfolio-card:hover img {
  transform: scale(1.05);
}

/* OPTIONAL ARROW ICON */
.portfolio-card .arrow {
  position: absolute;
  top: 14px;
  right: 14px;

  font-size: 14px;
  color: #0054A5;

  opacity: 0;
  transform: translate(6px, -6px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* SHOW ARROW */
.portfolio-card:hover .arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 640px) {

  #portfolioGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .portfolio-card {
    width: 100%;
    height: 110px;
  }

  .portfolio-card img {
    max-width: 110px;
    max-height: 46px;
  }

  #resetBtn {
    width: 100%;
  }
}

/* ARROW */
.portfolio-card .arrow {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 24px;
  height: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translate(6px, -6px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* SHOW ARROW ON HOVER */
.portfolio-card:hover .arrow {
  opacity: 1;
  transform: translate(0, 0);
}


.portfolioSearchInput{
  border-radius: 12px;
  background: var(--color-white);
  
  display: flex;
  padding: 12px 16px 0 16px;
  align-items: flex-start;
  gap: 8px;
  flex: 1 0 0;
  align-self: stretch;


}
