.have-qs div {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #4099ff;
  border-radius: 50px;
}

.have-qs .dok {
  left: 33%;
  top: 1%;
}
.have-qs .rap {
  left: 88%;
}
.have-qs .konon {
  right: 17%;
  right: -2%;
  top: 70%;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  animation: 7s pomp infinite;
}
@keyframes pomp {
  from {
    width: 140px;
    height: 140px;
  }
  to {
    width: 190px;
    height: 190px;
  }
}
@keyframes pomps {
  from {
    width: 140px;
    height: 140px;
  }
  to {
    width: 160px;
    height: 160px;
  }
}
.have-qs .sherai {
  animation: 7s pomps infinite;
  left: -2%;
  top: -16%;
  border-radius: 50%;
  width: 140px;
  z-index: 0;
  height: 140px;
}
.slider {
  position: relative;
  width: 100%;
  height: 666px;
  overflow: hidden;
  margin-top: 2%;
}
.slide {
  top: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 499px;
  transition: opacity 0.4s ease-in-out;
}
.slide.current {
  opacity: 1;
}
.slide .content button {
  padding: 8px;
  width: 30%;
  margin-left: 30px;
  cursor: pointer;
  border: none;
  outline: none;
  background: rgb(11, 192, 11);
  color: #fff;
  border-radius: 10px;
  font-size: 18px;
}
.slide .content {
  position: absolute;
  top: 4%;
  width: 600px;
  word-spacing: nowrap;
  left: -600px;
  opacity: 0;

  padding: 0.9rem;
  color: #000;
  font-size: 1rem;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  backdrop-filter: blur(19px);
  text-align: start;
}

.sl .slide .content h1 {
  display: inline-block;
  font-size: 188px;
  margin-left: 30px;
}
.slide .content h3 {
  /* margin-bottom: 10px; */
  display: inline-block;
  margin-left: 30px;
  font-size: 12px;
}
.slide .content p {
  display: inline-block;
  margin-left: 30px;
  font-size: 13px;
}
.slide.current .content {
  opacity: 1;
  transform: translateX(600px);
  transition: all 0.7s ease-in-out 0.3s;
}

button#prev {
  display: none;
  position: absolute;
  font-size: 2em;
  /* top: 33%; */
  left: 33px;
}
button#next {
  display: none;
  top: 45%;
  position: absolute;
  font-size: 2em;
  color: #f5f4f4;
  right: 33px;
}
.buttons button {
  padding: 11px 11px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border: 1px solid #f5f4f4;
  font-size: 1rem;
  font-family: cursive;
  outline: none;
  border-radius: 50%;
}
.buttons button:hover {
  /* background: #f5f4f4; */
  border: #333 solid 2px;
  color: rgb(0, 0, 0);
}

.slide:first-child {
  width: 100%;
  background: url(../imges/slider-image3.jpg) no-repeat center center / cover;
}
.slide:nth-child(2) {
  background: url(../imges/slider-image6.jpg) no-repeat no-repeat center center /
    cover;
}
.slide:nth-child(3) {
  background: url(../imges/slider-image7.jpg) no-repeat center center / cover;
}
@media (max-width: 760px) {

}
@media (max-width: 517px) {

}
@media (max-width: 357px) {
  .slide .content {
    position: absolute;
    bottom: 45px;
    width: 480px;
    left: -600px;
    opacity: 0;
    /* padding: 0.8rem; */
    color: #ffffff;
    font-size: 1.6rem;
    background: #00051a;
    text-align: justify;

    /* top: 30%; */
  }
  .sl .slide .content h1 {
    font-size: 60rem;
    margin-right: 20px;
    margin-left: -20%;
  }
  .slide .content h1 {
    font-size: 1.2rem;
    text-align: justify;
    margin-right: 20px;
    margin-left: -5%;
  }
  .slide .content h3 {
    margin-left: -5%;
    text-align: justify;
    font-size: 1rem;
  }
  .slide .content p {
    margin-left: -5%;
    text-align: justify;
    /* margin-bottom: 10px; */
    font-size: 0.5rem;
  }
  .slide .buttons {
    margin-left: -5%;
  }
}
.apply-for-loan {
  position: relative;
  width: 80%;
  /* margin-top: 10%; */
  /* margin-left: 100px; */
  background: #0023b1;
  padding: 17px;
  cursor: pointer;
  text-align: center;
  border: none;
  outline: none;
  overflow: hidden;
  transition: 0.3s;
  z-index: 1;
  margin-left: 23px;
  border-radius: 10px;
}
.apply-for-loan::before {
  position: absolute;
  transition: 0.3s;
  content: "";
  width: 0;
  bottom: 0;
  background: #000000;
  height: 120%;
  left: -10%;
  transform: skewX(20deg);
  z-index: -1;
}
.apply-for-loan:hover::before {
  width: 62%;
}
.apply-for-loan::after {
  position: absolute;
  transition: 0.3s;
  content: "";
  width: 0;
  right: 50%;
  bottom: 0;
  height: 4px;
  background: #000000;
}
.apply-for-loan:hover::after {
  width: 62%;
}
.apply-for-loan:after {
  height: 120%;
  right: -10%;
  transform: skewX(20deg);
  z-index: -1;
}

.apply-for-loan a {
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
}

.learn-for-loan {
  position: relative;
  width: 80%;
  /* margin-top: 10%; */
  /* margin-left: 100px; */
  background: #a3a3a3;
  padding: 17px;
  cursor: pointer;
  text-align: center;
  border: none;
  outline: none;
  overflow: hidden;
  transition: 0.3s;
  z-index: 1;
  margin-left: 39px;
  border-radius: 10px;
  margin-top: 28px;
}
.learn-for-loan::before {
  position: absolute;
  transition: 0.3s;
  content: "";
  width: 0;
  bottom: 0;
  background: #000000;
  height: 120%;
  left: -10%;
  transform: skewX(20deg);
  z-index: -1;
}
.learn-for-loan:hover::before {
  width: 62%;
}
.learn-for-loan::after {
  position: absolute;
  transition: 0.3s;
  content: "";
  width: 0;
  right: 50%;
  bottom: 0;
  height: 4px;
  background: #000000;
}
.learn-for-loan:hover::after {
  width: 62%;
}
.learn-for-loan:after {
  height: 120%;
  right: -10%;
  transform: skewX(20deg);
  z-index: -1;
}

.learn-for-loan a {
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
}

.havewqs {
  position: relative;
  width: 21%;
  /* margin-top: 10%; */
  /* margin-left: 100px; */
  background: #a3a3a3;
  padding: 17px;
  cursor: pointer;
  text-align: center;
  border: none;
  outline: none;
  overflow: hidden;
  transition: 0.3s;
  z-index: 1;
  /* margin-left: 39px; */
  border-radius: 10px;
  margin-top: 28px;
}
.havewqs::before {
  position: absolute;
  transition: 0.3s;
  content: "";
  width: 0;
  bottom: 0;
  background: #000000;
  height: 120%;
  left: -10%;
  transform: skewX(20deg);
  z-index: -1;
}
.havewqs:hover::before {
  width: 62%;
}
.havewqs::after {
  position: absolute;
  transition: 0.3s;
  content: "";
  width: 0;
  right: 50%;
  bottom: 0;
  height: 4px;
  background: #000000;
}
.havewqs:hover::after {
  width: 62%;
}
.havewqs:after {
  height: 120%;
  right: -10%;
  transform: skewX(20deg);
  z-index: -1;
}

.havewqs a {
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  padding: 20px;
}

.responsebtn {
  position: relative;
  /* width: 80%; */
  white-space: nowrap; /* Prevent text from wrapping */
  margin-left: 10px;
  background: #020f57;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  border: none;
  outline: none;
  overflow: hidden;
  transition: 0.3s;
  z-index: 1;
  /* margin-left: 39px; */
  border-radius: 10px;
  margin-top: 28px;
  margin-bottom: 40px;
}
.responsebtn::before {
  position: absolute;
  transition: 0.3s;
  content: "";
  width: 0;
  bottom: 0;
  background: #000000;
  height: 120%;
  left: -10%;
  transform: skewX(20deg);
  z-index: -1;
}
.responsebtn:hover::before {
  width: 62%;
}
.responsebtn::after {
  position: absolute;
  transition: 0.3s;
  content: "";
  width: 0;
  right: 50%;
  bottom: 0;
  height: 4px;
  background: #000000;
}
.responsebtn:hover::after {
  width: 62%;
}
.responsebtn:after {
  height: 120%;
  right: -10%;
  transform: skewX(20deg);
  z-index: -1;
}

.responsebtn a {
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 20px;
}

@media (max-width: 413px) {
  .slider {
    position: relative;
    width: 100%;
    height: 666px;
    overflow: hidden;
    margin-top: 6%;
  }
  .slide {
    top: 0;
    left: 0;
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 499px;
    transition: opacity 0.4s ease-in-out;
  }
  .slide.current {
    opacity: 1;
  }
  .slide .content button {
    padding: 18px;
    width: 30%;
    cursor: pointer;
    border: none;
    outline: none;
    background: rgb(11, 192, 11);
    color: #fff;
    border-radius: 10px;
    font-size: 18px;
  }
  .slide .content {
    position: absolute;
    bottom: 45px;
    width: 600px;
    left: -600px;
    opacity: 0;
    padding: 0.9rem;
    color: #000;
    display: none;
    font-size: 1rem;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    backdrop-filter: blur(14px);
    text-align: start;
  }
  .sl .slide .content h1 {
    font-size: 20px;
    margin-right: 20px;
  }
  .slide .content h3 {
    font-size: 20px;
  }
  .slide .content p {
    /* margin-bottom: 10px; */
    font-size: 20px;
  }
}

@media (max-width: 513px) {
  .slide .content {
    display: none;
  }
}
