/**
* Template Name: OnePage - v2.1.0
* Template URL: https://bootstrapmade.com/onepage-multipurpose-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Montserrat", sans-serif;
  color: #444444;
}

a {
  color: #2487ce;
}

a:hover {
  color: #469fdf;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", sans-serif;
}

section {
  max-width: 100vw;
  overflow-x: hidden;
}

.container {
  max-width: 1640px;
}

.container.container-m {
  max-width: 1440px;
  padding-left: 20px;
  padding-right: 20px;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #474747;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #222221;
  color: #fff;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 40px);
  left: calc(50% - 40px);
  border: 5px solid #232323;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

#preloader .logo {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
   -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
     -o-animation: fadein 1s; /* Opera < 12.1 */
        animation: fadein 1s;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  background: #fff;
  z-index: 997;
  padding: 37px 0;
}

#header.header-scrolled {
  border-color: #fff;
  box-shadow: 0px 2px 15px rgba(18, 66, 101, 0.08);
}

#header .logo img {
  width: 240px;
  height: auto;
}

#header .logo-right {
  width: 50px;
  height: auto;
  margin-left: 108px;
  position: relative;
  top: -5px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  display: flex;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  padding: 4px 0 4px 80px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #232323;
  transition: 0.3s;
  font-size: 22px;
  font-family: "Montserrat";
  font-weight: bold;
  text-transform: uppercase;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  /*color: #2487ce;*/
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 15px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 20px rgba(18, 66, 101, 0.1);
  transition: 0.3s;
  border-radius: 5px;
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #124265;
}

.nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
  color: #2487ce;
}

.nav-menu .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
  content: "\eaa0";
  font-family: IcoFont;
  position: absolute;
  right: 15px;
}

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }
  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }
  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}

@media (max-width: 768px) {
  .get-started-btn {
    margin: 0 48px 0 0;
    padding: 5px 18px 6px 18px;
    border-radius: 3px;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 65px;
  top: 23px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 27px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #222221;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 0;
  padding: 10px 0;
  max-height: 195px;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #222221;
  padding: 10px 20px;
  outline: none;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat';
  font-weight: bold;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #2487ce;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\eaa1";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

.mobile-nav-active #header .logo img {
  
}

/*--------------------------------------------------------------
# Introduction
--------------------------------------------------------------*/
#introduction {
  background: #d8d8d8;
  margin-top: 120px;
  padding: 65px 0px;
}

#introduction .phrase {
  border-right: 1px solid #222221;
  float: left;
  width: 278px;
  height: 146px;
}

#introduction .phrase p {
  font-family: 'Montserrat';
  font-size: 32px;
  font-weight: 600;
  color: #232323;
  margin-top: 24px;
  line-height: 36px;
}

#introduction .phrase .pronounce {
  font-weight: normal;
  font-family: 'Times New Roman';
}

#introduction .meaning {
  float: left;
  width: calc(100% - 328px);
  font-family: 'Playfair Display';
  font-size: 47px;
  font-style: italic;
  color: #232323;
  line-height: 52px;
  padding-left: 40px;
  padding-top: 20px;
}

/*--------------------------------------------------------------
# Video Section
--------------------------------------------------------------*/

#video {
  padding: 65px 0;
}

.videoHolder {
  position: relative;
}

.videoHolder video {
  width: 100%;
  height: auto;
}

.videoHolder #audioIcon {
  width: 58px;
  position: absolute;
  bottom: 38px;
  right: 42px;
  cursor: pointer;
}

.videoHolder #audioIcon img {
  width: 58px;
  height: 43px;
}

.videoHolder #audioIcon.on {
  width: 40px;
  overflow: hidden;
  margin-right: 18px;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
section#portfolio {
  padding: 0px 20px 20px;
  overflow: visible;
}

p.section-intro {
  font-weight: bold;
  display: block;
  font-size: 20px;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-filters {
  padding: 0;
  margin: 10px 0 15px;
  list-style: none;
  text-align: left;
  border-radius: 50px;
  padding: 0 0;
}

.portfolio #portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 50px 8px 0px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #232323;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-filters li:hover, .portfolio #portfolio-filters li.filter-active {
  text-decoration: underline;
}

.portfolio #portfolio-filters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #474747;
  padding-top: 100%;
}

.portfolio .portfolio-wrap img {
  transition: filter 0.25s;
  filter: saturate(0) brightness(0.9);
  position: absolute;
  width: 80%;
  height: auto;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.portfolio .portfolio-wrap:hover img {
  filter: saturate(1) brightness(1);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
section#about {
  padding: 0px 0 70px;
  color: #232323;
}

.about h2 {
  font-style: italic;
  margin-bottom: 25px;
}

.about ul {
  list-style: none;
  padding: 0;
  margin-bottom: 45px;
}

.about ul li {
  font-size: 18px;
}

.about p {
  margin-bottom: 40px;
  font-size: 22px;
  text-align: justify;
}

.about p:last-child {
  margin-bottom: 0;
}

.container hr {
  border-top: 2px solid #222221;
  margin-top: 70px;
}


/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
section#testimonials {
  padding: 0px 0;
}

.testimonials .owl-carousel .owl-stage-outer {
  overflow: visible;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: left;
  min-height: 320px;
  max-width: 280px;
  padding-top: 70px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 280px;
  border-radius: 50%;
  margin: 0 auto 60px;
}

.testimonials .testimonial-item h3 {
  font-size: 29px;
  font-weight: 500;
  margin: 10px 0 5px 0;
  color: #232323;
  font-family: "Playfair Display";
  font-style: italic;
  margin-bottom: 20px;
}

.testimonials .testimonial-item h4 {
  font-size: 18px;
  color: #232323;
  margin-bottom: 30px;;
  font-family: 'Montserrat';
  font-weight: bold;
  text-transform: uppercase;
}

.testimonials .testimonial-item p {
  position: relative;
  margin-bottom: 25px;
  font-weight: 500;
}

.owl-carousel .owl-nav button {
  outline: 0 !important;
}

.owl-carousel .owl-nav button img {
  width: 48px;
}

.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 20%;
  right: 2.7%;
}

.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  top: 20%;
  left: -4.7%;
  transform: scaleX(-1);
}

.owl-carousel .owl-nav button.owl-next.disabled, .owl-carousel .owl-nav button.owl-prev.disabled {
  opacity: 0.1;
}

@media (max-width: 767px) {
  .testimonials {
    margin: 30px 10px;
  }
}


/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

section#contact {
  padding: 20px 0 100px;
}

section.contact iframe {
  filter: saturate(0);
}

section.contact p a {
  color: inherit;
}

.contactText {
  position: relative;
  min-height: 422px;
}

.contactText p {
  font-size: 18px;
  margin-bottom: 20px;
}

#copyright {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Media queries
--------------------------------------------------------------*/

@media (max-width: 1420px) {
  #header .logo img {
    width: 16.5vw;
  }
  #header .logo-right {
    width: 3.5vw;
    margin-left: 7vw;
  }
  .nav-menu > ul > li {
    padding-left: 5.5vw;
  }
  .nav-menu a {
    font-size: 1.5vw;
  }
}

@media (max-width: 1180px) {
  #introduction {
    padding: 40px 0;
  }
  #introduction .phrase p {
    font-size: 30px;
  }
  #introduction .meaning {
    font-size: 36px;
    padding-left: 30px;
  }
  .portfolio #portfolio-filters li {
    font-size: 17px;
    padding: 10px 30px 8px 0px;
  }
  .testimonials .testimonial-item .testimonial-img {
    max-width: 90%;
    margin: 0 auto 40px;
  }
}

@media (max-width: 990px) {
  .container-m {
    padding-left: 15px;
    padding-right: 15px;
  }
  #header {
    padding: 20px 0;
  }
  #header .logo-right {
    width: 35px;
    margin-left:0;
  }
  .mobile-nav-toggle {
    right: 65px;
  }
  #header .logo img {
    width: 190px;
  }
  #introduction {
    margin-top: 72px;
    padding: 20px 0;
  }
  #introduction .phrase {
    width: 25%;
    height: 12vw;
  }
  #introduction .phrase p {
    font-size: 2.5vw;
    line-height: 3vw;
    margin-top: 2vw;
  }
  #introduction .meaning {
    width: 75%;
    font-size: 3.3vw;
    padding-left: 2vw;
    padding-top: 2vw;
    line-height: 4vw;
  }
  .about h2 {
    font-size: 1.5rem;
  }
  .about ul li {
    font-size: 16px;
  }
  .about ul {
    margin-bottom: 25px;
  }
  .about p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: left;
  }
  .about p:last-child {
    margin-bottom: 20px;
  }
  .about hr {
    margin-top: 40px;
  }
  .portfolio #portfolio-filters {
    text-align: center;
  }
  .portfolio #portfolio-filters li {
    font-size: 17px;
    padding: 5px 20px 5px 0px;
  }
  .contactText {
    min-height: unset;
    text-align: center;
    padding-bottom: 20px;
  }
  #copyright {
    position: initial;
  }
}

@media (max-width: 768px) {
  #video {
    padding: 35px 0;
  }
  .videoHolder #audioIcon {
    right: 16px;
    bottom: 16px;
    width: 40px;
  }
  .videoHolder #audioIcon img {
    width: 40px;
    height: 30px;
  }
  .videoHolder #audioIcon.on {
    width: 25px;
    margin-right: 15px;
  }
  p.section-intro {
    text-align: center !important;
  }
  .portfolio .portfolio-wrap {
    padding-top: 60%;
  }
  .testimonials .testimonial-item {
    max-width: unset;
    text-align: center;
  }
  .testimonials .owl-carousel .owl-stage-outer {
    overflow: hidden;
  }
  .owl-carousel .owl-nav button.owl-next {
    top: 23%;
  }
  .owl-carousel .owl-nav button.owl-prev {
    top: 23%;
  }
}
