*,
*::before,
*::after {
  box-sizing: border-box;
}

.products-section {
    min-height: 90vh;
    background-color: lightgray;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;  /* change from center */
    justify-content: flex-start; /* change from center */
    padding: 40px 20px; /* optional, for spacing */
    padding-top: 153px;
    padding-bottom: 80px;
    /* background-image: url('../assets/images/pexels-nsmedia97-27777801.jpg'); */
    /* background-position: center; */
    
}


h2{
    font-size: 1.8rem;
    padding: 0.6em 1em;
}

.category-list {
  width: 100%;
  max-width: 1280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.category {
  border-bottom: 1px solid #eee;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  cursor: pointer;
  background: #fff;
  transition: background 0.3s ease;
}

.category-header:hover {
  background: #f1f1f1;
    cursor: pointer;

}

.category-header h3 {
  margin: 0;
  font-size: 1.6rem;
}

.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  gap: 40px;
}

.toggle-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #555;
  border-radius: 50%;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #555;
  font-weight: bold;
  user-select: none;
  transition: all 0.3s ease;
}



.product-row p {
  margin: 6px 0;
  color: #444;
  font-size: 1.5rem;
}

.product-row{
      padding: 15px 30px

}

.product-row:hover {
  background: #f8f8f8;
}

.category.open .category-content {
  display: block;
}



@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}


.product-row .product-code {
  font-size: 1.2rem;
  color: #777;
  white-space: nowrap;
}

/* .category-content {
  display: none;
  animation: fadeIn 0.3s ease;
} */

.category-content {
  height: 0;            /* start collapsed */
  overflow: hidden;     /* hide content when collapsed */
}

@media (max-width: 480px) {
    h2{
        font-size: 1.7rem;
        text-align: center;
    }

    .category-header h3{
        font-size: 1.5rem;
    }

    .product-row{
        padding: 10px 20px;
    }

    .product-row p{
        font-size: 1.4rem;
    }

}



.parteners{
    background-color: #111;

}

.parteners-section{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 1em; */
}



.wrap {
  /* padding: 4.8rem; */
  position:relative;
  width: 100%;
}
.wrap h3 {
  font-size:2.4rem;
  font-weight: 600;
  text-align:center;
}
.clients {
    align-items: center;
    -webkit-box-align: center;
    display: grid;
    gap: 4.8rem 4.8rem;
    grid-template-columns: auto auto;
    /* justify-items: center; */
    margin: 4.8rem auto;
    max-width: 1024px;
 }
.clients li {
  list-style: none;
  margin: 0;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
.clients img {
  height: 3.2rem;

}

.wrap:hover{
  cursor: pointer;
}

/* .clients:hover li {
filter: blur(0px);
-webkit-filter: blur(0px);
}
.clients:hover li:not(:hover)  {
filter: blur(2px);
-webkit-filter: blur(2px);
} */
.clients li:hover {
-webkit-transform: translateY(-0.3rem);
transform: translateY(-0.3rem); 
}

@media (min-width: 1024px) {
.clients {
    grid-template-columns: auto auto auto auto; }
    
.clients img {
  height: 4rem; }}

/* --- Images (gray logo) --- */
.clients img {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}
.clients img:hover {
  background: none;
  -webkit-filter: grayscale(0%);
          filter: grayscale(0%);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out; 
}

@media (max-width: 480px)
{
    .clients img {
    height: 2.6rem;

  }
}
