@import url("https://use.typekit.net/hpi3vmp.css");

html, body{
    height:100%;
    margin:0;font-family: "tt-commons-pro", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
    font-size:18px;
}

.single-post #content,
.single-post #main,
.single-post .site-main,
.single-post .entry-content {
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 40px 20px !important;
    box-sizing: border-box;
}

.single-post .entry-title {
    font-size: 42px !important;
    font-weight: 700 !important;
    padding: 50px 20px 30px !important;
    background: #0F1C45; /* Slabstack dark blue */
    color: #ffffff !important;
    text-align: center;
    margin: 0 0 40px 0 !important;
}

.single-post .posted-on,
.single-post .cat-links,
.single-post .entry-meta {
    text-align: center !important;
    display: block !important;
    margin-bottom: 10px !important;
    color: rgba(255, 255, 255, 0.8) !important;
}


.single-post .entry-content p {
    font-size: 20px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    color: #222 !important;
}


.single-post .entry-content h2 {
    font-size: 30px !important;
    margin-top: 40px !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
    color: #111 !important;
}

.single-post .entry-content h3 {
    font-size: 24px !important;
    margin-top: 30px !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
}

.single-post .entry-content h4 {
    font-size: 20px !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    margin-left: 28px !important;
    margin-bottom: 20px !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
}

.single-post .entry-content li {
    margin-bottom: 8px !important;
}

.single-post .entry-content a {
    color: #3C48AC !important; /* Slabstack blue */
    text-decoration: underline;
}

.single-post .entry-content a:hover {
    opacity: 0.7;
}

.single-post blockquote {
    border-left: 4px solid #FFD641 !important; /* Slabstack yellow */
    padding-left: 20px !important;
    margin-left: 0 !important;
    font-style: italic;
    color: #444;
}


.single-post .post-thumbnail img {
    width: 100% !important;
    border-radius: 10px !important;
    margin-bottom: 30px !important;
}

.single-post .entry-content {
    margin-top: 20px !important;
}


.slabstack-post-meta {
    max-width: 1140px;
    margin: 0 auto;
}

.slabstack-post-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.slabstack-post-meta-secondary {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.slabstack-post-meta-secondary .meta-separator {
    margin: 0 8px;
}

.slabstack-post-item .post-thumb {
    width: 100%;
    aspect-ratio: 1 / 1; /* Square */
    border-radius: 10px;
    overflow: hidden;     /* Hides edges of image */
	margin-bottom:16px
}

.slabstack-post-item .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* fills the square without distortion */
    display: block;
    border-radius: 0 !important; /* image itself is no longer rounded */
}


.purpose-carousel {
    overflow: hidden;
    position: relative;
}

.purpose-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
border-radius:10px;

}

.purpose-slide {
    min-width: 100%;
    flex-shrink: 0;

}
.purpose-slide {
    overflow: hidden;       /* Clip the image corners */
    border-radius: 10px;    /* SAME radius you used before */
}

.purpose-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;    /* Safe double-apply */
    object-fit: cover;      /* Ensures clean cropping if sizes differ */
}


/* Dots */
.purpose-dots {
    margin-top: 12px;
    text-align: center;
}

.purpose-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff55;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.purpose-dot.is-active {
    background: #FFD641;
}


.mega-nav > li.menu-item-has-children {
    position: relative;
}

.mega-nav > li.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 9999;
}

.mega-nav > li.menu-item-has-children:hover > .sub-menu {
    display: block;
}

.mega-nav > li.menu-item-has-children > .sub-menu > li > a {
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
    color: #000;
}

.mega-nav > li.menu-item-has-children > .sub-menu > li > a:hover {
    background: #f5f5f5;
}


.mega-nav li.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 220px;
    padding: 12px 0;
    margin: 0;
    border-radius: 6px;
    list-style: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 10000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}


.mega-nav li.menu-item-has-children:hover > .sub-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
}


.mega-nav li.menu-item-has-children > .sub-menu > li > a {
    display: block;
    padding: 8px 16px;
    color: #000;
    white-space: nowrap;
    font-weight: 400;
    text-decoration: none;
}


.mega-nav li.menu-item-has-children > .sub-menu > li > a:hover {
    background: #f5f6fd;
    color: #FFD641;
}

.mega-nav .sub-menu li {
    display: block !important;
    width: 100%;
}

.mega-nav .sub-menu {
    text-align: left;
}

.mega-nav .sub-menu li a {
    display: block;
    padding: 8px 16px;
    white-space: nowrap;
}
.mega-nav .sub-menu {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}


.feature-logo,
.feature-logo picture,
.feature-logo img {
    border-radius: 10px;
    overflow: hidden;
}

.feature-logo,
.feature-logo picture,
.feature-logo img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain; /* or cover */
}

.metrics .modifier {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.35em;     /* Smaller than number */
    vertical-align: super; /* Similar to the original layout */
    font-weight: 700;
}
.metrics:nth-child(odd) .detail {
    color: #3c48ac;  /* FIRST color */
}

.metrics:nth-child(even) .detail {
    color: #FFD641; /* SECOND color */
}


img{
    display:block;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

 .hero-video-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 190px) ; 
     min-height:480px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  color: white;
  background: rgba(0, 0, 0, 0.3); /* optional dark overlay */
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin: 0;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  all: unset;            
  display: inline-block;
  cursor: pointer;
  font: inherit;
  text-align: center;
  line-height: 1; 
}


.text-left{ text-align:left;}
.text-center{ text-align:center;}
.text-right{ text-align:right;}

.core-value{
    border-radius:10px;
    border:1px solid #fff;
    padding:16px;
    color:#000;
         box-shadow:0 4px 4px rgba(0,0,0,0.2);
}
.text-italic{
    font-style:italic;
}


.text-xs { font-size: 12px; } 
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; } 
.text-3xl { font-size: 32px; } 
.text-4xl { font-size: 40px; }
.text-5xl { font-size: 48px; }
.text-hero { 
    font-family: "tt-commons-pro", sans-serif;
    font-weight:200;
    font-size: 64px;
line-height:1;}
.text-hero-2 { font-size: 40px; }

.text-line-height{ line-height:auto;}

.tracking-tight {
  letter-spacing: -0.5px; 
}

.tracking-normal {
  letter-spacing: 0;
}

.tracking-wide {
  letter-spacing: 2px;
}

.sup {
  font-size: 0.50em;       /* shrink a bit */
  vertical-align: super;   /* push it up */
  line-height: 1;          /* avoid extra spacing issues */
}

.line-1{
    line-height:1;
}
.icon-16 {
    width:16px;
    height:auto;          /* avoid extra baseline space */
  flex:0 0 auto;
}
.icon-24 {
    width:24px;
    height:auto;
      display:block;           /* avoid extra baseline space */
  flex:0 0 auto;
}
.icon-32 {
    width:32px;
    height:auto;
      display:block;           /* avoid extra baseline space */
  flex:0 0 auto;
}
.icon-40 {
    width:40px;
    height:auto;
      display:block;           /* avoid extra baseline space */
  flex:0 0 auto;
}

.valign{
  display:flex;
  align-items:center;   /* <-- vertical centering */
  gap:8px;              /* space between icon and text */
  line-height:1.2;      /* keep things tidy */
}
.icon-24{
  width:16px; height:16px; /* or 24 if you want bigger */
  display:block;           /* avoid extra baseline space */
  flex:0 0 auto;
}

.op-6{
    opacity: 0.6;
}
.op-8{
    opacity: 0.8;
}

.text-100 { font-weight: 100; }
.text-200 { font-weight: 200; }
.text-300 { font-weight: 300; }
.text-400 { font-weight: 400; }
.text-500 { font-weight: 500; }
.text-600 { font-weight: 600; }
.text-700 { font-weight: 700; }
.text-800 { font-weight: 800; }
.text-900 { font-weight: 900; }

.text-white { color:#fff; }
.text-black { color:#000;}
.text-yellow { color:#FFD641;}

.alpha-shadow {
  filter: drop-shadow( 2px 2px 4px rgba(0,0,0,0.5));
}

.box-shadow {
  box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.contain{
    width:1140px;
    margin:0 auto;
}
.contain-900{
    width:900px;
    margin:0 auto;
}
.contain-960{
    width:960px;
    margin:0 auto;
}
.h-100{
    height:100px;
}
.h-200{
    height:200px;
}
.h-300{
    height:300px;
}
.h-400{
    height:400px;
}
.h-500{
    height:500px;
}
.grid-v-center{
    align-items: center;
    display:grid;
}
.grid-auto-left{
    grid-template-columns:auto 1fr;
}
.grid2c{
    display:grid;
    grid-template-columns:1fr 1fr;
}
.grid3c{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
}
.grid4c{
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
}
.grid5c{
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr 1fr;
}
.grid-header{
     grid-template-columns:auto 1fr auto;
}
.gap-8{ gap:8px; }
.gap-16{ gap:16px; }
.gap-24{ gap:24px; }
.gap-32{ gap:32px; }
.gap-48{ gap:48px; }


.btn{
    border-radius:50px;
    background:#ccc;
    padding:10px 20px;
}
a.btn{
    text-decoration:none;
}
.button1{
    background:#fff;
    color:#000;
}
.button2{
    background:#FFD641;
    color:#000;
}
.button3{
    background:#2699FB;
    color:#fff;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#top-nav ul {
  list-style: none;   /* remove bullets */
  margin: 0;
  padding: 0;
}

#top-nav ul li {
  display: inline-block; /* line up horizontally */
}

    
#header {
    background:#091747;
    color:#fff;
}

#main {
  flex: 1 0 auto;
}

#hero{
    height:500px;
    background:url(/images/quarry_resize.jpg);
    background-size:cover;
}
#footer {
  flex: 0 0 auto;

  color:#fff;
      background: url('https://slabstack.com/wp-content/uploads/2025/12/topo.jpg') center/cover no-repeat, #111;
  background-blend-mode: overlay;  /* try multiply, overlay, soft-light */

}

#footer a, #footer a:visited{
	color:#fff
}

#footer a:hover{
	color:#FFD641
}
.r-4{
    border-radius:4px;
}
.r-6{
    border-radius:6px;
}
.r-8{
    border-radius:8px;
}
.r-10{
    border-radius:10px;
}

.m-0  { margin: 0; }
.m-8  { margin: 8px; }
.m-16 { margin: 16px; }
.m-24 { margin: 24px; }
.m-32 { margin: 32px; }
.m-40 { margin: 40px; }

.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

.mr-0  { margin-right: 0; }
.mr-8  { margin-right: 8px; }
.mr-16 { margin-right: 16px; }
.mr-24 { margin-right: 24px; }
.mr-32 { margin-right: 32px; }
.mr-40 { margin-right: 40px; }

.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }

.ml-0  { margin-left: 0; }
.ml-8  { margin-left: 8px; }
.ml-16 { margin-left: 16px; }
.ml-24 { margin-left: 24px; }
.ml-32 { margin-left: 32px; }
.ml-40 { margin-left: 40px; }

.mx-0  { margin-left: 0; margin-right: 0; }
.mx-8  { margin-left: 8px; margin-right: 8px; }
.mx-16 { margin-left: 16px; margin-right: 16px; }
.mx-24 { margin-left: 24px; margin-right: 24px; }
.mx-32 { margin-left: 32px; margin-right: 32px; }
.mx-40 { margin-left: 40px; margin-right: 40px; }

.my-0  { margin-top: 0; margin-bottom: 0; }
.my-8  { margin-top: 8px; margin-bottom: 8px; }
.my-16 { margin-top: 16px; margin-bottom: 16px; }
.my-24 { margin-top: 24px; margin-bottom: 24px; }
.my-32 { margin-top: 32px; margin-bottom: 32px; }
.my-40 { margin-top: 40px; margin-bottom: 40px; }

.p-0  { padding: 0; }
.p-8  { padding: 8px; }
.p-16 { padding: 16px; }
.p-24 { padding: 24px; }
.p-32 { padding: 32px; }
.p-40 { padding: 40px; }

.pt-0  { padding-top: 0; }
.pt-8  { padding-top: 8px; }
.pt-16 { padding-top: 16px; }
.pt-24 { padding-top: 24px; }
.pt-32 { padding-top: 32px; }
.pt-40 { padding-top: 40px; }
.pt-64 { padding-top: 64px; }
.pt-80 { padding-top: 80px; }
.pt-96 { padding-top: 96px; }
.pt-200 { padding-top: 200px; }

.pr-0  { padding-right: 0; }
.pr-8  { padding-right: 8px; }
.pr-16 { padding-right: 16px; }
.pr-24 { padding-right: 24px; }
.pr-32 { padding-right: 32px; }
.pr-40 { padding-right: 40px; }

.pb-0  { padding-bottom: 0; }
.pb-8  { padding-bottom: 8px; }
.pb-16 { padding-bottom: 16px; }
.pb-24 { padding-bottom: 24px; }
.pb-32 { padding-bottom: 32px; }
.pb-40 { padding-bottom: 40px; }

.pl-0  { padding-left: 0; }
.pl-8  { padding-left: 8px; }
.pl-16 { padding-left: 16px; }
.pl-24 { padding-left: 24px; }
.pl-32 { padding-left: 32px; }
.pl-40 { padding-left: 40px; }

.px-0  { padding-left: 0; padding-right: 0; }
.px-8  { padding-left: 8px; padding-right: 8px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-24 { padding-left: 24px; padding-right: 24px; }
.px-32 { padding-left: 32px; padding-right: 32px; }
.px-40 { padding-left: 40px; padding-right: 40px; }

.py-0  { padding-top: 0; padding-bottom: 0; }
.py-8  { padding-top: 8px; padding-bottom: 8px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.py-32 { padding-top: 32px; padding-bottom: 32px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }

.split-bg {
  position: relative;
  background: linear-gradient(
    185deg,               /* controls the slant angle */
    #f5f6fd 0%,           /* top color */
    #f5f6fd 50%,          /* where the slant starts */
    #FFD641 50%,          /* where the slant ends */
    #FFD641 100%          /* bottom color */
  );
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
}

/* Card styling identical for all */
.card {
 /* border: 1px solid #dcdcdc;
  background: #f5f6fd; */
  border-radius: 10px;
  box-sizing: border-box;
  height: 100%;
}

.card-img {
  width: 100%;
  height: auto;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 50%;
  z-index: 5;
  transition: background 0.3s;
}

.carousel-btn:hover { background: rgba(0,0,0,0.6); }

.carousel-btn.prev { left: -50px; }
.carousel-btn.next { right: -50px; }

/* Dots */
.carousel-dots {
  text-align: center;
  margin-top: 16px;
}

a, a.visited{
    color:#000;
}

a.hover{
    color:#FFD641;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dots button.active {
  background: #FFD641;
}



.lift{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}
.lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
  border-color: rgba(0,0,0,.12) !important;
}

/* section headings */
h2.text-3xl { letter-spacing:-0.01em; }

/* CTA buttons hover micro-lift */
.btn-lift { transition: transform .15s ease, box-shadow .15s ease; }
.btn-lift:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }

/* subtle section separators */
.contain-960 + .py-40 { position: relative; }
.contain-960 + .py-40::before{
  content:""; position:absolute; top:-24px; left:0; right:0; height:24px;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0));
  pointer-events:none;
}


/* Sticky bottom CTA */
#ctaBanner{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 75px; z-index: 9999;
  background: #FFD641;
  box-shadow: 0 -10px 25px rgba(0,0,0,.15);
  transform: translateY(110%);           /* hidden by default */
  transition: transform .35s ease;
  padding-bottom: env(safe-area-inset-bottom); /* iOS safe area */
}
#ctaBanner.show{ transform: translateY(0); }

#ctaBanner .cta-inner{
  height: 100%; display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center; gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

#ctaBanner .cta-copy{ 
  font-size: 18px; color: #1b2a3a; line-height: 1.3;
}

#ctaBanner .cta-btn{
  background: #1b2a3a; color:#fff; border-radius: 10px;
  padding: 12px 18px; text-decoration: none;
  box-shadow: 0 6px 16px rgba(27,42,58,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
#ctaBanner .cta-btn:hover{ transform: translateY(-2px); box-shadow:0 10px 24px rgba(27,42,58,.28); }

#ctaBanner .cta-close{
  background: transparent; border: 0; font-size: 28px; line-height: 1;
  color: #1b2a3a; cursor: pointer; padding: 6px 8px;
}

/* Mobile tweaks */
@media (max-width: 768px){
  #ctaBanner{ height: 75px; }
  #ctaBanner .cta-inner{ grid-template-columns: 1fr auto; gap: 12px; }
  #ctaBanner .cta-close{ position:absolute; right: 8px; top: 6px; }
  #ctaBanner .cta-copy{ font-size: 16px; }
}

/* ================= NEW: SECTION + TYPOGRAPHY SYSTEM ================= */
.text-light { font-weight: 300; }

.section-light {
  /*background: #f5f6fd;*/
    background:#fff;
  color: #1b2a3a;
}
.section-mid {
  /*background: #f5f6fd;*/
    background:#353fa2;
  color: #fff;
}

.section-dark {
  background: #091747;
  color: #fff;
}

.section-dark a,
.section-dark .btn {
  color: #fff;
}

.section-dark .btn.button2 {
  background: #FFD641;
  color: #000;
}

.section {
  /* padding: 80px 0; */
}


/* Footer background color update */

.metrics{
    background:#fff;
    color:#000;
    border-radius:10px;
    overflow:hidden;
}
.metrics .detail{
    height:200px;
    padding-top:24px;
}
.metrics .img{
    height:175px;
    overflow:hidden;
    background-size:cover;
}

.sup-center {
  display: flex;
  align-items: center;       /* vertically centers text */
  justify-content: center;   /* horizontally centers as a group */               /* space between number and text */
}

#footer {
  color: #fff;
  background: url('https://slabstack.com/wp-content/uploads/2025/12/topo.jpg') center/cover no-repeat, #091747;
  background-blend-mode: overlay;
}
/* ================= SECTION SYSTEM ================= */

.text-light {
  font-weight: 300;
}

/* Light band */
.section-light {
  background: #fff;
  color: #1b2a3a;
}

/* Dark band */
.section-dark {
  background: #091747;   /* deep blue/purple */
  color: #ffffff;        /* white text */
}
.section-yellow {
  background: #FFD641;  
	color:#000;
}

/* Ensure links/buttons are legible on dark sections */
.section-dark a,
.section-dark .btn {
  color: #ffffff;
}

.section-dark .btn.button2 {
  background: #FFD641;
  color: #000000;
}

/* Standard section padding */
.section {
  /*padding: 80px 0; */
}

/* Footer color alignment */
#footer {
  color: #ffffff;
  background: url('https://slabstack.com/wp-content/uploads/2025/12/topo.jpg') center/cover no-repeat, #091747;
  background-blend-mode: overlay;
}
.bg-black{
    background:#000;
    color:#fff;
}

/* --- Mega Nav --- */
#top-nav {
  position: relative;
}

.mega-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
    font-size:16px;
}

.mega-nav li {
  position: relative;
}

.mega-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  padding: 8px 0;
  display: block;
  transition: color 0.2s;
}

.mega-nav a:hover {
  color: #FFD54F;
}

/* Dropdowns */
.mega-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 6px;
  padding: 12px 0;
  text-align: left;
  z-index: 50;
}

.mega-nav .dropdown a {
  color: #000;
  padding: 8px 16px;
  font-weight: 400;
}

.mega-nav .dropdown a:hover {
  background: #f5f6fd;
  color: #FFD641;
}

/* Hover reveal */
.mega-nav li.has-dropdown:hover > .dropdown {
  display: block;
}

/* Optional subtle fade */
.mega-nav .dropdown {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}
.mega-nav li.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
}


/* Static Hero Base */
a{
    text-decoration:none;
}

.hero-static-container {
  position: relative;
  width: 100%;
  height: 480px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
  transform: translateZ(0);
}

.hero-small-container .hero-static-container {
  position: relative;
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
  transform: translateZ(0);
}

.parallax {
  background-attachment: scroll; /* prevent the grey reveal */
  will-change: transform;
  transition: transform 0.4s ease-out;
}

.parallax.scrolled {
  transform: scale(1.05); /* gentle zoom on scroll */
}

/* Overlay + text (same as before) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.partner-logo{
    border:1px solid #dcdcdc;
    text-align:center;
    border-radius:10px;
    display:flex; justify-content:center;
    background:#fff;
     box-shadow:0 4px 4px rgba(0,0,0,0.2);
}

.feature-logo{
    border:1px solid #dcdcdc;
    text-align:center;
    border-radius:10px;
    display:flex; justify-content:center;
        background:#fff;
    box-shadow:0 4px 4px rgba(0,0,0,0.2);
}

.partner-logo img{
    display:block;
}
.text-hero {
  color: #fff;
}

.text-hero-title {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.text-hero-subtitle {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 24px;
    line-height:1.1;
}

@media (max-width: 768px) {
  .hero-static-container {
    height: 360px;
    background-attachment: scroll; /* disable parallax on mobile */
  }
  .text-hero-title {
    font-size: 32px;
  }
  .text-hero-subtitle {
    font-size: 16px;
  }
}

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

.img-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e0e0e0,
    #e0e0e0 10px,
    #f5f5f5 10px,
    #f5f5f5 20px
  );
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-family: 'Open Sans', sans-serif;
  font-size: 50px;
  text-transform: uppercase;
     box-shadow:0 4px 4px rgba(0,0,0,0.3);
    overflow:hidden;
}
.img-placeholder img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

.solution-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e0e0e0,
    #e0e0e0 10px,
    #f5f5f5 10px,
    #f5f5f5 20px
  );
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-family: 'Open Sans', sans-serif;
  font-size: 50px;
  text-transform: uppercase;
     box-shadow:0 4px 4px rgba(0,0,0,0.3);
    overflow:hidden;
}
.solution-placeholder img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:left;
    display:block;
}

.bulletIcon{
    width:16px;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.marquee-item {
  flex: 0 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-item img {
  height: 50px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s, filter 0.2s;
}

.marquee-item img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.feature-panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items: start;
  color: #fff;
}

.feature-nav {
  display: flex;
  flex-direction: column;
  position: relative;
}

.feature-nav-item {
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.feature-nav-item:not(.active):hover {
  background: rgba(255,255,255,0.04);
    border-radius:10px;
}

.feature-nav-item.active {
  background: #FFD641;
    border-radius:10px;
    
    color:#000;
}

.feature-nav-item.active .title {
    color:#000;
    }

.feature-nav-item .title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
    line-height:1.1;
}

.feature-nav-item .desc {
  display: none;
  font-size: 0.95rem;
  line-height: 1.2;

    color:#000;
  margin-top: 8px;
  animation: fadeIn 0.4s ease;
}

.feature-nav-item.active .desc {
  display: block;
}
.padding80{
	padding:80px 0;
}
.feature-content {
  position: relative;
  min-height: 400px;
}

.feature-item {
  display: none;
  animation: fadeIn 0.4s ease;
}

.feature-item.active {
  display: block;
  background:#f5f6fd;
    padding:8px;
    border-radius:10px;
}

.feature-item img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


.headshot{
    border-radius:50%;
    border:2px solid #FFD641;
    width:150px;
    height:150px;
    overflow:hidden;
    display:inline-block;
}
.headshot img{
    width:100%;
    height:auto;
}

.topo{
  background-image: url('https://slabstack.com/wp-content/uploads/2025/12/topo-lines.png');
  background-repeat: no-repeat;
  background-position: right center; /* right-aligned, vertically centered */
  background-size: contain; /* or 'contain' or 'cover' depending on your needs */
}

.w-300-auto .grid2c{
	grid-template-columns:300px 1fr;
}

/* ---------------------------------------------
   GENERAL FORM WRAPPER
--------------------------------------------- */
.wpcf7 form {
    max-width: 700px;
    margin: 0 auto;
}

/* ---------------------------------------------
   LABELS
--------------------------------------------- */
.wpcf7 form label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    color: #ffffff; /* adjust for dark themes */
}

/* ---------------------------------------------
   INPUTS + TEXTAREAS
--------------------------------------------- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    margin-bottom: 18px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* ---------------------------------------------
   FOCUS STATES
--------------------------------------------- */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #3C48AC; /* Your blue */
    box-shadow: 0 0 0 3px rgba(60, 72, 172, 0.15);
    outline: none;
}

/* ---------------------------------------------
   BUTTON STYLING
--------------------------------------------- */
.wpcf7 input[type="submit"] {
    background: #FFD641;  /* your yellow */
    color: #000;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 300;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.wpcf7 input[type="submit"]:hover {
    background: #ffcd1a;
    transform: translateY(-2px);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

/* ---------------------------------------------
   ERROR MESSAGES
--------------------------------------------- */
.wpcf7 .wpcf7-not-valid {
    border-color: #ff4d4d;
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: -14px;
    margin-bottom: 14px;
}

/* ---------------------------------------------
   SUCCESS MESSAGE
--------------------------------------------- */
div.wpcf7-mail-sent-ok {
    border: none;
    background: #27A549;
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
}

/* ---------------------------------------------
   ERROR RESPONSE
--------------------------------------------- */
div.wpcf7-validation-errors {
    border: none;
    background: #ff4d4d;
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
}

/* ============================================
   MOBILE NAVIGATION — LEFT SLIDE DRAWER
   Breakpoint: 768px
============================================ */

/* Hide desktop nav on mobile */
@media (max-width: 768px) {

  /* Header structure adjustments */
  #header .grid-header {
      grid-template-columns: auto auto; /* logo + hamburger */
      align-items: center;
  }

  /* Hide main nav */
  #top-nav {
      display: none !important;
  }

  /* Hamburger button */
  .mobile-hamburger {
      display: block !important;
      width: 32px;
      height: 24px;
      cursor: pointer;
      position: relative;
      z-index: 2001;
  }

  .mobile-hamburger span {
      display: block;
      height: 3px;
      background: #fff;
      border-radius: 3px;
      margin-bottom: 6px;
      transition: 0.3s ease;
  }

  /* Transform into X when active */
  .mobile-hamburger.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
  }
  .mobile-hamburger.active span:nth-child(2) {
      opacity: 0;
  }
  .mobile-hamburger.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
  }

  /* DARK OVERLAY BEHIND DRAWER */
  #mobile-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
      z-index: 2000;
  }
  #mobile-overlay.show {
      opacity: 1;
      visibility: visible;
  }

  /* SLIDE DRAWER */
  #mobile-drawer {
      position: fixed;
      top: 0;
      left: 0;
      width: 280px;
      height: 100vh;
      background: #091747;
      transform: translateX(-100%);
      transition: transform 0.35s ease;
      z-index: 2002;
      padding: 40px 24px;
      overflow-y: auto;
  }

  #mobile-drawer.open {
      transform: translateX(0);
  }

  /* MOBILE NAV ITEMS */
  #mobile-drawer .mobile-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
  }

  #mobile-drawer .mobile-nav li {
      margin-bottom: 10px;
  }

  #mobile-drawer .mobile-nav a {
      color: #fff;
      text-decoration: none;
      font-size: 18px;
      font-weight: 300;
      display: block;
  }

  /* SUBMENU (dropdown children) */
  #mobile-drawer .mobile-nav .sub-menu {
      padding-left: 16px;
      margin-top: 10px;
      border-left: 2px solid rgba(255,255,255,0.2);
  }

  #mobile-drawer .mobile-nav .sub-menu a {
      font-size: 18px;
      opacity: 0.85;
  }

  /* LOGIN + DEMO BUTTONS INSIDE DRAWER */
  #mobile-drawer .mobile-buttons {
      margin-top: 40px;
      display: flex;
      flex-direction: column;
      gap: 16px;
  }

  #mobile-drawer .mobile-buttons a {
      text-align: center;
      padding: 14px 20px;
      border-radius: 50px;
      font-size: 18px;
      font-weight: 400;
      text-decoration: none;
  }

  #mobile-drawer .mobile-buttons .login-btn {
      background: #ffffff;
      color: #000;
  }

  #mobile-drawer .mobile-buttons .demo-btn {
      background: #FFD641;
      color: #000;
  }
	
	/* MOBILE SOLUTIONS MENU */
#mobile-drawer .mobile-solutions {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

#mobile-drawer .mobile-solutions-title {
    font-size: 22px;
    font-weight: 600;
    color: #FFD641;
    margin-bottom: 12px;
}

#mobile-drawer .mobile-solutions li a {
    color: #fff;
    font-size: 18px;
    padding: 8px 0;
    display: block;
    opacity: 0.9;
}

#mobile-drawer .mobile-solutions li a:hover {
    opacity: 1;
    color: #FFD641;
}
/* LOGO AT TOP OF DRAWER */
.mobile-drawer-logo {
    padding: 24px 0;
}
.mobile-drawer-logo img {
    width: 160px;
    height: auto;
    display: block;
}

/* MOBILE GROUP HEADING */
.mobile-menu-heading {
    font-size: 20px;
    font-weight: 600;
    color: #FFD641;
    padding: 20px 20px 8px;
}

/* NESTED CHILDREN (Solutions + Resources) */
.mobile-submenu {
    list-style: none;
    margin: 0 0 20px;
    padding: 0 0 0 20px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.mobile-submenu li a {
    display: block;
    padding: 6px 16px;
    font-size: 17px;
    color: #fff;
    opacity: 0.9;
}

.mobile-submenu li a:hover {
    opacity: 1;
    color: #FFD641;
}
.mobile-parent {
    font-size: 20px;
    color: #fff;
}


  /* STACK 2-COLUMN SECTIONS (IMAGE ABOVE TEXT) */
  .grid2c {
      grid-template-columns: 1fr !important;
  }

  /* Feature panel stacks vertically */
  .feature-panel {
      grid-template-columns: 1fr !important;
  }

  /* Cards: go to 1 column */
  .grid3c, .grid4c, .grid5c {
      grid-template-columns: 1fr !important;
  }

  /* Metrics: 1 column stack */
  .metrics .detail {
      height: auto !important;
      padding-top: 16px !important;
  }

}
/* ============================================
   DEFAULT STATE — HIDE MOBILE NAV ON DESKTOP
============================================ */
#mobile-drawer,
#mobile-overlay {
    display: none !important;
}


/* ============================================
   MOBILE ONLY — ENABLE DRAWER SYSTEM
============================================ */
@media (max-width: 768px) {

    #mobile-drawer,
    #mobile-overlay {
        display: block !important;
    }

}

/* ============================================
   MOBILE LAYOUT FIXES FOR HEADER + CONTAINER
============================================ */

@media (max-width: 768px) {

  /* Fix containers so they stop overflowing */
  .contain,
  .contain-900,
  .contain-960 {
      width: 100% !important;
      padding-left: 16px;
      padding-right: 16px;
      box-sizing: border-box;
  }

  body {
      overflow-x: hidden;
  }

  /* Header grid: logo left, space, hamburger right */
  #header .grid-header {
      grid-template-columns: auto 1fr auto !important;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
  }

  /* Reduce logo size for mobile */
  #header .site-logo img {
      width: 140px !important;
      height: auto;
      display: block;
  }

  /* Hide Login + Book a Demo buttons from header */
  .header-cta-buttons {
      display: none !important;
  }

  /* Hamburger improvements */
  .mobile-hamburger {
      display: block !important;
      width: 32px;
      height: 24px;
      cursor: pointer;
      padding: 10px; /* better touch area */
      justify-self: end;
      z-index: 2001;
  }

  .mobile-hamburger span {
      display: block;
      height: 3px;
      background: #fff;
      border-radius: 3px;
      margin-bottom: 6px;
      transition: 0.3s ease;
  }

  /* Hamburger active state */
  .mobile-hamburger.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
  }
  .mobile-hamburger.active span:nth-child(2) {
      opacity: 0;
  }
  .mobile-hamburger.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
  }

  /* Show drawer & overlay system */
  #mobile-drawer,
  #mobile-overlay {
      display: block !important;
  }
}

/* ============================================
   FIX MOBILE HEADER — CLEAN + FORCE OVERRIDES
============================================ */
@media (max-width: 768px) {

  /* Fix containers */
  .contain,
  .contain-900,
  .contain-960 {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 auto;
      padding-left: 16px;
      padding-right: 16px;
      box-sizing: border-box;
  }

  body {
      overflow-x: hidden !important;
  }

  /* Header layout: logo left, space, hamburger right */
  #header .grid-header {
      grid-template-columns: auto 1fr auto !important;
      align-items: center;
      gap: 12px;
      padding: 12px 16px !important;
  }

  /* Adjust logo size */
  #header img.logo,
  #header .site-logo img {
      width: 150px !important;
      height: auto;
      display: block;
  }

  /* FORCE HIDE: Login + Book a Demo buttons on header */
  .header-cta-buttons,
  #header a[href*="login"],
  #header a[href*="Login"],
  #header a[href*="demo"],
  #header a[href*="Demo"],
  #header .btn,
  #header .button1,
  #header .button2 {
      display: none !important;
  }

  /* Show hamburger */
  .mobile-hamburger {
      display: block !important;
      width: 32px;
      height: 24px;
      cursor: pointer;
      padding: 10px;
      justify-self: end;
      z-index: 3000;
  }

  .mobile-hamburger span {
      display: block;
      height: 3px;
      background: #fff;
      border-radius: 3px;
      margin-bottom: 6px;
      transition: 0.3s ease;
  }

  /* Hamburger active (X icon) */
  .mobile-hamburger.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
  }
  .mobile-hamburger.active span:nth-child(2) {
      opacity: 0;
  }
  .mobile-hamburger.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
  }

  /* Ensure mobile drawer + overlay display properly */
  #mobile-drawer,
  #mobile-overlay {
      display: block !important;
  }
}
@media (max-width: 768px) {

  /* Hamburger wrapper (the clickable box) */
  .mobile-hamburger {
      display: block !important;
      width: 32px;
      height: 24px;
      cursor: pointer;
      justify-self: end;
      z-index: 3000;

      /* remove padding that caused squishing */
      padding: 0 !important;

      /* keep good tap-target size */
      position: relative;
  }

  /* invisible hit-box for usability */
  .mobile-hamburger::before {
      content: "";
      position: absolute;
      inset: -12px;   /* expands tap area without visually affecting icon */
  }

  /* hamburger lines */
  .mobile-hamburger span {
      display: block;
      height: 3px;
      background: #fff;
      border-radius: 3px;
      margin-bottom: 6px;
      transition: 0.3s ease;
  }

  /* remove gap under last bar */
  .mobile-hamburger span:last-child {
      margin-bottom: 0;
  }

  /* X transformation states */
  .mobile-hamburger.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
  }
  .mobile-hamburger.active span:nth-child(2) {
      opacity: 0;
  }
  .mobile-hamburger.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
  }
}

/* ============================================
   MOBILE HERO HEIGHT + TYPOGRAPHY FIXES
============================================ */
@media (max-width: 768px) {

  /* Shorter hero video container */
  .hero-video-container {
      height: 300px !important;     /* adjust as needed */
      min-height: 260px !important;
  }

  /* Hero title reduction */
  .text-hero,
  .text-hero-title {
      font-size: 32px !important;   /* was 64px */
      line-height: 1.15 !important;
  }

  /* Hero subtitle reduction */
  .text-hero-subtitle {
      font-size: 18px !important;   /* was 28px */
      line-height: 1.3 !important;
      margin-top: 8px;
  }

  /* Optional: add slight padding so text isn't glued to edges */
  .hero-overlay {
      padding: 20px !important;
  }

}
/* ============================================
   FIX FOOTER HEIGHT ON MOBILE — IGNORE h-XXX
============================================ */
@media (max-width: 768px) {
  
  .h-100,
  .h-200,
  .h-300,
  .h-400,
  .h-500 {
      height: auto !important;   /* override fixed heights */
      min-height: unset !important;
      max-height: none !important;
  }

  /* Footer specific sizing fix */
  #footer {
      height: auto !important;
      padding-bottom: 40px !important;
  }

}
@media (max-width: 768px) {

  /* Hide the metric image area */
  .metrics .img {
      display: none !important;
  }

  /* Make the metric card tighter and cleaner */
  .metrics {
      padding: 24px 16px !important;
      height: auto !important;
      min-height: unset !important;
  }

  /* Adjust the metric detail text area */
  .metrics .detail {
      height: auto !important;
      padding-top: 0 !important;
      padding-bottom: 0 !important;
      text-align: center;
  }

}
/* ============================================
   MAKE VIDEO FULLY RESPONSIVE ON MOBILE
============================================ */
@media (max-width: 768px) {

  /* Remove fixed pixel sizes */
  .section-video video {
      width: 100% !important;
      height: auto !important;
      max-width: 100% !important;
      display: block;
  }

  /* Ensure the wrapper doesn't force width */
  .section-video .r-10 {
      width: 100% !important;
  }

  /* Optional: remove extra vertical padding if needed */
  .section-video {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
}
