.main-content-heading {
  text-align: center;
}

.content-card-main-content {
  text-align: center;
}

.main-card-part {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.image-card {
  border-radius: 8px;
  transform: translateZ(0);
  overflow:hidden;
  transition: all 1s ease-out;
  height:480px;   
  width: 100%;
}

.image-card:hover .card-image img{
  transform: scale(1.1); 
}

/* .card-image {
position: relative;
height: 480px;
padding: 20px;
} */

/* .card-image img {
width: 100%;
position: absolute;
z-index: -1;
border-radius: 8px;
} */

.card-image {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
  /*   padding: 20px; */
  background:#fff;
  z-index:0;
}

.card-image img {
  /*   width: 100%; */
  position: absolute;
  z-index: -1;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: all .6s ease-out;
  opacity: 0.8;
}

.card-heading {
  height: 230px;
  /* width: 84%; */
  margin: 0px auto;
  background: #00a499;
  padding: 16px;
  border-radius: 4px;
}

.card-heading h4 {
  border-bottom: 1px solid #e6e9f3;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #ffffff;
}

.card-heading p {
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.563rem;
  margin-bottom: 12px;
}

.card-content-part {
  margin-bottom: 20px;
  width:90%;
  margin-bottom:20px;
  position:relative;
  z-index:4;
}

.main-content-heading h2{
  font-size: 3rem;
  line-height: 3.5rem;
  font-weight:700;
  color:#012169;
  position:relative;
}

.main-content-heading h2::after{
  display: block;
  content: "";
  margin: 14px auto 0;
  width: 40px;
  height: 3px;
  background: #05c4dd;
  border-radius: 4px;
}
.content-card-main-content span{
  font-weight:400;
  color:#000000;
  text-align: center;
  max-width: 960px;
  margin: 24px auto 0;
  font-size: 1.5rem;
  line-height: 1.9375rem;
}
.content-card-main-content p{
  font-weight:400;
  color:#000000;
  text-align: center;
  max-width: 960px;
  margin: 24px auto 0;
  font-size: 1.5rem;
  line-height: 1.9375rem;
}
.content-card-main-content {
  margin-bottom:50px; 
}


.content-card-section {
  padding:40px 0px; 
  /*   background:#e6e9f3; */
  position:relative;
  z-index:0;
}

.content-card-link {
  margin-top: 30px;
  text-align: center;
}
/* 
.content-card-link a {
  display: flex;
  justify-content: center;
  align-items: center;
} */


/* .content-card-link a{
  display: inline-flex;
  color:#fff;
  background:#012169;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .18px;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: .719rem .9rem;
  /*   color: inherit; */
  cursor: pointer;
  /*   background-color: transparent; */
  will-change: transform;
  transition: background-color .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
  gap:10px;
}
.content-card-link a span svg {
  transition: .2s;
}

.content-card-link a:hover span svg {
  transform: translate(4px); 
}
.content-card-link a span svg path {
  fill: #e1e100;

} */

@media only screen and (max-width:1199px){
  .main-content-card {
    padding: 0px 16px;
  }
  .card-image img {
    object-fit:cover;
  }
}


@media (max-width: 1023px) {
  .content-card-button {
    display: block !important;
  }

  .content-card-link a {
    font-weight: 600;
    letter-spacing: unset;
    line-height: 24px;
    font-size: 16px;
  }

  .card-heading {
    height: 250px;
  }
}

@media only screen and (max-width:991px){
  .card-image img {
    object-fit:cover;
    width: 100%;    
    object-position: top;
  }

  .main-card-part {
    gap:16px;
  }

  .card-heading {
    height: 330px;
  }

}

@media only screen and (max-width:768px){

  .main-card-part {
    display: block;
  }

  .image-card {
    margin-bottom: 26px;
  }

  .main-content-heading h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .content-card-section {
    padding: 50px 0px !important;

  }

  .content-card-main-content p, .content-card-main-content span {
    font-size: 1.2rem;
  }

  .card-heading {
    height: 100%;
  }

}

