*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  touch-action: manipulation;
}

button,
[role="button"],
a,
.navbar-toggler,
.ti-next,
.ti-prev,
.ti-controls,
.ig-lightbox,
.ig-lightbox-prev,
.ig-lightbox-next,
.ig-lightbox-close,
.portfolio-lightbox,
.portfolio-lightbox-prev,
.portfolio-lightbox-next,
.portfolio-lightbox-close,
.slick-arrow {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.scrollevent,
.scrollToTop,
.scrollToTop.d-block,
.btn-scroll-up {
  display: none !important;
}

img,
iframe,
svg,
video {
  max-width: 100%;
  height: auto;
}

.service-card-media img,
.service-landing-hero,
.suburb-hero-photo,
.aws-card-img,
.banner .slider .block.slick-slide .image img,
.ig-avatar-inner img,
.ig-tile img {
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.contact-map iframe,
.map iframe {
  width: 100%;
  max-width: 100%;
  height: 400px;
}

@media (min-width: 992px) {
  .mobile-call-btn,
  .mobile-nav-social {
    display: none !important;
  }
  .mobile-nav-tools {
    display: contents;
  }
}

@media (max-width: 991px) {
  .header {
    position: sticky !important;
    top: 0;
    z-index: 1050;
    background: #0a1d37;
  }
  .header > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .header .top-header,
  .header .top-header.d-flex,
  .header .header-social {
    display: none !important;
  }
  .header .bottom-header,
  .header .bottom-header.fixed-header {
    background: #0a1d37 !important;
    background-image: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 1050;
  }
  .header .bottom-header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .header .bottom-header .navbar.navbar-expand-lg {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: #0a1d37 !important;
    background-image: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 10px 16px !important;
    width: 100% !important;
    min-height: 68px;
    height: auto;
  }
  .header .bottom-header nav .navbar-brand {
    display: flex !important;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    height: 44px;
  }
  .header .bottom-header nav .navbar-brand img {
    height: 44px !important;
    width: auto !important;
    max-height: 44px !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }
  .mobile-nav-tools {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-wrap: nowrap;
  }
  .mobile-call-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #f5b800;
    color: #0a1d37 !important;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.2;
  }
  .header .bottom-header .navbar-toggler {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .header .bottom-header .navbar-toggler-icon,
  .header .bottom-header .navbar-toggler-icon i {
    color: #ffffff !important;
    width: auto;
    height: auto;
    line-height: 1;
  }
  .header .bottom-header .navbar-collapse.collapse:not(.show) {
    display: none !important;
  }
  .header .bottom-header .navbar-collapse.collapse.show {
    display: block !important;
    flex-basis: 100%;
    width: calc(100% + 32px);
    max-width: none;
    margin: 10px -16px -10px;
    background: #0f2544;
    padding: 12px 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .header .bottom-header nav ul.navbar-nav {
    width: 100%;
    margin: 0;
    display: block;
  }
  .header .bottom-header nav ul.navbar-nav .nav-item {
    padding: 0 !important;
    width: 100%;
    text-align: left !important;
  }
  .header .bottom-header nav ul.navbar-nav .nav-item .nav-link i,
  .header .bottom-header nav ul.navbar-nav .nav-item .nav-link .fa-dot-circle,
  .header .bottom-header nav ul.navbar-nav .nav-item .nav-link .fas {
    display: none !important;
  }
  .header .bottom-header nav ul.navbar-nav .nav-item .nav-link,
  .header .bottom-header nav .dropdown-menu .dropdown-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    text-align: left !important;
    width: 100%;
    min-height: 44px;
    padding: 12px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-size: 15.5px;
    font-weight: 600;
    background: transparent;
  }
  .header .bottom-header nav ul.navbar-nav .nav-item .nav-link:hover,
  .header .bottom-header nav ul.navbar-nav .nav-item .nav-link.active {
    color: #f5b800 !important;
  }
  .header .bottom-header nav .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin: 4px 0 8px;
    border: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 6px;
    padding: 4px 0 4px 14px;
    transform: none !important;
    display: none;
  }
  .header .bottom-header nav .dropdown.show > .dropdown-menu,
  .header .bottom-header nav .dropdown-menu.show {
    display: block !important;
  }
  .header .bottom-header nav .dropdown-menu .dropdown-item {
    font-size: 14.5px !important;
    font-weight: 500;
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }
  .header .bottom-header nav .button {
    width: 100%;
    text-align: center !important;
    margin: 14px 0 0;
  }
  .header .bottom-header nav .button a {
    width: 100% !important;
    min-height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    text-align: center !important;
    background: #f5b800 !important;
    color: #0a1d37 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 13px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
  }
  .mobile-nav-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
  }
  .mobile-nav-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
  }

  .banner {
    overflow: visible;
    height: auto;
    min-height: unset;
  }
  .banner .slider .block.slick-slide .image img {
    height: auto !important;
    min-height: 180px !important;
    max-height: none !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .banner .container {
    position: relative;
    z-index: 10;
    padding: 48px 16px;
    height: auto;
    min-height: unset;
  }
  .banner-copy {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    max-width: 100% !important;
    padding: 0 0 20px !important;
  }
  .banner-copy h1 {
    font-size: clamp(28px, 6.5vw, 44px) !important;
    line-height: 1.2;
  }
  .banner .form,
  .form {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0;
  }

  .modern-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .service-landing-wrap,
  .suburb-editorial-wrap {
    grid-template-columns: 1fr !important;
  }
  .service-landing-sidebar,
  .suburb-editorial-sidebar {
    position: static !important;
    top: auto;
  }

  .ig-feed-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  footer .footer-wrapper .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  footer .footer-links li a,
  .footer-areas ul li a {
    min-height: 38px;
    display: block;
    padding: 6px 0 !important;
  }
  section.callus-section .row {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  section.callus-section .text {
    text-align: center !important;
    padding: 0 12px !important;
  }
  section.callus-section .text .button a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.quote-page .quote-split,
  body.quote-page .quote-form-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .aws-grid {
    grid-template-columns: 1fr !important;
  }
  body.contact-page .contact-info-grid,
  body.contact-page .contact-split {
    grid-template-columns: 1fr !important;
  }
  body.contact-page .contact-split-form,
  body.contact-page .contact-split-aside {
    padding: 28px 20px;
  }
}

@media (max-width: 767px) {
  section.more-section .section-body .block {
    width: 100%;
    max-width: 100%;
  }
  .modern-services-grid {
    grid-template-columns: 1fr !important;
  }
  .about-story-wrap,
  .about-service-grid {
    grid-template-columns: 1fr !important;
  }
  section.feature-section {
    padding: 8px 0 12px !important;
    margin: 0 !important;
  }
  section.feature-section .container {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .feature-section .trust-heading {
    text-align: center;
    margin: 0;
    padding: 8px 16px 0;
  }
  .feature-section .trust-heading h2 {
    font-size: 18px !important;
    line-height: 1.25;
    margin: 0 !important;
  }
  section.feature-section .container .features,
  section.feature-section .container .features.trust-features,
  section.feature-section .container .features.trust-features.d-flex,
  .trust-features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 16px !important;
    max-width: 100%;
    margin: 0 auto;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
    align-items: stretch !important;
  }
  section.feature-section .container .features.trust-features .block,
  section.feature-section .container .features.trust-features .block.d-flex,
  .trust-features .block,
  .trust-features .block.d-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 14px 10px !important;
    height: auto !important;
    min-height: unset !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    text-decoration: none !important;
    flex: none !important;
  }
  section.feature-section .container .features.trust-features .block:first-child,
  section.feature-section .container .features.trust-features .block:last-child {
    padding: 14px 10px !important;
    margin: 0 !important;
  }
  section.feature-section .container .features.trust-features .block:nth-child(5),
  .trust-features .block:nth-child(5),
  .trust-features .block:last-child {
    grid-column: 1 / -1;
    max-width: 240px;
    width: 100% !important;
    margin: 0 auto !important;
  }
  section.feature-section .container .features.trust-features .block .image,
  .trust-features .block .image {
    padding: 0 !important;
    margin: 0 0 0 !important;
    width: auto !important;
    display: flex;
    justify-content: center;
  }
  section.feature-section .container .features.trust-features .block .image img,
  section.feature-section .container .features.trust-features .block:first-child .image img,
  .trust-features .block img {
    width: 96px !important;
    height: 38px !important;
    max-width: 96px !important;
    max-height: 38px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border-radius: 6px;
    padding: 5px 8px !important;
    margin: 0 0 10px !important;
  }
  section.feature-section .container .features.trust-features .block .text,
  .trust-features .block .text {
    align-self: center;
    width: 100%;
    text-align: center;
  }
  section.feature-section .container .features.trust-features .block .text h5,
  .trust-features .block .text h5 {
    font-size: 13.5px !important;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.3;
    margin: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }

  .mobile-call-button {
    display: block !important;
    position: fixed !important;
    right: 16px !important;
    bottom: 16px !important;
    z-index: 999 !important;
    margin: 0 !important;
  }
  .mobile-call-button a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    line-height: 1 !important;
  }
  .scrollevent,
  .scrollToTop,
  .scrollToTop.d-block {
    display: none !important;
  }
  .contact-map iframe,
  .map iframe,
  body.contact-page .contact-map iframe {
    height: 300px !important;
    min-height: 300px !important;
  }
  section.callus-section {
    padding: 48px 16px !important;
  }

  footer {
    text-align: left !important;
    padding: 36px 20px 24px !important;
  }
  footer .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
  }
  footer .footer-wrapper .row {
    display: flex;
    flex-direction: column;
    gap: 28px !important;
    margin-left: 0;
    margin-right: 0;
  }
  footer .footer-wrapper .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }
  footer .footer-wrapper .footer-block {
    padding: 0 !important;
  }
  footer .footer-wrapper .footer-block .logo {
    margin-bottom: 0;
  }
  footer .footer-wrapper .footer-block .logo img {
    max-width: 110px !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 14px !important;
  }
  footer .footer-social {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
  footer .footer-wrapper .footer-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  footer .footer-wrapper .footer-block ul li.d-flex {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
    width: 100%;
    text-align: left !important;
  }
  footer .footer-wrapper .footer-block ul li.d-flex .icon {
    flex: 0 0 auto !important;
    width: auto !important;
    padding-right: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  footer .footer-wrapper .footer-block ul li.d-flex .text,
  footer .footer-wrapper .footer-block ul li.d-flex .text a,
  footer .footer-wrapper .footer-block ul li.d-flex a {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    color: #e2e8f0 !important;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap;
  }
  footer .footer-wrapper .footer-block ul li.d-flex .text a {
    white-space: nowrap;
  }
  footer .footer-wrapper .footer-block ul li.d-flex:last-child {
    margin-bottom: 0 !important;
    margin-top: 4px !important;
  }
  footer .footer-wrapper .footer-block ul li.d-flex:last-child .text,
  footer .footer-wrapper .footer-block ul li.d-flex:last-child .text span {
    font-size: 13px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    white-space: nowrap;
  }
  footer .footer-block .footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  footer .footer-block .footer-links::before {
    content: "Our Services";
    grid-column: 1 / -1;
    display: block;
    color: #f5b800;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding: 0;
  }
  footer .footer-links li a {
    padding: 6px 0 !important;
    display: block !important;
    min-height: 38px;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 500;
  }
  footer .footer-areas {
    text-align: left !important;
    margin-top: 8px;
  }
  footer .footer-areas .areas-heading {
    color: #f5b800;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  footer .footer-areas ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    justify-content: flex-start !important;
    padding: 0;
    margin: 0;
  }
  footer .footer-areas ul li {
    padding: 0 !important;
    list-style: none;
  }
  footer .footer-areas ul li a {
    padding: 6px 0 !important;
    display: block !important;
    min-height: 38px;
    color: #cbd5e1 !important;
    font-size: 14px !important;
  }
  footer .footer-wrapper .review-link {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 280px;
    margin-top: 0 !important;
  }
  footer .footer-wrapper .review-link::before {
    content: "Verified & Trusted";
    grid-column: 1 / -1;
    display: block;
    color: #f5b800;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }
  footer .footer-wrapper .reviews.d-flex {
    display: contents !important;
  }
  footer .footer-wrapper .review-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    background: #ffffff;
    border-radius: 6px;
    padding: 6px 8px;
  }
  footer .footer-wrapper .reviews.d-flex img,
  footer .footer-wrapper .review-link img {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    background: transparent !important;
  }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 20px 20px !important;
    margin-top: 24px;
    text-align: center !important;
  }
  .footer-bottom .block,
  .footer-bottom .block div,
  .footer-bottom a,
  .footer-bottom .block a {
    font-size: 13px !important;
    color: #94a3b8 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    display: inline !important;
    line-height: 1.55;
  }
}

@media (max-width: 991px) {
  .ti-reviews-wrap {
    padding: 12px 8px !important;
  }
  .ti-reviews-wrap .ti-widget .ti-controls .ti-next,
  .ti-reviews-wrap .ti-widget .ti-controls .ti-prev {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
  }
  .ig-lightbox,
  .portfolio-lightbox {
    touch-action: manipulation;
  }
  .ig-lightbox-close,
  .ig-lightbox-prev,
  .ig-lightbox-next,
  .portfolio-lightbox-close,
  .portfolio-lightbox-prev,
  .portfolio-lightbox-next {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }
}

@media (max-width: 640px) {
  .service-process-grid,
  .suburb-service-grid {
    grid-template-columns: 1fr !important;
  }
  .ig-profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .about-story-media {
    width: 100%;
  }
  .ig-feed-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
  }
}
