/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #hero-1786 {
    /* 200px - 300px - leaving extra space for the navigation */
    padding: clamp(12.5rem, 25.95vw, 18.75em) 1rem;
    /* prevents the topper line from causing an overflow */
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #hero-1786 .sb-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
  }
  #hero-1786 .sb-content {
    text-align: center;
    width: 100%;
    max-width: 46.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #hero-1786 .sb-title {
    /* 49px - 84px */
    font-size: clamp(3.0625rem, 6vw, 5.25rem);
  }
  #hero-1786 .sb-title,
  #hero-1786 .sb-text {
    color: var(--bodyTextColorWhite);
  }
  #hero-1786 .sb-text {
    margin-bottom: 2rem;
  }
  #hero-1786 .sb-button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  #hero-1786 .sb-button-solid {
    font-size: 1rem;
    font-weight: 700;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-align: center;
    text-decoration: none;
    min-width: 12.5rem;
    margin: 0;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    padding: 0 1.5rem;
    background-color: var(--primary);
    color: var(--bodyTextColorWhite);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
  }
  #hero-1786 .sb-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: #000;
    opacity: 1;
    border-radius: 0.25rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #hero-1786 .sb-button-solid:hover:before {
    width: 100%;
  }
  #hero-1786 .sb-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
  }
  #hero-1786 .sb-background:before {
    /* Overlay */
    content: "";
    width: 100%;
    height: 100%;
    background: #000;
    /* prevents the cursor from interacting with it */
    pointer-events: none;
    opacity: 0.7;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #hero-1786 .sb-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
}
/* Large Desktop - 1920px */
@media only screen and (min-width: 120rem) {
  #hero-1786 {
    padding-bottom: 14vw;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #hero-1786 .sb-background:before {
    opacity: 0.85;
  }
}
/*-- -------------------------- -->
<---        Services            -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #h-services-81 {
    padding: 0;
    position: relative;
    z-index: 10;
    margin-top: -4rem;
  }
  #h-services-81 .sb-card-group {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
  }
  #h-services-81 .sb-item {
    list-style: none;
    width: 100%;
    max-width: 22.5rem;
    padding: 2rem 1.5rem;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    z-index: 1;
  }
  #h-services-81 .sb-icon {
    width: 3.25rem;
    height: auto;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #h-services-81 .sb-icon img {
    width: 100%;
    height: auto;
  }
  #h-services-81 .sb-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 0.75rem 0;
    color: var(--headerColor);
  }
  #h-services-81 .sb-text {
    font-size: 1rem;
    line-height: 1.5em;
    color: var(--bodyTextColor);
    margin: 0;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #h-services-81 .sb-card-group {
    flex-wrap: nowrap;
  }
  #h-services-81 .sb-item {
    max-width: none;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #h-services-81 .sb-item {
    background-color: var(--medium);
  }
  body.dark-mode #h-services-81 .sb-title {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #h-services-81 .sb-text {
    color: var(--bodyTextColorWhite);
    opacity: 0.8;
  }
}

/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbs-81 {
    padding: var(--sectionPadding);
  }
  #sbs-81 .sb-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #sbs-81 .sb-content {
    text-align: left;
    width: 100%;
    max-width: 33.875rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #sbs-81 .sb-text {
    margin-bottom: 1rem;
  }
  #sbs-81 .sb-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbs-81 .sb-ul {
    width: 100%;
    margin: 0 0 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  #sbs-81 .sb-li {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    list-style: none;
    width: 100%;
    color: var(--bodyTextColor);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
  }
  #sbs-81 .sb-li-icon {
    width: 1.5rem;
    height: auto;
    flex: none;
  }
  #sbs-81 .sb-picture {
    width: 100%;
    max-width: 39.375rem;
    height: 25rem;
    display: block;
    position: relative;
  }
  #sbs-81 .sb-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #sbs-81 .sb-container {
    flex-direction: row;
    justify-content: flex-start;
  }
  #sbs-81 .sb-content {
    width: 53%;
    max-width: 33.875rem;
  }
  #sbs-81 .sb-picture {
    width: 47vw;
    max-width: 39.375rem;
    height: clamp(25rem, 50vw, 43.75rem);
    position: relative;
  }
}
/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #gallery-45 {
    padding: var(--sectionPadding);
    position: relative;
    overflow: hidden;
  }
  #gallery-45 .sb-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #gallery-45 .sb-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #gallery-45 .sb-button-group {
    width: 100%;
    margin: 0 auto;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
  #gallery-45 .sb-button {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: center;
    border: none;
    padding: 0.5rem 1.5rem;
    color: var(--bodyTextColor);
    background-color: transparent;
    border-radius: 0.25rem;
    transition: background-color 0.3s, color 0.3s;
  }
  #gallery-45 .sb-button:hover {
    cursor: pointer;
  }
  #gallery-45 .sb-button.sb-active {
    background-color: var(--primary);
    color: #fff;
  }
  #gallery-45 .sb-gallery-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  #gallery-45 .sb-gallery {
    width: 100%;
    padding: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    position: relative;
    transition: transform 0.7s, opacity 0.3s, visibility 0.5s, top 0.3s, left 0.3s;
  }
  #gallery-45 .sb-gallery.sb-hidden {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
  }
  #gallery-45 .sb-image {
    width: 100%;
    height: clamp(15rem, 50vw, 25rem);
    display: block;
    position: relative;
  }
  #gallery-45 .sb-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #gallery-45 .sb-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}
/*-- -------------------------- -->
<---          Reviews           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #reviews-81 {
    padding: var(--sectionPadding);
    background-color: #f7f7f7;
  }
  #reviews-81 .sb-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #reviews-81 .sb-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #reviews-81 .sb-card-group {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
  }
  #reviews-81 .sb-item {
    list-style: none;
    width: 100%;
    max-width: 25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
  }
  #reviews-81 .sb-icon {
    width: 2.5rem;
    height: auto;
  }
  #reviews-81 .sb-h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0;
    color: var(--headerColor);
  }
  #reviews-81 .sb-item-text {
    font-size: 1rem;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #reviews-81 .sb-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5em;
    color: var(--headerColor);
    display: block;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #reviews-81 .sb-card-group {
    flex-wrap: nowrap;
  }
  #reviews-81 .sb-item {
    max-width: none;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #reviews-81 {
    background-color: rgba(0, 0, 0, 0.5);
  }
  body.dark-mode #reviews-81 .sb-item {
    background-color: var(--medium);
  }
  body.dark-mode #reviews-81 .sb-h3,
  body.dark-mode #reviews-81 .sb-name {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #reviews-81 .sb-item-text {
    color: var(--bodyTextColorWhite);
    opacity: 0.8;
  }
}
/*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cta-51 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
  }
  #cta-51 .sb-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  #cta-51 .sb-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #cta-51 .sb-topper {
    color: var(--secondary);
  }
  #cta-51 .sb-title {
    color: #fff;
  }
  #cta-51 .sb-text {
    color: #fff;
    opacity: 0.8;
    margin-bottom: 2rem;
  }
  #cta-51 .sb-picture {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #cta-51 .sb-picture:before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #cta-51 .sb-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}


@media only screen and (min-width: 48rem) {
  #gallery-45 .sb-image {
    height: 18rem;
  }
}

@media only screen and (min-width: 64rem) {
  #gallery-45 .sb-image {
    height: 20rem;
  }
}

/* Override homepage gallery to match portfolio style - SQUARE IMAGES */
@media only screen and (min-width: 0rem) {
  #gallery-45 .sb-gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  #gallery-45 .sb-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Makes it square */
    position: relative;
    overflow: hidden;
  }
  
  #gallery-45 .sb-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media only screen and (min-width: 48rem) {
  #gallery-45 .sb-gallery-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media only screen and (min-width: 64rem) {
  #gallery-45 .sb-gallery-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
