:root {
  --primary-color: #f15940;
}

svg,
img {
    vertical-align: middle;
    transition: 0.3s;
}

a:hover img {
    opacity: 0.8;
}

html body {
    font-family: "Space Grotesk", Sans-serif;
    overflow-x: hidden;
}

button:focus {
    outline: none !important;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

a {
    transition: 0.4s all ease;
}

/* Order Steps */
.h2o-step {
    width: 50%;
}

.step-wrapper {
    position: relative;
    padding: 44px 50px 44px;
    background: #ffffff;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    height: 256px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 576px) {
    ul li.step-01 .step-wrapper::after {
        border-color: #711d39 #711d39 transparent transparent;
        right: calc(-140px - 50%);
        top: 50%;
        border-radius: 0 80px 0 0;
        left: auto;
		width: calc(50% + 140px)!important;
		height: calc(50% - 9px)!important;
    }
}

.step-wrapper::after {
    content: "";
    position: absolute;
    height: 50%;
    width: calc(50% + 128px);
    border: 2px dashed;
    opacity: 0.3;
}

.left .step-wrapper::after {
    border-color: transparent transparent #711d39 #711d39;
    left: 50%;
    bottom: -50%;
    border-radius: 0 0 0 80px;
}

.right .step-wrapper::after {
    border-color: transparent #711d39 #711d39 transparent;
    right: 50%;
    top: 100%;
    border-radius: 0 0 80px 0;
}

.step-02 .step-wrapper::before {
    left: 50%;
    transform: translateX(-5px);
    top: -4px;
    border-color: #711d39 transparent transparent transparent;
}

li:last-child .step-wrapper::after {
    display: none;
}

.left .step-wrapper::before,
.right .step-wrapper::before {
    opacity: 0;
    display: none;
}

.left:first-child .step-wrapper span svg {
	position: absolute;
    width: 8px;
    left: calc(150% + 140px);
    bottom: 0;
    transform: rotate(-90deg) translateX(0px) translateY(-5px);
}

.left:not(:first-child) .step-wrapper span svg {
    position: absolute;
    width: 8px;
    left: 100%;
    top: 50%;
    transform: translateY(-6px);
}

.right .step-wrapper span svg {
    position: absolute;
    width: 8px;
    top: 50%;
    transform: translateY(-7px) rotate(60deg);
    right: calc(100% + 4px);
}

.h2o-step.left {
    padding-right: 70px;
}

.h2o-step.right {
    margin-left: auto;
    padding-left: 70px;
}

.h2o-step__img {
    text-align: center;
    margin-bottom: 24px;
}

.h2o-step__img img {
    width: 60px;
}

.h2o-step__title {
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    color: #212121;
}

@media (min-width: 768px) and (max-width: 992px){
	 ul li.step-01 .step-wrapper::after {
        right: calc(-100px - 50%) !important;
		width: calc(50% + 100px)!important;
    }

	.left:first-child .step-wrapper span svg {
    	left: calc(150% + 100px);
	}
}

@media (min-width: 576px) and (max-width: 767px){
	 ul li.step-01 .step-wrapper::after {
        right: calc(-70px - 50%) !important;
		width: calc(50% + 70px)!important;
    }

	.left:first-child .step-wrapper span svg {
    	left: calc(150% + 70px);
	}
}

@media (max-width: 992px) {
    .step-wrapper {
        padding: 35px;
    }

    .h2o-step.left {
        padding-right: 50px;
    }

    .h2o-step.right {
        padding-left: 50px;
    }

    .step-wrapper::after {
        width: calc(50% + 88px);
    }

	.h2o-step__title {
    	font-size: 16px;
	}
}

@media (max-width: 767px) {
    .step-wrapper {
        padding: 20px;
    }

    .h2o-step.left {
        padding-right: 35px;
    }

    .h2o-step.right {
        padding-left: 35px;
    }

    .step-wrapper .h2o-step__img {
        margin-bottom: 10px;
    }

    .step-wrapper::after {
        width: calc(50% + 61px);
    }

    .step-01 .step-wrapper::after {
        right: calc(-70px - 50%) !important;
    }
}

@media (max-width: 575px) {
    .step-wrapper span {
        display: none;
    }

    .h2o-step {
        width: 100%;
        margin-bottom: 60px;
    }

    .step-wrapper {
        padding: 40px 15px;
    }

    .h2o-step.left {
        padding: 0;
    }

    .h2o-step.right {
        padding: 0;
    }

    .step-wrapper .h2o-step__img {
        margin-bottom: 24px;
    }

    .h2o-step .step-wrapper::after {
        top: 100%;
        left: 50.3%;
        transform: translateX(-50%);
        height: 60px;
        width: 0;
        border: 2px dashed;
        border-color: transparent transparent transparent #711d39;
        border-radius: 0;
    }

    .h2o-step .step-wrapper::before {
        top: -4px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        border-color: #711d39 transparent transparent transparent;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    ul.h2o-steps {
        margin-bottom: 50px;
    }
}

/* **************************
 *      Blog Cards
 ****************************
 */

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 30px;
}

.blog-card{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card a.blog-card__link {
    text-decoration: none;
}

.blog-card__media {
  border-radius: 20px;
  overflow: hidden;
  display: block;
  margin: 0 0 16px;
  border: 1px solid #efefef;
}

.blog-card__media img {
  width: 100%;
  object-fit: cover;
}

.blog-card__title {
  margin: 0 0 10px;
}

.blog-card h3.blog-card__title a {
  display: inline-block;
  color: #222;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.3px;
  text-decoration: none;
  transition: 0.3s;
}

h3.steps__title {
  display: inline-block;
  color: #222;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.3px;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
}

.blog-card__title a:hover {
  color: var(--primary-color);
}

.blog-card__short-dsc {
  color: #364153;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
}

.blog-card__link {
  display: inline-block;
  margin-top: 24px;
  color: #222;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: 0.3s;
  padding: 16px 40px;
  border-radius: 100px;
  border: 1px solid #222;
  text-decoration: none;
  align-self: flex-start;
}

/*
.blog-card__link:hover {
  color: #ffffff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
} */

.blog-card__link-icon {
  display: inline-block;
  margin-right: 14px;
}

.blog-card__link-icon path {
  transition: 0.3s;
}

/* .blog-card__link:hover .blog-card__link-icon path {
  stroke: #ffffff;
} */

@media (max-width: 991px) {
  .blog-cards-wrap {
    padding: 80px 0;
  }

  .blog-cards {
    gap: 30px 20px;
  }

  .blog-card__title a {
    font-size: 28px;
  }

  .blog-card__short-dsc {
    font-size: 18px;
  }

  .blog-card__link {
    padding: 12px 30px;
  }
}

@media (max-width: 767px) {
  .blog-cards-wrap {
    padding: 50px 0;
  }

  .blog-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card__title a {
    font-size: 24px;
  }

  .blog-card__short-dsc {
    font-size: 15px;
  }

  .blog-card__link {
    font-size: 15px;
    padding: 10px 20px;
  }

  .blog-card__link-icon {
    margin-right: 6px;
  }
}