/* -- Services -- */

.maincontent {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0.7) 100%
    ),
    url(/imageserver/Textures/xxBG3.jpg,Mic.emW7H9VBWR.webp.pagespeed.ic.pDpXLdH85F.webp);
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.svc-card-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 15px;
}
.svc-card-card {
  display: flex;
  flex-direction: row;
  margin-bottom: 75px;
}
.svc-card-card:hover .svc-card-card-text {
  left: 0;
}
.svc-card-card-img {
  max-width: 300px;
  width: 100%;
  text-align: right;
  z-index: 1;
}
.svc-card-card-img img {
  border-radius: 25px 15px 0;
}

.svc-card-card-text {
  width: 100%;
  padding: 20px 20px 90px;
  position: relative;
  box-shadow: 2px 2px 6px #ddd;
  top: 25px;
  left: -25px;
  background: #fff;
  border-left: 6px solid var(--main-color);
  border-radius: 0 20px 10px 0;
  z-index: 1;
  transition: all 0.35s;
}
.svc-card-card-text h3 {
  text-align: left;
  border-bottom: 1px dashed var(--secondary-color);
  margin: 0 0 15px;
  padding: 0 0 15px;
  color: var(--secondary-color);
  font-weight: 800;
}
.svc-card-card-text .subheading {
  background: var(--main-color);
  padding: 3px 6px;
  font-size: 0.7em;
  border-radius: 12px;
}
.svc-card-card-text ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  text-align: left;
}
.svc-card-card-text ul li {
  width: 50%;
  background: #f5f5f5;
  padding: 5px;
}
.svc-card-card-text ul li i {
  color: var(--secondary-color);
  vertical-align: middle;
}
.svc-card-card-text .site_button {
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-left: -100px;
}

@media (max-width: 800px) {
  .svc-card-card {
    display: block;
    height: auto !important;
    border-radius: 0;
  }
  .svc-card-card-text {
    text-align: center;
    top: 0;
    left: 0;
    border-radius: 0;
    padding: 20px;
  }
  .svc-card-card-text .site_button {
    position: relative;
  }
  .svc-card-card-img {
    max-width: 100%;
    background: #f0f0f0;
    border-left: 6px solid var(--main-color);
  }
  .svc-card-card-img img {
    display: block;
    margin: 0 auto;
    border-radius: 0;
  }

  .svc-card-card-text h3 {
    text-align: center;
  }

  .portfolio-gallery-item {
    width: 48%;
  }
  .portfolio-gallery-item img {
    height: 110%;
  }
}

@media (max-width: 550px) {
  .services-left {
    height: 300px;
  }

  .services-right .services-box {
    height: auto;
    width: 100%;
  }
  .services-right .services-circle {
    display: none;
  }

  .why-card {
    width: 100%;
  }

  .estimate-row {
    padding: 15px;
    text-align: center;
  }
  .estimate-row .site_button {
    margin: 25px auto;
  }

  .svc-card-card-text ul li {
    width: 100%;
  }
}