.divOurBrands {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  justify-content: center;
  padding: 150px 0 100px 0;
  min-height: 600px;
  background: url('../images/brandbg.png') no-repeat center center, rgba(233,236,239,0.9);
  background-size: cover;
  background-position: center center;
}

.ourProducts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 80px 40px 80px 40px;
  background: rgb(233,236,239);
background: linear-gradient(325deg, rgba(233,236,239,1) 0%, rgba(255,255,255,1) 100%);
}

.brandsContainer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.brandRowA {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.brandRowA img {
  width: 300px;
}

.brandRowB {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 20px;
  max-width: 1200px;
}

.brandRowB img {
  width: 180px;
}

.brandRowC {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap:30px;
  flex-wrap: wrap;
  padding: 20px;
  margin-top: 50px;
}

.bHead {
  font-family: Or;
  font-size: 30px;
  padding: 0 40px 0 40px;
  text-align: center;
  color: black;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.bHead span {
  color: #dd0000;
}

.bPara {
  font-family: Or;
  font-size: 17px;
  max-width: 1200px;
  color: black;
  line-height: 30px;
  text-align: center;
  padding: 0 20px 0 20px;
}

.weonelogo {
  width: 300px;
  margin-left: 20px;
}

.ourProductsContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.ourProductsCard {
  width: 250px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  cursor: pointer;
  transition: transform 0.3s;
}

.ourProductsCard:hover {
  transform: scale(106%);
}

.ourProductsCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
  margin: 15% auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 768px) {
  .ourProductsCard {
    width: 150px;
  }
  .ourProducts {
    padding: 80px 10px 80px 10px;
  }
  .ourProductsContainer {
    padding: 40px 20px 40px 20px;
  }
  .brandRowA {
    gap: 30px;
  }
  .brandRowA img {
    width: 160px;
  }
  .brandRowB img {
    width: 120px;
  }
}
