@import url("https://fonts.googleapis.com/css2?family=Oswald&family=Roboto&display=swap");
:root {
  --navy-color: rgb(37, 53, 92);
  --hero-color: rgb(37, 53, 92, 0.92);
  --warning-color: #ffc107;
  --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
}
/* this html body and footer code allows for the footer to stay locked onto the bottom on the screen */
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
}
footer {
  margin-top: auto;
  background-color: var(--navy-color);
}
nav {
  box-shadow: var(--box-shadow);
  background-color: white;
}
.hero-home {
  background-image: url(/img/herovan.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
}
.hero-why {
  background-image: url(/img/sidevangood.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  max-height: 500px;
}
.hero-why::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--hero-color);
  z-index: -1;
}
.hero-carpet {
  background-image: url(/img/clean3.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  max-height: 500px;
}
.hero-carpet::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--hero-color);
  z-index: -1;
}
.hero-repair {
  background-image: url(/img/carpetrepair.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  max-height: 500px;
}
.hero-repair::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--hero-color);
  z-index: -1;
}
.hero-upholstery {
  background-image: url(/img/backseat.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  max-height: 500px;
}
.hero-upholstery::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--hero-color);
  z-index: -1;
}
.hero-tile {
  background-image: url(/img/tileafter.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  max-height: 500px;
}
.hero-tile::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--hero-color);
  z-index: -1;
}
.hero-water {
  background-image: url(/img/tilefan2.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  max-height: 500px;
}
.hero-water::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--hero-color);
  z-index: -1;
}
.hero-rug {
  background-image: url(/img/tilefan2.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  max-height: 500px;
}
.hero-rug::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--hero-color);
  z-index: -1;
}
.background1 {
  padding: 30px;
}
.background2 {
  background-color: #f3f3f3;
  padding: 30px;
}
.hero-home::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--hero-color);
  z-index: -1;
}
.menu-item {
  color: black;
}
.logo {
  /* max-width: 160px; */
  max-height: 85px;
  margin-top: 0;
  background-color: var(--navy-color);
}
.active-click {
  color: var(--warning-color);
  font-weight: 800;
}

.nav-link:hover {
  color: var(--warning-color);
}
@media (min-width: 350px) and (max-width: 575.98px) {
  .menu-item {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .menu-item {
    margin-left: 5px;
    margin-right: 5px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .menu-item {
    font-size: 16px;
    margin-left: 6px;
    margin-right: 6px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .menu-item {
    font-size: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media (min-width: 1200px) {
  .menu-item {
    font-size: 20px;
    margin-left: 20px;
    margin-right: 20px;
  }
}
.navbar-toggler {
  border-color: black;
  color: transparent;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.dropdown-item:hover {
  color: var(--warning-color);
  background: none;
}
.dropdown-toggle .active-click {
  color: var(--warning-color);
}
.dropdown-toggle:hover {
  color: var(--warning-color);
}
/* #navbarDropdown .active-click {
  color: var(--warning-color);
}
#navbarDropdown:hover {
  color: var(--warning-color);
} */

.btn-color {
  background-color: var(--greenish-color);
}
.btn-color-2 {
  background-color: var(--warning-color);
}
.hover-btn:hover {
  background-color: grey;
  color: white;
}
.hover-btn {
  color: white;
}
.headline {
  font-size: 45px;
}
.headline-2 {
  font-size: 35px;
}
.headline-3 {
  font-size: 25px;
}
.btn-color {
  background-color: var(--navy-color);
}
.img-hover {
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow);

  background-color: #ffffff;
  padding: 5px;
  margin-left: 10px;
  margin-right: 10px;
}
.line {
  /* width: 30%; */
  width: 400px;
  height: 4px; /* Adjust the line thickness as needed */
  background-color: var(--navy-color); /* Adjust the line color as needed */
  margin: 10px auto; /* Adjust the margin as needed the auto will make the line go to the center*/
}
.line-two {
  /* width: 40%; */
  width: 400px;
  height: 4px; /* Adjust the line thickness as needed */
  background-color: var(--navy-color); /* Adjust the line color as needed */
  margin: 10px 0; /* Adjust the margin as needed the auto will make the line go to the center*/
}
@media (max-width: 500px) {
  .line {
    /* width: 30%; */
    width: 70%;
    height: 4px; /* Adjust the line thickness as needed */
    background-color: var(--navy-color); /* Adjust the line color as needed */
    margin: 10px auto; /* Adjust the margin as needed the auto will make the line go to the center*/
  }
}
@media (max-width: 500px) {
  .line-two {
    /* width: 40%; */
    width: 80%;
    height: 4px; /* Adjust the line thickness as needed */
    background-color: var(--navy-color); /* Adjust the line color as needed */
    margin: 10px 0; /* Adjust the margin as needed the auto will make the line go to the center*/
  }
}

.carousel-control-prev-icon {
  background-color: black;
  border-radius: 100px;
}

.carousel-control-next-icon {
  background-color: black;
  border-radius: 100px;
}
@media (max-width: 575px) {
  .carousel-control-prev,
  .carousel-control-next {
    position: absolute;
    bottom: 0;
    transform: translateY(45%);
  }

  .carousel-inner.service-card {
    position: relative; /* Ensure the parent has relative positioning */
  }
}
.review-icon {
  color: orange;
}
.service-card {
  box-shadow: var(--box-shadow);
  background-color: #ffffff;
  padding: 25px;
}
.logo-footer {
  max-height: 180px;
}
.footer-top {
  padding-bottom: 90px;
  padding: 50px;
}

.footer-margin {
  margin-top: 10px;
  margin: 7px;
}
.box-box {
  background-color: #ffffff;
  padding: 5px;

  box-shadow: var(--box-shadow);
}
.color-three {
  color: var(--navy-color);
}
/* .img-hover:hover::before {
  opacity: 1;
} */
/* @media (min-width: 250px) and (max-width: 575.98px) {
  .logo-footer {
    max-width: 170px;
  }
} */
.grey-body-color {
  background-color: #f3f3f3;
}
.padding-project {
  padding-top: 40px;
}
.italic {
  font-size: 35px;
  font-style: italic;
}

/* .iconbox {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--hero-color);
  color: #fff;
  font-size: 20px;
  border-radius: 100px;
  flex: none;
} */

.col-icon {
  display: flex;
}

.iconbox {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--hero-color);
  color: #fff;
  font-size: 25px;
  border-radius: 100px;
  flex: none;
  margin-right: 10px; /* Adjust the margin as needed for spacing */
}

.card-effect {
  box-shadow: var(--box-shadow);
  height: 100%;
  background-color: white;
  padding: 25px;
  /* transition: all 0.35s ease; */
}
.hover:hover {
  color: var(--warning-color);
}
/* Add general styling for the paragraph */
.underline-hover {
  font-size: 16px;
  margin: 0;
  padding: 2px;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Add the default line underlay */
.underline-hover::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform 0.3s ease, background-color 0.3s ease; /* Added background-color transition */
}

/* Add the hover effect to reveal the line underlay */
.underline-hover:hover::before {
  transform-origin: bottom left;
  transform: scaleX(1);
  background-color: var(
    --warning-color
  ); /* You can change the color as per your preference */
}

/* Add the retraction effect when not hovered */
.underline-hover:not(:hover)::before {
  transform-origin: bottom left;
  transform: scaleX(0);
}

.footer-bg {
  background-color: var(--navy-color);
}
