/* PAGE-SPECIFIC STYLES FOR THE CONTACT PAGE */
/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cs-contact {
    position: relative;
    padding: var(--sectionPadding);
    padding-top: 9rem;
  }
  #cs-contact .cs-topper {
    font-weight: 100;
    text-align: center;
  }
  #cs-contact .cs-title {
    color: var(--secondary);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    align-self: center;
  }
  #cs-contact .cs-content {
    width: 100%;
  }
  #cs-contact #cs-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    background-color: rgba(244, 250, 251, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(244, 250, 251, 0.4);
    margin-bottom: 2.5rem;
    border-radius: 2rem;
  }
  #cs-contact #cs-form label {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* 12px - 20px */
    margin-bottom: clamp(0.75rem, 1.3em, 1.25rem);
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 700;
    color: var(--headerColor);
  }
  #cs-contact #cs-form .cs-label-message {
    /* 32px - 48px */
    margin-bottom: clamp(2rem, 6.3vw, 3rem);
    border-radius: 0.5rem;
  }
  #cs-contact #cs-form input,
  #cs-contact #cs-form textarea {
    border-radius: 0.5rem;
    border: none;
    margin-top: 0.5rem;
    height: 4rem;
    width: 100%;
    /* prevents border & padding from affecting height */
    box-sizing: border-box;
    padding-left: 0.625rem;
    font-size: 1rem;
    transition: border 0.3s;
  }
  #cs-contact #cs-form input:hover,
  #cs-contact #cs-form textarea:hover {
    border: none;
  }
  #cs-contact #cs-form input::placeholder {
    font-family: "Sans Serif Pro", sans-serif;
    font-size: 1.2rem;
    font-weight: 100;
    color: rgba(113, 80, 73, 0.5);
    text-align: left;
  }
  #cs-contact #cs-form input:focus,
  #cs-contact #cs-form textarea:focus {
    outline: none;
    border: none;
  }
  #cs-contact #cs-form textarea {
    min-height: 7.5rem;
    padding-top: 1rem;
    font-family: inherit;
    border: none;
  }
  #cs-contact #cs-form textarea:hover {
    border: none;
  }
  #cs-contact #cs-form textarea::placeholder {
    font-size: 1.2rem;
    font-weight: 100;
    color: rgba(113, 80, 73, 0.5);
    text-align: left;
  }
  #cs-contact #cs-form .cs-button-solid {
    background-color: var(--tertiary);
    align-self: center;
    display: inline-block;
    border: none;
    width: 100%;
  }
  #cs-contact .form-whats-container {
    z-index: 2;
    display: flex;
    position: relative;
    flex-direction: column;
  }
  #cs-contact .cs-header {
    display: block;
    margin-bottom: 0.5rem;
    /* 16px - 20px */
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.2em;
    font-weight: 700;
    color: var(--bodyTextColorWhite);
  }
  #cs-contact .cs-link {
    position: relative;
    display: block;
    margin-bottom: 1.25rem;
    text-decoration: none;
    /* 16px - 20px */
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.2em;
    color: var(--bodyTextColorWhite);
  }
  #cs-contact .cs-link:before {
    position: absolute;
    bottom: calc(-2 / 16 * 1rem);
    left: 0;
    /* Animated underline */
    content: "";
    opacity: 1;
    display: block;
    /* current color of the parent */
    background: currentColor;
    height: 2px;
    width: 0%;
    transition: width 0.3s;
  }
  #cs-contact .cs-link:hover:before {
    width: 100%;
  }
  #cs-contact .cs-link:last-of-type {
    margin-bottom: 0;
  }
  #cs-contact .cs-block {
    /* sends second address line to the bottom on its own line */
    display: block;
  }
  #cs-contact .cs-bg-picture {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
    transition: transform 0.6s;
  }
  #cs-contact .cs-bg-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
  }
}
/* Tablet - 700px */
@media only screen and (min-width: 43.75em) {
  #cs-contact #cs-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }
  #cs-contact #cs-form label {
    width: 48%;
  }
  #cs-contact #cs-form .cs-label-message {
    width: 100%;
  }
  #cs-contact #cs-form .cs-button-solid {
    width: 40%;
    left: 50%;
    transform: translateX(-50%);
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #cs-contact {
    display: flex;
    justify-content: center;
  }
  #cs-contact .cs-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 80rem;
    gap: 5rem;
  }
  #cs-contact #cs-form {
    max-width: 39.375rem;
  }
  #cs-contact #cs-form label {
    width: 100%;
  }
  #cs-contact .labelname {
    width: 100%;
    max-width: unset;
  }
  #cs-contact .cs-right-section {
    /* changes to 578px at 1300px wide */
    height: 42.875rem;
    max-width: 33.875rem;
    width: 40%;
    /* prevents flexbox from squishing it */
    flex: none;
  }
  #cs-contact .cs-right-section:hover .cs-bg-picture {
    transform: scale(1.1);
  }
  #cs-contact .cs-block {
    /* goes back to inline so it stays "in line" with the rest of the text */
    display: inline-block;
  }
}
/* Small Desktop - 1300px */
@media only screen and (min-width: 81.25em) {
  #cs-contact #cs-form {
    column-gap: 0rem;
    flex-wrap: wrap;
    flex-direction: row;
  }
  #cs-contact #cs-form label {
    max-width: 19.0625rem;
    width: 48%;
  }
  #cs-contact #cs-form .labelname {
    max-width: unset;
    width: 100%;
  }
  #cs-contact #cs-form .cs-label-message {
    max-width: 100%;
  }
  #cs-contact .cs-right-section {
    height: 36.125rem;
  }
}
/*-- -------------------------- -->
<---         Services           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-1117 {
    padding: var(--sectionPadding);
  }
  #services-1117 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #services-1117 .cs-card-group {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* changes to a clamp on tablet */
    gap: 2.5rem;
  }
  #services-1117 .cs-item {
    list-style: none;
    width: 100%;
    max-width: 25.8125rem;
    justify-content: center;
  }
  #services-1117 .cs-item a {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
  }
  #services-1117 .cs-item a:hover {
    text-decoration: underline;
  }
  #services-1117 .cs-image-group {
    /* 80px - 100px */
    width: clamp(5rem, 8vw, 6.25rem);
    height: clamp(5rem, 8vw, 6.25rem);
    display: flex;
    justify-content: center;
    align-items: center;
    /* prevents flexbox from squishing it */
    flex: none;
    position: relative;
    z-index: 1;
  }
  #services-1117 .cs-icon {
    /* 36px - 48px */
    width: clamp(2.25rem, 4vw, 3rem);
    height: auto;
  }
  #services-1117 .cs-h2 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 700;
    text-align: inherit;
    margin: 0 0 0.75rem;
    color: var(--headerColor);
  }
  #services-1117 .cs-item-text {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    color: var(--secondary);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-1117 .cs-card-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    /* 16px - 20px */
    gap: clamp(1rem, 2.5vw, 1.25rem);
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #services-1117 .cs-item a {
    text-align: left;
    align-items: center;
    justify-content: center;
  }
}
