@media (max-width: 767px) {
  .modal {
    width: 100%; /* عرض پاپ‌آپ */
    margin-left: auto;
    margin-right: auto;
    height: 100%;
  }
  /* اضافه کردن افکت ویژه برای پاپ‌آپ روی موبایل */
  .modal-content {
    padding: 20px 0px;
    max-width: 100vh; /* حداکثر عرض پاپ‌آپ */
    width: 90%;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Center the modal */

    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 18px;
    cursor: pointer;
  }
  .lightbox-modal .carousel-inner {
    width: 95%;
  }
  .text-score-mobile {
    font-size: 14px;
  }
}
.hero-homepage {
  background-image: radial-gradient(
      circle at center center,
      transparent,
      rgb(255, 255, 255)
    ),
    linear-gradient(
      309deg,
      rgba(90, 90, 90, 0.05) 0%,
      rgba(90, 90, 90, 0.05) 50%,
      rgba(206, 206, 206, 0.05) 50%,
      rgba(206, 206, 206, 0.05) 100%
    ),
    linear-gradient(
      39deg,
      rgba(13, 13, 13, 0.05) 0%,
      rgba(13, 13, 13, 0.05) 50%,
      rgba(189, 189, 189, 0.05) 50%,
      rgba(189, 189, 189, 0.05) 100%
    ),
    linear-gradient(
      144deg,
      rgba(249, 249, 249, 0.05) 0%,
      rgba(249, 249, 249, 0.05) 50%,
      rgba(111, 111, 111, 0.05) 50%,
      rgba(111, 111, 111, 0.05) 100%
    ),
    linear-gradient(
      166deg,
      rgba(231, 231, 231, 0.05) 0%,
      rgba(231, 231, 231, 0.05) 50%,
      rgba(220, 220, 220, 0.05) 50%,
      rgba(220, 220, 220, 0.05) 100%
    ),
    linear-gradient(
      212deg,
      rgba(80, 80, 80, 0.05) 0%,
      rgba(80, 80, 80, 0.05) 50%,
      rgba(243, 243, 243, 0.05) 50%,
      rgba(243, 243, 243, 0.05) 100%
    ),
    radial-gradient(
      circle at center center,
      hsl(107, 19%, 100%),
      hsl(107, 19%, 100%)
    );
  height: 20vh;
  margin-top: 90px;
  align-items: center;
  display: flex;
  justify-content: center;
}
.area-padding-2 {
  padding: 70px 0px 0px;
}

/* Responsive  css section  */
:root {
  --grad-color: linear-gradient(to left, #22221f, #006ca7, #22221f);
}

@media (min-width: 768px) {
  .logoclass {
    margin-top: 25px;
  }

  .mt-from-header {
    margin-top: 62px;
  }

  .mobile {
    display: none;
  }
}

@media (min-width: 1920px) {
  .work-right-text {
    padding: 150px 150px;
  }
}

/* Normal desktop :992px. */

@media (min-width: 992px) and (max-width: 1169px) {
  .slider-content {
    padding: 146px 0;
  }

  .work-right-text {
    padding: 40px 0;
  }

  .work-right-text h2 {
    font-size: 18px;
    line-height: 28px;
  }

  .logoclass {
    height: 80px;
    width: auto;
    margin-top: 25px;
  }
}

/* Tablet desktop :768px. */

@media (min-width: 768px) and (max-width: 991px) {
  .main-menu ul.navbar-nav li {
    display: inline-block;
    padding: 0 8px;
  }

  .logoclass {
    height: 80px;
    width: auto;
  }

  .layer-1-1 h2 {
    font-size: 24px;
  }

  .layer-1-2 h1 {
    font-size: 31px;
    line-height: 38px;
    padding: 0px 30px;
  }

  .stick .main-menu ul.navbar-nav li a {
    padding: 24px 0px;
  }

  .tab-menu ul.nav li a {
    padding: 10px 16px;
  }

  .suscribe-input input {
    width: 60%;
  }

  .suscribe-input button {
    width: 40%;
  }

  .team-content.text-center > h4 {
    font-size: 20px;
  }

  .sus-btn {
    margin-left: 0;
  }

  .suscribe-text h3 {
    font-size: 16px;
    padding-right: 20px;
  }

  .work-right-text h5 {
    font-size: 14px;
    line-height: 22px;
  }

  .work-right-text {
    padding: 36px 0;
  }

  .work-right-text h2 {
    font-size: 14px;
    line-height: 22px;
  }

  .work-right-text .ready-btn {
    font-size: 13px;
    padding: 7px 20px;
    margin-top: 5px;
  }

  .single-awesome-portfolio {
    width: 33.33%;
  }

  .widget-product a img {
    display: block;
    float: none;
    width: 100%;
  }

  .widget-product .product-info {
    display: block;
    float: none;
    padding-left: 0;
    width: 100%;
    margin-top: 20px;
  }

  .map-column {
    margin-left: 0;
    padding-right: 40px;
  }

  .post-information .entry-meta {
    font-size: 13px;
    padding: 5px 0;
  }

  .post-information .entry-meta span a {
    padding: 4px 0;
  }

  .service-pic {
    margin-bottom: 30px;
    text-align: center;
  }

  .single-add-itms {
    width: 50%;
  }

  .left-sidebar-title > h4 {
    font-size: 18px;
  }

  .contact-form {
    margin-top: 0px;
  }

  .search-option input {
    width: 67%;
  }
}

/* small mobile :320px. */

@media (max-width: 767px) {
  .desktop {
    display: none;
  }

  h1 {
    font-size: 32px;
    line-height: 50px;
  }

  h2 {
    font-size: 32px;
    line-height: 2em;
  }

  h3 {
    font-size: 28px;
    line-height: 2em;
  }

  h4 {
    font-size: 24px;
    line-height: 26px;
  }

  h5 {
    font-size: 22px;
    line-height: 22px;
  }

  h6 {
    font-size: 18px;
    line-height: 20px;
  }
  .hero-homepage {
    margin-top: 60px;
  }
  .mt-from-header125 {
    margin-top: 80px;
  }

  .mt-from-header200 {
    margin-top: 80px;
  }

  .mt-from-header250 {
    margin-top: 25px;
  }
  .m-0-mob {
    margin: 0px;
  }
  .mt-from-header {
    margin-top: 81px;
  }

  .area-padding {
    padding: 0px;
  }

  .border-right-img {
    border: none;
  }

  /* .imgcards{
    height: 169px;
  } */
  .mob-pd {
    padding: 30px;
  }

  .p-0-mob {
    padding: 0px;
  }

  .header-area {
    background: var(--grad-color);
  }

  .navbar-header a.navbar-brand,
  .stick .navbar-header a.navbar-brand {
    display: inline-block;
    height: 60px !important;
    padding: 9px 0;
  }

  .navbar-default .navbar-toggle,
  .stick .navbar-default .navbar-toggle {
    padding: 15px 0;
  }

  .nav.navbar-nav.navbar-right,
  .stick .nav.navbar-nav.navbar-right {
    background-color: #252525;
    padding: 0;
    margin-top: 0;
    text-align: center;
  }

  .main-menu ul.navbar-nav li,
  .stick .main-menu ul.navbar-nav li {
    display: block;
  }

  .main-menu ul.navbar-nav li a,
  .stick .main-menu ul.navbar-nav li a {
    padding: 10px 2px;
  }

  .main-menu ul.navbar-nav li.active a::after,
  .stick .main-menu ul.navbar-nav li.active a::after {
    border: 0px solid #fff;
  }

  .logo {
    height: inherit;
    left: 0;
    padding: 0;
    position: absolute;
    top: -6px;
    z-index: 999999;
  }

  .logo a {
    padding: 0;
  }

  .slider-area {
    /* margin-top: 60px; */
  }

  .slider-content h2 {
    font-size: 18px !important;
    line-height: 24px !important;
  }

  .slider-content h1 {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  .layer-1-3 a.ready-btn {
    padding: 8px 15px;
  }

  .section-headline h2 {
    font-size: 30px;
  }

  .well-middle .single-well {
    margin-top: 30px;
  }

  .single-skill {
    margin-bottom: 40px;
  }

  .tab-menu {
    margin-top: 30px;
  }

  .tab-menu ul.nav li a {
    padding: 8px 6px;
  }

  .wellcome-text {
    margin: 0px;
    padding: 70px 0px;
  }

  .subs-feilds {
    width: 100%;
  }

  .suscribe-input input {
    width: 60%;
  }

  .suscribe-input button {
    font-size: 15px;
    padding: 14px 10px;
    width: 40%;
  }

  .section-headline h3 {
    font-size: 25px;
  }

  .well-text > h2 {
    font-size: 18px;
  }

  .well-text p {
    display: none;
  }

  .single-team-member {
    margin-bottom: 30px;
  }

  .service-right {
    width: 100%;
  }

  .service-images:hover .overly-text {
    display: none;
  }

  .portfolio-area {
    padding-top: 0px;
  }

  .project-menu li a {
    padding: 8px 12px;
    margin: 10px 4px;
  }

  .pri_table_list {
    margin-bottom: 30px;
  }

  .single-awesome-project,
  .portfolio-2 .single-awesome-project {
    width: 100%;
    float: none;
  }

  .single-blog {
    margin-bottom: 30px;
  }

  .sus-btn {
    margin-left: 0;
    margin-top: 30px;
  }

  .contact-form {
    margin-top: 30px;
  }

  .head-team h5 {
    font-size: 22px;
  }

  .footer-content {
    margin-bottom: 30px;
  }

  .header-bottom h1 {
    font-size: 30px;
    margin-bottom: 0;
  }

  .page-area .slider-content {
    padding: 100px 0;
  }

  .search-option input {
    width: 74%;
  }

  .header-bottom h2 {
    font-size: 20px;
    margin-bottom: 0;
  }

  li.threaded-comments {
    margin-left: 0;
  }

  .navbar-right.mt-15px > li {
    float: none !important;
    border-bottom: solid 1px #a39c9c;
  }

  .artclass {
    margin-top: 0px;
  }

  .titleproduct {
    margin-top: 15px;
  }

  body
    > div
    > div
    > div
    > div
    > div
    > article
    > div.col-md-8.col-sm-8.col-xs-12 {
    margin-top: 10px;
  }

  .shomarebutton {
    /* background-color: rgba(199, 199, 199, 0.288); */
    border-radius: 8px;
    padding: 5px 15px;
    font-size: 10px;
    font-weight: 600px;
  }

  .shomare {
    padding-left: 1px;
    color: #29274e;
  }

  .icstyle {
    margin-top: 0px;
  }

  .callicon {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #3ec1d5;
    padding: 15px;
    border-radius: 50%;
  }

  .footer-logo,
  .footer-icons,
  .footer-head {
    text-align: center;
  }

  .topbar {
    height: 62px;
  }

  .logoclass {
    height: 60px;
    width: auto;
  }

  .ul-custom {
    display: block;
    text-align: center;
  }

  .bottombar {
    display: none;
  }

  .slider-area {
    margin-top: 100px;
  }

  .social-header {
    font-size: 18px;
  }

  .mobnone {
    display: none;
  }

  .brdrlft {
    border-left: 0px solid #3ec1d5;
  }

  .pt15-resp {
    padding-top: 15px;
  }

  .pt17-resp {
    padding-top: 17px;
  }

  .backmenu {
    margin-top: 100px;
  }

  .nimbaner {
    display: none;
  }

  /* .nimbaner img {
      width: 250px;
  
    } */

  .shomareheader {
    display: none;
  }

  #navbar-example {
    margin-top: -38px;
    background: rgb(255, 255, 255);
  }

  .backmenu {
    width: 96%;
  }

  .hovermenu:hover {
    background-color: #c8c8c988;
    color: #000;
  }

  .imgglass {
    width: 320px;
    height: auto !important;
    max-width: 100%;
  }

  .slider {
    width: 90%;
  }

  .imgrespons {
    height: none;
  }

  .slider label {
    height: auto;
    width: 55px;
    margin: 0px;
  }

  img {
    height: auto;
  }

  .fehrest {
    flex-direction: column;
  }
  .bg-footer {
    height: 600px;
    background-repeat: no-repeat;
  }
  .footer-icons {
    margin-top: 10px;
  }
  .footer-content {
    margin-bottom: 10px;
  }
}

/* Large Mobile :480px. */

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .container-custom {
    display: none;
  }
  .submitbtn {
    float: none;
    width: 99.8%;
  }

  .icons-bottom ul li a {
    height: 40px;
    line-height: 37px;
    width: 40px;
  }

  .blog-post-dlc ul li {
    padding-left: 20px;
    padding-right: 20px;
  }

  .awesome-portfolio-content .portfolio-2 {
    width: 50%;
  }

  .gallary-details .single-awesome-portfolio {
    width: 50%;
  }

  .tab-menu ul.nav li a {
    padding: 8px 20px;
  }
  .back-to-top {
    bottom: 25px;
    border-radius: 50%;
  }
}

@media only screen and (max-width: 576px) {
  .logoclass {
    height: 40px;
    width: auto;
  }
  .product-image-carousel {
    height: 75px !important;
  }
}
