@font-face {
  font-family: "Vazirmatn";
  src: url("./Vazirmatn.ttf") format("truetype");
}

.rowcard {
  display: flex;
}
.card-flyer {
  margin-inline: 35px;
  max-width: 300px;
}
#colcards {
justify-content: center;
padding: 0;
align-items: center;
}
/*----  Main Style  ----*/

#cards_landscape_wrap-2{
  text-align: center;
  background: #ffffff;
}
#cards_landscape_wrap-2 .cardcontainer{
  padding-top: 80px; 
  padding-bottom: 100px;
  padding-left: 250px;
  padding-right: 250px;
}
#cards_landscape_wrap-2 a {
  text-decoration: none;
  outline: none;
}
#cards_landscape_wrap-2 .card-flyer {
  border-radius: 15px;
}
#cards_landscape_wrap-2 .card-flyer .image-box{
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.50);
}
#cards_landscape_wrap-2 .card-flyer .image-box img{
  -webkit-transition:all .9s ease;
  -moz-transition:all .9s ease;
  -o-transition:all .9s ease;
  -ms-transition:all .9s ease;
  width: 100%;
  height: 200px;
}
#cards_landscape_wrap-2 .card-flyer:hover .image-box img{
  opacity: 0.7;
  -webkit-transform:scale(1.15);
  -moz-transform:scale(1.15);
  -ms-transform:scale(1.15);
  -o-transform:scale(1.15);
  transform:scale(1.15);
}
.image-box img{
object-fit: cover;
}
#cards_landscape_wrap-2 .card-flyer .image-box{
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
#cards_landscape_wrap-2 .card-flyer:hover .image-box {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
#cards_landscape_wrap-2 .card-flyer .text-box{
  text-align: center;
}
#cards_landscape_wrap-2 .card-flyer .text-box .text-container{
  padding: 30px 18px;
}
#cards_landscape_wrap-2 .card-flyer .text-box .text-container p{
text-wrap:wrap;
}
#cards_landscape_wrap-2 .card-flyer{
  background: #FFFFFF;
  margin-top: 50px;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.40);
}
#cards_landscape_wrap-2 #card-flyer-1:hover{
  background: #fff;
  box-shadow: 0px 15px 26px rgba(41, 54, 236, 0.5);
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  margin-top: 50px;
}
#cards_landscape_wrap-2 #card-flyer-2:hover{
  background: #fff;
  box-shadow: 0px 15px 26px rgba(14, 46, 226, 0.5);
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  margin-top: 50px;
}
#cards_landscape_wrap-2 #card-flyer-3:hover{
  background: #fff;
  box-shadow: 0px 15px 26px rgba(68, 30, 236, 0.5);
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  margin-top: 50px;
}
#cards_landscape_wrap-2 #card-flyer-4:hover{
  background: #fff;
  box-shadow: 0px 15px 26px rgba(32, 16, 255, 0.5);
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  margin-top: 50px;
}
#cards_landscape_wrap-2 .card-flyer .text-box p{
  margin-top: 10px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #000000;
  font-family: "Vazirmatn";
}
#cards_landscape_wrap-2 .card-flyer .text-box h6{
  margin-top: 0px;
  margin-bottom: 4px; 
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "Vazirmatn";
  letter-spacing: 1px;
  color: #00acc1;
}

/* #########################################################   MOBILE TABLET  ############################################################ */

@media (max-width: 767px) {
  #cards_landscape_wrap-2 .cardcontainer {
    padding: 15px;
  }

  .rowcard {
    flex-direction: column;
    justify-content:center;
    padding:30px;
  }

  .card-flyer {
    margin: 10px 0;
  }

  #cards_landscape_wrap-2 .card-flyer .image-box img {
    height: 100%; /* Adjust height for smaller screens */
    object-fit: fill;
  }
  #colcards {
    justify-content: center;
    padding-right: 20px;
    align-items: center;
    }
}

@media (max-width: 1600px) and (min-width: 768px) {
  .rowcard {
    flex-direction: row;
    justify-content:center;
    padding:30px;
  }

  .card-flyer {
    flex: 1 1 calc(50% - 30px);
  }
  #colcards {
    justify-content: center;
    align-items: center;
    padding: 0;
    }
}





.rowcard {
  display: flex;
  justify-content: center; /* وسط چین کردن کارت‌ها */
  align-items: center;
  width: 100%; /* اطمینان از استفاده کامل از عرض */
  flex-direction: row;
}
#colcards {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* حذف padding اضافی */
}
#cards_landscape_wrap-2 .cardcontainer {
  padding: 80px 50px; /* کاهش padding برای بهتر شدن وسط‌چین */
}
@media (max-width: 767px) {
  .rowcard {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 20px;
  }
}
