.blog-sec{
    padding:120px 0;
}
.blog-heading{
    max-width:750px;
    margin: 0 auto;
}
.blog-heading > .rajdhani-txt{
    text-align:center;
}
.blog-heading > .center-txt{
    text-align:center;
    color:#D7FB00;
}
.blog-heading > .title2{
    max-width:750px;
    font-size:44px;
    text-align:center;
}
.card{
    /*max-width:300px !important;*/
    border:2px solid #D7FB00;
    border-radius:30px;
}
.card > img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.card-image{
    border-top-left-radius:30px;
    border-top-right-radius: 30px;
}
.card-body{
    background:#6F8004;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;;
}
.card-text{
    font-size:24px;
    font-weight:bold;
    color:#FFFFFF;
    text-align:center;
}
/*.flip-card{
    width:100%;
    height:350px;
    perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  box-shadow: 0 8px 14px 0 rgba(0,0,0,0.2);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow:hidden;
}
.flip-card-front {
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 2px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -1px 0px inset;
  
}
.flip-card-back {
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 2px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -1px 0px inset;
  background-color:#6F8004;
  transform: rotateY(180deg);
  padding:20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.flip-card-back > .heading{
    text-align:center;
    color:#FFFFFF;
}
.flip-card-back > .sub-txt{
    color:#FFFFFF;
    text-align:center;
}
@media (max-width: 992px) {
  .flip-card {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .flip-card {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .flip-card {
    height: 220px;
  }
}*/
/*.flip-card {
  background-color: transparent;
  width: 100%;
  height: 350px;   /* Important */
  /*perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  /*overflow: hidden;  /* Prevent half image issue */
/*

.flip-card-front {
  background: #fff;
}

/*.flip-card-front .card {
  height: 100%;
  border: none;
}*/

/*.flip-card-front img {
  height: 300px;
  object-fit: cover;
}
.flip-card-front{
  width:300px;
  height:400px;
}
.flip-card-back {
  background: #6F8004;
  color: white;
  width:300px;
  height:400px;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}
.card > img{
  width:100%;
  height:100%;
  object-fit:cover;
}
@media screen and (max-width:768px){
  .flip-card{
    margin-bottom: 219px;
  }
}*/


/* Flip Card Container */
.flip-card {
  perspective: 1000px;
}

/* Inner Card */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 520px;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

/* Flip Effect */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid #e4ff00;
  border-radius: 25px;
  overflow: hidden;
  backface-visibility: hidden;
}

/* FRONT */
.flip-card-front {
  background: #11133a;
  text-align: center;
}

.trainer-img img {
  width: 100%;
  /*height: 450px;*/
  object-fit: cover;
}

.trainer-name {
  background-color: #c8d400;
  color: white;
  font-size: 22px;
  font-weight: 600;
  padding: 15px 0;
}

/* BACK */
.flip-card-back {
  background: #11133a;
  color: white;
  transform: rotateY(180deg);
  box-shadow: 0 0 25px #e4ff00;
}

/* Hover Glow */
.flip-card:hover {
  box-shadow: 0 0 25px #e4ff00;
  border-radius: 25px;
}

/* Responsive */
@media (max-width: 768px) {
  .flip-card-inner {
    height: 470px;
  }

  .trainer-img img {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .flip-card-inner {
    height: 420px;
  }

  .trainer-img img {
    height: 350px;
  }

  .trainer-name {
    font-size: 18px;
    padding: 12px 0;
  }
}
