/*--------------------------------------------------------------
# services2
--------------------------------------------------------------*/
.services2 .icon-box {
  text-align: center;
  border: 1px solid #ebebeb;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
}
.services2 .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #3fb8b9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}
.services2 .icon-box .icon i {
  color: #151515;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}
.services2 .icon-box h4 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 22px;
}
.services2 .icon-box h4 a {
  color: #151515;
  transition: ease-in-out 0.3s;
}
.services2 .icon-box h4 a:hover {
  color: #3fb8b9;
}
.services2 .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  text-align: justify !important;
}
.services2 .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}
.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
}

@import 'https://fonts.googleapis.com/css?family=Lily+Script+One';

.card {
  /*position: absolute;*/
  /*top: 50%;
  left: 50%;*/
  width: 400px;
  height: 200px;
  /*margin: -150px;*/
  /*float: left;*/
  perspective: 500px;
}

.content {
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);

  transition: transform 1s;
  transform-style: preserve-3d;
}

.card:hover .content {
  transform: rotateY( 180deg ) ;
  transition: transform 0.5s;
}

.card:hover{
  width: 400px;
  height: 450px;
}
/*
#readmore:hover .content {
  transform: rotateY( 180deg ) ;
  transition: transform 0.5s;
}*/


.front {
  position: absolute;
  height: 100%;
  width: 100%;
  background: white;
  /*line-height: 300px;*/
  color: #03446A;
  text-align: center;
  /*font-size: 30px;*/
  border-radius: 5px;
  backface-visibility: hidden;
  padding: 30px;
}

.back {
  position: absolute;
  background: white;
  height: 100%;
  width: 100%;
  color: #03446A;
  border-radius: 5px;
  backface-visibility: hidden;
  padding: 30px;
  background: #03446A;
  color: white;
  transform: rotateY( 180deg );
  padding: 30px;
}
