/* === Google Font Import - Poppins === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}
header {
  padding: 20px 0;
  background: transparent;
}

.logo-box {
  float: left;
  margin-right: 20px;
}
.logo-box a {
  outline: none;
  display: block;
}
.logo-box img {display: block;}
nav {
  overflow: hidden;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
  float: left;
  margin-top: 15px;
}
nav li {
  display: inline-block;
  margin-left: 25px;
  height: 70px;
  line-height: 70px;
  transition: .5s linear;
}
nav a {
  text-decoration: none;
  display: block;
  position: relative;
  color: #844878;
  text-transform: uppercase;
  font-size: larger;
}
nav li a:after {
  content: "";
  width: 0;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 15px;
  color: #844878;
}
nav a:hover:after {width: 100%;}

@media screen and (max-width: 660px) {
  header {text-align: center;}
  .logo-box {
    float: none;
    display: inline-block;
    margin: 0 0 16px 0;
  }
  ul {float: none;}
  nav li:first-of-type {margin-left: 0;}
}
@media screen and (max-width: 550px) {
nav {overflow: visible;}
nav li {
  display: block;
  margin: 0;
  height: 40px;
  line-height: 40px;
}
nav li:hover {background: rgba(0,0,0,.1);}
nav a:after {content: none;}
}
.btn-1 {
  width: 180px;
  height: 50px;
  border: none;
  color: white;
  background-color: #e0a133;
  border-radius: 4px;
  box-shadow: inset 0 0 0 0 #e0a133;
  transition: ease-out 0.3s;
  font-size: 1rem;
  outline: none;
  margin-bottom: 20px;
}
.btn-1:hover {
   border: 2px solid #e0a133;
  color: #e0a133;
 background-color: transparent;
}
.maincontainer
{
    width: 90%;
    height: 299px;
    margin: 10px;
    float: left; /* stack each div horizontally */
}



.back h2
{
    position: absolute;
}

.back p
{
    position: absolute;
    top: 50px;
    font-size: 15px;
}

.front h2
{
   
    padding: 10px;
    top: 10px;
    color: #46a2b9;
  
    border-radius: 10px;
    text-align: center;
}

/* style the maincontainer class with all child div's of class .front */
.maincontainer > .front
{
    position: absolute;
    transform: perspective(600px) rotateY(0deg);
    
    width: 90%;
    height: 290px;
    
    backface-visibility: hidden; /* cant see the backside elements as theyre turning around */
    transition: transform .5s linear 0s;
}

/* style the maincontainer class with all child div's of class .back */
.maincontainer > .back
{
    position: absolute;
    transform: perspective(600px) rotateY(180deg);
    background: #46a2b9;
    color: #fff;
    width: 90%;
    height: 290px;
    border-radius: 10px;
    padding: 5px;
    backface-visibility: hidden; /* cant see the backside elements as theyre turning around */
    transition: transform .5s linear 0s;
}

.maincontainer:hover > .front
{
    transform: perspective(600px) rotateY(-180deg);
}

.maincontainer:hover > .back
{
    transform: perspective(600px) rotateY(0deg);
}
.explore{
      width: 187px;
    display: flex;
    background-color: #FC8D94;
    border-radius: 45px;
    align-items: left;
    align-items: start;
    height: 23px;
    margin-left: 0px;
    margin-top: 45px;
}
.block{
  margin-top: 35px;
}
.picture{

    position:relative;
    -webkit-animation:glide 2s ease-in-out alternate infinite;
}
@-webkit-keyframes glide {
    from {left:0px; top:0px;}
    to {left:0px; top:20px;}
}
.social-links a{
  display: inline-block;
    height: 40px;
    width: 40px;
    background-color: #e0a133;
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;

}
.social-links a:hover{
  background-color: transparent;
  font-size: x-large;
  color: #e0a133;
}

.footer-col ul li:not(:last-child){
  margin-bottom: 10px;
}
.footer-col ul li a{
  font-size: 16px;
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
  font-weight: 300;
  display: block;
  transition: all 0.3s ease;
}
.footer-col ul li a:hover{
  color: #ffffff;
  padding-left: 8px;
}

 

.bg-layer {
	position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;

}



section{
  position: relative;  
  height: 530px;
  width: 100%;
  display: flex;
  align-items: center;
}

.swiper{
  width: 950px;
}

section .card{
  position: relative;
  background: #fff;
  border-radius: 20px;
  margin: 20px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

section .card::before{
  content: "";
  position: absolute;
  height: 40%;
  width: 100%;
  background: #844878;
  border-radius: 20px 20px 0 0;
}

section .card .card-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  position: relative;
  z-index: 100;
}

section .card .image{
  height: 165px;
  width: 100%;
 margin-top: -20px;
  background: #844878;
}

section .card .image img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 3px solid #fff;
}

section .card .media-icons{
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section .card .media-icons i{
  color: #fff;
  opacity: 0.6;
  margin-top: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

section .card .media-icons i:hover{
  opacity: 1;
}

.card .name-profession{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  color: ;
} 

.name-profession .name{
  
  font-weight: 600;
}

.name-profession .profession{
  font-size:15px;
  font-weight: 500;
}

.card .rating{
  display: flex;
  align-items: center;
  margin-top: 18px;
}

.card .rating i{
  font-size: 18px;
  margin: 0 2px;
  color: #844878;
}

.card .button{
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.card .button button{
  background: #844878;
  outline: none;
  border: none;
  color: #fff;
  padding: 8px 22px;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button button:hover{
  box-shadow: inset 250px 0 0 0 #fff;
  color: #844878;
  border: 2px solid #844878;
}

.swiper-pagination{
  position: absolute;
}

.swiper-pagination-bullet{
  height: 7px;
  width: 26px;
  border-radius: 25px;
  background: #844878;
}

.swiper-button-next, .swiper-button-prev{
  opacity: 0.7;
  color: #844878;
  transition: all 0.3s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover{
  opacity: 1;
  color: #844878;
}

.bg-image{
	background: linear-gradient(rgba(0, 0, 0, 0),rgba(0, 0, 0, 0)), url(http://localhost/theroutepartner/images/cover1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	background-position: center;
}

h1 h2{
	    font-family: fangsong;
}

.col1{
  border-radius: 5px;
 background-color: rgba(41, 39, 39, 0.3);
  box-shadow: 0 5px 30px black;
  padding: 20px;
  margin-bottom: 30px;
}
input[type=text], input[type=number], input[type=date], select, textarea {
  width: 100%; /* Full width */ 
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}
.formheading {
	display: block;
    height: 80px;
    line-height: 80px;
    text-align: center;
    width: 100%;
    margin: 0;
    background: #844878;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.bs-example{
   margin: 20px;
 }
.accordion .fa{
 margin-right: 0.5rem;
}
.list1 li::before {
    content: "✓";
    color: #844878;
    font-weight: 600;
    line-height: 28px;
    padding: 0px 5px;
}
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

#splash:before{
  content: '';
  position: absolute;
  background: url(https://www.theroutepartner.com/images/splash.png) center/cover no-repeat;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}



.testimonial{
    border: 10px solid #000;
    padding: 40px 0 25px 0;
    margin: 50px;
    text-align: center;
    position: relative;
}
.testimonial:before{
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    width: 100px;
    height: 100px;
    line-height: 100px;
    background: #fff;
    margin: 0 auto;
    font-size: 70px;
    font-weight: 900;
    color: #f1971f;
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
}
.testimonial .title{
    padding: 7px 0;
    margin: 0 -30px 20px;
    border: 7px solid #fff;
    background: #e0a133;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}
.testimonial .title:before{
    content: "";
    border-top: 15px solid #e0a133;
    border-left: 15px solid transparent;
    border-bottom: 15px solid transparent;
    position: absolute;
    bottom: -37px;
    left: 0;
}
.testimonial .title:after{
    content: "";
    border-top: 15px solid #000;
    border-right: 15px solid transparent;
    border-bottom: 15px solid transparent;
    position: absolute;
    bottom: -37px;
    right: 0;
}
.testimonial .post{
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
}
.testimonial .description{
    padding: 0 20px;
    margin: 0;
    font-size: 15px;
    color: #6f6f6f;
    letter-spacing: 1px;
    line-height: 30px;
}
.owl-theme .owl-controls{ margin-top: 0; }
.owl-theme .owl-controls .owl-buttons div{
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 35px;
    background: #f1971f;
    color: #fff;
    border-radius: 0;
    margin-right: 5px;
    opacity: 1;
}
.owl-prev:before,
.owl-next:before{
    content: "\f060";
    font-family: "Font Awesome 5 Free";
    font-size: 20px;
    font-weight: 900;
}
.owl-next:before{ content: "\f061"; }
@media only screen and (max-width: 990px){
    .testimonial{ margin: 30px; }
}
 
 ul.list1 li::before {
    content: "✓";
    color: #e0a133 !important;
    font-weight: 600;
    line-height: 28px;
    padding: 0px 5px;
}