@media screen and (max-width: 1023px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  body {
    background: #fafafa;
  }
  /*  ============================================== header ============================================== */
  header {
    height: 70px;
    padding: 14px 0;
  }
  header .content {
    top: 14px;
    max-width: 90%;
    padding: 10px 12px;
    justify-content: space-between;
  }
  header .logo_img {
    max-width: 90px;
  }
  header .navbar {
    padding: 0;
    justify-content: flex-end;
  }
  header .navbar-toggler {
    padding: 0;
  }
  @keyframes header_moveDown {
    to {
      top: 14px;
    }
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }
  header .navbar .navbar-collapse {
    position: absolute;
    left: 0px;
    top: 28px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 30px 20px;
  }
  header .navbar .navbar-nav .nav-link {
    font-size: 12px;
  }
  header .navbar-nav .nav-item {
    margin: 0 0 20px;
    text-align: left;
  }
  header .navbar-nav .nav-item:last-child {
    margin: 0;
  }
  /*  ============================================== start ============================================== */
  .house {
    bottom: -35%;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: none;
    animation: none;
    height: unset;
    width: 100%;
  }
  #start {
    background: #dedede;
  }
  #start .box_container {
    padding-right: 0;
    padding-top: 0;
    right: 0%;
    left: 0%;
    animation: none;
    justify-content: center;
    justify-content: center;
    flex-direction: column;
  }
  #start .box {
    height: 80vh;
    max-height: 490px;
    border-radius: 14px;
    padding: 25px 18px 35px;
    width: 90%;
    max-width: 90%;
    opacity: 0;
    transform: translateY(120%);
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  #start .box1 {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }
  #start .box1 .counter_box:last-child .value {
    font-size: 14px;
  }
  #start .box1 .counter_box {
    margin-left: 10px;
  }
  #start .box1 .logo {
    max-width: 33px;
    margin: 0 0 5px;
  }
  #start .box1 .title {
    font-size: 34px;
    margin-top: 0;
    line-height: 58px;
  }
  #start .box1 .subtitle {
    font-size: 14px;
    margin: 0 0 8px;
  }
  #start .box1 .caption {
    font-size: 12px;
    max-width: 90%;
  }
  #start .box1 .btn {
    font-size: 14px;
  }
  #start .box1 .btn img {
    max-width: 22px;
    margin-right: 5px;
  }
  #start .box1 .counter_title {
    font-size: 12px;
  }
  #start .box1 .value {
    font-size: 20px;
  }
  #start .box2 {
    padding: 22px 13px;
    opacity: 0;
  }
  #start .box2 .title {
    font-size: 18px;
  }
  #start .box2 .subtitle {
    font-size: 12px;
    line-height: 20px;
    margin: 0 0 20px;
  }
  #start .box2::after {
    width: 18px;
    height: 20px;
    left: 13px;
    top: 22px;
    z-index: 15;
  }
  #start .box2 .nav-tabs {
    margin-bottom: 20px;
  }
  .custom_nav .nav-tabs .nav-link {
    padding: 5px 0px;
    font-size: 12px;
    width: 55px;
    border-radius: 6px;
  }
  #start .box2 .content_box {
    max-height: 200px;
    padding-left: 15px;
  }
  #start .box2 .content_row {
    padding: 9px 5px;
    width: 100%;
  }
  #start .box2 .content_row * {
    font-size: 12px;
  }
  #start .box2 .content_row .price_box .status {
    font-size: 8px;
    margin-right: 5px;
  }
  #start .box2 .content_row .price_box {
    display: flex;
    align-items: center;
  }
  .arrow_anime {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 30px;
    opacity: 0;
    transition: opacity 1s ease; /* تغییر نرم */

    z-index: 13;
    filter: brightness(0);
  }

  /*  ============================================== why ============================================== */
  #why {
    height: auto;
    padding: 100px 0;
    overflow-x: scroll;
  }
  #why .why_inner {
    min-height: unset;
    padding: 0;
  }
  #why .main_title {
    font-size: 22px;
    margin: 0 auto 20px;
  }
  #why .move_box {
    max-height: unset;
    opacity: 1;
    transform: none;
    width: 80%;
    margin: 0 10px;
    padding: 0;
  }
  #why .content {
    min-height: unset;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    justify-content: flex-start;
    padding: 0 10px 45px 10px;
  }
  #why .content_box {
    padding: 17px 14px;
    background: #fff;
    border-radius: 18px;
    height: auto;
    min-height: 388px;
  }
  #why .content_box .icon {
    margin: 0 0 16px;
    max-width: 40px;
  }
  #why .content_box .title {
    font-size: 16px;
  }
  #why .content_box .caption {
    font-size: 14px;
    margin: 0 0 58px;
  }
  #why .content_box .btn span {
    font-size: 14px;
    margin: 0 0 0 5px;
  }
  #why .content_box .btn .arrow {
    max-width: 28px;
  }

  /* استایل اسکرول‌بار */
  #why .content::-webkit-scrollbar {
    height: 3px; /* ارتفاع نوار افقی */
  }
  #why .content {
    scrollbar-color: #bcbcbc rgba(255, 255, 255, 0.28);
    scrollbar-width: thin; /* باریک */
  }
  #why .content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.28); /* پس‌زمینه مسیر اسکرول */
    border-radius: 4px;
  }
  #why .content::-webkit-scrollbar-thumb {
    background: #bcbcbc; /* رنگ خود نوار  */
    border-radius: 4px;
  }
  #why .content::-webkit-scrollbar-thumb:hover {
    background: #bcbcbc; /* وقتی موس روش رفت */
  }

  /*  ============================================== black_box ============================================== */
  #black_box .black_bg {
    width: 100%;
    border-radius: 24px;
  }
  #black_box .black_bg::after {
    display: none;
  }
  .chart {
    height: auto;
    padding: 100px 0;
    margin-bottom: 0;
  }
  .chart .title {
    font-size: 22px;
    margin: 0 auto 25px;
  }
  .chart .custom_nav .nav-tabs .nav-link {
    font-size: 12px;
    width: 60px;
    border-radius: 8px;
    padding: 7px 0px;
  }
  .chart-container {
    width: 100%;
    height: 380px;
    padding-bottom: 80px;
    min-height: unset;
    max-height: unset;
    overflow-x: scroll;
  }

  /* استایل اسکرول‌بار */
  .chart-container::-webkit-scrollbar {
    height: 3px; /* ارتفاع نوار افقی */
  }
  .chart-container {
    scrollbar-color: #bcbcbc rgba(255, 255, 255, 0.28);
    scrollbar-width: thin; /* باریک */
  }
  .chart-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.28); /* پس‌زمینه مسیر اسکرول */
    border-radius: 4px;
  }

  .chart-container::-webkit-scrollbar-thumb {
    background: #bcbcbc; /* رنگ خود نوار  */
    border-radius: 4px;
  }

  .chart-container::-webkit-scrollbar-thumb:hover {
    background: #bcbcbc; /* وقتی موس روش رفت */
  }
  .chart .tab-pane {
    min-height: 285px;
  }
  .chart .custom_nav .nav-tabs {
    margin-bottom: 54px;
  }
  canvas {
    min-width: 800px;
    padding: 0;
    max-height: unset;
  }

  /*  ============================================== news ============================================== */

  .news .content,
  .articles .articles_box {
    margin: 0 auto;
    max-width: 100%;
  }
  .news {
    height: auto;
    margin-bottom: 100px;
  }
  .news .container {
    padding-left: 0;
  }
  .news .content {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    padding-bottom: 90px;
  }
  .news .content .favorit,
  .news .content .latest {
    background: #383838;
    border-radius: 12px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 92%;
    margin-left: 10px;
  }
  .news .content_box {
    background: transparent;
    border-radius: 0;
    padding: 0;
  }
  .news .title {
    font-size: 18px;
    margin: 0 0 12px;
    line-height: 31px;
  }
  .news .inner_content .news_img {
    border-radius: 8px;
    margin-left: 8px;
    max-width: 103px;
  }
  .news .inner_content .news_title {
    font-size: 14px;
    margin: 0 0 6px;
  }
  .news .inner_content .news_subtitle {
    font-size: 12px;
  }
  .news .content .latest {
    border-right: none;
  }
  .news .latest .content_box {
    justify-content: center;
    background: transparent;
    flex-direction: column;
  }
  .news .latest .content_box .inner_content {
    background: transparent;
    border-radius: 0;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    width: 100%;
    margin: 0 0 8px;
  }
  .news .latest .content_box .inner_content .news_img {
    margin: 0 0 0 8px;
  }
  .news .latest .content_box > .inner_content:nth-child(n + 3) {
    display: flex;
  }

  .news .top {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
  }
  .news .category_box {
    background: #383838;
    border-radius: 12px;
    padding: 10px;
    text-align: right;
    text-align-last: right;
  }
  .news .category_box .categories {
    font-size: 18px;
    margin: 0 0 20px;
  }
  .news .category_box .category_name {
    margin: 0 0 12px 12px;
    width: fit-content;
    display: inline-block;
  }

  /*  ============================================== articles ============================================== */
  .articles .top .main_title {
    font-size: 22px;
    line-height: 37px;
  }
  .articles .top .see_all_btn span {
    font-size: 12px;
    margin-left: 4px;
  }
  .articles .top .see_all_btn img {
    max-width: 18px;
  }
  .articles .top {
    margin-bottom: 27px;
  }
  .articles .content {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
    padding-bottom: 100px;
  }
  .articles .content > div {
    max-width: 80%;
    min-height: 340px;
    padding: 0 8px;
  }
  .articles .content_box .title {
    font-size: 16px;
  }
  .articles .content_box .caption {
    font-size: 12px;
  }
  .articles .content_box .btn span {
    font-size: 12px;
  }
  .articles .content_box .btn img {
    max-width: 23px;
  }
  .articles .content_box {
    padding: 4px 10px 18px;
  }
  /*  ============================================== faq ============================================== */
  .faq {
    position: relative;
    overflow-x: hidden;
    height: auto;
    background-image: none;
  }
  .faq .faq_bg {
    position: relative;
    left: -20px;
  }
  .faq .container {
    text-align: center;
    text-align-last: center;
    padding-top: 40px;
  }
  .faq .title {
    text-align: center;
    text-align-last: center;
    margin: 0 auto 32px;
    font-size: 22px;
  }
  .faq .accordion {
    min-height: unset;
    margin: 0 auto 20px;
    max-width: 95%;
  }
  .faq .accordion-button {
    font-size: 14px;
    line-height: 1.7;
  }
  .faq .accordion-body {
    font-size: 12px;
    max-width: 90%;
  }
  .faq .accordion-button::after {
    width: 20px;
    height: 20px;
    top: 10px;
  }
  .faq .accordion-item {
    margin: 0 0 8px;
  }

  /*  ============================================== footer ============================================== */
  footer {
    padding: 65px 0 40px;
  }
  footer .content > div {
    text-align: center;
    text-align-last: center;
    width: 80%;
    margin: 0 auto;
  }
  footer .logo_img {
    margin: 0 auto 16px;
    max-width: 120px;
  }
  footer .caption {
    font-size: 12px;
    text-align-last: center;
    margin: 0 auto 16px;
    max-width: 100%;
    line-height: 1.6;
  }
  footer .page_link_box {
    justify-content: center;
  }
  footer .page_link_box .page_link:first-child {
    margin-right: 0;
  }
  footer .page_link_box:last-child {
    margin-top: 30px;
  }

  footer .social {
    margin-bottom: 40px;
  }
  footer .page_link_box .title {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 31px;
  }
  footer .page_link .subtitle {
    margin-bottom: 8px;
    line-height: 20px;
    font-size: 12px;
  }
  footer .social img {
    margin: 0 4px;
    max-width: 15px;
  }
  footer .social img.instagram {
    margin: 0 auto;
  }

  footer .footer_box img {
    margin-left: 10px;
    max-width: 16px;
  }
  footer .name {
    font-size: 12px;
    color: #373737;
    font-weight: 300;
  }
  footer .footer_box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 18px;
  }

  /*  ============================================== page_intro ============================================== */
  .page_intro {
    padding: 32px 0 0;
  }
  .page_intro .content {
    max-width: 95%;
  }
  .page_intro .page_icon {
    max-width: 42px;
  }
  .page_intro .title {
    font-size: 18px;
    margin: 0 auto 12px;
  }
  .page_intro .caption {
    font-size: 14px;
    margin: 0 auto;
  }

  /*  ============================================== services_box ============================================== */
  .services_box {
    padding: 50px 0 0;
  }
  #services1 .content .col-md-6:first-child,
  #services3 .content .col-md-6:first-child,
  #services4 .content .col-md-6:first-child {
    text-align: center;
  }
  .services_box .services_img {
    margin: 0 auto 50px;
    max-width: 90%;
  }
  .services_box .title {
    font-size: 16px;
  }
  .services_box .caption {
    max-width: 100%;
  }
  #services2 .inner_content {
    order: 2;
  }
  #services2 .content .col-md-6:last-child {
    text-align: center;
  }

  /*  ============================================== information ============================================== */
  .information {
    padding: 75px 0;
  }

  .information .content {
    padding: 32px 18px;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
  }
  .information .content .title {
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto 24px;
  }
  .information .email_form {
    justify-content: center;
    flex-direction: column;
  }
  .information .form-group {
    margin: 0 auto 8px;
    position: relative;
    width: 100%;
  }
  #email_form .form-group {
    min-height: 65px;
  }
  .information .form-control {
    height: 48px;
    width: 100%;
    color: #000;
  }
  .information .submit_btn {
    padding: 10px 0;
    width: 100%;
  }
  #services3 {
    padding: 0 0 45px;
  }
  #email-error {
    bottom: 0px;
    font-size: 12px;
  }
  #email_form .success {
    text-align: center;
    margin: 0 auto;
    left: 0;
    right: 0;
  }
  /*  ============================================== license_box ============================================== */
  #license_box {
    padding: 64px 0 42px;
  }
  #license_box .content {
    padding: 18px 0px;
    max-width: 100%;
  }
  .license_img {
    margin: 0 auto 24px;
  }
  #license_box .content .title {
    font-size: 16px;
  }
  #license_box .content .caption {
    font-size: 14px;
    font-weight: 400;
  }
  #services4 .services_img {
    margin: 0 auto 30px;
    max-width: 90%;
  }
}
/* تبلت‌ها */
@media (min-width: 768px) and (max-width: 1023px) {
  .chart {
    margin-bottom: 100px;
  }
  .faq .faq_bg {
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}

/* لپ‌تاپ‌هاي كوچك */
@media screen and (min-width: 1024px) and (max-width: 1400px) {
  #start .box_container {
    padding-right: 32px;
  }
  .house {
    height: 85vh;
  }
  .chart,
  .faq,
  .why {
    height: 50vh;
  }
  #why .content {
    text-align: center;
    min-height: unset;
  }
  #why .why_inner {
    min-height: unset;
  }
}
