/* Define CSS Variables for Reusability */
:root {
  --text-dark: #333;
  --text-light: #fff;
  --transition: all 0.3s ease;
  --font-family: "headline-gothic-atf", sans-serif;
 --paragraph-font: "Poppins", sans-serif;
  --button-padding: 0.5em 1.5em;
  --section-padding: 4rem 1rem;
  --center-text: center;
 --textblue: #12CCFF;
 --elementblue: #0EC6FF;
 --hoverblue: #57d7ff;
 --extralightblue: #aaebff; 
  --deeperblue: #0098e2;
 --extradarkblue: #004f76;
  --highlightcolor: #fffd5d;
}

/* Basic CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: var(--font-family);
 font-weight:100;
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 overflow-x: hidden;
}
h1, h2, h3{
font-family: var(--font-family);
 font-weight: 100;

}
p{
 font-family: var(--paragraph-font);
 font-weight: 400;
  color: #444;
 line-height: 1.5;
}
.width-set{
margin: 0 auto;
width: 100%;
overflow: hidden;
}
.center{
text-align: center;
margin: 0 auto;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
/* Header CSS */

.hide {
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.hideButton {
  padding: 0 5px;
  transition: var(--transition);
}

.hideButton:hover {
  cursor: pointer;
  background-color: #444;
}
.obfs {
  display: none;
}
.phone {
  font-weight: bold;
}

.headervideo {
  position: relative;
  overflow: hidden;
  max-height: 800px;
  z-index: -100;
}
.grow-height{
height: 100%;
}

.headervideo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5) no-repeat;
  background-position: calc(50% + 250px) 50%;
  background-blend-mode: screen;
}

.headervideo video {
  min-height: 500px;
  object-fit: cover;
  width: 100%;
}
.headertext-container{
max-height: 800px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
position: relative;

}
.headertext {
  position: absolute;
  top: 20%;

  z-index: 10;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 650px;
  width: 70%;
  padding-left: 75px;
}

.headertext h1{
  line-height: .8em;
letter-spacing: .05rem;
 font-size: clamp(4em, 9vw, 8em);
}
.headertext .kicker{
 font-size: clamp(.7em, 1.38vw, 2em);
 font-family:"Poppins";
   color: var(--textblue);
  font-weight: 600;
 background-color: rgba(0,0,0,.4);
 box-sizing: border-box;
 padding: 4px 5px;
 line-height: 1em;
 letter-spacing: .1em;
 margin: 0 0 5vh 0;
 width: 100%;
}
.center-hr{
width: 80px;
 background-color: var(--textblue);
 height: 2px;
 margin: 0 auto;
 display: block;
 text-align: center;
 max-width: 50%;
}
.special-hr{
display: flex;
 width: 67%;
 flex-direction: row;
 margin-top: 60px;
}
.special-hr .leftside, .special-hr .rightside{
flex-basis: 40%;
 height: 5px;
border-bottom: 3px solid var(--elementblue);
transform: translateY(16px);
}
.special-hr .arrow{
  width: 30px;
  height: 30px;
  border: 3px solid var(--elementblue);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
}


/* Main Content CSS */
.content h1{
    font-size: clamp(3em, 4vw, 5em);
}
.content h2 {
  font-size: clamp(3em, 4vw, 5em);
 line-height: 1.2;
}
.content h3 {
  font-size: clamp(1.3em, 2.5vw, 2.5em);
}
.content h4 {
  
}
.section-container {
  box-sizing: border-box;
  padding: 20px;
}

.introduction{
 display: flex;
position: relative;
 max-width: 1200px;
 width: 85%;
 margin: 0 auto;
 box-sizing: border-box;
 padding: 0 20px;
 gap: 30px;
  height: 100%;
 align-items: center;
 flex-flow: row wrap;
}
.bottomline{
display: block;
max-width: 150px;
  height: 1.5em;
  border-bottom: 3px solid #bbb;
}
@media screen and (max-width: 700px){
 .introduction{
  width: 95%;
 }
  .sliderButton-content .no-opacity-mobile{
opacity: 0!important;
  }
}
.introimg{
 flex-basis: 175px;
  margin: 0 auto;
}
.introimg video{
margin: 0 auto;
}
.introduction h2{
color: var(--textblue);
 flex-basis: 30%;
 line-height: 1em;
 min-width: 150px;
 flex-grow: 1;
}
.introduction p{
flex-basis: 400px;
 flex-grow: 1;
  align-self: flex-start;
}
.padding{
padding-top: 50px;
padding-bottom: 70px;
}
.side-padding{
padding-left:20px;
  padding-right: 20px;
}
.smallpadding{
padding-top: 30px;
padding-bottom: 30px;
}
.widthlimitmargin{
margin: 0 auto;
 max-width: 1500px;
 width: 90%;
}
.centertextbutton{
text-align: center;
 background-color: var(--textblue);
font-family: "Poppins";
padding: 1em 2em;
 color: white;
 font-size: clamp (1.5em, 3vw, 3em);
 font-weight: 400;
 margin: 0 auto;
 display: block;
 max-width: 400px;
 border-radius: 5px;
 cursor: pointer;
 
}
.bluespace {
  background-color: var(--deeperblue)!important;
}
.bluespace-extrapadding{
padding-bottom: 4em!important;
}
.bluespace h2{
 color: white;
 text-shadow: 5px 5px 0 rgba(0,0,0,.4);
}
.bluespaceH2{
  color: white;
 text-shadow: 5px 5px 0 rgba(0,0,0,.4);
}
.greyspace{
 background-color: #f0f0f0;
}
.lightbluespace{
background-color: var(--extralightblue);
}
.carousel-container {
  position: relative;
  box-sizing: border-box;
  padding: 20px 25px;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
}
.carousel-container::before, .carousel-container::after{
  content: "";
  position: absolute;
  top: 0;
  width: 50px;              /* how wide the fade should be */
  height: 100%;
  pointer-events: none;     /* so the fade doesn’t block scrolling */
  z-index: 2;
}
.carousel-container::before{
  left: 0;
  background: linear-gradient(to right, var(--deeperblue), rgba(255,255,255,0));
}
.carousel-container::after{
   right: 0;
  background: linear-gradient(to left, var(--deeperblue), rgba(255,255,255,0));
}
.services h2 {
  text-align: center;
  color: white;
  text-shadow: 5px 5px 0 rgba(0,0,0,.4);
  border: 2px solid var(--textblue);
   -webkit-text-stroke: 1px var(--textblue); /* Sets a 2px red stroke */
}

.carousel {
  display: flex;
  gap: 10px;
  transition: transform 0.5s ease;
}
.carousel-card {
  flex: 0 0 calc((100% - 20px) / 3);
  min-height: 450px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 5px;
  border: 2px solid var(--textblue);
  box-shadow: 5px 5px 15px rgba(0,0,0,.4);
}
.card-image {
  height: 40%;
  max-height: 250px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}
.carousel-card .card-text a{
  transition: all .3s ease;
}
.carousel-card .card-text a:hover{
color: var(--textblue);
 transition: all .3s ease;
}
.card-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
    transition: transform .3s ease;
}
.card-text {
  padding: 10px;
}
.image-height{
object-fit: cover;
 overflow: hidden;
}
.image-height img{
height: 100%;
width: auto;

}
/* Carousel arrows (unchanged, for reference) */
.arrows {
  position: absolute;
  top: 90%;
  left: 10px;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10; /* Above slider (15) and slider-form (16), below slider-button (25) */
}
.arrows button {
  pointer-events: auto;
  background: var(--textblue);
  color: white;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.2em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  box-shadow: 0 4px 5px rgba(0,0,0,.2);
}
.arrows button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.controls {
  margin-top: 10px;
}
.pagination-dots {
  display: flex;
  justify-content: center;
}
.dot {
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: var(--textblue);
}
.flex-simple{
 display: flex;
 flex-flow: row wrap;
 gap: 20px;
 align-items: center;
 justify-content: center;
}
.cool-background-1{
  position: relative;
background-image: url(/_assets/images/gallery/yorgey-compressed-05.jpg);
background-blend-mode: luminosity;
background-size: cover;
}
.cool-background-1::after{
content:"";
background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255, .9));
position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow:  -20px -20px 30px -20px rgba(0,0,0,.4) inset;
}
.flex-simple-top{
 display: flex;
 flex-flow: row wrap;
 gap: 20px;
 align-items: flex-start;
 justify-content: center;
}
.split-column{
  display: flex;
  flex-direction: column;
flex-basis: 500px;
flex-grow: 1;
max-width: 100%;
  position: relative;
  z-index: 1;
  gap: 20px;
}
.split-row{

}
.split-column h2{
line-height: 1.2em;
  font-size: clamp(2.5em, 4vw, 3.5em);
  color: var(--textblue);
}.centercard h3{
text-align: center;
  margin: 0 auto;
  width: 100%;
  font-size: larger;
  color: var(--textblue);
  justify-self: center;
}
.split-column ul{
  padding: 20px;
display: block;
  position: relative;
  right: 0;
  list-style: none;
  margin-top: 20px;
  font-family: "Poppins";
  font-weight: 600;
  border: 2px solid var(--textblue);
}
.split-item{
 box-sizing: border-box;
flex-grow: 1;
 flex-shrink: 1;
 flex-basis: 450px;
 max-width: 600px;
 border-radius: 10px;
}
.bgimg{
width: 100%;
 display: flex;
 flex-direction: column;
object-fit: cover;
 gap: 20px;
}
.bgimg img{
 flex-grow: 1;
 border-radius: 5px;
}
.blueshadow{
box-shadow: 15px 15px 0 0 var(--textblue);
}
.split-column img{
max-height: 400px;
  width: 100%;

  object-fit: cover;
  border-radius: 10px;
}
.split-column p{
margin-right: 10%;
}
.hrshort{
display: block;
width: 80px;
height: 20px;
border-bottom: 2px solid var(--textblue);
}
.house-washing{
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
}
.split-column ul li{
    background-image: url(/_assets/images/logo_files/fresh-drippy-final-01.svg);
background-size: 20px;
  padding-left: 30px;
  background-repeat: no-repeat;
  color: #999;
}
.yellow-outline{
outline: 2px solid var(--highlightcolor);
outline-offset: -5px;
}
.flex-margin{
margin: 0 auto;
}
.alt-h2{
 color: grey;
line-height: 1em;
 padding-bottom: 10px;
 border-bottom: 5px solid var(--textblue);
}
.text-blue{
color: var(--textblue);
}
.yellow{
 color:var(--highlightcolor);
}
.larger{
 font-size: larger;
}
.belowgallery{
display: flex;
width: 100%;
flex-direction: row;
background-color: rgba(0,0,0,.4);

}

.belowgallery .item{
flex-basis: 33%;
aspect-ratio: 3 / 2;
 flex-grow: 1;
mix-blend-mode: multiply;
    overflow: hidden;
}
.belowgallery .item img:hover, .card-image img:hover{
transform: scale(1.1);
  transition: transform .3s ease;
}
.belowgallery .item img{
 object-fit: cover;
 height: 100%;
width: 100%;
  transition: transform .3s ease;
}
/* Replace the existing mobile media query */
@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 100%;
  }
  .carousel-container::before, .carousel-container::after{
  width: 20px;              /* how wide the fade should be */
}
}

/* Add new tablet media query */
@media (min-width: 769px) and (max-width: 1024px) {
  .carousel-card {
    flex: 0 0 calc((100% - 10px) / 2);
  }
}
/*reviews*/
.reviews-section {
  box-sizing: border-box;
  background-color: #f9f9f9;
  text-align: center;
  width: 100%;
}
.center-text-widepadding{
text-align: center!important;
padding: 20px 10%!important;
}

.reviews-section h2 {
  font-size: clamp(2em, 4vw, 3em);
  color: var(--textblue);
  margin-bottom: 1rem;  
 padding-top: 2rem;

}

.reviews-swiper {
  padding: 1rem;
overflow: visible;
}
.reviews-swiper .swiper-slide {
  background-color: white;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
 flex-grow: 1;
  gap: 1rem;
 max-height: 800px;
  min-height: 500px;
}
.swiper-wrapper{
  box-sizing: border-box;
  padding: 1rem 0 3rem;
  height: 100%;
    overflow: visible;

}
.review-author {
  font-weight: 300;
  color: var(--textblue);
}
.review-rating {
  color: #f5a623;
  font-size: 1.2rem;
}
.review-text {
  font-family: var(--paragraph-font);
  font-size: 1rem;
  color: #444;
    font-weight: 300!important;
 flex-grow: 1;
}
.review-date {
  font-size: 0.85rem;
  color: #777;
}

/*cta*/
.cta-height{
max-height: 500px;
}
.cta-container{
position: relative;
}
.area-link{
 background-color: white;
 color: var(--textblue);
 padding: 0 5px;
 border-radius: 3px;
}
.service-card-dark .nobordertop{
border-top: none!important;
}
.flex-column{
flex-direction: column!important;
}
.down-arrow-center{
 text-align: center;
 color: var(--textblue);
 font-size: clamp(2em, 3vw, 4em);
 width: 100%;
 display: block;
 padding-top: 0!important;
margin: 0 auto;
 font-weight: bold;
}
.nobottom{
padding-bottom: 0!important;
margin-bottom: 0!important;
}
.cover-bottom-cont{
  position: relative;       /* establish a positioning context */
  overflow: hidden;         /* hide anything outside the container */
  height: 300px; 
  
}
.cover-bottom{
  position: absolute;
  bottom: 0;                /* anchor to the bottom */
  left: 50%;                /* optional: center horizontally */
  transform: translateX(-50%);
  min-height: 100%;         /* make sure it covers the container height */
  width: auto;  
}
.cover-center-cont{
 display: flex;
 justify-content: center;
 align-content: center;
}
.cover-center{
min-width: 100%;
min-height: 100%;
object-fit: cover;
}
.cta-image .back-image{
 position: relative;
width: 100%;
 object-fit: cover;
 mix-blend-mode: multiply;
}
.gradient{
background: linear-gradient(to right, #ffffff, #808080);
  position: relative;
 width: 70%;
 right: 20%;
}
.vectormask{
position: absolute;
 top: 0;
 bottom: 0;
 right: 50%;
 height: 101%;
 top: -2px;
}
.cta-side{
position: absolute;
 top: 0;
 bottom: 0;
 right: 0;
 left: 88.5%;
 background-color: var(--textblue);

}
.cta-side::after{
 content:"";
 width: 400px;
 height: auto;
  max-height: 400px;
 position: absolute;
 top: 0;
 bottom: 0;
 z-index: 5;
 background-image: url(/_assets/images/artwork/splatter%20mask.svg);
 background-size: 100%;
 transform: translate(-20px, -190px) rotate(220deg);
 transform-origin: center;
 background-repeat: no-repeat;
}
.cta-mascot{
 position: absolute;
 top: 25%;
right: -2.5vw;
 max-width: 300px;
 WIDTH: 30%;
 Z-INDEX: 6;
}
.cta-form{
  position: absolute;
z-index: 10;
top: 20%;
 right: 30%;
width: 20%;
}
.cta-text h2{
font-size: clamp(1em, 5vw, 4.5em);
line-height: 1em;
}
.cta-text .kicker2{
  font-size: clamp(.5em, 1.3vw, 1.4em);
  font-family: "Poppins";
  font-weight: 500;
  line-height: 1;
  color: var(--textblue);
}
.cta-text a{
background-color: var(--textblue);
  display: block;
  border-radius: 5px;
  padding: 10px 20px 15px;
  color: white;
  box-sizing: border-box;
  text-align: center;
  font-weight: 500;
  font-family: "Poppins";
  font-variant: all-small-caps;
  margin-top: 10px;
  line-height: 1;
  transition: all .3s ease;
}
.cta-text a:hover{
transform: scale(1.05);
transition: all .3s ease;
  background-color: var(--deeperblue);
}

.backtotop{
  opacity: 0;
  position: fixed;
  bottom: 2rem;
  right: 5rem;
  z-index: 9;
    transition: all .3s ease;
background-color: rgba(0,0,0,.4);
color: white;
  padding: 5px;
  border-radius: 3px;
}
.backtotop:hover{
transform: scale(1.1);
  transition: all .3s ease;
}
.appear{
opacity: 100%;
  transition: all .3s ease;
}
@media screen and (max-width:600px){
  .cta-text .kicker2{
  line-height: 1;
    display: block;
  }
  .cta-text a{
  font-size: .7em;
    padding: 5px 10px 7px;

  }
}
/* Slider CSS */
.slider {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  bottom: 0;
  left: 100%;
  right: 0;
  z-index: 125; /* Below carousel arrows (20) */
  display: flex;
  transition: all 0.4s ease;
  pointer-events: none; /* Prevent slider container from blocking clicks */
}
.slider-button {
  margin-top: 70vh;
  width: 80px;
  min-width: 80px;
  position: absolute;
  left: -80px;
  height: 150px;
  background-color: var(--textblue);
  border-radius: 20px 0 0 20px;
  filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, 0.1));
  cursor: pointer;
  transition: all 0.4s ease;
  pointer-events: auto; /* Allow clicks on the button */
  z-index: 25; /* Above slider-form and carousel arrows */
}

.side-button-text-mobile{
position: fixed;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
margin: 0 auto;
padding: 0;
width: 75%;
height: 100%;
  z-index: 100;
  animation: InOut 12s ease 1s 3 both;
}
@keyframes InOut{
  0%{
  opacity: 0;
 
  }
  15%{
  opacity:100%;
  }
  20%{
  opacity: 100%;
  }
  30%{
  opacity: 0%;
  }
  100%{
  opacity: 0;
  }
}
.side-button-text-mobile p{
  display: none;
  position: relative;
  margin: 0 auto;
margin-top: 70vh;
    height: 80px;
  text-align: center;
  align-content: center;
  color: white;
  text-shadow: 0 0 5px rgba(0,0,0,.6);
  font-size: .8em;
  width: 50%;
  border-radius: 5px;
  z-index: 100;
}
.side-button-text-mobile p::after{
  content: "";
  position: absolute;
  width: 100%;
  top: 30%;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  background: rgba(18, 204, 255, 0.7);
  z-index: -1;
  border-radius: 5px;
}
.slider-button::after{
content:"";
 position: absolute;
right: -50px;
 top: 0;
 height: 150px;
 background-color: var(--textblue);
 width: 50px;
}
.slider-button p{
color: white;
}
.sliderButton-content {
  text-orientation: sideways-right;
  writing-mode: sideways-lr;
  text-align: center;
  height: 100%;
  width: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slider-open {
  left: 100px;
  transition: all 0.4s ease;
}
.slider-open .sliderButton-content .slider-arrow {
  transform: rotate(180deg);
  transform-origin: center;
  transition: all 0.4s ease;
}

@media (max-width: 700px) {
  .headertext {
    position: relative;
    top: -400px;
    align-items: center;
    min-width: 0;
    margin: 0 auto;
    width: 90%;
    padding-left: 0;
  }
  .headertext .kicker {
    width: 90%;
  }
  .headertext button {
    margin: 20px 0 0 20px;
   text-align: left;
   align-self: flex-start;
  }
  header {
    max-height: 650px;
  }

 .slider-button {
  margin-top: 60vh;
  width: 40px;
  min-width: 80px;
  left: -40px;
  height: 80px;
 
  border-radius: 20px 0 0 20px;

}
  @keyframes MobileSliderButton{
 0%{
 width: 80px;
 left: -80px;
 } 25%{
 width: 80px;
 left: -80px;
 } 50%{
 width: 200px;
 left: -200px;
  text-orientation: upright;
 }75%{
 width: 200px;
 left: -200px;
  text-orientation: upright;
 }100%{
 width: 80px;
 left: -80px;
 }
 
}
 .slider-button::after{
content:"";
 position: absolute;
right: -50px;
 top: 0;
 height: 80px;
 background-color: var(--textblue);
 width: 50px;
}
 .sliderButton-content {
  text-orientation: sideways-right;
  writing-mode: sideways-lr;
  text-align: center;
  height: 100%;
  width: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 .slider-open {
  left: 40px;
  transition: all 0.4s ease;
}
    .side-button-text-mobile p{
  display: block;
      margin-top: 60vh;
  }
}/*residential services page*/
/* Residential Services */
/* Residential Intro */
.res-intro {
  text-align: center;
  margin: 0 auto;
  position: relative;
  padding: 3rem 1rem;
  background-color: rgba(0,0,0,.4);
  overflow: hidden; /* prevents blurred edges from spilling */
}
.responsive-container{
margin: 0 auto;
 max-width: 1200px;
 padding: 20px;
}
.responsive-container-wide{
 margin: 0 auto;
 max-width: 1600px;
 padding: 20px; 
}
.responsive-container-wide p a{
color: var(--textblue);
}
.res-intro img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 transform: scale(1.05);
  object-fit: cover;
  filter: blur(4px); /* blur only the image */
  z-index: 0; /* keep it behind content */
 mix-blend-mode: multiply;
}

.res-intro-content {
  position: relative; /* stack above image */
  z-index: 1;
  color: white; /* optional, makes text readable */
}


.res-intro h1, .res-intro p, .res-intro span {
    color: white;
  max-width: 900px;
  margin: 0 auto;
}

/* Grid of services (new but consistent) */
.res-services-grid {
  display: flex;
 flex-flow: row wrap;
 gap: 2rem;
  padding: 4rem 2rem;
}
.fancy-heading-cont{
margin-right: 40px;
}
.fancy-heading{
background-color: var(--textblue);
text-align: right;
padding-right: 4vw;
 color: white;
 position: relative;
 left: 0;
 white-space: nowrap;
 width: 0;
 overflow: hidden;
}
/* Triggered animation */
.fancy-heading.visible {
  animation: fancyright 0.7s ease forwards; /* 'forwards' keeps the final width */
}
@keyframes fancyright{
 0%{
  width: 0;
 }
 100%{
  width: 100%;
 }
}
.fancy-wiggle{
opacity: 0;
}
.fancy-wiggle.visible {
  animation: fancywiggle 1.2s cubic-bezier(.5, .25, 0.3, 1.0) 200ms forwards;
}

@keyframes fancywiggle {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  20% {
    opacity: 1;
    transform: translateX(-30px);
  }
  40% {
    transform: translateX(20px);
  }
  60% {
    transform: translateX(-10px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.fancy-fadein{
opacity: 0;
}
.fancy-fadein.visible{
 animation: fancyfadein 1.5s ease forwards;
}
@keyframes fancyfadein{
 from{opacity: 0%;}
 to{opacity: 100%;}
}
.res-service {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  padding: 1.5rem;
 flex-basis: 260px;
 flex-grow: 1;
  transition: transform .3s ease, box-shadow .3s ease;
}
.res-serviceexpand {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: visible;
  text-align: center;
  padding: 1.5rem;
 display: flex;
 flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  align-items: center;
  justify-content: center;
}

.swiper {
  width: 90%;
  height: auto;
 margin: 0 auto;
 max-width: 1600px;
  padding: 1rem!important;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
 text-align: center;
  padding: 1rem;
  font-size: 1.2rem;
 font-family: "Poppins";
 font-weight: 700;
 color: var(--deeperblue);
  background: #f5f5f5;
  border-radius: 6px;
}

.res-serviceexpand img{
  flex-grow: 1;
  flex-basis: 460px;
}
.res-serviceexpand p{
min-height:200px;
  align-content: center;
  padding: 20px;
}

.nomargin{
margin: 0 auto!important;
}
.res-service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.res-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}.res-serviceexpand:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.bump{
   transition: all .3s ease; 
}
.bump:hover{
    transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: all .3s ease;
}

.res-service h3 {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  color: #222;
}

.res-service p {
  font-size: 0.95rem;
  color: #555;
}

/* Before/After Gallery (can reuse your gallery styles) */
.res-before-after {
  text-align: center;
  padding: 4rem 2rem;
}

.res-gallery {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.res-gallery img {
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Reviews */
.res-reviews {
  padding: 4rem 2rem;
  background: #eef6ff;
  text-align: center;
}

.res-reviews blockquote {
  max-width: 700px;
  margin: 2rem auto;
  font-style: italic;
  color: #333;
  position: relative;
}

.res-reviews blockquote span {
  display: block;
  margin-top: 1rem;
  font-weight: 300;
  color: #444;
}
.top-buffer{
margin-top: 20px;
}
.residential-services {
  padding: 2rem 2rem;
  background: #f9f9f9;
}
.residential-services-blue {
  padding: 4rem 2rem;
  background: var(--extralightblue);
}

.residential-services .intro-text {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}
.residential-services-blue .intro-text {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

.residential-services .intro-text .note, .residential-services-blue .intro-text .note {
  background: #fff5d6;
  border-left: 4px solid #f5c542;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 6px;
  font-size: smaller;
}


.services-heading {
  text-align: center;
  margin: 2rem 0 2rem;
  font-size: 2rem;
}

.services-grid {
  display: flex;
  gap: 2rem;
 flex-direction: column;
}
.services-grid-flex{
display: flex;
flex-flow: row wrap;
 gap: 20px;
}
.services-grid-flex div{
flex-basis: 350px!important;
flex-grow: 1!important;
}
.article-group{
display: flex;
flex-flow: row wrap;
 gap: 20px;
}

.service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
display: flex;
  flex-flow: column wrap;
  gap: 20px;
}
.article-group .service-card{
flex-basis: 350px;
 flex-grow: 1;
    gap: 20px;
}
.service-card-dark{
    background: #444;
 box-sizing: border-box;
  padding: 40px 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
display: flex;
 position: relative;
  flex-flow: row wrap;
  gap: 20px;
}
.service-card-dark-nopadding{
  background: #444;
 box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
display: flex;
 position: relative;
  flex-flow: row wrap;
  gap: 20px;
 margin: 20px auto;
}
.darklist{
width: 80%;
margin: 0 auto;
max-width: 900px;
background-color: var(--textblue);
border-radius: 5px;

}
.darklist li{
  color: white!important;
 padding: 20px 20px 20px 60px!important;
 background-size: 40px!important;
 background-position: 0 10px;
}
.top-bottom-padding{
padding-top: 40px;
padding-bottom: 40px;
}
.side-margin{
margin-left: 20px;
margin-right: 20px;
}
.blurb{
max-width: 900px;
margin: 0 auto;
}
.service-card-dark h2, .service-card-dark-nopadding h2{
color: white;
text-align: center;
margin: 0 auto;
}

.service-card-dark p, .service-card-dark-nopadding p{
color: #ddd;
  text-align: center;
  max-width: 900px;
    border-top: 3px solid var(--textblue);
  padding: 20px 0 40px 0;
 width: 90%;
  margin: 0 auto;
}
.service-card .split-column{
 display: flex!important;
 flex-flow: row wrap;
  flex-basis: 450px;
}
.service-card h3 {
  font-size: 1.7rem;
  color: var(--textblue);
}
.service-card .limitimg{
flex-basis: 0;
flex-grow: 1;
 max-height: 200px;
 object-fit: cover;
  box-shadow: 5px 10px 15px rgba(0,0,0,.2);
  border-radius: 5px;
}
.flex-item{
  position: relative;
flex-basis: 350px;

flex-grow: 1;
flex-shrink: 1;
}
.white{
color: white;
}
.semi-back{
background-color: rgba(255,255,255,.3);
  box-sizing: border-box;
  padding: 2em;
  border-radius: 5px;
}
.growdown{
display: flex;
flex-direction: column;
height: 100%;
}
.relative{
position: relative;
}
.maple-leaf{
position: absolute;
top: 0;
  right: 10%;
  width: 120px;
  z-index: 10;
  rotate: 30deg;
}
.margin-top{
margin-top: 2em;
}
.growdown p{
flex-grow: 1;
  height: 100%;
}
.featured img{
  width: 100%;
max-width: 800px;
}
.nolimit img{
max-height: 100%!important;
}
@media screen and (min-width:1910px) and (max-width: 3600px){
  .nolimit img{
height: 500px;
  }
}
.blackspace{
position: relative;
}
.blackspace img{
width: 100%;
  object-fit: cover;

}
.blackspace div{
   position: absolute;
  top: 0;
bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}
.blackspace div h3, .blackspace div p{
  position: relative;
  text-align: center;
  align-content: center;
  color: white;
  box-sizing: border-box;
  padding: 20px 30px;

}
.blackspace div p{
font-size: clamp(.8em, 1.7vw, 1.2em);
  font-style: italic;
}.blackspace div h3{
font-size: clamp(2em, 4vw, 3em);
  line-height: 1em;
}
.blackspace::after{
 content:"";
position: absolute;
top: 0;
bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,.4); 
    border-radius: 5px;
}
.service-card .split-column img{
max-height: 100%;
 flex-basis: 450px;
}
.article p{
position: relative;
}
.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  max-width: 100%;
  z-index: 50;
}
.inline-link{
 font-weight: bold;
}
.hovertip {
  display: none;
  position: absolute;
  left: 0;
  top: 120%; /* below the tooltip */
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: .8em;
  width: 100%;
  z-index: 50;
}

.tooltip-container:hover .hovertip {
  display: block;
}

.article p span:hover > .hovertip{
display: block;
}
.tooltip {
  cursor: help;
  text-decoration: underline dotted;
  font-size: 0.9rem;
  color: #555;
}
.text-box{
max-width: 800px;
margin: 0 auto;
}
.text-box-wide{
 max-width: 1100px;
 margin: 0 auto;
 object-fit: cover;
}
.text-box-wide .imgcont{
 width: 100%;
 max-height: 350px;
 overflow: hidden;
}
.text-box-list{
max-width: 800px;
margin: 0 auto; 
 width: 80%;
 padding: 20px;
}
.main-icon{
max-width: 300px;
padding: 0 0 20px 0;
 margin: 0 auto;
}
.smaller-icon{
 max-width: 100px;
padding: 0 0 20px 0;
 margin: 0 auto;
}
.fadedicon{
 opacity: 40%;
}

.fadedicon2{
 opacity: 20%;
}
.background-icon{
position: absolute;
}
.background-left{
left: 0;
 top: 0;
 width: 300px;
}
.background-right{
right: 0;
 bottom: 0;
 width: 500px;
}
/*about page */
.about-intro{
  display: flex;
  flex-flow: row wrap;
  box-sizing: border-box;
  padding: 50px;
  gap: 30px;
  max-width: 1600px;
  margin: 0 auto;
  justify-content: center;
}
.intro-article{
flex-basis: 550px;
  flex-grow: 1;
}
.intro-article a{
color: var(--textblue);
}
.intro-article .area-link{
font-weight: bold;
color: white;
background: var(--textblue);
 display: block;
 margin-top: 5px;
 padding: 10px 20px;
 width: 220px;
 text-align: center;
  transition: all .3s ease;

}
.intro-article .area-link:hover{
padding: 10px 30px;
width: 240px;
 transition: all .3s ease;
}
.about-video{
aspect-ratio: 16/9;
  flex-basis: 450px;
  flex-grow: 1;
  flex-shrink: 1;
}
.about-video iframe{
  border: none;
}
.supplementinfo{
  display: flex;
 flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  padding: 30px;
  gap: 40px;
}
.supplementinfo a{
font-family: "Poppins";
  font-weight: 400;
  color: #444;
  
}
/*contact page*/
.contact-section {
  display: flex;
  margin: 60px auto;
  width: 100%;
  padding: 0 20px;
  justify-content: space-between;
  flex-flow: row wrap;
  gap: 20px;
  max-width: 1200px;
}

.contactDesc {
  min-width: 250px;
  padding: 0 20px;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 450px;
  font-size: larger;
}

.contactDesc p {
  margin-bottom: 20px;
}

.contactDesc h2 {
  text-align: left;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.contactDesc img{
  max-height: 600px;
  width: 100%;
  object-fit: cover;
}

.contact-form {
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  flex-grow: 1;
  box-sizing: border-box;
  background-color: var(--textblue);
  animation: pulse 3s ease-in-out infinite alternate;
  box-shadow: 0 0 25px rgba(41, 98, 169, 0.4);
    border-radius: 10px;
}
.form-expand{

  padding: 30px;
  margin: 0 auto;
  flex-grow: 1;
  flex-basis: 102%;
  max-width: 1000px;
  box-sizing: border-box;
  background-color: var(--textblue);
    border-radius: 10px;
}

.contact-form h2{
text-align: center;
  color: white;
}
.property-type{
display: flex;
}
.property-type label {
  display: inline-flex;
  align-items: center; /* vertical centering */
  gap: 10px; /* space between radio and text */
  cursor: pointer;
  font-size: 1.2rem !important;
  padding: 0 5px;
}

.property-type input[type="radio"] {
  margin: 0;
  padding: 0;
  vertical-align: middle;
  -webkit-appearance: radio; /* normalize Safari */
  accent-color: #004aad; /* optional: match theme color */
}

.slider-form {
  position: sticky;
  right: 0;
  width: 95%;
  height: 100%;
  background-color: var(--textblue);
  overflow-y: scroll;
  pointer-events: auto; /* Allow clicks on the form when open */
  z-index: 30; /* Above slider (15), below slider-button (25) */
}
.form-container-slider{
top: 150px;
  width: 80%;
    position: sticky;
}
.slider-bump{
animation: sliderBump 2s ease;
}
@keyframes sliderBump{
 0%{transform: translateX(0);}
 30%{transform: translateX(-30px);}
 75%{transform: translateX(-30px);}
 100%{transform: translateX(0);}
}
@keyframes sliderBumpMobile{
 0%{transform: translateX(0);}
 30%{transform: translateX(-10px);}
 75%{transform: translateX(-10px);}
 100%{transform: translateX(0);}
}

.form-expand h2{
text-align: center;
  color: white;
  font-size: clamp(3em, 4vw, 5em);
}
.form-expand label{
font-size: 2em;
}
.form-expand input{
font-size: 1em;
  line-height: 1em;
}
/*404 page*/
.notfound-cont{
 width: 100%;
 max-width: 1200px;
 margin: 0 auto;
 text-align: center;
}
.notfound-cont img{
 max-width: 800px;
 width: 60%;
 margin: 0 auto;
}

@keyframes pulse {
  from {
    box-shadow: 0 0 25px rgba(41, 65, 169, 0.4);
  }
  to {
    box-shadow: 0 0 5px rgba(41, 149, 255, 0.4);
  }
}

form {
  display: block;
  width: 100%;
  padding: 30px;
  margin: 0 auto;
  background-color: var(--textblue);

}

input,
textarea {
  border: 1px solid #ddd;
  width: 100%;
  background-color: #efefef;
  padding: 6px 8px;
  transition: var(--transition);
}

input:hover,
input:active,
textarea:hover,
textarea:active {
  transform: scale(1.05);
  background-color: #fff;
}

label {
  display: inline-block;
  font-weight: 500;
  color: rgb(3, 73, 114);
  line-height: 1.3em;

  font-size: clamp(1.4em, 3vw, 2.5em);
}
.name{
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.name div{
flex-grow: 1;
}

form button, .notfound-cont button {
  display: block;
  text-align: var(--center-text);
  margin: 10px auto 0;
  padding: 10px 50px;
  background-color: var(--deeperblue);
  color: var(--text-light);
  transition: var(--transition);
  cursor: pointer;
}

form button:hover, .notfound-cont button:hover {
  transform: scale(1.05);
}

.businessInfo {
  display: flex;
  flex-flow: row wrap;
  max-width: 1160px;
  margin: 0 auto;
 gap: 20px;
  justify-content: space-around;
  padding: 100px 20px;
  background-color: #f3f3f3;
}

.businessInfo h2 {
  text-align: left;
}

.businessInfo iframe {
  width: 100%;
  max-width: 600px;
  max-height: 300px;
 border: 0;
  outline: 2px solid #e3e3e3;
  outline-offset: 7px;
}

.info-container p a {
  background-color: gold;
}
.business-background{
 margin-bottom: 20px;
}
.business-background .flex-simple{
background-color: #fff7f0;
 width: 100%;
}
.flex-row{
 flex-flow: row-wrap;
}
.flex-row p{
flex: 1 1 450px;
}
.flex-simple .flex-child-img{
 flex-grow: 1;
 flex-shrink: 1;
 flex-basis: 350px;
}
.flex-simple .flex-child-img img{
height: 100%;
 width: 100%;
 max-height: 500px;
 object-fit: cover;
 border-radius: 5px;
}
.flex-shadow{
box-shadow: 5px 5px 25px rgba(0,0,0,.3);
}
/*mini faq*/

.mini-faq{
width: 90%;
 margin: 0 auto 40px;
max-width: 1200px;
padding: 20px;
border-radius: 5px;
box-shadow: 5px 10px 20px rgba(0,0,0,.2);
}
.mini-faq h2{
background-color: black;
padding: 1em;
color: white;
 font-weight: 100;
 border-radius: 5px;
}
.mini-faq-box {
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}

.question {
  width: 100%;
  text-align: left;
  padding: 1em 2em;
  background: #f5f5f5;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 100;
 font-size: clamp(1.3rem, 2vw, 1.5rem);
}
.answer-container {
  max-height: 0;
  overflow: scroll;
 box-sizing: border-box;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #fff;
}
.thank-you-padding{
padding: 40px 0 50vh;
 text-align: center;
 width: 100%;
}
.thank-you-padding a{
background-color: #f7f7f0;
 padding: 10px 20px;
display: block;
max-width: 200px;
text-align: center;
 margin: 20px auto;
  transition: all .3s ease;
}
.thank-you-padding a:hover{
 background-color: var(--textblue);
 color: white;
 transition: all .3s ease;
}
.privacy{
padding: 40px 10%;
}
.mini-faq-box.active .answer-container {
  max-height: 500px; /* large enough for content */
  padding: 2em 4em;
}

.shorts-swiper {
  width: 100%;
  padding: 20px 0;
}

.shorts-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shorts-swiper .swiper-slide iframe {
  width: 100%;
  max-width: 300px; /* Controls each Short’s width */
  aspect-ratio: 9 / 16;
  border-radius: 12px;
 border: none;
}
/*404 page*/
.notfound-cont{
 width: 100%;
 max-width: 1200px;
 margin: 0 auto;
 text-align: center;
}
.notfound-cont img{
 max-width: 800px;
 width: 60%;
 margin: 0 auto;
}
@media screen and (max-width: 484px){
.carousel-container::before, .carousel-container::after{
  width: 10px;              /* how wide the fade should be */
}
 .form-container-slider{
    top: 50px!important;
 width:90%!important;
 }
 .form-expand{

 width:100%!important;
 padding: 0!important;
 }
  .slider-form{
  padding-top: 3em;
  padding-bottom: 5em;
  }

 .form-expand label{
 font-size: 1.6em;
 line-height: 1.2em;
 }
 .split-item{
  object-fit: cover;
    max-width: 350px;
 }
 .split-item img{
 width: 90%;
  max-width: 350px;
  margin: 0 auto;
 }
  .mini-faq-box.active .answer-container{
 padding: 10px 10px;
 }
 body > main > section:nth-child(4) > div > div.article-group > article.service-card.nolimit > div > div > h3{
 font-size: 1.4em;
 }
 .contactDesc{
 order: 2;
 }
 .contact-section contact-form{
order: 1;
}
  .slider-bump{
animation: sliderBumpMobile 2s ease;
}
  
.cta-height{
max-height: 500px;
}
.cta-container{
position: relative;
}
  
.cta-image .back-image{
 position: relative;
width: 60%;
left: 50%;
min-height: 200px;
 object-fit: cover;
 mix-blend-mode: multiply;
}
  .gradient{
    right: 35%;
  }
  
.vectormask{
position: absolute;
 top: 0;
 bottom: 0;
 right: 57%;
 height: 101%;
 top: -2px;
}
.cta-side{
position: absolute;
 top: 0;
 bottom: 0;
 right: 0;
 left: 88.5%;
 background-color: var(--textblue);

}
.cta-side::after{
 content:"";
 width: 400px;
 height: auto;
  max-height: 400px;
 position: absolute;
 top: 0;
 bottom: 0;
 z-index: 5;
 background-image: url(/_assets/images/artwork/splatter%20mask.svg);
 background-size: 100%;
 transform: translate(-20px, -190px) rotate(220deg);
 transform-origin: center;
 background-repeat: no-repeat;
}
.cta-mascot{
 position: absolute;
 top: 25%;
right: -2.5vw;
 max-width: 300px;
 WIDTH: 30%;
 Z-INDEX: 6;
}
.cta-form{
  position: absolute;
z-index: 10;
top: 15%;
 right: 30%;
  left: 35%;
width: 40%;
}
.cta-text h2{
font-size: clamp(1.2em, 6vw, 4.5em);
line-height: 1em;
}
.cta-text .kicker2{
  font-size: clamp(.5em, 1.3vw, 1.4em);
  font-family: "Poppins";
  font-weight: 500;
  line-height: 1;
  color: var(--textblue);
}
.cta-text a{
background-color: var(--textblue);
  display: block;
  border-radius: 5px;
  padding: 10px 20px 15px;
  color: white;
  font-size: 1em;
  box-sizing: border-box;
  text-align: center;
  font-weight: 500;
  font-family: "Poppins";
  font-variant: all-small-caps;
  margin-top: 10px;
  line-height: 1;
}


}
    .grecaptcha-badge {
     z-index: 100;
    }
