body {
  font: 400 15px/1.8 Lato, sans-serif;
  color: #777;
}

h3,
h4 {
  margin: 10px 0 30px 0;
  font-size: 20px;
  color: #111;
}

a,
a:hover {
  text-decoration: none;
}

.section-title .sub-title {
  font-size: 18px;
  color: #330066;
  text-transform: uppercase;
}

.section-title .title {
  font-size: 25px;
  text-transform: capitalize;
}

/*===== All Button Style =====*/
.main-btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid #330066;
  padding: 0 30px;
  font-size: 16px;
  line-height: 48px;
  color: #fff;
  cursor: pointer;
  z-index: 5;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
  background-color: #330066;
  -webkit-box-shadow: 0px 5px 16px 0px rgba(89 81 155 / 65%);
  -moz-box-shadow: 0px 5px 16px 0px rgba(89 81 155 / 65%);
  box-shadow: 0px 5px 16px 0px rgba(89 81 155 / 65%);
  font-family: 'Barlow', sans-serif;
  text-transform: uppercase;
}

.main-btn i {
  margin-right: 5px;
}

.main-btn:hover {
  background-color: #fff;
  color: #330066;
  border-color: #330066;
}

.main-btn.main-btn-2 {
  background-color: #fff;
  color: #330066;
  border-color: #330066;
}

.main-btn.main-btn-2:hover {
  background-color: #330066;
  border-color: #330066;
  color: #fff;
}


/* Style the header */
.navbar .navbar-brand img {
  max-width: 112px;
}

.navbar .navbar-brand span {
  font-size: 24px;
  font-weight: 700;
  color: #330066;
  margin-left: 20px;
}

.header {
  padding: 10px 16px;
  background: #555;
  color: #f1f1f1;
}

.navbar {
  background: #fff;
}

.navbar .navbar-nav .nav-item {
  margin-right: 30px;
}

.navbar .navbar-nav .nav-item a {
  color: #646464;
  font-family: Lato, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 700;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.navbar .navbar-nav .nav-item.active a,
.navbar .navbar-nav .nav-item:hover a {
  color: #330066;
}

.navbar .navbar-toggler .toggler-icon {
  width: 30px;
  height: 2px;
  display: block;
  background-color: #646464;
  margin: 5px 0;
}

.navbar-collapse {
  margin-left: 120px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky+.content {
  padding-top: 102px;
}



.carousel-inner img {
  width: 100%;
  height: 100%;
}

/*===========================
    3.ABOUT css 
===========================*/
@media (max-width: 767px) {
  .about-area {
    padding-top: 30px;
    padding-bottom: 80px;
  }
}

.about-image {
  position: relative;
}

.about-image::before {
  position: absolute;
  content: '';
  background-image: url(../images/about/dots.jpg);
  background-position: center center;
  background-size: 100%;
  width: 375px;
  height: 350px;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

@media (max-width: 767px) {
  .about-image::before {
    display: none;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .about-image::before {
    display: block;
  }
}

.about-image .single-image {
  width: 360px;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .about-image .single-image {
    width: 280px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .about-image .single-image {
    width: 400px;
  }
}

@media (max-width: 767px) {
  .about-image .single-image {
    width: 100%;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .about-image .single-image {
    width: 360px;
  }
}

.about-image .single-image img {
  width: 100%;
}

.about-image .single-image.image-tow {
  margin-top: -200px;
  position: relative;
  z-index: 5;
  float: right;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .about-image .single-image.image-tow {
    margin-top: -150px;
  }
}

@media (max-width: 767px) {
  .about-image .single-image.image-tow {
    margin-top: 30px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .about-image .single-image.image-tow {
    margin-top: -200px;
  }
}

.about-image .about-btn {
  position: relative;
  margin-left: 80px;
  margin-top: -40px;
  display: inline-block;
  z-index: 9;
}

@media (max-width: 767px) {
  .about-image .about-btn {
    margin: 0 auto;
    display: block;
    text-align: center;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .about-image .about-btn {
    margin-left: 80px;
    display: inline-block;
    text-align: left;
    margin-top: -50px;
  }
}

.about-image .about-btn .main-btn {
  line-height: 58px;
  padding: 0 40px;
  border: 8px solid #fff;
  font-weight: 700;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.about-image .about-btn .main-btn span {
  font-size: 35px;
}

@media (max-width: 767px) {
  .about-image .about-btn .main-btn span {
    font-size: 28px;
  }
}

.about-image .about-btn .main-btn:hover {
  border-color: #330066;
}

@media (max-width: 767px) {
  .about-image .about-btn .main-btn {
    line-height: 48px;
    padding: 0 30px;
    font-size: 14px;
    margin-top: -25px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .about-image .about-btn .main-btn {
    line-height: 48px;
    padding: 0 30px;
    font-size: 14px;
    margin-top: -25px;
  }
}

.about-content .about-welcome {
  font-size: 24px;
  color: #330066;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .about-content .about-welcome {
    font-size: 18px;
  }
}

.about-content .about-title {
  font-size: 35px;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .about-content .about-title {
    font-size: 26px;
  }
}


.panel-title {
  font-size: 18px;
  color: #330066;
  text-transform: capitalize;
  padding: 8px;
  border-bottom: solid 1px #eee;
  background: #f6f6f6;
  margin-bottom: 8px;
}

.panel-title a {
  color: #330066;
}

.panel-collapse {
  margin: 10px 25px;
}

.panel-collapse ul li {
  list-style: circle;
  margin: 5px 25px;
}


/*===========================
      4.SERVICES css 
===========================*/
@media (max-width: 767px) {
  .services-area {
    padding-top: 75px;
    padding-bottom: 80px;
  }
}

.single-services {
  padding: 50px 30px;
  background-color: #fff;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .single-services {
    padding: 30px 10px;
  }
}

@media (max-width: 767px) {
  .single-services {
    padding: 30px 10px;
  }
}

.single-services .services-icon i {
  font-size: 52px;
  color: #330066;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.single-services .services-content .services-title {
  font-size: 22px;
  font-weight: 600;
  font-family: 'Barlow', sans-serif;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.single-services:hover {
  background-color: #330066;
}

.single-services:hover .services-icon i {
  color: #fff;
}

.single-services:hover .services-content .services-title,
.single-services:hover .services-content p {
  color: #fff;
}




/*===========================
       8.CONTACT css 
===========================*/
@media (max-width: 767px) {
  .contact-area {
    padding-top: 75px;
    padding-bottom: 80px;
  }
}

.form-group {
  margin: 0;
}

p.form-message.success,
p.form-message.error {
  font-size: 16px;
  color: #333;
  background: #ddd;
  padding: 10px 15px;
  margin-left: 15px;
  margin-top: 15px;
}

p.form-message.error {
  color: #f00;
}

.contact-form .single-form {
  margin-top: 30px;
}

.contact-form .single-form textarea,
.contact-form .single-form input {
  width: 100%;
  height: 60px;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 0 30px;
  background-color: #fff;
  font-family: 'Hind', sans-serif;
  font-size: 16px;
}

.contact-form .single-form textarea {
  height: 160px;
  padding-top: 20px;
  resize: none;
}

.contact-form .single-form textarea::placeholder,
.contact-form .single-form input::placeholder {
  opacity: 1;
  color: #999;
}

.list-unstyled li {
  font-size: 13px;
  margin-left: 2px;
  margin-top: 5px;
  color: #f00;
}


/*
    Photo 
    */
.btn:focus,
.btn:active,
button:focus,
button:active {
  outline: none !important;
  box-shadow: none !important;
}

#image-gallery .modal-footer {
  display: block;
}

.thumb {
  margin-top: 15px;
  margin-bottom: 15px;
}

/*===========================
         9.MAP css 
===========================*/
.map-area {
  position: relative;
  height: 600px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .map-area {
    height: 450px;
  }
}

@media (max-width: 767px) {
  .map-area {
    height: 450px;
  }
}

.mapouter {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .mapouter {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .mapouter {
    width: 100%;
  }
}

.mapouter .gmap_canvas iframe {
  width: 100%;
  height: 600px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .mapouter .gmap_canvas iframe {
    height: 450px;
  }
}

@media (max-width: 767px) {
  .mapouter .gmap_canvas iframe {
    height: 450px;
  }
}

.map-bg {
  width: 40%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
}

/*===========================
       10.FOOTER css 
===========================*/
@media (max-width: 767px) {
  .footer-widget {
    padding-top: 30px;
    padding-bottom: 80px;
  }
}

.footer-logo a img {
  width: 60px;
}

.footer-logo p {
  line-height: 26px;
  font-size: 16px;
}

.footer-logo .footer-info li {
  margin-top: 20px;
  list-style: none;
}

.footer-logo .footer-info li .single-info {
  position: relative;
}

.footer-logo .footer-info li .single-info .info-icon {
  position: absolute;
  top: 3px;
  left: 0;
}

.footer-logo .footer-info li .single-info .info-icon i {
  font-size: 18px;

}

.footer-logo .footer-info li .single-info .info-content {
  padding-left: 30px;
}

.footer-logo .footer-social li {
  display: inline-block;
  margin-left: 15px;
}

.footer-logo .footer-social li:first-child {
  margin-left: 0;
}

.footer-logo .footer-social li a {
  display: block;
  width: 35px;
  height: 35px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: #fff5f1;
  color: #646464;
  font-size: 16px;
  -webkit-box-shadow: 0px 5px 21px 0px rgba(254, 119, 101, 0.4);
  -moz-box-shadow: 0px 5px 21px 0px rgba(254, 119, 101, 0.4);
  box-shadow: 0px 5px 21px 0px rgba(254, 119, 101, 0.4);
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.footer-logo .footer-social li a:hover {
  background-color: #330066;
  color: #fff;
}

.f-title .title {
  font-size: 22px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
}

.footer-link ul li {
  padding-top: 5px;
  list-style: none;
}

.footer-link ul li a {
  font-size: 16px;
  color: #646464;
  font-family: 'Hind', sans-serif;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.footer-link ul li a:hover {
  color: #330066;
}

.footer-newsleter p {
  line-height: 26px;
  font-size: 16px;
}

.footer-newsleter .newsleter {
  position: relative;
}

.footer-newsleter .newsleter input {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #330066;
  background-color: #ffeae1;
}

.footer-newsleter .newsleter button {
  border: 0;
  width: 66px;
  text-align: center;
  padding: 0;
  height: 50px;
  background: none;
  position: absolute;
  top: 0;
  right: 0;
  color: #330066;
  font-size: 20px;
  line-height: 57px;
  cursor: pointer;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .footer-newsleter .newsleter button {
    width: 45px;
  }
}

.footer-newsleter .newsleter button::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 1px;
  height: 36px;
  background-color: #330066;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}



/*
flip card
*/
.card-front img {
  width: 100%;
  height: 100%;
}
.card-front .card-body{
  padding: 0;
}
.card-front .card-body .card-title{
  position: absolute;
  bottom: -7px;
  color: #fff;
  background: #330066;
  width: 100%;
  padding: 5px 15px;
  font-size: 15px;
  font-weight: 600;
}

.card-flip>div {
  backface-visibility: hidden;
  transition: transform 300ms;
  transition-timing-function: linear;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
}

.card-front {
  transform: rotateY(0deg);
}

.card-back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
}

.card-flip:hover .card-front {
  transform: rotateY(-180deg);
}

.card-flip:hover .card-back {
  transform: rotateY(0deg);
}