@media (min-width:992px) and (max-width:1550px) {
  .masthead-logo .custom-logo {
    max-width: 280px;
  }

  .container {
    width: 96%;
  }
}

@media (max-width: 1023.98px) {
  .services-row {
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (min-width:992px) and (max-width:1200px) {
  .home-banner {
    min-height: auto;
    padding: 80px 0;
  }

  .banner-content {
    flex: 1 1 380px;
  }

  .banner-row {
    gap: 30px;
  }

  .banner-image img {
    max-width: 100%;
  }

  .left-overlay-img {
    max-width: 380px;
  }
}


@media (min-width:768px) and (max-width:992px) {
  .container {
    width: 95% !important;
  }

  #scrollToTop {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
  }

  .home-banner {
    padding: 80px 0;
  }

  .banner-row {
    flex-wrap: nowrap;
    text-align: left;
    gap: 24px;
  }

  .banner-content {
    flex: 1 1 50%;
  }

  .banner-heading {
    max-width: 100%;
    font-size: clamp(30px, 5vw, 48px);
    line-height: clamp(38px, 5.5vw, 56px);
  }

  .banner-title {
    font-size: clamp(22px, 3vw, 32px);
    line-height: clamp(30px, 4vw, 44px);
  }

  .banner-description {
    max-width: 100%;
  }

  .banner-description p {
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: clamp(22px, 2.5vw, 28px);
  }

  .banner-image {
    flex: 1 1 45%;
  }

  .left-overlay-img {
    max-width: 260px;
    opacity: 0.8;
  }

  .btn-1,
  .btn-2 {
    min-width: 120px !important;
    min-height: 43px !important;
    padding: 0 15px;
  }

  .key-points-row {
    row-gap: 40px;
    max-width: 650px;
  }

  .special-padding {
    padding: 50px 0;
  }

  .about-description {
    margin-bottom: 30px;
  }

  .about-printnow-content h3,
  .about-printnow-content p {
    max-width: 100%;
  }

  .section-divider {
    margin: 36px 0;
  }

  .pn-overlay-top-left {
    max-width: 110px;
    top: -4%;
  }

  .pn-overlay-bottom-right {
    max-width: 100px;
    bottom: -5%;
  }

  .why-printnow-row {
    max-width: 93%;
    margin-inline: auto;
  }

  .why-point-title {
    max-width: 210px;
  }
  .about-printnow-image img {
    max-width: 180px;
  }
  .fancybox__nav .f-button {
    --f-button-width: 40px;
    --f-button-height: 40px;
    width: 40px;
    height: 40px;
  }

  .fancybox__nav .f-button svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 767.98px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
    gap: 40px;
  }

  .footer-menu {
    justify-content: center;
    gap: 18px 24px;
  }

  .footer-menu li a {
    font-size: 13px;
  }

  .site-info {
    padding: 16px 0;
  }

  .footer-logo .custom-logo {
    max-width: 220px;
  }

  .copyright-text {
    font-size: 14px;
  }

  #scrollToTop {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
  }

  .btn-1,
  .btn-2 {
    min-width: 120px !important;
    min-height: 42px !important;
    padding: 0 10px;
  }

  .home-banner {
    padding: 60px 0;
    min-height: auto;
  }

  .banner-row {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .banner-content {
    flex: 1 1 auto;
    width: 100%;
  }

  .banner-heading,
  .banner-description {
    max-width: 100%;
  }

  .banner-title {
    font-size: clamp(22px, 6vw, 30px);
    line-height: clamp(30px, 8vw, 40px);
  }

  .banner-heading {
    font-size: clamp(28px, 8vw, 38px);
    line-height: clamp(34px, 9vw, 46px);
    margin-bottom: 14px;
  }

  .banner-description p {
    font-size: clamp(15px, 4vw, 17px);
    line-height: clamp(22px, 5vw, 26px);
  }

  .banner-image {
    flex: 1 1 auto;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  .left-overlay-img {
    max-width: 180px;
    opacity: 0.8;
  }

  .special-padding {
    padding: 40px 0;
  }

  .about-description {
    margin-bottom: 30px;
  }

  .about-printnow-image {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
  }

  .about-printnow-content h3,
  .about-printnow-content p {
    max-width: 100%;
  }

  .about-printnow-content,
  .about-printnow-image {
    text-align: center;
  }

  .section-divider {
    margin: 36px 0;
  }

  .pn-overlay-top-left {
    max-width: 130px;
    top: -3%;
  }

  .pn-overlay-bottom-right {
    max-width: 130px;
    bottom: -3%;
  }

  .service-card {
    padding: 28px 24px;
  }

  .service-list-row {
    row-gap: 20px;
  }

  .service-card-heading {
    text-align: left;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item-label {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
  }

  #portfolio-load-more {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .cf7-input {
    width: 100%;
    height: 45px;
  }

  .about-printnow-image img {
    max-width: 180px;
  }
   .fancybox__nav .f-button {
    --f-button-width: 40px;
    --f-button-height: 40px;
    width: 40px;
    height: 40px;
  }

  .fancybox__nav .f-button svg {
    width: 22px;
    height: 22px;
  }
}

@media (min-width:575px) and (max-width:768px) {
  .container {
    width: 95% !important;
  }
}

@media screen and (max-width:575px) {
  .container {
    width: 98% !important;
  }

  .logo-wrapper .custom-logo {
    position: relative;
    top: 0;
    width: 200px;
  }

  .home-banner {
    padding: 50px 0;
  }

  .banner-image {
    max-width: 380px;
  }

  .about-printnow-image img {
    max-width: 160px;
  }
}

@media screen and (max-width:380px) {
  .footer-logo .custom-logo {
    max-width: 181px;
  }

  .footer-menu {
    justify-content: center;
    gap: 14px 16px;
  }

  .copyright-text {
    font-size: 13px;
  }

  .pn-overlay-top-left {
    max-width: 90px;
    top: -2%;
    left: -3%;
  }

  .pn-overlay-bottom-right {
    max-width: 90px;
    bottom: -2%;
    right: -3%;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}