/* html {
  scroll-behavior: smooth;
} */

@media only screen and (min-width: 0px) {
  /*-- -------------------------- -->
  <---           Hero             -->
  <--- -------------------------- -*/

  #hero {
    /* Centers button */
    text-align: left;
    /* 144px - 300px - leaving extra space for the navigation */
    padding: 0;
    position: relative;
    z-index: 1;
    overflow: hidden; /* Add this line */
  }

  #hero .hero-container {
    display: flex;
    flex-direction: column;
    column-gap: 1rem;
    max-width: 100%;
    height: 100%;
    padding: clamp(12rem, 30vw, 21rem) clamp(1rem, 10vw, 5rem)
      clamp(12rem, 30vw, 22rem);
    margin: auto;
    background: linear-gradient(135deg, rgb(157 43 16 / 60%), rgb(0 0 0 / 60%));
  }

  #hero .cs-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }

  #hero .cs-background:before {
    /* Overlay */
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
    /* prevents the cursor from interacting with it */
    pointer-events: none;
  }

  #hero .cs-background img {
    display: block;
    width: 100%;
    height: 110%; /* Slightly taller to account for parallax movement */
    object-fit: cover;
    will-change: transform;
  }

  /* #hero .cs-content-container {
    width: 100%;
    max-width: 30rem;
    margin: auto;
  } */

  #hero .cs-title {
    /* 39px - 61px */
    font-size: clamp(2.4375rem, 6.4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    max-width: 51.8125rem;
    /* 16px - 24px */
    margin: 0 auto clamp(1rem, 4vw, 1.5rem) 0;
    color: #fff;
    line-height: 1.2em;
    position: relative;
    text-transform: uppercase;
  }

  #hero .cs-text {
    /* 16px - 20px */
    font-size: clamp(1rem, 1.95vw, 1.25rem);
    text-align: center;
    /* 464px - 622px */
    max-width: clamp(29rem, 60vw, 38.785rem);
    margin: 0 auto 0 auto;
    /* 40px - 48px */
    margin-bottom: clamp(2.5rem, 4vw, 3rem);
    color: #fff;
    width: 100%;
    line-height: 1.5em;
    font-weight: 500;
  }

  #hero .cs-button-transparent {
    color: #fff;
    max-width: 13rem;
    margin: auto;
  }

  #hero .cs-button-transparent:before {
    background: var(--primary);
  }

  #hero .cs-button-transparent:after {
    border-color: #fff;
    transition: border-color 0.3s;
  }

  #hero .cs-button-transparent:hover:after {
    border-color: var(--primary);
  }

  #hero .cs-button-transparent:hover {
    color: #fff;
  }
  /*-- -------------------------- -->
  <---          3 Card            -->
  <--- -------------------------- -*/

  #h-services-143 {
    /* remove the font family so the Stitch inherits the fonts from your global stylesheet */
    font-family: "Roboto", "Arial", sans-serif;
    position: relative;
    /* give a higher z index than the hero so it can sit on top */
    z-index: 10;
    background-color: var(--secondaryLight);
  }

  #h-services-143 .cs-card-group {
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
    width: 100%;
    margin: 0 auto 0;
    margin-top: calc(clamp(5rem, 13vw, 4.75rem) * -1);
    /* padding: clamp(2rem, 4.7vw, 3.75rem) clamp(1.5rem, 5.3vw, 2.75rem); */
    padding: 0 clamp(1.5rem, 5.3vw, 2.75rem);
    box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    box-sizing: border-box;
  }

  #h-services-143 .cs-item {
    list-style: none;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    width: 100%;
    max-width: 22.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: auto;
  }

  /* #h-services-143 .cs-item:nth-of-type(1) {
    padding-top: 3rem;
    padding-bottom: 0;
  } */

  #h-services-143 .cs-item:nth-of-type(2) {
    border-top: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
  }

  /* #h-services-143 .cs-item:nth-of-type(3) {
    padding-top: 2rem;
    padding-bottom: 0;
  } */

  #h-services-143 .cs-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 80%;
  }

  #h-services-143 .cs-icon {
    /* 68px - 88px */
    width: clamp(4rem, 8.8vw, 5.5rem);
    /* 68px - 88px */
    height: clamp(4rem, 8.8vw, 5.5rem);
    /* 20px - 24px */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #h-services-143 .cs-icon img {
    /* 44px - 52px */
    width: clamp(3rem, 5.8vw, 3.25rem);
    height: auto;
  }

  #h-services-143 .cs-title {
    font-size: 1.25rem;
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: var(--headerColor);
  }

  #h-services-143 .cs-text {
    font-size: 1rem;
    text-align: left;
    line-height: 1.5em;
    max-width: 22.5rem;
    margin: 0 auto;
    color: var(--bodyTextColor);
  }

  /*-- -------------------------- -->
  <---           About            -->
  <--- -------------------------- -*/

  #sbsr-87 {
    /* remove the font family so the Stitch inherits the fonts from your global stylesheet */
    font-family: "Roboto", "Arial", sans-serif;
    padding: var(--sectionPadding);
    /* clips the black background from overflowing the section */
    overflow: hidden;
    background-color: var(--secondaryLight);
  }

  #sbsr-87 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(2rem, 6vw, 4rem);
    padding-bottom: 2rem;
  }

  #sbsr-87 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: calc(100% - 1.5rem);
    max-width: 32.625rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }

  #sbsr-87 .header-group {
    margin-bottom: 1rem;
  }

  #sbsr-87 .cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    max-width: 40.625rem;
    color: var(--bodyTextColor);
  }

  #sbsr-87 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }

  #sbsr-87 span.cs-text {
    text-align: end;
  }

  #sbsr-87 .cs-button-solid {
    min-width: 11.375rem;
  }

  #sbsr-87 .cs-picture {
    display: block;
    position: relative;
    width: 80vw;
    height: 96vw;
    max-width: 26rem;
    max-height: 36rem;
    margin-top: 3rem;
    order: 2;
  }

  #sbsr-87 .cs-picture:before {
    content: "";
    width: 95%;
    height: 95%;
    background: var(--secondary);
    opacity: 1;
    display: block;
    position: absolute;
    /* 16px - 28px, wrapped in calc function to multiple by negative 1 and get a negative clamp value */
    bottom: calc(clamp(1rem, 2.4vw, 1.75rem) * -1);
    left: calc(clamp(1rem, 2.4vw, 1.75rem) * -1);
  }

  #sbsr-87 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  #sbsr-87 #list-1186 {
    width: 100%;
    max-width: 39.375rem;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }
  #sbsr-87 #list-1186 .cs-li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* 16px - 20px */
    gap: clamp(1rem, 2.5vw, 1.25rem);
    border: 1px solid #cbcbcb;
    padding: 1rem;
  }
  #sbsr-87 #list-1186 .cs-li-picture {
    /* 60px - 80px */
    width: clamp(3.75rem, 6vw, 5rem);
    height: clamp(3.75rem, 6vw, 5rem);
    margin: 0;
    background-color: #f7f7f7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* prevents flexbox from squishing it */
    flex: none;
  }
  #sbsr-87 #list-1186 .cs-li-icon {
    /* 24px - 32px */
    width: clamp(1.5rem, 3vw, 2rem);
    height: auto;
    display: block;
  }

  #sbsr-87 #list-1186 .cs-h3 {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 700;
    text-align: left;
    margin: 0 0 0.75rem 0;
    color: var(--headerColor);
  }
  #sbsr-87 #list-1186 .cs-li-text {
    font-size: 1.1rem;
    line-height: 1.5em;
    text-align: left;
    margin: 0;
    color: var(--listColor);
  }

  /*-- -------------------------- -->
  <---         Services           -->
  <--- -------------------------- -*/

  #services-1179 {
    padding: var(--sectionPadding);
  }
  #services-1179 .header-group {
    margin-bottom: 1rem;
  }
  #services-1179 .cs-container {
    /* changes to 1440px at desktop */
    max-width: 32.375rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #services-1179 .cs-content {
    width: 100%;
    margin: 0 auto 5.75rem auto;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
    /* set text align to left if content needs to be left aligned */
    text-align: left;
  }

  #services-1179 .cs-card-group {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
  }
  #services-1179 .cs-button-solid {
    min-width: 10.375rem;
  }
  #services-1179 .cs-item {
    list-style: none;
    max-width: 22.3125rem;
    margin: 0 auto;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    padding: 2rem 1.5rem;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
    grid-column: span 12;
    border: 1px solid var(--borderColor);
    background-color: var(--secondaryLight);
  }
  #services-1179 .cs-item:hover {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transform: translateY(-0.4375rem);
  }
  #services-1179 .cs-picture {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 0 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #services-1179 .cs-icon {
    width: 3.25rem;
    height: auto;
    display: block;
  }
  #services-1179 .cs-h2 {
    font-size: 1.5625rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--headerColor);
    display: block;
    text-align: center;
  }
  #services-1179 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    max-width: 28.125rem;
    margin: 0;
    margin-bottom: 1.25rem;
    padding: 0;
    color: var(--bodyTextColor);
    text-align: center;
  }
  #services-1179 .cs-link {
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: 700;
    margin-top: auto;
    color: var(--headerColor);
    text-decoration: none;
    vertical-align: center;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    text-align: inherit;
  }
  #services-1179 .cs-link:hover {
    color: var(--primary);
  }
  #services-1179 .cs-link:hover .cs-arrow {
    transform: translateX(0.25rem);
    filter: initial;
  }
  #services-1179 .cs-arrow {
    width: 1.25rem;
    height: auto;
    display: block;
    filter: grayscale(1) brightness(0);
    transition: filter 0.3s, transform 0.3s;
  }
  #services-1179 p.cs-text {
    margin-bottom: 2rem;
  }

  /*-- -------------------------- -->
  <---          Reviews           -->
  <--- -------------------------- -*/

  #reviews-727 {
    padding: var(--sectionPadding);
    background-color: var(--secondaryLight);
  }
  #reviews-727 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #reviews-727 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }

  #reviews-727 .cs-title {
    /* cs-title override.  cs-topper cs-title and first cs-text should be removed and put into your global css sheet so it can control every instance of them on your site and is consistent. This second cs-title is a section specific override that stays inside this stitch */
    max-width: 20ch;
  }
  #reviews-727 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  #reviews-727 .cs-item {
    list-style: none;
    width: 100%;
    margin: 0;
    /* 32px - 48px top & bottom */
    /* 16px - 32px left & right */
    padding: clamp(2rem, 7vw, 3rem) clamp(1rem, 4vw, 2rem);
    /* makes padding not affect height and width */
    box-sizing: border-box;
    background-color: #fff;
    border: solid 1px var(--borderColor);
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #reviews-727 .cs-icon {
    /* 30px - 40px */
    width: clamp(1.875rem, 4vw, 2.5rem);
    height: auto;
    margin: 0 0 2rem 0;
    display: block;
  }
  #reviews-727 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 4vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--headerColor);
  }
  #reviews-727 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 4vw, 1rem);
    line-height: 1.5em;
    margin: 0 0 3rem 0;
    color: var(--bodyTextColor);
  }
  #reviews-727 .cs-name {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 500;
    margin: auto 0 0 0;
    color: var(--headerColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    position: relative;
  }
  #reviews-727 .cs-name:before {
    content: "";
    width: 0.5rem;
    height: 1px;
    background: currentColor;
    display: block;
    position: relative;
  }
}

@media only screen and (min-width: 31.25rem) {
  #services-1179 .cs-item {
    grid-column: span 6;
  }
}

@media only screen and (min-width: 48rem) {
  /*-- -------------------------- -->
  <---           Hero             -->
  <--- -------------------------- -*/

  #hero .cs-title {
    text-align: left;
  }

  #hero .cs-text {
    text-align: left;
    margin-left: 0;
  }

  #hero .cs-button-transparent {
    margin-left: 0;
  }

  /*-- -------------------------- -->
  <---          3 Card            -->
  <--- -------------------------- -*/

  #h-services-143 .cs-card-group {
    flex-direction: row;
    padding: clamp(2rem, 4.7vw, 3.75rem) clamp(1rem, 3vw, 2.75rem);
    justify-content: center;
  }

  #h-services-143 .cs-item {
    width: 45%;
    max-width: 19.625rem;
    padding: 0;
    margin: 0;
    align-items: center;
    padding: 0 clamp(1rem, 2.8vw, 3rem);
  }

  #h-services-143 .cs-item:nth-of-type(2) {
    border: none;
    border-left: 1px solid #d2d2d2;
    border-right: 1px solid #d2d2d2;
  }

  #h-services-143 .cs-title {
    font-size: 1rem;
  }

  #h-services-143 .cs-text {
    font-size: 0.88rem;
  }

  /*-- -------------------------- -->
  <---           About            -->
  <--- -------------------------- -*/

  #sbsr-87 {
    padding: var(--sectionPadding);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #sbsr-87 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* 44px - 108px */
    column-gap: clamp(2.75rem, calc(7.85vw), 6.75rem);
  }

  #sbsr-87 .cs-card-group {
    max-width: 100%;
  }

  #sbsr-87 .cs-picture {
    width: 47vw;
    max-width: 21rem;
    /* 518px - 700px */
    height: clamp(32.375rem, 63vw, 43.75rem);
    /* 16px - 28px, added margin left and bottom to cs-picture so it pushes away by the same amount the yellow box element overlaps it left and bottom. This maintains consistent spacing left and bottom */
    margin: 0 0 clamp(1rem, 2.4vw, 1.75rem) clamp(1rem, 2.4vw, 1.75rem);
    position: relative;
  }

  /*-- -------------------------- -->
  <---         Services           -->
  <--- -------------------------- -*/

  #services-1179 .cs-container {
    max-width: 45.375rem;
  }
  #services-1179 .cs-item {
    grid-column: span 6;
  }
  #services-1179 .cs-item:nth-of-type(3) {
    order: 4;
  }

  /*-- -------------------------- -->
  <---          Reviews           -->
  <--- -------------------------- -*/

  #reviews-727 .cs-container {
    max-width: 80rem;
  }
  #reviews-727 .cs-card-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  #reviews-727 .cs-item {
    width: 48.5%;
  }
}

@media only screen and (min-width: 64rem) {
  /*-- -------------------------- -->
  <---           About            -->
  <--- -------------------------- -*/

  #sbsr-87 #list-1186 .cs-li-text {
    font-size: 1.25rem;
  }

  /*-- -------------------------- -->
  <---         Services           -->
  <--- -------------------------- -*/
  #sbs-598 {
    flex-direction: row;
  }

  #sbs-598 .cs-container {
    /* flex-direction: row;
    justify-content: flex-end; */
    width: 70%;
    margin-right: 0;
    transform: translateY(100px);
    z-index: 2;
  }

  #sbs-598 .cs-background {
    width: 40%;
    height: auto;
    top: 0;
    bottom: 0;
    position: absolute;
  }
}

@media only screen and (min-width: 81.25rem) {
  /*-- -------------------------- -->
<---          3 Card            -->
<--- -------------------------- -*/

  #h-services-143 .cs-card-group {
    max-width: 80rem;
    flex-wrap: nowrap;
    transform: translateY(-85px);
  }
  #h-services-143 .cs-item {
    margin: 0;
  }
  #h-services-143 .cs-item:last-of-type {
    margin-bottom: 0;
  }

  /*-- -------------------------- -->
  <---         Services           -->
  <--- -------------------------- -*/

  #services-1179 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
  #services-1179 .cs-content {
    max-width: 27.0625rem;
    order: 2;
    text-align: left;
  }
  #services-1179 .cs-card-group {
    max-width: 45.8125rem;
    grid-template-columns: repeat(2, 1fr);
  }
  #services-1179 .cs-item {
    grid-column: initial;
  }
}
