body {
  /* font-family: Arial, sans-serif; */
  /* padding: 20px; */
  background: #f9f9f9;
}

/* hero section designing */
.hero {
  background: url(../images/our-client/hero-img.png) no-repeat;
  background-size: cover;
  margin-top: 140px;

  height: 60vh;

  color: white;
  /* position: relative;
  left: 0; */
}

.hero-content {
  width: 60%;
  height: 100%;

  padding: 5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  position: relative;
  /* top: 100px; */
  background-color: transparent;
}

.hero-content h1 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  margin-left: 0;
  font-weight: normal;
  color: #ffffff;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 500px;
  color: #d5cdcddb;
}

.btns {
  width: 170px;
  height: 50px;
  background: #00a2f3;
  border: 0.5mm solid black;
  border-radius: 5mm;
  box-shadow: 3px 3px 0 black;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}
.text {
  font-size: 1rem;
  font-weight: bold;

  z-index: 1;
  position: relative;
}
.wave {
  position: absolute;
  width: 100%;
  height: 50%;
  background: url(../images/our-client/wave.svg);
  background-size: 200% 100%;
  top: 100%;
  left: 0;
  animation: wave 2s linear infinite;
  transition: 0.5s;
}
@keyframes wave {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 200%;
  }
}
.btns:hover .wave {
  top: 50%;
}
.btns:hover {
  box-shadow: 6px 6px 0 black;
}
.categories {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
h2 {
  margin-left: 30px;
  margin-top: 20px;
}
.categories button {
  display: block;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: #b4b4b7 0 10px 20px -10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  margin: 0.5rem;
  color: #00a2f3;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 0.5rem 0.9rem;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: normal;
  border: 0;
  cursor: pointer;
  transition: background-color 0.4s ease-in-out;
}
.categories button:hover {
  background-color: #00a2f3;
  color: #ffffff;
}
.active {
  color: #ffffff !important;
  background: #00a2f3 !important;
}
.categories button:focus {
  color: #ffffff;
  background: #00a2f3;
}

.client-cards {
  display: flex;
  justify-content: center;
  align-content: flex-start;
  margin: auto;
  flex-wrap: wrap;

  gap: 30px;
}

.card {
  background: rgba(151, 150, 150, 0);
  border-radius: 10px;

  padding: 15px;
  width: 28rem;
  height: 700px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  margin-bottom: 40px;
  transition: box-shadow 0.4s ease-in-out;
}
.card:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
    rgba(0, 0, 0, 0.22) 0px 10px 10px;
  /* transition: box-shodaw 2s ease-in-out; */
}
.logo {
  height: 90px;
  width: 100%;
  padding: 10px;
}
.logo img {
  /* width: auto; */
  height: 90%;
}
.visit-website {
  background-image: linear-gradient(to right, #54b3d6, #54b3d6 50%, #000 50%);
  background-size: 200% 100%;
  background-position: -100%;

  display: inline-block;
  padding: 5px 0;
  position: relative;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

.visit-website:before {
  content: "";
  background: #54b3d6;
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}

.visit-website:hover {
  background-position: 0;
}

.visit-website:hover::before {
  width: 100%;
}
.card .brand-img {
  width: 90%;
  border-radius: 12px;
  transition: opacity 0.3s ease-in-out;
  margin: auto;
}

.card h3 {
  margin-top: 20px;
}
.card-content p {
  width: 90%;
  margin: 20px;
  overflow: auto;
  padding-right: 15px;
  height: 200px;
  text-align: justify;
}
.card-content p::-webkit-scrollbar {
  width: 0.3rem;
}

.card-content p::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.card-content p::-webkit-scrollbar-thumb {
  background-color: #00afef;
  border-radius: 0.5rem;

  /* outline: 1px solid slategrey; */
}
.toggle-container {
  position: relative;
  top: 10px;
  /* right: 200px; */
  align-self: center;
  transition: transform 0.3s ease-in-out;
  z-index: 10;
}
.toggle-container:hover {
  transform: translateY(-7px);
}
.switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 40px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 40px;
  transition: background-color 0.3s ease;
}

.slider:before {
  position: absolute;
  content: "";
  height: 32px;
  width: 32px;
  left: 4.5px;
  bottom: 4.5px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

input:checked + .slider {
  background-color: #00a2f3;
}

input:checked + .slider:before {
  transform: translateX(40px);
}

.icon {
  position: absolute;
  font-size: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  pointer-events: none;
}

.icon.left {
  left: 6px;
}

.icon.right {
  right: 6px;
}

.icon {
  position: absolute;
  font-size: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  pointer-events: none;
}

.icon.left {
  left: 6px;
}

.icon.right {
  right: 6px;
}
.load-more-btn {
  width: 120px;
  margin-left: 83vw;
  border-radius: 0.5rem;

  padding: 0.5rem;
  font-size: 1rem;
  word-break: normal;
  /* margin-left: 5rem;
  margin-right: 5rem; */
  margin-bottom: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}
@media (max-width: 1404px) {
  /* .client-cards {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  } */
  .card {
    width: 23rem;
  }
}
@media (max-width: 1164px) {
  .card {
    width: 20rem;
  }
}
@media (max-width: 992px) {
  .hero {
    margin-top: 80px;
  }
  .hero-content {
    padding: 2rem;
    width: 90%;
  }
  .client-cards {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  /* .load-more-btn {
    margin: auto;
  } */
}
@media (max-width: 680px) {
  .hero-content {
    padding: 1rem;
    width: 100%;
  }
  .load-more-btn {
    margin-right: 20px;
    margin-left: 80vw;
    width: 100px;
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .card {
    width: 20rem;
  }
  .load-more-btn {
    margin-right: 20px;
    margin-left: 70vw;
    width: 100px;
    font-size: 0.8rem;
  }
}
