.brandcount {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #625353;
  color: white;
  font-size: 13px;
  width: 24px;
  height: 24px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: flex-end;
  -moz-box-align: flex-end;
  -ms-flex-align: flex-end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: 'dana';
  z-index: 10;
}

.brand-card {
  position: relative;
}

.view-all {
  text-align: center;
  margin-top: 2rem;
}

.view-all .btn {
  position: relative;
  background: var(--white);
  color: var(--primary);
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border: none;
  -webkit-border-radius:0 6px;
  -moz-border-radius:0 6px;
  border-radius:0 6px;
  cursor: pointer;
  -webkit-transition: background 0.3s ease;
  -moz-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
  transition: background 0.3s ease;
  /* border: solid 1px transparent; */
}

.view-all .btn:hover {
  background: var(--primary);
  color: var(--white);

}

.btn {
  font-family: 'dana';
  /* background-color: #660377; */
}

.brands-section {
  padding: 40px;
  background-color: #E3E3E3;
  /* width: calc(100% - 90px); */
  max-width: 2560px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  margin: 40px auto;
  overflow-x: hidden;
  margin-right: 20px;
  margin-left: 20px;
}

.brands-grid {
  display: -ms-grid;
  display: -webkit-grid;
  display: grid;
  gap: 1rem;
  list-style: none;
  -ms-grid-columns: (minmax(100px, 1fr))[auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-template-columns: repeat(5, 1fr);
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-justify-items: center;
  -ms-flex-pack: center;
  justify-items: center;
}

.brand-card {
  background: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  -moz-transition: -moz-transform 0.2s, -moz-box-shadow 0.2s;
  -o-transition: -o-transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  width: 100%;
  height: 95%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.brand-card:hover {
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.brand-card img {
  width: 100%;
  height: 80px;
  margin-bottom: 0.5rem;
  -o-object-fit: contain;
  object-fit: contain;
}

.brand-card span {
  font-size: 18px;
}

.toggle-btn {
  margin-top: 20px;
  background-color: #6C3F98;
  color: white;
  border: none;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 15px;
  font-family: 'dana';
}

.toggle-btn:hover {
  background-color: #532d77;
}

.under-slider {
  margin: var(--space-6) auto;
}

.under-slider img,
.brand-box img {
  width: 100%;
  height: auto;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  display: block;
}

.brands {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 26px auto 40px;
  gap: 24px;
}

.brand-box {
  cursor: pointer;
  -ms-flex-preferred-size: 135px;
  flex-basis: 135px;
  height: 132px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-box:hover {
  -webkit-transform: translateY(-5px) scale(1.05);
  -moz-transform: translateY(-5px) scale(1.05);
  -ms-transform: translateY(-5px) scale(1.05);
  transform: translateY(-5px) scale(1.05);
  z-index: 2;
  -webkit-filter: none;
  filter: none;
}

.brand-box img {
  max-width: 100%;
}

.text2 {
  max-width: 98.5%;
  margin: 40px 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  background-color: #E3E3E3;
  font-size: 26px;
  text-align: justify;
  padding: 30px 40px 60px;
  line-height: 2;
  position: relative;
  font-family: 'dana-small', sans-serif;
  -webkit-box-shadow: inset 0 -2px 8px 0 rgba(0, 0, 0, 0.22);
  -moz-box-shadow: inset 0 -2px 8px 0 rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 -2px 8px 0 rgba(0, 0, 0, 0.22);
}

.paragraph {
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  margin-top: 10px;
}

.des {
  font-size: 20px;
}

.title {
  font-size: 35px;
  margin-top: 10px;
  color: black;
  -webkit-transform: scaleX(1.3);
  -moz-transform: scaleX(1.3);
  -ms-transform: scaleX(1.3);
  transform: scaleX(1.3);
  -webkit-transform-origin: right;
  -moz-transform-origin: right;
  -ms-transform-origin: right;
  transform-origin: right;
  display: inline-block;
  font-weight: 500;
}

@media (max-width: 1140px) {
  .brand-card img {
    height: 55px;
  }
}

@media (max-width: 768px) {
  .brand-card {
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
    -moz-transition: -moz-transform 0.2s, -moz-box-shadow 0.2s;
    -o-transition: -o-transform 0.2s, box-shadow 0.2s;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    width: 100%;
    height: 85%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 1.5rem;
    padding-top: .5rem;
  }
  
  .brand-card img {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .des {
    font-size: 16px;
  }
  
  .text2 {
    max-width: 94%;
    margin: 20px auto;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #E3E3E3;
    font-size: 26px;
    text-align: justify;
    padding: 20px;
    line-height: 2;
    position: relative;
    font-family: 'dana-small', sans-serif;
  }
  
  .title {
    font-size: 25px;
  }
  
  .brand-card span {
    font-size: 16px;
  }
  
  .brands-section {
    padding: 25px;
    background-color: #E3E3E3;
    width: 94%;
    max-width: 1440px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin: 20px auto;
    overflow-x: hidden;
  }
  
  .brands-grid {
    display: -ms-grid;
    display: -webkit-grid;
    display: grid;
    gap: 1rem;
    list-style: none;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .brand-card {
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
    -moz-transition: -moz-transform 0.2s, -moz-box-shadow 0.2s;
    -o-transition: -o-transform 0.2s, box-shadow 0.2s;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    width: 156px;
    height: 90px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 1.5rem;
    padding-top: .5rem;
  }
  
  .brand-card img {
    width: 100%;
    height: 33px;
    margin-bottom: 0;
    -o-object-fit: contain;
    object-fit: contain;
  }
  
  .brand-box {
    -ms-flex-preferred-size: 116px;
    flex-basis: 116px;
    height: 114px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 424px) {
  .brand-card {
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
    -moz-transition: -moz-transform 0.2s, -moz-box-shadow 0.2s;
    -o-transition: -o-transform 0.2s, box-shadow 0.2s;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    width: 100%;
    height: 85%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 1.5rem;
    padding-top: .5rem;
  }
  
  .brand-card img {
    margin-bottom: 0;
    -o-object-fit: contain;
    object-fit: contain;
  }
}

@media (max-width: 350px) {
  .brand-card {
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
    -moz-transition: -moz-transform 0.2s, -moz-box-shadow 0.2s;
    -o-transition: -o-transform 0.2s, box-shadow 0.2s;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    width: 100%;
    height: 85%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 1.5rem;
    padding-top: .5rem;
  }
}

@media (max-width: 330px) {
  .brand-card img {
    margin-bottom: 0;
    -o-object-fit: contain;
    object-fit: contain;
  }
}