@media only screen and (max-width:7000px) {
  .page-wrapper {
    overflow: hidden
  }
}

@media only screen and (max-width:1400px) {

  .main-menu .navigation>li:nth-last-child(-n+2)>ul>li>ul,
  .main-menu .navigation>li:nth-last-child(-n+3)>ul>li>ul {
    left: auto;
    right: 100%
  }

  .main-menu .navigation>li:nth-last-child(-n+2)>ul {
    left: auto;
    right: 0
  }

  .features-section .auto-container,
  .main-header.header-style-two .sticky-header .auto-container {
    padding: 0 15px
  }

  .main-header.header-style-two .header-info-right .phone-number {
    display: none
  }

  .main-menu .navigation>li {
    margin-right: 30px
  }
}

@media only screen and (max-width:1199px) {
  .main-menu .navigation>li {
    padding: 15px 10px;
    margin-right: 0
  }

  .banner-section .banner-slider-nav,
  .main-header.header-style-two .header-info-right {
    display: none
  }

  .main-header.header-style-one .header-upper .auto-container {
    padding: 0 23px
  }

  .banner-section .first-banner .content-box {
    padding: 0 15px
  }

  .main-menu .navigation {
    margin-left: 30px
  }

  .main-header .nav-outer .main-menu,
  .sticky-header {
    display: none !important
  }

  .nav-outer .mobile-nav-toggler {
    display: block
  }

  .header-top .left-column,
  .header-top .right-column {
    padding: 0 30px
  }
}

@media only screen and (max-width:991px) {
  .features-section .inner-container {
    max-width: 100%
  }

  .features-section .image {
    margin-top: 0
  }
}

@media only screen and (min-width:768px) {

  .main-menu .navigation>li>ul,
  .main-menu .navigation>li>ul>li>ul {
    display: block !important;
    visibility: hidden;
    opacity: 0
  }
}

@media only screen and (max-width:767px) {
  .header-top .inner-container {
    flex-wrap: nowrap;
    height: auto;
    padding: 6px 0
  }

  .header-top .left-column {
    background-color: #015fa5;
    padding: 0 15px
  }

  .header-top .right-column {
    padding: 0 15px
  }

  .main-header.header-style-one .header-upper .auto-container {
    padding: 0 10px
  }

  .header-top .left-column .office-hour,
  .header-top .right-column,
  .main-header .header-upper .link-btn,
  br {
    display: none
  }

  .main-header .header-upper .search-btn {
    position: relative;
    display: none
  }

  .features-section .icon-box .icon {
    margin-bottom: 20px
  }

  .skills-section .inner-container {
    padding-left: 15px;
    padding-right: 15px
  }

  .header-top .left-column,
  .header-top .left-column .text {
    width: 100%
  }

  .footer-bottom {
    justify-content: center
  }

  .error-section .image-box img {
    width: 100%;
    height: auto
  }

  .cta-button-group {
    flex-direction: column;
    gap: 12px
  }

  .cta-btn {
    width: 100%;
    max-width: 280px;
    padding: 5px 16px;
    font-size: 15px
  }
}

@media only screen and (max-width:600px) {
  .about-section .year-experience {
    bottom: 30px
  }
}

@media (max-width:550px) {
  .page-title {
    background-image: none !important;
    background-color: #383d41
  }

  .page-title .replace-h1 {
    font-size: 80px
  }

  .header-top .left-column {
    gap: 10px;
    flex-wrap: nowrap;
    padding: 0 10px
  }

  .header-top .inner-container {
    height: auto
  }

  .banner-section .first-banner .content-box {
    padding: 0
  }

  .banner-section .first-banner .content-box .inner {
    width: 200px
  }
}

@media (max-width:420px) {
  .header-top .inner-container {
    gap: 0;
    height: auto
  }

  .header-top .left-column {
    padding: 0 10px
  }

  .banner-section .first-banner .content-box .inner {
    width: 225px
  }

  .banner-section .content-box {
    padding: 10px;
    width: 225px
  }

  .header-top .left-column a {
    font-size: 13px
  }

  .cta-btn {
    padding: 5px 16px;
    font-size: 14px;
    min-width: 140px
  }

  .cta-btn i {
    font-size: 16px
  }
}

@media (max-width:375px) {
  .header-top .left-column {
    padding: 0 5px
  }

  .banner-section .content-box .banner-main-text {
    font-size: 22px
  }
}

@media (max-width:340px) {
  .main-header .header-upper .logo-box .logo img {
    width: 160px
  }

  .header-top .left-column .icon-box,
  .header-top .right-column .icon-box {
    height: 20px;
    width: 20px
  }

  .header-top .left-column .icon-box img,
  .header-top .right-column .icon-box img {
    width: 12px
  }

  .header-top .left-column {
    justify-content: center
  }

  .header-top .inner-container {
    gap: 10px;
    flex-direction: column
  }
}

@media (max-width:320px) {
  .main-footer .footer-info-box .text a {
    word-break: break-all
  }

  .call-text a {
    white-space: nowrap
  }

  .banner-section .content-box {
    padding: 10px;
    width: 225px
  }

  .banner-section .content-box .banner-main-text {
    font-size: 20px
  }

  .top-head-enquiry {
    padding-right: 0
  }
}

@media (max-width:280px) {
  .banner-section .content-box {
    padding: 25px 20px 20px
  }

  .banner-section .content-box .banner-main-text {
    font-size: 18px
  }
}

@media only screen and (max-width: 991px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media only screen and (max-width: 575px) {
  .contact-cards {
    grid-template-columns: repeat(1, 1fr)
  }
}

/* Other services list responsive tweaks */
@media only screen and (max-width: 767px) {
  .other-services-section {
    padding-top: 24px;
    padding-bottom: 24px
  }

  .other-services-list {
    gap: 10px
  }

  .other-services-list li a {
    width: 100%;
    justify-content: space-between
  }
}

@media only screen and (max-width: 420px) {
  .other-services-list {
    gap: 8px
  }

  .other-services-list li a {
    padding: 10px 14px;
    font-size: 15px
  }
}

/* Modern Quote Button Responsive Styles */
@media only screen and (max-width: 767px) {
  .modern-quote-btn {
    padding: 14px 28px;
    font-size: 15px;
    letter-spacing: 0.3px;
  }
}

@media only screen and (max-width: 575px) {
  .modern-quote-btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
}

@media only screen and (max-width: 420px) {
  .modern-quote-btn {
    padding: 10px 20px;
    font-size: 13px;
    max-width: 280px;
  }
}