.cards-module .cm-container h2 {
  margin-bottom: 30px;
  padding-bottom: 30px;
  line-height: 1.13;
  letter-spacing: -2px;
  position: relative;
}
.cards-module .cm-container h2:after {
  position: absolute;
  content: "";
  width: 51px;
  height: 7px;
  border-radius: 4px;
  background: var(--secondary_color);
  bottom: 0;
  left: 0;
}
.cards-module .cm-container .subtext p{letter-spacing: -1px;}
.cards-module .cm-container .subtext p:last-child{
  margin-bottom: 0;
}
.cards-module .cards-group {
  display: flex;
  justify-content:center;
  flex-wrap: wrap;
  margin: 0 -15px;
  align-items: stretch;
}
.cards-module .cards-item {
  width: 33.33%;
  padding: 0 15px;
  margin-bottom: 40px;
  min-height: 320px;
  /*   overflow: hidden; */
}
.cards-module .cards-item-inner.float-up {
  transition: 0.5s all ease;
  justify-content: flex-end;
}
.cards-module .cards-item-inner.float-up:hover {
  transform: translateY(-20px);
}
.cards-module .cards-item-inner.float-up .card-text {
  text-align: left;
}
.cards-module .cards-item-inner.float-up .linking-btn {
  left: 40px;
}

.cards-module .cards-item-inner {
  position: relative;
  height: 100%;
  border-radius: 20px;
  padding: 20px 40px 50px 45px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}
.cards-module .cards-item-inner video {
  border-radius: 20px;
  left: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  bottom: 0;
}
.cards-module .card-text {
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.33;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.cards-module .card-text span{
  font-weight: 600;
}
.cards-module .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 20px;
  overflow: auto;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  z-index: 1;
  transition: .5s ease;
  display: flex;
  /*   flex-direction: row-reverse; */
  align-items: flex-end;
  background-color: #0e0f2f;
  -webkit-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
.cards-module .bottom-cards .card-text img {
  display: block;
  max-width: 97px;
  margin: 0 auto;
}
}
.cards-module .cards-item-inner:hover .card-overlay {
  transform: translateY(0%);
}
.cards-module .top-colored-cards .card-overlay-inner {
  position: relative;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 0;
  overflow: hidden;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
.cards-module .card-overlay::-webkit-scrollbar-track {
  background-color: #99def9;
  border-radius: 50px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3)
}
.cards-module .card-overlay::-webkit-scrollbar {
  background-color: #99def9;
  width: 8px
}
.cards-module .card-overlay::-webkit-scrollbar-thumb {
  background-color: #0bafef;
  border-radius: 50px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3)
}
.cards-module .top-colored-cards .cards-item-inner:hover .card-overlay-inner {
  height: 200px;
  animation-name: fadein;
}
.cards-module .card-overlay-inner .text {
  width: 82%;
}
.cards-module .top-colored-cards .card-overlay-inner>a {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
}
.cards-module .linking-btn svg{
  transform: rotate(-90deg);
  width: 51px;
  height: 50px;
}
.cards-module .cards-item-inner .text p{
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.33;
  letter-spacing: -1px;
  margin-bottom: 0;
}
.cards-module .text h4 {
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.33;
  letter-spacing: -1px;
}
.cards-module .text h4 span{
  font-weight: 600;
}
.cards-module .bottom-cards .cards-item-inner {
  padding: 30px 40px 30px;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.cards-module .bottom-cards .card-overlay {
  background-color: rgba(0, 0, 0, .5);
}
.cards-module .bottom-cards .card-text.video-relative {
  /*   max-width: 300px; */
  position: relative;
  z-index: 1;
}
.cards-module .bottom-cards .card-text {
  font-size: 30px;
  -webkit-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  text-align: center;
}
.cards-module .bottom-cards .card-text h2 {
  font-size: 54px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.cards-module .bottom-cards .card-text.dis-flex {
  flex-wrap: nowrap;
  column-gap: 15px;
  max-width: 100% !important;
  align-items: flex-start;
  align-items: center;
}
.cards-module .bottom-cards .card-text.dis-flex h2 {
  margin-bottom: 0;
}
.cards-module .bottom-cards .card-overlay {
  flex-direction: row;
}

.cards-module .bottom-cards .card-overlay .card-overlay-inner{
  align-self: flex-start;
  padding: 35px 30px;
}
.cards-module .bottom-cards .card-overlay-inner .text {
  width: 82%;
}
.cards-module .bottom-cards .cards-item-inner .text p {
  letter-spacing: -1px;
}
.cards-module .bottom-cards .card-text p{
  margin-bottom: 0;
  line-height: 24px;
}
/* .cards-module .bottom-cards .cards-item-inner.disable-hover:hover .card-text {
opacity:1;
} */
.cards-module .linking-btn {
  position: absolute;
  left:0;
  right:0;
  bottom: 5px;
  display: inline-block;
  transition: 0.5s all ease;
}
.cards-module .cards-item-inner .text {
  margin-top: 10px;
  margin-bottom: 30px;
}
#homepage-style .cards-item-inner .text {
  text-align: left;
  max-width: 283px;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 30px;
}
#homepage-style .card-text > div:first-child {
  max-width: 280px;
  margin: 0 auto;
}
#homepage-style .cards-item-inner .text .services-wrapper p {
  margin: 4px 0;
}
#homepage-style .cards-item-inner .text p:first-of-type {
    line-height: 1.2;
}
#homepage-style .cards-module .cards-item-inner{
  justify-content: center;
  align-items: center;
}
.cards-module .bottom-cards .cards-item-inner .linking-btn {
  transition: 0.5s all ease;
}
.cards-module  .cards-item-inner:hover .linking-btn {
  transform: translateY(-10px);
}
.cards-module .cards-item-inner.img-verlay:after {
  background-color: rgba(14, 15, 47, 0.1);
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.cards-module .bottom-cards .card-overlay>a {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}
.cards-module .button-group {
  text-align: center;
  margin-top: 10px;
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@media(max-width:1440px){
  .cards-module .text h4 {
    font-size: 24px;
  }
  .cards-module .cards-item-inner .text p {
    font-size: 16px;
  }
}
@media(min-width:1025px) and (max-width:1440px) {
  .cards-module .card-text {
    font-size: 24px;
  }
  .cards-module .linking-btn svg{
    height: 40px;
    width: 41px;
  }
}
@media(max-width:1200px){
  .cards-module .bottom-cards .card-text.dis-flex {
    flex-wrap: wrap;
  }
  .cards-module .bottom-cards .card-text.dis-flex h2 {
    margin-bottom: 10px;
  }
}
@media(max-width:1024px){
  .cards-module .bottom-cards .cards-item-inner {
    padding: 40px 20px 30px;
  }
  .cards-module .cards-item-inner,
  .cards-module .card-overlay-inner{
    padding: 30px;
  }
  .cards-module .card-text {
    font-size: 24px;
  }
  .cards-module .text h4 {
    font-size: 18px;
  }
  .cards-module .cards-item-inner .text p {
    font-size: 14px;
  }
  .cards-module .bottom-cards .card-text h2 {
    font-size: 36px;
  }
  .cards-module .bottom-cards .card-text p,
  .cards-module .bottom-cards .cards-item-inner .text p{
    font-size: 16px;
  }
  .cards-module .cards-item-inner.float-up .linking-btn {
    left: 20px;
  }
}

@media(max-width:991px){
  .cards-module .cards-item {
    min-height: 250px;
    margin-bottom: 20px;
    padding: 0 10px;
    width: 50%;
  }
  .cards-module .cards-item-inner {
    padding: 30px 20px;
  }
  .cards-module .card-text {
    font-size: 20px;
  }
  .cards-module .bottom-cards .card-text {
    max-width: 100%;
  }

}
@media(max-width:580px){
  .cards-module .cards-group {
    margin: 0;
  }
  .cards-module .cards-item {
    padding: 0;
    width: 100%;
  }
  .cards-module .bottom-cards .card-text.dis-flex h2 {
    width: 100%;
  }
}