/* Variables */
:root {
  --blue: #008fce;
  --blue-dark: #007db3;
  --blue-light: #4dc9ff;
  --navy: #0d1d33;
  --grey: #404040;
  --grey-light: #f0f0f0;
}

/* mixins */
/* Global Styles */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body {
  color: var(--navy);
  cursor: auto;
  font-size: 1.0625rem;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

ul {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.screenreader {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Layout */
.inner {
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 75rem;
}

.narrow {
  max-width: 60rem;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media only screen and (min-width: 48em) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .first {
    order: -1;
  }
}
/* Utility Functions */
.section {
  padding-bottom: 3rem;
  padding-top: 3rem;
}
@media only screen and (min-width: 48em) {
  .section {
    padding-bottom: 8rem;
    padding-top: 8rem;
  }
}

.section-grey {
  background-color: var(--grey-light);
}

.grid-center {
  align-items: center;
}

.grid-gap-xl {
  column-gap: 5rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

/* Main Menu */
.main-menu,
.dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu {
  background-color: var(--navy);
  height: 100%;
  left: 0;
  opacity: 0;
  overflow-x: hidden;
  padding: 3rem 0 0 0;
  position: fixed;
  top: 0;
  transition: opacity 0.5s;
  visibility: hidden;
  width: 100%;
  z-index: 40;
}
.main-menu.open {
  opacity: 1;
  visibility: visible;
}
@media only screen and (min-width: 59em) {
  .main-menu {
    align-items: center;
    background-color: transparent;
    display: flex;
    height: auto;
    opacity: 1;
    overflow-x: visible;
    padding: 0;
    position: static;
    transition: none;
    visibility: visible;
    width: auto;
  }
}

.main-menu li {
  text-align: center;
}
@media only screen and (min-width: 59em) {
  .main-menu li {
    position: relative;
    text-align: left;
  }
}

.dropdown {
  background-color: var(--navy);
  visibility: hidden;
  opacity: 0;
  left: 0;
  display: none;
  z-index: 30;
}
@media only screen and (min-width: 59em) {
  .dropdown {
    background-color: var(--navy);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    min-width: 14rem;
    position: absolute;
  }
}

.dropdown-icon {
  fill: #fff;
}
@media only screen and (min-width: 59em) {
  .dropdown-icon {
    fill: var(--navy);
  }
}

@media only screen and (min-width: 59em) {
  .main-menu .dropdown a {
    color: #fff;
  }
}
.hasdropdown > a span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hasdropdown.active .dropdown {
  visibility: visible;
  opacity: 1;
  display: block;
}

.main-menu li ul li {
  width: 100%;
}

.main-menu a {
  color: #fff;
  display: block;
  font-weight: bold;
  line-height: 1;
  padding: 1.5rem;
  text-decoration: none;
}
@media only screen and (min-width: 59em) {
  .main-menu a {
    color: var(--navy);
    padding: 1.25rem 1.5rem;
  }
}

.main-menu a:hover,
.main-menu a.active {
  color: var(--blue);
}

.menu-btn {
  background-color: var(--blue);
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  height: 62px;
  font-size: 1em;
  display: inline-block;
  padding: 8px 16px;
  position: fixed;
  top: 0;
  right: 0;
  width: 62px;
  z-index: 50;
}
@media only screen and (min-width: 59em) {
  .menu-btn {
    display: none;
  }
}
.menu-btn #nav-icon {
  display: block;
  width: 30px;
  height: 20px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
.menu-btn #nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}
.menu-btn #nav-icon span:nth-child(1) {
  top: 0px;
}
.menu-btn #nav-icon span:nth-child(2) {
  top: 8px;
}
.menu-btn #nav-icon span:nth-child(3) {
  top: 16px;
}
.menu-btn #nav-icon.open span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}
.menu-btn #nav-icon.open span:nth-child(2) {
  opacity: 0;
  right: -40px;
}
.menu-btn #nav-icon.open span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

.menu-btn:focus {
  outline: none;
}

@media only screen and (min-width: 59em) {
  .main-menu a.quote-btn {
    background-color: var(--blue);
    border-radius: 2px;
    color: #fff;
    margin-left: 1.5rem;
  }
}

@media only screen and (min-width: 59em) {
  .main-menu a.quote-btn:hover {
    background-color: var(--blue-dark);
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  color: var(--navy);
  line-height: 1.2;
}

a h1,
a h2,
a h3,
a h4,
a h5 {
  color: var(--blue);
}

a:hover h1,
a:hover h2,
a:hover h3,
a:hover h4,
a:hover h5 {
  color: var(--blue-dark);
}

p:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child {
  margin-top: 0;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

h4 {
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h5 {
  font-size: 1.125rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h6 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@media only screen and (min-width: 48em) {
  h1 {
    font-size: 3.2rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 2rem;
  }
}
.center {
  text-align: center;
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

.small {
  font-size: 0.75rem;
}

.large {
  font-size: 1.125rem;
}

.courier {
  font-family: Courier New, Courier, Lucida Sans Typewriter, Lucida Typewriter, monospace;
}

/* Header */
.site-header {
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

@media only screen and (min-width: 59em) {
  .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.site-logo {
  display: block;
}

.site-logo img {
  display: block;
  width: 220px;
}

/* Hero */
.hero {
  background: linear-gradient(90deg, rgba(13, 29, 51, 0.75), rgba(13, 29, 51, 0.75)), url("../images/hero.jpg") no-repeat center center;
  background-size: cover;
  padding-bottom: 12%;
  padding-top: 12%;
  margin-bottom: 1rem;
  position: relative;
}
@media only screen and (min-width: 48em) {
  .hero {
    padding-bottom: 10%;
    padding-top: 10%;
    background: linear-gradient(90deg, rgba(13, 29, 51, 0.75), rgba(13, 29, 51, 0.75) 60%, rgba(13, 29, 51, 0), rgba(13, 29, 51, 0)), url("../images/hero.jpg") no-repeat center center;
    background-size: cover;
  }
}

.hero .inner {
  position: relative;
  z-index: 10;
}

.hero-content {
  color: #fff;
}
@media only screen and (min-width: 48em) {
  .hero-content {
    max-width: 38rem;
  }
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero {
  background: var(--navy);
  padding-bottom: 3rem;
  padding-top: 3rem;
  overflow: hidden;
  text-align: center;
  position: relative;
}
@media only screen and (min-width: 48em) {
  .page-hero {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 0;
}

/* CTA */
.cta {
  background-color: var(--blue);
  background-size: cover;
  color: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
}

.cta h2 {
  color: #fff;
  margin-bottom: 2rem;
}

.cta p {
  font-size: 1.25rem;
}

/* Custom Styles */
.intro {
  font-size: 1.125rem;
}
@media only screen and (min-width: 48em) {
  .intro {
    font-size: 1.25rem;
  }
}

.feature-list {
  display: flex;
  flex-flow: column nowrap;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.feature-list .icon {
  color: var(--blue);
}

.contact-list {
  display: flex;
  flex-flow: column nowrap;
  gap: 0.5rem;
}

.home-services a {
  color: #fff;
}

.home-services a {
  background: linear-gradient(rgba(13, 29, 51, 0.75), rgba(13, 29, 51, 0.75)), url("../images/window-cleaning-04.jpg") no-repeat center center;
  background-size: cover;
  border-radius: 6px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  height: 250px;
  text-align: center;
  transition: transform 0.2s;
}

.home-services .window {
  background: linear-gradient(rgba(13, 29, 51, 0.75), rgba(13, 29, 51, 0.75)), url("../images/window-cleaning-04.jpg") no-repeat center center;
  background-size: cover;
}

.home-services .gutter {
  background: linear-gradient(rgba(13, 29, 51, 0.75), rgba(13, 29, 51, 0.75)), url("../images/gutter-cleaning-02.jpg") no-repeat center center;
  background-size: cover;
}

.home-services .power {
  background: linear-gradient(rgba(13, 29, 51, 0.75), rgba(13, 29, 51, 0.75)), url("../images/powerwashing-03.jpg") no-repeat center center;
  background-size: cover;
}

.home-services .carpet {
  background: linear-gradient(rgba(13, 29, 51, 0.75), rgba(13, 29, 51, 0.75)), url("../images/carpet-cleaning-01.jpg") no-repeat center center;
  background-size: cover;
}

.home-services a:hover {
  transform: scale(1.03);
}

.home-services span {
  font-size: 1.5rem;
}

.img-rad {
  border-radius: 6px;
}

.testimonials {
  grid-template-rows: masonry;
}

.testimonial {
  background-color: #fff;
  border-top: 5px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1.5rem;
}

.trust-bar h3 {
  font-size: 1.25rem;
}

.trust-bar .icon {
  font-size: 1.25rem;
}

.trust-bar .icon-inline {
  align-items: flex-start;
}

/* Icons */
.icon-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon {
  line-height: 0;
}

.icon-3x {
  font-size: 3rem;
}

.icon-blue {
  color: var(--blue);
}

/* 3rd Party */
.google-maps {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Button */
.btn {
  background-color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
  vertical-align: middle;
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased;
}
.btn:hover, .btn:focus {
  background-color: var(--blue-dark);
  border: 2px solid var(--blue-dark);
  color: #fff;
}

.btn-wht {
  background-color: #fff;
  border: 2px solid #fff;
  color: var(--navy);
}
.btn-wht:hover, .btn-wht:focus {
  background-color: var(--navy);
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-alt {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-alt:hover, .btn-alt:focus {
  background-color: #fff;
  border: 2px solid #fff;
  color: var(--blue);
}

.btn-full {
  width: 100%;
}

.btn-wrapper .btn:first-child {
  margin-right: 0.5rem;
}

.btn-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Cookie Table */
.cookie-table {
  margin-bottom: 2em;
  border-collapse: collapse;
}
.cookie-table td,
.cookie-table th {
  border: 1px solid #D3C4C6;
  padding: 1em;
  text-align: left;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding-bottom: 2rem;
  padding-top: 6rem;
  position: relative;
}
@media only screen and (min-width: 48em) {
  .site-footer {
    padding-top: 8rem;
  }
}

.site-footer h4 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer p {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--blue-light);
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.footer-links {
  font-size: 0.8125em;
  padding-bottom: 1rem;
  padding-top: 6rem;
}

.footer-links span {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* Form */
form {
  width: 100%;
}
form label.hidden {
  display: none;
  font-size: 0.875em;
  font-weight: bold;
}
form .consent label {
  display: inline;
}
form .required {
  font-size: 0.75em;
}
form input[type=text],
form input[type=email],
form input[type=password],
form input[type=tel],
form select,
form textarea {
  background-color: #fff;
  border: 1px solid #dadada;
  border-radius: 0;
  color: #404040;
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 1em;
  margin-bottom: 1rem;
  padding: 0.75rem;
  -webkit-appearance: none;
  width: 100%;
}
form input[type=text]:focus,
form input[type=email]:focus,
form input[type=tel]:focus,
form select:focus,
form textarea:focus {
  outline: 3px solid var(--blue);
}
form input[type=submit] {
  font-family: inherit;
  line-height: 1.6;
  margin-bottom: 0;
  margin-top: 1rem;
}
form textarea {
  min-height: 154px;
}

.success-message {
  border: 2px solid green;
  color: green;
  padding: 1rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.error-message {
  border: 2px solid red;
  color: red;
  padding: 1rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
