@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  margin: 0;
  overflow-x: hidden;
  padding-right: 0;
  font-family: Poppins;
}

#wrapper {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.main-content {
  display: flex;
  padding: 3px;
  position: relative;
}
.social-image {
  width: 100px;
  height: 40px;
}
.main-content .layout-cover {
  background-image: url("local_plumbing_company.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: fit-content;
}
.main-content .layout-cover .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.65);
  z-index: 1;
}

.child-with-content {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  z-index: 10;
  margin: 5px;
}
.intro-services {
  margin: 0;
  z-index: 12;
}
.intro-services h1 {
  text-transform: capitalize;
}
.main-services {
  margin: 0;
  z-index: 12;
}
.services-ul {
  padding: 0;
  margin: 0;
}
.services-ul li {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 3px;
}
.site-container {
  margin: 0px 5px;
}
.main-request {
  display: flex;
  gap: 6px;
}
.social-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.social-svg {
  width: 30px;
  height: 30px;
}

.social-button {
  padding: 5px 10px;
  background-color: white;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: none;
}
.site-header-row-center-column {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  margin: 0;
}

.mobile-side-bar {
  display: none;
}

.service-link {
  color: rgb(55, 55, 216);
  font-size: 22px;
  text-decoration: none;
}

.service-bar {
  display: flex;
  gap: 10px;
}
.choosing-services {
  width: 100%;
  background-color: rgb(232, 249, 254);
}
.choosing-services .image-handler {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-heading {
  color: brown;
  text-align: center;
  text-transform: capitalize;
}
.services-image {
  width: 350px;
  height: 300px;
  margin: 5px 0;
  object-fit: fill;
}
.choosing-benefits {
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.logo {
  width: 200px;
  height: 100px;
}

.service-active {
  color: red;
  text-decoration: underline red;
  cursor: pointer;
  gap: 0;
}

.service-link:hover {
  color: red;
  text-decoration: underline;
  cursor: pointer;
}

.anchor {
  color: unset;
  text-decoration: none;
}

.contact-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#primary-menu li {
  list-style: none;
}

#primary-menu {
  display: flex;
  gap: 10px;
}

.simple-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.request-button {
  background-color: rgb(10, 121, 252);
  color: white;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.simple-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.request-button:hover {
  background-color: #f1b723;
  transform: scale(1.05);
}

/* service cards */
.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  background-color: #f4f4f4;
}
.service-card {
  background: rgb(4, 65, 164);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 300px;
  height: 500px;
  transition: transform 0.3s ease;
}
.service-card h3 {
  color: white;
  text-align: center;
}
.service-card p {
  color: white;
  font-size: 16px;
}

.service-image .service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-content {
  padding: 15px;
}
.service-title {
  font-size: 1.25em;
  font-weight: bold;
  margin-bottom: 10px;
}
.service-description {
  font-size: 1em;
  color: #555;
}
.service-description .service-link {
  color: rgb(254, 180, 1);
  font-size: 16px;
  text-decoration: underline;
}

/* best services */
.main-company-benefits {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  background-color: #e8f2fb;
}
.best-company {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  gap: 10px;
  width: 85%;
}
.estimate-requesting {
  display: flex;
  flex-direction: column;
}
/* benefuits card */
.benefits-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  gap: 10px;
  width: 85%;
  margin: 10px 0;
}
.benefit-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: left;
}
.benefit-title {
  font-size: 1.25em;
  font-weight: bold;
  margin-bottom: 10px;
}
.benefit-description {
  font-size: 1em;
  color: #555;
}
/* emergency services */
.emergency-service {
  padding: 3px;
}
.emergency-service ul {
  margin: 0 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.emergency-service ul li {
  width: 90%;
}

/* review Card */

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-items: center;
  width: 100%;
}
.review-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  height: 400px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.avatar {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.review-user h3 {
  margin: 0;
}

.rating {
  color: gold;
  font-size: 18px;
}

.review-body p {
  font-size: 14px;
  line-height: 1.6;
  margin: 15px 0;
}

.review-footer {
  font-size: 12px;
  color: #999;
  text-align: right;
}

/* appointment-benefits */
.appointment-benefits {
  display: flex;
  flex-direction: column;
  width: 98%;
  margin: 0 auto;
  padding: 3px;
  background-color: #e8f2fb;
  justify-content: space-between;
}

/* plumbingFaq */
.plumbingFaq {
  display: flex;
  flex-direction: column;
  padding: 3px 12px;
}
.faqs {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.question {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  border: 1px solid black;
  padding: 3px;
  width: 100%;
}
.question .faq-question {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.faq-svg {
  width: 30px;
  height: 30px;
  cursor: grabbing;
}

/* site-footer */
.site-footer {
  background-color: rgb(252, 252, 112);
  display: flex;
  flex-direction: column;
}
.site-footer .container-content {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.timings {
  display: flex;
  flex-direction: column;
}
/* country */
.country-data {
  padding: 20px;
}
/* states card */
.states {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 10px;
}

.states .card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  display: flex;
  justify-content: center;
  padding: 10px;
}

.states h3 {
  margin: 0;
  text-align: center;
}

.states .card-body {
  padding: 20px;
  flex-grow: 1;
}

.states .card-footer {
  padding: 20px;
  text-align: center;
  background-color: #f8f9fa;
}

.states .btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.states .btn:hover {
  background-color: #0056b3;
}

/* state  */
.state-data {
  padding: 20px;
}
.service-page-card {
  background-color: #dcebf8;
  border: 5px solid rgb(0, 149, 255);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 80%;
  margin: 20px auto;
  transition: transform 0.2s;
}
.service-page-card p {
  text-align: center;
  font-size: 20px;
}

/* service */
.service-page {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
.service-page .top {
  padding: 0 40px;
}
.service-page h2 {
  color: #800000;
}
.service-page .img-section {
  display: flex;
  justify-content: center;
  width: 100%;
}
.service-page .img-section img {
  width: 300px;
  height: 300px;
  margin: 2px 0;
  object-fit: fill;
}

.service-page-card .bold {
  font-weight: bold;
}
.service-page-card .bold a {
  color: red;
}
.service-page section {
  margin: 2px 40px;
}
/* contact page */
.contact {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  min-height: 70vh;
}

.contact h1 {
  text-transform: capitalize;
}
.contact .info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px 20px;
}

.info .details {
  display: flex;
  align-items: center;
  gap: 15px;
}
.info .details .detail p {
  margin: 2px 0;
}

.contact .logo {
  background-color: rgb(226, 233, 253);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  width: 40px;
  height: 40px;
}

.contact-logo {
  width: 20px;
  height: 20px;
  color: white;
}
/* responsiveness */
@media (max-width: 1052px) {
  .main-content .child-with-content {
    width: 98%;
  }
  .review-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 616px) {
  .services-ul li {
    align-items: start;
  }
  .services-ul li svg {
    margin-top: 8px;
  }
  .main-content .layout-cover {
    height: fit-content;
  }
  .site-footer .container-content {
    flex-direction: column;
  }
  .benefits-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

.state-location {
  display: flex;
  justify-content: center;
}

.contact-location iframe {
  width: 500px;
  height: 300px;
}

@media (max-width: 921px) {
  .site-header-row-center-column {
    display: none;
  }
  .contact {
    flex-direction: column;
  }
  .contact-location iframe {
    width: 100%;
    height: 200px;
    margin-bottom: 100px;
  }
  .mobile-side-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    margin: 0;
    padding: 0 2px;
  }

  .hamburger {
    display: inline-block;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 35px;
    height: 4px;
    margin: 6px 0;
    background-color: red;
    transition: 0.4s;
  }
  #primary-menu {
    flex-direction: column;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    padding-top: 60px;
    transition: 0.4s;
    z-index: 100;
  }

  .sidebar ul {
    list-style-type: none;
    padding: 0;
  }

  .sidebar ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #444;
  }

  .sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
  }

  /* Sidebar open state */
  .sidebar.open {
    left: 0;
  }

  /* Content area */
  .content {
    padding: 50px;
    margin-left: 20px;
  }

  .content h1 {
    margin-bottom: 20px;
  }

  .content p {
    font-size: 18px;
    color: #666;
  }

  /* Hamburger active state */
  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 7px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -7px);
  }
}
@media (max-width: 670px) {
  .best-company {
    grid-template-columns: repeat(1, 1fr);
  }
  .review-cards {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 390px) {
  #primary-menu {
    flex-direction: column;
    align-items: center;
  }
  .main-request {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
