* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.service-hero {
  background: url(../img/service-bg.jpg) no-repeat center/cover;
  width: 100%;
  height: 66vh;
  text-align: center;
  text-transform: capitalize;
  color: #fff;
  position: relative;
  z-index: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.service-hero::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;

  background-color: #352f2fad;
  z-index: -1;
}
.service-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
}

.service-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
}
.service-links > a {
  color: #fff;
}
.service-links > a:hover {
  color: #000;
}

section.solution-section {
  background-color: #f9f9f9;
}
.solution {
  width: 90%;
  margin: 0 auto;
  padding: 6rem 0;
  text-align: center;
}
.solution h5 {
  color: #d21e2b;
  letter-spacing: 1px;
}

.solution > h3 {
  font-weight: 600;
  font-size: 2rem;
  position: relative;
  text-align: center;
  margin-bottom: 1.5rem;
}
.solution > h3:after {
  content: "";
  position: absolute;
  width: 7rem;
  height: 3px;
  bottom: -0.6rem;
  left: 50%;
  transform: translate(-50%);
  background-color: #d21e2b;
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
}

.solution .solution-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.3rem;
  text-align: left;
}

.solution-box {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 23%;
  flex: 0 0 23%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 28rem;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;

  margin-bottom: 1rem;
}
.solution-box .solution-img {
  width: 100%;
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  overflow: hidden;
  border-radius: 0.3rem;
  height: 60%;
}
.solution-box .solution-img img {
  width: 100%;
  display: block;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.solution-box .solution-content > h4 {
  text-transform: capitalize;
  display: inline-block;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.solution-box .solution-content > h4:hover {
  color: #d21e2b;
}
.solution-box .solution-content {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  height: 40%;
}
.solution-content > span {
  font-size: 1.7rem;
  color: #d21e2b;
  margin-right: 0.4rem;
  font-weight: 600;
}

.solution-content p {
  margin-top: 0.1rem;
}
.count-section {
  width: 100%;
  background: url(../img/service-count.jpg) no-repeat center/cover;
  height: 15rem;
  position: relative;
  z-index: 1;
}
.count-section::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.603);
}
.service-count {
  width: 90%;
  margin: 0 auto;
  color: #fff;
  height: inherit;
}
.service-count .count-container {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.count-container .count-header {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
}
.count-header h2 {
  font-size: 30px;
}
.count-container h3 {
  position: relative;
  margin-bottom: 1rem;
}

.count-container h2:after {
  content: "";
  position: absolute;
  width: 4rem;
  height: 3px;
  bottom: 3.5rem;
  left: 5%;
  background-color: #d21e2b;
}
.count-container h3:after {
  content: "";
  position: absolute;
  width: 4rem;
  height: 3px;
  bottom: -0.2rem;
  left: 0;
  background-color: #d21e2b;
}

.count-header > h3:after {
  width: 7rem;
}

.count-container h5 {
  margin-top: 0.4rem;
  letter-spacing: 1px;
}

.testimonial-section {
  padding: 6rem 0;
  width: 100%;
  max-width: 100%;
  color: #f9f9f9;
}

.testimonial-section h3 {
  text-align: center;
  color: #000;
  text-transform: capitalize;
  margin: 0;
  padding: 0 0 1rem 0;
  position: relative;
  font-weight: 500;
}

.testimonial-section h3:after {
  content: "";
  position: absolute;
  width: 6rem;
  height: 3px;
  bottom: 0rem;
  left: 50%;
  transform: translate(-50%);
  background-color: #d21e2b;
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
}
.testimonial-section h5 {
  text-transform: capitalize;
  color: #000;
  text-align: center;
  margin: 0;
  padding: 0 0 0.5rem 0;
  color: #d21e2b;
  letter-spacing: 1px;
}

.testimonial-row {
  padding-top: 4rem;
  width: 90%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 1rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.testimonial-box {
  -ms-flex-preferred-size: 47%;
  flex-basis: 47%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  background-color: #fff;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-radius: 0.5rem;
  -webkit-box-shadow: 0 0 16px 3px #00000029;
  box-shadow: 0 0 16px 3px #00000029;
}

.testimonial-img {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  padding: 0.5rem;
}

.testimonial-img img {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}

.testimonial-content {
  padding-right: 2rem;
  -ms-flex-preferred-size: 80%;
  flex-basis: 80%;
}
.testimonial-content h4 {
  color: #000;
  font-weight: 500;
  margin: 0;
  padding: 0;
  text-transform: capitalize;
}

.testimonial-content h6 {
  color: #999;
  display: inline-block;
  text-transform: capitalize;
}

.testimonial-content > span {
  width: 0.4rem;
  display: inline-block;
  margin-right: 0.5rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: #d21e2b;
}
