@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

#slider {
  margin: 0 auto;
  width: 80%;
  overflow: hidden;
}

.slides {
  overflow: hidden;
  animation-name: fade;
  animation-duration: 1s;
  display: none;
  height: 800px;

}

.slides img {
  width: 100%;
  height: 800px;
}

#dot {
  margin: 0 auto;
  text-align: center;
}

.dot {
  display: inline-block;
  border-radius: 50%;
  background: #d3d3d3;
  padding: 8px;
  margin: 10px 5px;
}

.activ {
  background: black;
}

@media (max-width:567px) {
  #slider {
    width: 100%;

  }
}

#heading {
  display: block;
  text-align: center;
  font-size: 2em;
  margin: 10px 0px;

}

/* Table Container */



/* Responsive Styling */
@media (max-width: 768px) {

  
  .code {
    height: 450px;
  }

  .boxew {
    right: 0;
  }

  .caroudle {
    height: 200px;
  }

  .card {
    margin-top: 40px;
  }

  .codes {
    margin-left: 0%;
    margin-right: 100px;

  }


}


.boxew {
  padding: 10px;
  background-color: rgb(255, 255, 255);
  position: fixed;
  top: 35%;
  left: 95%;
  z-index: 1;
  border-radius: 25px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  padding-bottom: 20px;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width:1000px) {
  .boxew {
    display: none;
  }

}

.boxew i {
  margin-top: 24px;
  font-size: 20px !important;
}

.boxew i:hover {
  transition: 0.3s ease;
  transform: scale(1.3);
}

.cods {
  z-index: 1;
  margin-top: 10px;
}

/* TESTIMONIAL */

.testimonials__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.cardw {
  padding: 2rem;
  display: grid;
  gap: 1rem;
  background-color: var(--extra-light);
  border-radius: 10px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  background-color: white;
  transition: 0.3s all linear;
}

.cardw:hover{
  transition: 0.5s all linear;
  transform: scale(1.05);
}

.card p {
  font-size: 1rem;
  font-weight: 500;
}

.card hr {
  width: 40px;
  margin: auto;
  color: black;
}

.card img {
  width: 60px;
  height: 60px;
  margin: auto;
  border-radius: 100%;
  border: 1px solid var(--primary-color);
}

.card .name {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
  transition: 0.3s;
  font-weight: 500;
}

.card .name:hover {
  color: var(--primary-color);
}


@media (width < 900px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (width < 600px) {
  .testimonials__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

