.heading-subtitle-inner-wrapper {
  padding: 0 20px;
  display: grid;
  grid-gap: 0 1rem;
  align-items: flex-start;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.heading-subtitle-cards {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: -webkit-fill-available;
  margin: 10px 0px;
  border-radius: 4px;
  box-shadow: 0px 3px 25px #00000029;
  transition: 0.3s all;
  padding: 16px 26px 40px 16px;
}

.card-hyper-links-outer {
  flex-grow: 1;
}

.heading-subtitle-button-wrap {
  margin-top: auto;
  display: none;
}

.heading-subtitle-card-right-section {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.heading-subtitle-card-right-section h2 {
  letter-spacing: 1px;
  min-height: 28px;
  text-transform: uppercase;
}

.card-hyper-links-inner ul {
  padding-left: 20px;
}

.card-hyper-links-inner ul li {
  color: #29545E;
}

.heading-subtitle-card-image {
  padding-bottom: 20px;
}

.heading-subtitle-card-image img {
  width: 50px !important;
  height: 50px !important;
}

.heading-subtitle-section-heading {
  text-align: center;
  padding: 0px 20px;
}

.heading-subtitle-section-heading h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 24px 0;
}

.heading-subtitle-section-subheading {
  text-align: center;
  padding: 0px 20px;
}

.heading-subtitle-cards a {
  text-decoration: none;
}

.heading-subtitle-button-wrap span {
  color: #000000;
  font-size: 18px;
  padding-right: 8px;
}

.card-hyper-links-inner ul li a {
  position: relative;
  text-decoration: none;
}

.card-hyper-links-inner ul li a:hover {
  color: #d6b161;
}

.card-hyper-links-inner ul li:hover::marker {
  color: #d6b161;
}

.card-hyper-links-inner ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: #d6b161;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card-hyper-links-inner ul li a:hover::after {
  transform: scaleX(1);
}

.heading-subtitle-button-wrap a {
  background-color: #c9b151;
  box-shadow: unset;
  transition: all 1s;
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  letter-spacing: 1.5px;
  line-height: 20px;
  margin-top: 10px;
  padding: 10px;
  text-decoration: none;
  border-radius: 5px;
}

.heading-subtitle-button-wrap a:hover {
  background-color: #fff;
  color: #c9b151 !important;
  transition: all 0.5s;
}

.learn-more-button {
  display: flex;
  justify-content: flex-end;
}

.learn-more-button a {
  display: inline-block;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.99px;
  color: #29545E;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}

.learn-more-button a:before {
  content: '';
  width: 50px;
  height: 1px;
  background-color: #CCA62A;
  position: absolute;
  bottom: 3px;
}

.learn-more-button a:after {
  border-bottom: 1px solid #cca62a;
  border-right: 1px solid #cca62a;
  content: "";
  height: 6px;
  position: absolute;
  right: -10px;
  width: 6px;
  transform: rotate(-45deg);
  bottom: 10px;
}

.heading-subtitle-cards:hover {
  background-color: #29545E !important;
}

.heading-subtitle-cards:hover .learn-more-button a {
  color: #c9b151;
}

.heading-subtitle-cards:hover .learn-more-button a:before {
  width: 100%;
}

.heading-subtitle-cards:hover .heading-subtitle-card-right-section h3 {
  color: #fff !important;
}

.heading-subtitle-cards:hover .card-hyper-links-inner ul li a {
  color: #fff !important;
}

.heading-subtitle-cards:hover .card-hyper-links-inner ul li {
  color: #fff !important;
}

.card-hyper-links-inner ul li::marker {
  color: #29545E;
}

.heading-subtitle-cards:hover .card-hyper-links-inner ul li::marker {
  color: #fff !important;
}

/********************* Responsive Code Starts **************************/

@media screen and (max-width: 920px) {
  .heading-subtitle-inner-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 0 1rem;
  }

  .heading-subtitle-section-heading h2 {
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 20px 0;
  }
}

@media screen and (max-width: 767px) {
  .heading-subtitle-inner-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 1rem;
  }

  .heading-subtitle-section-heading h2 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 18px 0;
  }
}

.heading-subtitle-section-heading h2 {
  font-size: 32px !important;
  line-height: 1.2 !important;
  margin: 0 0 24px 0 !important;
}

.heading-subtitle-section-subheading p {
  font-size: 18px !important;
  line-height: 1.5 !important;
  margin: 0 0 20px 0 !important;
}

@media screen and (max-width: 920px) {
  .heading-subtitle-section-heading h2 {
    font-size: 28px !important;
    line-height: 1.25 !important;
    margin: 0 0 20px 0 !important;
  }

  .heading-subtitle-section-subheading p {
    font-size: 17px !important;
    line-height: 1.5 !important;
  }
}

@media screen and (max-width: 767px) {
  .heading-subtitle-section-heading h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin: 0 0 16px 0 !important;
  }

  .heading-subtitle-section-subheading p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin: 0 0 18px 0 !important;
  }
}

@media screen and (max-width: 580px) {
  .heading-subtitle-section-heading h2 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    margin: 0 0 14px 0 !important;
  }

  .heading-subtitle-section-subheading p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 0 16px 0 !important;
  }

  .heading-subtitle-card-right-section h2 {
    font-size: 18px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.6px !important;
  }
}

@media screen and (max-width: 480px) {
  .heading-subtitle-section-heading h2 {
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin: 0 0 12px 0 !important;
  }

  .heading-subtitle-section-subheading p {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin: 0 0 14px 0 !important;
  }