window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());
    
  




  :root {
    --home-od-green: #6b8e23;
    --home-dark: #050816;
  }

  html {
    scroll-behavior: smooth;
  }

  /* Hero buttons */
  .hero-btn .btn-default {
    margin-right: 12px;
    margin-bottom: 10px;
  }

  .btn-call-home {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
  }
  .btn-call-home:hover {
    background-color: #ffffff;
    color: #000000 !important;
  }

  /* Intro / what we do */
  .home-intro {
    padding: 70px 0 40px;
  }
  .home-intro .section-title h3 {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 14px;
  }
  .home-intro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 18px;
  }
  .home-intro-badges span {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
  }

  /* Metrics just under hero */
  .ms-metrics-section {
    margin: 70px 0 40px;
  }
  .ms-metrics-inner {
    background: #f8fafc;
    border-radius: 22px;
    padding: 40px 30px 32px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  }
  .ms-metrics-heading h2 {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 8px;
    text-align: center;
  }
  .ms-metrics-heading p {
    margin: 0 0 24px;
    color: #4b5563;
    text-align: center;
  }
  .ms-metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }
  .ms-metric-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 18px 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .ms-metric-card.ms-metric-green {
    background: #ecfdf3;
    border: 1px solid #16a34a;
  }
  .ms-metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    margin-bottom: 6px;
  }
  .ms-metric-number {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
  }
  .ms-metric-card.ms-metric-green .ms-metric-number {
    color: #16a34a;
  }
  .ms-metric-copy {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
  }

  /* Back to top link */
  .home-back-to-top {
    text-align: center;
    margin: 26px 0 0;
  }
  .home-back-to-top a {
    color: var(--home-od-green);
    font-weight: 700;
    text-decoration: none;
  }
  .home-back-to-top a:hover {
    text-decoration: underline;
  }

  /* ================================
     CORE SERVICES STRIP UNDER HERO
     ================================ */
  .ms-core-services {
    position: relative;
    z-index: 1;
    background: #050810;
    padding: 60px 0 40px;
  }

  .ms-core-services h2 {
    color: #ffffff;
    font-size: 26px;
    margin-bottom: 10px;
  }

  .ms-core-services p {
    color: #d3d7e0;
    margin-bottom: 0;
  }

  .ms-service-row {
    margin-top: 20px;
  }

  .ms-service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 260px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  /* Light gradient only at the bottom for text, keep image visible */
  .ms-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
  }

  .ms-service-card-inner {
    position: relative;
    z-index: 2;
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
  }

  .ms-service-card-inner h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  }

  .ms-service-card-inner p {
    color: #e5e8f0;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  }

  .ms-service-card-inner .btn-default {
    align-self: flex-start;
  }

  /* Local expertise / national reach hero-style section */
  .home-expertise {
    padding: 90px 0 70px;
    background:
      linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.12),
        rgba(0, 0, 0, 0.30)
      ),
      url("https://www.mayersecurity.com/wp-content/uploads/2025/12/Shipping-Yard-Night-Security-.png")
      center / cover no-repeat;
  }

  .home-expertise .section-title h3,
  .home-expertise .section-title h2,
  .home-expertise .section-title p {
    color: #ffffff;
  }

  /* push cards further down so the heading text is readable */
  .home-expertise-cards {
    margin-top: 150px;
  }

  .home-expertise .service-item {
    border-radius: 18px;
    padding: 26px 22px;
    min-height: 230px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(156, 163, 175, 0.2);
  }
  .home-expertise .service-item h3 {
    color: #ffffff;
  }
  .home-expertise .service-item p {
    color: #e5e7eb;
  }

  /* Training &amp; experience */
  .home-training {
    padding: 70px 0 50px;
  }
  .home-training-list ul {
    padding-left: 20px;
  }
  .home-training-list li {
    margin-bottom: 8px;
  }

  /* Partners section tweaks */
  .home-partners {
    background: #f9fafb;
  }
  .home-partners .section-title h2 {
    margin-bottom: 10px;
  }
  /* logos 15% larger */
  .home-partners .icon-box img {
    max-width: 115%;
    height: auto;
  }

  /* FAQ */
  .home-our-faqs h3 {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 14px;
  }

  /* Blog / insights */
  .our-blog .section-title h3 {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 14px;
  }

  /* =========================
     Registrations carousel under metrics
  ========================== */
  .home-regs {
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    padding: 60px 0 50px;
  }

  .home-regs p {
    color: #111827;
    max-width: 920px;
    margin: 0 auto 26px;
  }

  .home-regs-carousel {
    overflow: hidden;
    position: relative;
    padding: 18px 0;
  }

  .home-regs-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: home-regs-scroll 32s linear infinite;
  }

  .home-regs-slide {
    flex: 0 0 auto;
    width: 180px;
    text-align: center;
  }

  .home-regs-slide a {
    display: inline-block;
  }

  .home-regs-slide img {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.18));
  }

  .home-regs-caption {
    font-size: 12px;
    color: #4b5563;
    margin-top: 6px;
  }

  @keyframes home-regs-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  @media (max-width: 1199.98px) {
    .ms-metrics-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 991.98px) {
    .home-intro {
      padding-top: 45px;
    }
    .home-metrics-wrap {
      flex-direction: column;
    }
    .home-expertise {
      padding: 70px 0 55px;
    }
    .home-expertise-cards {
      margin-top: 90px;
    }
    .home-regs-track {
      animation-duration: 40s;
    }
  }

  @media (max-width: 767.98px) {
    .hero.hero-slider-layout .hero-fixed-content {
      padding-top: 90px;
    }
    .hero.hero-slider-layout .hero-content .section-title h1 {
      font-size: 30px;
      line-height: 1.15;
    }
    .hero.hero-slider-layout .hero-content .section-title h4 {
      font-size: 16px;
      line-height: 1.4;
    }
    .ms-metrics-section {
      margin: 50px 0 30px;
    }
    .ms-metrics-inner {
      padding: 26px 18px 22px;
    }
    .ms-metrics-heading h2 {
      font-size: 24px;
    }
    .ms-metrics-grid {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .ms-service-card-inner {
      padding: 22px 18px 20px;
    }
    .ms-service-card-inner h3 {
      font-size: 18px;
    }
  }