/*
 * Autozox — additions on top of the purchased template stylesheets.
 * Only what the removed jQuery plugins used to apply inline lives here.
 */

/* jquery.scrollUp injected these inline; the template CSS only skinned it. */
#scrollUp {
  position: fixed;
  z-index: 2147483647;
  display: block;
  cursor: pointer;
  border: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
#scrollUp.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Isotope masonry replacement: items keep their intrinsic aspect and wrap. */
.masonry-gallery-huge .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.masonry-gallery-huge .grid-item {
  flex: 0 1 auto;
  max-width: calc(100% - 30px);
}
.masonry-gallery-huge .grid-item .gallery-image {
  margin: 0;
}
.masonry-gallery-huge .grid-item img {
  display: block;
  max-width: 100%;
  height: auto;
}
.masonry-gallery-huge .grid-item a,
.masonry-gallery-huge .grid-item button.popup-image {
  display: block;
  cursor: zoom-in;
  padding: 0;
  border: 0;
  background: none;
  width: 100%;
}

/*
 * magnific-popup replacement. Keep `display` on [open] only — a bare
 * `display: flex` here would beat the UA's `dialog:not([open]){display:none}`
 * and leave the backdrop covering the page.
 */
.az-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(11, 11, 11, 0.88);
  border: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.az-lightbox[open] {
  display: flex;
}
.az-lightbox:not([open]) {
  display: none;
}
.az-lightbox::backdrop {
  background: rgba(11, 11, 11, 0.88);
}
.az-lightbox__body {
  position: relative;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}
.az-lightbox__body img {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
}
.az-lightbox__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.az-lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.az-lightbox__close,
.az-lightbox__nav button {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.az-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  font-size: 32px;
}
.az-lightbox__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.az-lightbox__nav button {
  font-size: 28px;
  padding: 4px 16px;
}
.az-lightbox__count {
  color: #fff;
  font-size: 14px;
}

/* wow.js replacement: hide until revealed, then run the animate.css class. */
/*
.wow:not(.animated) {
  visibility: hidden;
}
*/
@media (prefers-reduced-motion: reduce) {
  .wow:not(.animated) {
    visibility: visible;
  }
}

/*
 * meanmenu replacement. The plugin used <a> elements for its toggles; these are
 * real <button>s, so mirror the two skinned selectors from meanmenu.css.
 */
.mean-container .mean-nav ul.mean-hidden {
  display: none;
}
.mean-container button.meanmenu-reveal {
  border: 1px solid #002e5b;
  background: none;
  color: #002e5b;
  cursor: pointer;
  display: block;
  height: 22px;
  margin-top: -42px;
  padding: 8px 9px;
  position: absolute;
  right: 0;
  top: 0;
  width: 22px;
}
.mean-container button.meanmenu-reveal span {
  background: #002e5b;
  display: block;
  height: 3px;
  margin-top: 3px;
}
.mean-container button.meanmenu-reveal span:first-child {
  margin-top: 0;
}
.mean-container .mean-nav ul li button.mean-expand {
  background: rgba(255, 255, 255, 0.1);
  border-style: none none solid solid;
  border-width: 0 0 1px 1px;
  border-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.4);
  color: inherit;
  cursor: pointer;
  font-weight: 700;
  height: 27px;
  line-height: 17px;
  margin-top: 1px;
  padding: 5px 12px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 26px;
  z-index: 2;
}
.mean-container .mean-nav ul li button.mean-expand:hover {
  background: #fff;
  color: #002e5b;
}

/* The template used anchors for these toggles too. */
.menu-tigger,
.menu-close {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
button.video-i {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.slider-bg button.video-i.popup-video {
  background: none;
}

/* Form feedback (server action results). */
.az-form-message {
  margin-top: 15px;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 15px;
}
.az-form-message--ok {
  background: #e7f7ed;
  color: #14603a;
}
.az-form-message--error {
  background: #fdeaec;
  color: #8c1622;
}
.az-field-error {
  display: block;
  margin-top: 6px;
  color: #e81c2e;
  font-size: 14px;
}

/* Search results page reuses blog list styling. */
.az-search-empty {
  padding: 40px 0;
}

/*
 * react-slick calculates and assigns each `.slick-slide` width itself. The
 * original jQuery template put padding and horizontal margins on that element,
 * which makes every two-card testimonial row wider than Slick's viewport and
 * exposes a clipped third card. Keep the Slick slide as the width container
 * and style the actual testimonial card inside it instead.
 */
.testimonial-active .slick-slide {
  box-sizing: border-box;
  margin: 0;
  padding: 52px 15px 15px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.testimonial-active .slick-slide > div {
  height: 100%;
}
.testimonial-active .single-testimonial {
  position: relative;
  min-height: 250px;
  box-sizing: border-box;
  padding: 30px;
  background-color: #f7f7f7;
  box-shadow: 1px 1.732px 60px 0 rgba(0, 0, 0, 0.01);
  border-radius: 4px;
}
/* Green ticks for the service benefits on the home page. */
.sr-tw-ul li .service-check-icon {
  display: inline-block;
  color: #24a148 !important;
  font-size: 46px;
  line-height: 54px;
  margin-right: 20px;
}

/* Locations page */
.az-locations-area {
  background: #fff;
}
.az-location-card,
.az-location-map,
.az-service-areas {
  border-radius: 4px;
  box-shadow: 0 12px 42px rgba(12, 41, 87, 0.08);
}
.az-location-card {
  position: relative;
  padding: 48px 45px;
  background: #f7f7f7;
}
.az-location-card h3 {
  margin-bottom: 18px;
  color: #0c2957;
  font-size: 32px;
}
.az-location-card p {
  margin-bottom: 16px;
}
.az-location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #e81c2e;
  color: #fff;
  font-size: 24px;
}
.az-location-details {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3e3e3;
}
.az-location-details > div {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.az-location-details i {
  width: 22px;
  padding-top: 4px;
  color: #e81c2e;
  font-size: 18px;
  text-align: center;
}
.az-location-details span {
  display: grid;
}
.az-location-details strong {
  color: #0c2957;
  font-family: Rajdhani, sans-serif;
  font-size: 20px;
}
.az-location-details a {
  color: #777;
}
.az-location-details a:hover {
  color: #e81c2e;
}
.az-location-map {
  min-height: 100%;
  overflow: hidden;
  background: #f7f7f7;
}
.az-location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 475px;
  border: 0;
}
.az-service-areas {
  padding: 50px;
  background: #0c2957;
  color: #dce5f3;
}
.az-service-areas .section-title h2 {
  color: #fff;
}
.az-service-areas .section-title h5 {
  color: #e81c2e;
}
.az-service-areas ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}
.az-service-areas li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.az-service-areas li i {
  margin-top: 6px;
  color: #e81c2e;
  font-size: 12px;
}
.az-location-note {
  margin: 0;
  text-align: center;
  color: #fff;
}

/* Full-width location statistics band. */
.az-location-stats {
  position: relative;
  margin: 35px 0 50px;
  padding: 0 0 42px;
  background: #fff;
}
.az-location-stats::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: #d7e2f0;
  content: "";
}
.az-location-stat {
  position: relative;
  z-index: 1;
  padding: 52px 20px;
  background: #fff;
  text-align: center;
}
.az-location-stat strong,
.az-location-stat span {
  display: block;
}
.az-location-stat strong {
  margin-bottom: 6px;
  color: #1d10c7;
  font-family: Rajdhani, sans-serif;
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
}
.az-location-stat span {
  color: #333;
  font-family: Rajdhani, sans-serif;
  font-size: 32px;
  font-weight: 700;
}

/* Home-page "Why Choose" benefit cards. */
.az-why-choose {
  background: #fff;
}
.az-why-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.az-why-choose__card {
  display: flex;
  gap: 18px;
  min-height: 155px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #edf0f2;
  border-radius: 5px;
  box-shadow: 0 14px 35px rgba(12, 41, 87, 0.08);
}
.az-why-choose__card > i {
  flex: 0 0 auto;
  color: #24a148;
  font-size: 38px;
  line-height: 1;
}
.az-why-choose__card h3 {
  margin: -4px 0 8px;
  color: #0c2957;
  font-size: 26px;
  line-height: 1.1;
}
.az-why-choose__card p {
  margin: 0;
  color: #777;
  line-height: 1.6;
}

/* Pickup and delivery banner at the bottom of the locations page. */
.az-pickup-delivery {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 105px 0;
  background: #10b7e7;
}
.az-pickup-delivery::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 57%;
  background: #fff;
  clip-path: polygon(0 0, 64% 0, 100% 50%, 64% 100%, 0 100%);
  content: "";
}
.az-pickup-delivery__image {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  background-image: linear-gradient(90deg, rgba(12, 41, 87, 0.05), rgba(12, 41, 87, 0.2)),
    url("/img/blog/inner_b1.jpg");
  background-position: center;
  background-size: cover;
  clip-path: polygon(0 0, 68% 0, 100% 50%, 68% 100%, 0 100%);
}
.az-pickup-delivery__card {
  position: relative;
  z-index: 1;
  padding: 62px 65px;
  background: rgba(255, 255, 255, 0.97);
  border: 4px solid #e81c2e;
  box-shadow: 0 16px 45px rgba(0, 42, 87, 0.18);
  text-align: center;
}
.az-pickup-delivery__card h2 {
  margin-bottom: 25px;
  color: #0c2957;
  font-size: 52px;
  line-height: 1.08;
}
.az-pickup-delivery__card p {
  margin: 0 auto 30px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.75;
}

/* Green ticks for the service benefits on the home page. */
.sr-tw-ul li .service-check-icon {
  display: inline-block;
  color: #24a148;
  font-size: 46px;
  line-height: 54px;
}
.s-about-img img.about-page-image {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 991px) {
  .az-location-map iframe {
    min-height: 400px;
  }
  .az-location-stats {
    margin-top: 10px;
  }
  .az-why-choose__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .az-service-areas ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .az-pickup-delivery {
    min-height: 0;
    padding: 80px 0;
  }
  .az-pickup-delivery::before {
    width: 100%;
    clip-path: none;
    opacity: 0.92;
  }
  .az-pickup-delivery__image {
    width: 100%;
    clip-path: none;
    opacity: 0.2;
  }
}
@media (max-width: 575px) {
  .az-location-card,
  .az-service-areas {
    padding: 35px 25px;
  }
  .az-why-choose__grid {
    grid-template-columns: 1fr;
  }
  .az-why-choose__card {
    min-height: 0;
    padding: 26px 22px;
  }
  .az-location-stat {
    padding: 28px 20px;
  }
  .az-location-stat strong {
    font-size: 56px;
  }
  .az-location-stat span {
    font-size: 28px;
  }
  .az-service-areas ul {
    grid-template-columns: 1fr;
  }
  .az-pickup-delivery {
    padding: 60px 0;
  }
  .az-pickup-delivery__card {
    padding: 42px 25px;
    border-width: 3px;
  }
  .az-pickup-delivery__card h2 {
    font-size: 38px;
  }
}
@media (max-width: 1199px) {
  .testimonial-active .single-testimonial {
    min-height: 0;
  }
}
@media (max-width: 767px) {
  .slider-bg {
    min-height: auto !important;
  }
  .slider-content {
    padding-top: 70px;
  }

  .slider-bg .image-layer {
    background-position: center center;
    background-size: cover !important;
  }

  .slider-bg.slick-active .image-layer {
    transform: scale(1);
  }
}
