.et-l,
.et-l--footer,
#main-header {
  display: none;
}

body.page-template-template-landing {
  color: #1a1a1a;
  font-family: 'Jost', sans-serif;
}

#page-container {
  overflow: hidden;
}

#hero {
  height: 880px;
  position: relative;
}

.hero-logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 300px;
  height: auto;
  z-index: 2;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  text-transform: uppercase;
  padding-left: 5rem;
  text-shadow: 2px 4px 10px #000000a5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-underline {
  position: absolute;
  left: 0;
  width: 100%;
}

.hero-copy h2,
.hero-copy h1 {
  color: white;
}

.hero-copy h2 {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 3px;
}

.hero-copy h1 {
  font-size: 4rem;
  font-weight: 700;
}

.hero-copy h1 span {
  color: #fca300;
}

.hero-form {
  position: absolute;
  top: 0;
  right: 5rem;
  border: 5px solid #fca300;
  border-top: none;
  z-index: 2;
  background: #1a1a1a;
  opacity: 0.96;
  padding: 1.5rem 3rem 3rem 3rem;
  width: 550px;
}

.hero-form h2,
.hero-form h3 {
  color: white;
  text-align: center;
}

.hero-form h2 {
  font-size: 36px;
}

.hero-form h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero-form h2 {
  font-weight: 700;
}

#hero input:not([type='submit']),
#hero select,
#hero textarea  {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
}
#hero textarea {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
}

#hero input::placeholder,
#hero ::placeholder,
#hero ::-webkit-input-placeholder {
  color: white;
}

#field_4_5 {
  grid-column: span 4;
}

#field_4_6 {
  grid-column: span 8;
}

.hero-form .gform_wrapper.gravity-theme .gform_footer {
  padding: 0;
}

.hero-form .gform_wrapper.gravity-theme .gform_footer input {
  margin: 0;
}

.prefix {
  position: relative;
  text-transform: uppercase;
}

#hero input[type='submit'] {
  border: none;
  width: 100%;
  background: #0072ff;
  box-shadow: 0px 3px 6px #00000029;
  outline: none;
  cursor: pointer;
}

.hero-phone.btn {
  display: block;
  border: none;
  width: 100%;
  background: #fca300;
  box-shadow: 0px 3px 6px #00000029;
  outline: none;
  cursor: pointer;
  color: #1a1a1a;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  border-radius: 4px;
  padding: 0.3em 1em;
  line-height: 1.8;
  margin-top: 0.5rem;
  text-align: center;
}

.hero-phone.btn .icon {
  margin-right: 1rem;
}

#hero .gform_required_legend {
  display: none;
}

#why {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 10rem;
}

#why .container {
  display: flex;
}

#why .container > * {
  flex-grow: 1;
  flex-basis: 0;
}

#why .why-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}

#why .why-image {
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100% - 1.5rem);
  width: calc(100% - 1.5rem);
  z-index: 1;
  object-fit: cover;
}

#why .why-image-container::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100% - 1.5rem);
  width: calc(100% - 1.5rem);
  background: #1a1a1a;
  transform: translate(1.5rem, 1.5rem);
  box-shadow: 2px 2px 4px #00000029;
}

#why-video {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

#why .why-content {
  padding-right: 2rem;
}

#why .why-content h3 {
  font-size: 36px;
  font-weight: 400;
}

#why .why-copy {
  font-size: 20px;
  line-height: 1.65;
  font-family: 'Montserrat', sans-serif;
  padding-right: 3rem;
}

.shifted-header {
  margin-left: 4rem;
  position: relative;
  z-index: 1;
}

.shifted-header h2 {
  font-size: 60px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  color: #0072ff;
}

.headline-image {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-240px, 12px);
}

#usp-services {
  position: relative;
}

#usp-services::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent linear-gradient(180deg, #1a1a1a00 0%, #1a1a1a 100%) 0% 0% no-repeat padding-box;
}

#usp-services .container {
  z-index: 1;
  position: relative;
}

#usp-services .usps-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.usps-row .usp {
  position: relative;
  width: 23%;
  aspect-ratio: 1/1;
}

.usps-row .usp::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate(4%, 4%);
  z-index: -1;
  background: #0072ff;
}

.usps-row .usp img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usp .usp-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background: #1a1a1ae0;
  padding: 1.5rem;
  max-height: 128px;
  height: 100%;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.usp:hover .usp-text {
  max-height: 100%;
}

.usp .usp-text p {
  max-height: 0px;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  height: 100%;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.usps-row .usp:hover .usp-text p {
  max-height: 400px;
}

.usp .usp-text h3 {
  color: white;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-transform: uppercase;
}

.usp .usp-text h3 span {
  color: #fca300;
  display: block;
}

#usp-services .bg-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  object-fit: cover;
  object-position: top;
  opacity: 0.67;
}

#usp-services .services {
  padding: 4rem 0;
}

.services .services-row {
  display: flex;
}

.services h3 {
  font-size: 36px;
  font-weight: 400;
  color: white;
}

.services h2 {
  color: #fca300;
}

.services .services-row {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.services .service {
  flex-grow: 1;
  flex-basis: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.services .service h3 {
  color: #fca300;
  font-size: 20px;
  margin-top: 1rem;
}

.services .service img {
  width: 170px;
  height: auto;
  aspect-ratio: 1/1;
  border: 4px solid #fca300;
  border-radius: 50%;
  object-fit: contain;
  background: white;
}

.services .btn {
  display: table;
  margin: 2rem auto 0;
  background: #fca300;
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 700;
  padding: 0.75rem 3rem;
  border-radius: 4px;
  box-shadow: 2px 3px 3px #00000039;
}

#reviews {
  padding: 4rem 0;
  position: relative;
}

#reviews h3 {
  font-size: 36px;
  font-weight: 400;
  color: white;
}

#reviews .shifted-header h2 {
  color: white;
}
#reviews .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

#reviews .glider-contain {
  margin-top: 2rem;
}

#reviews .review {
  display: flex;
  padding: 2rem;
  background: #1a1a1a;
  background: linear-gradient(to bottom, #1a1a1a, #1a1a1a calc(100% - 6rem), transparent calc(100% - 6rem));
  height: 100%;
}

#reviews .review .review-img-wrap {
  min-width: 450px;
  aspect-ratio: 1/1;
}

#reviews .review .review-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#reviews .review .review-text {
  padding: 2rem 3rem;
  padding-right: 0;
  color: white;
}

#reviews .splide {
  margin-top: 2rem;
}

#reviews .review .review-text h3 {
  color: white;
  font-size: 40px;
  font-weight: 700;
  text-transform: capitalize;
}

#reviews .review .review-text h4 {
  color: white;
  text-transform: uppercase;
  font-size: 24px;
}

#reviews .review .review-text p {
  font-size: 20px;
  line-height: 1.5;
  padding-left: 3rem;
  font-weight: 400;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif;
}

#reviews img.star-image {
  transform: translateX(-16px);
}

#reviews .glider-dots {
  transform: translateY(-4.5rem);
  justify-content: flex-start;
  padding-left: 500px;
}

#reviews .glider-dots .glider-dot {
  background: url(https://urbandesertpest.com/wp-content/uploads/2023/07/Black-Ant-Slider.png);
  margin: 0 0.5rem;
  width: 60px;
  height: 37px;
  background-repeat: no-repeat;
}

#reviews .glider-dots .glider-dot.active {
  background: url(https://urbandesertpest.com/wp-content/uploads/2023/07/White-Ant-Slider.png);
}

#footer {
  background: #1a1a1a;
  padding: 8rem 0;
  position: relative;
}

#footer .container {
  display: flex;
}

#footer .container > * {
  flex-grow: 1;
  flex-basis: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#footer .btn {
  background: #fca300;
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 700;
  padding: 0.75rem 3rem;
  border-radius: 4px;
  box-shadow: 2px 3px 3px #00000039;
  width: 275px;
  text-align: center;
}

#footer .btn.white {
  background: white;
  margin-top: 2rem;
}

#footer .icon {
  background: #0072ff;
  color: white;
  font-size: 36px;
  padding: 0.5rem;
  border-radius: 1rem;
  margin: 0 0.5rem;
}

#footer .address {
  color: white;
  font-size: 18px;
  margin-top: 1rem;
  font-weight: 700;
}

#footer .logo {
  max-width: 400px;
  height: auto;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#content .container {
  max-width: 1600px;
  width: calc(100% - 4rem);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#footer .copyright {
  position: absolute;
  bottom: 0.5rem;
  color: white;
  font-size: 16px;
  font-weight: 400;
  width: 100%;
  text-align: center;
  padding: 0 1rem;
}

#footer .copyright a {
  color: white;
}

@media (max-width: 1600px) {
  .hero-form {
    width: 450px;
  }
  #content .shifted-header {
    margin-left: 2rem;
  }
  #content .headline-image {
    transform: translate(-225px, 12px);
  }
  #why .why-copy {
    font-size: 18px;
  }
}

@media (max-width: 1440px) {
  .hero-form {
    right: 2rem;
  }
  .hero-copy {
    max-width: calc(100vw - 550px);
    padding-left: 2rem;
  }
  #why .why-copy {
    font-size: 16px;
  }
  #usp-services .usps-row {
    flex-wrap: wrap;
  }
  .usps-row .usp {
    width: calc(50% - 1rem);
    margin-bottom: 2rem;
  }
  .usps-row .usp::after {
    transform: translate(2%, 2%);
  }
}

@media (max-width: 1200px) {
  .hero-copy h2 {
    font-size: 1.5rem;
  }
  .hero-copy h1 {
    font-size: 3rem;
  }
  .hero-form h2 {
    font-size: 32px;
  }
  .hero-form h3 {
    font-size: 24px;
  }
  #content .prefix {
    font-size: 1.5rem !important;
  }
  .shifted-header h2 {
    font-size: 44px;
  }
  .headline-image {
    width: 200px;
  }
  #content .headline-image {
    transform: translate(-225px, 9px);
  }
  .services .services-row {
    flex-wrap: wrap;
  }
  .services .service {
    width: 25%;
    flex-grow: unset;
    flex-basis: unset;
    margin-bottom: 1rem;
  }
  #reviews .review {
    background: #1a1a1a;
  }
  #reviews .review .review-text p {
    padding-left: 0;
  }
  #reviews .glider-dots {
    transform: translateY(1rem);
    padding-left: 0;
    justify-content: center;
  }
  #footer .container {
    flex-direction: column;
  }
  .footer-middle {
    order: 1;
    margin-bottom: 2rem;
  }
  .footer-left {
    order: 2;
    margin-bottom: 2rem;
  }
  .footer-right {
    order: 3;
  }
  #footer {
    padding: 4rem 0;
    padding-bottom: 6rem;
  }
  #why {
    padding-bottom: 6rem;
  }
}



@media (max-width: 992px) {
  .usps-row .usp {
    min-height: 480px;
  }
  .hero-phone.btn {
    display: none;
  }
  #why .why-copy {
    padding-right: 0;
  }
  #reviews .review {
    flex-direction: column;
  }
  #reviews .review .review-text {
    padding-left: 0;
  }
  #reviews .review .review-img-wrap {
    min-width: unset;
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    position: relative;
  }
  #reviews .review .review-image {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
  }
  #why .container {
    flex-direction: column;
  }
  #why .why-image-container {
    height: auto;
    flex-grow: unset;
    flex-basis: unset;
    margin-top: 2rem;
  }
  #why .why-content {
    padding-right: 0;
  }
  .hero-form {
    position: relative;
    top: unset;
    right: unset;
    opacity: 1;
    width: auto;
    border-top: 5px solid #fca300;
    margin-top: -10px;
  }
  #hero {
    height: auto;
  }
  .hero-image,
  .hero-overlay {
    height: auto;
    aspect-ratio: 16/9;
    min-height: 360px;
  }
  .hero-image {
    position: relative;
  }
  .hero-copy {
    max-width: unset;
    top: 210px;
    transform: unset;
    padding-left: 2rem;
  }
  .hero-logo {
    width: 160px;
  }
  body {
    padding-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-copy {
    top: 120px;
  }
  .hero-copy h2,
  .hero-form h3 {
    font-size: 1rem;
  }
  .hero-copy h1 {
    font-size: 2rem;
  }
  .hero-form h2 {
    font-size: 24px;
  }
  .usps-row .usp {
    width: calc(100% - 1rem);
  }
  .services .service img {
    width: 80px;
  }
  .services .service h3 {
    font-size: 16px;
  }
  #reviews .review .review-text p {
    font-size: 16px;
  }
}

@media (max-width: 650px) {
  #why {
    padding-bottom: 4rem;
  }
  #callnowbutton.cnb-full.cnb-displaymode-mobile-only {
    bottom: unset;
    top: 0;
  }
}

@media (max-width: 480px) {
  .usp .usp-text h3 {
    font-size: 24px;
  }
  .services .service {
    width: 50%;
  }
  #footer .logo {
    width: 100%;
    height: auto;
  }
  #footer .address {
    width: 100%;
    text-align: left;
  }
  .hero-image,
  .hero-overlay {
    min-height: 280px;
  }
  .hero-underline {
    display: none;
  }
}
