body {
  font-family: 'Poppins', sans-serif;
  color: black;
}

.navbar-nav {
  flex-wrap: wrap;
}

#phone a {
  color: #faaf3f;
  font-weight: 600;
}

@media (min-width: 992px) {
  ul.whitefont li {
    white-space: nowrap;
  }
}


/* --------------------------------------------------------------
# NAVIGATION
-------------------------------------------------------------- */

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: black;
}

.nav-link:hover,
.nav-link.active {
  color: #c20a29;
  text-decoration: none;
}

/* --------------------------------------------------------------
# NAVBAR
-------------------------------------------------------------- */

.navbar .navbar-nav .dropdown-menu {
  background-color: #50584d;
  color: #FFFFFF;
  font-size: 18px;
  padding: 10px 0;
  margin-top: 5px;
  border: none;
  border-radius: 0;
}

/* Show dropdown on hover */

.nav-item.dropdown:hover>.dropdown-menu {
  display: block;
}

/* Dropdown items */

.dropdown-item {
  background-color: #50584d;
  color: #FFFFFF;
}

.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item:focus {
  background-color: #245c2f;
  color: #FFFFFF;
}

/* --------------------------------------------------------------
# SERVICES DROPDOWN
-------------------------------------------------------------- */

/* Base style */

.dropdown-font {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: black;
}

/* Hover + Active variants */

.dropdown-font.redhover:hover,
.dropdown-font.redhover.active {
  color: #c20a29;
}

.dropdown-font.orangehover:hover,
.dropdown-font.orangehover.active {
  color: #f39200;
}

.dropdown-font.greenhover:hover,
.dropdown-font.greenhover.active {
  color: #89d11a;
}

.dropdown-font.bluehover:hover,
.dropdown-font.bluehover.active {
  color: #0bbbef !important;
}

.dropdown-font.darkbluehover:hover,
.dropdown-font.darkbluehover.active {
  color: #3e4799;
}

@media (min-width: 992px) {
  .dropdown-width {
    width: 700px;
  }
}

@media (min-width: 1200px) {
  .dropdown-width {
    width: 950px;
  }
}

.service-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Override dropdown background */

.navbar .navbar-nav .dropdown-menu {
  background-color: #ffffff !important;
  border-radius: 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border: none;
}

/* Remove shadow on top so it looks like it slides from navbar */

.navbar .navbar-nav .dropdown-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
  box-shadow: none;
}

/* --------------------------------------------------------------
# BACKGROUNDS
-------------------------------------------------------------- */

.blackbackground {
  background-color: #000000;
}

.lightgraybackground {
  background-color: #f5f5f5;
}

.redbackground {
  background-color: #c20a29;
}

.orangebackground {
  background-color: #f39200;
}

.greenbackground {
  background-color: #89d11a;
}

.bluebackground {
  background-color: #0bbbef;
}

.darkbluebackground {
  background-color: #3e4799;
}

.background-mitigation {
  background-image: url("../img/mitigation-icon.png");
  background-position: center;
  background-size: contain;
}

.background-mitigation-opacity {
  opacity: 45%;
}

.testimonials-background {
  position: relative;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-water-damage-banner,
.top-mold-banner,
.top-asbestos-banner,
.top-fire-banner,
.top-reconstruction-banner,
.top-other-services-banner,
.top-areas-we-serve-banner,
.top-about-banner,
.top-contact-banner,
.top-insurance-banner,
.top-financing-banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  align-items: center;
  height: 200px;
}

.bottom-water-damage-banner,
.bottom-mold-banner,
.bottom-asbestos-banner,
.bottom-fire-banner,
.bottom-reconstruction-banner,
.bottom-other-services-banner,
.bottom-areas-we-serve-banner,
.bottom-about-banner,
.bottom-contact-banner,
.top-insurance-banner,
.top-financing-banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  align-items: center;
}

.top-water-damage-banner {
  background-image: url("../img/water-damage-banner.jpg");
}

.bottom-water-damage-banner {
  background-image: url("../img/water-damage-banner.jpg");
}

.top-mold-banner {
  background-image: url("../img/mold-banner.jpg");
}

.bottom-mold-banner {
  background-image: url("../img/mold-banner.jpg");
}

.top-asbestos-banner {
  background-image: url("../img/asbestos-banner.jpg");
}

.bottom-asbestos-banner {
  background-image: url("../img/asbestos-banner.jpg");
}

.top-fire-banner {
  background-image: url("../img/fire-banner.jpg");
}

.bottom-fire-banner {
  background-image: url("../img/fire-smoke-banner.jpg");
}

.top-reconstruction-banner {
  background-image: url("../img/reconstruction-banner.jpg");
}

.bottom-reconstruction-banner {
  background-image: url("../img/reconstruction-banner.jpg");
}

.top-other-services-banner {
  background-image: url("../img/other-services-banner.jpg");
}

.bottom-other-services-banner {
  background-image: url("../img/other-services-banner.jpg");
}

.top-areas-we-serve-banner {
  background-image: url("../img/areas-we-serve-banner.jpg");
}

.bottom-areas-we-serve-banner {
  background-image: url("../img/areas-we-serve-banner.jpg");
}

.top-about-banner {
  background-image: url("../img/about-banner.jpg");
}

.bottom-about-banner {
  background-image: url("../img/about-banner.jpg");
}

.top-contact-banner {
  background-image: url("../img/contact-banner.jpg");
}

.bottom-contact-banner {
  background-image: url("../img/contact-banner.jpg");
}

.top-insurance-banner {
  background-image: url("../img/insurance-banner.jpg");
}

.bottom-insurance-banner {
  background-image: url("../img/insurance-banner.jpg");
}

.top-financing-banner {
  background-image: url("../img/financing-banner.jpg");
}

.bottom-financing-banner {
  background-image: url("../img/financing-banner.jpg");
}

.front-fire-smoke-banner {
  background-image: url("../img/fire-smoke-banner.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* --------------------------------------------------------------
# BORDERS
-------------------------------------------------------------- */

.border-white {
  border-style: solid;
  border-width: 3px 0;
  border-color: #ffffff;
}

.border-red {
  border-style: solid;
  border-width: 3px 0;
  border-color: #c20a29;
}

.footer-border {
  border-style: solid;
  border-width: 3px 0;
  border-bottom: 0px;
  border-color: #c20a29;
}

.underline-border {
  border-bottom-width: 4px;
  border-bottom-style: solid;
  display: inline-block;
  padding-bottom: 16px;
}

.underline-red {
  border-bottom-color: #c20a29;
}

.underline-orange {
  border-bottom-color: #f39200;
}

.underline-green {
  border-bottom-color: #89d11a;
}

.underline-blue {
  border-bottom-color: #0bbbef;
}

.underline-darkblue {
  border-bottom-color: #3e4799;
}

.underline-lightgray {
  border-bottom-color: #f5f5f5;
}

/* --------------------------------------------------------------
# FONTS
-------------------------------------------------------------- */

.mdbannerfont {
  font-family: 'Franklin Gothic Demi', sans-serif;
  font-size: 32px !important;
  font-weight: 600;
}

.lgbannerfont {
  font-family: 'Franklin Gothic Demi', sans-serif;
  font-size: 72px !important;
  font-weight: 600;
}

.smfont {
  font-size: 18px;
}

.subheaderfont {
  font-size: 24px;
  font-weight: 600;
}

.mdfont {
  font-size: 32px;
  font-weight: 600;
}

.lgfont {
  font-size: 48px;
  font-weight: 600;
}

.whitefont {
  color: #ffffff;
}

a.whitefont {
  color: #ffffff;
  text-decoration: none;
}

.subheaderwhitefont {
  color: #ffffff;
}

a.subheaderwhitefont {
  color: #ffffff;
  text-decoration: none;
}

a.subheaderwhitefont:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.mdwhitefont {
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
}

.lgwhitefont {
  color: #ffffff;
  font-size: 48px;
  font-weight: 600;
}

.whitefooterfont {
  color: #ffffff;
}

a.whitefooterfont {
  color: #ffffff;
  text-decoration: none;
}

.mdwhitefooterfont {
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
}

.whitebannerfont {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
}

.whitephonefont {
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
}

a.whitefooterfont:hover,
.btn-white:focus {
  color: #c20a29;
  text-decoration: none;
}

a.whitefooterfont:active {
  color: #c20a29;
  text-decoration: none;
}

.redfont {
  color: #c20a29;
}

.mdredfont {
  color: #c20a29;
  font-size: 32px;
}

.lgredorangefont {
  color: #ed5822;
  font-weight: 600;
  font-size: 48px;
}

.mdorangefont {
  color: #f39200;
  font-size: 32px;
}

.mdyellowfont {
  color: #faaf3f;
  font-size: 32px;
}

.mdbluefont {
  color: #0bbbef;
  font-size: 32px;
}

.mdgreenfont {
  color: #89d11a;
  font-size: 32px;
}

.darkbluefont {
  color: #3e4799;
}

.mddarkbluefont {
  color: #3e4799;
  font-size: 32px;
}

.lgdarkbluefont {
  color: #3e4799;
  font-size: 48px;
  font-weight: 600;
}

/* --------------------------------------------------------------
# COLOR HOVER
-------------------------------------------------------------- */

.colorhoverfont-blue:hover,
.colorhoverfont-blue.active {
  color: #0bbbef !important;
}

.colorhoverfont-green:hover,
.colorhoverfont-green.active {
  color: #89d11a;
}

.colorhoverfont-orange:hover,
.colorhoverfont-orange.active {
  color: #f39200;
}

.colorhoverfont-red:hover,
.colorhoverfont-red.active {
  color: #c20a29;
}

.colorhoverfont-darkblue:hover,
.colorhoverfont-darkblue.active {
  color: #3e4799;
}

/* --------------------------------------------------------------
# BUTTONS
-------------------------------------------------------------- */

.btn {
  border: none;
  border-radius: 0;
}

.btn-black {
  background-color: #000000;
  color: #ffffff;
  font-weight: 600;
}

.btn-black:hover,
.btn-white:focus {
  background-color: #1a1a1a;
  color: #ffffff;
}

.btn-black:active {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

.btn-white {
  background-color: #ffffff;
  color: #000000;
  font-weight: 600;
}

.btn-white:hover,
.btn-white:focus {
  background-color: #f5f5f5;
  color: #000000;
}

.btn-white:active {
  background-color: #f5f5f5 !important;
  color: #000000 !important;
}

.btn-red {
  background-color: #c20a29;
  color: #ffffff;
  font-weight: 600;
}

.btn-red:hover,
.btn-white:focus {
  background-color: #9a081f;
  color: #ffffff;
}

.btn-red:active {
  background-color: #9a081f !important;
  color: #ffffff !important;
}

.btn-orange {
  background-color: #f39200;
  color: #ffffff;
  font-weight: 600;
}

.btn-orange:hover,
.btn-white:focus {
  background-color: #d67a00;
  color: #ffffff;
}

.btn-orange:active {
  background-color: #d67a00 !important;
  color: #ffffff !important;
}

.btn-green {
  background-color: #89d11a;
  color: #ffffff;
  font-weight: 600;
}

.btn-green:hover,
.btn-white:focus {
  background-color: #6fb316;
  color: #ffffff;
}

.btn-green:active {
  background-color: #6fb316 !important;
  color: #ffffff !important;
}

.btn-blue {
  background-color: #0bbbef;
  color: #ffffff;
  font-weight: 600;
}

.btn-blue:hover,
.btn-white:focus {
  background-color: #09a1cc;
  color: #ffffff;
}

.btn-blue:active {
  background-color: #09a1cc !important;
  color: #ffffff !important;
}

.btn-darkblue {
  background-color: #3e4799;
  color: #ffffff;
  font-weight: 600;
}

.btn-darkblue:hover,
.btn-white:focus {
  background-color: #323c7a;
  color: #ffffff;
}

.btn-darkblue:active {
  background-color: #323c7a !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------
# SLIDER
-------------------------------------------------------------- */

@media (max-width: 992px) {
  .lgbannerfont {
    font-size: 36px !important;
  }
}

@media (max-width: 992px) {
  .mdbannerfont {
    font-size: 20px !important;
  }
}

@media (max-width: 576px) {
  .lgbannerfont {
    font-size: 48px !important;
  }
}

@media (max-width: 576px) {
  .mdbannerfont {
    font-size: 18px !important;
  }
}

.carousel-item img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* --------------------------------------------------------------
# CARDS
-------------------------------------------------------------- */

.square-card {
  position: relative;
  background: #fff;
  border-radius: 0;
  padding: 80px 30px 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.square-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.square-card .circle {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #e6e6e6;
  background-color: #fff;
  overflow: hidden;
}

.square-card .circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------
# ICONS
-------------------------------------------------------------- */

.image-wrapper {
  position: relative;
  display: inline-block;
}

.corner-icon-right {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 10px;
  padding-inline: 30px;
  border-bottom-left-radius: 30px;
}

.corner-icon-left {
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 10px;
  padding-inline: 30px;
  border-bottom-right-radius: 30px;
}

.corner-icon-right img,
.corner-icon-left img {
  width: 45px;
  height: 45px;
}

.social-icon {
  font-size: 25px;
  color: #fff;
}

a.social-icon:hover {
  font-size: 25px;
  color: #c20a29;
}

.nextdoor-icon {
  display: inline-block;
  width: 33px;
  height: 33px;
  background: url("/assets/img/nextdoor-logo-white.png") no-repeat center center;
  background-size: contain;
}

.nextdoor-icon:hover {
  background-image: url("/assets/img/nextdoor-logo-red.png");
}

/* --------------------------------------------------------------
# ACCORDIAN
-------------------------------------------------------------- */

.accordion-button {
  background-color: #EDF2F7;
  color: #000;
  border-radius: 0 !important;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: #3e4799;
  color: #fff;
}

.accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

.accordion-item {
  border: none;
}

.accordion-body {
  background-color: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  filter: invert(1) brightness(2);
}

/*--------------------------------------------------------------
# BACK TO TOP BUTTON
--------------------------------------------------------------*/

#btn-back-to-top {
  position: fixed;
  bottom: 64px;
  right: 20px;
  display: none;
  z-index: 1001 !important;
  background-color: #c20a29;
}

#btn-back-to-top:hover {
  background-color: #9a081f;
}

@media (max-width: 575.98px) {
  #btn-back-to-top {
    bottom: 30px;
    right: 5px;
  }
}

/* --------------------------------------------------------------
# MOBILE FIXES
-------------------------------------------------------------- */

@media (max-width: 992px) {

  .top-water-damage-banner,
  .top-mold-banner,
  .top-asbestos-banner,
  .top-fire-banner,
  .top-reconstruction-banner,
  .top-other-services-banner,
  .top-areas-we-serve-banner,
  .top-about-banner,
  .top-contact-banner,
  .top-insurance-banner,
  .top-financing-banner {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    align-items: center;
    height: auto;
  }
}

@media (max-width: 992px) {

  .bottom-water-damage-banner,
  .bottom-mold-banner,
  .bottom-asbestos-banner,
  .bottom-fire-banner,
  .bottom-reconstruction-banner,
  .bottom-other-services-banner,
  .bottom-areas-we-serve-banner,
  .bottom-about-banner,
  .bottom-contact-banner,
  .top-insurance-banner,
  .top-financing-banner {
    height: auto;
  }
}

@media (max-width: 992px) {
  .mdfont {
    font-size: 28px;
    font-weight: 600;
  }
}

@media (max-width: 992px) {
  .lgfont {
    font-size: 32px;
    font-weight: 600;
  }
}

@media (max-width: 992px) {
  .mdwhitefont {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
  }
}

@media (max-width: 992px) {
  .lgwhitefont {
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
  }
}

@media (max-width: 992px) {
  .mdwhitefooterfont {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
  }
}

@media (max-width: 992px) {
  .whitebannerfont {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
  }
}

@media (max-width: 992px) {
  .mdredfont {
    color: #c20a29;
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .lgredorangefont {
    color: #ed5822;
    font-weight: 600;
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .mdorangefont {
    color: #f39200;
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .mdyellowfont {
    color: #faaf3f;
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .mdbluefont {
    color: #0bbbef;
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .mdgreenfont {
    color: #89d11a;
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .mddarkbluefont {
    color: #3e4799;
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .lgdarkbluefont {
    color: #3e4799;
    font-size: 32px;
    font-weight: 600;
  }
}