/*--------------------------------------------------------------------------------------
    Template Name: CardWizards - Multipurpose Tailwind CSS Card Layouts Html Template
    Author: MKTemplateWizard
    Version: 1.0.0
    

    TABLE OF CONTENT
----------------------------------------------------------------------------------------
========================================================================================
    1. GOOGLE FONT 
    2. BASE CSS STYLE
    3. BUTTON STYLE
    4. TEAM CARDS STYLE
   
---------------------------------------------------------------------------------------- */

/*============================================
 GOOGLE FONT 
=============================================*/
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,600;1,700&display=swap');
/*============================================
 GOOGLE FONT 
=============================================*/

/*============================================
 BASE CSS STYLE 
=============================================*/
body {
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

input,
textarea,
select {
  outline: none;
}
/*============================================
 BASE CSS STYLE 
=============================================*/

/*============================================
 TEAM CARDS STYLE 
=============================================*/

/* TEAM CARD FOUR STYLE */
#team-card-four {
  padding: 80px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(./../images/user/chairs-near-window.jpg);
  background-size: cover;
}

#team-card-four h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0 auto 1.5rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

.team-social li {
  display: inline-block;
}
.team-social li a {
  font-size: 22px;
  color: #18191d;
  height: 38px;
  width: 38px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 50%;
}
.team-img {
  position: relative;
}

.team-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}

.team-social.white-bg li a {
  background: #ffffff;
}

.team-coverflow {
  position: relative;
  overflow: hidden;
  padding: 15px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
}
.team-coverflow .team-text {
  text-align: center;
  font-size: 14px;
}
.team-coverflow .team-text h5 {
  font-size: 1.6rem;
}

.team-box-content {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(18, 18, 20, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: absolute;
  text-align: center;
  width: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  padding: 20px 0;
  bottom: -20%;
  z-index: 1;
  transition: all linear 0.4s;
}

.team-coverflow:hover .team-box-content {
  opacity: 1;
  visibility: visible;
  border-radius: 0;
  bottom: 0;
}

.team-coverflow .team-img {
  overflow: hidden;
  width: 100%;
}

/* TEAM CARD FIVE STYLE */
.box-item {
  position: relative;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-box {
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

.flip-box-front,
.flip-box-back {
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  -ms-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -webkit-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-front {
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-front {
  -ms-transform: rotateY(-180deg);
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  -ms-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box-back::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
}

.flip-box:hover .flip-box-back {
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box .inner {
  position: absolute;
  left: 0;
  width: 100%;
  outline: 1px solid transparent;
  -webkit-perspective: inherit;
  perspective: inherit;
  z-index: 2;

  transform: translateY(-50%) translateZ(60px) scale(0.94);
  -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
  -ms-transform: translateY(-50%) translateZ(60px) scale(0.94);
}

.flip-box .flip-box-front .inner {
  bottom: 0;
  padding: 5px 15px;
  background-color: rgba(0, 0, 0, 0.6);
}

.flip-box .flip-box-back .inner {
  top: 50%;
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  height: 100%;
  border-radius: 8px;
}

.flip-box p {
  font-size: 18px;
  line-height: 1.5em;
}

.flip-box:hover .flip-box-back h3,
.flip-box:hover .flip-box-back p {
  animation: slideIn 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
/*============================================
 TEAM CARDS STYLE 
=============================================*/

/*=============================================
 SERVICE CARDS STYLE 
=============================================*/
.service-two-cards .serviceList li {
  position: relative;
}
.service-two-cards .serviceList li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #00a68e;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.service-two-cards .serviceList li .serviceDetails {
  position: relative;
  z-index: 5;
}

.service-two-cards .serviceList li:hover .serviceDetails {
  color: #fff;
}

.service-two-cards .serviceList li:hover::after {
  height: 100%;
  border-radius: 6px;
}
/*============================================= 
SERVICE CARDS STYLE 
=============================================*/
