@media only screen and (max-width: 1440px) {
  #features {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }

  #content #copy {
    width: calc(100% - 450px);
  }

  .estimate-form .row input,
  .estimate-form .row select {
    padding: 1.5rem 2rem;
  }
}

@media only screen and (max-width: 1268px) {
  .estimate-form .row.submit {
    margin-left: 0;
  }

  #paralax {
    padding-top: 4rem;
  }
}

@media only screen and (max-width: 1072px) {
  .estimate-form {
    flex-direction: column;
    align-items: flex-start;
  }

  .estimate-form .row {
    margin: 0.5rem 0;
  }
}

@media only screen and (max-width: 1200px) {
  #case-studies-slider-container .next-slide {
    right: 10%;
  }
  #case-studies-slider-container .prev-slide {
    left: 10%;
  }

  #before-after {
    width: 100%;
  }
  #before-after-copy {
    left: 50%;
    top: -150px;
    transform: translateX(-50%);
  }
  #before-after .handle::after {
    top: 85%;
  }

  #content-container #content {
    padding: 110px 40px;
  }

  #footer-container .content {
    padding: 0 4rem;
  }
}

@media only screen and (max-width: 1136px) {
  #footer-container .footer-top-section .footer-section:nth-child(1) p {
    padding-right: 0;
  }
}

@media only screen and (max-width: 1024px) {
  .rslides img {
    height: 35rem;
  }
  .rslides .description {
    right: 50%;
    top: 40%;
    transform: translate(50%, -50%);
    height: 475px;
    width: 400px;
  }
  .rslides .description h2 {
    font-size: 24px;
    line-height: 1;
  }
  .rslides .description p {
    font-size: 16px;
  }

  #before-after-container {
    height: 1000px;
  }

  #before-after-copy {
    display: none;
  }

  #before-after-copy .copy p {
    font-size: 16px;
  }

  #before-after-copy .copy h2 {
    font-size: 24px;
    line-height: 1;
  }

  #before-after-copy .copy a {
    padding: 20px 30px;
  }

  #before-after .handle::after {
    top: 80%;
  }

  #quality-cleaning .copy {
    right: 50%;
    transform: translateX(50%);
  }

  #content-container h1 {
    width: 80%;
  }

  #case-studies-slider-container .next-slide {
    right: 2rem;
  }
  #case-studies-slider-container .prev-slide {
    left: 2rem;
  }

  #header-container {
    position: fixed;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.7s ease-out;
  }

  #header a.logo {
    display: none;
  }

  a.mobile-logo {
    display: block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 8rem;
  }

  #header-container #header #navigation > ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #header-container #header li {
    margin: 0.5rem;
  }

  #header-container #contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
  }

  #header-container #contact-info a {
    margin: 0.5rem;
    text-align: center;
  }

  #header-container #navigation ul li:hover > .menu-hidden {
    display: none !important;
  }

  #navigation > ul li > a {
    line-height: 1;
    font-size: 22px;
  }

  #header-container.mobile-nav-open {
    transform: translateY(0%);
    opacity: 1;
  }

  .fixed-mobile-header {
    height: 6rem;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 510;
    display: block;
  }

  .burger-menu {
    position: absolute;
    z-index: 515;
    top: 2rem;
    right: 2rem;
    display: block;
    cursor: pointer;
  }
  .burger-menu .line {
    width: 2rem;
    height: 2px;
    background-color: #1e396e;
    margin: 5px 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .burger-menu.mobile-nav-open .line:nth-child(1) {
    -webkit-transform: rotate(45deg) translateY(250%);
    transform: rotate(45deg) translateY(250%);
  }
  .burger-menu.mobile-nav-open .line:nth-child(2) {
    -webkit-transform: rotate(-45deg) translateY(-200%);
    transform: rotate(-45deg) translateY(-200%);
  }

  #content-container #content {
    display: flex;
    flex-direction: column;
  }

  #content-container #content #copy {
    width: 100%;
    float: none;
  }

  #content-container #content #right-col {
    float: none;
    width: 50%;
  }
  #content-container #content #right-col #sub-nav img {
    width: 100%;
    object-fit: cover;
  }

  #content #copy p {
    font-size: 18px;
  }
}

@media only screen and (max-width: 976px) {
  #footer-container ul.content {
    display: none;
  }
  #footer-container hr:nth-of-type(1) {
    display: none;
    color: blue;
  }
}

@media only screen and (max-width: 956px) {
  #case-studies-list {
    padding: 0;
    width: 60%;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 826px) {
  #footer-container .footer-top-section .footer-section:nth-child(3) {
    flex-direction: column;
    align-items: center;
  }
}

@media only screen and (max-width: 796px) {
  form.filter {
    display: none;
  }

  #case-studies-slider-container {
    padding-top: 2rem;
  }

  #features {
    padding: 0 6rem;
  }

  #quality-cleaning .copy {
    width: 85%;
    top: 120px;
    padding: 35px;
  }
  #quality-cleaning .copy h3 {
    font-size: 30px;
  }

  .accordion_question {
    font-size: 20px;
  }
  .accordion_answer {
    font-size: 16px;
  }

  #content-container h1 {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .ba-slider-after,
  .ba-slider-before {
    display: none;
  }

  #footer-container .footer-top-section {
    text-align: center;
  }

  #content-container #content #right-col {
    width: 70%;
  }

  #before-after-container {
    height: 550px;
  }
  .ba-slider img {
    height: 550px;
  }
  #before-after .handle::after {
    top: 30%;
    width: 100px;
    height: 115px;
  }

  #cleaning-services #features .slick-list {
    width: 100%;
  }

  #cleaning-services .next-slide {
    right: 4%;
  }

  #cleaning-services .prev-slide {
    left: 4%;
  }
}

@media only screen and (max-width: 746px) {
  #footer-container > ul {
    text-align: center;
  }

  #testimonials-slider p:nth-child(1) {
    font-size: 16px;
  }
}

@media only screen and (max-width: 700px) {
  #features.features-grid {
  }
}

@media only screen and (max-width: 600px) {
  #home #content-container h1 {
    font-size: 20px;
    width: 85%;
  }

  #features,
  #features.features-grid {
    padding: 0 2rem;
    grid-template-columns: 1fr;
  }

  #features > div p {
    display: none;
  }

  #features > div h4 {
    font-size: 22px;
  }

  #content-container h1 {
    font-size: 1.25rem;
  }

  #case-studies-list {
    width: 85%;
  }

  #content-container #content #right-col {
    width: 100%;
  }
  #footer-container .content {
    padding: 0 1rem;
  }

  #contact .contact-form .row input,
  #contact .contact-form .row select,
  #contact .contact-form .row textarea {
    width: 100%;
  }
}

@media only screen and (max-width: 450px) {
  #quality-cleaning .copy {
    width: 100%;
    padding: 25px;
  }

  .accordion_question {
    font-size: 18px;
  }

  .rslides .description {
    height: 395px;
    width: 340px;
  }

  .rslides .description .copy {
    width: 100%;
  }

  .rslides .description .copy p {
    display: none;
  }

  #features,
  #features.features-grid {
    padding: 0 1rem;
  }
}

@media screen and (max-width: 1400px) {
  #contact-info {
    display: none !important;
  }
}
