/* body {
  font-family:Inter;
} */

.card {
  width: 300px;
  min-width: 300px;
  height:auto;
  background:#fff;
  border-radius:30px;
  position:relative;
  z-index:10;
  margin:25px;
  min-height:356px;
  margin-bottom: 30px;
  cursor:pointer;
  transition: all .25s ease;
  box-shadow: 0px 0px 0px 0px rgba(0,0,0, .08);
}

.card:hover {
  transform:translate(0, -10px);
  box-shadow: 0px 17px 35px 0px rgba(0,0,0,.07);
}

.card h4  {
  position:absolute;
  left: 0;
  top: 0;
  padding: 15px;
  text-align: right;

}
h3 {
  text-align: center;
}
.card i {
  position:absolute;
  right: 0;
  top: 0;
  padding: 15px;
  font-size:1.4rem;
  line-height:3.2rem;
}

.card .card-text {
  padding: 20px;
}

#matn {
  font-size: .8rem;
  opacity: .6;
  margin-top: 10px;
  text-align: center;
  color:#144103;
  font-weight: 500;

}
 
.card .card-img {
  transform: translate(-90px,5px);
  margin: 0 30px;
  display:flex;
  align-items: center;
  justify-content:center;
  transition: all .35s ease-out;
}

.card img {
  height:250px;
}

.card img.blur {
  position:absulute;
  filter:blur(15px);
  z-index:-1;
  opacity:.40;
  transform: translate(220px,10px);
  transition: all .35s ease-out;
}

.card:hover .card-img {
  transform:translate(-75px,-5px);
}

.card:hover .card-img img.blur {
  transform:translate(220px,15px) scale(.85);
  opacity:.25;
  filter:blur(20px);
}

.card-content {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  overflow:auto;
  padding-top: 100px;
  paddimg-left:60px;
  padding-right: 50px;
  scroll-behavior:smooth;
}

.card-content::-webkit-scrollbar {
   height:0px;
}

.card-content:after {
  content:'';
  display:block;
  min-width:20px;
  height:100px;
  position:relative;
}

.btn{
  min-width:60px;
  margin:auto 30px;
  height:60px;
  border-radius:20px;
  background:#fff;
  border:0px;
  outline:none;
  cursor:pointer;
  z-index:9999;
  box-shadow: 0px 0px 0px 0px rgba(0,0,0,.08);
  transition: all .25s ease;
}

.btn:hover{
  box-shadow: 0px 17px 35px 0px rgba(0,0,0,.07);
}

.btn i {
  font-size:1.2rem;
}

.slider {
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgb(242,243,248);
  width:100%;
  height:90vh;
  overflow:hidden;
}

.slider:after {
  content:'';
  left:98px;
  /* top:55%; */
  height:90vh;
  position:absolute;
  width:150px;
  border-radius: 20px;
  z-index:100;
  background: linear-gradient(90deg, rgb(242,243,248) 0%,rgba(242,243,248,0)  100%);
  pointer-event:none;
}

.slider:before {
  content:'';
  right:98px;
  /* top:55%; */
  height:90vh;
  position:absolute;
  width:150px;
  border-radius: 20px;

  z-index:100;
  background: linear-gradient(90deg, rgba(242,243,248,0) 0%,rgba(242,243,248,1)  100%);
  pointer-event:none;
}

/* Styles for mobile devices */
@media (max-width: 600px) {
  .card {
    width: 100%;
    margin: 15px;
    min-height: 300px; /* Adjust as needed */
  }

  .card h4 {
    text-align: center;
  }

  .card i {
    font-size: 1rem;
  }

  .card .card-text {
    padding: 10px;
  }

  #matn {
    font-size: 0.7rem;
    font-weight: 500;
  }

  .card img {
    height: 200px; /* Adjust image height for mobile */
  }

  .card-content {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn {
    min-width: 40px;
    height: 50px;
    margin: 15px;
    display: none;
  }

  .slider {
    height: 70vh; /* Adjust slider height for mobile */
  }



  .slider:after {
    display:none;
  }
  
  .slider:before {
    display:none;
  }


}

/* Styles for tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  .card {
    width: 80%;
    margin: 20px auto; /* Center cards */
    min-height: 320px; /* Adjust as needed */
  }

  .card h4 {
    text-align: left;
  }

  .card i {
    font-size: 1.2rem;
  }

  .card .card-text {
    padding: 15px;
  }

  #matn {
    font-size: 0.75rem;
    font-weight: 500;
  }

  .card img {
    height: 230px; /* Adjust image height for tablets */
  }

  .card-content {
    padding-top: 70px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .btn {
    min-width: 50px;
    height: 55px;
    margin: 20px;
  }

  .slider {
    height: 80vh; /* Adjust slider height for tablets */
  }

  .slider:after, .slider:before {
    width: 120px; /* Adjust gradient width for tablets */
  }
}
