html {background color: #f2efdf!important}
.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.services .item { min-height: 350px; }

.gallery-filter li {
    display: inline-block;
    margin: 0 15px;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s;
    color: #333;
}

.gallery-filter li.active {
    color: #798c8c; /* Matches your sample request button color */
    border-bottom: 2px solid #798c8c;
}

/* Ensure the column container doesn't collapse */
.gallery-items .item {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Force height based on width (4:3 ratio) */
    aspect-ratio: 4 / 3; 
    background-color: #f0f0f0; /* Fallback color while images load */
    margin-bottom: 30px;
}

/* Force the image to cover the entire container area */
.gallery-items .item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This prevents stretching by cropping slightly */
    display: block;
}

/* Match the hover content height to the item */
.gallery-items .item .cont {
    height: 100%;
}

.italic-lead {
    font-size: 1.15rem;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.project-spec-card .item .icon {
    font-size: 1.2rem;
    min-width: 25px;
}

.project-spec-card .value {
   
    font-weight: 500;
}

.comparison-slider .img-before,
.comparison-slider .img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important; /* Keeps the container from shrinking */
    height: 100% !important;
    background-position: left center !important; /* Locks the image to the left edge */
    background-size: cover !important; 
    background-repeat: no-repeat !important;
}

/* --- Navigation CTA Buttons --- */

/* Base styling for both buttons */
.navbar-nav .btn-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem !important; /* Overrides default Bootstrap nav-link padding */
    border-radius: 4px; /* Slight rounding for a modern look */
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

/* Icon spacing */
.navbar-nav .btn-nav-cta i {
    margin-right: 8px; /* Adds space between the icon and the text */
    font-size: 1.1em;
}

/* Solid Button: Samples */
.navbar-nav .btn-sample {
    background-color: #798c8c;
    color: #ffffff !important;
    border: 2px solid #798c8c;
}

.navbar-nav .btn-sample:hover {
    background-color: #5c6d6d; /* Slightly darker shade on hover */
    border-color: #5c6d6d;
    color: #ffffff !important;
}

/* Outline Button: CEUs */
.navbar-nav .btn-ceu {
    background-color: transparent;
    color: #798c8c !important;
    border: 2px solid #798c8c;
}

.navbar-nav .btn-ceu:hover {
    background-color: #798c8c;
    color: #ffffff !important;
}

/* -----------------------------------
   Video CTA Button Overrides 
----------------------------------- */

/* Scale the entire button and add a drop shadow */
.video-cta {
  transform: scale(1.3);
  transform-origin: center left;
  filter: drop-shadow(0px 8px 16px rgba(0,0,0,0.6));
}

/* Make the circle solid white */
.video-cta .btn.vid svg circle {
  fill: #ffffff !important;
}

/* Make the play triangle dark and slightly larger */
.video-cta .btn.vid i {
  color: #222222 !important;
  font-size: 1.5em;
}

/* Make the text bolder with a shadow for readability against the forest */
.video-cta .text {
  font-weight: 600;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* Make the play triangle dark, larger, and force it to the front */
.video-cta .btn.vid i {
  color: #222222 !important;
  font-size: 1.5em;
  position: relative; /* Required for z-index to work */
  z-index: 10; /* Forces the icon to sit on top of the solid white SVG */
}


/* This forces the technical section to move without stopping */
.services .owl-stage {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}

/* Smooth linear crawl for Project Showcase */
.blog .owl-stage {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}

.portfolio3 .owl-stage {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}

/* Force both carousels to move smoothly without pausing */
.blog .owl-stage, 
.portfolio3 .owl-stage,
.services .owl-stage {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}


.mutedb{background-color: #798c8c!important}
.text-mutedb{color: #798c8c!important}

.lightb{background-color: #d0d9d4!important}
.text-lightb{color: #d0d9d4!important}

.cream{background-color: #f2efdf!important}
.text-cream{color: #f2efdf!important}

.silvering{background-color: #59554c!important}
.text-silvering{color: #59554c!important}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.img-before, .img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.img-before {
    width: 50%; /* Initial split position */
    border-right: 3px solid #798c8c;
}

.slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: ew-resize;
}

/* Labels */
.label-before, .label-after {
    position: absolute;
    bottom: 20px;
    padding: 10px 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

.label-before { left: 20px; }
.label-after { right: 20px; }

.label-before, .label-after {
    /* ... your existing styles ... */
    transition: opacity 0.3s ease;
    opacity: 1; /* Ensure they start visible */
}

/* The Handle Button */
.slider-button {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #798c8c;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-button::before {
    content: '↔';
    color: white;
    font-weight: bold;
}

/* This ensures the 'bg-img' class actually looks for the data-background attribute */
.bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* If your JS isn't working, manually set it for this specific banner: */
.ash-header {
    background-image: url('img/ash.webp');
}
